Commit Graph

155 Commits

Author SHA1 Message Date
Ben Marsh
f2cdcccfee LiveCoding: Bump the maximum number of tasks in the scheduler. When enabling a large number of modules at editor startup, we can exceed this and leave all threads deadlocked.
#rb none
#jira UE-75002
#rnx

[CL 6623018 by Ben Marsh in Dev-Build branch]
2019-05-23 16:52:06 -04:00
Ben Marsh
61ae09432a Live Coding: Fix crash when lazy loading a module with changes.
#rb none
#rnx

[CL 6608222 by Ben Marsh in Dev-Build branch]
2019-05-22 13:45:18 -04:00
Ben Marsh
6ce07c75dd Live Coding: Enable live coding for modules during the first Tick() call, to prevent other modules loaded during initialization being added later.
#rb none
#jira UE-74945

[CL 6608137 by Ben Marsh in Dev-Build branch]
2019-05-22 13:29:57 -04:00
Ben Marsh
e60277ec4b LiveCoding: Add a target setting for using the debug version of the console application.
#rb none
#rnx

[CL 6605895 by Ben Marsh in Dev-Build branch]
2019-05-22 11:57:41 -04:00
Ben Marsh
e9f67d76f0 Live coding: Add multiple modules in one call at startup, rather than adding each module individuallly.
#rb none
#jira UE-74946

[CL 6605695 by Ben Marsh in Dev-Build branch]
2019-05-22 11:22:38 -04:00
Ben Marsh
d6fee0eb80 Merging latest version of Live++ (check timestamps on object files, support for adding multiple modules at once)
#rb none
#rnx

[CL 6605641 by Ben Marsh in Dev-Build branch]
2019-05-22 11:21:49 -04:00
Ben Marsh
fd2852f44f Update to latest version of Live Coding. Fixes issues with symbols not being stripped if they can throw an exception during construction.
#rb none

[CL 6602853 by Ben Marsh in Dev-Build branch]
2019-05-21 21:03:36 -04:00
rob gay
2688305743 Seekable Streams Using LPCM/ADPCM
#rb aaron.mcleran
https://p4-swarm.epicgames.net/reviews/6345090

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: rob.gay
#ROBOMERGE-SOURCE: CL 6399748 via CL 6400508 via CL 6400529
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6459042 by rob gay in Dev-Build branch]
2019-05-15 03:41:21 -04:00
Ben Marsh
ba077509fe Live Coding: Fix crashes when patching adaptive non-unity files in game modules containing static global variables.
Live++ reads object files at startup for game modules, and assigns unique ids to each compiland (used to disambiguate static variables). When compiling the patch, these compilands are modified to reference a unique id for the unity blob, causing the variables to be reconstructed.

Solution is to generate a JSON file to each output directory containing object files containing the mapping, and to use that to assign compiland ids at startup.

#rb none
#jira UE-74036

[CL 6453851 by Ben Marsh in Dev-Build branch]
2019-05-14 17:48:05 -04:00
ben marsh
704fd993b8 Fix missing include paths in generated project files in binary builds, due to exception while generating project files due to missing module.
#rb none
#jira UE-73075

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6017285 in //UE4/Release-4.22/... via CL 6017289
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6020353 by ben marsh in Dev-Build branch]
2019-04-19 17:06:05 -04:00
marc audy
254e9d131e Fix non-unity
#rb
#rnx
[CODEREVIEW] Ben.Marsh
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 6007151 via CL 6007296 via CL 6007313
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 6011683 by marc audy in Dev-Build branch]
2019-04-19 08:33:30 -04:00
ben marsh
2e0ac43aeb LiveCoding: Prevent Live Coding starting automatically when in unattended mode.
#rb none
#jira UE-72524

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5988868 in //UE4/Release-4.22/... via CL 5988908
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5999860 by ben marsh in Dev-Build branch]
2019-04-18 21:27:17 -04:00
Ben Marsh
3a5790fdae LiveCoding: Fix asserts/crashes due to variables being reconstructed when files are split out of a unity blob.
These variables (and their dynamic initializers) were being treated as new, rather than being linked back to their original instances. UBT now outputs a mapping of object files to their original unity object file during a live coding compile, which allows Live++ to disambiguate between new and reconstructed instances.

#rb none

[CL 5988834 by Ben Marsh in Dev-Build branch]
2019-04-18 13:54:03 -04:00
Ben Marsh
1e38db4e2c Merging early Live++ 1.4.3 changes.
#rb none

[CL 5920648 by Ben Marsh in Dev-Build branch]
2019-04-16 13:01:07 -04:00
Ben Marsh
5651dbf4cd Integrating changes from Live++ 1.4.1.
#rb none

[CL 5919984 by Ben Marsh in Dev-Build branch]
2019-04-16 12:46:58 -04:00
ben marsh
0512599b96 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: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5740602 in //UE4/Release-4.22/... via CL 5740765
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5743848 by ben marsh in Dev-Build branch]
2019-04-04 13:06:55 -04:00
ben marsh
399b29d01c LiveCoding: Fix unnecessary newlines on log messages.
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5492012 via CL 5492936 via CL 5492937
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5510640 by ben marsh in Dev-Build branch]
2019-03-22 17:30:01 -04:00
hongyi yu
bfdffced60 Added support for per-platform mapping from chunkid to pakchunk index. Part 1
- This feature allows different chunk layout on different platforms.
- Most mapping work is done in AssetRegistryGenerator.
- Terminology of ChunkID and Pakchunk Index are now separated and they are no longer the same if chunk id to pakchunk index mapping is defined.  The ChunkIDs in FAssetData is not renamed to keep consistency, but it actually is pakchunk index.  FAssetData.ChunkIDs is used for ChunkInstall.
- Chunks with encryption key guid or unique assetregistry name are not allowed to be mapped.  There are code to filter out those chunks and log errors while initializing mapping
- CheckChunkAssetsAreNotInChild() and ResolveChunkDependencyGraph() is skipped when making build for XboxOne and PS4, since they are not needed.  If for some reason, we need chunk dependency on console builds, we need to implement per-platform dependency graph, since now we support different chunk layout on different platforms.
- Disabled a few pak file overide rules for console builds, since they should only be applied to builds with Kairos chunk layout.

#test A preflight was kicked and tested on PS4 and XboxOne.  No new issue was found.
#rb Daniel.Lamb

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: hongyi.yu
#ROBOMERGE-SOURCE: CL 5470414 via CL 5474050 via CL 5474308
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5505792 by hongyi yu in Dev-Build branch]
2019-03-22 17:01:45 -04:00
ben marsh
6d5b9bd3f6 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: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5437980 in //UE4/Release-4.22/... via CL 5437990
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5457435 by ben marsh in Dev-Build branch]
2019-03-19 14:39:34 -04:00
Ben Marsh
07e535411b Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 5435186 by Ben Marsh in Dev-Build branch]
2019-03-18 16:38:36 -04:00
juan canada
639211aade Undo //UE4/Main/... changelist 5335728
#rb marcus.wassmer

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 5335770 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5376070 by juan canada in Dev-Build branch]
2019-03-12 21:18:56 -04:00
juan canada
7ff9942fef Copying //UE4/Private-Woodchuck-Staging[at]5316917 to Release-4.22 (//UE4/Release-4.22)
#rb none
#JIRA

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 5317515 in //UE4/Release-4.22/... via CL 5335728
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5376060 by juan canada in Dev-Build branch]
2019-03-12 21:18:22 -04:00
ben marsh
a058380b2b Disable warning when building xxhash.c.
#rb none
#jira
#rnx

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

[CL 5330359 by ben marsh in Dev-Build branch]
2019-03-06 18:38:44 -05:00
ben marsh
f35e4e5b47 Suppress warning in static analysis.
#rb none
#jira
#rnx

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

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

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

[CL 5330351 by ben marsh in Dev-Build branch]
2019-03-06 18:38:40 -05:00