Commit Graph

45 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 025db3a0ec Fix UI init and token diagnostics
This change moves main-window setup to WM_CREATE to avoid invalid initial layouts, improves dialog focus and window-placement restoration, and includes a wide set of Win32/UI correctness fixes across the app. It also adds thread-stack and Wow64 safety handling, improves token details (authority/RID and elevated-privilege highlighting), and broadens the low-level documentation comments. The update also adjusts a few build settings in CustomBuildTool to improve runtime behavior.
2026-10-01 23:49:16 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +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 058692bedc Don't close manager service handle on destroy 2026-04-15 15:13:13 +10:00
dmex a77ea98700 Update service wrappers 2025-12-31 03:20:57 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +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
dmex 1c1ea52b71 Update SAL annotations 2025-04-22 06:13:46 +10:00
dmex 5cd98642ac Tidy up #2502 2025-04-22 05:54:21 +10:00
dmex dd50d92718 Make strings CONST 2025-04-21 00:22:35 +10:00
dmex 50d3702270 Fix regression for service file versions #2510 2025-04-20 08:48:59 +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 41c9a82951 Update to the latest SDK 2025-04-08 09:27:21 +10:00
dmex e3ed9a4814 Settings format and consistency 2025-03-26 20:32:28 +11:00
dmex c2292ab54c Move ServiceTreeFilter to background provider 2025-03-12 15:51:02 +11:00
dmex ac2ed17cff Add initial cmake support and fix compatibility issues 2025-02-28 12:18:01 +11:00
dmex 0affd41233 Update PPH_STRINGREF to PCPH_STRINGREF 2025-02-25 17:24:27 +11:00
dmex ff5354e878 thirdparty: Add xxhash 2025-01-07 11:38:22 +11:00
dmex ab6986606b Update to latest SDK 2024-12-08 08:03:23 +11:00
dmex 7000fd6a43 Update to latest SDK 2024-12-02 06:38:02 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex f8c6b714bd Move ServiceNonPoll flush delay 2024-09-18 02:34:29 +10:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex 96a46e03d5 Add PhCreateEvent 2024-07-07 15:36:13 +10:00
dmex 1375429a90 Update to latest SDK 2024-06-23 05:49:26 +10:00
dmex e48fde89d5 Add service exit code 2024-05-31 02:59:51 +10:00
dmex d92c212e15 Add PhInitializeSListHead 2023-09-25 01:06:23 +10:00
dmex d7635d2427 Add initial support for ServiceModified notification 2023-09-11 05:47:40 +10:00
dmex adbd23dc44 Update svcsup (#1843) 2023-09-06 09:01:57 +10:00
dmex 711b833ff7 Update headers references for mapldr.h 2023-02-10 02:04:40 +11:00
dmex 0148fc5c28 Fix SAL warning for interlocked variable 2023-01-11 09:29:20 +11:00
dmex dfbcb5e27f Improve startup performance, imagelist caching, system DPI caching and DPI change invalidation 2022-12-26 16:31:30 +11:00
dmex 01968963ff Add support for packaged process icons 2022-12-21 23:35:18 +11:00
henrypp 5744c9cba4 Per Monitor V2 DPI aware support (thanks to henrypp!) (#1347) 2022-09-16 00:08:12 +10:00
dmex 048a3d5c77 Update github links 2022-09-14 14:35:07 +10:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
dmex 4389a815e2 Add PhGetServiceKeyName 2022-08-07 23:49:19 +10:00
dmex 8dc955fdc1 Add WM_PH defines, Add OBJ_NAME_ALTPATH 2022-08-06 13:40:18 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00