1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 23:34:10 +02:00
Commit graph

78 commits

Author SHA1 Message Date
Brian Fiete
fd4ea4e650 Fixed Unescape hex decoding 2022-09-20 11:24:17 -07:00
Brian Fiete
74b73e5dc8 Corlib helper methods 2022-08-26 15:42:35 -07:00
Brian Fiete
dfd443d68b Fixed String(StringView) ctor 2022-08-04 08:46:43 -07:00
disarray2077
c33b1a7e5b Allow StringView to be created from null 2022-07-09 13:21:46 -03:00
disarray2077
14b0af7f22 Also use c_wchar in StringView.ToScopedNativeWChar 2022-07-04 23:37:46 -03:00
disarray2077
3546d28b36
Use better names in split enumerators 2022-06-27 21:57:06 -03:00
disarray2077
d8460952da
Use simpler design for split enumerators 2022-06-27 21:11:50 -03:00
disarray2077
ad67888158
Add back missing methods 2022-06-27 13:10:22 -03:00
disarray2077
1fe92894b7
Implement String.Split with string separators 2022-06-27 12:34:57 -03:00
Brian Fiete
ca81fd14c2 Fixed AppendF implicit index with width specifier 2022-06-23 05:21:32 -07:00
Brian Fiete
abd511a93d Added '->' operator, static indexer fix, RefCounted<T> 2022-06-22 08:35:25 -07:00
Brian Fiete
86fdca03db Renamed mPtr to mPtrOrBuffer 2022-06-11 05:58:24 -07:00
Brian Fiete
931e29a1f3 Fixed invalid ptr in String.Equal(StringView) 2022-06-11 05:47:22 -07:00
Brian Fiete
75333a0928 Improved circular mixin check, isconst(expr), [ConstSkip] 2022-05-30 11:40:49 -07:00
disarray2077
d77e1b5650
Allow appending object to String 2022-05-29 20:55:42 -03:00
Brian Fiete
1b9e0490f2 Embedded string view in watch window, series watch format 2022-05-18 13:23:10 -07:00
Brian Fiete
cf6ade5e45 Fixed UTF16/32 encoding issues regarding null termination 2022-04-22 18:34:17 -07:00
EinBurgbauer
f1f6a2fa8a fix unquotestring spelling 2022-03-19 21:45:52 +01:00
EinBurgbauer
bdb5ec01ea fix unquote length, support x escape 2022-03-19 21:20:18 +01:00
EinBurgbauer
9f9f21fb8e fix string unescape, add escape, fix obsoletes 2022-03-19 21:14:21 +01:00
Brian Fiete
b1d3ea8013 Renamed QuoteString to Quote, UnQuoteString to Unquote 2022-03-19 12:30:35 -07:00
Booklordofthedings
93365ad0ac Moved code out of UnEscapeString 2022-03-19 20:08:38 +01:00
Jannis vH
d2ac2a7e7c
create UnEscapeString function 2022-03-19 19:34:21 +01:00
Brian Fiete
676e7988fb Fixes from valgrind 2022-03-18 18:06:14 -07:00
Brian Fiete
8ebd7516d8 Const string interpolation 2022-02-13 10:41:34 -05:00
Brian Fiete
a89e36248f 32-bit c_wchar improvements 2022-02-13 07:57:55 -05:00
Brian Fiete
b341b6d3b4 String.ToConstNativeW 2022-02-13 06:53:14 -05:00
Brian Fiete
e1d75d66bf Fixed mangling of extern UTF8 helpers 2022-01-29 09:58:00 -05:00
Brian Fiete
c7d2d2e9bd Make conversion operators use standard method matcher 2022-01-17 16:14:40 -05:00
Brian Fiete
bf97431cdb Improvements to overflow arithmetic 2022-01-11 10:36:22 -05:00
disarray2077
bf9753f8a2
Add methods PadLeft/PadRight and Equals(StringView) to String class 2021-12-27 12:38:33 -03:00
Brian Fiete
649aabcaee Leave append buffers uninitialized 2021-12-20 15:06:37 -05:00
disarray2077
5e78e24fe8
Add ignore case option for StringView.Contains
... and remove unnecessary overload on String.Contains, allowing StringView to also be used.
2021-12-02 14:46:43 -03:00
Brian Fiete
46fbba9712 StringView.Intern 2021-12-01 11:07:09 -08:00
disarray2077
c4f50ec64e
Add MatchIndex to StringSplitEnumerator 2021-11-20 17:30:07 -03:00
miere43
c0b787cbf0 Fix incorrect search & replace for "char => char8" in comments 2021-10-30 00:11:37 +03:00
Brian Fiete
299bea0eaa ^ From End index is relative to length instead of length-1 2021-10-26 06:15:36 -07:00
Brian Fiete
14794e5574 IndexRange protection fix 2021-10-24 09:00:24 -07:00
Brian Fiete
66eacca775 Index + range support 2021-10-24 08:36:26 -07:00
Brian Fiete
88c4b2a818 Fix for string Length-setting (trim-only) assert 2021-09-06 07:17:33 -07:00
Brian Fiete
0536a6c733 Improved enumeration speed, api improvements 2021-08-27 10:07:41 -07:00
Brian Fiete
5755b91f2f
Merge pull request #1128 from disarray2077/paramed_trim
Add Trim with char parameter to String/StringView
2021-08-02 10:52:57 -07:00
disarray2077
4061d4b58e Add Startswith & Endswith char32 overload for StringView 2021-08-01 18:47:46 -03:00
disarray2077
b3a3e25de9 Add Trim with char parameter 2021-08-01 18:43:19 -03:00
xposure
aeb0e70d21 Adds implicit Span<char8> operator to String 2021-01-03 21:07:34 -05:00
Brian Fiete
8dbfd1b0e3 Added String.Substring 2020-12-29 09:23:50 -08:00
Brian Fiete
840a60697d Added string addition 2020-12-24 11:32:19 -08:00
Brian Fiete
3f6eae6bfc Added some Commutable attributes 2020-12-04 07:45:42 -08:00
Brian Fiete
701abe3af7 Fixed off-by-one with string split 2020-12-02 13:22:50 -08:00
Brian Fiete
518583ef00 StringView comparison 2020-11-22 07:55:46 -08:00