Commit graph

45 commits

Author SHA1 Message Date
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
Leon Styhre 5381f38231 Added support for defining and choosing between alternative emulators. 2021-08-22 15:26:38 +02:00
Leon Styhre 7b5d673050 Replaced the internal Vector2i data type and functions with the GLM library equivalent.
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre 96503a23c6 Small code formatting change. 2021-07-07 21:13:40 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre af03efc7c6 Fixed an issue where filtered custom collection games were displayed in the grouped custom collections view. 2021-06-21 22:12:51 +02:00
Leon Styhre dc29b97e91 Changed es_settings.cfg to es_settings.xml 2021-06-16 19:05:24 +02:00
Leon Styhre fa624f9f2c Changed the logic for the systems configuration file, it now loads from the resources directory.
Also renamed the file from es_systems.cfg to es_systems.xml
2021-06-16 18:54:04 +02:00
Leon Styhre a749e2d187 Fixed an uninitialized variable reported by Valgrind. 2021-03-15 18:28:32 +01:00
Leon Styhre 1e845a189a Fixed a potential issue with view style changes for ungrouped custom collections. 2021-03-12 20:14:27 +01:00
Leon Styhre df28513bb0 Fixed multiple issues where the gamelists would not switch view styles after scraping. 2021-03-12 20:06:50 +01:00
Leon Styhre 72fcef8428 Made the delimited string functions in StringUtil more general. 2021-02-06 09:30:05 +01:00
Leon Styhre 393e6f17ce Fixed an issue where adding a game to a collection would not switch the view style. 2021-02-05 17:07:00 +01:00
Leon Styhre 8c704bb47e Fixed an issue where enabling an empty 'recent' collection could crash the application. 2021-02-05 17:03:43 +01:00
Leon Styhre a300632ab8 Fixed an issue where the gamelist filter index would be incorrectly updated. 2021-02-05 17:01:45 +01:00
Leon Styhre 2e5b1b5187 Fixed an issue where repopulating collections did not update the filter indices correctly. 2021-02-04 23:56:39 +01:00
Leon Styhre f5bc2f7c63 Fixed an issue where non-kid games would be shown as random custom collection games in Kid mode. 2021-02-04 20:47:56 +01:00
Leon Styhre f84570705e Fixed an issue where enabling an auto collection that contained a hidden game could crash the application.
Also fixed an issue where the view style would not change when adding or removing games from collections.
2021-02-04 20:14:20 +01:00
Leon Styhre 735ce39812 Some cosmetic code cleanup. 2021-01-19 22:29:13 +01:00
Leon Styhre 377fed2b23 Fixed an issue where the Recent collection did not work as expected. 2021-01-12 18:34:23 +01:00
Leon Styhre 71e40f4eb4 Fixed an issue where repopulating an empty 'recent' auto collection could crash the application. 2021-01-01 17:30:51 +01:00
Leon Styhre fe4e94a827 Collections are now properly initialized when enabled. 2021-01-01 17:18:04 +01:00
Leon Styhre 09a67eee19 Fixed an issue where custom collections were sometimes not properly updated after game metadata changes. 2021-01-01 13:06:05 +01:00
Leon Styhre 5e7480bfab Made re-enabling of custom collection entries work on Windows with UTF-16 support. 2021-01-01 10:28:42 +01:00
Leon Styhre 128056667d Custom collection entries are now re-enabled when changing a game to be counted as a game. 2020-12-31 21:54:32 +01:00
Leon Styhre 1a4c2fc4ae Fixed an issue where flagging a game not to be counted could lead to a crash. 2020-12-31 19:44:24 +01:00
Leon Styhre c95334756d Fixed a lot of MSVC compiler warnings. 2020-12-29 12:54:24 +01:00
Leon Styhre 327676d7d7 Renamed CollectionSystemManager to CollectionSystemsManager. 2020-12-23 18:06:30 +01:00
Renamed from es-app/src/CollectionSystemManager.cpp (Browse further)