Commit Graph

150 Commits

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

[CL 5417897 by ben marsh in Dev-Networking branch]
2019-03-15 12:57:01 -04:00
ben marsh
1fc3f1d1a5 LiveCoding: Fix determination of whether a module is part of a project plugin. Such modules report "false" for FModuleStatus.bIsGamePlugin.
#rb none
#jira UE-71399

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

[CL 5405893 by ben marsh in Dev-Networking branch]
2019-03-14 19:27:02 -04:00
ben marsh
d7121e8ad6 LiveCoding: Fix the "Show Console" button being disabled until the first compile.
#rb none
#jira UE-71379

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

[CL 5405867 by ben marsh in Dev-Networking branch]
2019-03-14 19:25:54 -04:00
ben marsh
2673182b03 LiveCoding: Allow editor thread to keep running while server is processing modules.
#rb none
#jira UE-71269

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

[CL 5405864 by ben marsh in Dev-Networking branch]
2019-03-14 19:25:52 -04:00
ben marsh
0a1a23d6d6 LiveCoding: Explicitly batch all EnableModules() commands, to prevent user command thread preempting the editor thread before it's finished adding everything. Prevents "Live coding ready" messages being spammed in the console window.
#rb none
#jira UE-71270

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

[CL 5405861 by ben marsh in Dev-Networking branch]
2019-03-14 19:25:47 -04:00
ben marsh
a59ae0f7fc Fix "Compile" button in toolbar using legacy hot reload when live coding startup is set to manual.
#rb none
#jira UE-71359

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

[CL 5405860 by ben marsh in Dev-Networking branch]
2019-03-14 19:25:45 -04:00
ben marsh
293bce3687 LiveCoding: Fix setting for enabling/disabling live coding not being saved when modified via the toolbar.
#rb none
#jira UE-71362

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

[CL 5405855 by ben marsh in Dev-Networking branch]
2019-03-14 19:25:41 -04:00
ben marsh
fecdd58e61 LiveCoding: Make properties for toggling on/off for engine modules hidden in installed builds.
#rb none
#jira UE-71274

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

[CL 5404896 by ben marsh in Dev-Networking branch]
2019-03-14 19:01:01 -04:00
ben marsh
58b7c9985f 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: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5352692 in //UE4/Release-4.22/... via CL 5364901
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5404854 by ben marsh in Dev-Networking branch]
2019-03-14 18:59: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
cb25506110 Move live coding settings back under the editor preferences window, since it's a user-specific thing.
#rb none
#jira UE-71126

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

[CL 5404823 by ben marsh in Dev-Networking branch]
2019-03-14 18:58:32 -04:00
ben marsh
06697b7c6a LiveCoding: Disable the editor compile button while a compile is in progress.
#rb none
#jira UE-71077

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

[CL 5401595 by ben marsh in Dev-Networking branch]
2019-03-14 17:06:58 -04:00
ben marsh
958520ba80 Restore code that was accidentally commented out while debugging.
#rb none
#jira
#rnx

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

[CL 5401394 by ben marsh in Dev-Networking branch]
2019-03-14 17:02:02 -04:00
ben marsh
651c0a51bf LiveCoding: Expose a Tick() function so that systems that don't use fire EndFrame() callbacks can still tick the live coding module. Also add a -LiveCoding command line argument to force it on.
#rb none
#jira

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

[CL 5401335 by ben marsh in Dev-Networking branch]
2019-03-14 17:00:04 -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
marcus wassmer
db87425ef0 Force integrate 5317515 from release-4.22 to fix some issues with 'undo'.
#rb none

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: marcus.wassmer
#ROBOMERGE-SOURCE: CL 5337699 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5376632 by marcus wassmer in Dev-Networking branch]
2019-03-12 21:25:54 -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
juan canada
31b2097cfb Undo //UE4/Main/... changelist 5335728
#rb marcus.wassmer

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 5335770 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5376135 by juan canada in Dev-Networking branch]
2019-03-12 21:19:38 -04:00
juan canada
341a17ce77 Copying //UE4/Private-Woodchuck-Staging[at]5316917 to Release-4.22 (//UE4/Release-4.22)
#rb none
#JIRA

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 5317515 in //UE4/Release-4.22/... via CL 5335728
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5376119 by juan canada in Dev-Networking branch]
2019-03-12 21:19:16 -04:00
ben marsh
0e7a4ee7a4 Disable warning when building xxhash.c.
#rb none
#jira
#rnx

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

[CL 5331226 by ben marsh in Dev-Networking branch]
2019-03-06 18:43:01 -05:00
ben marsh
62476e3289 Suppress warning in static analysis.
#rb none
#jira
#rnx

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

[CL 5331220 by ben marsh in Dev-Networking branch]
2019-03-06 18:42:59 -05:00
ben marsh
89690b4fc2 Fix difference in scoping rules for extern'd variables declared inline under Clang.
#rb none
#rnx
#jira

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

[CL 5331214 by ben marsh in Dev-Networking branch]
2019-03-06 18:42:58 -05: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