Commit Graph

4654 Commits

Author SHA1 Message Date
Ben Marsh
dc40d0964d UBT: Disable the "bAdaptiveUnityDisablesPCH" build flag by default. This significantly improves iteration times on individual files, at the risk of introducing missing headers. Will validate this in CIS instead.
#rb none
#jira

[CL 5447578 by Ben Marsh in 4.22 branch]
2019-03-19 08:47:06 -04:00
Graeme Thornton
1426faf9b3 Created a new interface to RSA functionality that is independent of key size (unlike the old TBigInt version). Internally, RSA functions are implemented by OpenSSL on Windows/Mac/Linux an falling back to the TBigInt implementation for other platforms
- Future plan would be not to use OpenSSL directly, but to go via PlatformCrypto or something like it which could provide platform specific RSA functionality if it exists
- Also contains some compensation code for platforms that are still stuck on an older version of OpenSSL (everything except windows)
- On platforms that use OpenSSL < 1.1.1, register a locking callback so we can provide mutexes and stop it crashing horribly when the same RSA key is used concurrently on different threads

Changed default key size in the CryptoKeys plugin to 4096 bits.

#jira UE-71377
#rb ian.fox, robert.manuszewski, ryan.gerleve

[CL 5447433 by Graeme Thornton in 4.22 branch]
2019-03-19 07:30:08 -04:00
Jules Blok
86373da314 Escape all paths when generating VS project filter files
#jira UE-71727
#rb Jack.Porter

[CL 5439949 by Jules Blok in 4.22 branch]
2019-03-18 20:15:37 -04:00
Jeff Fisher
b620c775dd Back out changelist 5417701
-This fix breaks the ddc build, which is more important.
#rb build
#jira UE-67120

[CL 5423419 by Jeff Fisher in 4.22 branch]
2019-03-16 13:39:10 -04:00
Sorin Gradinaru
10e4aa4ac2 UE-71596 iOS packaging error with CloudKit enabled - Provisioning profile <...> doesn't match the entitlements file's values
#jira UE-71596
#iOS
#tvOS
#4.22
#rb Jack.Porter

Moved the entitlements file generation from preinit to postbuild, so we can write the correct iCloud container settings

[CL 5419244 by Sorin Gradinaru in 4.22 branch]
2019-03-15 13:23:51 -04:00
Jeff Fisher
e695fa73a2 UE-67120 Editor crash on startup after enabling Morpheus plugin...
UE-67297 ShaderCompiler crash when opening the editor with Morpheus plugin and project setting enabled
-Moved this shader file out of platform shader directory into the  plugin shaders (it isn't actually for use on that platform, its used in the editor).  Sadly we still need to use it from engine code if the shader file exists because a postprocesspass cannot be defined in a plugin and I couldn't find a way to pull the shader from the plugin and use it in the pass so I had to hardcode the shader path mapping for this plugin in launchengineloop.  A rendering refactor is coming along that will make postprocess passes more like other passes, so it makes sense to defer refactoring this until after that.
#jira UE-67120 UE-67297
#rb Ryan.Vance

[CL 5417701 by Jeff Fisher in 4.22 branch]
2019-03-15 12:53:07 -04:00
Nick Shin
658ed03208 HTML5 - FrontEnd COTF - seems proxy port is no longer used/needed
#jira UE-64628  HTML5 Quick Launch fails to connect due to incorrect port
#rb none
#rnx

[CL 5415267 by Nick Shin in 4.22 branch]
2019-03-15 11:39:43 -04:00
Ben Marsh
540eabe9bd UBT: Add a bAdaptiveUnityDisablesPCHForProject setting, which allows overriding the "bAdaptiveUnityDisablesPCH" setting for project-specific code.
#jira
#rb none

[CL 5414630 by Ben Marsh in 4.22 branch]
2019-03-15 11:12:23 -04:00
Stuart Hill
c73130f4a9 Prevent the Pixel Streaming Demo from trying to change the resolution to 4K when the user hasn't added the -NvEncH264ConfigLevel=NV_ENC_LEVEL_H264_52 UE4 command line option to UE4.
#rb Alistair.White
#rnx
#jira UE-70299

[CL 5414137 by Stuart Hill in 4.22 branch]
2019-03-15 10:53:52 -04:00
Cosmin Sulea
634ec14800 UE-67484 - tvOS LaunchOn error: IBCocoaTouchImageCatalogTool[7050:421228] CoreThemeDefinition: Unable to get image stack data for file
#jira UE-67484
#rb Jack.Porter

[CL 5412656 by Cosmin Sulea in 4.22 branch]
2019-03-15 08:12:49 -04:00
Ben Marsh
098d10583d Fix issues related to hot-reload and LiveCoding co-existing.
* Removed code to invalidate makefiles when adding new source files. UBT should be reliable enough to make this determination itself nowadays, and ignored -invalidatemakefilesonly argument was causing modules to be recompiled.
* Fixed incorrect config section name when determining whether to allow hot reload from IDE. Now prevents hot reload from IDE when live coding is enabled.
* Added error message when trying to add a new class with Live Coding enabled.
* Added error messages when trying to start Live Coding after a hot reload has taken place.
* Added error messages when trying to hot reload with Live Coding enabled.

#jira UE-71253
#rb none

[CL 5403464 by Ben Marsh in 4.22 branch]
2019-03-14 17:51:49 -04:00
Cosmin Sulea
63ce379a4d UE-70766 - iOS remote build unloads the Login Keychain on the remote Mac - additional
#jira UE-70766
#rb Jack.Porter

[CL 5397216 by Cosmin Sulea in 4.22 branch]
2019-03-14 10:07:10 -04:00
Ben Marsh
65bb419359 UBT: Fix generated config files not being read by UBT, or being considered when determining if makefiles are out of date.
#rb none
#jira UE-71501

[CL 5392870 by Ben Marsh in 4.22 branch]
2019-03-13 17:39:05 -04:00
Cosmin Sulea
0cc41abbb4 UE-70358 - Failure to sign when packaging for iOS Distribution when using Remote Compile from a code project on Windows
#jira UE-70358
#rb Ben.Marsh

[CL 5382950 by Cosmin Sulea in 4.22 branch]
2019-03-13 10:59:08 -04:00
Michael Trepka
c7eca37e78 UBT: Fixed Copy Action on Mac and Linux for paths containing space character
#jira UE-71448
#rb trivial

[CL 5382629 by Michael Trepka in 4.22 branch]
2019-03-13 10:41:02 -04:00
Cosmin Sulea
d5c75a7c8e UE-70734 - DeploymentServer: System.IO.IOException: Unable to write data to the transport connection
#jira UE-70734
#rb Jack.Porter

[CL 5359576 by Cosmin Sulea in 4.22 branch]
2019-03-11 11:09:52 -04:00
Ben Marsh
dc282175a4 Add some FileReference/DirectoryReference overloads to CommandUtils.
#rb none
#jira

[CL 5357972 by Ben Marsh in 4.22 branch]
2019-03-10 17:52:26 -04:00
Ben Marsh
e0766caf1d LiveCoding: Wait for other processes to finish when triggering a compile. Allows live coding to work with multiple editors open.
#rb none
#jira UE-71287

[CL 5354077 by Ben Marsh in 4.22 branch]
2019-03-08 18:21:16 -05:00
Sorin Gradinaru
f8247a1771 UE-66204 iOS and tvOS errors in Application Loader to Apple: 'Invalid Code Signing Entitlements' with iCloud
#jira UE-66204
#iOS
#4.22
#rb Jack.Porter

For distribution builds, the entitlements have a modified syntax comparing to the entitlements section from the mobileprovisioning file.
When signing the ipa, the iPhonePackeger uses the values from the mobileprovisioning file.
Adding filters to validate the entitlements before sending them as parameter for the codesign tool.

[CL 5348200 by Sorin Gradinaru in 4.22 branch]
2019-03-08 04:58:33 -05:00
Ben Marsh
9c46e134c4 Fix error messages that instruct the user to install Visual Studio 2015 (should be 2017)
#rb none
#rnx
#jira

[CL 5343248 by Ben Marsh in 4.22 branch]
2019-03-07 17:35:07 -05:00
Ben Marsh
f5ba8f1b0f LiveCoding: Restore the console if it's minimized when a compile started.
#rb none
#jira UE-71159

[CL 5338722 by Ben Marsh in 4.22 branch]
2019-03-07 13:08:38 -05:00
Ben Marsh
823835922c Allow multiple nodes to produce dxil.dll and dxcompiler.dll.
#rb none
#jira UE-71140
#rnx

[CL 5338417 by Ben Marsh in 4.22 branch]
2019-03-07 12:33:13 -05:00
Ben Marsh
1a67f46834 Better handling of window focus when compiling for live code.
* Console window is made visible and brought to the front when a compile is triggered.
* Patched application window is brought to the front once patching is complete.

#rb none
#jira UE-71128

[CL 5337696 by Ben Marsh in 4.22 branch]
2019-03-07 11:25:01 -05:00
Ben Marsh
ade254d0aa LiveCoding: Fix "Show Console" button not making the window visible if the window has been closed.
#rb none
#jira UE-71076

[CL 5337403 by Ben Marsh in 4.22 branch]
2019-03-07 10:21:32 -05:00
Ben Marsh
954a552541 UBT: Use compact FileItem objects in source file metadata cache. Improves serialization performance by another 50-60ms.
#rb none
#jira UE-71116

[CL 5337196 by Ben Marsh in 4.22 branch]
2019-03-07 09:41:11 -05:00