Commit Graph

26 Commits

Author SHA1 Message Date
Henrik Rydgård 2b863aafe1 Prepare for the new defaulting mechanism, IniFile cleanup 2025-11-05 12:49:52 +01:00
Henrik Rydgård 4ec26d5002 More cleanup. Fix some warnings. 2025-10-31 22:37:28 +01:00
Henrik Rydgård 14ddad5ce3 Change how defaults work in the inifile reader (more flexible this way) 2025-10-31 21:57:52 +01:00
Henrik Rydgård c98b7591d3 Improve the overload resolution in IniFile 2025-10-31 15:43:52 +01:00
Henrik Rydgård d401915627 More string_view in IniFile 2025-10-29 16:02:50 +01:00
Henrik Rydgård 60aed95e7b More config refactor 2025-10-29 15:49:43 +01:00
Henrik Rydgård 60608b2b39 Allow customizing the proAdhoc server list by editing the ini 2025-08-15 16:35:25 +02:00
Henrik Rydgård 176edb93a5 IniFile: Add faster way of reading everything in a section, use it when reading hashes for texreplace 2025-04-22 17:35:40 +02:00
Henrik Rydgård 755b062abd Minor perf improvement in ini file parser 2024-11-30 02:43:58 +01:00
Henrik Rydgård 9d0c127961 IniFile: Switch keys to string_view (avoids recomputing length every time) 2024-05-05 12:04:58 +02:00
Henrik Rydgård e5178d2bc4 Remove unused code, some string_view 2024-05-05 11:58:35 +02:00
Henrik Rydgård e903287f4c Game info screen: Show list of any plugins that will be loaded on start of the game 2024-04-09 12:55:50 +02:00
Henrik Rydgård 31c85ae0a5 Add the basics of a played-time tracker. 2023-11-26 19:15:38 +01:00
Henrik Rydgård 2bd2292bac With string_view, stripping whitespace can be done without allocs. 2023-09-26 13:19:19 +02:00
Henrik Rydgård 41f4c08d17 Replace the internal representation of IniFile with ParsedIniLine. 2023-09-26 10:07:14 +02:00
Henrik Rydgård daa1bc3c6e Introduce "ParsedIniLine" 2023-09-26 10:07:10 +02:00
Henrik Rydgård 42b0ccd07d Revert some unnecessary log changes from #18001 2023-08-29 23:13:45 +02:00
Henrik Rydgård 412c4547cd textures.ini loader logging improvement 2023-08-28 16:34:58 +02:00
Henrik Rydgård d82ecf1d3e IniFile: Store sections in unique_ptrs, instead of directly.
This fixes an issue when you create two sections consecutively and
retain pointers to them, and then modify them, such as happens in the
postshader ini initialization. Previously, one of the section pointers
could get invalidated since the section vector got resized. Now, the
pointed-to sections don't move around in memory, only the list of them
does.
2023-08-13 13:41:43 +02:00
Andreas Stieger 822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +02:00
Henrik Rydgård 3d5526a175 Allow specifying the VFS when loading INI files.
Will be useful in the tex replacer.
2023-03-07 10:04:10 +01:00
Henrik Rydgård 93e5060137 Load and cache langValuesMapping on demand 2022-12-05 12:10:45 +01:00
iota97 498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Henrik Rydgård b7fe72bfc9 Load IniFile from Path
Buildfixing
2021-05-13 10:39:16 +02:00
Henrik Rydgård 025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00