Commit Graph

557 Commits

Author SHA1 Message Date
dmex e7fffcc8ee Improve UI theming and search control behavior
This changeset overhauls several UI infrastructure paths: it adds richer column drag/drop visuals, expands the search box with fuzzy matching and match-range APIs, and refactors theme handling (including Explorer-style palette support, buffered/non-client paint cleanup, and new theme file utilities). It also hardens core behavior with many reliability fixes, such as bounded HTTP download buffering, safer process/service enumeration and handle ownership updates, improved window/context lifecycle handling, DPI/layout fixes, and broader consistency updates across dialog/list-view drawing and helper APIs.
2026-10-02 13:27:30 +10:00
dmex 66e276b763 Improve phlib API compatibility and utilities
This change updates phlib with broader native API compatibility shims, new CRC32/CRC32C tables, and safer utility helpers. It also fixes a number of synchronization, formatting, environment, and process-creation edge cases, adds correlation-vector support, hardens SID conversion and image-resource loading, and cleans up several Windows compatibility fixes across the library.
2026-09-30 00:45:00 +10:00
dmex 396bcb3efe Fix util dialog lifetimes and shell checks 2026-09-26 05:13:09 +10:00
Johnny Shaw f2ff4638b7 AgentTools trim the comments back to one line 2026-09-09 17:44:01 -06:00
Johnny Shaw 93c46c9a95 AgentTools correct the comments a re-anchored review found 2026-09-09 17:43:59 -06:00
Johnny Shaw 51ce761a14 phlib bound the security descriptor string to its buffer 2026-09-08 22:27:13 -06:00
Johnny Shaw 5564b5318a phlib fix security descriptor string length 2026-09-08 19:04:55 -06:00
dmex abe198c0f0 Remove dead code, Improve consistency and minor issues
This changeset tightens cache file path handling in phlib by validating leaf names, honoring native vs Win32 path modes consistently, and using the correct directory creation path. It also fixes several functional regressions across the app and plugins: module list filter refresh after highlight toggles, ETW endpoint/port mapping, aggregate sort field usage, graph child window clipping, safer uninstall status text handling, previous-instance shutdown in setup, and improved window-message timeout handling. Additional updates clean up initialization/casts, remove dead code, and address small correctness issues in formatting and utility logic.
2026-07-15 20:19:49 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex ca6af0ea2d Refactor UI buffering and propsheet behavior 2026-06-27 17:00:05 +10:00
dmex 8917fd4eeb Update util.c 2026-06-21 15:10:42 +10:00
dmex 96a6ac0978 Support new prop-sheet host and various UI fixes 2026-06-16 08:22:58 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
dmex f78c83cbde Use per-crypto buffer and streaming SHA1
Switch to the SymCrypt streaming API (Init/Append/Result) so the code no longer needs to concatenate inputs into a temporary buffer; on init failure the digest is zeroed. Also add missing PhFree calls in native/non-native MD5/SHA1 branches and a small cleanup in PhGenerateClass5Guid.
2026-06-01 04:38:09 +10:00
dmex 0b933cf2c6 Move SymCrypt wrapper into phlib
Move the SymCrypt wrapper sources into phlib while simplifying thirdparty project references.
2026-05-23 18:32:29 +10:00
dmex d2561eec02 Update SymCrypt API and hashing, also add PhGenerateGuidEx and ARM64 RDRAND 2026-05-23 16:54:54 +10:00
dmex 6b63dcdee0 Add documentation 2026-05-21 08:55:58 +10:00
dmex 410af838c3 phlib: change listview selection 2026-05-21 06:13:53 +10:00
dmex 0b2104b7ed Multiple fixes, typos and enhancements 2026-05-18 13:22:48 +10:00
dmex fc2518bae7 Add support for PH_CREATE_PROCESS_SET_LOGON_ID flag 2026-05-16 16:11:50 +10:00
dmex d4c5fa793a Add PhValidSecurityDescriptor 2026-05-10 14:39:10 +10:00
dmex c8dc047e69 Update util.c 2026-05-05 20:24:27 +10:00
dmex 38be0cddd4 Use safe size math for ACL and SD operations 2026-05-05 02:07:49 +10:00
Johnny Shaw fc46623c5f add client id headers 2026-05-03 19:12:59 -06:00
dmex 6cb325fe59 Update util.c 2026-04-26 20:45:14 +10:00
dmex 605463aca0 Update util.c 2026-04-26 14:13:32 +10:00
dmex 6c9a68740d Move runas package to separate file 2026-04-23 07:19:56 +10:00
dmex f21e819843 Add PssNtValidateDescriptor and PhPssFreeSnapshot - Fix process snapshot crash 2026-04-18 23:59:02 +10:00
dmex fa519d93be Adjust APIs and fix refcount in util 2026-04-13 12:49:24 +10:00
dmex 831336f5db Fix incorrect variables passed in PhApiSetResolveToHost
Use the correct variables parentNameFilePart to PhCompareStringRef instead of apiSetNameShort to compare the intended name parts, and pass &context to PhEnumWindows in PhEndWindowSession instead of &clientId so the window enumeration callback receives the proper context. These changes correct mismatched argument usage and ensure callbacks and comparisons operate on the right data.
2026-04-13 04:14:11 +10:00
dmex 3039832f2e Add support for / or - command line arguments 2026-04-12 11:09:57 +10:00
dmex f84c35315d Use HRESULT macros to check Win32 errors
Replace manual bitmasking of the HRESULT with HRESULT_FACILITY() and HRESULT_SEVERITY() . This makes the Win32 error check clearer and uses standard macros for determining FACILITY_WIN32 and SEVERITY_ERROR while preserving the original behavior.
2026-04-03 23:27:30 +11:00
dmex 6aa8be86a2 Fix WCHAR buffer size/length
Treat returnLength as a WCHAR count instead of bytes: compute it from time/date buffer sizes, compare BufferLength after converting to bytes, and return the output length in bytes. Replace the previous sizeof(UNICODE_NULL) hack with (returnLength - 1) * sizeof(WCHAR). On failure, set *ReturnLength to 0. These changes correct off-bytes/termination size handling when formatting date/time into the buffer.
2026-03-31 10:01:15 +11:00
dmex 6d6918c4e0 Make GUID params const and inline DevFindProperty 2026-03-29 05:24:08 +11:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 7e1944c8c7 include <devpkey.h> 2026-02-21 15:39:52 +11:00
dmex 2778eb75bd Add PhDevOpenObjectKey, PhDevFindProperty 2026-02-21 10:11:05 +11:00
dmex 4a29186d8a Update util.c 2026-02-21 09:54:35 +11:00
dmex d81866ad1a Update util.c 2026-02-21 09:54:06 +11:00
dmex 7565b445b8 Add PhGetDllProcedureAddressZ 2026-02-21 02:37:48 +11:00
Johnny Shaw 6f92b8a936 utils iso time format docs update 2026-02-16 10:41:52 -07:00
Johnny Shaw f8c1c423d1 OnlineChecks manual and auto scanning 2026-02-14 00:33:36 -07:00
Johnny Shaw 94d451e36a kph mitigate altitude stomping 2026-02-01 17:45:19 -07:00
dmex 0a699c6dc2 Update util.c 2026-01-04 08:54:16 +11:00
dmex 863ea2db46 Reorganize functions and imports 2026-01-04 07:26:47 +11:00
dmex 2a20f6dbf7 Update util.c 2025-12-31 06:29:43 +11:00
dmex 215f03c703 Update comments 2025-12-22 06:42:09 +11:00
dmex bd9effd7b0 Update documentation and types 2025-12-12 19:42:59 +11:00
dmex d6fa11f143 Update SAL annotations and add stack allocations for some types 2025-10-08 15:43:41 +11:00
dmex 5a054d3a15 Fix section leak 2025-09-28 02:46:52 +10:00