Commit Graph

61 Commits

Author SHA1 Message Date
dmex fd135fbae3 moved all ListView controls to ExtendedListView, fixed some API ref defs, added initial LastError error handling semantics
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4258 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-06-25 12:39:06 +00:00
dmex ec5f8b197e GC notification of native heap allocations, manifest fix, minor other fixes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4257 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-06-22 09:49:44 +00:00
dmex f585842f6d string null perf fixes, Dictionary string perf fixes, removed redundant code, some type fixes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4254 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-06-22 04:56:08 +00:00
dmex af09468b65 Updated PH 1.x solution to vs2010, updated CLR runtime to 4.0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4250 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-06-22 03:14:34 +00:00
wj32 325bd3daf5 * bump to 1.12
* use non-intrusive module enumeration whenever possible

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2761 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-01-29 09:26:49 +00:00
wj32 ae34ef0885 deleted HistoryManager: -1 million CPU cycles each update
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2606 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-01-11 02:28:34 +00:00
wj32 df3cbb70ca deleted DeltaManager, replaced with delta struct: -2 million CPU cycles each update
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2605 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-01-11 01:43:27 +00:00
wj32 3821cdc755 * bump to 1.11
* #2926287 - "Scroll Problems with Microsoft Intellipoint Mouse"

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2565 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-01-05 22:29:07 +00:00
wj32 95a1343f3a back-ported new provider system from PH 2.x
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2540 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-30 02:48:37 +00:00
wj32 9d6f5702d6 fixed incorrect BaseObject statistics - unowned objects were counted in CreatedCount
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2509 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-26 09:31:04 +00:00
wj32 8d8b1b0d19 added Reset method to FastEvent
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2503 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-26 05:11:56 +00:00
wj32 78f9d68839 decreased BaseObject overhead to only 4 bytes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2501 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-26 02:34:37 +00:00
wj32 0b9a5584e1 FairResourceLock: added TryConvertSharedToExclusive
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2500 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-25 08:08:14 +00:00
wj32 76972653c2 added some more stats to Fair and FastResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2499 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-25 05:47:28 +00:00
wj32 1deac77a92 updated FairResourceLock comment
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2498 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-25 01:31:23 +00:00
wj32 9bb5a9f2bf * bump to 1.10
* added missing service descriptions in dumps

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2493 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-24 05:13:25 +00:00
wj32 d4e59ced70 fixed subtle bug in WorkQueue
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2491 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-22 05:57:48 +00:00
wj32 d55c0642a7 made the FreeList less of a stupid idea
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2490 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-22 05:49:51 +00:00
wj32 0ac0b74686 removed Spin methods from FairResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2489 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-22 01:10:04 +00:00
wj32 131e7fd748 Thread.VolatileRead -> Interlocked.CompareExchange(x, 0, 0)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2488 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-22 00:56:28 +00:00
wj32 d8bfd20ab6 * added statistics to FairResourceLock and FastResourceLock
* fixed nasty bug in FairResourceLock.Wake - _waiterListHead was uninitialized so Wake tried to unblock the list head, thinking it was an exclusive waiter
* fixed bug in FairResourceLock.ReleaseShared - shouldn't wake anyone when not last shared owner
* added RIGOROUS_CHECKS to FairResourceLock

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2487 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 23:02:30 +00:00
wj32 7bc82495df fixed possible race condition when deferring event creation in FairResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2486 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 09:14:19 +00:00
wj32 3b5e3cb856 FairResourceLock now uses Marshal.AllocHGlobal instead of GCHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2485 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 06:22:45 +00:00
wj32 54ab8c699d added many features to FairResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2481 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 23:11:35 +00:00
wj32 ce3009d180 changed HandleTable to use FastResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2479 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 09:37:25 +00:00
wj32 170f6c7a50 * removed usage of ReadOnlyCollection from HistoryManager
* added FastResourceLock usage to Extensions.GetHandleInfo
* deleted FastQueue

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2477 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 07:56:21 +00:00
wj32 e683df7574 used String255 in Win32Error
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2474 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 06:41:17 +00:00
wj32 1a6596e2c9 * added LibC
* added String255

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2473 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 06:19:40 +00:00
wj32 2a3be0e448 removed more BS comments
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2472 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 04:16:13 +00:00
wj32 e5f57490cd * added deferred event creation to FastResourceLock
* turned on deferred event creation for Fair and FastResourceLock

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2471 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 03:56:54 +00:00
wj32 36742b573c added FreeList usage to MemoryFileSystem
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2469 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 00:01:43 +00:00
wj32 c68bbb17d0 added progress dialog for creating dumps
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2455 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 10:43:51 +00:00
wj32 468712af4c added ability to dump process history manager data
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2447 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-17 11:16:50 +00:00
wj32 9da6ae4934 * completed MFS
* added MessageLabel

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2419 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-16 08:19:48 +00:00
wj32 8d9de0ae3e * started MFS
* UnicodeEncoding -> Encoding

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2418 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-15 11:39:05 +00:00
wj32 25280a4320 the "-elevate" command line option propagates other arguments
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2417 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-14 06:06:36 +00:00
wj32 4366e2d5d7 removed BS comments
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2415 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-11 10:33:18 +00:00
wj32 9a269025fd * bump to 1.9
* #2911938 - "The given key was not present in the dictionary."

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2411 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 11:36:10 +00:00
wj32 d73a1f11a6 added some FairResourceLock stats
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2410 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 11:18:27 +00:00
wj32 e1e334ae88 added defer event creation support to FairResourceLock (not enabled by default)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2409 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 10:45:40 +00:00
wj32 f992f9225a improved FairResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2407 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 01:33:30 +00:00
wj32 11e14a8c71 new synchronization object: FairResourceLock - releases waiters in FIFO order
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2406 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-10 01:09:21 +00:00
wj32 384f22aef1 added another optimization the JIT compiler is too dumb to add in
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2405 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 11:41:13 +00:00
wj32 0dee309562 switched to FastResourceLock in NetworkProvider
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2403 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 09:47:33 +00:00
wj32 9bc410640f fixed comments
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2402 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 08:15:33 +00:00
wj32 916cdfe6ce added some comments to FastResourceLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2401 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 06:05:54 +00:00
wj32 0ab2ba4dbe FastResourceLock normal acquire methods now spin for a while before going to sleep
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2400 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 05:57:22 +00:00
wj32 177638a65e fixed another critical bug; introduced some optimizations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2399 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 05:30:29 +00:00
wj32 6336f4b6c8 fixed two typos in FastResourceLock which lead to catastrophic failure
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2398 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 04:07:15 +00:00
wj32 4cdc3e5422 * switched to using kernel32.dll instead of System.Threading objects
* made FastEvent 4 bytes smaller
* completed FastResourceLock

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2397 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-09 03:12:52 +00:00