80 Commits

Author SHA1 Message Date
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
93ee4df5f5 Move RFILE_HINT_UNBUFFERED to file_stream.c 2017-12-11 11:47:13 +01:00
Twinaphex
85d9d986eb Buildfix 2017-12-10 22:46:39 +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
d19eaeaab8 (file_stream.c) Cleanups; buildfix 2017-12-10 22:10:32 +01:00
twinaphex
1298a257ae Make HAVE_BUFFERED_IO the new default 2017-12-10 22:07:42 +01:00
twinaphex
a8e031777e * Get rid of RFILE_MODE_READ_TEXT
* Get rid of PSP ifdef sinside file_stream.c
2017-12-10 22:05:24 +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
Francisco José García García
90dd2892b0
FIX sceIoOpen return error 2017-12-04 18:09:37 +01:00
Alcaro
c10859b745
Update file_stream.c 2017-12-04 14:31:31 +01:00
Alcaro
e4bb8e7aeb
Update file_stream.c 2017-12-04 13:52:11 +01:00
Alcaro
0d4ac12310
Update file_stream.c 2017-12-04 13:34:15 +01:00
Alcaro
df55e6b4d1
actually, let's just completely remove it 2017-12-04 13:30:38 +01:00
Alcaro
89f7afdc8f
silence warning 2017-12-04 13:28:38 +01:00
Alcaro
4e66962ba8
#5664 2017-11-29 21:39:35 +00:00
twinaphex
72fdfb1edd Add HAVE_CONFIG_H to file_stream.c 2017-11-25 06:17:19 +01:00
Brad Parker
94aa2cd08a document setvbuf changes, only call it with bufsize >0 2017-11-17 16:12:36 -05:00
Brad Parker
07f3919811 only call setvbuf right after opening file, and use our own buffer for C89 compliance 2017-11-17 02:28:45 -05:00
twinaphex
0703615bf5 Cleanup 2017-11-08 17:37:16 +01:00
Rob Loach
9f222010de
Fix strdup() call when no path is provided 2017-11-08 11:31:17 -05:00
Brad Parker
2ce53f32ac PSP buildfix 2017-10-30 23:31:51 -04:00
Brad Parker
28ec3ac3b5 temporary fix for startup hang on Windows 2017-10-30 16:48:34 -04: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
89265f5cf2 filestream_seek does not return the position in the file 2017-10-29 12:08:24 -04:00
Brad Parker
0d06a48546 use LEGACY_WIN32 ifdef for filestream also 2017-10-16 00:39:16 +00:00
Brad Parker
bd06668075 win32: forgot to add unicode functions for filestream 2017-10-16 00:30:25 +00:00
Brad Parker
a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
twinaphex
02cc57e5b3 Cleanup 2017-09-30 07:52:00 +02:00
twinaphex
542f87bf55 Prevent leaks 2017-09-29 21:29:34 +02:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex
42ac90665e Buildfix 2017-09-06 23:40:38 +02:00
twinaphex
47b4de7bbf Update 2017-09-06 23:17:00 +02:00
Maxime Gauduin
f3453500d4 Fix compilation with GCC 7.1.0 2017-05-25 13:36:11 +02:00
twinaphex
779a7676d6 Try to prevent null pointer dereference 2017-05-08 22:53:06 +02:00
Twinaphex
927ed42498 Fix filestream memory leak 2017-04-28 21:27:40 +02:00
twinaphex
edadba1ec7 Silence valgrind memcheck warning 2017-04-23 20:26:31 +02:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
e6ee2527e5 Add filestream_get_size/filestream_set_size 2017-02-18 02:21:33 +01:00
twinaphex
e9524f1b95 Add filestream_get_ext 2017-02-18 02:16:40 +01:00
twinaphex
7a5ed7cc65 Add filestream_flush and use filestream interface for tasks/task_save.c 2017-02-17 03:03:18 +01:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
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
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
d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Brad Parker
187e1fc71b use wide fopen() on windows 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