Commit Graph

29 Commits

Author SHA1 Message Date
tim smith
a49cb3c2bb Fix linking issue when doing Live Coding and adding new classes.
#rb self
#rnx
#jira UE-134615
#preflight 619ce61caa4521f9e7918e70

#ROBOMERGE-OWNER: tim.smith
#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 18269134 in //UE5/Release-5.0/... via CL 18269224
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18269238 by tim smith in ue5-release-engine-test branch]
2021-11-23 08:52:14 -05:00
tim smith
d6bc6ede20 Added log message for when quick start gets re-enabled.
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 17015792 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)

[CL 17015805 by tim smith in ue5-release-engine-test branch]
2021-08-02 10:24:45 -04:00
tim smith
01d31e503b Fixing minor feedback issue where a warning was being generated incorrectly.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16658305 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16658328 by tim smith in ue5-release-engine-test branch]
2021-06-14 10:30:27 -04:00
tim smith
899eaa25cd Improved notifications in the editor/game for live coding.
Added message that packaging can fail if assets reference new changes.

#rb
#rnx
#jira UE-115558
#preflight 60c39c8e8d00b80001b1e85f

#ROBOMERGE-SOURCE: CL 16645001 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16645007 by tim smith in ue5-release-engine-test branch]
2021-06-11 14:48:40 -04:00
tim smith
635605e672 Fix new bug with LiveCodingConsole where it doesn't update UI during a compile.
#rb trivial
#rnx
#preflight 60c22147730f8a00016e2c95

#ROBOMERGE-SOURCE: CL 16624311 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16624316 by tim smith in ue5-release-engine-test branch]
2021-06-10 11:53:34 -04:00
tim smith
8d9ec1e173 If re-instancing is enabled in a process using LiveCoding, disable the "Quick Restart" button until we can resolve the issues.
#rb jonathan.adamczewski
#rnx
#jira UE-115743
#preflight 60c1136cb68c700001a25659

#ROBOMERGE-SOURCE: CL 16613414 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16613419 by tim smith in ue5-release-engine-test branch]
2021-06-09 17:32:56 -04:00
Tim Smith
5fb833c5c1 Added support for more arbitrary property changes to live coding.
1) Changed the pre/post compile notifications from module notifications to process commands.
2) Added server command to notify that we want re-instance patching (two phase)
3) Added support for two phase patching to enable re-instancing without all the limitations.
4) Added a null CDO check for old blueprint classes (approved by Phillip)

#rb ben.marsh
#rnx
#preflight 6086e3481046fb000183c2d4

[CL 16115620 by Tim Smith in ue5-main branch]
2021-04-26 12:49:25 -04:00
Tim Smith
b48b94b010 Integration of Live++ 1.6.3
#rb none
#rnx

[CL 14926202 by Tim Smith in ue5-main branch]
2020-12-15 09:27:44 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Tim Smith
f678576713 Added a limit to the number of actions live coding will handle by default. The user can change these limits and even request that the compilation try again withot enforcing the limit.
#rb ben.marsh
#jira UE-81480

[CL 14878398 by Tim Smith in ue5-main branch]
2020-12-08 09:47:08 -04:00
Ben Marsh
0e6aa011b3 Copying //UE4/Dev-Build @ CL 11166028 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11166227 by Ben Marsh in Main branch]
2020-01-29 14:48:18 -05:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -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
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
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
940f5a5f73 LiveCoding: Create a new external module that includes the appropriate headers for Visual Studio automation support (VisualStudioDTE), allowing the UE-friendly version to be used by the VS source code accessor as well as Live Coding.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 7321384 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7321387 by ben marsh in Main branch]
2019-07-16 08:45:13 -04:00
ben marsh
45e9324ffc LiveCoding: Allow building without Visual Studio DTE being present. We don't support the restart feature yet.
#rb none
#jira

#ROBOMERGE-SOURCE: CL 7321373 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7321376 by ben marsh in Main branch]
2019-07-16 08:44:38 -04:00
ben marsh
e675e5497c Merging Live++ 1.5.0
#rb none
#jira

#ROBOMERGE-SOURCE: CL 7321355 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7321356 by ben marsh in Main branch]
2019-07-16 08:43:32 -04:00
ben marsh
814a1088bd Live Coding: Fix support for lazy loading modules. Now passes UBT a list of modules that can be updated, and UBT fails the build and writes out a list of others that would be modified. Live Coding console then loads those modules and retries.
#rb none
#jira UE-74679

#ROBOMERGE-SOURCE: CL 6960867 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v366-6836689)

[CL 6966783 by ben marsh in Main branch]
2019-06-12 23:22:20 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00
ben marsh
c3e532b195 Live Coding: Fix crashes when patching adaptive non-unity files in game modules containing static global variables.
Live++ reads object files at startup for game modules, and assigns unique ids to each compiland (used to disambiguate static variables). When compiling the patch, these compilands are modified to reference a unique id for the unity blob, causing the variables to be reconstructed.

Solution is to generate a JSON file to each output directory containing object files containing the mapping, and to use that to assign compiland ids at startup.

#rb none
#jira UE-74036

#ROBOMERGE-SOURCE: CL 6455253 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6455273 by ben marsh in Main branch]
2019-05-14 18:12:06 -04:00
ben marsh
a289f6681e LiveCoding: Merging fixes to resolve issues with global symbols being reconstructed when loading patch DLLs. Was causing asserts when log channels were re-registered etc...
#jira
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5993252 via CL 5993257 via CL 5995286

[CL 5995562 by ben marsh in Main branch]
2019-04-18 17:51:25 -04:00
ben marsh
583aa01bf7 LiveCoding: Add support for lazy loading modules. This lets us enable live coding for the entire engine without a large startup penalty. Project modules are still preloaded by default.
#rb none
#jira

#ROBOMERGE-SOURCE: CL 5437980 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5437990 by ben marsh in Main branch]
2019-03-18 18:07:05 -04:00