Henrik Rydgård
cf88d8b693
Fix bug in ini parsing on non-Windows
2024-11-30 13:51:38 +01:00
Henrik Rydgård
755b062abd
Minor perf improvement in ini file parser
2024-11-30 02:43:58 +01:00
Herman Semenov
9f5ac80430
Fixed merge conflict
2024-09-18 11:10:55 +02:00
Herman Semenov
45429bcd85
[Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17
2024-09-17 17:42:08 +02:00
Henrik Rydgård
9d0c127961
IniFile: Switch keys to string_view (avoids recomputing length every time)
2024-05-05 12:04:58 +02:00
Herman Semenov
c20cb3f4be
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:57:05 +03:00
Henrik Rydgård
1f129b6dca
Replace "ReadFileToString" with a few semantically clearer wrappers.
2024-01-25 09:55:54 +01:00
Henrik Rydgård
26db1cb05d
IniFile: Remove some allocations
2024-01-12 14:03:02 +01:00
Herman Semenov
4ea842a3c1
Minor replaced insert to emplace C++11
2023-12-19 16:06:48 +03:00
Herman Semenov
08070e7f31
[Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointer using C++17 std::make_*
2023-12-14 15:44:16 +03:00
Henrik Rydgård
31c85ae0a5
Add the basics of a played-time tracker.
2023-11-26 19:15:38 +01:00
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