210 Commits

Author SHA1 Message Date
Ben Marsh
781372c6a9 Live Coding: Remove warning about LiveCodingInfo.json files not being found. These files do not exist in the binary release.
#rb none
#jira UE-79622

[CL 8573224 by Ben Marsh in 4.23 branch]
2019-09-09 12:08:39 -04:00
Ben Marsh
4af38fddf8 LiveCoding: Live Coding cannot be re-enabled after being disabled from the Compile button.
#jira
#rb none
#rnx

[CL 8361959 by Ben Marsh in 4.23 branch]
2019-08-28 10:29:56 -04:00
Ben Marsh
4b7262b4c9 LiveCoding: More fixes for object reconstruction when reapplying Live Coding patches. Compiland IDs are now assigned from a central location, which can be queried at any time. The unity file mapping output from UBT is read on demand and used to populate the cache.
Also fix an issue where symbols in anonymous namespace would not use the correct name if an external build system is enabled.

#rb none
#jira UE-79095
#rnx

[CL 8358810 by Ben Marsh in 4.23 branch]
2019-08-27 21:09:11 -04:00
Ben Marsh
3258d6e097 Fix issues related to unnecessary symbol reconstruction in Live Coding modules. Generating separate object files for updated compilands was resulting in symbols being assigned a unique compiland id.
Object files generated for Live Coding compiles are now temporarily renamed to their original versions until the Live Coding patch is generated, after which point they are restored. Would be preferable to incorporate this logic in Live++ directly and just read from the correct files, but the number of changes necessary to support it would make it difficult to integrate new versions.

#rb none
#jira UE-79095
#rnx

[CL 8358776 by Ben Marsh in 4.23 branch]
2019-08-27 21:07:45 -04:00
Ben Marsh
a58623d53c Fix whitespace in LC_LiveModule.cpp.
#jira
#rb none
#rnx

[CL 8358755 by Ben Marsh in 4.23 branch]
2019-08-27 21:06:29 -04:00
Aaron McLeran
30c660c782 Removing uproperty for windows target settings for audio device selection
#rb none
#jira UE-77229
#lockdown cristina.riveron

[CL 8102577 by Aaron McLeran in 4.23 branch]
2019-08-16 17:17:59 -04:00
Josh Adams
7efc6ca8c4 - Merged from FN/Main to 4.23:
- Added early check before creating a TargetPlatform object if the PlatformInfo will be found (check a static function to see if it's usable before making it)
- Changed each platform's GetTargetPlatform[s] function
#rb none
#jira UE-78692

[CL 8031412 by Josh Adams in 4.23 branch]
2019-08-14 11:13:59 -04:00
Ben Marsh
5e99a41f55 Live Coding: Restore patched module state if a packaged game is quick restarted.
#rb none
#jira UE-77396
#rnx

[CL 7713241 by Ben Marsh in 4.23 branch]
2019-08-04 15:02:15 -04:00
Ben Marsh
aee5de40bf Live Coding: Prevent orphaned console instances if a process never reattaches (due to manual startup, etc...). Job object handle is now duplicated into the child process at startup, and closed immediately.
#rb none
#rnx
#jira UE-77398

[CL 7713232 by Ben Marsh in 4.23 branch]
2019-08-04 14:34:28 -04:00
Ben Marsh
34ac2eb9f6 Live Coding: Use FPlatformMisc::RequestExit(true) when quick restarting an application, to ensure that logs are flushed and the session is not considered an abnormal termination.
#rb none
#rnx
#jira

[CL 7713202 by Ben Marsh in 4.23 branch]
2019-08-04 11:01:19 -04:00
Ben Marsh
72716c8216 Live Coding: Fix patches not being reapplied during a quick restart for lazy loaded modules. Now forces such modules to be enabled immediately if they have pending patches.
#rb none
#jira UE-77610
#rnx

[CL 7713016 by Ben Marsh in 4.23 branch]
2019-08-03 19:08:29 -04:00
Ben Marsh
32ddd81a07 Live Coding: Fix failure to build patch when triggering Live Coding via the editor compile button with startup set to Manual. Was not registering the modules with the sidecar process before triggering the compile.
#rb none
#jira UE-77596
#rnx

[CL 7712963 by Ben Marsh in 4.23 branch]
2019-08-03 16:27:01 -04:00
Brandon Schaefer
6f84279cc2 Remove OpenGL4 from the DefaultRHI list
#jira UE-78158
#rb none

[CL 7671960 by Brandon Schaefer in 4.23 branch]
2019-07-31 11:59:21 -04:00
Ben Marsh
53b519f30c LiveCoding: Prevent object files being overwritten during a live coding compile. Object files are now built with a .lc suffix, leaving the original files intact. This ensures it can gather COFF data from the correct executables on relaunch, and means that any existing changes will be patched in as soon as the first Live Coding compile is initiated. Should fix several issues.
#rb none
#jira UE-76940, UE-76993, UE-76943

[CL 7321451 by Ben Marsh in 4.23 branch]
2019-07-16 08:51:28 -04:00
Ben Marsh
462ccb21dd Few CIS fixes.
#rb none
#rnx
#jira

[CL 7321421 by Ben Marsh in 4.23 branch]
2019-07-16 08:47:08 -04:00
Ben Marsh
bf057f8fd3 LiveCoding: Add support for the new restart functionality in Live++ 1.5.0. The Live Coding console window now includes a "Quick Restart" button, which restarts the process and adds the existing patches back in.
#rb none
#jira

[CL 7321413 by Ben Marsh in 4.23 branch]
2019-07-16 08:46:39 -04:00
Ben Marsh
c354c64474 LiveCoding: Create a new external module that includes the appropriate headers for Visual Studio automation support (VisualStudioDTE), allowing the UE-friendly version to be used by the VS source code accessor as well as Live Coding.
#rb none
#rnx
#jira

[CL 7321384 by Ben Marsh in 4.23 branch]
2019-07-16 08:45:02 -04:00
Ben Marsh
64507cbb21 LiveCoding: Allow building without Visual Studio DTE being present. We don't support the restart feature yet.
#rb none
#jira

[CL 7321373 by Ben Marsh in 4.23 branch]
2019-07-16 08:44:29 -04:00
Ben Marsh
44b55aca7b Fix unity build error.
#rb none
#rnx
#jira

[CL 7321364 by Ben Marsh in 4.23 branch]
2019-07-16 08:43:55 -04:00
Ben Marsh
b1711fd476 Merging Live++ 1.5.0
#rb none
#jira

[CL 7321355 by Ben Marsh in 4.23 branch]
2019-07-16 08:43:17 -04:00
Ben Marsh
308e27cdbb Live Coding: Fix support for lazy loading modules. Now passes UBT a list of modules that can be updated, and UBT fails the build and writes out a list of others that would be modified. Live Coding console then loads those modules and retries.
#rb none
#jira UE-74679

[CL 6960867 by Ben Marsh in 4.23 branch]
2019-06-12 17:18:33 -04:00
Ben Marsh
6f37465fac Live Coding: Prevent compiling from the IDE while a Live Coding session is active. Engine runtime creates a global mutex with the executable path in the a name and leaks the handle, then UBT checks for it existing before allowing a build to start.
#rb none
#jira UE-74438

[CL 6957113 by Ben Marsh in 4.23 branch]
2019-06-12 14:53:07 -04:00
Ben Marsh
0850723c19 Live Coding: Print a warning if the PDB file for an image cannot be loaded.
#rb none
#jira UE-75970
#rnx

[CL 6956952 by Ben Marsh in 4.23 branch]
2019-06-12 14:35:43 -04:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
Stefan Boberg
8607ecb30d Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6815521 by Stefan Boberg in Main branch]
2019-06-03 15:32:00 -04:00