Commit Graph

93 Commits

Author SHA1 Message Date
dmex 66e276b763 Improve phlib API compatibility and utilities
This change updates phlib with broader native API compatibility shims, new CRC32/CRC32C tables, and safer utility helpers. It also fixes a number of synchronization, formatting, environment, and process-creation edge cases, adds correlation-vector support, hardens SID conversion and image-resource loading, and cleans up several Windows compatibility fixes across the library.
2026-09-30 00:45:00 +10:00
dmex 4febf2c894 Store settings as stable pointers in hashtable
Switch the settings hashtable to store `PPH_SETTING` entries instead of inline `PH_SETTING` values so cached setting pointers remain valid when the table grows. Updated hash/equality, lookup, and enumeration paths to dereference pointer entries consistently via a small helper.

`PhAddSetting` now heap-allocates each setting for process-lifetime storage and cleans up on duplicate insertion failure to avoid leaks.
2026-09-26 05:09:50 +10:00
Johnny Shaw 51408403eb settings report an unparsable json settings file as corrupt 2026-09-06 15:11:21 -06:00
Johnny Shaw 4b26938c6f settings return the settings file when it fails to load 2026-09-06 15:00:22 -06:00
Johnny Shaw 08d0ca29d0 settings treat an empty settings file as an empty store 2026-09-06 13:26:40 -06:00
dmex ab1b8466d5 Fix #2957 2026-07-01 06:02:07 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 96a6ac0978 Support new prop-sheet host and various UI fixes 2026-06-16 08:22:58 +10:00
dmex 6a11529cc1 Refactor DPI/scalable settings and add MI support 2026-05-05 20:32:46 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10:00
dmex d54727c4c6 Update settings.c 2026-03-22 12:24:48 +11:00
dmex 6ed526240d Update settings.c 2026-03-22 12:01:28 +11:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 2421a2b9ab Update CustomSetupTool and improve settings migration 2026-02-14 19:51:15 +11:00
dmex fac45361a7 Autodetect default native settings filename 2026-02-05 11:59:19 +11:00
dmex d4dff6fdc1 Autodetect default settings filename 2026-02-05 02:50:30 +11:00
dmex ef2197a670 Add settings store descriptors 2026-01-31 19:06:06 +11:00
dmex 526baf534c Update settings.c 2026-01-14 00:15:35 +11:00
dmex 80e10598e3 Update settings.c 2026-01-07 09:43:58 +11:00
dmex fe130a3b02 Move PhCreateBytes/PhAppendBytesBuilder2, Update string functions 2026-01-07 02:42:40 +11:00
dmex 3cda5f56ef Update legacy json array enumeration 2026-01-05 02:10:42 +11:00
dmex cb8e5f11b6 Update arguments to pointers 2026-01-04 07:15:39 +11:00
dmex 70f5f9d499 Add settings.json support 2025-12-31 18:53:12 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 752de37748 Fix monitor regression for window location #2512 2025-05-21 23:20:14 +10:00
dmex c5010080d0 Update comments and types 2025-05-06 00:34:45 +10:00
dmex 7b0320de00 Make strings CONST 2025-04-20 08:44:08 +10:00
dmex c50dd3de31 Update settings.c 2025-04-10 21:55:15 +10:00
dmex 99d3d8a9b5 Minimize string allocations 2025-04-10 21:15:21 +10:00
dmex 874326708e Fix settings regression #2469 2025-04-03 18:28:17 +11:00
dmex 1f2e9a4c27 Add extra checks for PhLoadSettingsXmlRead 2025-04-03 07:48:15 +11:00
dmex 5d4d9fa6d1 Add settings pool #2469 2025-03-27 13:50:01 +11:00
dmex a6ffe67bef Add workaround for Win11 XmlWriterLite parser bug #2469 2025-03-27 01:12:26 +11:00
dmex 0e4c9dff75 Add partial xmllite atomic rename 2025-03-24 07:53:03 +11:00
dmex 434aec0e59 Add initial support for configurable settings formats (xml, json, registry) 2025-03-22 14:26:57 +11:00
dmex ffb411c27b Disable DPI scaling of treelist and lsitview items for Windows 7/8 (#2424) 2025-03-11 11:57:36 +11:00
dmex 5cb96a635b Add hack for xml format #2447 2025-03-11 06:38:29 +11:00
dmex 87edd6e69a Fix treenew column dpi scaling 2025-03-11 06:14:25 +11:00
dmex bc210f1711 Fix window sizes, positions and DPI scaling 2025-03-08 08:10:22 +11:00
dmex e9b18c6a2b Fix invalid struct reference, Replace throwing settings with asserts 2025-03-07 19:43:32 +11:00
dmex bfe7691ee1 Add XXH32 2025-02-25 17:28:01 +11:00
dmex 57cb958ebd Update to PCPH_STRINGREF 2025-02-11 09:19:06 +11:00
dmex b8dd371b99 Skip multiple settings instances 2025-02-03 05:28:08 +11:00
dmex 95bc2fe8c1 Update to the latest SDK 2024-12-01 16:35:49 +11:00
dmex c29f58b4f7 Tidy up 2024-11-30 05:43:19 +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 1cee24434f Update sdklib 2024-06-08 11:06:00 +10:00
dmex ff694e97f6 Update phlib typedefs 2023-06-29 17:01:30 +10:00