twinaphex
9700a009c5
(7zip) Use normal stdint.h types that don't conflict with PowerPC
...
Mac's OSTypes.h
2021-08-07 01:43:08 +02:00
jdgleaver
a501dfd680
Update 7-Zip dependency to latest stable version (fixes CHD support on static platforms)
2021-04-28 12:00:50 +01:00
twinaphex
7642cf5fa5
Struct reorders/alignment
2020-08-14 22:54:46 +02:00
Bernhard Schelling
0ddb073784
First set of cleanups to archive handling
...
- Don't read the entire archive file into memory on systems without HAVE_MMAP
- Support ZIP files between 2GB ~ 4GB on 32bit architectures
- Remove zip exclusive members from `file_archive_transfer`
- Add `zip_context_t` for zip like the already existing `sevenzip_context_t`
- Unify cleanups of zip and 7z in `file_archive_file_backend::archive_parse_file_free`
- Handle some sizes and offsets as int64_t (preparation for future Zip64 support)
- Handle compression methods in `zlib_stream_decompress_data_to_file_init` not in `file_archive_perform_mode`
- Return progress of 7z iterating with `file_archive_parse_file_progress`
2020-07-12 00:51:35 +09:00
twinaphex
6e59d52184
Cleanups/comments
2020-07-07 05:58:07 +02:00
twinaphex
b9f65af98a
(Libretro-common) Sync
2020-06-24 15:05:03 +02:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
twinaphex
eb4e365820
(libretro-common) Cleanups
2020-01-27 17:00:18 +01:00
Brad Parker
a1b831abdb
allow 7z archives to have multiple files extracted at once
2018-08-06 20:44:59 -04:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
twinaphex
bd73d4b98a
Cleanups
2018-01-17 06:44:16 +01:00
twinaphex
11f26ed549
Refactor verbosity code - try to avoid log calls if verbosity is not
...
set
2018-01-17 06:28:26 +01:00
twinaphex
8ca98e0a18
Buildfix
2018-01-05 14:14:42 +01:00
Twinaphex
f4250a1ad5
Silence unused variable warnings
2018-01-05 14:13:58 +01:00
Brad Parker
228049df11
7zip: only use Unicode file open on Windows
2018-01-02 20:48:19 -05:00
bparker06
c51b107d9c
Update archive_file_7z.c
2018-01-02 20:24:48 -05:00
Brad Parker
54e7ec8e79
win32: use Unicode file I/O for 7zip archives when available
2018-01-02 20:21:55 -05:00
twinaphex
451dc774b0
Update libretro-common
2017-11-06 05:26:07 +01:00
Rob Loach
e29e8d9c62
Fix for included 7zip headers
2017-11-04 16:21:02 -04:00
twinaphex
df60512a0d
Cleanup our dep version of 7zip - we don't want non-stdint types.
...
Other misc. cleanups
2017-09-21 19:23:09 +02:00
twinaphex
8d1e51af7c
Make archive_file_7z.c less dependent on 7zip source files
2017-06-12 12:26:19 +02:00
twinaphex
126a5bf121
Use string_is_equal_fast/string_is_not_equal_fast
2017-05-16 04:00:37 +02:00
twinaphex
824a619b90
Initialize db manually
2017-02-28 10:53:20 +01:00
Twinaphex
ddae075733
Silence more warnings
2017-02-27 01:28:01 +01:00
twinaphex
64bb848daf
Update headers (pt. 2 - libretro-common)
2017-01-22 13:58:20 +01:00
twinaphex
89820220b7
(libretro-common) Cleanup/style nits for archive_file_{7z/zlib}
2016-12-19 00:12:24 +01:00
Gregor Richards
ac50e17f50
Moving zlib stream interface
...
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05: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
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -04:00
Brad Parker
f0d1a733e3
fix 7z extraction endless loop
2016-10-11 02:07:21 -04:00
twinaphex
481ebced22
Prevent implicit memsets
2016-10-09 09:56:03 +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
1a55721c78
Fix some high-priority Coverity-catched defects
2016-09-20 16:10:27 +02:00
twinaphex
bfeb0111f8
Fix C89_BUILD errors
2016-09-19 18:29:10 +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
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
Brad Parker
7c29fd6c33
create 7z archive backend, enables scanning of 7z content
2016-09-18 10:31:21 -04:00