Commit Graph

51 Commits

Author SHA1 Message Date
radius
4a4de389d1 cut on underscores too, might be required to add other delimiters so it doesn't get stuck on an endless loop on long strings 2017-09-09 00:24:59 -05:00
ensra
6a36453f20 Cast ctype args to unsigned char 2017-08-08 12:21:48 +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
06f98fcd16 (stdstring) Turn some functions into static inline functions 2017-04-21 13:35:26 +02:00
Twinaphex
4b796ae740 Silence warnings 2017-03-06 12:12:00 +01:00
twinaphex
df1313bc37 Change signature for word_wrap 2017-03-05 19:15:04 +01:00
twinaphex
bb15b14388 word_wrap - Dont' call strlen once every loop iteration 2017-03-05 19:09:31 +01:00
twinaphex
c70b8c42c5 Cleanups to word_wrap 2017-03-05 19:02:32 +01:00
twinaphex
63973a52e0 Simplify word_wrap 2017-03-05 19:01:44 +01:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex
c6e1b47d98 (libretro-common) Style nits 2017-01-17 19:20:15 +01:00
Jean-André Santoni
dc4140a00b (GLUI) Word wrapping for sublabels 2017-01-17 15:21:59 +01:00
twinaphex
a2515339e9 This nonsense can go now 2016-12-25 02:11:42 +01:00
twinaphex
af6128d976 Put around parentheses 2016-12-15 11:59:33 +01:00
twinaphex
481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02: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
7c92289a96 Buildfix 2016-06-09 03:54:40 +02:00
Alcaro
b70c5b7529 We're including the ctype headers already, let's use them. 2016-06-08 19:42:09 +02:00
Alcaro
152adc953c Someone forgot something... (why aren't we using normal int here?) 2016-06-08 19:40:57 +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
f55ee11554 (libretro-common) Header updates 2016-03-20 17:13:31 +01:00
twinaphex
93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex
23d3af9c5a Nit 2016-01-21 19:13:10 +01:00
twinaphex
71df617bee Cleanup 2016-01-21 19:12:05 +01:00
Alcaro
0d77ac3977 Fix code style mismatch. 2016-01-21 01:31:38 +01:00
Alcaro
1229ee0f1b Fix C89 build. 2016-01-21 01:27:49 +01:00
Alcaro
79b3794b93 Rewrite this for fewer malloc. 2016-01-21 01:24:29 +01:00
Alcaro
c48dee0d7b If strequal checks for NULL, then striequal should too. 2016-01-21 01:09:05 +01:00
Alcaro
79edafc3aa Clean up those functions a bit. 2016-01-21 01:08:37 +01:00
Twinaphex
82dc569497 Simplify sring_is_empty 2016-01-21 01:04:07 +01:00
Twinaphex
447468a39d Change string_is_equal_noncase to just a strcasecmp wrapper for now 2016-01-21 01:00:47 +01: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
Jean-André Santoni
632408c70d Prevent loosing core assignations for playlists that doesn't exist yet, or doesn't exist more 2015-11-20 03:23:20 +07:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
7d3408e731 Cleanups 2015-09-05 21:13:58 +02:00
twinaphex
15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
Higor Eurípedes
8c9c1df64b (string_list.c) Initialize data after realloc()ing the list 2015-07-05 20:13:26 -03:00
twinaphex
726c000981 (string_list.c) Don't use snprintf 2015-06-22 11:49:15 +02:00
twinaphex
d4d76daa12 Random cleanups 2015-06-13 00:44:47 +02:00
twinaphex
7ebc824122 (stdstring.c) Fix implicit declaration warning 2015-04-19 14:32:58 +02:00
twinaphex
51920f9e5f Simplify 'get_title' 2015-04-19 12:14:20 +02:00
twinaphex
d880ffab5b Create string_is_empty 2015-04-06 19:03:14 +02:00
Lioncash
1f1cdae621 stdstring: Get rid of some strlen calls
Now the function doesn't traverse strings more than necessary.
2015-04-03 14:52:31 -04:00
twinaphex
fa2c482a45 (stdstring) Use old function 2015-03-13 16:11:58 +01:00
twinaphex
a6fc76ac87 (string_replace_substring) Add early return if 'in' is NULL 2015-03-13 15:55:12 +01:00
twinaphex
01c19f943b Add stdstring to libretro-common 2015-03-13 15:35:55 +01:00