Commit Graph

1562 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
j baumgartner
8c44fa80ce [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 29987348 by j baumgartner in ue5-main branch]
2023-11-29 09:50:34 -05:00
per larsson
e1f3eaf3f2 UAT - use correct host adress when deploying to non host platforms
#rb Paul.Chipchase

[CL 29955917 by per larsson in ue5-main branch]
2023-11-28 03:35:17 -05:00
ben marsh
c4fa676cdc Fix static analysis warnings on newer NET builds.
[CL 29920306 by ben marsh in ue5-main branch]
2023-11-24 10:48:26 -05:00
sebastian schoner
ceb5c24aa2 Skip PAK file index encryption when -SkipEncryption is set
We have an option to skip encryption for PAK files but is it not consistently applied. This shows up for example when building the Content Worker: it sets the -SkipEncrpytion parameter in its packaging stage, yet the PAK tool is invoked with -encryptindex. This is relevant for modular builds, since those might not have encryption keys loaded at the time that the first PAK files are loaded.

[REVIEW] graeme.thornton
#rb Graeme.Thornton

[CL 29887972 by sebastian schoner in ue5-main branch]
2023-11-22 09:54:35 -05:00
per larsson
5d4e6f8552 IAS - added UAT option -Upload=<args> for uploading ondemand content to S3 compatible endpoint
Use -Upload=LocalZen to upload to local Zen server

#rb Paul.Chipchase

[CL 29777954 by per larsson in ue5-main branch]
2023-11-16 10:37:28 -05:00
josh adams
e94ead8457 - Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
#rb adam.kinge, joe.kirchoff

[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
ryan hummer
fc5a48a089 Adjusting FixPerforceCase boilerplate tags
#rnx
#rb none

[CL 29575649 by ryan hummer in ue5-main branch]
2023-11-08 17:17:57 -05:00
josh adams
7c3ccfd8b8 - Only apply UE_RELATIVE_BASE_DIR if it exists (ie has not been staged to a differnet dir structure)
- SubmitTool now will set the projectdir to the Restricted location only if not-staged
- Disabled some settings in SubmitTool to reduce unused staged files (dlls, etc)
- Disabled VULKAN_HAS_DEBUGGING_ENABLED when IS_PROGRAM, and no longer stage all the VkLayers when staging a Program (helps save over 20mb from standalone programs on Windows)
- No longer force ShaderFormats to true when building a program that is TargetPlatform enabled
#rb j.baumgartner

[CL 29527715 by josh adams in ue5-main branch]
2023-11-07 14:04:01 -05:00
josh adams
c4d3c7c349 - Fix warning about PluginBase.ini not being explicitly staged or not
#rb josh.adams

[CL 29497651 by josh adams in ue5-main branch]
2023-11-06 15:22:19 -05:00
joe bestrotheray
ad12e72ee2 Multi client launcher:
Add option to disable deleting all logs (this was breaking if there's a client running which wasn't launched by the tool as it couldn't delete its log file)
Pass in the full client number to the command line (I had issues with the existing 2 digit system because my bot accounts cross a 3 digit boundary)
#rb Arciel.Rekman, Richard.Smith, Kaleb.Morris
#tests built and ran tool locally using the new args

[CL 28918878 by joe bestrotheray in ue5-main branch]
2023-10-19 10:42:42 -04:00
zousar shaker
e95a2b2c30 Change default port for autolaunched ZenServer local service to 8558. When connecting to an existing service (not autolaunched), the default port remains what it was before, but will change in the future.
[CL 28665636 by zousar shaker in ue5-main branch]
2023-10-11 11:18:41 -04:00
leon huang
5b2d7c90a8 Localization:
Refactored the Localize UAT command to be more readable.
#rnx
#jira: none
#rb: Jamie.Dale

[CL 28400852 by leon huang in ue5-main branch]
2023-10-02 19:15:04 -04:00
arciel rekman
856b52f7ae Add a new UAT script to report on binary sizes.
#rb Ben.Woodhouse, Tom.Holmes
[REVIEW]

[CL 27947824 by arciel rekman in ue5-main branch]
2023-09-17 01:11:29 -04:00
chris constantinescu
9aa914f01c LinuxArm64 support for Low Level Tests through emulator, running in docker container
- Catch2 built for LinuxArm64
- new option to run apps in containerized mode
- builds docker image, setup and cleanup
- StringOp BuildGraph element for string operations (replace, to lower etc)
#jira UE-193565
#rb ue-qa-sdets

[CL 27758925 by chris constantinescu in ue5-main branch]
2023-09-11 12:55:31 -04:00
james singer
af3dc341fd Linux: Fix IsVanilla check by implementing EnumerateLauncherEngineInstallations for Linux
- Also add -BuildId flag to allow released builds to be registered as "launcher" builds.
- This gets us telemetry and the ability to open projects made on the Mac and Windows builds without being prompted to open a copy

#jira UE-187968
#rb zack.neyland, ryan.hummer

[CL 27716361 by james singer in ue5-main branch]
2023-09-08 12:55:33 -04:00
andrew phillips
bf12dcee39 Fixing vulnerable NuGet deps.
System.Drawing.Common 4.7.0 => 4.7.2  (https://github.com/advisories/GHSA-rxg9-xrhp-64gj)
MongoDB.Driver 2.11.5 => 2.19.0  (https://github.com/advisories/GHSA-7j9m-j397-g4wx)

#jira UE-194453
#rb francis.hurteau
#lockdown michal.valient

[CL 27715945 by andrew phillips in ue5-main branch]
2023-09-08 12:44:45 -04:00
arciel rekman
7668f3a374 MultiClientLauncher: added ability to pass -nullrhi and disable timeouts.
- Also a better command line for clients.

#rb none
#rnx
[FYI] Matt.Harris

[CL 27639100 by arciel rekman in ue5-main branch]
2023-09-06 12:19:25 -04:00