Commit Graph

213 Commits

Author SHA1 Message Date
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 43756f688b Update SystemInformer.def 2026-04-23 13:55:39 +10:00
dmex a79042c12a Export PhDelayExecutionEx 2026-04-13 18:32:50 +10:00
dmex 35ada03a36 Add freeze/thaw thread menu 2026-04-12 11:13:39 +10:00
dmex b036a1b5e7 Update SystemInformer.def 2026-04-08 09:34:53 +10:00
dmex cda321c66f Update SystemInformer.def 2026-04-08 05:27:34 +10:00
dmex 34c51e5a7a Add PhEnumDesktops 2026-03-31 12:20:47 +11:00
dmex 52a516b979 Update SystemInformer.def 2026-03-25 05:33:40 +11:00
Johnny Shaw 7d64fc929f OnlineChecks scan hash caching 2026-03-22 12:26:44 -06:00
dmex 0812fdb7f8 Update exports 2026-03-22 12:04:39 +11:00
Johnny Shaw 3d27bc0c43 Rename PhReferenceObjectSafe to Unsafe 2026-03-20 17:40:54 -06:00
dmex 21896bd0c7 Update SystemInformer.def 2026-02-21 23:33:09 +11:00
Johnny Shaw f8c1c423d1 OnlineChecks manual and auto scanning 2026-02-14 00:33:36 -07:00
dmex 7aa6d1b8c3 Update SystemInformer.def 2026-02-01 00:48:53 +11:00
dmex 43be024f67 Update SystemInformer.def 2026-01-17 08:46:28 +11:00
dmex d2cfd7f1fb Add listview wrappers and workaround sync issues 2026-01-14 05:51:11 +11:00
dmex 0b6c374bf0 Rename PhGetProcessIsTerminated and PhGetProcessIsTerminating 2026-01-11 11:57:27 +11:00
dmex fd7ba17944 Add PhEnumerateValueKeyEx 2026-01-09 10:41:14 +11:00
dmex 68921d1003 Update SystemInformer.def 2026-01-07 14:17:47 +11:00
dmex 54908b0960 Update SystemInformer.def 2026-01-07 11:33:51 +11:00
dmex 03bf04a76e Add PhJsonObjectToJsonString 2026-01-07 02:42:39 +11:00
dmex 863ea2db46 Reorganize functions and imports 2026-01-04 07:26:47 +11:00
dmex 172403a27a Add PhDoesNameContainWildCards, PhIsNameInExpression, PhStringFuzzyMatch 2026-01-02 09:56:03 +11:00
dmex f6224b9615 Update comments, Update SAL annotations, Fix typos and memory leak 2025-12-06 08:22:09 +11:00
dmex d0c1cbae2d Remove PhGetKernelFileName2 2025-11-17 22:09:31 +11:00
Johnny Shaw c5cf868585 fix cmake build 2025-09-28 12:35:30 -06:00
dmex a155a93239 Add handle columns for references and size 2025-09-28 04:08:05 +10:00
dmex 522daea063 Add PhSearchControlClear 2025-09-23 09:57:56 +10:00
dmex 1fa1bf1c2b Move PhReadTimeStampCounter 2025-09-22 18:55:57 +10:00
dmex 468c176641 Export PhGetSelectedProcessNode and PhShowIconNotificationEx 2025-09-06 21:09:33 +00:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
Johnny Shaw 471a6b1015 update exports def 2025-07-31 01:16:25 -06:00
Johnny Shaw 0fa1b4e2ce improve thread priority columns and handling 2025-07-21 00:20:20 -06:00
dmex 2a0708f08e Export PhRegisterPluginByName 2025-06-05 09:52:05 +10:00
dmex 4bb9a69856 Update SAL Annotations 2025-05-22 00:00:42 +10:00
dmex 95ab29e200 Update SAL Annotations and Fix typos 2025-05-15 13:12:48 +10:00
dmex 4ba4e320ea Reflow group order default 2025-04-21 00:18:28 +10:00
dmex cae968d300 Update SystemInformer.def 2025-03-27 01:06:50 +11:00
dmex 9d4afd7cd7 Export PhCreateCommonFont 2025-03-22 05:10:39 +11:00
dmex bf4fbcc1ce Move inline fonts to exports 2025-03-22 04:21:07 +11:00
dmex 25ae10c924 Update SystemInformer.def 2025-03-22 03:15:18 +11:00
dmex eb080da07d Export PhIsProcessBackground 2025-03-11 12:02:09 +11:00
dmex e8a7ec8804 Export PhGetProcessPowerThrottlingState 2025-03-07 19:01:46 +11:00
dmex 77e0bd2c4c Add PhDnsReverseLookupNameFromAddress 2025-03-04 17:14:38 +11:00
dmex c948f6d009 Update SystemInformer.def 2025-02-13 13:55:50 +11:00
dmex 42b2f92a5f Add HTTP3 support, Improve HTTP error handling and performance 2025-02-13 13:09:13 +11:00
dmex f6ea63892e Export PhUiRestartServices 2025-02-03 19:12:04 +11:00
dmex 32feec41c8 Add PhTerminateWindow 2025-02-03 05:21:55 +11:00
dmex 09dcb24680 Tidy up 2025-01-24 06:03:04 +11:00