Commit Graph

30 Commits

Author SHA1 Message Date
dmex 5ac05fdb6c Fix buffer check in phformat 2026-04-17 09:56:56 +10:00
dmex dc5f405ee5 Fix format type check and size-unit bounds
Use a masked comparison ((format->Type & FormatTypeMask) == MultiByteStringFormatType) so the Type field is matched correctly when it contains flags. Tighten the size-unit loop condition by requiring i+1 < sizeof(PhSizeUnitNamesCounted)/sizeof(PH_STRINGREF) to avoid out-of-bounds access when the code references the next unit.
2026-04-15 13:28:37 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +10:00
dmex 48a0f09d5f Update locale support 2025-01-24 05:55:46 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex d4f8e97e9a Add SingleFormatType 2024-08-19 05:37:21 +10:00
dmex c283375e52 Force constant for data objects or variables not modifiable 2023-07-06 03:40:01 +10:00
dmex fa53de81ee Fix PhFormatDouble from commit b06b8c50 2020-10-03 17:51:22 +10:00
dmex b06b8c50a4 Improve string formatting performance, Fix crash when compiled with latest CRT 2020-05-01 23:29:42 +10:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
Wen Jia Liu f387b70c05 Reflow phlib comments to 100 character width 2016-02-05 04:02:29 +11:00
Wen Jia Liu 1b4f4a49ab The "Include CPU (and other) usage of children in collapsed processes" option now aggregates memory and I/O statistics; Change size formatting so that formatted values between 1000 and 1024 are disallowed; Fix bug in PhInitializeTreeNewColumnMenuEx regarding the "Reset Sort" menu item 2016-01-28 07:20:43 +00:00
Wen Jia Liu 39e6a68efc Upgrade all projects to VS 2015 (almost all by dmex) 2015-08-16 06:10:56 +00:00
Wen Jia Liu 6dad274c38 Some small and useless SSE2 improvements 2015-06-20 02:38:51 +00:00
Wen Jia Liu 000f4bf2b8 Add PhCountStringZ to replace wcslen 2015-06-19 15:41:58 +00:00
Wen Jia Liu 64965b248c Fix Coverity issues 2015-05-11 12:04:03 +00:00
Wen Jia Liu 03e2123756 Bump to 2.35; change uses of _M_IX86 and _M_X64 to _WIN64 2015-04-29 13:19:41 +00:00
Wen Jia Liu 5a2645278b Added UTF-8 support where necessary (including settings) 2015-04-21 12:09:06 +00:00
Wen Jia Liu c76d4e93c7 Proper UTF-8, UTF-16, UTF-32 support (settings code still needs to be updated) 2015-04-21 02:33:44 +00:00
Wen Jia Liu 13b6c98dd0 partially reverted r4951 2012-01-16 02:48:32 +00:00
Wen Jia Liu 0224307808 added minimum size unit option 2012-01-16 02:32:26 +00:00
Wen Jia Liu 295665f008 * changed SizeFormatType behavior
* improved system information window sizing
* remember last system information section
2011-11-12 22:18:13 +00:00
Wen Jia Liu 615930620e patch by xhmikosr 2011-08-25 02:43:45 +00:00
Wen Jia Liu c13b57e0c4 fixed lag when showing the System Information window 2011-03-17 02:58:40 +00:00
Wen Jia Liu 70badb00d0 * added Options to ExtendedTools
* added some more implementation notes
2010-12-08 10:13:49 +00:00
Wen Jia Liu 5444c962d3 improved PhFormat 2010-10-25 04:13:14 +00:00
Wen Jia Liu e2130c5315 added more docs 2010-10-22 10:12:38 +00:00
Wen Jia Liu c985a3a8f3 added alignment support to PhFormat 2010-10-03 03:58:03 +00:00
Wen Jia Liu 9406d91752 added PhFormatToBuffer 2010-10-02 07:01:20 +00:00