68 Commits

Author SHA1 Message Date
twinaphex
7cfd996802 Add return value to fill_pathname_noext 2019-09-21 01:41:56 +02:00
twinaphex
6d8bc91220 Start returning sizes for file_path functions 2019-09-21 00:01:09 +02:00
LazyBumHorse
6285c05948 add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path() 2019-07-22 13:44:35 +02:00
LazyBumHorse
7006764c12 replace realpath() by custom code which does not resolve symlinks 2019-07-22 12:10:28 +02:00
Brad Parker
15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
LazyBumHorse
2816730b2f make shader presets use relative paths
Also change fill_pathname_resolve_relative() to apply path_resolve_realpath() as well
2019-06-07 16:11:06 +02:00
twinaphex
f117d763d6 Create path_stat and use it 2019-05-22 02:21:30 +02:00
Ghabry
5faf6a124d UWP VFS: Calculate buffer offset correctly when read fails due to EOF 2019-04-28 12:15:46 +02:00
Ghabry
c209b0b3d9 UWP: Improve IO performance by manually buffering short reads.
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Ghabry
4390317992 Revert "(UWP/WinRT)"
This reverts commit b43b3e2bb0554ca92db204855692d9a74332cfda.
2019-04-27 15:01:01 +02:00
twinaphex
b43b3e2bb0 (UWP/WinRT)
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
krzys-h
e6fc4220fa Revert "Revert "VFS v3: stat, mkdir, directory listings""
This reverts commit a549e28f0101cf42b6ee6ef4834ddcf983f0b448.
2019-01-16 21:01:29 +01:00
Twinaphex
a549e28f01
Revert "VFS v3: stat, mkdir, directory listings" 2019-01-16 03:53:34 +01:00
Twinaphex
d4b33ac1ad
Merge pull request #7995 from krzys-h/vfs-v3
VFS v3: stat, mkdir, directory listings
2019-01-16 02:38:54 +01:00
krzys-h
cc7541338c Fix parent of root directory turning into ./ on Windows (#7803) 2019-01-14 20:48:55 +01:00
krzys-h
109de0bebb VFS v3: stat, mkdir, directory listings 2019-01-13 00:33:24 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
krzys-h
b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
twinaphex
23b0444afe Update libretro-common 2018-05-28 17:30:56 +02:00
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
74d4bc80d9 (libretro-common) Updates 2018-04-19 09:43:21 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex
89e912087b Put RARCH_INTERNAL ifdef around this 2018-03-28 16:41:37 +02:00
Brad Parker
aaf35f53f8 fill_pathname_parent_dir_name: return failure if path has no slash 2018-02-08 23:19:12 -05:00
twinaphex
f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
Brad Parker
722137296d add fill_pathname_parent_dir_name function 2018-01-28 15:55:27 -05:00
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
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
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
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
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
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
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
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