Commit Graph

11044 Commits

Author SHA1 Message Date
Bernhard Schelling
398aa25c98
Zero icon list even on menu drivers without icons
Otherwise there is a chance for a crash on program exit on certain gfx drivers because it tries to free uninitialized texture ids.
2020-08-07 20:49:06 +09:00
Bernhard Schelling
0a67c0416a Change playlist to use dynamic array
Instead of initial 12MB memory allocation, use a dynamically growing array.
This shares the container structure (now called rbuf) with the explore menu.
2020-08-07 03:27:52 +09:00
jdgleaver
e6000afddb (GLUI) Add optional system-specific playlist icons 2020-08-06 17:24:28 +01:00
Autechre
d3eebe7c0f
Merge pull request #11148 from jdgleaver/rgui-glui-scan-content-cleanup
(RGUI/GLUI) Clean up 'scan content' menu entries
2020-08-05 18:15:33 +02:00
twinaphex
cd329a259c Revert "(MaterialUI) silence some warnings"
This reverts commit db7e38fed5.
2020-08-05 16:46:10 +02:00
jdgleaver
15cf483cd9 (RGUI/GLUI) Clean up 'scan content' menu entries 2020-08-05 14:25:09 +01:00
twinaphex
db7e38fed5 (MaterialUI) silence some warnings 2020-08-05 13:58:18 +02:00
Bernhard Schelling
a0db4db6c6
Instead of #if 0 use an explicit unused name 2020-08-05 01:46:32 +09:00
Bernhard Schelling
075c9162b7
Disable undocumented original_title field 2020-08-05 01:18:22 +09:00
Autechre
3d8ae1126a
Merge pull request #11140 from schellingb/explore_icons_glui
Support for glui showing system icons in explore view
2020-08-04 14:58:43 +02:00
Bernhard Schelling
b73c3dcde0 Cleaned up icon handling of glui to properly handle external icons 2020-08-04 21:54:39 +09:00
twinaphex
3680804217 Undo path_basedir_size 2020-08-04 03:05:20 +02:00
twinaphex
bafeebcd50 (Ozone) Get rid of some forward declarations 2020-08-03 22:23:48 +02:00
Bernhard Schelling
25c6664746
Fix pointless comparison of unsigned value to zero 2020-08-04 04:07:23 +09:00
Bernhard Schelling
948e2f9f8e Support for glui showing system icons in explore view 2020-08-04 03:32:49 +09:00
Bernhard Schelling
5229b255b5 Show system icons in explore view 2020-08-04 02:37:34 +09:00
twinaphex
4465a7bd0b Cleanup 2020-08-03 18:03:15 +02:00
twinaphex
1d6a760de3 (menu_explore) Cleanup - build_list now returns allocated struct 2020-08-03 12:49:42 +02:00
twinaphex
5105216380 (Android) Fix build 2020-08-03 00:51:29 +02:00
twinaphex
3e41cbc381 Revert "Add get_metrics to poke interface"
This reverts commit 119689c940.
2020-08-02 23:44:28 +02:00
twinaphex
119689c940 Add get_metrics to poke interface 2020-08-02 19:25:45 +02:00
Bernhard Schelling
90d2991ef1 Create per category "By ..." string
This avoids string concatenation that might be undesired by some languages
Rename string "Tags" to "Tag" as it just pertains to a single tag
Remove 3 old strings
2020-08-03 00:16:58 +09:00
Autechre
4371efafd7
Merge pull request #11127 from schellingb/explore_multilangfix2
Explore: Better accommodate different languages (updated)
2020-08-01 23:14:45 +02:00
Bernhard Schelling
e26a9db3de Change "ITEM_COUNT" to "ITEMS_COUNT" 2020-08-02 05:09:39 +09:00
Twinaphex
8441f60314 Remove unused variable 2020-08-01 21:47:22 +02:00
Bernhard Schelling
b396f29769 Replace 3 strings with format strings to better accommodate different languages
- "By" becomes "By %s"
- "Select" becomes "Select %s"
- "Items" becomes "%u Items"
2020-08-02 04:46:32 +09:00
twinaphex
83f4ce11f3 Revert "Replace 3 strings with format strings to better accommodate different languages"
This reverts commit a80fe4fbbc.
2020-08-01 21:24:59 +02:00
Bernhard Schelling
a80fe4fbbc Replace 3 strings with format strings to better accommodate different languages
- "By" becomes "By %s"
- "Select" becomes "Select %s"
- "Items" becomes "%u Items"
2020-08-02 04:11:03 +09:00
twinaphex
3635bf0d01 Silence some warnings 2020-08-01 18:04:56 +02:00
jdgleaver
776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
twinaphex
573f9e60c7 (libnx) Prevent some warnings 2020-07-31 10:54:57 +02:00
Bernhard Schelling
1644e493f0 Explore: Support for internationalization
Replace hardcoded English strings with msg_hash_to_str lookups
2020-07-31 03:09:23 +09:00
Bernhard Schelling
5da2ada6b8 Explore: Fix freeing of cached playlist (it could cause a crash in glui menu when jumping up multiple menu lists)
Also makes setting cached_playlist with an external list less of a hack and simplifies menu_explore.c a bit
2020-07-31 00:53:01 +09:00
jdgleaver
d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
Bernhard Schelling
61e2b1581d
Explore view improvements
If no database item can be connected to a playlist entry through CRC32, find a match of the database name value using the playlist label.
Use database name instead of the systemname field of core_info_t as system name (systemname of some cores contains multiple system names, database name is more appropriate).
2020-07-29 04:33:03 +09:00
alphanu1
e222d62f6c
Merge pull request #7 from libretro/master
upstream
2020-07-28 18:55:54 +01:00
twinaphex
b1acb00832 (menu_explore.c) Cleanups - prevent some implicit memsets 2020-07-28 17:38:50 +02:00
Autechre
c963bbe15f
Merge pull request #11092 from schellingb/explore_fix_crashonexit
Explore view - Fix crash when quitting while viewing item details
2020-07-28 17:14:45 +02:00
twinaphex
dd524d7d35 (MaterialUI) Add placeholder Explore tab icon 2020-07-28 16:57:29 +02:00
Bernhard Schelling
6c8506399c
Fix crash when quitting while viewing item details
When RetroArch was closed while viewing/playing a content item opened through the explore view there would be a crash during cleanup because the cached playlist would be freed twice (once by playlists own playlist_free_cached and once more through explore_free).
2020-07-28 23:51:06 +09:00
Autechre
8cb861798e
Merge pull request #11075 from francescotintori/francesco/playlist_autofix
Playlist base content directory paths
2020-07-28 16:10:20 +02:00
alphanu1
55e3bd3d2d Added ability to adjust porch values
Porches can now be manipulated from the CRTSwitchRes menu
2020-07-28 14:25:38 +01:00
twinaphex
6ccb758939 Update 2020-07-28 14:33:23 +02:00
twinaphex
395de4bae5 (Menu explore) jdgleaver's memory leak fixes 2020-07-28 14:32:46 +02:00
Bernhard Schelling
77a7e7eecd
Fix 2 memory leaks in explore view
Free cached playlist that could have been loaded before entering explore view
Free temporary hashmap used to filter sub-categories
2020-07-28 21:06:20 +09:00
twinaphex
4c6136d970 Stub out menu_explore.c when HAVE_LIBRETRODB is not defined 2020-07-28 12:15:05 +02:00
twinaphex
079d1fc2fc (menu explore) Further cleanups 2020-07-28 11:42:51 +02:00
twinaphex
36c27378bf Cleanups; C89_BUILD buildfixes, CXX_BUILD buildfixes, etc 2020-07-28 10:47:26 +02:00
twinaphex
0d6ceafb8b (Menu explore) Buildfix 2020-07-28 05:26:44 +02:00
Bernhard Schelling
667e8a558e Explore view - WIP1
A top content view that combines all playlists with database entries to browse by year, developer, system, etc.
Depends on the quality of the available metadata in the database (RDB) files.
2020-07-28 04:44:31 +02:00
francescotintori
9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
jdgleaver
fba4a8e837 (RGUI) Add optional 'toggle switch' icons 2020-07-27 14:45:07 +01:00
Hugo Hromic
e5a50a4e33 (Menu/DisplayList) Make notification font size option visible when graphics widgets are enabled
The on-screen audio/video statistics uses the font size option for rendering.
2020-07-26 22:28:32 +01:00
jdgleaver
9a19a7ae31 Core option improvements 2020-07-24 15:31:50 +01:00
Autechre
53eee276c7
Merge pull request #11070 from Ryunam/notification-font
Make Notification Font option visible when Graphics Widgets are enabled
2020-07-23 18:42:47 +02:00
Ryunam
ee8317a8e4 Make Notification Font visible when Widgets are enabled 2020-07-23 18:26:42 +02:00
jdgleaver
60407a84e6 Add input remap drop-down lists 2020-07-23 17:20:41 +01:00
twinaphex
b84f62c440 Silence warning - char buffer was too small for what we wanted to
fit into it
2020-07-23 06:46:05 +02:00
twinaphex
06eeea3931 We do use it, but only for HAVE_NETWORKING builds 2020-07-23 06:03:13 +02:00
twinaphex
efbb6aa81d stub this out for now until we actually start using this 2020-07-23 05:58:07 +02:00
twinaphex
a3242daa5d Silence more warnings 2020-07-23 05:51:04 +02:00
twinaphex
b929553231 - Silence 'variable might be used uninitialized' warning
- PS2 - Add TODO/FIXME note
2020-07-23 05:02:52 +02:00
Ryunam
4d2fe14c1d Adjustments to Screenshot Notification options 2020-07-20 19:44:55 +02:00
twinaphex
54b04af8de More buildfixes 2020-07-20 02:11:03 +02:00
twinaphex
4337ec33d7 Buildfix 2020-07-20 02:09:07 +02:00
twinaphex
9fb54a0a1c Fix --disable-menu 2020-07-20 01:58:49 +02:00
twinaphex
632329f4bb We should probably allow the user to individually control the screenshot
flash
2020-07-20 01:11:08 +02:00
twinaphex
279e142668 Properly hide other notification visibility screenshot settings
when master one is disabled
2020-07-20 01:09:08 +02:00
twinaphex
36a76d1248 Take out my own implementation in favor of Ryunam's 2020-07-20 00:50:40 +02:00
Autechre
8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Ryunam
5014f90e4d Add options to customize Screenshot notifications 2020-07-19 23:42:16 +02:00
twinaphex
ccd9b8ead4 (Widgets) onscreen Notifications -> Add setting to enable/disable 'take
screenshot' widget individually
2020-07-19 23:26:14 +02:00
twinaphex
723b42f655 Cleanups 2020-07-19 22:44:46 +02:00
Hugo Hromic
1e3fb9505c (Menu/OSD) Implement configurable update interval for memory usage display
Obtaining system memory metrics is generally an expensive operation.
2020-07-19 19:57:50 +01:00
jdgleaver
230c1cdde2 Add option to show/hide 'last used disc restored' notifications 2020-07-17 12:52:28 +01:00
twinaphex
36b581c733 Add 'Show Cheats Applied' onscreen notification visibility setting 2020-07-17 03:32:22 +02:00
twinaphex
ea920b1aaf Silence warning 2020-07-17 02:18:32 +02:00
Autechre
bbe234898f
Merge pull request #11030 from hhromic/menu-imprv
(Menu) General usability improvements for setting defaults
2020-07-16 18:55:18 +02:00
jdgleaver
75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
Hugo Hromic
f4dec615ef (Menu) General usability improvements for setting defaults 2020-07-16 09:17:10 +01:00
jdgleaver
84a71ea133 Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation 2020-07-14 17:46:58 +01:00
Autechre
72edc1ac7c
Merge pull request #11010 from Jamiras/cheevos_sound
(cheevos) add option to play custom sound on achievement unlock
2020-07-12 13:32:59 +02:00
twinaphex
8656b3d6f8 Create specialized optimized path_basedir_size 2020-07-11 19:29:43 +02:00
Jamiras
96c5f5dfb0 add option to play custom sound on achievement unlock 2020-07-11 10:56:09 -06:00
jdgleaver
73b502a16d Fix 'current item' marker position in float drop-down lists 2020-07-10 11:44:18 +01:00
jdgleaver
506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
Hugo Hromic
61aed8b911 (Menu/Drivers) Implement null driver protection for critical drivers
Can prevent the user from locking him/herself out of the program using the UI.
Protected drivers: input, joypad, hid, video and menu.

Note: Developer users can always override this protection by manually editing
the active configuration file or using `--appendconfig`.
2020-07-07 22:54:45 +01:00
Hugo Hromic
c985dcc84d Revert "Add 'Ignore null drivers' setting"
This reverts commit f16f3d2968.
2020-07-07 22:54:45 +01:00
Autechre
abfd0ed030
Merge pull request #10959 from jdgleaver/static-core-load
(Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core
2020-07-07 11:45:18 +02:00
twinaphex
11872ea157 Revert "Make Threaded Video an option that requires a restart"
This reverts commit 05d11f6c1d.
2020-07-07 07:49:33 +02:00
twinaphex
05d11f6c1d Make Threaded Video an option that requires a restart 2020-07-07 07:44:23 +02:00
twinaphex
9b228a5f00 (menu displaylist) Add ifdefs 2020-07-05 10:14:40 +02:00
twinaphex
ce98bbd395 Put this under HAVE_RUNAHEAD ifdef 2020-07-05 05:33:53 +02:00
jdgleaver
e87b8311c8 (Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core 2020-07-03 17:12:23 +01:00
twinaphex
21c3072ffb Fix menu 2020-07-02 17:14:31 +02:00
twinaphex
47e22d69bf Add HAVE_VIDEO_FILTER 2020-07-02 06:28:14 +02:00
twinaphex
ac67463ebc Add HAVE_SCREENSHOTS ifdef 2020-07-02 02:16:47 +02:00
twinaphex
3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex
d6bd12277f Hide Network Settings and Cheevos screens if HAVE_NETWORKING
and/or HAVE_CHEEVOS are not defined
2020-07-01 21:10:19 +02:00
twinaphex
87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00