Commit graph

773 commits

Author SHA1 Message Date
Leon Styhre 08c0bc1a43 Made the navigation feel more responsive when using the video view style. 2020-11-19 17:12:31 +01:00
Leon Styhre 50e74595e4 Eliminated unnecessary rendering during view transitions. 2020-11-18 23:47:32 +01:00
Leon Styhre e30e636780 Fixed an issue where game media would not get rendered during gamelist transitions. 2020-11-18 22:26:58 +01:00
Leon Styhre 0b6dce687e Changed to C++ casts throughout the application. 2020-11-17 23:06:54 +01:00
Leon Styhre df18a822b7 Fixed an issue where videos would keep playing when switching gamelists. 2020-11-17 22:09:22 +01:00
Leon Styhre 1a35d29f19 Improvements to the startup animations and game launching logic. 2020-11-17 17:30:23 +01:00
Leon Styhre 635e7d2cdd Added a menu option to enable and disable video pillarboxes.
Also did some general code cleanup of VideoVlcComponent.
2020-11-17 17:20:25 +01:00
Leon Styhre 2220787c3b Fixed multiple issues with view transitions. 2020-11-16 17:44:33 +01:00
Leon Styhre 858b20bcc1 Fixed some weird camera movements when using the slide transition style. 2020-11-15 22:54:39 +01:00
Leon Styhre 0a6e1f280f Improved transitions for SystemView. 2020-11-15 20:06:33 +01:00
Leon Styhre a67ee27815 Fixed a cosmetic navigation issue in SystemView. 2020-11-15 11:30:43 +01:00
Leon Styhre 4fb12a4801 Fixed an issue where the wrong thumbnail could be displayed in the scraper. 2020-11-14 20:46:08 +01:00
Leon Styhre 2b189f9d19 Fixed an issue where the game image would sometimes not refresh after scraping. 2020-11-14 17:18:00 +01:00
Leon Styhre e5fcb51f57 Added support for multiple search results for ScreenScraper.
Also fixed some other scraping issues and added some additional scraper logging.
2020-11-14 15:30:49 +01:00
Leon Styhre f195fcf8a7 Small adjustments to the screensaver game info overlay. 2020-11-13 00:02:09 +01:00
Leon Styhre 53cacd5eac Renamed VideoPlayerComponent to VideoOmxComponent. 2020-11-12 17:40:06 +01:00
Leon Styhre 00ba2e78ab Improvements to the screensaver and game overlay.
Also added functionality to jump to a game from the screensaver (without launching it).
2020-11-12 17:13:24 +01:00
Leon Styhre 9bea6bb17e Added a game info overlay to the screensaver.
Also refactored Window and SystemScreensaver and added a fade-in effect for the shaded background when opening menus.
2020-11-12 00:46:59 +01:00
Leon Styhre 6368ae0cc1 OCD update renaming ScreenSaver to Screensaver. 2020-11-10 22:33:57 +01:00
Leon Styhre bbb2aa5217 Overhaul of the screensaver. 2020-11-10 22:18:20 +01:00
Leon Styhre 0bb8737211 Made the game counter more logical. 2020-11-10 18:48:16 +01:00
Leon Styhre 6bc30a68cb Minor code standardization for CollectionSystemManager. 2020-11-10 18:45:57 +01:00
Leon Styhre 7b30e0172b Single byte commit. 2020-11-10 00:02:09 +01:00
Leon Styhre db94f5daee Fixed multiple issues with filters and the gamelistInfo field. 2020-11-09 23:41:27 +01:00
Leon Styhre f17bf43d4f Added a menu entry and functionality to delete custom collections. 2020-11-09 17:50:02 +01:00
Leon Styhre 2c3b452401 Some cosmetic code cleanup and some small documentation updates. 2020-11-08 22:58:06 +01:00
Leon Styhre 162d893ea0 Filtered non-games are now included in the GamelistInfo field. 2020-11-08 19:04:43 +01:00
Leon Styhre 3aa10177cf Fixed multiple issues with hidden games. 2020-11-08 18:33:28 +01:00
Leon Styhre 56ae90cc67 Some code cleanup for FileFilterIndex. 2020-11-08 16:47:51 +01:00
Leon Styhre cfad51fdb4 Added the ability to filter on game names. 2020-11-08 16:34:33 +01:00
Leon Styhre 61998ac1a3 Added a shortcut to the scraper in the metadata editor. 2020-11-08 13:24:34 +01:00
Leon Styhre f1f0596fe1 Added support for user accounts for ScreenScraper. 2020-11-07 15:34:15 +01:00
Leon Styhre 928553da3e Updated the man page. 2020-11-07 10:48:33 +01:00
Leon Styhre 9f747e161d Rewrote collection settings to the new settings logic. 2020-11-06 20:27:41 +01:00
Leon Styhre d7ef06546c Fixed an issue with the quick selector for custom collections. 2020-11-05 23:11:51 +01:00
Leon Styhre 72a077d6f2 Renamed GuiGeneralScreensaverOptions to GuiScreensaverOptions. 2020-11-05 18:35:08 +01:00
Leon Styhre bbe85b2707 Removed deprecated GuiScreensaverOptions, GuiSlideshowScreensaverOptions and GuiVideoScreensaverOptions. 2020-11-05 18:25:05 +01:00
Leon Styhre 1a6bec2e3b Overhaul of settings code. 2020-11-05 18:18:11 +01:00
Leon Styhre 94cc4b2158 Rewrote the random game function. 2020-10-31 11:33:43 +01:00
Leon Styhre a2d05d0bd1 Simplified the detection of folders in gamelists. 2020-10-31 11:32:18 +01:00
Leon Styhre 893dee2bab Added option to disable the favorite game toggling shortcut.
Also modified some setting descriptions and updated the corresponding documentation.
2020-10-31 10:01:19 +01:00
Leon Styhre 774d0b04aa Disabled the favorite game button shortcut for Kiosk mode. 2020-10-31 09:46:42 +01:00
Leon Styhre 3d2b246392 Fixed a view style issue for custom collections. 2020-10-30 18:48:12 +01:00
Leon Styhre 005952addf Rewrote and moved the quick selector letter index generation. 2020-10-30 18:34:05 +01:00
Leon Styhre 7f0aede274 Added gamelist info field which displays some useful information. 2020-10-30 14:19:21 +01:00
Leon Styhre d9c885baf3 Fixed a compile error caused by a call to a deleted function. 2020-10-30 13:08:08 +01:00
Leon Styhre f753fef1c5 Added a discrete game counting function. 2020-10-30 12:53:35 +01:00
Leon Styhre 2dc8b85aee Fixed a game counting issue for grouped custom collections. 2020-10-30 11:49:51 +01:00
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
Leon Styhre 7832c4fbe0 Fixed an issue where hidden metadata fields would sometimes be shown. 2020-10-10 15:13:47 +02:00
Leon Styhre 2258825a73 Fixed an issue where videos would play during gamelist scrolling. 2020-10-10 14:17:05 +02:00
Leon Styhre 96da134f7d Added option to scrape based on the metadata name. 2020-10-10 13:05:12 +02:00
Leon Styhre 965f96bbc8 Fixed a sorting issue when clearing game metadata.
Also a small documentation update and a file permission change.
2020-09-27 18:37:43 +02:00
Leon Styhre 6e2c8d4f32 Fixed an issue with the quick selector when folders were sorted on top. 2020-09-27 13:39:37 +02:00
Leon Styhre 4e9c1361be Fixed two additional instances where video would start playing when it shouldn't. 2020-09-27 13:14:50 +02:00
Leon Styhre 54ea153d93 Game systems are now sorted by their full names. 2020-09-27 12:49:14 +02:00
Leon Styhre 926d730bd2 Fixed an issue where videos would start playing with the menu open after scraping. 2020-09-27 12:01:43 +02:00
Leon Styhre c00374419b Fixed an issue where the gamelist would sometimes not reload after media files updates. 2020-09-27 11:41:53 +02:00
Leon Styhre 90f5d7fad4 Fixed additional issue with folder updates and gamelist sorting. 2020-09-27 11:19:55 +02:00
Leon Styhre cc6b4eb47d Fixed an issue where the gamelist was not sorted after folder metadata updates. 2020-09-27 10:51:50 +02:00
Leon Styhre 0946988fdb Added a clear button to the metadata editor. 2020-09-27 10:41:00 +02:00
Leon Styhre 304526e4c6 Added filter to scrape folders only. 2020-09-26 14:03:17 +02:00
Leon Styhre 6ec1898e97 Implemented handling of invalid ScreenScraper responses. 2020-09-26 13:07:52 +02:00
Leon Styhre e6b43288a7 Fixed an issue where the gamelists were not sorted after multi-scraping. 2020-09-26 13:05:07 +02:00
Leon Styhre 707850b339 Added a system sorting function to SystemData. 2020-09-26 13:03:14 +02:00
Leon Styhre 8db04c5fcb Added SPDX license identifiers to all source files. 2020-09-21 19:17:34 +02:00
Leon Styhre 1c831249da Moved game counting to the sort function and improved the custom collection handling. 2020-09-21 18:13:27 +02:00
Leon Styhre c5ecfb4e36 Fixed an issue where deleting a game would not refresh the gamelist. 2020-09-20 20:26:02 +02:00
Leon Styhre e56fdf3df6 Improved handling and sorting of folders. 2020-09-20 20:25:32 +02:00
Leon Styhre 2b82770e43 Fixed an issue where the quick selector couldn't find out if a game was a favorite. 2020-09-20 12:36:51 +02:00
Leon Styhre d4e614c0c1 Added jump to folder to the quick selector and improved the folder sorting. 2020-09-20 12:17:38 +02:00
Leon Styhre 83bae1e963 When marking or unmarking a game as favorite, the cursor position is now retained. 2020-09-20 10:05:03 +02:00
Leon Styhre fd92f7f86d Implemented the same opacity animation for the video style as for the detailed style. 2020-09-18 20:43:46 +02:00
Leon Styhre 522fbebee8 Fixed multiple issues and glitches related to the screensaver. 2020-09-18 18:40:22 +02:00
Leon Styhre 14e2ede448 Moved a sorting function to the proper location inside the correct class. 2020-09-17 22:18:13 +02:00
Leon Styhre d4f5b2d20d Text scrolling now stops when launching a game and when the screensaver starts.
Also did some additional code cleanup.
2020-09-17 22:00:07 +02:00
Leon Styhre 254029fed6 Reverted to longer line length license file and added custom macOS version. 2020-09-17 21:49:40 +02:00
Leon Styhre 2a852170a8 (Windows) Fixed some build issues and got the OpenGL shaders to work.
Also some additional code cleanup.
2020-09-16 22:14:35 +02:00
Leon Styhre aa07a1094f Removed deprecated LaunchAnimation.h 2020-09-15 23:06:36 +02:00
Leon Styhre ae7c9dabb8 Decreased CPU usage dramatically and fixed multiple UI navigation glitches.
Also did some code cleanup.
2020-09-15 22:57:54 +02:00
Leon Styhre a6430ff0ff Moved the input debug logging to a more appropriate location.
This also fixes the issue where some input was not being logged correctly.
2020-09-15 21:12:32 +02:00
Leon Styhre 863063ee47 Started to add SPDX license identifiers. 2020-09-13 20:32:22 +02:00
Leon Styhre 87bee7fae9 Added 'Desktop Edition' to the log output version info. 2020-09-13 20:07:02 +02:00
Leon Styhre d787f06c63 The cached gamelist background is now updated when using the metadata editor. 2020-09-13 19:20:30 +02:00
Leon Styhre 98d38b3b46 Eliminated unnecessary processing and rendering in the gamelist view.
Also added a game image fade-in effect to the Detailed view style.
2020-09-13 19:16:40 +02:00
Leon Styhre db0e15f5e8 Fixed an annoying scrolling issue that also affected the application performance. 2020-09-13 19:08:17 +02:00
Leon Styhre 02c9b4fb28 Several small improvements to the video view style.
Also partly rearranged the UI menu.
2020-09-13 14:28:06 +02:00
Leon Styhre 7dea5fb7df Renamed the setting 'Open menu effect' to 'Menu opening effect'. 2020-09-13 13:46:34 +02:00
Leon Styhre 66829b4ffa Added multiple animations and effects (mostly using shaders). 2020-09-13 13:21:38 +02:00
Leon Styhre 55a2305260 (macOS) Improved full screen mode. 2020-09-10 19:09:27 +02:00
Leon Styhre 0c1edae531 Re-enabled the back button for the video screensaver confirmation dialog. 2020-09-04 19:47:35 +02:00
Leon Styhre 9da16dd00e Some minor cosmetic code changes. 2020-08-30 22:25:38 +02:00
Leon Styhre feb6577dbc Changed to full system name sorting for the system view and scraper selector. 2020-08-24 18:51:55 +02:00
Leon Styhre 796d2c9ec8 (macOS) Disabled unusable command line arguments. 2020-08-23 21:53:21 +02:00
Leon Styhre 46ab60ad4e (Windows) Fixed the broken build for this OS.
Also some other minor cosmetic code changes.
2020-08-23 21:27:01 +02:00
Leon Styhre b7678007fa (macOS) Disabled reboot and power off menu entries as these require root privileges. 2020-08-23 19:17:06 +02:00
Leon Styhre 88a5962926 Changed '#ifdef' to '#if defined()' throughout the code. 2020-08-23 17:04:30 +02:00
Leon Styhre af5a48ed10 Removed unnecessary #ifdefs for the SDL2 include files. 2020-08-23 16:15:06 +02:00
Leon Styhre 16425b4c32 (macOS) Updates to CMake scripts and corresponding documentation. 2020-08-23 11:35:02 +02:00
Leon Styhre 6fa4333499 (macOS) Several updates to the .dmg package generator setup. 2020-08-21 21:58:12 +02:00
Leon Styhre c274a90765 Changed the licenses directory name from uppercase to lowercase. 2020-08-19 22:50:45 +02:00