Commit Graph

315 Commits

Author SHA1 Message Date
wj32 4e90ccc7d9 added alignment support to PhFormat
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3719 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-03 03:58:03 +00:00
wj32 d1c36b5bd4 added new faster hashtable enumeration method
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3718 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-02 12:15:39 +00:00
wj32 f9b1ecc972 * got rid of SHGetFileInfo usage - vastly improves startup time and memory usage
* cache PhGetSystemDirectory() string

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3716 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-02 11:27:47 +00:00
wj32 f165e2824d added PhFormatToBuffer
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3715 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-02 07:01:20 +00:00
wj32 438b7de587 fixed some potential bugs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3714 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-02 05:17:37 +00:00
wj32 efff8dd263 added DECLSPEC_SELECTANY to data
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3713 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-02 03:55:28 +00:00
wj32 e279c25310 added convenience macros for PhFormat
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3709 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-01 08:33:29 +00:00
wj32 6bf3480337 * fixed PhFormat bugs
* switched some functions to PhFormat

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3706 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-01 06:01:55 +00:00
wj32 7eec476c5e added new high-performance string formatting system
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3705 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-10-01 03:38:02 +00:00
wj32 742465ada4 use atoms for GetProp/SetProp
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3704 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-30 07:26:21 +00:00
wj32 36e9a0eb33 removed duplicate LUID defs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3703 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-30 06:27:29 +00:00
wj32 62723907ed added PhConcatStringRef2
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3701 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-30 05:53:30 +00:00
wj32 992861e7a1 * renamed some mapped image functions
* added PhCheckSumMappedImage
* added checksum verification to peview

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3693 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-29 05:19:16 +00:00
wj32 c2ea123848 don't sort modules list until needed
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3687 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-28 11:54:14 +00:00
wj32 2055729c84 improved sorting speed, now mostly instantaneous
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3686 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-28 07:43:32 +00:00
wj32 5b420425a1 * added optional initialization of phlib components
* added "static" to many global variables

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3682 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-27 08:09:49 +00:00
wj32 de2e93f021 made PH_FLAG_MAPPING arrays const - the compiler inlines the values
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3673 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-26 03:23:24 +00:00
wj32 46ef41c05a added more docs for functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3662 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-23 11:32:22 +00:00
wj32 7078bf2faf * switched service and network menus to use EMENU
* added plugin support for EMENU
* ExtendedServices now adds a Restart menu item

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3661 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-23 06:34:56 +00:00
wj32 3c9f2089b4 * EMENU is working
* converted process and icon menus to use EMENU

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3659 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-23 04:05:30 +00:00
wj32 b644bed0d9 changed PhCompareUnicodeStringZNatural
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3658 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-22 10:57:51 +00:00
wj32 85996af841 preparing for extended menu module
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3656 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-22 07:30:59 +00:00
wj32 8d38542770 added hash set in service provider update reduce CPU time
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3654 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-20 06:37:22 +00:00
wj32 288bdc9d0f * added additional debug info to ref
* optimized PhCreateIsDotNetContext

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3652 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-20 04:03:16 +00:00
wj32 58eec153fa * added ph_crc32
* added hash command to FiIn

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3646 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-18 11:10:44 +00:00
wj32 4626a14603 * fixed PhGenerateGuid
* added GUID_EX
* added PhGenerateGuidFromName

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3645 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-18 05:49:06 +00:00
wj32 9b50cdc33b added faster string equality testing
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3642 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-18 01:24:11 +00:00
wj32 99be793395 fixed mini-dump creation (bad initialization time)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3640 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-17 08:10:19 +00:00
wj32 7103b0a646 added NTAPI to some more functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3638 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-17 04:18:59 +00:00
wj32 afe9f2a836 * deleted resource lock
* added C++ compatibility for header files
* removed #include <shlobj.h> from phgui.h

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3637 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-17 04:11:51 +00:00
wj32 6685e8b12c fixed bad error messages in the security editor
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3632 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-16 10:36:47 +00:00
wj32 992cf747d0 * added Recovery tab to ExtendedServices (read-only for now)
* added PhQueryServiceVariableSize
* added copyright headers

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3629 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-16 09:46:40 +00:00
wj32 372f930121 separated service list code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3624 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-15 07:42:37 +00:00
wj32 87ea6e81e3 * added more docs
* bintree.c -> collect.c

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3623 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-14 04:09:58 +00:00
wj32 1e70162bfd fixed treelist init
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3618 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-13 23:25:18 +00:00
wj32 9bd6b26ae9 * symprv is now delay loaded
* added PH_CALLBACK_DECLARE for static initialization of PH_CALLBACK objects

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3616 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-13 12:04:51 +00:00
wj32 38dfe45bb3 * fixed ASSUME_ASSERT
* fixed PH_FILE_STREAM_WRITTEN usage

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3614 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-13 08:42:21 +00:00
wj32 2ce6e6173d some micro-optimizations (including ASSUME_NO_DEFAULT)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3613 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-13 08:36:42 +00:00
wj32 7f0d60a326 * added PH_HASH_ENTRY (hash set) - lightweight intrusive hashtable
* changed process provider and handle provider to use hash set

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3603 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-12 01:55:53 +00:00
wj32 7396ec2020 made PPH_IS_DOT_NET_CONTEXT a hashtable
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3601 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-12 00:01:21 +00:00
wj32 22f24e61e4 moved some global variables from phlib to ProcessHacker
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3585 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-10 07:49:46 +00:00
wj32 e716a9fd3a added thread affinity control
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3582 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-09 11:34:40 +00:00
wj32 21d638ef3d added some annotations and new definitions to ntpsapi.h
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3581 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-09 11:11:31 +00:00
wj32 21f10de978 * can now unmap section views
* fixed PhFindCharInString

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3575 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-07 07:32:45 +00:00
wj32 432f9ff230 changed some PWSTRs to PPH_STRINGREFs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3573 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-06 10:48:34 +00:00
wj32 74e3dc7487 added more parity between PH_STRING and PH_STRINGREF operations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3572 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-06 10:29:57 +00:00
wj32 777faaad0e * added PhMatchWildcards
* added insert functions for PH_FULL_STRING
* added PhFinalStringBuilderString

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3564 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-05 03:08:17 +00:00
wj32 4ce7addd2d added PhCreateProcess (creates native processes)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3563 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-04 03:46:35 +00:00
wj32 c6169e84a0 * added PhAddEntryHashtableEx
* added uniquestr command

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3562 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-04 01:33:57 +00:00
wj32 59978019f9 fixed column logic when there are gaps in treelist
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3561 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2010-09-03 11:44:46 +00:00