344 Commits

Author SHA1 Message Date
twinaphex
1a55721c78 Fix some high-priority Coverity-catched defects 2016-09-20 16:10:27 +02:00
twinaphex
14b297b144 Simplify file_archive_file_list_new 2016-09-20 03:25:34 +02:00
Brad Parker
992b87321a more archive paths 2016-09-19 21:06:23 -04:00
Brad Parker
137968c001 treat .apk files as .zip, set archive_path any time we need to decompress a file 2016-09-19 18:38:33 -04:00
twinaphex
bfeb0111f8 Fix C89_BUILD errors 2016-09-19 18:29:10 +02:00
twinaphex
871621fdfa Move implementation file_archive_file_data to archive_file.c 2016-09-19 18:26:16 +02:00
Brad Parker
fb26f3bbb7 fix divide by zero, use non-opaque type for file_archive functions 2016-09-19 12:06:07 -04:00
Twinaphex
3642764064 (archive_file.c) fix warning 2016-09-19 13:30:29 +02:00
Brad Parker
0899cd091e fix selecting 7z archive files other than the first one 2016-09-19 02:43:09 -04:00
Brad Parker
653f5fe96c remove debug prints 2016-09-18 21:22:13 -04:00
Brad Parker
2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
Brad Parker
162efd86dc uncompressed 7z files do not have a compressed size 2016-09-18 17:37:39 -04:00
twinaphex
d25cace9ed Add config_file_exists 2016-09-18 21:55:53 +02:00
Brad Parker
a7ffead8f6 fix more memory corruption 2016-09-18 15:20:27 -04:00
twinaphex
bd1eebc579 Nit 2016-09-18 19:07:48 +02:00
Brad Parker
25105ed565 upstream merge 2016-09-18 12:52:20 -04:00
Brad Parker
dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04:00
twinaphex
93738fae9f CXX_BUILD fix 2016-09-18 18:34:59 +02:00
Brad Parker
f13bce4e50 - use the detected stream backend's crc32 function
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
twinaphex
c2e2d41452 C89_BUILD fixes 2016-09-18 18:28:33 +02:00
twinaphex
4e32fb0fd7 Update archive_file.c 2016-09-18 18:23:14 +02:00
Twinaphex
61c3de1f6a Griffin buildfixes 2016-09-18 16:49:09 +02:00
Brad Parker
7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
Alcaro
5aa0628ebf Kill an overflow or two. Or twelve. 2016-09-04 18:12:03 +02:00
Brad Parker
ae36b0f73d 7z extension is .7z not .zip 2016-08-30 16:31:53 -04:00
radius
cb25a9e4b8 should fix other platforms 2016-08-27 23:39:47 -05:00
radius
7092c0dbf4 windows build fix 2016-08-27 22:59:47 -05:00
Alcaro
9ffffcd249 Fix missing header 2016-08-26 18:29:41 +02:00
Brad Parker
6eebbfd8ae use const delimiter and remove pointer arithmetic 2016-08-26 11:36:52 -04:00
Twinaphex
7edf762ac6 Merge pull request #3426 from bparker06/hash_filename
correctly handle content paths containing a hash (#), fixes issue #3273
2016-08-26 17:20:43 +02:00
Brad Parker
89f9b096e7 style cleanup and fix typos 2016-08-25 21:40:37 -04:00
Brad Parker
097f326298 simplify delimiting of compressed archive filenames 2016-08-25 16:18:29 -04:00
Alcaro
0bd9ccddc1 false is most certainly not 1. 2016-08-25 12:02:42 +02:00
Brad Parker
5275c0a45d correctly handle content paths containing a hash (#), fixes issue #3273 2016-08-24 16:54:10 -04:00
Alcaro
be4e0aee1f Clean up this thing 2016-08-20 21:23:32 +02:00
twinaphex
7f3e63a18d config_set_string - prevent potential crash 2016-08-20 21:21:09 +02:00
meleu
db204afc9c changes based on the @Alcaro suggestions
Suggestions made here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 16:31:13 -03:00
meleu
c92efacebe avoid problems if ROM name has percents
As @Alcaro noted here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 10:13:33 -03:00
meleu
4e44ab99a1 added fill_str_dated_filename() function
This function creates a 'dated' filename prefixed by the string `in_str`, and concatenates extension (`ext`) to it.
2016-08-19 08:45:58 -03:00
Alcaro
4ce3683333 Fix indentation derp 2016-08-17 13:53:41 +02:00
Alcaro
43a6a667be We don't need this one. 2016-08-08 19:14:00 +02:00
twinaphex
a532bc2b0e (PS3 Salamander) Silence unused variable warning 2016-07-24 11:33:44 +02:00
twinaphex
45c33c7acf Create fill_pathname_base_ext 2016-07-01 11:12:24 +02:00
twinaphex
83bafe1b19 Cleanups 2016-06-30 05:04:27 +02:00
twinaphex
5f71ecc1d1 Create fill_pathname_join_special_ext 2016-06-30 04:59:57 +02:00
twinaphex
3f8b1d04ed Reuse code 2016-06-29 18:54:40 +02:00
twinaphex
668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex
a7e8707f7d Create fill_pathname_join_delim_concat 2016-06-29 17:51:25 +02:00
twinaphex
c38c28a0f5 Create fill_pathname_join_concat 2016-06-29 17:46:50 +02:00
twinaphex
f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00