Commit Graph

4542 Commits

Author SHA1 Message Date
joe kirchoff
8e674c1c47 Update System.Drawing.Common to 4.7.3
#rnx

[CL 30279376 by joe kirchoff in ue5-main branch]
2023-12-12 17:25:50 -05:00
jerome delattre
71e89c2bb1 Add InstanceName to UnrealTestResults
#jira UE-200940
#rnx

[CL 30277312 by jerome delattre in ue5-main branch]
2023-12-12 16:34:30 -05:00
leon huang
f50395d0dd Localization:
Optimizationof Smartling download and upload.
- Previously, downloading of .po files from Smartling are done in series. Now, each language is downloaded in its own Task. Parallelizing downloads have improved download times anywhere from 2x to 10x.
- Logs for downloads, uploads and authentication token retrieval has been changed to be thread safe. The logs for a single Task will be batched and only printed after the task has completed.
- API for GetAuthenticationToken(), RequestAuthenticationToken() and RetrieveAuthenticationToken() has been changed to facilitate multithreaded logging
- Uploading of .po files has also been changed to be threaded to conform to the changes in APIs for the authentication token retrieval functions.
- Switched from Console.WriteLine to the preferred Logger.LogInformation

#rb: Jamie.Dale
#jira: none
#test: Performed the localization downloads locally. Checked the logs for the download step and compared timings of localization downloads. All tested localization files seems to have been downloaded successfully.

[CL 30252145 by leon huang in ue5-main branch]
2023-12-11 18:05:03 -05:00
joe kirchoff
371a0b161c Remove some unacceptable words
#rnx
#jira UE-202331

[CL 30243579 by joe kirchoff in ue5-main branch]
2023-12-11 13:47:35 -05:00
chris constantinescu
25d9b2bae8 Gauntlet LLT: update regex that parses console report to include potentially skipped tests
#jira UE-201146
#rnx

[CL 30219738 by chris constantinescu in ue5-main branch]
2023-12-08 16:24:01 -05:00
ryan hummer
583435d379 [Backout] - CL30186989
[FYI] joshua.shlemmer
Original CL Desc
-----------------------------------------------------------------

Modifies buildtasks that were using HTTPClients so that they use a singleton http client.

Follow up from CL 30122407

#rb Eric.Knapik, Wes.Hunt

[CL 30210278 by ryan hummer in ue5-main branch]
2023-12-08 09:42:30 -05:00
will brown
3a3e27c70e AutomationTool changes to support game projects overriding how to copy files during staging. InternalUtils.SafeCopyFile now takes an optional delegate to call when copying files. A CustomStageCopyHandler can be implemented to supply the copy operation. This is useful for transforming files during staging.
#rb Josh.Adams

[CL 30192577 by will brown in ue5-main branch]
2023-12-07 16:35:45 -05:00
joshua shlemmer
e4a921891d Modifies buildtasks that were using HTTPClients so that they use a singleton http client.
Follow up from CL 30122407

#rb Eric.Knapik, Wes.Hunt

[CL 30187247 by joshua shlemmer in ue5-main branch]
2023-12-07 13:57:33 -05:00
josh adams
4e879d913b - Made the .binariesdir file only on Mac
#jira UE-202088
#rb josh.adams

[CL 30180011 by josh adams in ue5-main branch]
2023-12-07 10:31:50 -05:00
leon huang
95acda43f6 Localization:
Introduced opt in localization for plugins. Plugins can be set to never have localization config files generated, auto-generated or have the localization pipeline use the user generated localization config files.
- All existing plugins with localization targets will be retrofitted to have a LocalizationConfigGenerationPolicy of Never to match current behavior.
- Introduced the LocalizationConfigGenerationPolicy enum to plugin descriptors and LocalizationTargetDescriptors. This controls whether plugin localization targets use user generated localization config files, auto-generated localization config files or if the plugin is never to have localization config files and thus not localized.
- Introduced a step in the Localize UAT command to auto-generate localization config files with default settings for plugins that opt into the auto-generation feature.
- Added a clean up step in the Localize uAT command to delete all auto-generated files and folders from a run of the command.
- Added a -PreserveAutoGeneratedResources flag for the Localize UAT command to preserve the auto-generated files and directories for debugging.
-Updated both the C# and C++ version of the LocalizationTargetDescriptor to contain the new LocalizationConfigGenerationPolicy and have them read and written from the plugin descriptor files.
- Updated the NewPluginLocalizationTarget command under the LocalizationTargetEditor UAT command to accept a LocalizationConfigGenerationPolicy as a command line argument for all plugin localization targets to be created.
If the parameter is not specified, the parameter defaults to the Auto LocalizationConfigGenerationPolicy for all the plugins specified.
#rb: Jamie.Dale
#jira: UE-194880, UE-194879
#test Used the NewPluginLocalizationTarget sub-command to create plugins with an auto localization target. Used the Localize UAT command to perform a gather for such a plugin. Config files were indeed generated, the plugin was gathered and the loc data stored in PluginName/Content/Localization and then the config files were deleted. No fuss, no muss

[CL 30172150 by leon huang in ue5-main branch]
2023-12-06 19:03:56 -05:00
josh adams
7711bc6d7a - Make sure zipping a Mac app works with ZipTask which deletes empty directories (the Binaries/Mac dir may be empty after staging), by creating an empty file in Binaries/<platform>
#rb josh.adams

[CL 30169237 by josh adams in ue5-main branch]
2023-12-06 17:07:46 -05:00
josh adams
0e5bfd9fd0 - Removed some temp code checked in by mistake
#rb josh.adams

[CL 30164122 by josh adams in ue5-main branch]
2023-12-06 14:38:47 -05:00
josh adams
bea9b503ea - Fixed Staging of Program Mac targets to keep the bogus .app copies out of the Staged dir
#rb josh.adams

[CL 30163538 by josh adams in ue5-main branch]
2023-12-06 14:29:31 -05:00
brendan lienau
68fcd78c7a [Gauntlet] Reorder DevicePool functions public -> protected -> private
[CL 30159789 by brendan lienau in ue5-main branch]
2023-12-06 12:39:14 -05:00
marc audy
98ad979791 Make macro for unreachable code disabling
Enable C4702 on xbox
Fix every more C4702 warnings

[CL 30136542 by marc audy in ue5-main branch]
2023-12-05 17:13:14 -05:00
joshua shlemmer
7902c4cd98 reusable singleton httpclient as per MS guidance for .net5+
updates PDB telemetry task to use new client

[REVIEW] [at]Gary.Yuan, [at]Eric.Knapik

#rb Eric.Knapik

[CL 30122489 by joshua shlemmer in ue5-main branch]
2023-12-05 12:18:26 -05:00
brendan lienau
0be2222e4d [Gauntlet] Retain desktop builds in the device cache when using device reservation blocks
Also remove destlocalinstalldir from UnrealSession and adds an equivalent InstallRoot into TargetDeviceDesktopCommon
#jira UE-201400
#rb David.Harvey, Josh.Engebretson

[CL 30120356 by brendan lienau in ue5-main branch]
2023-12-05 11:13:22 -05:00
j baumgartner
937bbe4485 [SubmitTool] Re-do changes for the UAT validators that got squashed during all the p4 craziness yesterday
#rb juan.legaz

[CL 30118619 by j baumgartner in ue5-main branch]
2023-12-05 10:10:32 -05:00
joe kirchoff
3b999f8958 AutomationTool: Check for dotnet msbuild only when visual studio msbuild is not available on windows
#rnx

[CL 30105200 by joe kirchoff in ue5-main branch]
2023-12-04 20:21:02 -05:00
joe kirchoff
66277acc2a AutomationTool: Remove obsolete ParallelExecutor
#rnx
#rb Ryan.Hummer

[CL 30089190 by joe kirchoff in ue5-main branch]
2023-12-04 13:43:10 -05:00
per larsson
1d5fbd24bd IAS - append the encryption key filename to upload command
#rb Paul.Chipchase

[CL 30088914 by per larsson in ue5-main branch]
2023-12-04 13:32:08 -05:00
joe kirchoff
d588504468 [Backout] - CL30061307
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
AutomationTool: Check for dotnet instead of always relying on an installed visual studio

#rnx

[CL 30088082 by joe kirchoff in ue5-main branch]
2023-12-04 13:02:02 -05:00
grant medine
600075c424 [Backout] - CL30081973
[FYI] j.baumgartner
Original CL Desc
-----------------------------------------------------------------
[SubmitTool]
- Add CheckBalancedMacros validator and functionality to the script to accept a file list
- Added some extra error checking for CheckCopyrightNotices validator
- Add CheckUnacceptableWords validator and functionality to the script to accept a file list
- Fix an unacceptable word in SubmitTool.ini

#rb juan.legaz

[CL 30084969 by grant medine in ue5-main branch]
2023-12-04 11:46:17 -05:00
joe kirchoff
eaaeb691d7 AutomationTool: Check for dotnet instead of always relying on an installed visual studio
#rnx

[CL 30061318 by joe kirchoff in ue5-main branch]
2023-12-01 19:22:00 -05:00
robert millar
9a01eb76fb Change SanitizeLogOutput to restore legacy log format including timestamps
[FYI] Ben.Marsh, Devin.Doucette, j.baumgartner

[CL 30057651 by robert millar in ue5-main branch]
2023-12-01 17:55:42 -05:00