Commit Graph

425 Commits

Author SHA1 Message Date
dmex c0a4919a66 fixes 2026-06-13 20:44:26 -06:00
dmex d640c157b4 fixes 2026-06-13 20:44:26 -06:00
dmex f5cf831109 Initial 2026-06-13 20:44:19 -06:00
Johnny Shaw 0c8673a4b6 OnlineChecks settings update and partner prompt 2026-06-07 13:26:02 -06:00
dmex 6d937655fe Add subsystem flag and query bit to module structs 2026-06-03 17:35:20 +10:00
dmex 397dda6135 Fix various warnings 2026-06-01 04:30:30 +10:00
dmex 8651716f33 Add EXTERN_C and clean up annotations 2026-05-23 17:24:24 +10:00
dmex 53f2572d03 Update mainwnd.h 2026-05-22 23:11:11 +10:00
dmex 029b1c19f1 Update notiftoast.h 2026-05-22 23:10:51 +10:00
dmex c48abddec8 Update mainwnd.h 2026-05-22 21:13:50 +10:00
dmex 410af838c3 phlib: change listview selection 2026-05-21 06:13:53 +10:00
dmex bb1ceb5e77 Update phapp.h 2026-05-18 13:34:56 +10:00
dmex 8da8280b49 Add SAL annotations to plugin API 2026-05-16 16:00:18 +10:00
dmex 30213fd5f8 Update miniinfop.h 2026-05-16 15:58:02 +10:00
dmex 9ad92ca6ca Add _Function_class_ annotations and pointer typedefs 2026-05-16 15:57:57 +10:00
dmex 82ba16ee70 Make layout fields signed 2026-05-11 18:02:07 +10:00
dmex b81fcdc109 Add PINVOKE_START_ROUTINE and flush invoke queue 2026-05-11 05:03:56 +10:00
dmex 6415e1e8ff Change PluginCallbackLoad and export StartupParameters 2026-05-10 16:14:06 +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 aa965164a2 Add PhEnableHighResolution and rename setting 2026-05-05 21:36:06 +10:00
dmex e6b35af568 Update handle provider, Add async handle query and fix threading issues
Introduce an asynchronous handle query pipeline and UI improvements for handle resolution. Added query data structures and a stage-1 worker (PhpHandleQueryStage1Worker), a SLIST-based QueryListHead on providers, queueing (PhpQueueHandleQueryStage1), flushing/clearing (PhpFlushHandleQueryData / PhpClearHandleQueryData) and helpers to fill/cleanup results. Handle items gain NameResolved and JustProcessed fields; names/type info and file-sharing flags are resolved asynchronously and applied without blocking the main enumeration.

UI: show "Resolving...." for name cells while resolution is pending and only hide "unnamed" handles when NameResolved is true. Added a new menu item to toggle handle snapshots. Also clear various cached string refs when updating handle nodes.

Other changes: replaced type-name sort with a numeric compare on TypeIndex, refactored hashset add/remove/reference helpers (PhpLookupHandleItem, PhpAddHandleItem, PhpRemoveHandleItem, PhReferenceHandleItem), and wired queuing of stage-1 queries after new handle detection. These changes improve responsiveness and avoid long synchronous queries during handle enumeration.
2026-05-05 20:38:38 +10:00
Johnny Shaw fc46623c5f add client id headers 2026-05-03 19:12:59 -06: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 a8265d962f Add extended energy statistics and samples 2026-04-23 15:22:24 +10:00
dmex 777b033f01 Update phsettings.h 2026-04-23 13:53:34 +10:00
dmex 796bbd9cce Update memsrch.h 2026-04-23 11:23:13 +10:00
Johnny Shaw f051236b7a informer use context capture 2026-04-18 00:05:25 -06:00
dmex b546c94309 Add extended highlighting and process monitor flags
Introduce many new highlighting settings and UI grouping for Options -> Highlighting, including thread, network, environment, token, memory and module color options. Add menu flags to highlight native/mapped modules and several thread wait types; wire them into dialogs and list handling. Rename and use cached process monitor settings (PhCsEnableProcessMonitor / PhCsProcessMonitorLookback / PhCsProcessMonitorCacheLimit) and update related checks. Fix TreeNew invalidation/sorting behavior to avoid unconditional rebuilds and ensure proper node invalidation. Populate default settings and cached getters for the new options.
2026-04-12 11:50:30 +10:00
dmex 35ada03a36 Add freeze/thaw thread menu 2026-04-12 11:13:39 +10:00
dmex 7ff04762e2 Fix bounds, safety checks, and sort types
- Add SysInfoMinimumGraphHeight and SysInfoScrollEnabled settings.
- Remove redundant TreeNew_NodesStructured calls to avoid extra re-structuring.
- Fix off-by-one checks on hybridProcessorTypeList (use >=).
- Add null/empty checks before indexing directory lists in CLR metadata handling.
- Use PhShowStatusHR and correct failure logic when CLR table enumeration fails.
- Replace mutable PVOID sortFunctions arrays with CONST _CoreCrtSecureSearchSortCompareFunction and use the correct function pointer type for sortFunction in several peview tree callbacks.
- Replace SetWindowLongPtr reset with PhSetWindowProcedure for prop sheet cleanup.
- Change dwCountElems type to ULONG in pdb printing.
2026-04-11 00:57:41 +10:00
dmex 11567a683f Add horizontal scrollbar to sysinfo window #659 2026-04-11 00:48:37 +10:00
dmex fe00113a15 Rename release channel APIs to Build variant 2026-04-08 09:27:44 +10:00
dmex 8aa6a340e2 Add new native API declarations (process IO/VM counters, basic process enumeration helpers, mutant/event APIs) to phnative.h, Rename build version APIs and add native APIs 2026-04-08 05:27:21 +10:00
dmex faae10f0b9 Add Username column to service tree list 2026-04-03 06:04:22 +11:00
Johnny Shaw 6a75d7ff1c appsup fix build 2026-04-01 20:37:25 -06:00
dmex 34016e27d9 Apply SAL annotations fixes and add annotations 2026-04-01 12:11:37 +11:00
dmex bad5e393b5 Add PhGetPhVersionDateTime 2026-03-31 12:49:56 +11:00
Johnny Shaw 208b3e176d informer show cross-process activity 2026-03-29 20:16:05 -06:00
Johnny Shaw cde7a14478 process monitor window 2026-03-29 19:43:47 -06:00
dmex a396bff887 Add min,max,total for remaining stats 2026-03-25 05:32:33 +11:00
dmex 93c98a45e1 Add ThreadStackWindowPosition 2026-03-22 14:46:10 +11:00
Johnny Shaw de750fb5b6 kph formalize informer activation 2026-03-13 22:44:03 -06:00
dmex 0e270a053a Improve parameter name, type-safety, and SAL annotation consistency 2026-03-07 01:24:03 +11:00
dmex e866916f9e Update comments 2026-02-21 23:30:39 +11:00
dmex 1af1fd4717 Fix #2054 (Add setting DbgHelpVerifyMicrosoftChain) 2026-02-21 09:47:06 +11:00
dmex aa9ef43693 Update sysinfop.h 2026-02-13 05:12:31 +11:00
dmex 41f8b7aef7 Add high-resolution provider (low-latency mode) support 2026-02-05 16:51:12 +11:00
diversenok c73a4a4e14 Add desktop heap detection (#2816) 2026-02-05 08:32:10 +11:00
Johnny Shaw 5bdf86bd07 kph adjust dyndata messaging 2026-02-01 17:45:26 -07:00