79 Commits

Author SHA1 Message Date
twinaphex
bd67208d74 Remove some unnecessary ifdefs for file_path.c 2016-12-17 11:16:43 +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
481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
twinaphex
5f5571e241 (libretro-common) don't do implicit memset 2016-10-08 20:04:48 +02:00
Brad Parker
af98ee1c8a Add CRC calculation function that works with archives with or without a path inside (first file is used if no path)
Add all archive's contents to database scan list when scanning files and directories

Allow scanning a single file that is an archive

Remove unnecessary prototypes from archive_file.h

Simplify retrieving of CRCs from archives when scanning
2016-09-25 00:15:05 -04:00
Brad Parker
137968c001 treat .apk files as .zip, set archive_path any time we need to decompress a file 2016-09-19 18:38:33 -04:00
Brad Parker
7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
Alcaro
5aa0628ebf Kill an overflow or two. Or twelve. 2016-09-04 18:12:03 +02:00
Brad Parker
ae36b0f73d 7z extension is .7z not .zip 2016-08-30 16:31:53 -04:00
Alcaro
9ffffcd249 Fix missing header 2016-08-26 18:29:41 +02:00
Brad Parker
6eebbfd8ae use const delimiter and remove pointer arithmetic 2016-08-26 11:36:52 -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
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
Alcaro
0bd9ccddc1 false is most certainly not 1. 2016-08-25 12:02:42 +02:00
Brad Parker
5275c0a45d correctly handle content paths containing a hash (#), fixes issue #3273 2016-08-24 16:54:10 -04:00
meleu
db204afc9c changes based on the @Alcaro suggestions
Suggestions made here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 16:31:13 -03:00
meleu
c92efacebe avoid problems if ROM name has percents
As @Alcaro noted here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 10:13:33 -03:00
meleu
4e44ab99a1 added fill_str_dated_filename() function
This function creates a 'dated' filename prefixed by the string `in_str`, and concatenates extension (`ext`) to it.
2016-08-19 08:45:58 -03:00
Alcaro
4ce3683333 Fix indentation derp 2016-08-17 13:53:41 +02:00
twinaphex
a532bc2b0e (PS3 Salamander) Silence unused variable warning 2016-07-24 11:33:44 +02: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
twinaphex
5f71ecc1d1 Create fill_pathname_join_special_ext 2016-06-30 04:59:57 +02:00
twinaphex
3f8b1d04ed Reuse code 2016-06-29 18:54:40 +02:00
twinaphex
668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex
a7e8707f7d Create fill_pathname_join_delim_concat 2016-06-29 17:51:25 +02:00
twinaphex
c38c28a0f5 Create fill_pathname_join_concat 2016-06-29 17:46:50 +02:00
twinaphex
f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
twinaphex
7647c9be59 Add noext versions 2016-06-28 13:08:03 +02:00
twinaphex
ca3eecf5c0 Create fill_pathname_join_noext 2016-06-28 13:05:46 +02:00
twinaphex
c03e566eba Create filL_short_pathname_representation_noext 2016-06-28 12:49:37 +02:00
twinaphex
0709f2b11b (libretro-common) (file_path.c) Cleanups 2016-06-28 12:43:50 +02:00
Andre Leiradella
b38e234d2e made find_last_slash public 2016-05-05 16:22:35 -03:00
twinaphex
972d3faabb (libretro-common) Cleanups 2016-03-20 17:15:40 +01:00
twinaphex
f55ee11554 (libretro-common) Header updates 2016-03-20 17:13:31 +01:00
twinaphex
f89467ccbf Create fill_string_join 2016-01-26 01:46:15 +01:00
twinaphex
e386bc4963 Cleanup 2016-01-26 01:27:23 +01:00
Alcaro
888ba881ec No need to free a known null... 2015-11-20 16:33:21 +01:00
Alcaro
4b96b5814f Fix some weirdness down here. 2015-11-20 16:30:55 +01:00
Yongwoon Cho
ca9b7c141b Fix: iOS cannot go to parent directory. 2015-11-05 05:45:01 +09:00
Yongwoon Cho
9ba6877772 Fix: iOS cannot go to parent directory. 2015-11-05 05:43:13 +09:00
Yongwoon Cho
21944b2e11 Fix: iOS cannot go to parent directory. 2015-11-05 02:43:35 +09:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
1943ccacfb Don't use compat/strl.h for OSX/iOS either 2015-10-26 00:29:16 +01:00
twinaphex
5ea75b616f Don't use compat/posix_string.h for OSX/iOS 2015-10-26 00:21:37 +01:00
twinaphex
d19477edc5 (libretro-common) Update 2015-10-25 21:12:54 +01:00
twinaphex
4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
twinaphex
0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00