LibretroAdmin
b2634ea588
* Create fill_pathname_join_special - and specify fill_pathname_join
...
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin
4afe0c55d5
(autoconfig) Go back to prior behavior
2022-07-28 18:21:06 +02:00
libretroadmin
69a2d124c0
Don't do NULL termination on string if we pass it off to strlcpy
...
and/or a file_path function that uses strlcpy under the hood
2022-07-24 05:39:51 +02:00
libretroadmin
cda235d124
(task_autodetect.c) Cleanups - don't check for variables that
...
we already know are non-NULL, cleanup variable scope, etc.
2022-07-09 18:08:25 +02:00
libretroadmin
fa9e56d824
input_autoconfigure_connect - have boolean return value
...
- task_autodetect.c - cleanups, try to do less with generic
error labels and gotos, etc.
2022-07-09 00:53:08 +02:00
sonninnos
ee8993c76a
Silence Linux snprintf warnings ( #14131 )
2022-07-02 14:08:27 +02:00
Michael Burgardt
7df18ec59d
Improve some texts ( #13645 )
2022-02-21 20:11:25 +01:00
twinaphex
619398bbe4
Backport parts of 73c0760236
2021-11-09 23:12:57 +01:00
Mark W. Kidd
b17dd28ff2
consolidate and comment input_remapping.h
2021-07-06 16:13:43 -04:00
twinaphex
544a17926b
Use path_basename_nocompression where we are sure we are not
...
dealing with a filename with a compressed archive hash
2021-04-11 17:44:41 +02:00
twinaphex
3f19af45cd
Put back early return
2020-08-27 17:29:39 +02:00
twinaphex
8b1338dbb2
(task_autodetect.c) Cleanups
2020-08-27 16:36:34 +02:00
twinaphex
5e60556f97
Use config_get_entry instead of config_get_array to prevent
...
unnecessary string copying
2020-08-27 16:28:19 +02:00
twinaphex
b6228729b6
More struct alignment
2020-08-14 17:11:18 +02:00
jdgleaver
535d73cf37
Ensure correct directory is used when saving autoconfig profiles
2020-08-03 13:10:00 +01:00
jdgleaver
8e2901d23a
Minor optimisations
2020-07-20 13:24:18 +01:00
jdgleaver
9b1edc5eee
Input autoconfig fixes/improvements
2020-07-20 12:34:29 +01:00
jdgleaver
75b3b5350c
Add 'Notification Visibility' menu
2020-07-16 16:32:01 +01:00
jdgleaver
84a71ea133
Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation
2020-07-14 17:46:58 +01:00
twinaphex
fded8ab357
Fix issues pointed out by static code analysis
2020-06-29 19:15:07 +02:00
jdgleaver
b6364407fd
Optimise parsing of configuration files
2020-06-25 15:15:08 +01:00
twinaphex
f5940ed188
Use malloc instead of calloc where possible
2020-06-24 19:27:02 +02:00
twinaphex
d714520c64
(Autodetect) Cleanups
2020-06-11 02:29:32 +02:00
twinaphex
00167caf54
Use localized strings
2020-05-29 12:54:09 +02:00
twinaphex
a50fd86f3e
Add global state warnings
2020-05-29 06:11:07 +02:00
jdgleaver
fb7b1ec1a0
Use correct port index in input device configured/disconnected notifications
2020-03-24 11:18:54 +00:00
twinaphex
cc50cefd30
Cleanups
2020-03-01 21:58:09 +01:00
twinaphex
7c7d0f596a
HAVE_MENU_WIDGETS now decoupled from HAVE_MENU
2020-02-17 21:28:42 +01:00
twinaphex
de604a79ab
dir_list_new_special - no more dependency on settings_t
2020-02-14 12:12:59 +01:00
twinaphex
cfcce71392
- Add HAVE_BLISSBOX
...
- Do not use logging functions inside internal task functions - should
always be done outside at end handler function
2020-01-25 17:17:53 +01:00
twinaphex
7748ac207c
Split up blissbox code into separate file
...
tasks/task_autodetect_blissbox.c
2020-01-19 06:40:07 +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
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
8fa6230426
Cleanups
2019-09-18 02:16:47 +02:00
twinaphex
7d58bb9799
Avoid more snprintf usage
2019-09-17 06:34:00 +02:00
Tatsuya79
924a898e1d
typo
2019-08-05 01:24:50 +02:00
twinaphex
c82693037f
Cleanups
2019-08-02 21:15:54 +02:00
orbea
e13ec54dc6
Fix --disable-overlay.
2019-07-21 10:26:42 -07:00
twinaphex
c2c7c106a1
Add conf->path for config_file_new_from_path_to_string
2019-07-20 00:39:55 +02:00
twinaphex
41a2fabb4e
Create config_file_new_from_path_to_string
2019-07-18 12:03:50 +02:00
twinaphex
319e708738
core_info_list_iterate - use config_file_from_string
2019-07-16 19:01:43 +02:00
twinaphex
f73e4e9af8
(Autoconfig) Try to avoid implicit fgets calls which are slow (inside
...
config_file_new and filestream_getline) - instead, read the entire
file into a memory buffer once and then pass it to
config_file_new_from_string - went from 14000 ticks to 9000 ticks
on an NVME M2 SSD, so big gains
2019-07-16 18:35:44 +02:00
twinaphex
0257e01bee
Refactor input_autoconfigure_connect - don't return
...
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex
195b016293
(Autoconfig task) Store 'best config' so that we don't have to
...
call config_file_new again once we have queried all the autoconfig
profiles
2019-07-16 09:55:35 +02:00
radius
d865c5e4a6
add some copyright on files I contributed considerably just in case
2019-06-20 05:45:17 +02:00
radius
1704ef8410
autoconf cleanups, fix swap ok/cancel in ozone
2019-05-28 16:29:54 +02:00
twinaphex
9bc0478e9d
(tasks) Cleanups
2019-05-23 13:05:15 +02:00
twinaphex
06cfdfdcbb
Make some log messages uniform
2019-04-30 13:43:01 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00