Commit Graph

22 Commits

Author SHA1 Message Date
dmex efa63c8e5d Theme, secedit, and misc fixes 2026-07-05 12:04:49 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
dmex e6b35af568 Update handle provider, Add async handle query and fix threading issues
Introduce an asynchronous handle query pipeline and UI improvements for handle resolution. Added query data structures and a stage-1 worker (PhpHandleQueryStage1Worker), a SLIST-based QueryListHead on providers, queueing (PhpQueueHandleQueryStage1), flushing/clearing (PhpFlushHandleQueryData / PhpClearHandleQueryData) and helpers to fill/cleanup results. Handle items gain NameResolved and JustProcessed fields; names/type info and file-sharing flags are resolved asynchronously and applied without blocking the main enumeration.

UI: show "Resolving...." for name cells while resolution is pending and only hide "unnamed" handles when NameResolved is true. Added a new menu item to toggle handle snapshots. Also clear various cached string refs when updating handle nodes.

Other changes: replaced type-name sort with a numeric compare on TypeIndex, refactored hashset add/remove/reference helpers (PhpLookupHandleItem, PhpAddHandleItem, PhpRemoveHandleItem, PhReferenceHandleItem), and wired queuing of stage-1 queries after new handle detection. These changes improve responsiveness and avoid long synchronous queries during handle enumeration.
2026-05-05 20:38:38 +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 72783ddc08 Replace redundant usages of TreeNew_NodesStructured
This avoids forcing a full node restructuring where not needed avoiding unnecessary work.
2026-03-30 04:24:20 +11:00
dmex becdfa570f Use fullyInvalidated flag
pass &fullyInvalidated into PH_TICK_SH_STATE_TN instead of NULL. This ensures tree rebuilds for non-default sort orders correctly signal a full invalidation for state/highlighting updates.
2026-03-29 18:51:23 +11:00
dmex 9ff584a6f1 Ignore zero values 2025-10-08 20:39:27 +11:00
dmex a155a93239 Add handle columns for references and size 2025-09-28 04:08:05 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex db7b750220 Update hndllist.c 2025-01-25 01:59:17 +11:00
dmex ab6986606b Update to latest SDK 2024-12-08 08:03:23 +11:00
dmex b5c8ece612 Tidy up 2024-11-30 06:10:41 +11:00
Dart Vanya 0b4e77b666 objmgr cleanup and improvements (#2294)
* objmgr cleanup and improvements

* fix build

* Fix handle list "File share access"

- Handle attributes search support. ColorPartiallySuspended for both Protected and Inherit handles.
- Fix options saving from Advanced page.

* fix section resolving

* Add "Object address" column (showed only when driver on)

* Fix access violations on spamming refresh button

* removed driver changes

* EtObjectEntryType and improving of resolver allocations

* remove dead code

* finally fix resolver w/o allocations

* Improve PhUiCloseHandles for protected handles

- memsrcht show memory editor on double click, F5 - refresh.

* use EtObjectManagerOpenHandle for enum directories

* fix imports

* Menu "Handles" added (quick open of Handles tab)

- Better organize of menu with separators

* removed handle use count code

* directory open cleanup

* improve navigation to complex symlinks

* Show volume letter in SymLink target

- Example: \\Device\\HarddiskVolume4 (C:)
- Menu - "Show drive volume" for this cases.
- [Resolver] Show Type info in target column in format: Index: <n>, Objects: <m>, Handles: <k>
- Improve navigation to symlinks.
2024-11-27 22:40:31 -07: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 1cee24434f Update sdklib 2024-06-08 11:06:00 +10:00
dmex 28800f4401 static_assert sorting callbacks to catch missing columns 2023-06-21 11:15:36 +10:00
dmex 4718e9425d Tidy up null checks 2023-03-01 20:53:46 +11:00
dmex 26f61d1df6 Fix regression searching handles and threads by id (partial revert 9f3e09b0d9) 2023-02-02 06:22:04 +11:00
dmex e1900494ba Update SAL annotations and remove redundant checks 2023-01-09 16:38:53 +11:00
dmex 5065ec4bb9 Add Reset Sort option to more dialogs 2022-09-13 03:44:56 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00