Commit Graph

31 Commits

Author SHA1 Message Date
twinaphex
39b41a1f51 file_archive_get_file_list - take out HAVE_COMPRESSION code 2016-12-17 11:59:19 +01:00
twinaphex
4fb6808321 libretro-common is MIT and we don't want individual copyright
per authors here; RetroArch is GPL and it's fine there
2016-10-27 19:52:58 +02:00
twinaphex
88e88e92f3 Prevent crash with zipped roms 2016-10-27 19:50:19 +02:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex
df87fc7043 Cleanups - prevent implicit memsets 2016-10-16 02:00:59 +02:00
twinaphex
5f5571e241 (libretro-common) don't do implicit memset 2016-10-08 20:04:48 +02:00
Brad Parker
af98ee1c8a Add CRC calculation function that works with archives with or without a path inside (first file is used if no path)
Add all archive's contents to database scan list when scanning files and directories

Allow scanning a single file that is an archive

Remove unnecessary prototypes from archive_file.h

Simplify retrieving of CRCs from archives when scanning
2016-09-25 00:15:05 -04:00
twinaphex
dac5b1aabd Fix warning 'dereference after null' 2016-09-23 02:05:12 +02:00
twinaphex
d641930baf Fix statement is unreachable warning 2016-09-22 23:10:11 +02:00
Brad Parker
d493273bcf use first extracted file if one is not specified and !need_fullpath and !block_extract 2016-09-22 16:03:31 -04: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
2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
Brad Parker
a7ffead8f6 fix more memory corruption 2016-09-18 15:20:27 -04:00
Brad Parker
dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04: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
twinaphex
5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex
e88e580832 (libretro-common) archive_file.c - Cleanups 2016-04-08 02:51:17 +02:00
twinaphex
e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex
3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex
c7e13e2bcd (libretro-common) Rename file_archive to archive_file 2016-03-20 16:14:40 +01:00