Brad Parker
e39031cbd0
revert rest of unicode changes
2016-12-03 00:15:29 -05:00
Brad Parker
f725b48555
starting to revert unicode changes
2016-12-03 00:15:29 -05:00
Brad Parker
b69734ce4a
more unicode fixes
2016-12-02 23:01:44 -05:00
Brad Parker
d20acaa63d
more unicode fixes
2016-12-02 23:00:27 -05:00
Brad Parker
fcf09f10ef
more unicode fixes
2016-12-02 22:12:00 -05:00
Brad Parker
cc7bf6b4fa
more unicode fixes
2016-12-02 21:11:55 -05:00
Brad Parker
3b8a81dd31
make existing hard-coded unicode calls switchable back to ansi
2016-12-02 14:34:29 -05:00
Brad Parker
3846ce1837
build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off
2016-12-02 12:54:39 -05:00
Brad Parker
367dea6723
unicode-ify a couple other windows files, start changing function names to W version explicitly
2016-11-29 20:32:24 -05:00
Brad Parker
8adafa9249
use UTF8/16 conversion functions instead of codepage ones
2016-11-29 14:34:36 -05:00
Brad Parker
495deae31b
still not working
2016-11-29 14:34:36 -05:00
Brad Parker
cd9d09d1f3
use unicode versions of windows functions
2016-11-29 14:34:35 -05:00
twinaphex
4029709658
Fix warning
2016-11-27 14:50:42 +01:00
Gregor Richards
096eb072e1
Replacing archive_file_zlib backend with trans_stream
2016-11-26 15:48:58 -05: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
73ec076160
Merge pull request #3878 from aliaspider/master
...
set config file streams to full buffering. dramatically reduces startup/
2016-10-28 02:57:05 +02:00
aliaspider
fd43a460f4
set config file streams to full buffering. dramatically reduces startup/
...
shutdown latency on some devices with slow I/O access.
2016-10-28 01:49:53 +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
6310f53587
Prevent some implicit memsets and reduce the size of some
...
char variables
2016-10-27 10:45:53 +02:00
twinaphex
053208676f
Prevent null pointer dereference
2016-10-26 09:55:09 +02:00
twinaphex
df87fc7043
Cleanups - prevent implicit memsets
2016-10-16 02:00:59 +02: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
twinaphex
5f5571e241
(libretro-common) don't do implicit memset
2016-10-08 20:04:48 +02:00
aliaspider
e9618dd6a0
(3DS) opendir with an empty string isn't returning NULL as it should.
2016-10-04 19:40:36 +01:00
twinaphex
a1c2036769
Create samples/file/nbio
2016-09-29 21:28:56 +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
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