Commit Graph

12 Commits

Author SHA1 Message Date
ben marsh
b5e48810ff Fix "Compile" button in toolbar using legacy hot reload when live coding startup is set to manual.
#rb none
#jira UE-71359

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

[CL 5381899 by ben marsh in Dev-Anim branch]
2019-03-13 10:02:57 -04:00
ben marsh
9533e4c98c LiveCoding: Fix setting for enabling/disabling live coding not being saved when modified via the toolbar.
#rb none
#jira UE-71362

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

[CL 5381896 by ben marsh in Dev-Anim branch]
2019-03-13 10:02:54 -04:00
ben marsh
12ee40822a LiveCoding: Make properties for toggling on/off for engine modules hidden in installed builds.
#rb none
#jira UE-71274

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

[CL 5381718 by ben marsh in Dev-Anim branch]
2019-03-13 09:55:13 -04:00
ben marsh
8ec8577351 LiveCoding: Tweaks to live coding settings.
* Compile dropdown now just contains a checkbox for enabling live coding.
* Compile dropdown has a link to open the editor preferences window.
* Live coding can be enabled from the editor settings window.
* Option to show the console on startup is now folded into the startup mode.
* Options in the editor settings window are greyed out unless live coding is enabled.

#rb none
#jira

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

[CL 5381684 by ben marsh in Dev-Anim branch]
2019-03-13 09:53:47 -04:00
ben marsh
eef4ce3757 Move live coding settings back under the editor preferences window, since it's a user-specific thing.
#rb none
#jira UE-71126

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

[CL 5381658 by ben marsh in Dev-Anim branch]
2019-03-13 09:52:49 -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
3ddf76b051 Disable warning when building xxhash.c.
#rb none
#jira
#rnx

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

[CL 5330358 by ben marsh in Dev-Anim branch]
2019-03-06 18:38:43 -05:00
ben marsh
16ca4d85ee Suppress warning in static analysis.
#rb none
#jira
#rnx

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

[CL 5330354 by ben marsh in Dev-Anim branch]
2019-03-06 18:38:42 -05:00
ben marsh
0909f6fed8 Fix difference in scoping rules for extern'd variables declared inline under Clang.
#rb none
#rnx
#jira

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

[CL 5330350 by ben marsh in Dev-Anim branch]
2019-03-06 18:38:40 -05: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
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