75 Commits

Author SHA1 Message Date
dmex 9234172751 Improve UI scaling and DPI-aware list fonts 2026-11-09 20:47:07 +11:00
dmex eb09f15a56 Add DNS packet and use unbiased interrupt time and for precision download rate calculations. 2026-10-21 02:25:42 +11:00
dmex 0612b1b28b Propagate HTTP buffered read failures
Return the WinHTTP error status and free the allocated buffer when a read fails, rather than treating the failure as end-of-stream and returning partial data.
2026-10-20 04:42:46 +11:00
dmex 05bd251440 Theme, service grouping, and misc UI fixes
- Themed status bar/header: hot-part tracking with partial invalidation, owner-draw/icon/RTL support, sizegrip drawn last, header images/alignment, buffered header paint, DPI change handling, and capture-change hover reset.
- Fill erase background in dialog/static hooks and sysinfo container to avoid flicker; add menu popup border frame.
- Explorer theme mode follows the Windows dark preference.
- Service list: add 'Group services by' (type, load order group, svchost group, start type) with synthetic group nodes.
- Session properties: query nltest account info on a background thread and decode its security descriptor with a read-only permissions viewer.
- Add PhIsLaunchedByTaskScheduler and PhGetWindowsBuildString.
- phlib buffered paint uses UxTheme unless PHLIB_PAINT_BUFFER is defined.
- Add I/O total bytes process column; set initial focus on several process property pages.
- Plugins: only walk WOW64 stacks for WOW64 processes, add WindowExplorer pause/resume, remove disk cache events page, refresh frame on netoptions border changes, and fix Updater SymCrypt hash size init.
2026-10-14 05:53:44 +11:00
dmex ca0ca89b73 Update http.c 2026-10-13 18:42:10 +11:00
dmex dbfef5a4f2 PhHttpDownloadToFileEx 2026-10-13 18:19:08 +11:00
dmex 9ff453254a Update http.c 2026-10-08 19:51:31 +11:00
dmex 2c3d2e1fe3 Fix a few API correctness issues, allocations and UI helpers
Replace many fixed and resize-path allocations with safe variants that return STATUS_NO_MEMORY instead of raising or proceeding with NULL buffers. The change also fixes a few API correctness issues, including the WinRT picker/storage IIDs, job object limit setup, and hex editor repaint/capture handling, while expanding GUI support declarations and inline documentation.
2026-10-08 14:01:08 +11:00
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 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 edff23a5fc Add PhHttpDownloadUrl and callbacks 2026-05-12 07:17:24 +10:00
dmex 5656f7f573 Support unknown Content-Length and buffer sizing
Add optional TotalLength to PhHttpReadDataToBuffer to allow pre-allocation when the total size is known; otherwise fall back to page-sized allocation and ensure reallocation grows enough for incoming chunks. Update callers to pass 0 when unknown. Change PhHttpDownloadToFile to tolerate missing Content-Length (common with chunked transfers): query Content-Length optionally, avoid failing if absent, only set file size hint and compute percent/progress when a total is available, and only validate final size when total was provided. Replace several WinHttp option queries to use the request handle instead of the session handle (certificate, request times, connection stats, extended error), switch PhHttpQueryStatusCode to use WINHTTP_QUERY_STATUS_CODE | WINHTTP_QUERY_FLAG_NUMBER, and add a null-check in the WinHTTP status callback to avoid dereferencing a null context. Small cleanups: ensure allocation/resizing logic always meets needed capacity.
2026-04-13 12:12:55 +10:00
dmex 370969bb0a Fix Http3 memory leak 2025-12-16 16:13:40 +11:00
dmex 94b824cff4 Fix http buffer size 2025-09-19 19:36:57 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex cc58b9a202 Update SAL Annotations and Fix typos 2025-05-15 13:48:46 +10:00
dmex 95ab29e200 Update SAL Annotations and Fix typos 2025-05-15 13:12:48 +10:00
dmex f3c7519816 Update callbacks and function class typedef 2025-03-21 20:28:08 +11:00
dmex 194661cb62 Update to the latest SDK 2025-03-11 06:06:55 +11:00
dmex 77e0bd2c4c Add PhDnsReverseLookupNameFromAddress 2025-03-04 17:14:38 +11:00
dmex 7f529f51ea Fixed compile bugs from CMake changes ac2ed17
Co-Authored-By: Thomas Parkison <32105035+trparky@users.noreply.github.com>
2025-03-04 13:27:20 +11:00
dmex 4aa0e9f476 Fix http for cmake support 2025-02-28 16:45:55 +11:00
dmex 6f34fc550d Update http.c 2025-02-28 15:26:06 +11:00
dmex 42b2f92a5f Add HTTP3 support, Improve HTTP error handling and performance 2025-02-13 13:09:13 +11:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
dmex 58604c3e63 Update SDK for const compatibility 2024-10-17 11:51:56 +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 96a46e03d5 Add PhCreateEvent 2024-07-07 15:36:13 +10:00
dmex 073676c496 Enable support for custom dns server 2024-05-23 07:18:50 +10:00
Johnny Shaw 8624f4d4ca correct Windows 11 22H2 defines 2023-10-10 17:16:49 -06:00
dmex 1d0afb6c54 Add initial PhDnsQuery3 2023-09-11 02:37:44 +10:00
dmex c8bdbf6270 Partial revert native filename support (6809314e7) 2023-05-27 01:22:52 +10:00
dmex 6809314e77 Update native filename support 2023-05-26 14:59:25 +10:00
dmex b85941bc03 Update DOH accept request HTTPS headers 2023-05-14 14:51:36 +10:00
dmex f3778b6e83 Rename PhDeleteFile to PhSetFileDelete 2023-04-26 11:10:39 +10:00
dmex a1f78c20df Remove whitespace 2023-02-15 11:28:07 +11:00
dmex 711b833ff7 Update headers references for mapldr.h 2023-02-10 02:04:40 +11:00
dmex f04c891ea6 Add workaround for invalid winhttp 64bit http header value conversion 2022-12-26 12:02:35 +11:00
dmex c2c6bc7c9c Update PhMoveFileWin32 to match PhCopyFileWin32 parameters 2022-12-03 21:19:15 +11:00
dmex 31db0224dd Add check for legacy SDKs 2022-11-10 01:36:51 +11:00
dmex 3384cf4398 Disable HTTP global pooling on Windows 11 from documentation 2022-11-07 14:45:18 +11:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
dmex fdfed10d80 Remove http support for TLS 1.1 2022-09-06 11:28:35 +10:00
dmex d50fcd2676 Fix build 2022-08-01 10:46:44 +10:00
dmex 90e6442f6e Add PhGetApplicationFileName, Rename PhCreateDirectory/PhDeleteDirectory 2022-07-29 12:44:15 +10:00
dmex 2f0651ece6 Update solution (#1306)
* Fix MSVC incorrectly loading symbols for non-executable images loaded on Windows 7
* Add PhCopyFileWin32
* Add PhGetApplicationDirectoryFileNameWin32
* Add PhGetKernelDriverSystemStart
* Add PhGetTemporaryDirectoryRandomAlphaFileName
* Update branding, guids and strings
* Improve temporary filename generation
* BuildTools: Fix Windows SDK detection #1305
* UserNotes: Add support for saving process boost priority #1244
* Add plugin support for subclassing priority boost menu
* Fix changing process affinity on Windows 7 #1299
* ExtendedTools: Add WDDM 3.1 versioning, Fix GPU graph values sometimes not matching Taskmgr
* WindowExplorer: Move dpi context value, Fix missing window icons
* Fix clang builds
* BuildTools: Fix Windows SDK detection #1305
2022-07-17 13:01:56 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00