Commit Graph

4499 Commits

Author SHA1 Message Date
dmex 3b7646f0d1 Improve DACL and SACL handling 2026-05-04 18:58:13 +00:00
dmex 38be0cddd4 Use safe size math for ACL and SD operations 2026-05-05 02:07:49 +10:00
dmex ed3d774ba7 Improve security descriptor and ACL handling 2026-05-05 02:00:59 +10:00
dmex a9063a99d8 Update FNV-1a 32-bit hash and constants required by RFC 9923 2026-05-05 01:58:38 +10:00
Johnny Shaw fc46623c5f add client id headers 2026-05-03 19:12:59 -06:00
dmex 36e939b1e4 Fix ThreadContainerId typo 2026-05-03 07:16:14 +10:00
dmex 77af5d2554 Update PhGetLoaderEntryPcToFileHeader SAL annotations and missing imports on Windows 7 2026-05-03 07:16:14 +10:00
dmex 5e28232a16 PhGetMarginDpiValue 2026-05-03 05:49:05 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10:00
dmex 4caaec5412 Update apiimport.h 2026-04-27 00:25:04 +10:00
dmex c3ffbfe8ec Update apiimport.c 2026-04-26 23:10:57 +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 6cb325fe59 Update util.c 2026-04-26 20:45:14 +10:00
dmex 09e983aae8 Update comments for KSI and minor type changes 2026-04-26 16:39:18 +10:00
dmex bdc2ae293d Update nativethread.c 2026-04-26 14:14:01 +10:00
dmex 605463aca0 Update util.c 2026-04-26 14:13:32 +10:00
dmex e1a10484ad Update verifyp.h 2026-04-26 06:20:39 +10:00
dmex 0f83f734dd Add enum flag helpers, font/DPI and API fixes 2026-04-23 07:37:06 +10:00
dmex 6c9a68740d Move runas package to separate file 2026-04-23 07:19:56 +10:00
dmex 54d5d607f0 Fix https://github.com/winsiderss/systeminformer/pull/2888
Co-Authored-By: ge0rdi <ge0rdi@users.noreply.github.com>
2026-04-23 00:56:41 +10:00
dmex 0c8e67508e Update verbose script and doxygen comments 2026-04-21 02:34:19 +10:00
dmex ffccf93018 Use NTAPI for read callback and loop optimization 2026-04-20 21:51:14 +10:00
dmex 307159a155 Update nativefile.c 2026-04-20 16:58:13 +10:00
dmex cf43bc91d6 Fix cleanup and early returns in appresolver 2026-04-20 16:56:49 +10:00
dmex 24aa5740f3 Init checksum and expand checksum comment 2026-04-20 15:15:32 +10:00
dmex f79891bb29 Fix typos, add annotations, and correct release 2026-04-19 04:08:53 +10:00
dmex afadbd4cc6 Update graph.h 2026-04-19 01:22:58 +10:00
dmex 15e7859cc0 Add PH_RESTRICT, rename locals, and adjust defs
Apply PH_RESTRICT annotations to many pointer parameters and internal pointers to improve aliasing/optimization (string routines, graph drawing, hashing, comparison, copy functions)
2026-04-19 01:20:45 +10:00
dmex 85ef756701 Update apiimport.h 2026-04-19 00:07:24 +10:00
dmex f21e819843 Add PssNtValidateDescriptor and PhPssFreeSnapshot - Fix process snapshot crash 2026-04-18 23:59:02 +10:00
Copilot dc51d9adbf Fix error message in static assert for HSTRING_REFERENCE (#2882) 2026-04-17 17:01:28 +10:00
dmex ad45c616e4 Fix error checking 2026-04-17 14:33:07 +10:00
dmex f5170aca14 Update appruntime.c 2026-04-17 11:38:19 +10:00
dmex e9758ec955 Update nativepipe.c 2026-04-17 10:17:05 +10:00
dmex 493d36a931 Update nativefile.c 2026-04-17 10:16:58 +10:00
dmex 03dd05c18a Add CONST_VTABLE 2026-04-17 10:16:31 +10:00
dmex fd2df59851 Change KphSetServiceSecurity to return NTSTATUS 2026-04-17 10:02:37 +10:00
dmex dff6ad72e7 Add documentation 2026-04-17 10:00:46 +10:00
dmex 5ac05fdb6c Fix buffer check in phformat 2026-04-17 09:56:56 +10:00
dmex 45674465a1 Use lookup for columns and defer redraw updates 2026-04-17 03:30:07 +10:00
dmex 6929a66cfb Update nativepipe.c 2026-04-17 03:27:52 +10:00
dmex c28eafc6b3 Update nativefile.c 2026-04-17 03:27:25 +10:00
dmex 295b939cef Update native.c 2026-04-17 03:26:29 +10:00
dmex 706f0c2d7a Update data.c 2026-04-17 01:35:03 +10:00
dmex 297b9c9a61 Fix experimental AVX u32->float/double conversion
Correct several bugs and improve correctness/safety in basesup.c:

- Fix misleading/incorrect parameter comments for virtual memory APIs (BaseAddress semantics and read/write descriptions).
- Adjust PhProtectVirtualMemory to only store OldProtection when caller provided a pointer and to preserve the function's original status return path.
- Restrict the AVX512 fast path to 64-byte aligned From/To addresses to avoid misaligned vector accesses.
- Implement exact unsigned 32-bit to float/double conversion for AVX/AVX2/SSE code paths by clearing the sign bit and adding 2^31 when needed (added masks and scale constants), and simplify shuffles for the SSE path.

These changes fix correctness issues when converting uint64 values via decomposed 32-bit lanes, and prevent unsafe vectorized memory access on unaligned buffers.
2026-04-17 01:34:54 +10:00
𝙽!𝙻 ca2d5b24d3 Improve count-based size calculations in heap/config parsing (#2879) 2026-04-15 17:36:05 +10:00
dmex 52c79d814d Use direct Value reads in queuedlock.c
Replace ReadULongPtrAcquire(&Value) with a direct read of Value in PhpOptimizeQueuedLockListEx and PhpPrepareToWakeQueuedLock. This removes unnecessary atomic acquire semantics at those sites and reduces overhead by using the existing Value variable directly.
2026-04-15 13:51:47 +10:00
dmex fdf9bf14a0 Update guisupview.h 2026-04-15 13:47:40 +10:00
dmex e7ef2ef5af Update guisup.h 2026-04-15 13:44:44 +10:00
dmex 76d91314fd Update guisuplistview.cpp 2026-04-15 13:42:13 +10:00