Henrik Rydgård
73932603e3
IniFile: Remove redundant function, add a debug assert
2023-11-06 18:33:05 -06: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
20e703db83
Simplify string-view-equal-case-insensitive comparisons
2023-09-26 10:11:52 +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
602407fcf2
Warning and comment fixes, logic precedence fixes in PPGeDraw
2023-09-21 16:41:42 +02:00
German Semenov
c498a42e92
Core, UI, Windows: Removed excess converting C-string in params
2023-09-15 13:54:11 +03: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
Henrik Rydgård
ce632ec079
IniFile: Fix writing 64-bit hex values.
2023-05-08 10:47:03 +02:00
Henrik Rydgård
9fe7eabade
IniFile: Allow specifying which VFS to load from
2023-03-07 10:10:36 +01: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
3b39e9e068
Turn the VFS into a class, to be able to reuse it for other purposes.
2023-03-06 16:42:47 +01:00
Henrik Rydgård
93e5060137
Load and cache langValuesMapping on demand
2022-12-05 12:10:45 +01:00
lainon
3cdf72b68b
Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back'
2022-09-30 12:35:28 +03:00
iota97
d4698d43fd
Double quote
2022-07-08 10:49:33 +02:00
iota97
498878267a
Customizable touch control (rebased with label)
2021-07-11 09:55:25 +02:00
Henrik Rydgård
47039b4bcd
Address all the easy feedback. Some is left.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
ae06499a0c
Change Copy, Rename to use Path. Remove std::string version of Exists().
...
Buildfixes
Buildfix
2021-05-13 10:39:16 +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
2999e1cb86
Core: Remove some uses of OpenCPPFile.
2021-05-09 17:00:48 -07: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