Commit Graph

10 Commits

Author SHA1 Message Date
ben marsh
a4549cd0c9 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: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5740602 in //UE4/Release-4.22/... via CL 5740765
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5744896 by ben marsh in Dev-Networking branch]
2019-04-04 13:27:50 -04:00
ben marsh
25295b51e0 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.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5437980 in //UE4/Release-4.22/... via CL 5437990
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5440770 by ben marsh in Dev-Networking branch]
2019-03-18 21:04:30 -04:00
ben marsh
8e5ac9585b LiveCoding: Tidy up console output.
#rb none
#jira

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5350764 in //UE4/Release-4.22/... via CL 5364832
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5404829 by ben marsh in Dev-Networking branch]
2019-03-14 18:58:36 -04:00
ben marsh
c8b8fcbbed 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: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5350628 in //UE4/Release-4.22/... via CL 5364828
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5404827 by ben marsh in Dev-Networking branch]
2019-03-14 18:58:35 -04:00
ben marsh
37468fe6fb 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-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5337696 in //UE4/Release-4.22/... via CL 5338036
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5401218 by ben marsh in Dev-Networking branch]
2019-03-14 16:57:01 -04:00
brandon schaefer
25a566f107 Live coding is only available for Win32/Win64, dont try to include diasdk dir for other platforms
#jira none
#rb Ben.Marsh

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 5318794 in //UE4/Release-4.22/... via CL 5337033
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5376481 by brandon schaefer in Dev-Networking branch]
2019-03-12 21:23:51 -04:00
ben marsh
7134893358 Fix copyright notices.
#rb none
#jira
#rnx

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

[CL 5329488 by ben marsh in Dev-Networking branch]
2019-03-06 18:34:22 -05:00
ben marsh
46b7b52cdc Fixes for static analysis warnings.
#rb none
#jira

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

[CL 5329480 by ben marsh in Dev-Networking branch]
2019-03-06 18:34:21 -05:00
ben marsh
fab28561dd Prevent LiveCodingServer module building for targets by default.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5305237 in //UE4/Release-4.22/... via CL 5309055
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5326320 by ben marsh in Dev-Networking branch]
2019-03-06 18:19:27 -05:00
ben marsh
7c46cc6b4c 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.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5304722 in //UE4/Release-4.22/... via CL 5309051
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5326306 by ben marsh in Dev-Networking branch]
2019-03-06 18:19:24 -05:00