Commit Graph

865 Commits

Author SHA1 Message Date
twinaphex 82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex 55e54a30b4 Create retro_file, and have libretrodb use it 2015-09-17 19:58:06 +02:00
twinaphex da3bec58b1 (libretro-common) Start adding retro_file.c and retro_file.h 2015-09-17 11:41:48 +02:00
twinaphex eccda8c39a (memory_stream.c) Cleanup 2015-09-13 09:45:41 +02:00
Alcaro 5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00
Alcaro fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
twinaphex 2ecd6f4406 file_extract.c - Some MISSING_DECLS buildfixes 2015-09-06 15:05:55 +02:00
Alcaro 474c96365d Switch to C++98. Fix some weird warnings. 2015-09-06 14:51:33 +02:00
Alcaro 9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex 7ec3c5080d Cleanups 2015-09-05 21:11:12 +02:00
twinaphex f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex 42b3c79b8e (retro_dirent.c) Win32 buildfix 2015-09-05 13:37:08 +02:00
twinaphex 7e3bdf8be5 (Vita) This header needs to be included for stat 2015-09-05 01:38:09 +02:00
twinaphex a3349dc364 Cleanups 2015-09-04 21:01:22 +02:00
twinaphex 7829b3153c Cleanups 2015-09-04 20:56:23 +02:00
twinaphex ab2d13d05a Cleanups 2015-09-04 20:51:50 +02:00
twinaphex a806a67b0b (file_path.c) Remove dirent.h headers 2015-09-04 20:47:55 +02:00
twinaphex bdc07f4c8c (Vita) retro_dirent.c - build fixes 2015-09-04 20:09:53 +02:00
twinaphex 97f8c39865 (retro_dirent.c) PS3 - cleanup 2015-09-04 19:12:19 +02:00
twinaphex 9ef5570fcc (retro_dirent.c) Add PS3 codepaths 2015-09-04 19:11:20 +02:00
twinaphex eb8ca30a6c Add retro_dirent.c to Salamander 2015-09-04 18:54:29 +02:00
twinaphex 9b77a7ecae Don't make retro_dirent.c dependent on file/file_path.c 2015-09-04 18:50:09 +02:00
twinaphex b0f54b896a Clean up unused variables 2015-09-04 18:41:53 +02:00
twinaphex 56c8a57e0c Create retro_dirent.c/retro_dirent.h 2015-09-04 18:38:29 +02:00
Twinaphex 29399513c0 (file_path.c) Bugfix 2015-09-01 14:40:03 +02:00
twinaphex 0676738140 Console build fixes 2015-09-01 12:10:26 +02:00
twinaphex 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex 7bcb3d4f27 (file_path.c) Get rid of rhash.h dependency 2015-09-01 11:46:18 +02:00
twinaphex d7aebbd40e Update 2015-08-31 22:04:21 +02:00
twinaphex de8dfb627c (PSP/Vita) dirent_is_directory - buildfix 2015-08-31 14:30:52 +02:00
twinaphex a2d6992e24 (Vita) Buildfix 2015-08-31 14:26:27 +02:00
twinaphex d8ef051f57 (dir_list.c) Use Vita codepaths for PSP too 2015-08-31 13:01:39 +02:00
twinaphex b0f9e1ac9c Cleanups 2015-08-31 12:52:42 +02:00
twinaphex 7f5399071e Cleanups 2015-08-31 11:10:48 +02:00
twinaphex 27a8022af1 Cleanups 2015-08-31 11:03:00 +02:00
twinaphex 9895cd6b21 Cleanups 2015-08-31 10:58:54 +02:00
twinaphex 5a28266abf Cleanups 2015-08-31 10:58:15 +02:00
twinaphex 9ba9098cb0 Cleanups 2015-08-31 10:45:10 +02:00
twinaphex f324afc12a Cleanup 2015-08-31 10:41:30 +02:00
twinaphex 920ee70fbd dir_list_new - don't do implicit memset 2015-08-31 10:40:35 +02:00
twinaphex f6991c95a4 Cleanups 2015-08-31 10:39:10 +02:00
twinaphex d5109af2cb (Vita/Win32) Refactor dirent_is_directory 2015-08-31 10:36:46 +02:00
CautiousAlbino 173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
twinaphex 1533d451e9 Use sceIoMkdir for PSP too 2015-08-30 18:53:41 +02:00
twinaphex b03a0f4781 (Vita) Buildfix 2015-08-30 18:51:35 +02:00
Sergi Granell e45f42a388 (Vita) Update Makefile.griffin,file_path.c,performance.c 2015-08-30 18:46:49 +02:00
Twinaphex aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
twinaphex f7631c41cd Backport xerpi's patch 2015-08-30 17:23:01 +02:00
CautiousAlbino 9f3f0c1f1a Typo fix. 2015-08-30 17:02:52 +02:00
CautiousAlbino c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex 3824812ac9 (dir_list.c) Prevent implicit memsets 2015-08-29 15:14:01 +02:00
twinaphex 6edea1d9c7 Create compat versions of zlib.h and zutil.h 2015-08-28 21:35:09 +02:00
Twinaphex 3639858522 (iOS) Create ObjC version of dir_list 2015-08-05 04:11:42 +02:00
Higor Eurípedes 3cc6e07174 (task_database) Fix leaks when scanning zip files 2015-07-05 10:23:21 -03:00
twinaphex 018c685b09 C89_BUILD fixes 2015-06-29 21:39:00 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex c1aa66b6e9 (file_extract.c) Prevent CXX_BUILD=1 warning 2015-06-26 12:45:51 +02:00
twinaphex 501e4e08af (config_file_userdata.c) Use fill_pathname_join_delim 2015-06-22 20:27:01 +02:00
twinaphex 5d576ce61d (task_database.c) Use fill_pathname_join_delim in task_database.c 2015-06-22 19:51:13 +02:00
twinaphex fb768eb608 (libretro-common) Cleanups 2015-06-15 05:00:39 +02:00
twinaphex 40f8fabda6 Consistency in how we treat positive strcmp matches 2015-06-14 19:56:01 +02:00
twinaphex ad5954862b Cleanup some strcmps 2015-06-14 19:42:25 +02:00
Higor Eurípedes 702d03908d (config_file.c) Speed up config_set_string() using config_get_entry() 2015-06-14 12:36:29 -03:00
Higor Eurípedes 2e9afbdb70 (config_file.c) Rename config_get_entry_for_read() to config_get_entry() and add prev argument 2015-06-14 12:36:29 -03:00
Higor Eurípedes 72fa1c9d36 (config_file.c) Speed up setting lookup with hashes 2015-06-14 12:36:29 -03:00
Higor Eurípedes ff03a3abe2 (config_file.c) Add config_get_entry_for_read() 2015-06-14 12:36:29 -03:00
Higor Eurípedes 70c845a6b2 Rewrite file_list_copy() 2015-06-13 19:03:41 -03:00
twinaphex cdec12faa5 (libretro-common) Cleanups 2015-06-13 00:33:31 +02:00
Higor Eurípedes 91af356a31 (nbio) Fix leak 2015-06-12 18:21:11 -03:00
twinaphex 49c08fdba9 (nbio_stdio.c) Try to free handle->data in case of an error 2015-06-12 22:09:07 +02:00
Twinaphex 0bfd3433ff (file_list.c) file_list_push - set userdata and actiondata
to NULL
2015-06-11 23:18:08 +02:00
twinaphex 087e1354ec Create file_list_set_userdata/file_list_set_actiondata 2015-06-11 23:02:17 +02:00
Twinaphex c86c40c1cd Create file_list_free_actiondata/file_list_free_userdata 2015-06-11 21:03:28 +02:00
twinaphex 5bd138b6ac (file_list) Start adding entry_idx to file_list_* functions 2015-06-10 22:43:06 +02:00
Twinaphex c10b67438d path_get_extension - prevent crash 2015-06-08 17:07:00 +02:00
twinaphex d3102e03c8 (file_list.c) Get rid of 'alt2' 2015-06-07 00:53:00 +02:00
twinaphex aa56b8e1e3 (Task database) Start using zlib_parse_file_iterate in task_database.c 2015-05-27 01:36:15 +02:00
twinaphex 3d924a7556 Create zlib_parse_file_iterate 2015-05-27 01:03:49 +02:00
twinaphex 376a1d49ba Refactor zlib_parse_file 2015-05-27 00:42:48 +02:00
twinaphex 512edb1474 Create zlib_parse_file_init 2015-05-27 00:28:32 +02:00
twinaphex 33ba65075f Create zlib_parse_file_iterate_step 2015-05-27 00:23:50 +02:00
twinaphex 6a7ab12dc1 Refactor zlib_parse_filer.prx 2015-05-26 23:28:40 +02:00
twinaphex 8e8267b708 Create zlib_transfer_t and refactor zlib_parse_file somewhat 2015-05-26 21:11:26 +02:00
twinaphex 30aaa265e0 Create filt_list_{set/get}_alt2_at_offset 2015-05-22 23:57:48 +02:00
Higor Eurípedes 317f481b95 (config_file.c) Fix error when path is not a regular file 2015-05-20 10:11:58 -03:00
Higor Eurípedes 2f05ecbed6 (file_extract.c) Fix leak in zip extraction 2015-05-19 17:02:23 -03:00
twinaphex 7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex c9dc599ee7 (dir_list.c) Revert - was causing exceptions on Windows 2015-04-06 19:22:26 +02:00
twinaphex d84b08ab08 (PS3) Buildfix 2015-04-03 03:23:02 +02:00
neville f3f8db553e (Apple) Fix warnings 2015-03-30 03:32:54 +02:00
twinaphex b40c56bdbe (dir_list.c) Fix Salamander 2015-03-30 02:29:38 +02:00
twinaphex 4572a1c48d Create zlib_deflate wrapper functions 2015-03-29 16:28:06 +02:00
twinaphex cc2d6ea99d Create more zlib wrapper functions 2015-03-29 15:52:17 +02:00
twinaphex 5d776f15b6 Create zlib_set_stream 2015-03-29 15:35:55 +02:00
twinaphex 758d01b5da Create more wrappers around zlib in file_extract.c 2015-03-29 14:35:18 +02:00
twinaphex 32304af540 Create zlib_inflate_init 2015-03-29 14:30:53 +02:00
twinaphex 835cba4412 Create zlib_stream_new/zlib_stream_free 2015-03-29 01:57:52 +01:00
twinaphex ab284b82f9 (win32) Buildfix 2015-03-28 21:32:38 +01:00
twinaphex 9281595024 Create zlib_perform_mode 2015-03-28 21:05:00 +01:00
twinaphex 8764c660e2 Put zlib_read_file around HAVE_MMAP ifdef 2015-03-28 20:52:00 +01:00
Twinaphex 2f83c43917 Merge pull request #1550 from xoddark/folder_list_management_v2
Add multifolder management in dir_list_new v2
2015-03-28 20:47:44 +01:00
twinaphex abc514b339 Make file_extract.c independent of RetroArch 2015-03-28 20:25:33 +01:00
twinaphex c26804335b (libretro-common) Move file_extract.c to libretro-common 2015-03-28 20:14:19 +01:00
XoD d97bc6f084 Add multifolder management in dir_list_new v2
v2: process the folder from the last to the
first to allow override.

Signed-off-by: XoD <xoddark@gmail.com>
2015-03-28 18:52:27 +01:00
twinaphex 4b1bdac62c (nbio_stdio.c) Expand modes 2015-03-18 04:40:10 +01:00
twinaphex c6d0e4ec51 Add BIO_READ/BIO_WRITE to nbio_stdio.c 2015-03-18 03:59:44 +01:00
twinaphex fd338160bc (nbio_stdio.c) Some changes 2015-03-18 03:51:58 +01:00
twinaphex 18ce5f73be Take RARCH_INTERNAL code from file_path.c out of libretro-common 2015-03-13 05:03:50 +01:00
twinaphex 3bbc52eb79 (file_list.c) Do early returns if realloc fails, do early returns if
list is NULL
2015-03-12 14:00:27 +01:00
twinaphex 6dc1d953f2 Make 'free' operations of file_list.c more robust 2015-03-12 13:55:16 +01:00
twinaphex 2c14e702f6 Update libretro-common 2015-03-10 18:24:02 +01:00
twinaphex 0bb5e0c7fd Cleanups 2015-02-20 03:18:06 +01:00
twinaphex deb282af4d (rpng) Add stub code for nonblocking 2015-02-20 02:34:17 +01:00
twinaphex a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00