jdgleaver
523e37ec95
Prevent segfault when accessing 'Explore' menu
2021-03-16 11:30:05 +00:00
Bernhard Schelling
9bea4831d7
Add 32-bit key hash map rhmap
...
Based on ex_hashmap32 in menu_explore.c, modify that to use the new rhmap
2021-01-03 00:52:25 +09:00
jdgleaver
0207fbf7b5
Explore Menu: Fix heap buffer overflow on initialisation
2020-10-05 10:15:54 +01:00
twinaphex
2e5bfd74ec
Optimize explore_check_company_suffix
2020-09-27 23:56:15 +02:00
Bernhard Schelling
46bbbc4478
Order structs according to coding guidelines
2020-08-16 03:22:09 +09:00
twinaphex
023fd4f330
Alignment changes
2020-08-14 18:19:57 +02:00
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
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
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
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
Bernhard Schelling
e26a9db3de
Change "ITEM_COUNT" to "ITEMS_COUNT"
2020-08-02 05:09:39 +09: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 a80fe4fbbc43759827d4ef17a171796461c61c97.
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
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
twinaphex
b1acb00832
(menu_explore.c) Cleanups - prevent some implicit memsets
2020-07-28 17:38:50 +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
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
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