Commit Graph

13 Commits

Author SHA1 Message Date
ben marsh
83bd3cd7c6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6631504 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6748759 by ben marsh in Dev-Anim branch]
2019-05-31 18:06:13 -04:00
ben marsh
640069c5a2 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-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6455253 in //UE4/Release-4.22/... via CL 6455273
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6474667 by ben marsh in Dev-Anim branch]
2019-05-15 08:12:01 -04:00
ben marsh
3cd65e6ca9 Fix missing include paths in generated project files in binary builds, due to exception while generating project files due to missing module.
#rb none
#jira UE-73075

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6017285 in //UE4/Release-4.22/... via CL 6017289
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6020386 by ben marsh in Dev-Anim branch]
2019-04-19 17:06:11 -04:00
ben marsh
9f33ddaedf 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: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5993252 via CL 5993257 via CL 5995286 via CL 5995562
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6001808 by ben marsh in Dev-Anim branch]
2019-04-18 21:38:01 -04:00
ben marsh
8b3fea50b9 Live Coding: Fixes issue linking patch DLLs with Visual Studio Express, due to PATH environment variable not including path to mspdb140.dll.
Now stores the linker environment block in the live coding manifest, and adds it to the cache before executing the linker.

#rb none
#jira UE-72324

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5740602 in //UE4/Release-4.22/... via CL 5740765
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5743767 by ben marsh in Dev-Anim branch]
2019-04-04 13:06:28 -04:00
ben marsh
4c5bd2b726 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-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5437980 in //UE4/Release-4.22/... via CL 5437990
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5440764 by ben marsh in Dev-Anim branch]
2019-03-18 21:03:48 -04:00
ben marsh
0a40fa81fa LiveCoding: Tidy up console output.
#rb none
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5350764 in //UE4/Release-4.22/... via CL 5364832
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5381661 by ben marsh in Dev-Anim branch]
2019-03-13 09:52:54 -04:00
ben marsh
f7705e3530 LiveCoding: Suppress dev channel log messages from console. Add a new server log channel that they are written to instead.
#rb none
#jira UE-71257

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5350628 in //UE4/Release-4.22/... via CL 5364828
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5381660 by ben marsh in Dev-Anim branch]
2019-03-13 09:52:52 -04:00
Thomas Sarkanen
bb193db1aa Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 5356908
#rb none

[CL 5360337 by Thomas Sarkanen in Dev-Anim branch]
2019-03-11 12:18:32 -04:00
ben marsh
1609b43406 Fix copyright notices.
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5307349 in //UE4/Release-4.22/... via CL 5314652
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5328777 by ben marsh in Dev-Anim branch]
2019-03-06 18:29:57 -05:00
ben marsh
2257d3bbb8 Fixes for static analysis warnings.
#rb none
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5307320 in //UE4/Release-4.22/... via CL 5314647
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5328765 by ben marsh in Dev-Anim branch]
2019-03-06 18:29:55 -05:00
ben marsh
34a9447681 Prevent LiveCodingServer module building for targets by default.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5305237 in //UE4/Release-4.22/... via CL 5309055
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5325562 by ben marsh in Dev-Anim branch]
2019-03-06 18:16:43 -05:00
ben marsh
cac209bb32 Integrating live coding feature (aka Live++) into UE4.
Allows fast iteration of C++ changes without restarting the application. To use, select the "Live Coding (Experimental)" mode from the drop down menu next to the editor's compile button, or type "LiveCoding" into the console for a monolithic build. Press Ctrl+Alt+F11 to find changes and compile.

Changes vs standalone Live++ version:

* UBT is used to execute builds. This allows standard UE4 adaptive unity mode, allows us to reuse object files when we do regular builds, supports using any build executor allowed by UBT (XGE, SNDBS, etc..).
* Adding new source files is supported.
* Custom visualizer for FNames is supported via a weakly linked symbol in a static library (Engine/Extras/NatvisHelpers).
* Settings are exposed in the editor's project settings dialog.
* Standalone application has been rewritten as a Slate app ("LiveCodingConsole"). There is an additional option to start the program as hidden, where it will not be visible until Ctrl+Alt+F11 is hit. Similarly, closing the window will hide it instead of closing the application.
* Does not require a standalone licensed version of Live++.

Known issues:

* Does not currently support class layout changes / object reinstancing

#rb none
[FYI] Marc.Audy, Stefan.Boberg, Nick.Penwarden
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5304722 in //UE4/Release-4.22/... via CL 5309051
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5325549 by ben marsh in Dev-Anim branch]
2019-03-06 18:16:39 -05:00