Commit Graph

67 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 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
dmex 54cff8f2c4 Fix SAL annotation for missing memset 2022-03-05 20:20:56 +11:00
dmex 13781e9914 Add PhHttpSocketClose 2021-10-31 21:27:35 +11:00
dmex 15ca92f5ab Add workaround for WinHttpQueryHeaders buffer length 2021-05-16 20:26:54 +10:00
dmex 5a16dfefb2 Fix rare crash querying GuardFlags, Fix PhHttpSocketDownloadToFile memory leak 2020-12-28 11:50:07 +11:00
dmex 03857ccebd Add preallocation support and prevent file fragmentation 2020-12-02 12:17:27 +11:00
dmex 5ee24c6a49 Add PhHttpSocketDownloadToFile 2020-11-26 21:10:06 +11:00
dmex 71ab2ce7a9 Add PhDnsQuery2 2020-10-26 14:51:38 +11:00
dmex 20a2d9b248 Remove dnsapi imports 2020-07-21 00:12:21 +10:00