Commit Graph

34 Commits

Author SHA1 Message Date
tim smith
a50d2794ac Improve the out-of-date check for object files and the dlls. This is now required since object files can now be ignored. Once the dll for an ignored object file is loaded by the engine, any future live coding requests will link the previously ignored object files.
#rb joe.pribele
#rnx
#jira UE-161641
#preflight 6400e6963206d45d20b3abb5

[CL 24488112 by tim smith in ue5-main branch]
2023-03-02 14:41:00 -05:00
tim smith
faf69c88e5 Adding lazy load modules to the manifest. Unknown modules will generate error messages but not halt patch generation. This resolves an issue where changes to unloaded modules would prevent any type of patching.
[RN] matt.peters
#rnx
#jira UE-161641
#preflight 63fe5c72437ce3e7f3a6a394

[CL 24452472 by tim smith in ue5-main branch]
2023-02-28 16:58:21 -05:00
tim smith
4054a68024 LiveCoding no longer generates errors about object files being missing after a source file is removed from a unity file by live coding.
#rb matt.peters
#jira UE-178179
#preflight 63f76d53977ceed915b08cbe

[CL 24386202 by tim smith in ue5-main branch]
2023-02-23 14:27:56 -05:00
tim smith
bcf0ae33a5 Fixed a message formatting issue
#rb self
#rnx
#preflight 63d9341ecf52968117ac2733

[CL 23929343 by tim smith in ue5-main branch]
2023-01-31 12:08:16 -05:00
tim smith
ccf1af206b Added a new LiveCoding command that allows for a single command to add both types of modules and a list of reserved pages.
#rb self
#rnx
#preflight 63d80c8a1f0aa8a2895c9d22

[CL 23923296 by tim smith in ue5-main branch]
2023-01-31 01:12:06 -05:00
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