60 Commits

Author SHA1 Message Date
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
twinaphex
607ae71259 Turn string_is_equal_noncase into self-contained function 2017-04-21 14:17:47 +02:00
twinaphex
76788d3890 Turn string_is_equal into selfcontained function 2017-04-21 14:09:02 +02:00
twinaphex
06f98fcd16 (stdstring) Turn some functions into static inline functions 2017-04-21 13:35:26 +02:00
twinaphex
df1313bc37 Change signature for word_wrap 2017-03-05 19:15:04 +01:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
Jean-André Santoni
dc4140a00b (GLUI) Word wrapping for sublabels 2017-01-17 15:21:59 +01:00
twinaphex
e4f25d9984 Add new versions of whitespace trimming functions 2016-06-09 08:01:55 +02:00
twinaphex
a63fcc36aa Remove string functions 2016-06-09 04:35:39 +02:00
twinaphex
a877fc24fb (libretro-common/stdstring) Add string_trim_whitespace_left/string_trim_whitespace_right 2016-06-08 19:12:23 +02:00
twinaphex
4b76f88939 Update libretro-common 2016-06-06 21:48:59 +02:00
twinaphex
08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00