Commit Graph

47 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 37501a3dac Reduce mini info window resize flicker
Improve mini info container painting during resize by enabling `WS_CLIPCHILDREN`, suppressing parent background erase, and switching child sizing to `SetWindowPos` with no-redraw flags. The resize handler now lays out first and invalidates only the child window to avoid unnecessary parent repaints and visual artifacts.
2026-07-19 18:29:02 +10:00
dmex cedfa00333 Add wrapper for mini info graphs 2026-07-17 07:36:15 +10:00
NotEnsoul e87475d8b1 Fix tray window focus on left-click in mini-info list section (#2981) 2026-07-08 06:02:12 +10:00
dmex efa63c8e5d Theme, secedit, and misc fixes 2026-07-05 12:04:49 +10:00
dmex 80049887bf Refine mini-info and dialog handling
Adds a mini-info section callback and supports positioning the popup above its source point, including activation tweaks. Also switches the handle permissions dialog to window context storage, caches control handles in the environment dialogs for cleaner layout/enabled-state updates, and fixes process icon lifetime management to avoid leaking stale icons.
2026-07-02 20:13:48 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 851f0060a8 Use PhGetClassName and add COM helper macros 2026-06-21 09:31:31 +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 a505af0969 Enhance miniinfo graphs & zombie process handles 2026-06-15 12:56:06 +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 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10: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 e7a54339cb Update mininfo window class style 2026-01-04 13:13:54 +11:00
dmex e1a379072d Update settings 2025-12-26 23:46:28 +11:00
dmex d6fa11f143 Update SAL annotations and add stack allocations for some types 2025-10-08 15:43:41 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
Johnny Shaw 5e6248eb2e clang-msvc fix int-to-void-pointer-cast 2025-08-09 23:32:14 -06:00
dmex 6317244ea6 Restructured common code 2025-05-07 08:29:22 +10:00
dmex dd50d92718 Make strings CONST 2025-04-21 00:22:35 +10:00
dmex bc210f1711 Fix window sizes, positions and DPI scaling 2025-03-08 08:10:22 +11:00
dmex 1c2718a866 Update miniinfo.c 2025-02-26 03:38:31 +11:00
dmex e81671b4c4 Fix miniinfo window crash after prompt #2336 2025-02-26 03:38:24 +11:00
ge0rdi 1aa795e0c2 Fix user-after-free bug in miniinfo (#2340)
Call to `PhPinMiniInformation` may result in hiding miniinfo window,
which will free its allocated resources and thus make `ProcessGroup`
invalid.

Fixes #2278
Fixes #2336

Co-authored-by: dmex <dmex04@gmail.com>
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2025-01-02 23:51:58 -07:00
dmex d4a624ca5e Add termination state for miniinfo 2024-12-23 05:26:45 +11:00
Johnny Shaw 51b95cfcaa precision limit 2024-10-26 11:06:50 -06:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex eb58b5200a Add single type formatting 2024-09-09 05:44:38 +10:00
dmex 5bf7f29306 Update graphs and guisup types 2024-09-09 01:35:03 +10:00
dmex 40070d14c7 Update to latest SDK 2024-07-03 21:24:04 +10:00
dmex 1375429a90 Update to latest SDK 2024-06-23 05:49:26 +10:00
dmex d46840b79a Convert MiniInfoWindow dialog to standalone window 2023-07-06 01:50:25 +10:00
dmex cef5fff190 Update includes 2023-05-27 02:59:13 +10:00
dmex 870a671c19 Add PhLoadCursor, PhSetCursor, PhLoadArrowCursor, PhLoadDividerCursor 2023-05-23 22:38:15 +10:00
dmex 80ad1cfd2e Fix tray window #1671 by reverting two commits
Reverts due to compatibility issues from 8748b7276b and beffbd724c
2023-04-04 03:57:20 +10:00
dmex 3bbf0ac914 Disable treenew redraw when adding columns 2023-03-17 16:26:52 +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 beffbd724c Remove SHAppBarMessage 2023-02-23 10:55:31 +11:00
dmex 56ee32118e Update SAL annotations 2023-02-10 02:24:42 +11:00
henrypp 5744c9cba4 Per Monitor V2 DPI aware support (thanks to henrypp!) (#1347) 2022-09-16 00:08:12 +10:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
dmex 682fe7ea7a Add support for precision below 0.01 (Fixes #1134) 2022-09-13 05:02:44 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00