Commit Graph

278 Commits

Author SHA1 Message Date
ben marsh
227ccc472b Fix compile error on Clang due to different behavior in scoping for extern'd variables.
#jira UE-79560


#ROBOMERGE-SOURCE: CL 8376935 via CL 8380487
#ROBOMERGE-BOT: (v402-8361577)

[CL 8380544 by ben marsh in Main branch]
2019-08-29 19:52:45 -04:00
ben marsh
1c50519254 LiveCoding: Add a delegate that's called when a Live Coding patch is applied.
#jira UE-79227
[FYI] Rex.Hill


#ROBOMERGE-SOURCE: CL 8362316 via CL 8362852
#ROBOMERGE-BOT: (v402-8361577)

[CL 8362915 by ben marsh in Main branch]
2019-08-28 12:34:28 -04:00
ben marsh
534d6889d8 LiveCoding: Live Coding cannot be re-enabled after being disabled from the Compile button.
#jira
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 8361959 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v402-8361577)

[CL 8361962 by ben marsh in Main branch]
2019-08-28 10:30:23 -04:00
ben marsh
8360edbfd1 LiveCoding: More fixes for object reconstruction when reapplying Live Coding patches. Compiland IDs are now assigned from a central location, which can be queried at any time. The unity file mapping output from UBT is read on demand and used to populate the cache.
Also fix an issue where symbols in anonymous namespace would not use the correct name if an external build system is enabled.

#rb none
#jira UE-79095
#rnx

#ROBOMERGE-SOURCE: CL 8358810 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v401-8057353)

[CL 8358816 by ben marsh in Main branch]
2019-08-27 21:09:33 -04:00
ben marsh
e5079633cf Fix issues related to unnecessary symbol reconstruction in Live Coding modules. Generating separate object files for updated compilands was resulting in symbols being assigned a unique compiland id.
Object files generated for Live Coding compiles are now temporarily renamed to their original versions until the Live Coding patch is generated, after which point they are restored. Would be preferable to incorporate this logic in Live++ directly and just read from the correct files, but the number of changes necessary to support it would make it difficult to integrate new versions.

#rb none
#jira UE-79365, UE-79095, FORT-198753


#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 8310434 via CL 8357056
#ROBOMERGE-BOT: (v401-8057353)

[CL 8358588 by ben marsh in Main branch]
2019-08-27 20:59:19 -04:00
ben marsh
3f58193833 Fix whitespace in LC_LiveModule.cpp.
#jira


#ROBOMERGE-SOURCE: CL 8298254 via CL 8355229
#ROBOMERGE-BOT: (v401-8057353)

[CL 8355370 by ben marsh in Main branch]
2019-08-27 17:34:41 -04:00
Ben Marsh
f2af127fe7 Fix some compile errors running with /permissive- on Windows.
#rb none
#rnx

[CL 8211779 by Ben Marsh in Main branch]
2019-08-22 10:52:35 -04:00
aaron mcleran
1e533ffff8 Removing uproperty for windows target settings for audio device selection
#rb none
#jira UE-77229
#lockdown cristina.riveron

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 8102577 in //UE4/Release-4.23/... via CL 8102581
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v401-8057353)

[CL 8146498 by aaron mcleran in Dev-Build branch]
2019-08-20 23:05:11 -04:00
aaron mcleran
cc94228d8b Removing uproperty for windows target settings for audio device selection
#rb none
#jira UE-77229
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 8102577 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v401-8057353)

[CL 8102581 by aaron mcleran in Main branch]
2019-08-16 17:18:29 -04:00
josh adams
ec100b6e76 - Added early check before creating a TargetPlatform object if the PlatformInfo will be found (check a static function to see if it's usable before making it)
- Changed each platform's GetTargetPlatform[s] function
#rb none
#jira UE-78692
[FYI] bob.tellez

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 7952099 via CL 7954770 via CL 7954968
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v399-8035122)

[CL 8037950 by josh adams in Dev-Build branch]
2019-08-14 12:53:10 -04:00
josh adams
3d282bf6e7 - Added early check before creating a TargetPlatform object if the PlatformInfo will be found (check a static function to see if it's usable before making it)
- Changed each platform's GetTargetPlatform[s] function
#rb none
#jira UE-78692
[FYI] bob.tellez


#ROBOMERGE-SOURCE: CL 7952099 via CL 7954770
#ROBOMERGE-BOT: (v393-7951996)

[CL 7954968 by josh adams in Main branch]
2019-08-12 18:12:07 -04:00
Ben Marsh
beb4519169 Rename EBuildConfigurations::Type to EBuildConfiguration.
#rb none

[CL 7937697 by Ben Marsh in Dev-Build branch]
2019-08-09 17:35:36 -04:00
Ben Marsh
78e5da3eab Rename EBuildTargets::Type to EBuildTargetType, and add missing entries for server and program targets. Also replace usages of PlatformInfo::EPlatformType with EBuildTargetType.
#rb none
#rnx

[CL 7937405 by Ben Marsh in Dev-Build branch]
2019-08-09 16:46:25 -04:00
ben marsh
1b7c05c25e Live Coding: Restore patched module state if a packaged game is quick restarted.
#rb none
#jira UE-77396
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7713241 in //UE4/Release-4.23/... via CL 7713242
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7837360 by ben marsh in Dev-Build branch]
2019-08-06 23:07:26 -04:00
ben marsh
fe9ded22e3 Live Coding: Prevent orphaned console instances if a process never reattaches (due to manual startup, etc...). Job object handle is now duplicated into the child process at startup, and closed immediately.
#rb none
#rnx
#jira UE-77398

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7713232 in //UE4/Release-4.23/... via CL 7713233
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7837356 by ben marsh in Dev-Build branch]
2019-08-06 23:07:24 -04:00
ben marsh
eaa2228904 Live Coding: Use FPlatformMisc::RequestExit(true) when quick restarting an application, to ensure that logs are flushed and the session is not considered an abnormal termination.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7713202 in //UE4/Release-4.23/... via CL 7713203
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7837351 by ben marsh in Dev-Build branch]
2019-08-06 23:07:22 -04:00
ben marsh
307c1187b1 Live Coding: Fix patches not being reapplied during a quick restart for lazy loaded modules. Now forces such modules to be enabled immediately if they have pending patches.
#rb none
#jira UE-77610
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7713016 in //UE4/Release-4.23/... via CL 7713017
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7837321 by ben marsh in Dev-Build branch]
2019-08-06 23:07:04 -04:00
ben marsh
996b348cdf Live Coding: Fix failure to build patch when triggering Live Coding via the editor compile button with startup set to Manual. Was not registering the modules with the sidecar process before triggering the compile.
#rb none
#jira UE-77596
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7712963 in //UE4/Release-4.23/... via CL 7712964
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7837292 by ben marsh in Dev-Build branch]
2019-08-06 23:06:51 -04:00
ethan geller
b82b8aa4f2 [FYI] hongyi.yu, aaron.mcleran
#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ethan.geller
#ROBOMERGE-SOURCE: CL 7674538 via CL 7680304 via CL 7680413
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7805654 by ethan geller in Dev-Build branch]
2019-08-06 12:31:04 -04:00
brandon schaefer
8d99cce244 Remove OpenGL4 from the DefaultRHI list
#jira UE-78158
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 7671960 in //UE4/Release-4.23/... via CL 7671961
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7799945 by brandon schaefer in Dev-Build branch]
2019-08-06 11:59:54 -04:00
ben marsh
db48c5fa8e Live Coding: Restore patched module state if a packaged game is quick restarted.
#rb none
#jira UE-77396
#rnx

#ROBOMERGE-SOURCE: CL 7713241 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7713242 by ben marsh in Main branch]
2019-08-04 15:02:43 -04:00
ben marsh
beaddc8ced Live Coding: Prevent orphaned console instances if a process never reattaches (due to manual startup, etc...). Job object handle is now duplicated into the child process at startup, and closed immediately.
#rb none
#rnx
#jira UE-77398

#ROBOMERGE-SOURCE: CL 7713232 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7713233 by ben marsh in Main branch]
2019-08-04 14:34:45 -04:00
ben marsh
819abedcf2 Live Coding: Use FPlatformMisc::RequestExit(true) when quick restarting an application, to ensure that logs are flushed and the session is not considered an abnormal termination.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 7713202 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7713203 by ben marsh in Main branch]
2019-08-04 11:01:49 -04:00
ben marsh
d6df78234b Live Coding: Fix patches not being reapplied during a quick restart for lazy loaded modules. Now forces such modules to be enabled immediately if they have pending patches.
#rb none
#jira UE-77610
#rnx

#ROBOMERGE-SOURCE: CL 7713016 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7713017 by ben marsh in Main branch]
2019-08-03 19:08:42 -04:00
ben marsh
2560cf153a Live Coding: Fix failure to build patch when triggering Live Coding via the editor compile button with startup set to Manual. Was not registering the modules with the sidecar process before triggering the compile.
#rb none
#jira UE-77596
#rnx

#ROBOMERGE-SOURCE: CL 7712963 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v385-7708028)

[CL 7712964 by ben marsh in Main branch]
2019-08-03 16:27:12 -04:00