Commit Graph

59 Commits

Author SHA1 Message Date
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 7fedbc2fc1 Add V2 toast support, UI tweaks, settings schema
Introduce V2 toast notification support and a dedicated STA toast pump thread with synchronous marshalling, progress updates, hide/release helpers, and action callbacks. Add settings.schema.json for editor validation. UI and UX fixes: add advanced setting editor dialog, handle groupbox z-ordering/theming and remove WS_EX_TRANSPARENT, clear mini-info selections on left click, and pick initial mini-info section based on single enabled tray icon. Add DPI-aware process property buttons update (PhpUpdateProcessPropButtonsDpi) and export PhReferenceFont. Concurrency/listing changes: use NoFence variants for process list insertion/removal. Misc: add resource viewer, update headers and build/project files.
2026-06-17 12:15:26 +10:00
dmex 397dda6135 Fix various warnings 2026-06-01 04:30:30 +10:00
dmex 82589877ac Update notifico.c 2026-05-09 18:56:44 +10: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 0e270a053a Improve parameter name, type-safety, and SAL annotation consistency 2026-03-07 01:24:03 +11:00
dmex a8c0eb56ec Fix SAL annotations 2026-01-06 00:37:59 +11:00
dmex 6cd5fd50d5 Update notifico.c 2025-12-26 23:35:11 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 23b7bf881b Improve tray icon events 2025-06-05 08:55:33 +10:00
dmex a7473d0657 Update SAL Annotations 2025-05-15 00:39:39 +10:00
dmex bc210f1711 Fix window sizes, positions and DPI scaling 2025-03-08 08:10:22 +11:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00
dmex 95bc2fe8c1 Update to the latest SDK 2024-12-01 16:35:49 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
dmex b5c8ece612 Tidy up 2024-11-30 06:10:41 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex c87d3e67bc Update to latest SDK 2024-09-22 12:58:26 +10:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex 0c0c938f88 Add single type formatting 2024-09-09 06:27:08 +10:00
dmex 4721d35cfc Add single type formatting 2024-09-09 05:32:49 +10:00
dmex 284f445345 Add graph callback support 2024-09-08 19:49:25 +10:00
dmex 10091c7bb2 Move toast to background thread 2024-09-08 16:20:54 +10:00
dmex 96a46e03d5 Add PhCreateEvent 2024-07-07 15:36:13 +10:00
Johnny Shaw 8624f4d4ca correct Windows 11 22H2 defines 2023-10-10 17:16:49 -06:00
dmex d92c212e15 Add PhInitializeSListHead 2023-09-25 01:06:23 +10:00
dmex 17cd83a586 Fix blank tray icons #1845 2023-09-11 05:32:39 +10:00
dmex 18c8d1207f Add malloc.h 2023-09-10 10:10:11 +10:00
dmex f57de03aea Update SAL annotations 2023-07-09 00:25:40 +10:00
dmex 150fb78809 Add PhShellNotifyIcon 2023-06-12 03:47:26 +10:00
dmex a7804274fa Fix starting minimized with deferred window layout 2023-05-25 01:59:18 +10:00
dmex 23546723e6 Fix trayicon cleanup flags 2023-04-28 21:56:49 +10:00
dmex 03c59d266e Remove whitespace 2023-04-26 10:27:13 +10:00
dmex 4f3d5fba57 Update references 2023-04-01 15:06:54 +11:00
dmex 2b318c35d3 update comment 2023-03-30 16:34:35 +11:00
dmex b9d23c1c8d Fix tray icon cleanup on Windows 8 and 10 #1662 2023-03-30 16:34:25 +11:00
dmex e3d7fdd8e7 Add extra timer for Win11 missing tray hovertime #1643 2023-03-19 09:33:58 +11:00
dmex a022fbf535 Fix tray icon cleanup missing icons 2023-03-15 16:33:10 +11:00
dmex da78fa4ce7 Add PhSetTimer and PhKillTimer 2023-03-14 20:20:12 +11:00
dmex 2b8df9572a Add workaround for Win11 missing tray hovertime #1643 2023-03-13 03:53:07 +11:00
dmex 9fbd9819cf Fix regression disabling some icons from commit 0276bc086 2023-02-23 13:33:18 +11:00
dmex 0276bc0862 Fix notify icon cleanup race 2023-02-22 07:47:07 +11:00
dmex a1f78c20df Remove whitespace 2023-02-15 11:28:07 +11:00
dmex 70e024d30d Remove extra allocation when saving notification icon settings 2022-10-29 00:40:59 +11:00
dmex b3e68d67ef Disable tray icon position persistence by default 2022-10-10 23:28:15 +11:00
dmex 8f119be734 Add transparent tray icon support, Add IconTransparencyEnabled setting 2022-09-24 16:59:36 +10:00
dmex 7a7d94640b Cleanup types for CreateDIBSection 2022-09-24 08:14:17 +10:00