Commit Graph

139 Commits

Author SHA1 Message Date
twinaphex
5c470b411c (database_info.c) Do glob query for developers 2015-06-12 18:26:39 +02:00
twinaphex
78f6f29c3a (database_info.c) Refactor some code 2015-06-12 18:20:34 +02:00
twinaphex
29c82f9360 (General) Cleanups pt. 2 2015-06-12 17:04:25 +02:00
Higor Eurípedes
43d7124c75 (database_info.c) Fix massive leak 2015-06-10 14:05:08 -03:00
Higor Eurípedes
4d23fd211c (libretro-db) Store CRC32 as uint32_t 2015-06-09 20:21:14 -03:00
twinaphex
05e6b9965e (database_info.c) Turn char * developer into string list 2015-06-10 00:53:31 +02:00
Twinaphex
a50efb6ed9 Create database_info_file_init 2015-06-09 19:01:24 +02:00
Twinaphex
ba0e25dd88 Rename database_info_init to database_info_dir_init 2015-06-09 18:53:18 +02:00
twinaphex
29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex
7b75fafa11 (database_info.c) Add rom_name/serial/size 2015-06-07 18:55:58 +02:00
Andre Leiradella
63e5460457 removed unneeded log in menu_entries_common_is_settings_entry; better logging of invalid key in database_cursor_iterate 2015-06-05 17:39:20 -03:00
twinaphex
27a7f66c2a Header include nits 2015-06-05 18:23:06 +02:00
twinaphex
4141a1eae8 (database_info.c) Cut down on strcmp usage 2015-06-05 10:10:40 +02:00
twinaphex
fc4755bce2 (libretro-common) Move hash.c/hash.h to libretro-common 2015-06-04 21:13:13 +02:00
Twinaphex
011fa92f51 Merge pull request #1744 from leiradel/master
fixed game details not available while browsing dabases; fixed false …
2015-06-04 18:17:18 +02:00
Andre Leiradella
a2b2cb0f34 fixed game details not available while browsing dabases; fixed false positives in database_cursor_iterate 2015-06-04 13:13:31 -03:00
Higor Eurípedes
936d29e703 (libretrodb) Fix leak in database_cursor_iterate() 2015-06-04 12:41:51 -03:00
Andre Leiradella
e7a3dc0e73 log the label instead of the hash 2015-06-04 12:10:33 -03:00
Andre Leiradella
ef1eb15f71 use hashes instead of strcmp 2015-06-04 11:23:00 -03:00
Twinaphex
030c3ce49f (libretrodb) cleanups 2015-06-03 16:26:54 +02:00
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
twinaphex
21ff16471a Alcaro - not a useless cast at all. Broke Windows build. 2015-02-11 14:22:43 +01:00
twinaphex
0e87a3b86a database_info_list_new - cleanups 2015-02-10 22:39:53 +01:00
Alcaro
4503c6635f Don't clobber important stuff. 2015-02-10 22:24:38 +01:00
Alcaro
111d4d4bd5 Remove some pointless casts. 2015-02-10 22:19:33 +01:00
Twinaphex
db64c41ae7 Silence some warnings 2015-02-09 01:46:58 +01:00
twinaphex
48e56da8be (Android) Silence unused variable warnings 2015-02-05 19:59:43 +01:00
twinaphex
a55e48e88c Very primitive directory scanning of CRCs - prototype 2015-02-05 16:25:29 +01:00
twinaphex
84d71330c8 Add famitsu entries 2015-02-02 04:41:31 +01:00
twinaphex
7c8357710e (database_info.c) Use strdup instead of calloc 2015-02-02 04:21:45 +01:00
twinaphex
298fdbea8a (Database) Add MD5 and SHA1 entries 2015-02-02 04:03:46 +01:00
twinaphex
d2a5dd32c2 Add crc32 to database_info 2015-02-02 02:09:26 +01:00
twinaphex
eb06611196 Cleanups to setting_data_get_label 2015-01-31 11:10:32 +01:00
twinaphex
5a5ae4f9a5 (Database) List entries by name instead of description 2015-01-29 01:32:35 +01:00
twinaphex
774b350e9e Updates 2015-01-28 11:08:44 +01:00
Twinaphex
cef42b9356 (XMB) Cleanup unused variables 2015-01-27 23:36:20 +01:00
twinaphex
2e7c29f853 Show "N/A" when rumble/analog not specified in db entry 2015-01-27 21:05:40 +01:00
twinaphex
47427d656b Add entries 2015-01-27 19:41:35 +01:00
twinaphex
5bb55b9ce9 Add new entries to database_info.c 2015-01-27 19:20:39 +01:00
twinaphex
6799cebc71 Add database_info.c 2015-01-27 18:09:19 +01:00