37 Commits

Author SHA1 Message Date
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
twinaphex
63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex
454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
radius
d2329cf192 add function to change strings to lowercase 2016-01-02 13:59:10 -05:00
twinaphex
51920f9e5f Simplify 'get_title' 2015-04-19 12:14:20 +02:00
Alcaro
d7be3979ea Update stdstring.h 2015-04-06 23:01:13 +02:00
twinaphex
d880ffab5b Create string_is_empty 2015-04-06 19:03:14 +02:00
twinaphex
01c19f943b Add stdstring to libretro-common 2015-03-13 15:35:55 +01:00