Commit Graph

515 Commits

Author SHA1 Message Date
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 d1ad5c336e Silence warnings 2018-01-02 06:28:05 +01:00
Alcaro e0eb5e698e We'll want a test suite at some point, here's the first test 2018-01-01 20:55:26 +01:00
Alcaro a79b3250ce why is -common trying to call out of -common 2018-01-01 20:42:10 +01:00
twinaphex 07f13876fc Fix playlist issues with extract_value - the name of the last playlist
entry in history list was being reused for the next playlist entry
2018-01-01 20:17:41 +01:00
twinaphex 21c1acac73 Prevent another Coverity warning - memory corruption 2018-01-01 17:24:00 +01:00
twinaphex b279dfcb64 Simplify extract_value 2018-01-01 16:45:18 +01:00
twinaphex 515918f80c config_file.c - fix Coverity warning - resource leak of
path
2018-01-01 16:37:20 +01:00
twinaphex e566a5591b Revert "Revert config_file.c"
This reverts commit 2f422a457f.
2018-01-01 07:45:57 +01:00
twinaphex f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc.
2018-01-01 07:45:56 +01:00
twinaphex 20122d21ee CXX_BUILD buildfix 2017-12-30 08:12:38 +01:00
Brad Parker a3a5f6e07e win32: add Unicode versions of getenv, GetModuleFileName, LoadLibrary and _mkdir 2017-12-27 02:55:53 +00:00
twinaphex a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex 2f422a457f Revert config_file.c 2017-12-20 02:52:01 +01:00
Alcaro b7249525d4 guess drunk is better than untested 2017-12-19 00:13:19 +01:00
Alcaro b2d5fad4f5 strtok is drunk 2017-12-19 00:08:25 +01: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 e1461cc0de Get rid of hashes in config_file.c 2017-12-11 11:40:36 +01:00
twinaphex 2fd8210e59 Create shareable filestream_getline 2017-12-10 22:35:08 +01:00
twinaphex 2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
twinaphex 95cc8e12d2 Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist 2017-12-10 21:28:13 +01:00
Alcaro e07ed18105 Fix text mode dependency 2017-12-10 21:00:24 +01:00
Brad Parker 1a928b9c50 omit extra slash at end of path, Win95/98 doesn't like them 2017-12-09 16:38:33 -05: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
Alcaro a6ef704369
Update config_file.c 2017-12-04 16:47:27 +01:00
twinaphex 059354de2f Cleanup for config_file_write 2017-12-04 16:26:28 +01:00
Alcaro ff4dca86f9
Turns out this is char*, let's cast because CXX_BUILD wants that 2017-12-04 15:01:58 +01:00
Alcaro 300052626f
Use FILE* all the way
Fixes platforms where RFILE isn't using the FILE* backend, needed for #5664
2017-12-04 14:30:32 +01:00
twinaphex 9558e569f1 We can still make use of this for PowerPC Mac 2017-12-04 05:56:03 +01:00
twinaphex f53093de4d Default to nbio stdio for PowerPC Mac 2017-12-04 03:12:45 +01:00
twinaphex 97529ade6e OSX PowerPC might not define O_CLOEXEC 2017-12-04 02:48:08 +01:00
twinaphex 2203deb499 Need to include config.h here 2017-11-30 03:43:51 +01:00
twinaphex 6ed5a911d7 Create path_mkdir_error 2017-11-28 08:59:33 +01:00
Brad Parker ae6892a89a nbio: buildfix for Windows versions older than 2000 2017-11-27 17:48:07 -05:00
Alcaro a96e3e1ead
fix missing %s 2017-11-27 17:16:22 +01:00
Alcaro 4fb12c4bd3
#5802 2017-11-27 17:09:16 +01:00
orbea 768b1b433c libretro-common: Silence redefined warning. 2017-11-26 20:14:06 -08:00
twinaphex 00d57af005 C89_BUILD fixes 2017-11-26 22:53:42 +01:00
twinaphex e35394d4bd Fix MSVC 2003 build 2017-11-26 22:41:34 +01:00
Alcaro 3fa035ba2a This include doesn't go here 2017-11-25 20:25:59 +01:00
twinaphex 369be389f4 Don't need HAVE_MMAP for linux 2017-11-25 18:42:12 +01:00
Twinaphex ff7a244f5b use Unix mmap for OSX/macOS now 2017-11-25 18:39:09 +01:00
twinaphex e78ec12973 Can't have redefinitions of nbio_t in Griffin 2017-11-25 18:33:22 +01:00