twinaphex
|
edae66e413
|
Faulty fall-through
|
2017-12-17 17:12:02 +01:00 |
twinaphex
|
6622cb0810
|
Update libretro API
|
2017-12-16 14:12:38 +01:00 |
twinaphex
|
c63859cca9
|
Add safeguard suggested by Alcaro
|
2017-12-16 00:19:56 +01:00 |
twinaphex
|
1b6b670882
|
filestream - use int64_t
|
2017-12-15 21:10:58 +01:00 |
twinaphex
|
42462c2ba9
|
Silence some warnings
|
2017-12-15 18:31:12 +01:00 |
Alcaro
|
cbdb91a668
|
Remove file_ prefixes, for consistency with the rest of libretro. They're not useful, anything they'd mean is provided by the vfs_iface-> anyways. Also rename delete to remove to match libc and avoid C++ keywords.
|
2017-12-15 17:28:55 +01:00 |
twinaphex
|
1932513edb
|
Update libretro-common
|
2017-12-15 00:31:37 +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 |
Alcaro
|
26e191f642
|
These have no reason to not be static
|
2017-12-14 18:58:20 +01:00 |
twinaphex
|
ef3ba4d989
|
Get rid of retro_vfs_file_putc
|
2017-12-14 18:45:54 +01:00 |
Alcaro
|
d5847c2391
|
Revert and fix "Don't use opaque handle to get around warnings and other issues"
This reverts commit e23409926e .
|
2017-12-14 17:28:13 +01:00 |
twinaphex
|
7bf996abe6
|
Cleanup
|
2017-12-14 16:53:19 +01:00 |
twinaphex
|
2c0c6ae65e
|
Attempt to fix MSVC
|
2017-12-14 15:41:23 +01:00 |
twinaphex
|
e23409926e
|
Don't use opaque handle to get around warnings and other issues
|
2017-12-14 15:06:28 +01:00 |
twinaphex
|
dadf968134
|
Add TODO/FIXME note
|
2017-12-14 14:05:55 +01:00 |
twinaphex
|
0b6c191354
|
Start moving file stream code over to vfs_implementation.c
|
2017-12-14 14:03:42 +01:00 |
twinaphex
|
7788a852c0
|
Some more cleanups
|
2017-12-14 00:16:18 +01:00 |
twinaphex
|
d12df0d91f
|
Rewrite file_stream.c - reimplement filestream_error
|
2017-12-14 00:01:58 +01:00 |
twinaphex
|
4dfbfc4d02
|
Reimplement filestream_gets
|
2017-12-13 19:19:49 +01:00 |
twinaphex
|
f8fd94f6f4
|
Buildfix
|
2017-12-12 12:22:06 +01:00 |
gblues
|
0f7de204f7
|
Last batch of whitespace cleanup (post-rebase)
-- looks like a few files committed with DOS line endings
|
2017-12-12 00:24:46 -08: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
|
9aa3dc2423
|
Buildfix
|
2017-12-11 22:01:54 +01:00 |
twinaphex
|
779d9a4258
|
Cleanup
|
2017-12-11 21:58:17 +01:00 |
twinaphex
|
dca96ba6ad
|
Reimplement filestream_getc
|
2017-12-11 21:49:51 +01:00 |
twinaphex
|
57b730ab61
|
Start implementing VFS layer ; first split up VFS libretro functionality
to separate header until things are finalized
|
2017-12-11 21:24:14 +01:00 |
twinaphex
|
784bb32c64
|
Cleanups
|
2017-12-11 19:55:42 +01:00 |
twinaphex
|
a1ce8b58c4
|
Simply formats/xml/rxml.c
|
2017-12-11 18:01:56 +01:00 |
twinaphex
|
5960cd80d2
|
Simplify filestream_read_file
|
2017-12-11 17:59:18 +01:00 |
twinaphex
|
ad70bb9866
|
Get rid of unused filestream_get_ext
|
2017-12-11 17:42:00 +01:00 |
twinaphex
|
43c9bb374d
|
filestream_set_size can be made a static function
|
2017-12-11 17:39:56 +01:00 |
twinaphex
|
5b8f8b50e3
|
Reimplement filestream_eof
|
2017-12-11 17:36:20 +01:00 |
twinaphex
|
32511090ca
|
(task_save.c) Move to intfstream
|
2017-12-11 14:56:58 +01:00 |
twinaphex
|
e62e9233d7
|
Add intfstream_get_size
|
2017-12-11 13:21:44 +01:00 |
twinaphex
|
61d3f90cae
|
Add hint defines to libretro.h
|
2017-12-11 12:53:47 +01:00 |
twinaphex
|
38e6d2443f
|
Change functions
|
2017-12-11 12:31:14 +01:00 |
twinaphex
|
fde596fae4
|
Cleanups
|
2017-12-11 12:25:44 +01:00 |
twinaphex
|
8aa4d6d148
|
Move convenience functions to interface_stream.c
|
2017-12-11 12:23:40 +01:00 |
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 |
twinaphex
|
e5d4e2ac0a
|
Silence a lot of warnings
|
2017-11-06 19:13:54 +01: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 |
Alcaro
|
c91c4ff9c0
|
Nuke some more ifdefs and warnings
|
2017-10-03 00:35:41 +02:00 |
Brian Koropoff
|
96c3d6cc1d
|
Remove debug abort() left in by accident
|
2017-10-01 13:10:24 -07:00 |
twinaphex
|
02cc57e5b3
|
Cleanup
|
2017-09-30 07:52:00 +02:00 |
twinaphex
|
aab154fadf
|
(chd_stream.c) Cleanups
|
2017-09-30 01:45:48 +02:00 |
twinaphex
|
f5dedd673f
|
(trans_stream_zlib.c) Try to prevent null pointer dereferences
|
2017-09-30 01:41:09 +02:00 |
twinaphex
|
542f87bf55
|
Prevent leaks
|
2017-09-29 21:29:34 +02:00 |
twinaphex
|
6141761e63
|
Take out libchdr include from interface_stream.h
|
2017-09-22 04:47:58 +02:00 |
twinaphex
|
46b79ccd78
|
Compilation fixes - headers need to be moved to separate include dir
|
2017-09-21 19:34:46 +02:00 |
Brian Koropoff
|
7061cb14fb
|
chd_stream: support CHDs from GDI files
|
2017-09-18 09:03:43 -07:00 |
Brian Koropoff
|
5b20c13f92
|
chd_stream: support PRIMARY special track
|
2017-09-18 09:00:39 -07:00 |
twinaphex
|
21ff58f66e
|
Cleanups
|
2017-09-18 12:55:11 +02:00 |
twinaphex
|
e35eeb8a42
|
Cleanups
|
2017-09-17 19:06:58 +02:00 |
twinaphex
|
9cfc41d96c
|
Fix warnings
|
2017-09-17 18:53:58 +02:00 |
Brian Koropoff
|
a5dc63b390
|
common: integrate chd into interface stream
|
2017-09-17 02:02:04 -07:00 |
Brian Koropoff
|
2c7b6a94e4
|
common: add chd_stream interface
|
2017-09-17 02:02:04 -07: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 |
twinaphex
|
e517e9b96a
|
Add file_stream_transforms
|
2017-07-27 09:09:37 +02:00 |
twinaphex
|
46806e7204
|
Bake out stdin_stream.c
|
2017-05-30 03:00:11 +02:00 |
Maxime Gauduin
|
f3453500d4
|
Fix compilation with GCC 7.1.0
|
2017-05-25 13:36:11 +02:00 |
twinaphex
|
8c796f694f
|
Windows buildfix
|
2017-05-21 10:04:02 +02:00 |
twinaphex
|
e4055e0d1b
|
Add headers
|
2017-05-20 19:05:09 +02:00 |
twinaphex
|
eec0613c10
|
Add header include
|
2017-05-20 16:24:32 +02:00 |
twinaphex
|
d339eb327c
|
Don't implement read_stdin for Xbox
|
2017-05-20 15:09:19 +02:00 |
twinaphex
|
e4210f5b00
|
Can't do this on Xbox
|
2017-05-20 15:02:34 +02:00 |
twinaphex
|
58787e6d89
|
(libretro-common) Create stdin_stream.c
|
2017-05-20 14:58:51 +02:00 |
twinaphex
|
126a5bf121
|
Use string_is_equal_fast/string_is_not_equal_fast
|
2017-05-16 04:00:37 +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
|
f9bc2d3783
|
Use memcmp instead of string_is_equal where possible for
better performance
|
2017-04-21 22:47:15 +02:00 |