Brad Parker
a3a5f6e07e
win32: add Unicode versions of getenv, GetModuleFileName, LoadLibrary and _mkdir
2017-12-27 02:55:53 +00:00
twinaphex
c6217ef14b
(file_path.c) Get rid of libretro.h dependency
2017-12-14 20:06:15 +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
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537
Replace function signatures of file_stream file functions
2017-12-10 22:25:38 +01:00
Brad Parker
49d0299808
LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode
2017-12-04 22:49:08 -05:00
twinaphex
6ed5a911d7
Create path_mkdir_error
2017-11-28 08:59:33 +01:00
Alcaro
3fa035ba2a
This include doesn't go here
2017-11-25 20:25:59 +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
1842471eb1
use filestream_open to check if a file exists
2017-10-28 16:00:51 -04:00
twinaphex
f8a60b2b76
Create LEGACY_WIN32 ifdef
2017-10-16 01:51:59 +02:00
twinaphex
8464ad30bd
(Xbox 360) Buildfixes
2017-10-16 01:33:17 +02:00
Brad Parker
1b1d5c468d
win32: use unicode functions for file IO if supported
2017-10-15 17:41:34 -04:00
Brad Parker
a7c8cc88e5
win32: support local multibyte encoding for file paths
2017-10-14 23:13:24 -04:00
Brad Parker
07566c51a1
VC6 buildfixes, add Makefile.griffin target for it
2017-09-07 11:50:10 -04:00
Brad Parker
0a1b3fedc0
VC6 support (targets NT 3.51)
2017-09-06 23:03:02 -04:00
Brad Parker
1204715525
msvc throws debug assert with fopen on a null string
2017-09-03 23:52:58 -04:00
twinaphex
ddb4867c52
(file_path.c) Cleanups
2017-06-28 04:51:58 +02:00
twinaphex
e1041030a2
Get rid of stdstring.h dependency for file_path.c
2017-06-28 04:44:33 +02:00
twinaphex
d3868cc06f
Get rid of retro_assert usage in file_path.c
2017-06-26 05:33:47 +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
dd517f4660
Try to avoid directly calling strcmp
2017-04-21 13:56:15 +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
96ffd8e025
Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
...
This reverts commit 4103b70833bacdd6fdd5af697bff92b996cd4f1c.
2016-12-17 12:55:38 +01:00
twinaphex
4103b70833
Remove HAVE_COMPRESSION ifdefs in file_path.c
2016-12-17 12:20:49 +01:00
twinaphex
5364b0b837
Move compression-related code outside of libretro-common file_path.c
...
and move it into RetroArch's file_path_special.c file instead
2016-12-17 11:54:46 +01:00
twinaphex
bd67208d74
Remove some unnecessary ifdefs for file_path.c
2016-12-17 11:16:43 +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
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -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
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
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
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
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