154 Commits

Author SHA1 Message Date
Yoshi Sugawara
dba1302360 Playlist (iOS): support abbreviating and expanding application and home directory paths so that playlist entries are valid across installs
iOS: add call to realpath() when setting directory to ensure expanding special chars in paths work; fixed braces style
2019-07-15 16:11:22 -10:00
twinaphex
339e043ff2 Fix 'declaration hides parameter' 2019-07-14 13:17:51 +02:00
twinaphex
37a6a205e3 Buildfix 2019-07-09 02:03:20 +02:00
Twinaphex
77f9de47a5 (Apple) Fix some unused variable warnings 2019-07-09 02:01:37 +02:00
jdgleaver
678636934d Fix playlist format detection 2019-07-04 16:46:00 +01:00
jdgleaver
ab7d5cbeb8 Fix build error 2019-06-27 13:05:46 +01:00
jdgleaver
5b097cfc7d Fix default core association for old format playlists 2019-06-27 12:36:58 +01:00
jdgleaver
0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
Twinaphex
9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
twinaphex
1a1418ccfb (Samples) tasks/database - should work again 2019-05-21 22:38:50 +02:00
jdgleaver
10ef7dd561 Load content runtime data 'on demand' (#8717)
* Load content runtime data 'on demand'

* Fix LGTM warning
2019-05-09 08:24:06 -05:00
jdgleaver
79e8adb90e (playlist) Don't resolve real path when core path is DETECT 2019-05-05 12:49:07 +01:00
twinaphex
23abe5025b Fix for playlist items that have been scanned and don't have an
associated core - we don't want to resolve the path if core_path
is set to "DETECT"
2019-05-05 01:17:51 +02:00
jdgleaver
05e0a6c8d2 Prevent duplicate content history entries (+ general sanitisation of playlist searching) 2019-05-02 09:58:37 +01:00
twinaphex
4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
636e1bef50 (playlist.c) Cleanups 2019-04-27 05:35:16 +02:00
twinaphex
3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
e35cd80a14 (MSVC 2010) Buildfix 2019-04-20 05:53:17 +02:00
twinaphex
cee285bcd5 (playlist.c) Code style cleanups 2019-04-13 18:57:02 +02:00
Brad Parker
f7b0c0947c add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters 2019-04-12 12:50:27 -04:00
Brad Parker
230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04:00
Twinaphex
076a0d2f56 (OSX) Code analysis cleanups 2019-04-08 23:13:39 +02:00
twinaphex
34f4d5ed0e Cleanups 2019-03-11 18:33:24 +01:00
jdgleaver
dc8ef72323 Populate crc32 and db_name fields when adding history/favourites playlist entries
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
jdgleaver
822edd4487 Fix sorting of playlists with blank labels 2019-03-05 15:37:50 +00:00
jdgleaver
33c27606d3 Finalise integration of per-content runtime logs (runtime sublabels on all playlists, 'last played' timestamp added to playlist sublablels,
content_runtime.lpl retired)
2019-03-01 14:06:40 +00:00
Brad Parker
44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
twinaphex
9bb7132b97 Move command_playlist_ functions to playlist.c
(RGUI) Header buildfix
2019-01-20 01:57:24 +01:00
Brad Parker
e81ad553ad playlist: free filestream before early returning 2019-01-18 19:03:25 -05:00
orbea
bc09245dee Fix -Wmissing-braces warning with clang. 2019-01-16 13:14:48 -08:00
orbea
e503f9e922 Silence errors for empty playlist files.
Fixes https://github.com/libretro/RetroArch/issues/8015
2019-01-16 09:40:21 -08:00
Brad Parker
88750850dc move playlist entries into "items" array to allow for top-level metadata 2019-01-12 13:46:28 -05:00
Brad Parker
a331b7420e update copyrights 2019-01-09 17:19:19 -05:00
Brad Parker
c7041260d7 add JSON playlist format 2019-01-09 17:13:13 -05:00
Brad Parker
0c634382f9 fix heap overflow with playlists 2019-01-08 23:08:58 -05:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
bce7742745 Create playlist_cached functions inside playlist.c 2018-04-10 17:40:29 +02:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
c4d8a8c800 Free after intfstream_close 2017-12-11 20:24:00 +01:00
twinaphex
54ce2ec5e9 playlist.c - use intfstream 2017-12-11 12:57:53 +01:00
twinaphex
61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
twinaphex
95cc8e12d2 Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist 2017-12-10 21:28:13 +01:00
Alcaro
e07ed18105 Fix text mode dependency 2017-12-10 21:00:24 +01:00
David Walters
deb017e17f On Windows builds, don't use case sensitive path comparisons when pushing to a playlist. 2017-12-08 23:50:00 +00:00
Alcaro
2b3cc8898a
Fix this one for non-stdio backends
Why does filestream_get_fp exist
2017-12-04 13:41:04 +01:00
twinaphex
cda840683b playlist.c - some optimizations 2017-11-26 00:02:28 +01:00
twinaphex
df7513be27 Cleanups 2017-11-25 23:39:31 +01:00