Commit Graph

2491 Commits

Author SHA1 Message Date
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 6c2d78b7b9 avoid creating a dictionary on every update
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2484 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 02:22:12 +00:00
wj32 6fedd1648a moved the service enums back into ProcessHacker.Native.Api
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2483 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 00:59:03 +00:00
wj32 9a0c97fc00 HandleFilterWindow: enable Process Properties when the selected items are all from the same process
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2482 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-21 00:02:00 +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 19fea0413e got rid of a tab
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2480 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 10:58:00 +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 fdac13c3cb added instruction text to TerminatorWindow, to avoid having a weird blank space above the list
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2478 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 09:24:14 +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 d2c1e0c913 fixed scenario when the user right-clicks on a process that is exiting
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2476 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 07:41:23 +00:00
wj32 482b0d9bc1 * #2917952 - "Index was outside the bounds of the array."
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2475 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 07:24:56 +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 182330ee22 changed AboutWindow
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2470 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-20 02:22:41 +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 665f3dd15d * made ProcessHandle.GetEnvironmentVariables faster
* converted some ReadStruct calls to pointer dereferences

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2468 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 23:57:04 +00:00
wj32 924a68e82c removed usages of stackalloc in EnumModulesNative and SetModuleReferenceCount
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2467 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 23:21:52 +00:00
wj32 6044dfc104 removed all usages of long for addresses
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2466 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 10:56:53 +00:00
wj32 979cc5419b added "\WINDOWS" case to FileUtils.GetFileName
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2465 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 10:46:54 +00:00
wj32 098e98f01c fixed fucked-up-sign-extended kernel module base addresses
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2464 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 10:42:35 +00:00
wj32 55cd16a3e9 fixed bug in MFS when creating file systems with custom block sizes (2)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2463 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 00:51:54 +00:00
wj32 87b9a73d10 fixed bug in MFS when creating file systems with custom block sizes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2462 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 00:45:59 +00:00
wj32 c5e4cba3b1 dump: renamed GetStream to GetWriteStream
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2461 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 00:28:21 +00:00
wj32 97d352c241 added customizable block/cell sizes to MFS
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2460 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-19 00:11:22 +00:00
wj32 ca640cf126 dump: fixed missing mapped files in modules list (2)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2459 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 11:21:39 +00:00
wj32 682720d98c dump: fixed missing mapped files in modules list
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2458 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 11:02:18 +00:00
wj32 c1ede6c1ff dump: fixed duplicate modules
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2457 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 10:59:47 +00:00
wj32 43f3274be2 dump: added WOW64 module information
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2456 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 10:55:51 +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 6e46a701a9 added exception messages
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2454 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 05:39:03 +00:00
wj32 91c141e78c fixed comment
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2453 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 05:32:08 +00:00
wj32 9a87d582a9 fixed module context menu
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2452 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 04:17:03 +00:00
wj32 0218f77d4b added useful tooltips to the module list
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2451 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 04:11:26 +00:00
wj32 b0aeefa191 small UI fixes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2450 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 04:01:25 +00:00
wj32 6fdada89ab dump: fixed DPCs and Interrupts position
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2449 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 03:57:36 +00:00
wj32 773fdaea64 added DPCs and Interrupts to dumps
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2448 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-18 03:56:32 +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 3c861b2421 added time stamp, made time representation more compact
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2446 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-17 10:18:09 +00:00
wj32 abfe7e8b5d fixed some exceptions when viewing dumps created under LUAs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2445 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-17 10:06:57 +00:00
wj32 ae1cb02437 added safeguard to Dump against values having null characters
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2444 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-17 08:52:34 +00:00
wj32 a50244a4e0 fixed service menu
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2443 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-17 08:45:20 +00:00
wj32 b5f8a6fb0b dump: added service info display
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2442 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-12-17 08:43:51 +00:00