Commit Graph

45 Commits

Author SHA1 Message Date
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 397dda6135 Fix various warnings 2026-06-01 04:30:30 +10:00
dmex 0b2104b7ed Multiple fixes, typos and enhancements 2026-05-18 13:22:48 +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 89e72373b2 Update thrdstk.c 2026-04-23 13:54:55 +10:00
dmex 0961fa0dca Fix #2858 2026-04-23 01:28:08 +10:00
dmex 736945e66e add CONST qualifiers to static sort function arrays and use proper _CoreCrt* function-pointer types; 2026-04-10 16:01:36 +10:00
dmex 4b077ff9e6 Add handler to copy tree text 2026-04-04 03:02:28 +11:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 0e270a053a Improve parameter name, type-safety, and SAL annotation consistency 2026-03-07 01:24:03 +11:00
dmex fe3edfa495 Update thrdstk.c 2025-12-26 23:31:27 +11:00
Johnny Shaw 6b30a776c9 thrdstk improve path display 2025-12-13 10:49:53 -07:00
Johnny Shaw 6d779c4325 Workaround TDN_DESTROYED without TDN_DIALOG_CONSTRUCTED 2025-10-01 18:06:26 -06:00
dmex a660d5e054 Update SAL Annotations 2025-09-22 19:04:22 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex a7473d0657 Update SAL Annotations 2025-05-15 00:39:39 +10:00
dmex 6aed8aedd7 Fix missing stack progress messages 2025-02-03 19:12:04 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
ge0rdi 8255bb904e Few improvements (#2257)
* fix Ctrl+K (search box) handling

- tree view didn't pass keypresses to parent window so it was not
  possible to handle the keyboard combo
- some plugins didn't handle Ctrl+K at all

Fixes #2241

* treenew handle Ctrl+A in common code

* searchbox pressing escape will abandon search

Current search is abandoned and focus is returned to window that
previously had it, instead of closing whole dialog.

* fixup! searchbox pressing escape will abandon search

* Update SystemInformer/searchbox.c

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>

* Update SystemInformer/searchbox.c

---------

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2024-10-29 19:04:04 -06:00
dmex f19fed70fb Update TreeNewSortChanged and image export 2024-09-12 08:44:44 +10:00
dmex 1375429a90 Update to latest SDK 2024-06-23 05:49:26 +10:00
Johnny Shaw 5d3e83665a arm64 improve stack walking 2024-02-09 20:28:48 -07:00
dmex 3e9965d9fd Update SymbolProvider to latest SDK 2023-10-07 20:32:49 +11:00
dmex 3322d159a7 Add copy/paste support for thread stacks window 2023-06-29 17:03:10 +10:00
dmex 28800f4401 static_assert sorting callbacks to catch missing columns 2023-06-21 11:15:36 +10:00
dmex 10a18c058e Update SAL annotations 2023-04-14 20:04:22 +10:00
dmex 8c92dfb866 Add process handle to ThreadStackInitializing 2023-03-30 11:51:58 +11:00
Johnny Shaw a1ab0312eb improve kph error messaging 2023-03-20 17:55:21 -06:00
dmex 1bd4e06f0d Add PhShowKsiUnsupportedError 2023-03-21 08:21:21 +11:00
dmex 3bbf0ac914 Disable treenew redraw when adding columns 2023-03-17 16:26:52 +11:00
dmex 5f10c81276 Add support for extra propsheet messages and cleanup in NCDESTROY 2023-02-21 07:27:13 +11:00
dmex 6d5d6ce0c6 Add frame distance to thread stacks 2023-02-10 11:03:05 +11:00
dmex 2dee1c0047 Fix crash sorting thread stacks by architecture 2023-02-10 04:26:30 +11:00
dmex 56ee32118e Update SAL annotations 2023-02-10 02:24:42 +11:00
Johnny Shaw 3c69a7ed4c fix ppl stacks and arm64 cycle bug 2023-02-01 20:54:54 -07:00
Johnny Shaw d4cde276c7 arm64 stack walk EC/CHPE support 2023-01-28 11:31:44 -07:00
dmex df92429732 Update DialogBox to PhDialogBox 2023-01-17 02:22:06 +11:00
dmex b0391ee556 Update SAL annotations and remove redundant checks 2023-01-09 16:39:26 +11:00
dmex ca6bf883fd Add theme support to extra dialogs 2022-09-24 02:19:38 +10:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
dmex 5065ec4bb9 Add Reset Sort option to more dialogs 2022-09-13 03:44:56 +10:00
Johnny Shaw f7a04113d4 driver work (#1320) 2022-08-06 21:49:05 -06:00
dmex 624b18da04 Update PhAppendFormatStringBuilder to PhAppendStringBuilderEx 2022-08-03 02:41:16 +10:00
dmex f56e2b3539 Rename PhDoesFileExists 2022-07-27 20:54:35 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00