Commit Graph

6 Commits

Author SHA1 Message Date
ben marsh
dfe36e3c06 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: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5740602 in //UE4/Release-4.22/... via CL 5740765
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5743844 by ben marsh in Dev-Core branch]
2019-04-04 13:06:53 -04:00
ben marsh
5e879441ea LiveCoding: Wait for other processes to finish when triggering a compile. Allows live coding to work with multiple editors open.
#rb none
#jira UE-71287

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5354077 in //UE4/Release-4.22/... via CL 5367786
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5424864 by ben marsh in Dev-Core branch]
2019-03-18 03:50:54 -04:00
ben marsh
4039e16fd9 LiveCoding: Restore the console if it's minimized when a compile started.
#rb none
#jira UE-71159

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5338722 in //UE4/Release-4.22/... via CL 5338987
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5407722 by ben marsh in Dev-Core branch]
2019-03-15 03:16:02 -04:00
ben marsh
3ddbc6bee3 Better handling of window focus when compiling for live code.
* Console window is made visible and brought to the front when a compile is triggered.
* Patched application window is brought to the front once patching is complete.

#rb none
#jira UE-71128

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

[CL 5338036 by ben marsh in Main branch]
2019-03-07 11:58:51 -05:00
ben marsh
ef6c658c6a LiveCoding: Fix "Show Console" button not making the window visible if the window has been closed.
#rb none
#jira UE-71076

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

[CL 5338030 by ben marsh in Main branch]
2019-03-07 11:58:39 -05:00
ben marsh
cf183af67c 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-SOURCE: CL 5304722 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5309051 by ben marsh in Main branch]
2019-03-05 18:49:25 -05:00