Commit Graph

14 Commits

Author SHA1 Message Date
Robert Manuszewski
96071afb2d Hot-reload: performing hot-reload when there's been no code changes will no longer result in producing new DLLs.
#ttp 345522: HotReload: Should not try to link DLLs when target is up to date

#change Added code to handle up-to-date state of modules in hot-reload code.
#change Added ECompilationResult::UpToDate and ECompilationResult::Canceled, ECompilationResult::Failed()
#change UBT: added -canskiplink command line param and support for skipping link actions when there was nothing to compile
#change extended the duration of re-compile notifications (TTP# 346604 NUXF-246 Hot compile fail message fades)
#change Added 'Compile Canceled' notification (instead of 'Compile Failed')

[CL 2302307 by Robert Manuszewski in Main branch]
2014-09-18 08:10:17 -04:00
Robert Manuszewski
0de4660aee Hot-reload: all CDOs will now get re-constructed after hot-reload. If a CDO has changed, the class will be re-instanced.
#change Moved hot-reload-only code from FBlueprintCompileReinstancer to FHotReloadClassReinstancer
#change It's not possible to derive classes from FBlueprintCompileReinstancer
#change Added code to handle re-creating CDOs after hot-reload even if the class hasn't changed.

[CL 2300696 by Robert Manuszewski in Main branch]
2014-09-17 04:34:40 -04:00
Justin Sargent
770f2b045d When compiling without the editor don't assume the TargetName is UE4Editor.
[CL 2300030 by Justin Sargent in Main branch]
2014-09-16 16:22:14 -04:00
Justin Sargent
c9ffbfd8a6 Added WITH_ENGINE defines around HotReload code specifically dependent on engine types, so programs not dependent on engine can use the HotReload module.
[CL 2299919 by Justin Sargent in Main branch]
2014-09-16 15:06:34 -04:00
Ben Marsh
03bd8ee584 Move hot reload functionality onto it's own define, instead of being tied into IS_MONOLITHIC. Don't want it enabled for modular shipping games in Rocket.
#codereview Robert.Manuszewski

[CL 2293828 by Ben Marsh in Main branch]
2014-09-11 11:39:20 -04:00
Robert Manuszewski
a24b92ced6 HotReload: pass -nosharedpch when doing hot-reload or module recompile from the editor instead of forcing off shared pch when passing -editorrecompile to UBT
[CL 2293690 by Robert Manuszewski in Main branch]
2014-09-11 09:28:33 -04:00
Robert Manuszewski
53f5660895 Making sure bIsHotReloadingFromEditor is set to false in all cases when the compilation fails
#ttp 345519: HotReload: After failing to HotReload once, it would not function again during that session

[CL 2292199 by Robert Manuszewski in Main branch]
2014-09-10 05:13:32 -04:00
Robert Manuszewski
ac182b3916 Fixing recompiling engine modules not working for non code-based game projects
#change Made sure the correct target is passed to UBT when compiling engine/editor modules for non code-based game projects
#change Refactored FLevelEditorActionCallbacks::CanShowSourceCodeActions() code to FHotReloadModule::IsAnyGameModuleLoaded

[CL 2291052 by Robert Manuszewski in Main branch]
2014-09-09 13:57:13 -04:00
Ben Marsh
bb17aef300 Move functionality to invoke UBT into DesktopPlatform.
[CL 2286483 by Ben Marsh in Main branch]
2014-09-05 13:31:22 -04:00
Ben Marsh
d591804587 Move hot reload functionality from Core into the HotReload module. Precursor to removing assumptions about IS_MONOLITHIC and supporting hybrid monolithic configurations.
[CL 2286426 by Ben Marsh in Main branch]
2014-09-05 12:46:22 -04:00
Mike Fricker
e098a557c4 Fixed crash on shutdown
[CL 2267289 by Mike Fricker in Main branch]
2014-08-22 07:48:36 -04:00
Mike Fricker
8a5d5eb127 Fixed a crash on shutdown in HotReload module
[CL 2265954 by Mike Fricker in Main branch]
2014-08-21 10:24:05 -04:00
Mike Fricker
b678b51efd Added editor notification when automatic hot reload completes
[CL 2264535 by Mike Fricker in Main branch]
2014-08-20 13:58:31 -04:00
Robert Manuszewski
8498aae74f Hot-reload from IDE
#change UBT: Added support for hot-reload when UBT is called from IDE and the current target is curring
#change Added support for hot-reload from VS to the engine
#change Refactored hot-reload functionality to a separarte module
#change Added hot-reload analytics events

[CL 2255801 by Robert Manuszewski in Main branch]
2014-08-14 03:37:01 -04:00