Commit Graph

2450 Commits

Author SHA1 Message Date
dmex 5a803eb010 Use SETTING_NAME_* for env dialog; add UI settings 2026-06-18 02:21:16 +10:00
dmex 13462cd820 PhFindFirstOfCharsW 2026-06-17 14:26:40 +10:00
dmex 7fedbc2fc1 Add V2 toast support, UI tweaks, settings schema
Introduce V2 toast notification support and a dedicated STA toast pump thread with synchronous marshalling, progress updates, hide/release helpers, and action callbacks. Add settings.schema.json for editor validation. UI and UX fixes: add advanced setting editor dialog, handle groupbox z-ordering/theming and remove WS_EX_TRANSPARENT, clear mini-info selections on left click, and pick initial mini-info section based on single enabled tray icon. Add DPI-aware process property buttons update (PhpUpdateProcessPropButtonsDpi) and export PhReferenceFont. Concurrency/listing changes: use NoFence variants for process list insertion/removal. Misc: add resource viewer, update headers and build/project files.
2026-06-17 12:15:26 +10:00
dmex 1f821d3828 Integrate new tab control and layout persistence 2026-06-16 08:49:11 +10:00
dmex e3c623fbdd Add PhCountBitsUlong64, tabnew header and CLR fixes 2026-06-16 06:30:56 +10:00
dmex 2e0a1c7e73 Add ACPI, FADT, FACS, MADT, HPET, MCFG, SRAT, SLIT, BGRT to include new dialogs and controls (Environment Variables, SRUM, PCASRV, Power Policies, WBCL buttons, etc.). 2026-06-16 05:17:12 +10:00
dmex 3dd6e12089 Add PhPropSheetNew and PhScrollNew controls 2026-06-15 22:54:54 +10:00
dmex 7e3bfece17 Add CLR metadata mapping and parser 2026-06-15 18:24:49 +10:00
dmex dccc988ce6 Use Win32 file helpers and fix header prototypes 2026-06-15 17:24:37 +10:00
dmex a505af0969 Enhance miniinfo graphs & zombie process handles 2026-06-15 12:56:06 +10:00
dmex 6ab42a8276 Add PhWaitForManyObjects and IOCP wait-completion packets 2026-06-15 09:37:37 +10:00
dmex 6e8574a8c4 Add PhConvertBitmapToIcon 2026-06-15 09:32:42 +10:00
dmex 563c55cf9d Add RtlStringFromGUIDEx imports 2026-06-15 09:08:10 +10:00
dmex 8d6383298c Update guisup.h 2026-06-15 06:50:21 +10:00
dmex 5f4f40fd82 Build and bug fixes 2026-06-15 06:39:23 +10:00
dmex 9ccd5a242a Update apiimport.h 2026-06-15 06:02:06 +10:00
dmex cd7500dff0 Update phutil.h 2026-06-15 05:37:35 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
Johnny Shaw 2d6be64a39 kphuser fix SAL and output zeroing 2026-06-06 15:51:07 -06:00
dmex 4769220c25 Refactor module query flow; remove ELF type
Introduce a more flexible module query system and remove the ELF-specific module type. Key changes:

- Remove PH_MODULE_TYPE_ELF_MAPPED_IMAGE from PH_MODULE_TYPE and delete related usages.
- Add PH_MODULE_QUERY_DATA flags (PH_MODULE_QUERY_FULL, PH_MODULE_QUERY_FILE_ATTRIBUTES) to control work performed by background queries.
- Extend query data with file attribute/status fields and verify-result validity tracking.
- Implement PH_MODULE_KEY, hash and equality funcs to build a temporary hashtable of enumerated modules for efficient removed-module detection.
- Create a lazily-initialized module query work queue (PhpModuleQueryWorkQueue) and route module queries through it; PhpQueueModuleQuery now accepts Flags and avoids duplicate queries via QueryPending.
- PhpModuleQueryWorker now conditionally performs file-attribute queries, verification, and image-coherency checks based on flags and provider/process state; it records results into module items and updates modified state accordingly.
- Adjust provider update logic: use the module-key hashtable to detect removed modules, only queue full verification for non-subsystem processes, and queue file-attribute-only queries for subsystem processes; avoid treating subsystem modules as ELF mapped images.
- Misc: reduce initial list size in PhModuleProviderUpdate and ensure module item timestamps/sizes are updated from file attributes.

These changes aim to reduce unnecessary work for subsystem processes, avoid a separate ELF module kind, and make background querying more efficient and robust.
2026-06-03 17:08:30 +10:00
dmex 4c64d8ffa3 Correct PH_NETWORK_TYPE_MASK to 0x7 2026-06-02 23:46:26 +10:00
dmex ead9910db9 Fix PCLMUL init and ARM64 shuffle implementations
Use InterlockedCompareExchange when initializing the PCLMUL detection state to avoid a race (replace WriteULongRelease with atomic CAS and adjust local variables). Correct parameter documentation in PhAddFLOAT128 (fix Divisor/Dividend descriptions). Update ARM64 NEON implementations for PhShuffleFLOAT128_2301 and PhShuffleFLOAT128_1032 to produce the correct lane ordering that matches the corresponding _MM_SHUFFLE semantics (adjusted use of vget_low/vget_high and vrev64_f32).
2026-06-02 23:43:59 +10:00
dmex 6c032deb80 Update phintrin.h 2026-06-02 23:33:55 +10:00
dmex 94551bca08 Add PhSymCryptInitialize 2026-06-02 10:12:25 +10:00
dmex 295484637c Add SIMD wrappers for 256 2026-06-01 11:18:11 +10:00
dmex 2447dec66d Add PhAddMemoryUlong 2026-06-01 04:36:25 +10:00
dmex 309f34d82c Add PhGetItemPointerList 2026-06-01 04:34:54 +10:00
dmex 397dda6135 Fix various warnings 2026-06-01 04:30:30 +10:00
dmex 0b5209066a Add buffered paint/theme support and helpers 2026-05-28 05:06:20 +10:00
dmex 979acee0d0 Add parallel hash API and key-handle abstraction
Introduce a parallel multi-hash API and a handle-based asymmetric key abstraction. add types, macros and function prototypes for parallel SHA-256/384/512 batching (init/process/cleanup/get capabilities) and for PH_SYMCRYPT_KEY_HANDLE-based key operations and RSA blob generation. phlib/phcrypt.c: implement the parallel hashing routines (allocation, processing, cleanup) and a BCrypt-like key handle layer (generate/finalize/import/export/sign/verify/destroy) plus RSA/ECDSA blob handling. Also add ntintsafe usage and numerous input validation, integer-overflow and buffer-safety checks (RtlSIZETAdd/Mult, parameter NULL checks, memset initializations) to harden existing cryptographic routines.
2026-05-28 04:40:15 +10:00
dmex 17d6111701 Fix rndrrs on ARM and build options 2026-05-24 08:59:04 +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 7d3d0c3330 Add PhEqualRect 2026-05-22 16:12:32 +10:00
dmex 6b63dcdee0 Add documentation 2026-05-21 08:55:58 +10:00
dmex 80c6725466 Add ThirdParty SymCrypt header to phlib sdk 2026-05-21 08:29:57 +10:00
dmex f674fcfd89 Update phnative.h 2026-05-21 08:07:54 +10:00
dmex 1aa71ebcf4 Update phintrin.h 2026-05-21 08:06:32 +10:00
dmex 410af838c3 phlib: change listview selection 2026-05-21 06:13:53 +10:00
dmex a37f955d48 Add ReturnLength to file info query APIs 2026-05-21 04:44:45 +10:00
dmex 444e5e03e8 Add ARM64 random number helper 2026-05-19 02:09:11 +10:00
dmex 0b2104b7ed Multiple fixes, typos and enhancements 2026-05-18 13:22:48 +10:00
dmex d6e26981da Add PhGetProcedureAddressT macro 2026-05-17 11:47:21 +10:00
dmex 82e36a96b3 Update phbasesup.h 2026-05-16 16:24:10 +10:00
Johnny Shaw 96db9dbdd5 make _Enum_is_bitflag_ SAL placement consistent with SDK 2026-05-12 17:11:16 -06:00
dmex edff23a5fc Add PhHttpDownloadUrl and callbacks 2026-05-12 07:17:24 +10:00
dmex 686a328413 Handle property-sheet WM_DPICHANGED and add tab-control layout helper 2026-05-11 18:46:14 +10:00
dmex f6aba94465 Add WindowDpi to treelist draw struct 2026-05-11 10:15:21 +10:00
dmex 96b6df5ff8 Cache per-graph fonts and handle DPI
Introduce per-graph cached fonts and DPI tracking to avoid global font handle replacement across windows. Replace the previous global queued-lock/lastDpi/iconTitleFont approach with per-drawinfo caching, and ensure graph contexts free their cached fonts on destroy. When copying draw-info between users, only copy the public prefix using FIELD_OFFSET to avoid copying cache fields. Also fix font height adjustments to use PhMultiplyDivideSigned.
2026-05-11 08:25:58 +10:00
dmex 6debb84c88 Add Base64 encoder/decoder 2026-05-10 15:01:00 +10:00