Commit graph

77 commits

Author SHA1 Message Date
Leon Styhre cf065e8935 Reverted binary file openings in some cases where it causes Windows line breaks to not get converted to standard format 2023-08-10 23:13:55 +02:00
Leon Styhre de4bd7341f Changed a number of stream operations to open files in binary mode to always get proper Unix line breaks 2023-08-10 23:02:36 +02:00
Leon Styhre b975fce8ff Added a (very long) length restriction to custom collection names 2023-08-05 10:33:07 +02:00
Leon Styhre d0fc8cd56e Removed the es_log.txt entry when an es_systems.cfg legacy systems configuration file was found on startup 2023-07-30 12:27:27 +02:00
Leon Styhre 42e3be2e2d Fixed an issue where directories interpreted as files entries could not be removed from custom collections 2023-07-29 23:56:44 +02:00
Leon Styhre ccae4e74bc (Windows) Fixed an issue where having a value set for the ROMDirectory setting caused all custom collection files to contain absolute paths instead of relative paths 2023-07-29 23:53:01 +02:00
Leon Styhre 0aaa6f317f Fixed an issue where the custom collections were not properly cleared when reloading the application 2023-07-28 23:04:41 +02:00
Leon Styhre 8aeb6cc903 Added carriage return as an invalid custom collection name character 2023-07-28 22:19:33 +02:00
Leon Styhre cd37f14513 Added newlines and tabs as invalid custom collection name characters 2023-07-28 22:11:06 +02:00
Leon Styhre bbe23d4c42 Added support for using most characters in custom collection names
Also added log output when creating and deleting custom collections
2023-07-28 21:55:39 +02:00
Leon Styhre 24508baade Added support for cleaning out custom collections entries to GuiOrphanedDataCleanup 2023-07-27 12:11:17 +02:00
Leon Styhre d27dd211c3 Added a utility to the menu for rescanning the ROM directory
Also added a new Utilities menu to the main menu
2023-07-20 21:59:28 +02:00
Leon Styhre 677f0d600f (Windows) Converted forward slashes to backslashes for two CollectionSystemsManager log messages 2023-06-26 22:38:40 +02:00
Leon Styhre 6a67df894f (Windows) Converted forward slashes to backslashes for two log messages. 2023-02-27 20:29:37 +01:00
Leon Styhre 397ad15de6 Fixed an issue with collection gamelists getting loaded in the wrong order on startup. 2023-02-10 00:40:16 +01:00
Leon Styhre 45e1a79f9e Changed two collections-related log warning messages. 2023-02-07 18:05:11 +01:00
Leon Styhre fc282f559c The systems are now counted upfront for accurate progress bar positioning if there's a custom es_systems.xml file in use. 2023-01-23 23:38:25 +01:00
Leon Styhre 3bbc761c8f Added the ability to control the system name suffix from the theme configuration.
Also removed the corresponding 'Show system names in collections' menu option.
2023-01-14 14:05:24 +01:00
Leon Styhre 0329bd77c2 Added support for mixed case custom collection names as well as the option to always group custom collections.
Also reversed an optimization in CollectionSystemsManager which caused some issues.
2023-01-12 19:45:54 +01:00
Leon Styhre d6db705b93 Eliminated some unnecessary gamelist reloads. 2023-01-01 15:31:03 +01:00
Leon Styhre 171ee4ded2 Minor change to a debug message in CollectionSystemsManager. 2022-10-29 12:56:35 +02:00
Leon Styhre ca52a1d7c5 Fixed a couple of custom collection issues when changing the game counter metadata entry.
Also made some general code cleanup.
2022-09-25 13:03:39 +02:00
Leon Styhre 72ce3d33a8 Some code cleanup. 2022-04-09 16:32:47 +02:00
Leon Styhre 16955e5318 Fixed an issue where the theme sets were not always sorted correctly. 2022-04-09 15:57:37 +02:00
Leon Styhre cc8123f5a6 Added a GameSelectorComponent for displaying game media in SystemView. 2022-02-13 20:03:34 +01:00
Leon Styhre 0ca2b62edf Some minor code cleanup. 2022-01-29 18:16:30 +01:00
Leon Styhre dc20a9e21b Cleaned up ThemeData a bit. 2022-01-23 20:03:50 +01:00
Leon Styhre 51578903ff Replaced the legacy gamelist code with rudimentary support for GamelistBase and GamelistView. 2022-01-18 20:42:50 +01:00
Leon Styhre e6c36e88c5 Moved UIModeController.cpp from the es-app/views directory to es-app 2022-01-17 21:53:23 +01:00
Leon Styhre 0c8efee8ad General refactoring and code cleanup. 2022-01-16 18:18:28 +01:00
Leon Styhre 8a6652552f Set the clang-format option SpaceBeforeCpp11BracedList to true. 2022-01-16 12:09:55 +01:00
Leon Styhre c7964b7ebc Renamed GameList to Gamelist throughout the codebase. 2022-01-15 13:38:09 +01:00
Leon Styhre cd2ef3d179 Fixed an issue where custom collections could get the wrong sort order after metadata changes. 2022-01-14 17:27:42 +01:00
Leon Styhre a233b96c2a Removed some unnecessary typedefs and replaced the remaining ones with the more modern 'using' keyword.
Also harmonized the names of some user defined types and made some other minor cleanup.
2022-01-11 21:57:00 +01:00
Leon Styhre f8e201d347 Moved the CollectionSystemsManager cleanup from the destructor to a deinit function. 2022-01-04 23:14:12 +01:00
Leon Styhre 119dfc90f8 Changed ViewController::get() to ViewController::getInstance() 2022-01-04 21:49:22 +01:00
Leon Styhre 254b00a3d8 Large refactoring to improve thread safety and improve singleton pattern usage. 2022-01-04 21:21:26 +01:00
Leon Styhre 595786601e Fixed a potential memory leak when enabling the 'All games' collection. 2021-12-27 16:05:58 +01:00
Leon Styhre dd0f36f82b Changed most increment and decrement operators from postfix to prefix for es-app. 2021-11-17 17:35:34 +01:00
Leon Styhre 4c6bfb8b78 Fixed a few issues reported by UBSan. 2021-11-16 22:03:34 +01:00
Leon Styhre 3e12fcb420 General refactoring and minor optimizations throughout the codebase. 2021-11-09 22:40:08 +01:00
Leon Styhre 93950cf4de Simplified the code for info popups. 2021-10-07 18:31:40 +02:00
Leon Styhre f8b9275b4b Fixed a missing filter index update when removing games from custom collections. 2021-09-26 11:14:52 +02:00
Leon Styhre 3233288a8c Improved the string trim function and replaced some inlined occurrences. 2021-09-25 18:01:41 +02:00
Leon Styhre 966d2616be Added support for defining custom system sorting using the <systemsortname> tag. 2021-09-25 11:02:27 +02:00
Leon Styhre 527b9321b5 Leading and trailing whitespaces are now trimmed when requesting a new custom collection name. 2021-09-21 22:15:42 +02:00
Leon Styhre e08d3c6c1d Fixed an issue where a collection notification was not displayed when setting a game to not be counted. 2021-09-21 17:22:32 +02:00
Leon Styhre fad326c3bd Miscellaneous code cleanup. 2021-09-19 19:46:59 +02:00
Leon Styhre 8a51919f31 Added the ability to make complementary game systems customizations. 2021-09-05 17:39:11 +02:00
Leon Styhre e47958b3fd Minimal code formatting change. 2021-08-24 18:29:46 +02:00