Commit Graph

323 Commits

Author SHA1 Message Date
Joakim Lindqvist
54e45d8b68 Read Engini Ini from the root path, this will, when deployed to the installer branch, fix a issue when attempting to generate projects from the context menu of a uproject.
#jira UE-104192

[CL 15337083 by Joakim Lindqvist in ue5-main branch]
2021-02-05 08:56:09 -04:00
Joakim Lindqvist
ff6d46e098 Fixes for Mac/Linux editors spawning UBT
#review-15066532 Rolando.Caloca
#jira UE-104425

[CL 15082649 by Joakim Lindqvist in ue5-main branch]
2021-01-14 06:34:48 -04:00
will damon
4dd3568c5f Rename UE4EditorServices to UnrealEditorServices
- Rename files/folders.
- Rename output targets.
- Fixup icon reference in Info.plist

#rb brandon.schaefer rolando.caloca
#review-15004124 @rolando.caloca @brandon.schaefer
#jira UE-104770
#rnx

[CL 15004464 by will damon in ue5-main branch]
2021-01-06 18:21:17 -04:00
halfdan ingvarsson
99ad52d24b Trivial build fixes for building with clang 10 & 11.
#fyi Andrey.Yamashev, Joakim.Lindqvist, graham.wihlidal, Lauren.Barnes
#rb none
#trivial
#jira none
#rnx

[CL 14765838 by halfdan ingvarsson in ue5-main branch]
2020-11-17 16:33:24 -04:00
Joakim Lindqvist
8b4361387b Removed redundant paths to UBT controlling it in a single place that is aware of our netcore locations. Fixes issues creating new foreign projects.
#jira UE-102805
#rb none

[CL 14699216 by Joakim Lindqvist in ue5-main branch]
2020-11-10 09:29:23 -04:00
Joakim Lindqvist
4e29dccec8 Added ini option to control path to UBT as spawned by editor.
Defaults to old UBT path. Will be used to override path for netcore built version of UBT.

#rb ben.marsh

[CL 14688056 by Joakim Lindqvist in ue5-main branch]
2020-11-09 06:59:37 -04:00
Josh Adams
19fb469c91 - Sety an env var in DesktopPlatform so that children processes know it's being run from an unreal process (UE_DesktopUnrealProcess=1)
- Use this in RunUAT.sh to control how the background workaround for child processes not dying is used for mono UAT
#rb brandon.schaefer
#fyi joakim.lindqvist

[CL 14504487 by Josh Adams in ue5-main branch]
2020-10-15 16:20:48 -04:00
danny couture
8f88f4a055 Add some useful Insights trace
#rb Francis.Hurteau

[CL 14487717 by danny couture in ue5-main branch]
2020-10-13 21:04:47 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Josh Adams
d923000232 - Moved File | Package and Cook into Launch menu, which may become the Platforms menu (or similar)
- Can now cook for any platform (and will soon have a Prepare for Debugging option)
- All the packaging and cooking stuff are now in TurnkeySupportModule
- Allow per-platform configuration/cook target
- Added a temporary inactive menu item to point users to the Launch menu for packaging
- This is first pass on this, it's expected to change, even move locations, etc as feedback/needed dictate
#rb matt.kuhlenschmidt

[CL 14312841 by Josh Adams in ue5-main branch]
2020-09-14 17:08:13 -04:00
Ben Marsh
486408b1a9 Rename UE5Editor to UnrealEditor.
#rb none
#jira UE-97600

[CL 14292067 by Ben Marsh in ue5-main branch]
2020-09-10 15:39:00 -04:00
Ben Marsh
be7034ec27 Rename UE4Editor to UE5Editor, and generated solution/projects from UE4 -> UE5.
UE4Game/Client/Server targets left intact for the time being.

#rb none

[CL 14288076 by Ben Marsh in ue5-main branch]
2020-09-10 09:10:30 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Josh Adams
5f27a8dbcb [Upgrade Notes Critical! Licensee build scripts and DeviceProfiles may need updating]
- Formalizing all TargetPlatforms to have a Client version, rename WindowsNoEditor to Windows, and removing DDPI specification of TargetPlatforms, and generate them programmatically
- Updated names DeviceProfiles and Build scripts, as above
- Some PlatformInfo class cleanup
- Added a TNonDesktopTargetPlatformBase class to make most TargetPlatforms simpler
- Added "No Compiled Support" to the Turnkey LaunchOn menu when the TargetPlatforms aren't compiled in (to show that even if you install an SDK, you will need to compile before you can LaunchOn)\
- Starting the transition away from PlatformInfo::FPlatformInfo to FDDPI

[CL 13966487 by Josh Adams in ue5-main branch]
2020-07-29 16:19:10 -04:00
Josh Adams
94f4be4de1 - Renamed PlatformInfo::FPlatformInfo to PlatformInfo::FTargetPlatformInfo
- Renamed FDataDrivenPlatformRegistry::FPlatformInfo to FDataDrivenPlatformInfo
- Moved some fields from PlatformInfo::FTargetPlatformInfo to FDataDrivenPlatformInfo, and cleaned them up in the process
- Fixed the DataDrivePlatformInfo.ini files to match the previous items
- Removed FVanillaPlatformEntry, and now just using FTargetPlatformInfo to manage flavors under a vanilla PlatformInfo (see PlatformInfo::GetVanillaPlatformInfoArray())
- Cleaned up TPerPlatformValue, as it was often misused (took a group and platform name, but we can get the group from the platform name) [AnimationSharingManager.cpp, *Engine.cpp, Runtime\Engine\*, ]
- Fixed FBlueprintNativeCodeGenPaths::GetDefaultCodeGenPaths() to use IniPlatformName instead of some hacky code [BlueprintNativeCodeGenManifest.cpp]
- Fixed various Turnkey bugs that recent testing exposed
- Enabled AUTOSDKS_ENABLED in both Mac and Linux on the Editor side (not that there are much set up to use it)
- Using Turnkey to get the SDK status instead of ValidatePlatforms (gives more detailed information - may want to go back to ValidatePlatforms so only UBT is needed, but change it to give more info)
- Moved OnDeviceDiscovered and Lost delegates from each platform's TargetPlatform class to a static in ITargetPlatform - there was no need for per-platform implementations
- Started working on allowing for SDK to be installed with editor running and not need to restart editor - Work in Progress! It is not usable yet.
#fyi jack.porter
#rb pete.sauerbrei

[CL 13816905 by Josh Adams in ue5-main branch]
2020-07-01 17:07:12 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Josh Adams
ccc1743281 - Big TargetPlatform Module cleanup:
- Removed the function to return a single TP, and wrapped the functionality in a simple single required function (platform just has to add TPs to an array, high level code manages init and cleanup of the array)
  - Stripped unncessary code from all TPs
  - Collapsed the desktop targetplatform modules into 1 per platform
  - Renamed LinuxAArch64NoEditorTargetPlatfortm to LinuxAArch64TargetPlatform to match the other non-editor platforms
  - Deleted AllDesktopPlatform

[CL 13502803 by Josh Adams in ue5-main branch]
2020-05-22 09:57:29 -04:00
josh adams
498f1ad854 - Don't scan for .uplugin files for platformextensions where there is no support for the platform compiled in to the editor. This helps with build machines that don't have NDAd platform support that makes precompiled binaries, but users sync those platforms so have the .uplugin locally
- Optimized GetExtensionDirs()
- Added a FDataDrivenPlatformInfoRegistry::HasCompiledSupportForPlatform() function that can be used in other places to detect if a platform has been compiled or not

[FYI] bob.tellez
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 12874042 via CL 12874043 via CL 12874048
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12874059 by josh adams in Main branch]
2020-04-16 17:40:14 -04:00
ben marsh
6e9ae6e6fe Fix needing to manually enable building when launching projects from installed engine builds. Rather than relying solely on the engine promoted flag to determine whether a target should be built, we now check for the presence of a matching target receipt with the correct version information. If it's present, we don't trigger the build.
#rb none
#jira UE-89722, UE-90936

#ROBOMERGE-SOURCE: CL 12492552 in //UE4/Release-4.25/... via CL 12492554 via CL 12492556
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12492558 by ben marsh in Main branch]
2020-03-30 21:37:35 -04:00
bob tellez
ec6a9e6bf0 #UE4 Promoted builds may not have a source code folder. Look for TargetInfo.json file before assuming no targets when there is no Source folder. Also assume all targets in the file are valid since there is no way to verify them if the code is missing.
#rb Ben.Marsh
[FYI] Ben.Marsh


#ROBOMERGE-SOURCE: CL 12381757 via CL 12389829
#ROBOMERGE-BOT: (v671-12333473)

[CL 12391749 by bob tellez in Release-Engine-Staging branch]
2020-03-24 14:39:14 -04:00
bob tellez
7dff64fb44 #UE4 Write the target-enabled/disabled plugins lists to the target receipt instead of compiling it into the executable in non-monolitic editor builds. This allows them to be used in shared build environments
#rb Ben.Marsh


#ROBOMERGE-SOURCE: CL 12233987 via CL 12241649
#ROBOMERGE-BOT: (v667-12241502)

[CL 12242840 by bob tellez in Main branch]
2020-03-18 07:04:23 -04:00
ben marsh
ec275e0ed8 Parent the DDC download window to the splash screen, if it's active.
#jira


#ROBOMERGE-SOURCE: CL 12158948 via CL 12158960 via CL 12158963
#ROBOMERGE-BOT: (v659-12123632)

[CL 12158964 by ben marsh in Main branch]
2020-03-12 22:37:11 -04:00
ben marsh
3b33102620 Fix Clang compile error on Windows.
#rb none
#rnx
#jira UE-89748

#ROBOMERGE-SOURCE: CL 11866895 in //UE4/Release-4.25/... via CL 11866898
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11870124 by ben marsh in Main branch]
2020-03-03 11:45:30 -05:00
carl lloyd
a745d7eb86 Removed ATC/ETC1 and Android PVR texture formats
[at]Chris.babcock [at]Jack.porter
[FYI] [at]Rolando.Caloca [at]Luke.Thatcher
#rb Chris.babcock, Jack.porter, Rolando Caloca
#jira none

#ROBOMERGE-SOURCE: CL 11825686 in //UE4/Release-4.25/... via CL 11825740
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11825801 by carl lloyd in Main branch]
2020-03-02 11:26:01 -05:00
ben marsh
09c1a17f0b Another CIS fix.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 11699209 in //UE4/Release-4.25/... via CL 11699236
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11699324 by ben marsh in Main branch]
2020-02-27 16:34:14 -05:00