Commit Graph

117 Commits

Author SHA1 Message Date
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
twinaphex
d5a0819aba Nit 2016-03-21 19:53:48 +01:00
twinaphex
3d7bc4f7fe (playlist.c) Style nits 2016-03-21 19:52:33 +01:00
radius
4165c89385 only check for identical paths, not CRC too 2016-01-26 22:10:42 -05:00
radius
2af0708047 do not push entries that are already on the database 2016-01-26 15:22:16 -05:00
twinaphex
2d6142a01e N/A 2016-01-23 19:39:18 +01:00
twinaphex
454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
6c4b6310aa (playlist.c) Go through wrapper functions 2015-11-29 00:46:47 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
twinaphex
ac1b292cfd Fix -Wmissing-braces warnings 2015-06-12 19:25:08 +02:00
twinaphex
c36e21ed13 (General) Cleanup 2015-06-12 17:00:37 +02:00
Higor Eurípedes
a0457d77f3 (playlist) Add content_playlist_qsort() 2015-06-11 10:04:35 -03:00
Higor Eurípedes
aa80b352ee (playlist) Set conf_path and entries to NULL on free 2015-06-09 17:06:20 -03:00
Higor Eurípedes
c1c4f4128b (playlist) Dont write the playlist file on free() 2015-06-09 17:05:21 -03:00
twinaphex
29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex
9d97b227b7 Content Collection core selection should now work 2015-05-26 08:38:38 +02:00
twinaphex
a19f6e21d8 Cleanup content_playlist_update 2015-05-26 06:52:00 +02:00
twinaphex
18e68918f3 core_info_get_name and content_playlist_update 2015-05-26 06:28:16 +02:00
twinaphex
3c6e4e8dbf content_playlist_push - some improvements 2015-05-26 04:17:27 +02:00
twinaphex
8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex
350a33a4ae Start implementing database_info_list_iterate_found_match 2015-05-25 18:46:36 +02:00
Higor Eurípedes
2008667640 (Menu) Fix core loading from history 2015-03-22 19:17:40 -03:00
twinaphex
c63979011e Should fix segfault when loading SET_NO_GAME cores 2015-03-22 22:19:14 +01:00
twinaphex
7ab6e9a469 Create content_playlist_get_index_by_path -make pointers
non-const
2015-02-03 04:12:32 +01:00
twinaphex
d9094506c7 Rough implementation of game loading from database 2015-02-03 00:59:16 +01:00
Twinaphex
a5b306406c More documentation 2015-01-18 09:25:48 +01:00
twinaphex
890e86293c Cleanup playlist.c/.h 2015-01-17 03:48:59 +01:00
Twinaphex
88cc144ce0 Document playlist.c 2015-01-16 21:09:05 +01:00
Twinaphex
9cd821efb6 (Playlist.c) More documentation for playlist.c 2015-01-16 20:19:21 +01:00
Twinaphex
62bdc940c5 (playlist.c) Some more explanation on code decisions 2015-01-16 19:46:10 +01:00
Twinaphex
e9e3a2105d (playlist.c) Add documentation and cleanups 2015-01-16 19:42:11 +01:00
twinaphex
a9030bd474 Take out retroarch logger dependencies from playlist.c 2015-01-08 15:58:09 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
9d25947694 Take out fclose on early return since it was only there for when
playlist is NULL
2014-11-29 16:07:05 +01:00
twinaphex
c6c20ae9b5 Change how content_playlist_read_file works 2014-11-29 16:05:52 +01:00
twinaphex
5998ca0f5d playlist.c - add warnings 2014-11-27 08:29:15 +01:00
twinaphex
7987053870 Reduce header includes 2014-10-21 19:07:14 +02:00
twinaphex
7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex
480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex
3e45884b67 Rename local variables named 'index' elsewhere 2014-10-20 19:22:33 +02:00
twinaphex
a0a78e0710 Get rid of general.h dependency for playlist.c 2014-10-16 08:22:14 +02:00
twinaphex
cbce0c7b8a Create write_empty_file helper function in file_path.c 2014-09-15 05:49:48 +02:00
twinaphex
5e43f375c6 Create playlist in playlist_read_file if it doesn't already
exist
2014-09-15 04:45:57 +02:00
Lioncash
7d6ebf75bd playlist: early exit if NULL is passed to content_playlist_free_entry 2014-09-14 21:24:03 -04:00
Lioncash
8244c74b31 playlist: Fix erroneous return value.
This should actually be false, since it failed to read the playlist file in this case.
2014-09-12 14:21:31 -04:00
Lioncash
b23bd75195 playlist: Fix a potential memory leak. 2014-09-04 23:06:50 -04:00
twinaphex
bc1358a021 Refactor load_menu_content_history 2014-09-03 00:14:02 +02:00
twinaphex
aa386698b3 (Menu) Cut down on unused variables 2014-08-31 21:56:36 +02:00
twinaphex
d1110ff592 Code reformatting 2014-08-20 17:23:21 +02:00
twinaphex
56540b5af4 Get rid of content_playlist_get* functions 2014-08-15 17:57:06 +02:00
twinaphex
4bb87f7b76 Change 'hist' to 'playlist' 2014-08-15 17:32:38 +02:00
twinaphex
eb1d78bab7 Rename history.c to playlist.c 2014-08-15 17:24:28 +02:00