474 Commits

Author SHA1 Message Date
dmex a1284c1d7d Use type instead of variable in plugins 2026-11-02 22:57:19 +11:00
dmex 048d99232c Fix races, handle reuse, and mapped image faults
H
2026-10-27 22:11:18 +11:00
dmex d40e6e0441 Set VCProjectVersion to 18.0
Define VCProjectVersion as 18.0 in the shared Directory.Build.props so all projects use the same Visual C++ project version.
2026-10-26 13:05:37 +11:00
dmex cc0fa8a1f3 Add WS_CLIPCHILDREN to plugin dialog styles 2026-10-26 10:41:32 +11:00
dmex 6d330ca52f Improve UI rendering and plugin reliability
Create controls at their initial layout sizes and reduce system information panel flicker. Recover GPU/NPU monitoring after adapter restarts, correct sensor aggregation, and optimize graph updates. Restrict upload destinations, bound updater downloads, use monotonic transfer timing, and fix resource leaks and firewall cache races.
2026-10-24 02:35:15 +11:00
dmex 56b1aa5899 Update gpugraph.c 2026-10-19 01:20:46 +11:00
dmex 79d466ac1a Fix Window Explorer property control theming
Use PhWindowThemeControlColor for general property controls instead of hardcoded black text and white backgrounds, so controls respect the active theme.
2026-10-16 10:53:27 +11:00
dmex b49a404203 Refine ExtendedTools interfaces 2026-10-14 07:44:34 +11:00
dmex 05bd251440 Theme, service grouping, and misc UI fixes
- Themed status bar/header: hot-part tracking with partial invalidation, owner-draw/icon/RTL support, sizegrip drawn last, header images/alignment, buffered header paint, DPI change handling, and capture-change hover reset.
- Fill erase background in dialog/static hooks and sysinfo container to avoid flicker; add menu popup border frame.
- Explorer theme mode follows the Windows dark preference.
- Service list: add 'Group services by' (type, load order group, svchost group, start type) with synthetic group nodes.
- Session properties: query nltest account info on a background thread and decode its security descriptor with a read-only permissions viewer.
- Add PhIsLaunchedByTaskScheduler and PhGetWindowsBuildString.
- phlib buffered paint uses UxTheme unless PHLIB_PAINT_BUFFER is defined.
- Add I/O total bytes process column; set initial focus on several process property pages.
- Plugins: only walk WOW64 stacks for WOW64 processes, add WindowExplorer pause/resume, remove disk cache events page, refresh frame on netoptions border changes, and fix Updater SymCrypt hash size init.
2026-10-14 05:53:44 +11:00
dmex bd0417cc82 HardwareDevices: #1558 and #2720 2026-10-13 01:46:53 +11:00
Johnny Shaw 3a59aa669f plugins share the ExtendedTools interface the way the others are shared 2026-09-09 17:43:54 -06:00
Johnny Shaw 755123af09 plugins check the interface a loaded plugin need not publish 2026-09-09 17:43:47 -06:00
Johnny Shaw d96f9ce761 gpu description fixes 2026-08-29 12:04:38 -06:00
dmex 02cfc18737 Update netoptions.c 2026-07-16 14:46:38 +10:00
dmex cc6b982f5d Update gpuoptions.c 2026-07-16 14:46:38 +10: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
NotEnsoul 3e6ce5a815 HardwareDevices: Fix options menu navigation (#2974) 2026-07-08 06:03:29 +10:00
NotEnsoul 6d5d3eedfd Fix crash when opening device driver search page (#2969) 2026-07-06 18:57:11 +10:00
dmex fc3ccd19e4 Update copyright headers 2026-07-05 10:34:37 +10:00
changdingfang 49775583f1 HardwareDevices: Array length validity check (#2947) 2026-06-23 04:51:55 +10:00
dmex 696a6ea830 Update devices.h 2026-06-21 20:39:02 +10:00
dmex b84e64e08d Update devices.h 2026-06-21 19:20:20 +10:00
dmex db1d601472 Update devices.h 2026-06-21 19:16:56 +10:00
dmex 35ae4f05ff Update devices.h 2026-06-21 18:35:04 +10:00
dmex 090056a193 Update devices.h 2026-06-18 16:40:39 +10:00
dmex 61aa16babf Update main.c 2026-06-18 16:39:54 +10:00
dmex 9566b132e1 Add CLR metadata mapping and UI improvements 2026-06-16 01:54:09 +10:00
dmex 5f4f40fd82 Build and bug fixes 2026-06-15 06:39:23 +10:00
dmex 410af838c3 phlib: change listview selection 2026-05-21 06:13:53 +10:00
dmex 4b36738a22 Update devices.h 2026-05-17 21:28:39 +10:00
dmex 749108feb9 Update devices.h 2026-05-17 21:28:17 +10:00
dmex ee1d70d371 HardwareDeices: Improve GPU utilization of nodes 2026-05-17 21:08:48 +10:00
dmex 045deecae4 Use DefaultPlatformToolset across projects 2026-05-12 13:19:46 +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 3914cd3ed8 Update graphics.c 2026-05-08 09:46:24 +10:00
dmex cf4752b470 Update gpugraph.c 2026-05-08 09:46:19 +10:00
dmex 3b8d32357e Fix #2905 2026-05-08 09:27:37 +10:00
dmex ab3a7e53d4 Fix parameter name in DeviceTreeCallback and update callback to handle invalidation 2026-05-04 17:36:17 +00:00
dmex c9b75fda3c Improve DPI handling and various fixes 2026-05-05 02:31:17 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +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 692afa1374 Update storage.c 2026-04-08 08:59:57 +10:00
dmex 7d6c2c2912 Query KMTQAITYPE_GETSEGMENTSIZE to obtain dedicated/shared memory sizes; compute and display reserved memory based on the visible limit instead of relying on global statistics. 2026-04-04 16:53:11 +11:00
dmex b4029ac887 Add alternative query for disk performance stats and add docs 2026-04-04 16:49:43 +11:00
dmex 47b1abf394 HardwareDevices: Update device query functions and types 2026-04-01 12:18:38 +11:00
dmex 34016e27d9 Apply SAL annotations fixes and add annotations 2026-04-01 12:11:37 +11:00
dmex 7fda699831 Update devices.h 2026-03-29 22:21:45 +11:00
dmex b93e7ed83e HardwareDevices: Fix RAPL unknown devices on AMD #1558 #2599 2026-03-29 18:53:07 +11:00
dmex dd41b7d1ee Update powergraph.c 2026-03-29 03:21:31 +11:00
dmex e0da7a5b29 Update ndis.c 2026-03-29 03:20:58 +11:00