Commit Graph

69 Commits

Author SHA1 Message Date
twinaphex
ae41de8d57 Move djb2 to hash.c 2015-06-03 09:46:13 +02:00
twinaphex
f9cb0bc1e1 (database_info.c) Cleanups 2015-06-03 08:48:20 +02:00
twinaphex
e3bc375b7a Cleanups 2015-06-03 08:22:50 +02:00
Andre Leiradella
0bdaab2d89 swap series of strcmp with hash-based switch 2015-06-02 19:36:49 -03:00
Twinaphex
cc2234401d Merge pull request #1728 from heuripedes/master
(database_info.c) Free value after reading it
2015-05-28 02:25:59 +02:00
twinaphex
1dc9183bb5 Use libretrodb_query_free to cleanup query state in
database_cursor_open
2015-05-28 02:24:51 +02:00
Higor Eurípedes
2a4df1ddc8 (database_info.c) Free value after reading it 2015-05-27 21:23:06 -03:00
twinaphex
99ea729d1c (database_info.c) Add some error handling 2015-05-28 02:22:50 +02:00
twinaphex
87b501efa7 Remove database_playlist_free 2015-05-26 02:08:18 +02:00
twinaphex
6294d7a360 Remove database_playlist_realloc 2015-05-26 02:06:38 +02:00
Twinaphex
1a85dfe60a (Database) Remove some unused variables 2015-05-25 10:04:54 +02:00
twinaphex
da2489ad72 (database_info.c) Make functions static 2015-05-25 05:24:47 +02:00
twinaphex
3037dd8685 Refactor database_cursor_open 2015-05-25 05:09:18 +02:00
twinaphex
2f0b2460e7 Move code to database_info.c 2015-05-25 04:50:07 +02:00
twinaphex
ddc0fad327 Fix database_cursor_close 2015-05-25 02:04:29 +02:00
twinaphex
57724f884c Create database_cursor_close 2015-05-25 01:56:33 +02:00
twinaphex
7322b01eb2 database_info_list_new - properly close cursor at end 2015-05-24 20:54:08 +02:00
twinaphex
39528bc74e Refactor database_cursor_iterate 2015-05-24 20:48:49 +02:00
twinaphex
bcf389edab database_info_list_new - use memset 2015-05-24 20:30:05 +02:00
twinaphex
ed65caba26 Rename database_open_cursor to database_cursor_open 2015-05-24 20:21:39 +02:00
twinaphex
47a2c1f3c3 Move database_cursor_iterate to database_info.c 2015-05-24 20:19:34 +02:00
twinaphex
fd8c202edd Create database_info_build_query, move it to database_info.c 2015-05-24 19:36:28 +02:00
twinaphex
5bfd28c4a9 (database_info.c) Use dir_list_new_special 2015-05-24 05:04:58 +02:00
twinaphex
7696d55047 (Database) cleanup 2015-05-23 19:18:56 +02:00
twinaphex
bd4267dc59 (Database) Cleanups 2015-05-05 18:43:51 +02:00
twinaphex
e116ef72da Add HAVE_ZLIB ifdefs around zlib-specific code 2015-04-19 16:59:11 +02:00
twinaphex
24e79f0ceb database_info_iterate_rdl_write - cleanup 2015-04-14 09:30:13 +02:00
twinaphex
bb6331874a Refactor database runloop code 2015-04-14 09:27:55 +02:00
twinaphex
b7321df63c (Database) Fix database runloop on data runloop 2015-04-14 08:10:12 +02:00
twinaphex
e6ba8128b8 (database_info.c) Cleanup 2015-04-11 09:04:48 +02:00
twinaphex
c26804335b (libretro-common) Move file_extract.c to libretro-common 2015-03-28 20:14:19 +01:00
twinaphex
f8b1a8a382 No dependencies in file_extract.c other than what is in libretro-common 2015-03-28 20:06:59 +01:00
twinaphex
d1d7d89bac Style nits 2015-03-22 08:04:35 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
990253ac7f (Database) Move msg_queue_clear/msg_queue_push to rdl free function 2015-03-14 20:22:45 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
neville
a7fbfc0c00 (OSX PPC) Build fixes 2015-02-23 01:32:50 +01:00
twinaphex
1a1d6a0889 Change returntype of file_cb for zlib_parse_file 2015-02-23 01:23:21 +01:00
twinaphex
87edea6bd9 (MSVC) Build fixes 2015-02-16 16:51:23 +01:00
twinaphex
41d3657b5d Start creating directory content scanning - nonblocking I/O not
yet implemented
2015-02-16 07:53:27 +01:00
twinaphex
b1d8d2c3e3 Start refactoring database_info_write_rdl 2015-02-16 07:25:40 +01:00
twinaphex
ceb09648eb Change to ssize_t 2015-02-16 03:46:27 +01:00
twinaphex
935b112a11 Refactor read_file 2015-02-16 03:31:37 +01:00
twinaphex
2d5b4f58aa (bin_to_hex_alloc) - do return NULL in case malloc fails 2015-02-16 02:42:21 +01:00
twinaphex
4b027ed975 (MSVC) Build fixes 2015-02-14 06:09:45 +01:00
Alcaro
56f2888aab Coding style says three-space indentation and backwards-placed asterisks... 2015-02-12 18:46:19 +01:00
Alcaro
722b349e9c Refactor this into a function to get rid of some dupe code. 2015-02-12 18:45:39 +01:00
Alcaro
bd970322ee These have nothing to do with paths. Replace with the size of a NUL-terminated hash. 2015-02-12 18:41:49 +01:00
Alcaro
655cabc186 Shut up Valgrind yet again. 2015-02-12 18:41:49 +01:00