twinaphex
12ec690044
Add samples test file for config_file
2020-01-30 17:02:52 +01:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
twinaphex
eb4e365820
(libretro-common) Cleanups
2020-01-27 17:00:18 +01:00
twinaphex
df8f93e9d5
Split up VFS file_path code into separate file
2020-01-09 15:44:48 +01:00
jdgleaver
1df3e20bdd
Add option to automatically rotate overlays
2019-10-04 12:15:57 +01:00
Twinaphex
ae7d956341
Silence warning
2019-09-23 01:44:53 +02:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
LazyBumHorse
db723df879
fix path_relative_to
2019-09-22 16:29:54 +02:00
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
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
15470596ad
Remove 'puts' lines
2019-09-19 04:19:18 +02:00
twinaphex
f4c6b06b49
(file_path.c) Remove some strlcpy/strlcat invocations
2019-09-19 03:45:18 +02:00
twinaphex
8fa6230426
Cleanups
2019-09-18 02:16:47 +02:00
twinaphex
5024b77492
Prevent more strlcats that are quite trivial
2019-09-17 02:43:40 +02:00
twinaphex
4d45174940
file_path.c - cleanups
2019-08-11 22:37:23 +02:00
Brad Parker
7935cc80ee
media: add function to parse cue and detect system from first data track
2019-07-30 02:37:00 -04:00
jdgleaver
35cdff8704
(config_file.c) Only attempt to load config file if it exists
2019-07-25 12:25:52 +01: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
Twinaphex
388c4857d3
Merge pull request #9140 from LazyBumHorse/shader_paths
...
much improved handling of relative shader paths
2019-07-20 21:54:58 +02:00
LazyBumHorse
2245af23e9
much improved handling of relative shader paths
...
- save texture paths in relative format as well
- always write portable relative paths on Windows using '/' instead of '\'
- remove an ancient piece of code that could sometimes fail loading relative paths
- fix absolute path handling between different drives for Windows
- integrate video_shader_resolve_relative() into video_shader_parse_* functions
2019-07-20 18:29:46 +02:00
twinaphex
efb98a8a01
Cleanup file_archive_get_file_backend
2019-07-20 16:01:56 +02:00
twinaphex
c2c7c106a1
Add conf->path for config_file_new_from_path_to_string
2019-07-20 00:39:55 +02:00
twinaphex
0cdfd4c542
Use config_file_new_from_path_to_string entirely
2019-07-18 16:15:02 +02:00
twinaphex
41a2fabb4e
Create config_file_new_from_path_to_string
2019-07-18 12:03:50 +02:00
twinaphex
a6d6c21e52
Rename config_file_new_null to config_file_new_alloc
2019-07-17 19:50:32 +02:00
twinaphex
0c31437c24
Create config_file_new_null
2019-07-17 18:27:53 +02:00
Yoshi Sugawara
dba1302360
Playlist (iOS): support abbreviating and expanding application and home directory paths so that playlist entries are valid across installs
...
iOS: add call to realpath() when setting directory to ensure expanding special chars in paths work; fixed braces style
2019-07-15 16:11:22 -10:00
twinaphex
594dd84e6e
Fix 'declaration hides parameter'
2019-07-14 13:21:14 +02:00
twinaphex
6bc0f0fcbd
(config_file) Be more safe with free
2019-07-13 15:23:28 +02:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
twinaphex
33d4d8b7c9
Update libretro-common
2019-06-14 13:13:49 +02:00
twinaphex
133c38c601
(file_path.c) Cleanups
2019-06-14 04:57:17 +02:00
jdgleaver
feae08e5e7
(Wii) Fix recursive path_mkdir() operations
2019-06-10 14:26:41 +01:00
LazyBumHorse
d67a118ad4
path_relative_to: fix return in void function
2019-06-08 19:15:52 +02: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
c3c3eedfa2
file_archive_get_file_list - file_archive_walk returns boolean type,
...
not integer
2019-05-31 07:48:10 +02:00
twinaphex
22d762be67
We need to split up zlib headers in libretro-common to its own separate
...
dir
2019-05-27 03:40:14 +02:00
twinaphex
32f9b9ab9a
(PS4/ORBIS) Move path_is_directory code parts to VFS layer - hope I did
...
it right
2019-05-22 02:32:22 +02:00
twinaphex
f117d763d6
Create path_stat and use it
2019-05-22 02:21:30 +02:00
twinaphex
64f9477ef6
Simplify find_last_slash for non-WIN32
2019-05-12 05:02:45 +02:00
twinaphex
985ed6cd2b
Small cleanups
2019-05-12 04:47:27 +02:00
twinaphex
74388d8490
Remove string_concat
2019-05-10 18:05:58 +02:00
twinaphex
5794c2051c
path_mkdir - safety check
2019-05-06 03:09:44 +02:00
twinaphex
0919cd9746
(Legacy Win32) Be more careful with retro_vfs_stat_impl
2019-05-06 03:00:51 +02:00
twinaphex
39eadbab6f
Use string_concat in more performance critical areas
2019-04-30 21:17:51 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
twinaphex
0984a13665
We can't use RARCH_LOG and friends inside libretro-common code
2019-04-29 14:49:24 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00