Tony
044e1ec655
(WinRaw) Fix multiple light guns ( #13840 )
...
* (WinRaw) Fix multiple light guns
* Strip non-ASCII characters from mouse display names
2022-04-08 21:46:00 +02:00
pkos
a192064403
(Database) Serial scanning for Gamecube/MegaCD/SegaCD/Saturn/PSX/PSP/Dreamcast/Wii
2021-12-31 21:35:16 -05:00
Sage
85a256e2cb
Make http header parsing case insensitive ( #13267 )
2021-11-21 20:43:58 +01:00
toshixm
4fab84ca9e
improve message wrapping with CJK languages
2021-06-03 21:09:35 +09:00
toshixm
a39c38f267
refactor word_wrap()
2021-05-27 19:55:37 +09:00
Bernhard Schelling
c594e8801d
Fix ctype style char macros with signed inputs
...
UTF8 byte codes are commonly stored in signed char types thus these macros could be called with negative numbers. Avoid invalid memory access by clamping the input values to 0 ~ 255 with an unsigned char cast.
2020-11-19 23:42:05 +09:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
twinaphex
1296fc4745
use strlcpy_literal for string literal copies
2020-09-19 23:28:01 +02:00
twinaphex
6a88b3f20e
Cleanup strlen_size
2020-08-25 17:24:03 +02:00
jdgleaver
179e77c8b0
(string_list_join_concat) Prevent undefined behaviour if input string buffer is unterminated
2020-08-25 15:54:18 +01:00
Alcaro
df2db8bceb
stdstring: Delete duplicate function
2020-08-16 02:33:25 +02:00
twinaphex
1ae20ea17c
Style nits - turn macro names into upper-case - some while style nits
2020-06-26 20:00:19 +02:00
twinaphex
de36ff20fb
Create string_ends_with_size
2020-06-25 14:38:06 +02:00
twinaphex
601a73fa8b
Use string_starts_with_size where possible - avoids the strlen
2020-06-25 12:51:04 +02:00
jdgleaver
d24498bdf1
Image file type detection fixes/optimisations
2020-05-22 16:57:37 +01:00
jdgleaver
c346e1f816
Various file path handling optimisations
2020-05-20 17:05:22 +01:00
twinaphex
899c21257c
(Video layout) move init_string and set_string to stdstring -
...
rename them - cleanup strcmp usage in video layout and other
code cleanups
2020-03-05 11:19:44 +01:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
jdgleaver
695749f155
(Core Updater) Only download when new core is available + add option to update all installed cores
2019-12-23 17:34:44 +00:00
jdgleaver
170397456c
Add manual content scanner
2019-11-29 17:14:46 +00:00
jdgleaver
58ad81f063
Menu drop-down lists: Add proper titles, and remember last postion when navigating core options
2019-09-24 17:41:06 +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
LazyBumHorse
f309c85f92
STRLCAT_CONST_INCR should be at most 1 statement, so single-line if, for etc work
2019-09-22 20:12:56 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
76f4cf5cc5
Start using STRLCAT_CONST/STRLCAT_CONST_INCR/STRLCPY_CONST
2019-09-20 20:39:34 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
698387e762
(task_screenshot.c) Cleanups - don't use snprintf unless necessary
2019-09-18 02:31:02 +02:00
twinaphex
8fa6230426
Cleanups
2019-09-18 02:16:47 +02:00
twinaphex
5024b77492
Prevent more strlcats that are quite trivial
2019-09-17 02:43:40 +02:00
jdgleaver
3da96deec3
Enable per-playlist thumbnail selection
2019-08-15 18:05:31 +01:00
jdgleaver
5ac152a5f3
(glslang_util) Remove C++ 'isms' (where possible)
2019-08-12 13:10:50 +01:00
twinaphex
74388d8490
Remove string_concat
2019-05-10 18:05:58 +02:00
Nathan S
775c272029
Menu widgets stuff + vulkan sanity check ( #8710 )
...
* task_screenshot: fix hang with menu widgets
* word_wrap: add max_lines parameter
* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
twinaphex
4b22522ae0
We need faster string concatenation for performance-critical
...
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02: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
89563ce9c8
(stdstring) Small cleanups
2019-04-26 06:07:40 +02:00
bparker06
c8b9b4ef25
Update stdstring.h
2019-04-03 12:06:31 -04:00
Brad Parker
ae12c30285
strcmp will always be faster
2019-04-03 10:41:19 -04:00
Twinaphex
467aa30131
Cleanups
2018-06-21 07:26:05 +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
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
twinaphex
df7f47d00a
Create string_is_equal_case_insensitive
2018-03-01 23:16:34 +01:00
twinaphex
8d99fd7ce0
Cleanup string manipulation
2018-02-01 11:16:13 +01:00
twinaphex
df1979be12
Define string_is_not_equal
2018-01-17 01:06:09 +01:00
Brad Parker
6b369775cf
add unicode-aware option for word_wrap (only needed for xmb)
2017-08-06 03:33:13 -04:00
twinaphex
8eca08c6ac
Start using string_is_equal_fast/string_is_not_equal_fast macros
...
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
dd1da5154f
Better implementation of string_is_equal_noncase and fix bug
...
in string_list
2017-04-21 14:53:01 +02:00