Commit Graph

61026 Commits

Author SHA1 Message Date
LibretroAdmin
da13fb0f48 Don't include errno.h in files that don't justify its use 2022-08-25 05:19:30 +02:00
LibretroAdmin
39241699a0 Drop errno dependency in database_cue_get_token - was some legacy
code that is probably not needed
2022-08-25 04:51:00 +02:00
LibretroAdmin
93babdd6f7 Remove mono_crash.mem.413585.1.blob 2022-08-25 04:43:51 +02:00
lucasmr
808fc7f389
Refactor task_database_cue.c (#14349) 2022-08-25 04:42:23 +02:00
sonninnos
8fd0961c9a
Show playlist entry as 'Quick Menu' header title (#14350) 2022-08-25 04:41:14 +02:00
Cthulhu-throwaway
e45958b25a
(Network) Get rid of the timeout_enable parameter for socket_connect (#14351) 2022-08-25 04:40:19 +02:00
Apaczer
23f649b050
enable screenshots on MIYOO (#14347)
update Makefile.miyoo
2022-08-25 02:56:16 +02:00
github-actions
a5eb06b2b5 Fetch translations from Crowdin 2022-08-25 00:14:56 +00:00
Cthulhu-throwaway
ea9dd022d6
(Netplay) Do not try to receive new data if the data is in the buffer (#14345) 2022-08-24 21:55:48 +02:00
LibretroAdmin
72cc98e9bd Remove unused variables 2022-08-24 17:42:01 +02:00
Cthulhu-throwaway
b59624adc8
(Netplay) Copy data on receive, even if the buffer is full (#14344) 2022-08-24 16:57:11 +02:00
LibretroAdmin
9aef0eff90 Resync 2022-08-24 16:41:21 +02:00
LibretroAdmin
56a6c50728 (task_database_cue.c) Get rid of some strcmps 2022-08-24 16:32:55 +02:00
LibretroAdmin
c79904f8b3 (task_database_cue.c) More simplifications 2022-08-24 16:21:45 +02:00
LibretroAdmin
f2d8b67f23 (task_database_cue.c) Simplifications:
- unsafe strcpy/strcat/sprintf were used, so pass 'len' parameters
to detect_{system} functions so that we can use the safer strlcpy/strlcat
calls instead
- thanks to strlcat/strlcpy return values, we can do less string concatenations
and get the same results
- some other miscellanous cleanups
2022-08-24 16:08:06 +02:00
LibretroAdmin
fdc563e6f7
Remove errno dep (task_database_cue.c) (#14341)
* (task_database_cue.c) Turn some functions static - some general cleanups

* Start removing errno dependency on task_database_cue.c
2022-08-24 15:15:21 +02:00
LibretroAdmin
6b9a382f2e Resync 2022-08-24 15:09:51 +02:00
LibretroAdmin
6894600d41 (stdstring) word_wrap - use strlcpy instead of strcpy 2022-08-24 15:06:03 +02:00
LibretroAdmin
6126a86259 Try to avoid sprintf/strcat/strcpy calls as much as possible in
RetroArch codebase
2022-08-24 13:49:05 +02:00
LibretroAdmin
2bc723bb4b (Menu) Move duplicate code is_running_quickmenu to menu_driver.c 2022-08-24 13:28:53 +02:00
LibretroAdmin
a147cb09d9 Get rid of duplicate code - move function to menu_driver.c and have
both XMB and Ozone use it
2022-08-24 13:14:55 +02:00
sonninnos
5f7d14966c
(Ozone+XMB) Fullscreen thumbnail browsing (#14342) 2022-08-24 12:35:54 +02:00
LibretroAdmin
8776c79a60 Fix 'inconsistent instance variable specification' error for OSX 10.5 / Xcode 3.1.4 2022-08-24 11:46:02 +02:00
23rd
9663e4b4f1
Fixed items of system top menu bar on macOS. (#14288)
The second attempt.
This reverts commit e1caf32817.
2022-08-24 03:57:43 +02:00
Cthulhu-throwaway
620e048c52
(Netplay) Do not try to receive new data if the buffer is full (#14343) 2022-08-24 03:32:09 +02:00
LibretroAdmin
fc861c167c - Get rid of some strerror usage
- Get rid of errno.h include in task_audio_mixer.c
- Rename get_token so it has less chance to conflict with other symbols
2022-08-23 19:58:20 +02:00
LibretroAdmin
f48ba41b67 Remove unused variables 2022-08-23 19:41:45 +02:00
LibretroAdmin
c04201927b
Don't make libretrodb dependent on errno anymore (#14340)
* Don't make libretrodb dependent on errno anymore
2022-08-23 19:36:52 +02:00
LibretroAdmin
d969facdb4 C89_BUILD buildfix 2022-08-23 19:23:53 +02:00
LibretroAdmin
c22c69e792 (gfx_animation.c) Simplify build_line_ticker_string 2022-08-23 18:26:49 +02:00
LibretroAdmin
e769436876 (word wrap functions in stdstring.c) Avoid implicit strlens, caller
should pass the 'length' to the function instead
2022-08-23 17:06:01 +02:00
Jamiras
85c44f9245
more thread-awareness in task callbacks (#14337)
* more thread-awareness in task callbacks
2022-08-23 15:11:11 +02:00
LibretroAdmin
6f738d4fbd Gradually get rid of strcpy_literal
Reasons:
1 - Just a macro for strcpy
1.2 - doesn't have a return type unlike strlcpy, can't be used
for string concatenation
1.3 - unsafe compared to strlcpy

Do either manual string assignment per character or strlcpy, no
inbetween by resorting to strcpy
2022-08-23 15:04:47 +02:00
LibretroAdmin
5a036de53c (configuration.c) reduce snprintf calls 2022-08-23 08:29:48 +02:00
LibretroAdmin
0e5b2ff280 (LED drivers) Miscellaneous cleanups 2022-08-23 08:11:22 +02:00
LibretroAdmin
e87db6f0a2 utf8cpy already does NULL termination 2022-08-23 07:52:03 +02:00
github-actions
c97bc0ddbd Fetch translations from Crowdin 2022-08-23 00:14:24 +00:00
Cthulhu-throwaway
1a1db6177d
(Netplay) Fix lobby sublabel CRC display on some platforms (#14338) 2022-08-22 23:05:13 +02:00
LibretroAdmin
f5e5a1b201 strlcpy already does NULL termination 2022-08-22 12:22:54 +02:00
LibretroAdmin
a96d12e8bc Put back property locking in threaded_gather_internal - without this,
core updater tasks would crash/segfault - heap corruption
2022-08-22 03:41:17 +02:00
Cthulhu-throwaway
e1a139ec0f
(Network Stream) Add function netstream_eof (#14335) 2022-08-21 21:52:57 +02:00
LibretroAdmin
30977a2603 Enable savestate file compression by default for UWP/Xbox - got told there
are no more issues with it
2022-08-21 20:48:28 +02:00
github-actions
278baf212b Fetch translations from Crowdin 2022-08-21 00:13:44 +00:00
LibretroAdmin
10a351228b * Rewrite some snprintfs
* task_steam.c - add license header
2022-08-20 19:17:28 +02:00
LibretroAdmin
23b06dca69 (video_shader_parse) reduce amount of snprintfs - create
formatted number once then keep appending it to strings
2022-08-20 17:56:19 +02:00
LibretroAdmin
be2d35a1f4 (core_option_manager_new) rewrite snprintf 2022-08-20 16:53:10 +02:00
Cthulhu-throwaway
f27c8c0c1d
(Network Stream) Add string functions (#14333) 2022-08-20 16:36:13 +02:00
github-actions
f3eaa5cfa8 Fetch translations from Crowdin 2022-08-20 00:11:50 +00:00
Ryunam
597c33fa94
Fix core option categories regression (#14332) 2022-08-19 17:37:31 +02:00
LibretroAdmin
90e0d0bb70 (core_option_manager.c) Some simplifications 2022-08-19 10:37:32 +02:00