Commit Graph

103 Commits

Author SHA1 Message Date
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
twinaphex
48e60d075c playlist_free_entry - use string_is_empty 2016-12-11 23:00:26 +01:00
markwkidd
c6bc316e04 Update playlist.c 2016-12-10 11:03:28 -05:00
markwkidd
edf58d9e29 Update playlist.c 2016-12-07 16:08:09 -05:00
markwkidd
e65b4d8c1c Update playlist.c 2016-12-07 16:07:45 -05:00
markwkidd
72d31c6fbe Update playlist.c 2016-12-07 15:52:14 -05:00
markwkidd
f710129f32 cleaner to use strpbrk 2016-12-07 15:51:09 -05:00
markwkidd
a49912c863 accept playlists with Unix and Windows style line endings 2016-12-07 15:35:49 -05:00
twinaphex
f017593501 Reduce size of some char variables and get rid of some implicit memsets 2016-10-27 09:44:20 +02:00
twinaphex
cb772047ff Prevent some more memsets 2016-10-21 19:32:44 +02:00
twinaphex
8578e19903 playlist_read_file - prevent implicit slow memsets 2016-10-09 09:07:53 +02:00
twinaphex
d7a90dd9bb playlist.c - cleanups 2016-09-29 10:16:48 +02:00
twinaphex
ac416b4494 Try to be more safe here 2016-09-29 09:36:24 +02:00
Jean-André Santoni
f06e76301e (Menu) Get Remove from Playlist to work on history playlists 2016-08-29 02:22:05 +02:00
Jean-André Santoni
a5fc3b01ba (Menu) Implement playlist_delete_index 2016-08-29 01:38:46 +02:00
Jean-André Santoni
f387e627f3 (Menu) Start adding Remove from Playlist action 2016-08-29 01:17:02 +02:00
twinaphex
cd9e10b3d1 (playlist.c) Cleanups 2016-08-28 18:47:34 +02:00
twinaphex
04c9db254e Start preparing playlist code 2016-07-30 21:27:40 +02:00
twinaphex
2a883caf17 Buildfix 2016-07-23 02:53:48 +02:00
twinaphex
1ebeeeb725 (PS3) Playlists and history lists should save now again;
(HAVE_DYNAMIC not defined) libretro_path should get read from config file
to prevent instance where settings->path.libretro is empty, which lead to
history not being able to be pushed to
(History/Playlists) If we don't have core info files and core_name
is therefore blank, we should attempt
a fallback path so that it infers the name from the core basename instead
2016-07-23 00:15:37 +02:00
twinaphex
6918a4d48e Add some more logging to playlist.c 2016-07-22 10:15:33 +02:00
Sebastien Ronsse
2b3718a86c playlist: Fix memory leak due to unallocated playlist entry strings 2016-06-21 10:53:33 +10:00
twinaphex
2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +02:00
twinaphex
ac6a319a9d playlist.c - use filestream 2016-06-03 00:12:58 +02:00
twinaphex
43f06aecd9 (playlist.c) Prevent warnings 2016-06-01 05:34:15 +02:00
Twinaphex
b81b5b0dfe Revert "playlist.c - prevent logically dead code -a nd also try to prevent memleak"
This reverts commit a1034716e1.
2016-05-26 22:22:30 +02:00
twinaphex
bd5c0effa4 Revert "playlist_free_entry - cleanups"
This reverts commit 9624406438.
2016-05-26 22:17:42 +02:00
Twinaphex
5a7ab3a394 Revert "Free before doing strdup"
This reverts commit 189f8d58ec.
2016-05-26 22:07:03 +02:00
twinaphex
189f8d58ec Free before doing strdup 2016-05-26 22:03:37 +02:00
twinaphex
a1034716e1 playlist.c - prevent logically dead code -a nd also try to prevent memleak 2016-05-26 18:12:27 +02:00
twinaphex
9624406438 playlist_free_entry - cleanups 2016-05-26 16:37:39 +02:00
twinaphex
aae721a9d0 Remove logically dead code 2016-05-24 04:26:24 +02:00
twinaphex
449c7483cd Rename content_playlist_ to playlist_ 2016-05-16 09:07:44 +02:00
Alcaro
eae911bcd2 No need to remove function names, they don't slow anything down and they're invaluable for crash debugging. 2016-05-06 20:20:21 +02:00