Commit Graph

136 Commits

Author SHA1 Message Date
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
Brad Parker
68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
twinaphex
c68db61188 Silence more Clang warnings 2017-10-11 22:49:13 +02:00
twinaphex
9fc063cd43 playlist.c - use malloc instead of calloc 2017-09-29 05:13:10 +02:00
Higor Eurípedes
ab50eca024 (playlist.c) Fix clear/free loop conditionals 2017-08-19 08:40:09 -03:00
twinaphex
147374c9c1 You can now rename playlist entries 2017-08-14 20:07:43 +02:00
twinaphex
60296c0b7d Improve logs some more 2017-07-01 04:37:32 +02:00
twinaphex
e9f9702a2d (playlist.c) Don't expose struct details to outside 2017-07-01 03:38:36 +02:00
twinaphex
5636b0fdd6 playlist.c - cleanup 2017-06-30 20:17:34 +02:00
twinaphex
0bd74c923f (playlist.c) Turn this code more robust 2017-05-29 20:36:18 +02:00
twinaphex
e192d4eaa6 (Playlist) Prevent us writing the playlist file another time
after we have already saved it once
2017-04-23 12:54:13 +02:00
twinaphex
7e3cce9397 Only write to playlists if they are modified 2017-04-23 12:25:54 +02:00
twinaphex
8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
twinaphex
d297899234 Cleanups; header includes 2017-01-09 02:00:27 +01:00
twinaphex
f6ebcebfea playlist.c - cleanup 2017-01-07 18:52:57 +01:00
twinaphex
2156bb43a1 Be more careful with allocation and assignment 2016-12-25 01:46:32 +01:00
twinaphex
cf6d6c584e Get rid of playlist_entry_get_label 2016-12-15 12:02:01 +01:00
Alcaro
fd9e721f97 Merge pull request #4183 from markwkidd/patch-3
accept playlists with Unix and Windows style line endings
2016-12-14 21:48:20 +01:00
markwkidd
35437057b9 correct comment for accuracy 2016-12-14 15:32:47 -05:00