Commit Graph

89 Commits

Author SHA1 Message Date
Timo Strunk
16ecc685fb Changed file handling in dir_list_new functions to allow for different filetypes already then. Added path_is_compressed_file function. This commit is unsafe, it breaks all menus 2014-09-04 21:42:49 +02:00
Timo Strunk
0c4c749f81 Added commandline 7z support 2014-09-02 17:05:15 +02:00
twinaphex
0856091296 Cleanups - 80-char limit 2014-09-02 05:57:53 +02:00
Higor Eurípedes
ebeec0d056 (Haiku) Fix fill_pathname_application_path() 2014-08-28 13:45:12 -03:00
twinaphex
5c2006c072 Remove extraneous elses 2014-08-27 02:06:39 +02:00
twinaphex
c3c0341f8c (file_path.c) Declare variables at top 2014-08-02 12:01:11 +02:00
twinaphex
216a3e4ea7 (QNX) Change __BLACKBERRY_QNX__ define to __QNX__ 2014-05-20 02:48:11 +02:00
twinaphex
bbce01a449 (Lakka) Lakka now uses assets directory instead of hardcoded
/usr/share/retroarch
2014-05-10 05:25:50 +02:00
Themaister
2d840ef826 Small bugfix and docs fix. 2014-04-04 15:13:44 +02:00
Themaister
6e42f4485d Join core info lists with new string_list_join_concat(). 2014-03-04 10:17:00 +01:00
twinaphex
d4f9c211ee (PSP) Build fixes 2014-02-11 16:10:40 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
e5bedc343a At least use long for return type of read_file().
int is not acceptable as a return type for anything regarding sizes.
long is dubious as well, but better (64-bit on sane ABIs and the return
type of ftell()).
2013-12-31 22:54:11 +01:00
twinaphex
c5cbec6fdc Build fix - don't include msvc_compat.h reference in file_path.h -
instead just change return type for file_read to int
2013-12-31 21:55:09 +01:00
twinaphex
cf4c68a072 Make return type of read_file ssize_t again - include
msvc_compat for Win32 boxes to get typedef for ssize_t
2013-12-26 22:51:17 +01:00
twinaphex
75306f7057 (XDK Salamander) Build fix - ssize_t not there on MSVC 2003 - but
size_t is
2013-12-26 21:30:31 +01:00
twinaphex
84c489d0da file_path.c - Fix unused variable warning 2013-12-25 01:28:55 +01:00
Themaister
4ac75a8058 Don't allow more than one abbrev to take place. 2013-12-24 23:40:16 +01:00
Themaister
5f1c3b48b3 Safeguard a bit in fill_pathname_abbrev*. 2013-12-24 23:37:03 +01:00
Themaister
c52f328a4e Some style nits. 2013-12-24 23:02:45 +01:00
meancoot
4d671fe116 Make settings abbreviate paths when saving config file. 2013-12-24 12:23:21 -05:00
twinaphex
a6e012e747 (iOS) Refactor out path_make_and_check_directory 2013-11-22 01:56:54 +01:00
twinaphex
cf20416aab Make file_path.c more self-contained.h 2013-11-06 14:21:12 +01:00
twinaphex
ed1b012250 (360) Build fixes 2013-11-01 17:16:02 +01:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister
7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Themaister
34ce65d9c4 Rework extension files to only consider basename.
Only consider last '.' in the basename of a file.
2013-10-06 12:16:44 +02:00
Themaister
3d212c1d7c Start refactoring file_extract.
Add support for low-level parsing of zip contents.
2013-10-05 18:07:38 +02:00
twinaphex
452dd2cad8 (RARCH_CONSOLE) Replace rarch_make_dir with path_mkdir 2013-10-01 17:00:49 +02:00
Themaister
57cbbde420 Create a default config file if it doesn't exist. 2013-10-01 11:57:07 +02:00
Themaister
17e2da87e1 Don't hardcode rgui.cgp/glslp as default.
In a multi-config environment, shader manager could conflict.
Instead, infer the default RGUI shader cgps/glslps from config path.

Fallback to old rgui.cgp/rgui.glslp if we use a default config.
2013-09-27 00:19:02 +02:00
Themaister
df79b8ea3d Ensure that g_settings.libretro is absolute path.
Avoid issues when relative libretro paths are stored in ROM history.
2013-05-13 23:25:37 +02:00
twinaphex
f659151c8f (PS3) Clean up FS defines 2013-05-01 04:04:38 +02:00
Themaister
e2229ec3c3 Use strcasecmp in extension checking. 2013-04-30 23:58:49 +02:00
Themaister
ab377bf1ec Fix symlink directories on POSIX. 2013-04-20 11:30:42 +02:00
twinaphex
da8bbde11d Simplify some _WIN32 includes 2013-04-11 22:35:15 +02:00
twinaphex
ddd6acd4e2 (Blackberry) S_ISDIR would be broken if left undefined on Blackberry -
figure out what the deal is here
2013-04-11 19:05:28 +02:00
twinaphex
30e190bdae Remove superfluous wcstombs / mbstowcs wrappers 2013-04-11 17:18:23 +02:00
Themaister
54cf6bc06f Remove . and .. from dir_list_new win32. 2013-04-04 23:05:21 +02:00
Themaister
2e03a4b3ba Refactor slash handling slightly. 2013-03-17 12:59:52 +01:00
Themaister
2588e60180 Add relative-to-application querying to config. 2013-03-17 12:28:26 +01:00
twinaphex
343a85c6dc (Playbook) Add Playbook ifdefs - cut down on compilation errors 2013-02-25 01:19:12 +01:00
Themaister
dac5976c87 Don't hardcode in an ext in fill_dated_*. 2013-02-17 10:20:10 +01:00
twinaphex
0a0aba068d Rename screenshot_generate_filename 2013-02-17 03:50:19 +01:00
Themaister
b928d6d2e9 Fix path logic bug for Windows. 2013-01-12 23:34:24 +01:00
Themaister
4212a93eef Fix logic bug with Windows path handling.
Fixes bug when a path contains different slash types
in same path, e.g. C:/foo\bar.
2013-01-12 01:58:06 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
efa78bded7 Make the correct strlcat assertion. 2012-11-25 16:29:34 +01:00
Themaister
98ed53f17d Fix strlcat calling bug. 2012-11-25 16:28:05 +01:00
Themaister
8b09314aa3 Add fill_pathname_parent_dir. 2012-11-25 16:22:53 +01:00