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

87 commits

Author SHA1 Message Date
Booklordofthedings
8a283fea75 added remnant 2023-11-27 17:02:48 +01:00
Brian Fiete
d0de4776f3 Large collection fixes 2023-08-18 12:04:01 -07:00
Brian Fiete
891e4fd789 Minor lib changes 2023-05-26 09:00:20 -04:00
m910q
3afdc80f2f Fix string hashing when a single char is left after hashing ints 2023-05-18 20:07:11 +02:00
Brian Fiete
ca3abc617f String split optimizations 2023-03-01 06:38:09 -05:00
MineGame159
10b64ff09e Added String.Replace() methods for replacing a range within the string 2023-02-20 00:02:15 +01:00
MineGame159
2da891f7ec String.Replace() now takes in StringViews 2023-02-19 23:30:14 +01:00
disarray2077
7100333f9a
Make ReplaceLargerHelper private 2022-12-19 13:11:13 -03:00
disarray2077
7ebf233882
Slightly improve StringEnumerator HasMore 2022-11-24 18:59:18 -03:00
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