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
orbea
849259d8f6
libretro-common: Sort config file conditionally.
...
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.
Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08:00
psxdev
d52de24e79
[ORBIS] Add support to config save for orbis
2019-01-03 21:23:44 +01: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
49a3514147
Revert "Revert "bugfix cheat saving""
...
This reverts commit 9862579610
.
2018-10-11 03:27:06 +02:00
twinaphex
c443d6b475
Revert "Revert this - was getting crashes in both OSX and MSVC 2003"
...
This reverts commit 7d0dba3007
.
2018-10-11 03:26:58 +02:00
twinaphex
7d0dba3007
Revert this - was getting crashes in both OSX and MSVC 2003
...
in config_file.c inside config_get_entry
2018-10-10 23:34:16 +02:00
twinaphex
9862579610
Revert "bugfix cheat saving"
...
This reverts commit 4c3b06d640
.
2018-10-10 23:27:19 +02:00
Sven
4c3b06d640
bugfix cheat saving
2018-10-10 11:10:49 -04:00
Sven
f53e1ca4b1
fix new rumble types ; increase max displayed cheats to 6000
2018-10-10 09:15:46 -04:00
Brad Parker
a1b831abdb
allow 7z archives to have multiple files extracted at once
2018-08-06 20:44:59 -04:00
Sven
5f35249216
Implement robust cheat searching interface with rumble features
2018-07-25 19:19:14 -04:00
twinaphex
5ba2a621c0
Silence warnings
2018-07-14 00:45:16 +02: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
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +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
radius
3b334b60d6
add display name and config name to autoconf
2018-01-11 17:06:14 -05:00
twinaphex
f2ddc8eff0
Revert "Simplify config_file_write"
...
This reverts commit a4500eeafc
.
2018-01-01 07:45:56 +01:00
twinaphex
a4500eeafc
Simplify config_file_write
2017-12-20 17:07:31 +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
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
e78ec12973
Can't have redefinitions of nbio_t in Griffin
2017-11-25 18:33:22 +01:00
twinaphex
7a772b9cd4
Create nbio_intf.c
2017-11-25 05:35:55 +01:00
Alcaro
b5722127c7
Fix docs
2017-11-25 00:26:13 +01:00
Alcaro
053fbd6f27
Add mmap-based nbio implementation (which is too fast for the tests but otherwise passes)
2017-11-24 22:08:57 +01: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
3564562563
database_info.c - use malloc
2017-09-29 05:01:00 +02: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
ab2d94bb64
Update libretro-common
2017-03-26 04:54:50 +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
8042c2ac62
Move config_file_userdata.c to libretro-common
2016-12-12 12:36:46 +01:00
Gregor Richards
ac50e17f50
Moving zlib stream interface
...
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05: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
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
Twinaphex
4d49bb44f2
(OSX) Buildfix
2016-09-21 02:30:21 +02: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
twinaphex
871621fdfa
Move implementation file_archive_file_data to archive_file.c
2016-09-19 18:26:16 +02:00
Brad Parker
fb26f3bbb7
fix divide by zero, use non-opaque type for file_archive functions
2016-09-19 12:06:07 -04:00
Brad Parker
2a75b88d89
file_archive_extract_first_file can choose any file now
2016-09-18 21:22:13 -04:00
Brad Parker
050ab56038
set archive path before extracting
2016-09-18 16:05:58 -04:00
twinaphex
d25cace9ed
Add config_file_exists
2016-09-18 21:55:53 +02:00
Brad Parker
a7ffead8f6
fix more memory corruption
2016-09-18 15:20:27 -04:00
Brad Parker
7c29fd6c33
create 7z archive backend, enables scanning of 7z content
2016-09-18 10:31:21 -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
twinaphex
465d17a6e2
(libretro-common) Update files
2016-08-24 01:45:59 +02: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
twinaphex
5f71ecc1d1
Create fill_pathname_join_special_ext
2016-06-30 04:59:57 +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
Andre Leiradella
b38e234d2e
made find_last_slash public
2016-05-05 16:22:35 -03:00
twinaphex
08b7ac500b
(libretro-common) Updates
2016-04-23 10:40:46 +02:00
twinaphex
c8f4d97839
Move config_file_userdata outside libretro-common
2016-03-21 18:49:50 +01:00
twinaphex
be9bf7dc44
(libretro-common) Move memory_stream
2016-03-20 16:17:44 +01:00
twinaphex
c7e13e2bcd
(libretro-common) Rename file_archive to archive_file
2016-03-20 16:14:40 +01:00
twinaphex
93b7dc1bdd
(libretro-common) move 'lists' files to lists/
2016-03-20 14:53:54 +01:00
radius
80845f1cd6
save only modified values when saving remaps
2016-02-09 23:39:16 -05:00
twinaphex
eb5986d332
Cleanup
2016-01-30 04:43:35 +01:00
twinaphex
c5597d3c9d
Cleanups
2016-01-26 05:59:52 +01:00
twinaphex
f89467ccbf
Create fill_string_join
2016-01-26 01:46:15 +01:00
twinaphex
9459cf6445
Rename zlib_ to file_archive_
2016-01-24 22:17:11 +01:00
twinaphex
6878aa0844
Turn file_archive_inflate_data_to_file into static function
2016-01-24 22:04:21 +01:00
twinaphex
aae1faf76f
Move crc32_calculate to file_archive_zlib.c
2016-01-24 21:50:28 +01:00
twinaphex
d53a0c5994
Cleanup
2016-01-24 21:36:01 +01:00
twinaphex
2bc75715f7
Move zlib_deflate_init to file_archive_zlib.c
2016-01-24 21:26:02 +01:00
twinaphex
1a04bb4532
Add stream_decompress_data_to_file_init and stream-decompress_data_to_file_iterate to
...
file_archive_zlib.c
2016-01-24 21:23:33 +01:00
twinaphex
7130f0c8d8
Move zlib_set_stream to file_archive_zlib
2016-01-24 21:06:53 +01:00
twinaphex
7d29929819
Move file_archive_inflate_init to file_archive_zlib
2016-01-24 20:18:52 +01:00
twinaphex
fa00f51e80
Move zlib_deflate_data_to_file to file_archive_zlib.c
2016-01-24 20:15:17 +01:00
twinaphex
d1ef6f032e
Create stream_compress_free and add it to file_archive_zlib
2016-01-24 20:12:12 +01:00
twinaphex
f264d3d29b
Move zlib_stream_ functions to file_archive_zlib.c
2016-01-24 20:08:57 +01:00
twinaphex
064c5ffc3a
Move zlib_stream_free to file_archive_zlib.c
2016-01-24 20:01:35 +01:00
twinaphex
9a23d95846
Add zlib_stream_new to file_archive_zlib.c
2016-01-24 19:57:31 +01:00
twinaphex
021d8e6af8
Make file_archive_get_default_file_backend public scope
2016-01-24 19:48:25 +01:00
twinaphex
cc69cfe6a7
Use zlib_transfer_t * instead of void *
2016-01-24 18:53:37 +01:00
twinaphex
cf94c0b6c0
Move file backend back to file_archive.c
2016-01-24 16:18:18 +01:00
twinaphex
3c2a45d923
Rename file_extract functions
2016-01-24 07:42:46 +01:00
twinaphex
552e78c9bc
Rename file_extract to file_archive
2016-01-24 07:29:11 +01:00
twinaphex
5c615f18e1
Turn zlib_inflate_init2 into static function
2016-01-24 06:52:14 +01:00
twinaphex
280e10195c
Remove zlib_crc32_adjust - reuse zlib_crc32_calculate for this
2016-01-24 06:50:18 +01:00
twinaphex
c6f7afbd9a
Adjust zlib_crc32_calculate
2016-01-24 06:47:06 +01:00
twinaphex
78feccd0a3
Split up file extract zlib driver code to separate file
2016-01-24 06:18:53 +01:00
twinaphex
458e3a0fad
Fix zlib_extract_first_content_file - we now pass a
...
new string to zlib_extract_first_content_file which will
fill in the extracted first file's path, we then add this
to temporary_content string list
2016-01-24 05:41:41 +01:00
Higor Eurípedes
a171f3c6d1
(task_decompress.c) Add progress report
2015-11-30 10:41:35 -03:00
twinaphex
40e8f4eba6
Dehardcode C89_BUILD ifdefs
2015-11-25 02:10:31 +01:00
twinaphex
5c71cb06d4
Remove CONFIG_GET_HEX_BASE macro
2015-11-21 18:08:37 +01:00
twinaphex
f91ba67c5b
Kill off two configuration macros
2015-11-21 18:02:53 +01:00
twinaphex
30272dd413
Create 'loading and saving' of configuration settings for video_driver_ctl
2015-11-21 09:32:51 +01:00
twinaphex
1e006e3edc
Comment out config_get_uint64 when compiling for C89
2015-11-19 13:52:40 +01:00
twinaphex
149d892910
Cleanup config_file.c
2015-11-15 22:28:57 +01:00
twinaphex
348f28b382
Cleanups
2015-10-11 15:46:55 +02:00
twinaphex
385e030261
Move functions around
2015-09-22 19:34:16 +02:00
twinaphex
3db688d477
Create retro_stat.c/retro_stat.h
2015-09-22 01:45:30 +02:00
twinaphex
9d67d48036
Create path_is_valid
2015-09-21 22:46:27 +02:00
twinaphex
872314f910
Use UINT_FAST16_MAX/UINT_LEAST32_MAX
2015-09-15 18:59:40 +02:00
CautiousAlbino
173dcd3e4c
Retry implementation of include_compressed to dir_list_new.
...
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Twinaphex
aa382a5c7c
Revert "Add include_compressed param to dir_list_new."
2015-08-30 18:36:25 +02:00
CautiousAlbino
c4691b2668
Add include_compressed param to dir_list_new.
...
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
Higor Eurípedes
3cc6e07174
(task_database) Fix leaks when scanning zip files
2015-07-05 10:23:21 -03:00
Alcaro
4ca6c2398c
More C89 cleanups, part 3
2015-06-26 18:35:52 +02:00
Higor Eurípedes
72fa1c9d36
(config_file.c) Speed up setting lookup with hashes
2015-06-14 12:36:29 -03:00
Higor Eurípedes
70c845a6b2
Rewrite file_list_copy()
2015-06-13 19:03:41 -03:00
twinaphex
087e1354ec
Create file_list_set_userdata/file_list_set_actiondata
2015-06-11 23:02:17 +02:00
Twinaphex
c86c40c1cd
Create file_list_free_actiondata/file_list_free_userdata
2015-06-11 21:03:28 +02:00
twinaphex
5bd138b6ac
(file_list) Start adding entry_idx to file_list_* functions
2015-06-10 22:43:06 +02:00
twinaphex
d3102e03c8
(file_list.c) Get rid of 'alt2'
2015-06-07 00:53:00 +02:00
twinaphex
aa56b8e1e3
(Task database) Start using zlib_parse_file_iterate in task_database.c
2015-05-27 01:36:15 +02:00
twinaphex
3d924a7556
Create zlib_parse_file_iterate
2015-05-27 01:03:49 +02:00
twinaphex
30aaa265e0
Create filt_list_{set/get}_alt2_at_offset
2015-05-22 23:57:48 +02:00
twinaphex
4572a1c48d
Create zlib_deflate wrapper functions
2015-03-29 16:28:06 +02:00
twinaphex
cc2d6ea99d
Create more zlib wrapper functions
2015-03-29 15:52:17 +02:00
twinaphex
5d776f15b6
Create zlib_set_stream
2015-03-29 15:35:55 +02:00
twinaphex
758d01b5da
Create more wrappers around zlib in file_extract.c
2015-03-29 14:35:18 +02:00
twinaphex
32304af540
Create zlib_inflate_init
2015-03-29 14:30:53 +02:00
twinaphex
835cba4412
Create zlib_stream_new/zlib_stream_free
2015-03-29 01:57:52 +01:00
twinaphex
9281595024
Create zlib_perform_mode
2015-03-28 21:05:00 +01:00
twinaphex
c26804335b
(libretro-common) Move file_extract.c to libretro-common
2015-03-28 20:14:19 +01:00
twinaphex
dcfc187179
(libretro-common) Remove config_file_macros.h
2015-03-21 07:39:51 +01:00
twinaphex
80840cac0c
Put g_config on heap
2015-03-21 01:47:06 +01:00
twinaphex
45cf71770e
Rename g_settings to g_config - to prevent conflicts, had to rename
...
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex
e92565a95b
Take out some config_file_macros.h
2015-03-21 00:08:01 +01:00
twinaphex
c6d0e4ec51
Add BIO_READ/BIO_WRITE to nbio_stdio.c
2015-03-18 03:59:44 +01:00
Higor Eurípedes
fec88a5cb4
(Menu) Add font color settings
2015-03-14 19:22:06 -03:00
twinaphex
18ce5f73be
Take RARCH_INTERNAL code from file_path.c out of libretro-common
2015-03-13 05:03:50 +01:00
Higor Eurípedes
e198b0e347
(nbio.h) Add include guard
2015-02-20 23:35:39 -03:00