Commit Graph

2011 Commits

Author SHA1 Message Date
dmex e7fffcc8ee Improve UI theming and search control behavior
This changeset overhauls several UI infrastructure paths: it adds richer column drag/drop visuals, expands the search box with fuzzy matching and match-range APIs, and refactors theme handling (including Explorer-style palette support, buffered/non-client paint cleanup, and new theme file utilities). It also hardens core behavior with many reliability fixes, such as bounded HTTP download buffering, safer process/service enumeration and handle ownership updates, improved window/context lifecycle handling, DPI/layout fixes, and broader consistency updates across dialog/list-view drawing and helper APIs.
2026-10-02 13:27:30 +10:00
dmex 66f0dda526 Refresh project files and build config 2026-10-02 12:20:22 +10:00
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 a2af60d47c Clip choose-page dialog painting
Use the dialog DC clip box when drawing the choose-new-page footer and background, and skip painting when there is no visible region. This avoids overpainting outside the invalidated area and makes the custom themed drawing behave correctly.
2026-10-01 23:30:16 +10:00
dmex b456812a9d Handle more wait analysis syscalls
Improve thread wait analysis in `anawait.c` by recognizing Win32k CoreMessaging completion drains and I/O completion port waits. This adds clearer messages for `NtUserDrainThreadCoreMessagingCompletions*` and `NtRemoveIoCompletion*` in both passive wait analysis and stack-based analysis.
2026-09-25 15:44:19 +10:00
dmex 6118164962 Add process action progress dialogs
Refactor the service-only progress dialog into a generic action progress dialog that can format names and rerun actions through phsvc for different item types. Use it for process terminate, suspend, and resume tree operations when the process progress dialog setting is enabled, including recursive descendant collection and self-action safeguards.
2026-09-25 15:43:32 +10:00
dmex 76b9cad56d Improve window selection targeting and add popup shadows
Reworked `phlib/directdraw.cpp` to use DIB-based rendering paths and remove unnecessary screen-DC dependencies in bitmap/icon and snapshot code. Window selection logic now skips cloaked windows, improves snapshot hit-testing by enumerating visible top-level/child windows, and tightens window class registration/creation handling (including proper instance/cbSize setup and atom checks). This also adds a new layered popup shadow system (`PhCreate/Update/DestroyWindowShadow` and affinity support) that draws DPI-scaled rounded soft shadows for popup menus on modern Windows where system drop shadows are no longer reliably applied.
2026-09-25 15:00:02 +10:00
Johnny Shaw e9bfb40ca8 phconfig update os builds 2026-09-15 13:15:26 -06:00
Johnny Shaw f86f5b9c11 cst fix startup persistence 2026-09-12 21:40:37 -06:00
Johnny Shaw 6c4f0dec4f main fix ctrl+shift+esc when task manager replacement 2026-09-10 17:18:42 -06:00
Johnny Shaw 848d7d4f09 log fix type pairs 2026-09-10 17:07:33 -06:00
Johnny Shaw 8837edad24 Name the zombie scan's pid limits and clamp up when the ceiling overflows 2026-09-09 17:44:07 -06:00
Johnny Shaw 610de03ccf AgentTools drop the commentary the review pass left behind 2026-09-09 17:44:06 -06:00
Johnny Shaw 15c3e21a44 hidnproc scan up to the highest process id in use 2026-09-09 17:43:16 -06:00
Johnny Shaw 13837ed37e AgentTools pause and continue a service 2026-09-08 19:04:59 -06:00
Johnny Shaw 9f6b8f6de9 AgentTools empty the working set of a process 2026-09-08 19:04:59 -06:00
Johnny Shaw 8bf31e8d3d AgentTools set the memory priority of a process 2026-09-08 19:04:58 -06:00
Johnny Shaw db877015ab AgentTools set which processors a process may run on 2026-09-08 19:04:58 -06:00
Johnny Shaw 0ee6b414b5 AgentTools read the driver's view of a process 2026-09-08 19:04:58 -06:00
Johnny Shaw b60eb0e45e AgentTools scan for processes the process list does not report 2026-09-08 19:04:58 -06:00
Johnny Shaw 7869c11077 AgentTools look up an account or a SID 2026-09-08 19:04:58 -06:00
Johnny Shaw 18770b6181 AgentTools read the processor layout 2026-09-08 19:04:57 -06:00
Johnny Shaw 66747f596d AgentTools read the machine's security posture 2026-09-08 19:04:57 -06:00
Johnny Shaw 20cc6c07ed AgentTools read where the machine's memory is 2026-09-08 19:04:57 -06:00
Johnny Shaw 37a9de72c9 AgentTools read the job a process belongs to 2026-09-08 19:04:57 -06:00
Johnny Shaw 584c519ac0 AgentTools compare loaded images with their files 2026-09-08 19:04:57 -06:00
Johnny Shaw 6e34e12712 AgentTools analyze what a thread is waiting on 2026-09-08 19:04:57 -06:00
Johnny Shaw 410ae4a843 AgentTools read a registry key 2026-09-08 19:04:57 -06:00
Johnny Shaw 83a52ee483 AgentTools report what the file system knows about a file 2026-09-08 19:04:56 -06:00
Johnny Shaw 341f76ef00 AgentTools read the strings out of a file 2026-09-08 19:04:56 -06:00
Johnny Shaw c7c1793575 AgentTools parse the rest of the PE sections 2026-09-08 19:04:56 -06:00
Johnny Shaw cc54dd2f48 AgentTools parse the rest of a PE image on request 2026-09-08 19:04:56 -06:00
Johnny Shaw 0dbe0a8df7 AgentTools hash a file 2026-09-08 19:04:56 -06:00
Johnny Shaw 0b1931ba58 AgentTools report the certificates behind a signature 2026-09-08 19:04:55 -06:00
Johnny Shaw ff5711b8bb AgentTools find who maps a section and who holds an object 2026-09-08 19:04:55 -06:00
Johnny Shaw 7a1d3029b5 AgentTools describe the object behind a handle 2026-09-08 19:04:55 -06:00
Johnny Shaw 9e0a61efb8 AgentTools report who is on the other end of an ALPC port 2026-09-08 19:04:55 -06:00
Johnny Shaw 3e45da1784 AgentTools describe a single kernel object 2026-09-08 19:04:55 -06:00
Johnny Shaw 62ea98376d AgentTools report which processes are using a file 2026-09-08 19:04:55 -06:00
Johnny Shaw 19c9405bd5 AgentTools check thread identity by creation time 2026-09-08 19:04:52 -06:00
Johnny Shaw 98138c3c36 AgentTools page and sort every list tool 2026-09-08 19:04:52 -06:00
Johnny Shaw 8b2ad875b8 verify use new self verifier 2026-09-08 10:07:53 -06:00
Johnny Shaw 88b369287c AgentTools misc cleanup 2026-09-07 17:17:45 -06:00
Johnny Shaw 3eeb166019 AgentTools fix smoke-test findings and rework consent flow 2026-09-07 16:53:32 -06:00
Johnny Shaw 98af5bc88a AgentTools expand the tool surface 2026-09-07 16:52:40 -06:00
Johnny Shaw fa64b7ab36 AgentTools initial commit 2026-09-07 16:52:33 -06:00
Johnny Shaw 4b4acafd89 envdlg add a search box to the environment variables dialog 2026-09-06 16:52:27 -06:00
Johnny Shaw 230ef2e04d envdlg don't block the main window creating the dialog 2026-09-06 16:31:01 -06:00
Johnny Shaw 4b26938c6f settings return the settings file when it fails to load 2026-09-06 15:00:22 -06:00
Johnny Shaw 5819c6b5cb runas fix as service 2026-09-06 12:57:08 -06:00