Commit Graph

39 Commits

Author SHA1 Message Date
dmex 6fdcdc7bf5 Improve phlib helpers and annotations
Improve phlib utility correctness and API contracts across GUI, memory, math, and SIMD support. This updates `PhSendMessageTimeout` to return `NTSTATUS`, fixes pointer subtraction and tick/time macros, adds null guards around image list helpers, and corrects a debug rectangle comparison.

The change also expands public helper coverage with heap, image-directory, 128-bit math, delta-clamping, and SIMD utility declarations, while adding SAL/NTAPI annotations so callers get clearer success/failure and nullability guarantees.
2026-09-25 15:31:30 +10:00
Johnny Shaw 23103147ed phlib add a way to remove a json object member 2026-09-11 00:13:36 -06:00
Johnny Shaw 98138c3c36 AgentTools page and sort every list tool 2026-09-08 19:04:52 -06:00
Johnny Shaw 98af5bc88a AgentTools expand the tool surface 2026-09-07 16:52:40 -06:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 5f4f40fd82 Build and bug fixes 2026-06-15 06:39:23 +10:00
dmex 8046efb64d Add PhGetJsonInt64Object 2026-01-31 17:53:25 +11:00
dmex 9e5ff66417 Add PhAddJsonObjectUtf8 2026-01-13 17:36:54 +11:00
dmex 03bf04a76e Add PhJsonObjectToJsonString 2026-01-07 02:42:39 +11:00
dmex dee4e852a4 Add PhLoadXmlObjectFromString2 2025-09-22 19:11:53 +10:00
dmex 23c3478331 Update text/json methods to return status 2025-03-21 19:57:32 +11:00
dmex e75945db1a Update PPH_STRINGREF to PCPH_STRINGREF 2025-02-25 20:53:52 +11:00
dmex 57cb958ebd Update to PCPH_STRINGREF 2025-02-11 09:19:06 +11:00
dmex b037a499bd Fix build 2024-12-02 06:11:32 +11:00
dmex b20716fd96 Update BuildTools to .NET 9.0 2024-11-30 05:31:57 +11:00
dmex 58604c3e63 Update SDK for const compatibility 2024-10-17 11:51:56 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex 964b95e297 Add PhGetXmlNodeCDATAText 2024-06-02 07:27:01 +10:00
dmex 81e863babf Update json.h 2024-03-22 10:01:39 +11:00
dmex 765757381a Add PhGetJsonValueAsUlong 2023-09-25 00:25:42 +10:00
dmex ff694e97f6 Update phlib typedefs 2023-06-29 17:01:30 +10:00
dmex 703a198aff Update SAL annotations 2023-05-16 02:12:24 +10:00
dmex 51bc1e63bd Add PhGetJsonObjectString 2023-02-27 17:28:53 +11:00
dmex dfd6379ff9 Add extern macro 2022-12-21 07:02:56 +11:00
dmex d50fcd2676 Fix build 2022-08-01 10:46:44 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex 1ed3058b37 Update XML strings and typedefs 2022-03-06 19:00:43 +11:00
dmex 1c5676f2c1 Add PhCreateJsonParserEx 2022-02-19 11:20:52 +11:00
dmex 45cb485d4f Sync many performance improves, latest changes and bug fixes (#1021)
* Add Win11 support for KPH and Win11 types for PHNT.
* Add support for X65599 hashes improving performance by 70% in most cases.
* Add support for highlighting protected system processes.
* Add support for showing Bound connections on the network tab.
* Add support for processor energy statistics (can be enabled via options window).
* Add support for freeze/unfreeze processes on Win11 via process context menu.
* Add support for showing COM thread apartment via process threads window.
* Reduces memory and improves performance for querying process command lines and filenames.
* Improves performance for querying performance counters.
* Improves performance for graph controls.
* Fixes wcslen performance regression improving performance by 90% in most cases.
* Fixes graph tooltips not being being hidden when mouse leaves window.
* Fixes issues with tray icons when explorer.exe has crashed or deadlocked.
* Fixes main window not getting focused in some cases.
* Fixes eventlog message about realtime trace listeners for some users.
* Fixes UserNotes database lookups when no entries improving runtime performance.
* Fixes UTF8 image export names.
* Fixes extra main window padding added by tab control.
* Plus many other minor changes and fixes.
2021-10-31 21:05:41 +11:00
dmex 3ec498d4e2 Rename PhFreeJsonParser to PhFreeJsonObject 2021-09-01 06:14:56 +10:00
dmex a9d63e4499 Update json typedefs and exports, Improve json performance 2021-08-28 02:50:04 +10:00
dmex 318f93d193 Move mxml to phlib 2020-11-30 06:54:13 +11:00
dmex af833f8119 Add mxml wrapper 2020-11-30 06:33:35 +11:00
dmex 6b0c477c2c Update SAL macros 2020-10-24 14:01:16 +11:00
dmex 9565db995e Add PhGetJsonObjectType 2020-06-02 21:11:22 +10:00
dmex 83917a7a29 Add PhAddJsonObjectInt64 2019-12-04 22:21:31 +11:00
dmex 065e4f68ec Fix json wrapper memory leak 2017-10-15 07:06:13 +11:00
dmex 6071cc80f5 Fix json file functions 2017-09-29 20:51:45 +10:00
dmex f721da79af Export json wrapper, Update plugin imports, Update plugin cache paths 2017-08-10 23:07:10 +10:00