Commit Graph

215 Commits

Author SHA1 Message Date
twinaphex e399a2f78e reorder structs, alignment 2020-08-15 00:35:15 +02:00
twinaphex 1ccb51460c Do some struct ordering for better alignment, and add CODING-GUIDELINES 2020-08-14 17:00:50 +02:00
francescotintori 6fa08b5287 Portable playlists: fixed first load initialization 2020-08-09 19:59:42 +02:00
Bernhard Schelling f657d3d600
More index validation and avoid qsort with NULL 2020-08-07 21:13:40 +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
twinaphex 4ee45304b0 More warning fixes 2020-08-01 18:14:48 +02:00
jdgleaver 776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
Bernhard Schelling fc5a11d2e7 Remove wrong (re)initialization of cached_external, add NULL check 2020-07-31 01:26:58 +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
Twinaphex 8f068fae6c Cleanups 2020-07-28 19:49:17 +02: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
twinaphex 36c27378bf Cleanups; C89_BUILD buildfixes, CXX_BUILD buildfixes, etc 2020-07-28 10:47:26 +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 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex 601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex 9364deb539 Cut down on string_is_equals for history lists 2020-06-08 21:34:39 +02:00
twinaphex 781835d53c More logging messages updates 2020-06-08 17:49:55 +02:00
twinaphex 12b22b7904 (Windows) Fix core path entries in image/video/music history playlists 2020-06-08 17:33:21 +02:00
twinaphex 58b22b0a6e Optimize some long iterations of string_is_equal 2020-06-08 07:00:22 +02:00
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex 8b796d3b47 Add TODO/FIXME notes for globals 2020-05-29 05:27:13 +02:00
trioan e14fc1b087 (MSVC 2017) Buildfix 2020-04-29 22:55:22 +00:00
jdgleaver 69305fda96 (playlist.c) Remove unused variable 2020-04-23 12:04:08 +01:00
jdgleaver 8cf629b3c2 (playlist.c) Minor clean-ups 2020-04-23 11:55:17 +01:00
jdgleaver 25c6499c5d (playlist.c) Omit whitespace when writing compressed JSON format playlists 2020-04-23 10:49:16 +01:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver 223cae66c1 (Playlist Management) Add optional per-playlist alphabetical sorting 2020-04-10 17:07:49 +01:00
jdgleaver ad8a1174f7 Improve handling of 'broken' playlists 2020-04-07 12:00:16 +01:00
jdgleaver f39e554586 (playlist.c) Prevent possible NULL pointer dereferences when calling strlen() 2020-04-02 14:19:35 +01:00
jdgleaver e24274a314 (Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content 2020-03-20 14:26:08 +00:00
twinaphex 577e254e9e (playlist.c) Rearrange struct members 2020-03-07 18:38:37 +01:00
twinaphex d3e0d03301 Cleanups 2020-02-03 07:44:00 +01:00
twinaphex e5b236898f Cleanup 2020-02-03 07:22:30 +01:00
twinaphex a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
jdgleaver e7733abc40 (Playlist Management) Add 'Clean Playlist' option 2020-01-15 18:00:51 +00:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
jdgleaver 170397456c Add manual content scanner 2019-11-29 17:14:46 +00:00
Twinaphex 0f55f8f12b Silence warning 2019-10-06 21:24:41 +02:00
twinaphex 1ed38ddb2d Start using return values of fill_pathname_ functions 2019-09-21 00:22:40 +02:00
twinaphex ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
jdgleaver a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
jdgleaver 1e3c5acf0d Fix 3DS build 2019-08-27 17:10:35 +01:00
jdgleaver 3da96deec3 Enable per-playlist thumbnail selection 2019-08-15 18:05:31 +01:00
Twinaphex 0297f69e98
Merge pull request #9229 from jdgleaver/favourites-size
Add independent 'favourites' playlist size setting
2019-07-31 12:35:15 +02:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Tim Van den Langenbergh 771134eb52 More C89 compatibility fixes 2019-07-28 15:52:48 +02:00
Tim Van den Langenbergh 6bd79acc5d Fix C89 support. 2019-07-28 14:55:21 +02:00
Tim Van den Langenbergh c69c3f4c47 Fix build for ISO C 90. 2019-07-28 13:42:07 +02:00