Commit Graph

8265 Commits

Author SHA1 Message Date
paul chipchase
2f83d98619 Add an overload to the /= operator for FString that is compatible with FStringView/TStringBuilder/FString and removed the FString specific /= operator.
- To maintain backwards compatibility an overload for non TCHAR raw string types has also been added which will be converted to the correct format via a temp FString first.
  - Fixed cases of Fstring /= char* found in AndroidPlatformFile.cpp and PythonScriptPluginPreload.cpp
- Added unit tests for the /= operator when passing in TCHAR*, ANSICHAR*, FString, FStringView and TStringBuilder in various forms.
- Changed GetNumfor TStringBuilderBase to return int32 (which is what TStringBuilderBase::Len() returns anyway) rather than SIZE_T to prevent compiler warnings about casting types.

#rb Steve.Robb

[CL 15674959 by paul chipchase in ue5-main branch]
2021-03-11 04:03:02 -04:00
Arne Schober
5305cb98e9 U5 - undoing accidental checked-in test code
#fyi Marc.Audy

[CL 15669416 by Arne Schober in ue5-main branch]
2021-03-10 16:20:45 -04:00
Jerome Delattre
c45720f499 Add support for telemetry in automated tests
Telemetry data is stored in a csv file that can be picked up later.
Configuration options can be used to specify a custom path and force the csv file to be reset on new (editor) session.

Telemetry data stores: platform, config, datetime, testname, context, datapoint, measurement

#jira UEENGQA-38047
#rb Andrew.Grant

[CL 15667990 by Jerome Delattre in ue5-main branch]
2021-03-10 14:00:26 -04:00
Devin Doucette
adf0da4362 StringBuilder: Added WriteToString<N>(Args...) to create and write to a temporary string
#rb Zousar.Shaker

[CL 15663283 by Devin Doucette in ue5-main branch]
2021-03-09 23:29:57 -04:00
will damon
af1d4f6dbd Use env to work around the funny (and conflicting) single/double quote rules of shell vs .NET Core on Linux/Mac.
#rb brandon.schaefer
[FYI] josh.adams
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 15654307 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15654308 by will damon in ue5-main branch]
2021-03-09 10:44:21 -04:00
Patrick Boutot
bed4541458 Add Steal function to TAttribute to return a moved getter or value. The attribute need to be set.
#rb steve.robb, andrew.rodham

[CL 15654048 by Patrick Boutot in ue5-main branch]
2021-03-09 09:59:08 -04:00
danny couture
134375916e Use Invoke instead of calling the functor directly.
#rb Steve.Robb

[CL 15653368 by danny couture in ue5-main branch]
2021-03-09 07:48:13 -04:00
Andriy Tylychko
1e086ce593 Tasks: added optional memory order parameter to LowLevelTasks::FTask::IsCompleted for fine tuning cases where sequential consistency is not required
#rb arne.schober

[CL 15652949 by Andriy Tylychko in ue5-main branch]
2021-03-09 06:31:23 -04:00
PJ Kack
7d0ce73222 Improve chances of displaying message box information on configurations falling back to the generic implementation.
#jira UE-109507
#rb martin.ridgers
#rnx
#robomerge Release-5.0-EarlyAccess

[CL 15651708 by PJ Kack in ue5-main branch]
2021-03-09 03:55:48 -04:00
rolando caloca
141db1485b UE5EA - Clang compile fix
#rb trivial
#jira UE-110114

#ROBOMERGE-SOURCE: CL 15645776 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15645784 by rolando caloca in ue5-main branch]
2021-03-08 17:16:28 -04:00
jeff newquist
34f6ef6d1c Stats system is still using 32-bit cycle counts, so don't use Cycles64() which may have a different resolution. Fix issue with hitch detection resulting from use of 64-bit count.
#jira UE-107359, UE-94786
#rb Yuriy.Odonnell
#rnx

#ROBOMERGE-SOURCE: CL 15643029 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15643057 by jeff newquist in ue5-main branch]
2021-03-08 13:39:18 -04:00
chris babcock
a28ed1ac52 Disable HWCPipe on non-ARM architectures
#jira UE-110110
#ue5
#android
[at]Brandon.Schaefer
[FYI] Dmyto.Vovk
#rb Brandon.Schaefer

#ROBOMERGE-SOURCE: CL 15640819 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15640866 by chris babcock in ue5-main branch]
2021-03-08 12:09:55 -04:00
will damon
fbdd13fbc4 Fixup FSerializedUATProcess URL to shell out correctly on Linux and Mac.
#rb Arne.Schober
[FYI] Brandon.Schaefer, Josh.Adams
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 15633068 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15633071 by will damon in ue5-main branch]
2021-03-06 10:05:02 -04:00
axel riffard
7e38c0bced Fix Clang build on Windows
#jira UE-110114

#ROBOMERGE-SOURCE: CL 15631974 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15631996 by axel riffard in ue5-main branch]
2021-03-05 21:53:23 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
jamie dale
68face5e2b Ensure that the localization and internationalization systems shutdown in the correct order
#jira UE-108142
#rb Francis.Hurteau

#ROBOMERGE-SOURCE: CL 15630795 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15630828 by jamie dale in ue5-main branch]
2021-03-05 19:18:15 -04:00
roey borsteinas
feec307bda WorldPartition: Serialize actor's folder as part of the actordesc
#rb jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15628991 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15629008 by roey borsteinas in ue5-main branch]
2021-03-05 16:34:52 -04:00
danny chapman
08c9a4bbc2 Use triangulation at runtime in BlendSpace. This is coupled with changes to the BlendSpace UI.
#jira UE-108158
#rb thomas.sarkanen

[CL 15626759 by danny chapman in ue5-main branch]
2021-03-05 13:37:08 -04:00
Devin Doucette
05133fe020 String: Fix non-unity errors from StringConv.h
#rb trivial
#rnx

[CL 15625213 by Devin Doucette in ue5-main branch]
2021-03-05 11:55:55 -04:00
Andriy Tylychko
31c369c3bf Two related parts:
1) TlsAutoCleanup: in the previous version `FTlsAutoCleanup` used `FRunnableThread` to store registered instances and to delete them on `FRunnableThread` destruction. This means that all threads that are not created by `FRunnableThread` (the game thread in particular, and all 3rd-party threads) never delete registered `FTlsAutoCleanup` instances. This change moves the storage from `FRunnableThread` to TLS to cover all threads

Thsi change can break systems that implemented a workaround for this problem, e.g. by manually deleting registered `FTlsAutoCleanup` instances on the game thread exit, as now this instances will be deleted twice. The solution is to remove the workaround and to rely on uniform `FTlsAutoCleanup` behaviour on all threads.

#rb steve.robb

2) removed CpuProfilerTrace workaround to handle the fact that FTlsAutoCleanup leaks on the game thread, as this is fixed by (1).

#rb martin.ridgers

Need to submit both parts together as they need each other

#robomerge Release-5.0-EarlyAccess

[CL 15624597 by Andriy Tylychko in ue5-main branch]
2021-03-05 11:29:40 -04:00
Johan Berg
cdc73cbb05 [TraceLog] Use 64-bit cycle fields
Back out of previous new base cycle event change and use the absolute 64-bit cycle value instead. The previous solution did not support late connect scenarios. The memory cost is not significant based on the current marker frequency.

#rb martin.ridgers

[CL 15623871 by Johan Berg in ue5-main branch]
2021-03-05 10:06:56 -04:00
danny couture
9fc0c96069 Add a generic topological sort algorithm
#rb Steve.Robb

[CL 15623163 by danny couture in ue5-main branch]
2021-03-05 07:21:49 -04:00
sebastian nordgren
2395151ffa Duplicated MakeAttributeLambda and others of its kind to static functions inside TAttribute.
#review-15606384 @matt.kuhlenschmidt

[CL 15623071 by sebastian nordgren in ue5-main branch]
2021-03-05 06:46:40 -04:00
Catalin Dragoiu
bd4cde09c9 Change Frame events into a single event with absolute timestamps
#rb Ionut.Matasaru #jira UE-109217

[CL 15622895 by Catalin Dragoiu in ue5-main branch]
2021-03-05 06:02:02 -04:00
axel riffard
73fdd4356c Allow ExecProcess() to be called as a Job Process #fyi danny.couture #rb jack.porter #jira UE-109833 #okforgithub public
#ROBOMERGE-SOURCE: CL 15622789 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15622803 by axel riffard in ue5-main branch]
2021-03-05 05:26:15 -04:00