Commit Graph

51 Commits

Author SHA1 Message Date
jdgleaver
8739264485
Enable runtime logging for contentless cores (#13671) 2022-02-25 18:23:55 +01:00
Tony
09880e92d2
Logging cleanups (#13320) 2021-12-04 14:21:12 +01:00
twinaphex
b45acf2223 MSVC buildfixes 2021-05-21 17:09:55 +02:00
twinaphex
0482892a9c Get rid of return variable for snprintf 2021-05-18 23:09:45 +02:00
jdgleaver
f4511f6fa4 (core_info) Performance optimisations + code clean-ups/refactors 2021-04-26 14:30:31 +01:00
twinaphex
8f79e14d0a Silence LGTM static code analysis warnings 2021-03-24 00:25:47 +01:00
twinaphex
4df6d287e3 (Clang) Silence 'n' is never used warnings 2021-02-03 11:48:33 +01:00
twinaphex
1b071f16f5 Silence implicit conversion warnings 2021-01-16 20:03:04 +01:00
schellingb
ba1ed2da4b New faster json parser/writer library rjson
Replace existing libraries jsonsax_full and jsonsax with it
2020-10-12 03:02:20 +09:00
twinaphex
ad2c0bb76d (runtime_file.c) Style nits 2020-08-23 21:51:39 +02:00
twinaphex
4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
twinaphex
3635bf0d01 Silence some warnings 2020-08-01 18:04:56 +02:00
twinaphex
408f40f413 Cut down on some callocs 2020-06-27 16:36:08 +02:00
twinaphex
021625fd4a Revert "Move static functions to top of files"
This reverts commit 02b542e2a5.
2020-06-26 18:40:26 +02:00
twinaphex
02b542e2a5 Move static functions to top of files 2020-06-26 18:15:38 +02:00
Twinaphex
473f94ed58 Remove unused variable 2020-06-06 17:54:06 +02:00
jdgleaver
445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
jdgleaver
0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
jdgleaver
18912ac23d Enable configuration of date seperator in clock and runtime 'last played' displays 2020-05-25 15:46:53 +01:00
im4potato
1c4cb37e61 Unify timedate ENUMs and cleanup 2020-05-21 16:26:06 -07:00
jdgleaver
63644ac761 (GLUI) Add desktop-style playlist view mode 2020-05-09 14:53:52 +01:00
jdgleaver
ad8a1174f7 Improve handling of 'broken' playlists 2020-04-07 12:00:16 +01:00
jdgleaver
05744bb69f (runtime_file) Remove settings pointer dependency 2020-03-27 11:12:32 +00:00
Ryunam
5a8106308e Update timedate style options for Last Played sublabel metadata 2020-03-19 18:47:42 +01:00
twinaphex
48ffe8dac3 Do not rely on settings->arrays.menu_driver anymore to check
which menu driver is active
2020-03-05 15:33:18 +01:00
twinaphex
32e4aea068 Start making the other code safe that is dependent on menu driver
ident checking
2020-03-04 20:47:39 +01:00
twinaphex
2be5ffe4e9 Improve ifdef - should be compiled in only if HAVE_OZONE is defined 2020-02-14 14:31:02 +01:00
jdgleaver
00397a33f0 (Disk Control Interface) Add support for saving/restoring last used disk in playlists + code overhaul 2020-01-22 17:09:12 +00:00
twinaphex
05d71ebb67 Start reducing dependency on settings struct 2020-01-02 17:41:52 +01: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
twinaphex
1ed38ddb2d Start using return values of fill_pathname_ functions 2019-09-21 00:22:40 +02:00
twinaphex
ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
twinaphex
7d58bb9799 Avoid more snprintf usage 2019-09-17 06:34:00 +02:00
twinaphex
27ada9b7b2 Buildfixes for --disable-menu 2019-09-14 07:24:26 +02:00
jdgleaver
c645d43598 'CXX_BUILD=1' build fix 2019-09-10 16:49:07 +01:00
jdgleaver
a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
twinaphex
3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
jdgleaver
d6b2e83408 filestream_exists() -> path_is_valid() replacements 2019-05-30 12:19:52 +01:00
jdgleaver
10ef7dd561 Load content runtime data 'on demand' (#8717)
* Load content runtime data 'on demand'

* Fix LGTM warning
2019-05-09 08:24:06 -05:00
twinaphex
3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
33e5a92867 We should be able to rely on the return value of path_mkdir
instead of doing an additional negative path_is_directory check
afterwards
2019-04-22 02:33:12 +02:00
twinaphex
10d66d28c0 (runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups
2019-04-13 18:47:11 +02:00
Twinaphex
076a0d2f56 (OSX) Code analysis cleanups 2019-04-08 23:13:39 +02:00
Twinaphex
d6dfa240c8 Some cleanups 2019-04-08 19:36:44 +02:00
radius
8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
jdgleaver
4834119963 strlcpy() safety checks 2019-03-15 14:14:06 +00:00
jdgleaver
c05548e2ab Enable configuration of runtime log directory 2019-03-11 12:52:13 +00:00
jdgleaver
2c8d7bf5ed Add optional 'aggregate' runtime logging 2019-03-07 12:28:21 +00:00
jdgleaver
9bcc80320d Core Info: Use basename when searching core paths (fixes issues when core directory is on a symlinked filesystem) 2019-03-06 16:42:09 +00:00
jdgleaver
7fd71c735f Runtime logging: Fix logging redirection bug when loading consecutive content 2019-03-06 12:24:35 +00:00