marc audy
763a611985
Fix C4072 warnings
...
#rnx
[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
carl lloyd
742cd26994
Switching from mtlpp to Apple's MetalCPP library
...
- Mostly a straight port from mtlpp to MetalCPP
- The debug encoders have been removed in favour of Metal's built in encoder errors, these are always on in debug and development builds
- mtlpp had additional validation that we are now not implementing in the short term, but will revisit after some refactoring
#rb Zack.Neyland
[CL 29773146 by carl lloyd in ue5-main branch]
2023-11-16 05:04:37 -05:00
steve robb
03581cfe15
Added new static StringType::Construct* functions to replace the dubious set of string constructors whose behaviour aren't obvious.
...
Added deprecation option for the string constructors, which are enabled for FUtf8String and FAnsiString and will be used to incrementally replace usage for FString.
#rb james.hopkin
[CL 29682001 by steve robb in ue5-main branch]
2023-11-13 09:16:12 -05:00
steve robb
ccdbe57e7f
Silenced IncludeTool from complaining about the string *.inl files.
...
#rb trivial
[CL 28449995 by steve robb in ue5-main branch]
2023-10-04 07:27:50 -04:00
steve robb
96a3b4ec26
Added FAnsiString and FUtf8String.
...
#rb devin.doucette
#jira UE-194628
[CL 28437713 by steve robb in ue5-main branch]
2023-10-03 18:45:10 -04:00
steve robb
e310b0712d
Removed CharToEscapeSeqMap and MaxSupportedEscapeChars templates.
...
#rb trivial
#jira UE-194628
[CL 28434235 by steve robb in ue5-main branch]
2023-10-03 17:30:37 -04:00
steve robb
49c40df975
Disambiguated some more string class implementation details, by name.
...
#rb devin.doucette
#jira UE-194628
[CL 28431023 by steve robb in ue5-main branch]
2023-10-03 16:40:52 -04:00
steve robb
8481919115
Removed templating from FString implementation functions, to allow them to be defined per-char type and not clash in unity builds.
...
#rb devin.doucette
#jira UE-194628
[CL 28427431 by steve robb in ue5-main branch]
2023-10-03 15:37:50 -04:00
steve robb
4c7a7800fb
Added UTF-8 serialization for non-TCHAR string classes.
...
#rb devin.doucette
#jira UE-194628
[CL 28413111 by steve robb in ue5-main branch]
2023-10-03 10:15:01 -04:00
steve robb
f105deaf5e
Moved reusable StripNegativeZero out of string template code.
...
#rb trivial
#jira UE-194628
[CL 28408168 by steve robb in ue5-main branch]
2023-10-03 05:12:53 -04:00
steve robb
ca7a4b880b
Added UE_STRING_CHARTYPE_IS_TCHAR for switching on that because there's no easy way to compare the UE_STRING_CHARTYPE macro.
...
Replaced the if constexpr usage in FString's operator<< with the new macro.
Fixed some incorrect usage of CHARTEXT when logging.
#rb devin.doucette
#jira UE-194628
[CL 28391466 by steve robb in ue5-main branch]
2023-10-02 15:59:43 -04:00
steve robb
76654019ba
Added UE_STRING_CHARTYPE for configuring the string class element type.
...
#rb james.hopkin
#jira UE-194628
[CL 28377782 by steve robb in ue5-main branch]
2023-10-02 10:44:43 -04:00
steve robb
a84e22104b
Replaced GET_VARARGS* macros with GET_TYPED_VARARGS*.
...
#rb james.hopkin
#jira UE-194628
[CL 28346416 by steve robb in ue5-main branch]
2023-09-29 13:00:07 -04:00
steve robb
dea6565ed3
Fixed up some use of TCHAR instead of ElementType.
...
#rb james.hopkin
#jira UE-194628
[CL 28338470 by steve robb in ue5-main branch]
2023-09-29 06:10:12 -04:00
steve robb
1a5a10ec8c
Renamed FString to a macro which will be used to expand out to different names.
...
#rb james.hopkin
#jira UE-194628
[CL 28030374 by steve robb in ue5-main branch]
2023-09-20 06:08:43 -04:00
steve robb
3cccdde2da
Moved code out of generic string .inl files that we don't want to be generic (yet?).
...
#rb devin.doucette
#jira UE-194628
[CL 27837674 by steve robb in ue5-main branch]
2023-09-13 13:05:04 -04:00
steve robb
e8b2d6304a
Moved string code into .inl files in anticipation of the upcoming FUtf8String change.
...
#rb devin.doucette
#jira UE-194628
[CL 27832174 by steve robb in ue5-main branch]
2023-09-13 11:11:38 -04:00
steve robb
a769bda86a
Fixes for static analysis false positives.
...
#rb andriy.tylychko
[FYI] robert.millar
[CL 27824599 by steve robb in ue5-main branch]
2023-09-13 06:18:35 -04:00
steve robb
a398665058
CHARTEXT(CharType, x) which expands out to x, TEXT(x) or UTF8TEXT(x) depending on CharType.
...
#rb robert.millar
#jira UE-194628
[CL 27818547 by steve robb in ue5-main branch]
2023-09-12 21:06:52 -04:00
steve robb
02a5e0b525
Fixed TStaticBitArray::operator== const incorrectness, which wasn't being called by operator!= but was instead causing an incorrect path to be called via implicit bool conversions.
...
Disabled implicit bool construction, conversions and comparisons.
Added HasAnyBitsSet() instead.
Added tests.
#rb james.hopkin
[CL 27712240 by steve robb in ue5-main branch]
2023-09-08 11:16:20 -04:00
steve robb
5f677633a1
FString prep for UTF-8:
...
- TCHAR to ElementType.
- Implementation functions taking TCHARs to being templated taking a CharType.
- FCString to TCString<CharType>.
- FChar to TChar<CharType>.
- TEXT(...) to UE_STRING_TEXT(...).
#rb james.hopkin
#jira UE-194628
[CL 27670680 by steve robb in ue5-main branch]
2023-09-07 09:15:14 -04:00
steve robb
799c6e642c
Fixed FString's private namespacing.
...
#rb none
[CL 27481738 by steve robb in ue5-main branch]
2023-08-30 08:38:13 -04:00
tim smith
5252c1e1b3
1) Removed the bUseVerse UBT setting.
...
2) Removed usage of WITH_VERSE and UE_USE_VERSE_PATHS
3) Modified UBT to always set WITH_VERSE and UE_USE_VERSE_PATHS to one until the setting is completely removed.
#rb Andrew.Scheidecker
[CL 27199531 by tim smith in ue5-main branch]
2023-08-18 08:09:29 -04:00
nick edwards
8df8213d1e
Added Algo::Includes, based on std::includes.
...
Added unit tests for Algo::Includes
#rb Steve.Robb
[CL 26117237 by nick edwards in ue5-main branch]
2023-06-20 06:54:05 -04:00
Steve Robb
c1216b9280
Replaced some operator TArray new usage - enough to make BlankProgram compile if operator new is deprecated.
...
#rb james.hopkin
#jira none
#preflight 6452372a0722d4f6a2d71e8e
[CL 25315828 by Steve Robb in ue5-main branch]
2023-05-03 07:02:43 -04:00