Commit graph

975 commits

Author SHA1 Message Date
Leon Styhre
9bfee8edff Fixed two issues with grouped custom collections.
A crash was caused by the grouped custom collection flag not being set to false when changing from grouped to ungrouped via the settings menu, and the favorite game counter was not updated for custom collections as the actual system was sorted instead of the parent system.
2020-10-30 10:34:37 +01:00
Leon Styhre
07efcd19d0 Simplified the detection of grouped custom collections. 2020-10-30 10:12:15 +01:00
Leon Styhre
b9301f08da Added indication icons when editing custom collection to show what games are already part of the collection. 2020-10-28 17:49:50 +01:00
Leon Styhre
0e59654399 Metadata fields are now hidden for placeholders. 2020-10-28 17:38:54 +01:00
Leon Styhre
0955b1cf1b Added support for apostrophes in custom collection names.
Creating new custom collections now also converts their names to lower case.
2020-10-28 17:36:23 +01:00
Leon Styhre
6e33122df7 Added filter support for completed and broken games.
Also fixed an issue with filtering ratings.
2020-10-27 20:58:42 +01:00
Leon Styhre
df0c88d1b1 Simplified the onFileChanged() function and made some related optimizations. 2020-10-27 19:07:35 +01:00
Leon Styhre
9ad230bc3f Fixed an issue where gamelist filters were not applied correctly. 2020-10-27 18:55:27 +01:00
Leon Styhre
15a9f73375 Fixed an issue where it was impossible to reset the gamelist filters. 2020-10-27 18:51:31 +01:00
Leon Styhre
a0fc4fbe39 Multiple optimizations to make gamelist interactions feel more responsive.
Also removed a jump to the first line when editing the recently played gamelist.
2020-10-26 21:53:11 +01:00
Leon Styhre
64fc498840 Made toggling folders as favorites much faster. 2020-10-26 21:38:15 +01:00
Leon Styhre
f9ceeb0753 Fixed an issue with changing settings while editing a custom collection. 2020-10-26 18:39:27 +01:00
Leon Styhre
8ec7301f4b Fixed an incorrect menu entry when editing custom collections. 2020-10-26 18:35:52 +01:00
Leon Styhre
01cf401d8f Added menu options to disable the favorite star markings. 2020-10-25 21:29:54 +01:00
Leon Styhre
d01be2ecba Small refactoring of CollectionSystemManager. 2020-10-25 19:42:25 +01:00
Leon Styhre
546f6304ef Fixed a crash when unflagging the last file entry as favorite. 2020-10-25 19:13:19 +01:00
Leon Styhre
e51c7ddf8c Made filters applicable per custom collection (if grouped). 2020-10-25 18:55:01 +01:00
Leon Styhre
127d900212 Changed to case insensitive sorting of the custom collections. 2020-10-22 21:23:16 +02:00
Leon Styhre
effc0f31dc Fixed a crash in some circumstances when unflagging the last folder as favorite. 2020-10-22 18:35:48 +02:00
Leon Styhre
aaef9257b5 Fixed an issue where custom collections where incorrectly sorted. 2020-10-21 22:39:19 +02:00
Leon Styhre
1a0b2f8bb7 Multiple improvements to the handling of custom collections.
Also improved the random game and random system functions.
2020-10-21 21:56:31 +02:00
Leon Styhre
844d733c89 Fixed an issue where the random game function would return an empty result. 2020-10-20 22:02:33 +02:00
Leon Styhre
eb99e3edeb Removed an incorrect help entry for the scraper error dialog. 2020-10-20 21:43:01 +02:00
Leon Styhre
4831279543 Fixed an issue where changing view style did not invalidate the cached background. 2020-10-20 21:10:23 +02:00
Leon Styhre
87bd205a3f Multiple improvements and bugfixes to the custom collections handling. 2020-10-20 21:01:24 +02:00
Leon Styhre
3e6f3487c9 (Windows) Fixed a small issue which caused a compilation error. 2020-10-19 22:03:30 +02:00
Leon Styhre
e310066f34 Changed the order of two entries in GuiScraperMenu. 2020-10-19 21:05:04 +02:00
Leon Styhre
46520202f7 Changes to custom collections are now immediately written to disk. 2020-10-19 20:58:00 +02:00
Leon Styhre
9f617cd038 Entries for missing files are now retained for custom collections. 2020-10-19 19:51:19 +02:00
Leon Styhre
0b6d0bfcd6 Improved some logging as well as handling of a missing es_systems.cfg file. 2020-10-19 17:28:20 +02:00
Leon Styhre
c9cc8494c9 Fixed an issue where gamelist changes would sometimes not be written to disk. 2020-10-19 17:16:57 +02:00
Leon Styhre
ca696e75cd Fixed two memory leaks in CollectionSystemManager. 2020-10-18 22:28:18 +02:00
Leon Styhre
2eb5125d0e Some cosmetic code cleanup. 2020-10-18 19:45:26 +02:00
Leon Styhre
370914791e Removed unnecessary cleanup for empty game systems. 2020-10-18 19:18:02 +02:00
Leon Styhre
d7372df031 Greatly simplified the handling of hidden games. 2020-10-18 19:14:34 +02:00
Leon Styhre
0173e1c52d Disabled an annoying log message from FileFilterIndex. 2020-10-18 19:11:19 +02:00
Leon Styhre
f5e36dec54 Added an application startup timer as debug logging output. 2020-10-18 12:45:19 +02:00
Leon Styhre
66bab7386b Fixed an issue where entries were unnecessarily saved to the gamelist.xml files during multi-scraping.
Also changed the gamelist write logging from Info to Debug and removed the superfluous saving timer.
2020-10-18 12:42:37 +02:00
Leon Styhre
82759fb2ce Fixed a race condition for the libcurl cleanup which led to a memory leak. 2020-10-18 11:41:36 +02:00
Leon Styhre
923d1df479 Fixed a libcurl memory leak in the scraper. 2020-10-18 11:01:56 +02:00
Leon Styhre
da37e2c11a Implemented proper memory cleanup when deleting FileData objects.
This fixes a memory leak which was most prominent during application shutdown.
2020-10-17 17:35:50 +02:00
Leon Styhre
35c7c7ec09 Removed deprecated code for handling video subtitles. 2020-10-17 16:06:48 +02:00
Leon Styhre
0beb40d9c9 Fixed a tiny memory leak.
Also fixed a Clang static analyzer error for SystemData.
2020-10-17 14:32:08 +02:00
Leon Styhre
930bdce576 Fixed multiple issues reported by the Clang static analyzer. 2020-10-17 14:05:41 +02:00
Leon Styhre
b83bacc160 Fixed a small memory leak. 2020-10-11 20:54:37 +02:00
Leon Styhre
2768380446 Fixed several errors reported by Valgrind. 2020-10-11 18:57:37 +02:00
Leon Styhre
eb51877aab Fixed an issue where the cached background would sometimes not be updated. 2020-10-11 10:07:38 +02:00
Leon Styhre
70f7382680 Fixed a memory leak for GuiInfoPopup notifications. 2020-10-11 09:59:49 +02:00
Leon Styhre
5cd83899f0 Fixed a regression where the video would not pause when launching a game. 2020-10-10 15:46:01 +02:00
Leon Styhre
109a8a0b14 Fixed an issue where the gamelist view was not updated properly. 2020-10-10 15:26:17 +02:00