Commit graph

33 commits

Author SHA1 Message Date
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
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
Renamed from ext/native/file/ini_file.cpp (Browse further)