Commit Graph

13 Commits

Author SHA1 Message Date
marc audy
a20810a2b4 Fix non-unity
#rb
#rnx
[CODEREVIEW] Ben.Marsh
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 6007151 via CL 6007296 via CL 6007313
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6010552 by marc audy in Dev-VR branch]
2019-04-19 06:34:12 -04:00
ben marsh
b78d96355f 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: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5993252 via CL 5993257 via CL 5995286 via CL 5995562
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6004844 by ben marsh in Dev-VR branch]
2019-04-18 21:57:56 -04:00
ben marsh
9f765c1726 LiveCoding: Prevent Live Coding starting automatically when in unattended mode.
#rb none
#jira UE-72524

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5988868 in //UE4/Release-4.22/... via CL 5988908
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6002160 by ben marsh in Dev-VR branch]
2019-04-18 21:39:35 -04:00
ben marsh
6013c250c8 LiveCoding: Fix unnecessary newlines on log messages.
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5492012 via CL 5492936 via CL 5492937
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5514826 by ben marsh in Dev-VR branch]
2019-03-22 17:57:41 -04:00
ben marsh
a243c66b9f 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: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5437980 in //UE4/Release-4.22/... via CL 5437990
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5440775 by ben marsh in Dev-VR branch]
2019-03-18 21:04:33 -04:00
ben marsh
653885df44 Fix issues related to hot-reload and LiveCoding co-existing.
* Removed code to invalidate makefiles when adding new source files. UBT should be reliable enough to make this determination itself nowadays, and ignored -invalidatemakefilesonly argument was causing modules to be recompiled.
* Fixed incorrect config section name when determining whether to allow hot reload from IDE. Now prevents hot reload from IDE when live coding is enabled.
* Added error message when trying to add a new class with Live Coding enabled.
* Added error messages when trying to start Live Coding after a hot reload has taken place.
* Added error messages when trying to hot reload with Live Coding enabled.

#jira UE-71253
#rb none

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5403464 in //UE4/Release-4.22/... via CL 5403485
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5412284 by ben marsh in Dev-VR branch]
2019-03-15 06:22:38 -04:00
Ryan Vance
35eb0041ab Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
#rb integration

[CL 5387703 by Ryan Vance in Dev-VR branch]
2019-03-13 15:19:08 -04:00
ben marsh
abf12f84b3 Disable warning when building xxhash.c.
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5312346 in //UE4/Release-4.22/... via CL 5316165
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5333413 by ben marsh in Dev-VR branch]
2019-03-06 19:15:56 -05:00
ben marsh
eb4ed454d3 Suppress warning in static analysis.
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5312269 in //UE4/Release-4.22/... via CL 5316164
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5333412 by ben marsh in Dev-VR branch]
2019-03-06 19:15:54 -05:00
ben marsh
4bdfbdb040 Fix difference in scoping rules for extern'd variables declared inline under Clang.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5312261 in //UE4/Release-4.22/... via CL 5316163
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5333411 by ben marsh in Dev-VR branch]
2019-03-06 19:15:52 -05:00
ben marsh
96d57a013d Fix copyright notices.
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5307349 in //UE4/Release-4.22/... via CL 5314652
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5332764 by ben marsh in Dev-VR branch]
2019-03-06 18:59:11 -05:00
ben marsh
92a2166c2a Fixes for static analysis warnings.
#rb none
#jira

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5307320 in //UE4/Release-4.22/... via CL 5314647
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5332763 by ben marsh in Dev-VR branch]
2019-03-06 18:59:10 -05:00
ben marsh
e40dec9ee0 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: ryan.vance
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5304722 in //UE4/Release-4.22/... via CL 5309051
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5329502 by ben marsh in Dev-VR branch]
2019-03-06 18:34:25 -05:00