Commit Graph

140 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 e33f9f6965 Fix memory leak 2026-07-19 09:15:54 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +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 349d03e9f5 Add network hashset and PH_PROVIDER_UPDATED_EVENT
Introduce a generic PH_PROVIDER_UPDATED_EVENT instead of encoding RunCount via UlongToPtr. Replace the network provider's hashtable with a simple hash set implementation: add PH_HASH_ENTRY to PH_NETWORK_ITEM, implement PhHashNetworkItem and PhCompareNetworkItem, maintain PhNetworkHashSet array and count, and update all lookup/enum/remove/add paths to use the new hash set and locks.
2026-05-09 18:51:01 +10:00
dmex a6443d07c0 Remove global PhSystemDpi, PhSmallIconSize, PhLargeIconSize
Eliminate the main-window-DPI globals that bleed across dialogs on
secondary monitors. Window-aware code now passes its own DPI:

- Delete PhSystemDpi, PhSmallIconSize, PhLargeIconSize and
  PhGuiSupportUpdateSystemMetrics; remove the mainwnd.c invocation
  on WM_DPICHANGED.
- PhGetApplicationIcon and PhGetStockApplicationIcon now require a
  WindowDpi parameter; PhGetApplicationIconEx is folded into
  PhGetApplicationIcon. PhGetStockApplicationIcon keeps the shared
  icon contract via a 4-slot DPI-keyed cache so multiple monitors
  coexist without thrash.
- All ~50 callers updated to source DPI from their owning window
  (PhGetWindowDpi for hwnd-bearing call sites; PhGetTaskbarDpi for
  the tray icon; PhGetSystemDpi for window-class registration and
  parentless task dialogs).
- PhSetApplicationWindowIcon now thin-wraps PhSetApplicationWindowIconEx
  with PhGetWindowDpi(hwnd), so the 63 legacy call sites get
  per-window-DPI icons without per-site edits.
- srvprv.c and mainwnd.c read PhProcessImageListWindowDpi instead
  of PhSystemDpi/PhSmallIconSize.X for service and process icons.
2026-04-26 22:49:05 +10:00
dmex 9038cf6f89 Fix icon cleanup 2026-04-15 15:40:20 +10:00
Johnny Shaw cde7a14478 process monitor window 2026-03-29 19:43:47 -06:00
dmex 34a6972340 Update procprv.c 2026-01-19 17:44:52 +11:00
dmex afb1b61bfa Update PhGetTokenPackageFullName 2026-01-19 15:22:44 +11:00
dmex b19f98f0d8 Add union for process/thread affinity and optimize for non-allocating 2026-01-07 08:19:16 +11:00
dmex 1215d1d15d Fix affinity regression from 7e9aa37 #2788 2026-01-07 06:32:58 +11:00
dmex dcaaad83ec Add bulk SID Resolution 2026-01-04 13:24:06 +11:00
dmex 8409699e04 Add minor fixes for testing 2025-12-13 16:02:52 +11:00
dmex bd9effd7b0 Update documentation and types 2025-12-12 19:42:59 +11:00
dmex f6224b9615 Update comments, Update SAL annotations, Fix typos and memory leak 2025-12-06 08:22:09 +11:00
dmex 7e9aa37378 Fix affinity update for single groups 2025-11-17 21:27:38 +11:00
dmex 8eeef3e97b Add PhComputeCpuUtilizationPercentFromCycles and PhComputeCpuUtilizationPercentFromCyclesPrecise 2025-10-09 02:02:39 +11:00
dmex 704d1c9009 Move protection text to process node 2025-09-22 19:48:41 +10:00
dmex ebc6822cdd Fix updating username when column disabled at launch 2025-09-06 20:26:24 +00:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 6c20c78fb6 Merge minor fixes from dev branch 2025-08-20 11:54:19 +00:00
dmex e15245d453 Remove duplicate memory allocations for single processor groups 2025-06-05 09:07:38 +10:00
dmex de1f8ae674 Update SAL Annotations 2025-06-05 08:29:55 +10:00
Johnny Shaw 08cd0dbd7e fix snapshot process detection 2025-06-02 18:11:44 -06:00
dmex 868d5ce2b6 Update to latest SDK 2025-05-23 13:23:34 +10:00
dmex 8f02da7729 Update SAL Annotations 2025-05-15 01:10:28 +10:00
dmex a7473d0657 Update SAL Annotations 2025-05-15 00:39:39 +10:00
Johnny Shaw 0561f840e9 include status in provider trace error path 2025-04-18 20:58:58 -06:00
Johnny Shaw b12d4589e5 trace provider funcs 2025-04-18 18:36:10 -06:00
Johnny Shaw 577406f9a8 user mode tracewpp 2025-04-16 20:10:31 -06:00
dmex e3ed9a4814 Settings format and consistency 2025-03-26 20:32:28 +11:00
dmex 7431c2930c Fix GPU regression #2444 (f6c749329) 2025-03-11 13:06:44 +11:00
dmex 194661cb62 Update to the latest SDK 2025-03-11 06:06:55 +11:00
dmex 0815535470 Add PhSetVirtualMemoryPagePriority, PhGetMemoryPagePriorityString 2025-03-02 21:29:51 +11:00
Johnny Shaw 62fcc1e7c9 group aware proc/thrd item affinity 2025-02-27 20:12:27 -07:00
dmex 174453eb5d Update type 2025-02-11 09:19:08 +11:00
dmex 6bacb03c62 Fix typo 2025-02-03 05:22:46 +11:00
dmex f6f09da44c Update procprv.c 2025-01-25 01:58:03 +11:00
dmex ace3e99c35 Add IsFrozenProcess 2025-01-24 01:49:56 +11:00
dmex 0424133b79 Add PPCH_STRINGREF 2025-01-14 16:24:39 +11:00
dmex 083acb7302 Add KphQueryObjectThreadName and fix build 2025-01-08 15:49:29 +11:00
dmex 5cd2d737f5 Tidy up 2025-01-08 12:13:22 +11:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00
dmex 451eb95469 Update to latest SDK, Update status messages 2024-12-13 12:27:15 +11:00
dmex ab6986606b Update to latest SDK 2024-12-08 08:03:23 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
dmex b5c8ece612 Tidy up 2024-11-30 06:10:41 +11:00
Johnny Shaw d6edf13a85 procprv secure kernel file name 2024-11-27 23:09:23 -07:00
Johnny Shaw 10efe64ccd procprv ps protection fixes 2024-11-27 23:09:22 -07:00