230 Commits

Author SHA1 Message Date
Rob Loach
26b9cb3c78
libretro-common: Clean up dependencies of file_path
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
radius
3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
twinaphex
f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc0b19dd9fe665059f2143d29fa01868.
2018-01-01 07:45:56 +01:00
twinaphex
a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex
c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Brad Parker
8c0adf3594 move path_file_rename and path_file_remove into VFS 2017-12-14 13:32:26 -05:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
e78ec12973 Can't have redefinitions of nbio_t in Griffin 2017-11-25 18:33:22 +01:00
twinaphex
7a772b9cd4 Create nbio_intf.c 2017-11-25 05:35:55 +01:00
Alcaro
b5722127c7 Fix docs 2017-11-25 00:26:13 +01:00
Alcaro
053fbd6f27 Add mmap-based nbio implementation (which is too fast for the tests but otherwise passes) 2017-11-24 22:08:57 +01:00
twinaphex
13e0bd1932 Change function signature of file_path_rename 2017-11-06 19:17:42 +01:00
twinaphex
e5d4e2ac0a Silence a lot of warnings 2017-11-06 19:13:54 +01:00
Brad Parker
68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
Brad Parker
a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
twinaphex
3564562563 database_info.c - use malloc 2017-09-29 05:01:00 +02:00
twinaphex
ddb4867c52 (file_path.c) Cleanups 2017-06-28 04:51:58 +02:00
twinaphex
cf71d465a3 Turn mkdir_norecurse into static function 2017-06-16 15:33:06 +02:00
twinaphex
6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex
ab2d94bb64 Update libretro-common 2017-03-26 04:54:50 +02:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex
d4796caabd (libetro-common) Turn path_contains_compressed_file into a macro 2016-12-17 14:01:25 +01:00
twinaphex
8042c2ac62 Move config_file_userdata.c to libretro-common 2016-12-12 12:36:46 +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
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
4d49bb44f2 (OSX) Buildfix 2016-09-21 02:30:21 +02: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
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
Brad Parker
2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
Brad Parker
050ab56038 set archive path before extracting 2016-09-18 16:05:58 -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
Brad Parker
7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -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
4daecbf04d false is still not 1 2016-08-25 21:46:59 -04: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
twinaphex
465d17a6e2 (libretro-common) Update files 2016-08-24 01:45:59 +02:00
meleu
e1f4b41bb6 added fill_str_dated_filename() prototype 2016-08-19 08:49:09 -03: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
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
twinaphex
7647c9be59 Add noext versions 2016-06-28 13:08:03 +02:00