Commit Graph

30 Commits

Author SHA1 Message Date
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
68be93467e Fix some checks around translation. 2023-04-27 12:05:11 +02:00
Henrik Rydgård
12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
Henrik Rydgård
0ae2c79584 Buildfix 2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +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
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Unknown W. Brackets
5c9a38d50c Config: Cleanup Path usage for ini file load/save. 2022-12-17 09:03:07 -08:00
Unknown W. Brackets
f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
iota97
992f1fb8ba Be explicit on the possibility of failure 2022-07-08 09:56:50 +02:00
iota97
319fb59ac0 Use hashtag for RGBA format 2022-07-08 06:43:26 +02:00
iota97
d6d4459b8b Return by copy 2022-06-01 18:51:45 +02:00
iota97
8587fbf8ed Log missing lines on shutdown, update lang files 2022-06-01 18:37:46 +02:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
7dc3287617 UI: Handle newlines after ellipsis. 2021-09-25 12:01:41 -07:00
Unknown W. Brackets
2f570481b7 UI: Cleanup ellipsis more.
Arg, silly me.
2021-09-25 11:46:00 -07:00
Unknown W. Brackets
bbc83bcdab UI: Correct text wrap with shy or Unicode spaces. 2021-09-25 11:37:10 -07:00
Unknown W. Brackets
3f39bfeae9 UI: Cleanup more ellipsis cases, refactor. 2021-09-25 10:58:45 -07:00
Unknown W. Brackets
92d13cc05b UI: Cleanup double ellipsis issues.
We mostly only use FLAG_ELLIPSIZE_TEXT in PPGe, but it wasn't behaving
well in some cases.
2021-09-25 09:41:11 -07:00
iota97
a83003b228 Fix text wrap edge case 2021-09-24 23:20:38 +02:00
Henrik Rydgård
52527798c0 Some file move process tweaks 2021-09-19 20:23:46 +02:00
Henrik Rydgård
64dbd97731 Address feedback 2021-08-04 23:22:43 +02:00
Henrik Rydgård
6f73dd4b74 Need strtoull for 64-bit ulongs. 2021-07-18 10:02:08 +02:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00