2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
#include "NetworkFileServerHttp.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "NetworkFileServerConnection.h"
|
|
|
|
|
#include "NetworkFileSystemLog.h"
|
|
|
|
|
#include "NetworkMessage.h"
|
|
|
|
|
#include "HAL/RunnableThread.h"
|
|
|
|
|
#include "SocketSubsystem.h"
|
|
|
|
|
#include "Misc/Paths.h"
|
|
|
|
|
#include "Misc/FileHelper.h"
|
|
|
|
|
#include "IPAddress.h"
|
|
|
|
|
#include "Serialization/MemoryReader.h"
|
|
|
|
|
|
|
|
|
|
#if ENABLE_HTTP_FOR_NFS
|
2018-02-22 11:25:06 -05:00
|
|
|
#include "Ssl.h"
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
class FNetworkFileServerClientConnectionHTTP : public FNetworkFileServerClientConnection
|
2014-08-18 16:55:29 -04:00
|
|
|
{
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
public:
|
2021-02-16 06:53:30 -04:00
|
|
|
FNetworkFileServerClientConnectionHTTP(const FNetworkFileServerOptions& FileServerOptions)
|
|
|
|
|
: FNetworkFileServerClientConnection(FileServerOptions)
|
2014-08-18 16:55:29 -04:00
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
}
|
2014-08-18 16:55:29 -04:00
|
|
|
|
|
|
|
|
bool SendPayload( TArray<uint8> &Out )
|
|
|
|
|
{
|
|
|
|
|
// Make Boundaries between payloads, add a visual marker for easier debugging.
|
|
|
|
|
|
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3233741)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
[NOTE: Switch changes have been removed from this list, and will be in a comment in //UE4/Main/Engine/Build/Switch/SwitchChanges.txt]
Change 3207431 on 2016/11/22 by Keith.Judge
Make VectorSign on XB1 match (incorrect) SSE implementation rather than the reference FPU implementation. Too many things seem to rely on this to change the default behaviour now.
#jira UE-36921
#jira UE-38560
Change 3208206 on 2016/11/22 by Josh.Adams
- Changed plugins upgrading a content-only project to code-based, even if the modules inside aren't compiled for the current platform. There are issues with runtime not knowing the plugin isn't needed. The proper way is to non-whitelist the platform in the project, not in the modules, if you don't want it to upgrade the project. See the comments in this change for more info.
#jira UE-38929
Change 3209137 on 2016/11/23 by Alicia.Cano
Add a check to iOS tool chain for exception flag
#jira UE-36528
#ios
Change 3209296 on 2016/11/23 by Ben.Marsh
Always send build failure notifications in Dev-Platform to Will.Fissler@epicgames.com and Owen.Stupka@epicgames.com
Change 3211316 on 2016/11/28 by Joe.Barnes
Fix some typos
Change 3211318 on 2016/11/28 by Joe.Barnes
Fix wrong function name in header file. Didn't match actual function name in RenderingThread.cpp
Change 3213227 on 2016/11/29 by Dmitry.Rekman
Add -fPIC to libwebsockets on Linux.
Change 3213463 on 2016/11/29 by Nick.Shin
helper build scripts for CentOS 7 Linux (via Docker)
LINUX: pull source and compile: zlib openssl libcurl & libwebsockets
using [ glibc 2.17 ] & [ gcc 4.8.5 ]
Docker creates an image (that is essentially a CentOS box) and runs the build script within that environment (called a container). think of this as a VM -- but waaaaaaay better -- nothing is virtualized -- it's all on the metal.
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1203 - Add Linux library for libwebsockets
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 3213939 on 2016/11/29 by Michael.Trepka
Ignore parent widget's geometry scale when showing a popup menu in a separate window
#jira UE-38706
Change 3215583 on 2016/11/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3216345 on 2016/11/30 by Josh.Adams
Better fix for poison proxy fix
Change 3217106 on 2016/12/01 by Michael.Trepka
Fixed a crash caused by an attempt to use FPlayWorldCommands::GlobalPlayWorldActions before it's initialized when showing suppressable warning dialogs in UEditorEngine::UpdateAutoLoadProject()
#jira UE-38816
Change 3217223 on 2016/12/01 by Josh.Adams
- Fixed some TEXT macro warnings that crept in from IWYU changes
Change 3217253 on 2016/12/01 by Dmitry.Rekman
Linux: fix GL crash (UE-17649).
- Making sure all streams are set up. Fix by Cengiz.
Change 3217473 on 2016/12/01 by Daniel.Lamb
Fixed a case when we load a map it might not have it's sublevels loaded because it's not treated like a map.
#test cook run QAGame
Change 3217588 on 2016/12/01 by Peter.Sauerbrei
Pull in IPv6 fix
Change 3217654 on 2016/12/01 by Michael.Trepka
Changed the Mac-specific high DPI code to use system backingScaleFactor only if NSHighResolutionCapable in Info.plist is set to true. This solves the problem with macOS Sierra giving us actual backingScaleFactor values even in low DPI modes.
Change 3217873 on 2016/12/01 by Josh.Adams
- Added some logging to a tvOS assert, since debugging it right away is tricky
Change 3218097 on 2016/12/01 by Josh.Adams
- Fixed up the Switch MediaFramework, making editor better, etc
- ALso changed PS4 and Xbox plugins to be enabled by default by having two entries in the plugin module for the Factory modules (an editor only entry, and a platform specific runtime entry... this will make it so that UE4Game.exe won't ahve it compiled in, even with it enabled by default)
Change 3218133 on 2016/12/01 by Dmitry.Rekman
Linux: report server hangs by crashing the hung thread (UE-39164).
Change 3218512 on 2016/12/01 by Josh.Adams
- Made the MfMedia plugin to be distributable in public builds, since it's for Windows and Xbox
Change 3219804 on 2016/12/02 by Dmitry.Rekman
Linux: fix project settings crash (UE-38800).
- Also submitted as a pull request #2945.
Change 3220027 on 2016/12/02 by Nick.Shin
plow all physx libs into build
NOTE: most browsers will not function
- chrome and firefox nightly only works
checking this in as per email
#jira UE-38323 VehicleTemplate Vehicle does not move in HTML5
Change 3221620 on 2016/12/05 by Joe.Barnes
UE-37275 - Temporary workaround for log lines losing carriage returns. Add's a \n when outputting lines if there isn't one at the end.
Change 3221689 on 2016/12/05 by Dmitry.Rekman
Attempt to change/rename.
Change 3221700 on 2016/12/05 by Dmitry.Rekman
Another attempt to change renamed file (from Linux).
Change 3221731 on 2016/12/05 by Michael.Trepka
Added missing initialization for FAvfVideoSampler::MetalTextureCache
#jira UE-38689
Change 3221792 on 2016/12/05 by Michael.Trepka
Fixed a crash in FMetalDynamicRHI::RHIAsyncReallocateTexture2D for PVRTC2 textures
Change 3222675 on 2016/12/05 by Josh.Adams
- Removed some resolution setting junk that was recently added to PlatformerGame - settings resolution on AppleTV is bad, it doesn't need to change resolution on non-desktop platforms
#jira UE-39188
Change 3223546 on 2016/12/06 by Brent.Pease
+ Properly set and use the realtime compression for ios.
+ Reduce unused memory on ios from the precached first buffer
+ Fix a resource tracking issue that was causing a double free on the sound buffer
Change 3223785 on 2016/12/06 by Brent.Pease
+ Add support for iPhone7 (implemented by peter.sauerbrei, merged in from WEX)
#jira ue-38701
Change 3224314 on 2016/12/06 by Chris.Babcock
Send OnTargetPlatformChangedSupportedFormats when format changed in Android project settings in editor
#jira UE-38361
#ue4
#android
Change 3225367 on 2016/12/07 by Josh.Adams
- Added FKey::Virtual_Accept and Virtual_Back, which will map to FaceButton Right/Down appropriately based on platform (Switch swaps them)
- Made changes to ShooterGame and VehicleGame for Virtual_Accept and Back
- Added some icons for ShooterGame, and changed some text blocks to SRichTextBlock to insert the icons
Change 3225426 on 2016/12/07 by Chris.Babcock
Add missing Android UPL file for binary builds
#jira UE-39420
#ue4
#android
Change 3225471 on 2016/12/07 by Dmitry.Rekman
Update all platforms to C++14.
Change 3225525 on 2016/12/07 by Nick.Shin
Cook-On-The-Fly for HTML5
- re-enabled: ENetworkFileServerProtocol::NFSP_Http
- cleaned up port numbers used with cook-on-the-fly situations
- fixed null_ptr in NetworkFileServerHttp.cpp
- fix CORS issue with HTML5LaunchHelper (not really needed -- but doesn't hurt to have it in the test server)
- finally, the core of the jira issue:
o fix serialization bug: do not append zero sized data
o fix de-serialization bug: removed double insertion of packet "Marker and Size" header
#jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size
Change 3225690 on 2016/12/07 by Dmitry.Rekman
Linux: improvements in touch support.
- Multiple fingers.
- Filtering out "moved" events from the same location.
- Consistent logging.
(Edigrating 3225194 from Wombat to Dev-Platform)
Change 3225868 on 2016/12/07 by Josh.Stoddard
Gracefully handle delete without matching new on iOS & Mac
#jira UE-39395
Change 3226159 on 2016/12/07 by Omar.Rodriguez
UEPLAT-1423 WEX: Improved virtual keyboard for Android
* Renamed old virtual keyboard functions by adding "Dialog" suffix to the name
* Added new virtual keyboard functions that use InputMethodManager to show/hide keyboard
* Hide the virtual keyboard, if shown, onPause
* Slate edit box decides which functions to call for showing/hiding keyboard
- eventually will be based on command line parameter like in IOS
#jira UEPLAT-1423
Change 3226167 on 2016/12/07 by Dmitry.Rekman
Allow running as root on ARM.
(Edigrating 3204974 to Dev-Platform)
Change 3226168 on 2016/12/07 by Dmitry.Rekman
Print current CVar value when denying an override.
(Based on CL 3205476).
Change 3226169 on 2016/12/07 by Dmitry.Rekman
Allow enabling sound (if disabled by default).
(Based on CL 3205505)
Change 3226171 on 2016/12/07 by Dmitry.Rekman
Allow running from symlinks.
(Edigrating 3205518 to Dev-Platform).
Change 3226174 on 2016/12/07 by Dmitry.Rekman
Linux: do not init SDL audio (we do not use it anyway).
(Based on CL 3205505).
Change 3226327 on 2016/12/07 by Nick.Shin
fix CIS warning
#jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size
Change 3226506 on 2016/12/08 by Dmitry.Rekman
Fix one more case-sensitive misspelling (UE-39030).
- Submitted as part of PR #2976.
Change 3226542 on 2016/12/08 by Dmitry.Rekman
Linux: fix weirdness with tesselation in GL4 (UE-32865).
- Workaround by CengizT. Proper fix tracked as UE-39489.
Change 3226570 on 2016/12/08 by Dmitry.Rekman
Fix for ar failing due to too long command line (UE-39009).
- Based on PR #2973.
Change 3226575 on 2016/12/08 by Dmitry.Rekman
Add build-essential to dependencies (UE-39053).
- PR #2981 contributed by cpyarger.
Change 3227129 on 2016/12/08 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Fixed up a deferred GL error as well
Fixed some copyrights of files not in main
Change 3227260 on 2016/12/08 by Omar.Rodriguez
UE-39140 Projects with iCloud are failing provisioning check when code signing.
* Set default value of bEnableCloudKitSupport to False
* Set value of get-task-allow to true only on non-distribution builds
* Only write out the entitlements file if changes have been made
#jira UE-39140
Change 3229312 on 2016/12/09 by Dmitry.Rekman
Fix missing responses (UE-39572).
- Proper implementation of UE-39009.
Change 3230849 on 2016/12/12 by Dmitry.Rekman
Linux: fixed Android packaging (UE-39635).
- Misspelled case; fixed by JohnHenry Carawon.
#jira UE-39635
Change 3231591 on 2016/12/12 by Peter.Sauerbrei
fix for splash screen not being turned off by default
#jira UE-39591
Change 3231880 on 2016/12/12 by Josh.Adams
- Fixing StaticAnalysis warnings, but -enablecodeanalysis stopped working for some reason, and the /Zm thing has hit me really hard, so this is a hopeful checkin for static analysis issues
#jira UE-39680
Change 3232816 on 2016/12/13 by Dmitry.Rekman
Linux: fix for CEF (UE-39682)
- Fix by Cengiz.Terzibas.
Change 3232873 on 2016/12/13 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3232933 on 2016/12/13 by Josh.Adams
- Missed the files that were needed to fix up after merge from main, but didn';t come from main
Change 3233066 on 2016/12/13 by Ben.Marsh
UBT: Ignore exception if PATH variable contains invalid characters when looking for XGE.
Change 3233512 on 2016/12/13 by Ben.Marsh
Fix static analysis warnings.
[CL 3233813 by Josh Adams in Main branch]
2016-12-13 19:47:16 -05:00
|
|
|
// uint32 Marker = 0xDeadBeef;
|
|
|
|
|
// uint32 Size = Out.Num();
|
|
|
|
|
//
|
|
|
|
|
// OutBuffer.Append((uint8*)&Marker,sizeof(uint32));
|
|
|
|
|
// OutBuffer.Append((uint8*)&Size,sizeof(uint32));
|
2014-08-18 16:55:29 -04:00
|
|
|
OutBuffer.Append(Out);
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
return true;
|
2014-08-18 16:55:29 -04:00
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
private:
|
2014-08-18 16:55:29 -04:00
|
|
|
|
|
|
|
|
TArray<uint8>& GetOutBuffer() { return OutBuffer; }
|
|
|
|
|
void ResetBuffer() { OutBuffer.Reset(); }
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
TArray<uint8> OutBuffer;
|
2014-08-18 16:55:29 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
friend class FNetworkFileServerHttp;
|
2014-08-18 16:55:29 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// LibWebsockets specific structs.
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// a object of this type is associated by libwebsocket to every http session.
|
2014-06-12 17:02:52 -04:00
|
|
|
struct PerSessionData
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// data being received.
|
|
|
|
|
TArray<uint8> In;
|
|
|
|
|
// data being sent out.
|
|
|
|
|
TArray<uint8> Out;
|
2014-06-12 17:02:52 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// protocol array.
|
2016-09-23 17:31:51 -04:00
|
|
|
static struct lws_protocols Protocols[] = {
|
2014-06-12 17:02:52 -04:00
|
|
|
/* first protocol must always be HTTP handler */
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
"http-only", // name
|
2014-06-12 17:02:52 -04:00
|
|
|
FNetworkFileServerHttp::CallBack_HTTP, // callback
|
2016-04-07 12:59:50 -04:00
|
|
|
sizeof(PerSessionData), // per_session_data_size
|
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
|
|
|
15 * 1024, // rx_buffer_size
|
|
|
|
|
0, // id
|
|
|
|
|
NULL
|
2014-06-12 17:02:52 -04:00
|
|
|
},
|
|
|
|
|
{
|
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
|
|
|
NULL, NULL, 0, 0, 0, NULL /* End of list */
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
2021-02-16 06:53:30 -04:00
|
|
|
FNetworkFileServerHttp::FNetworkFileServerHttp(FNetworkFileServerOptions InFileServerOptions)
|
|
|
|
|
: FileServerOptions(MoveTemp(InFileServerOptions))
|
2018-02-22 11:25:06 -05:00
|
|
|
, SslContext(nullptr)
|
|
|
|
|
, Context(nullptr)
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2021-02-16 06:53:30 -04:00
|
|
|
if (FileServerOptions.Port < 0 )
|
2014-07-07 15:39:19 -04:00
|
|
|
{
|
2021-02-16 06:53:30 -04:00
|
|
|
FileServerOptions.Port = DEFAULT_HTTP_FILE_SERVING_PORT;
|
2014-07-07 15:39:19 -04:00
|
|
|
}
|
|
|
|
|
|
2018-02-22 11:25:06 -05:00
|
|
|
#if WITH_SSL
|
|
|
|
|
// Create a context for SSL
|
|
|
|
|
FSslModule& SslModule = FModuleManager::LoadModuleChecked<FSslModule>("SSL");
|
|
|
|
|
ISslManager& SslManager = SslModule.GetSslManager();
|
|
|
|
|
if (SslManager.InitializeSsl())
|
|
|
|
|
{
|
|
|
|
|
SslContext = SslManager.CreateSslContext(FSslContextCreateOptions());
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-06-12 17:02:52 -04:00
|
|
|
UE_LOG(LogFileServer, Warning, TEXT("Unreal Network Http File Server starting up..."));
|
|
|
|
|
|
|
|
|
|
StopRequested.Reset();
|
|
|
|
|
Ready.Reset();
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// spin up the worker thread, this will block till Init has executed on the freshly spinned up thread, Ready will have appropriate value
|
|
|
|
|
// set by the end of this function.
|
2014-08-18 16:25:37 -04:00
|
|
|
WorkerThread = FRunnableThread::Create(this,TEXT("FNetworkFileServerHttp"), 8 * 1024, TPri_AboveNormal);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool FNetworkFileServerHttp::IsItReadyToAcceptConnections(void) const
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
return (Ready.GetValue() != 0);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
#if UE_BUILD_DEBUG
|
2016-12-19 08:35:11 -05:00
|
|
|
inline void lws_debugLog(int level, const char *line)
|
2016-04-07 12:59:50 -04:00
|
|
|
{
|
2014-06-12 17:02:52 -04:00
|
|
|
UE_LOG(LogFileServer, Warning, TEXT(" LibWebsocket: %s"), ANSI_TO_TCHAR(line));
|
|
|
|
|
}
|
2016-04-07 12:59:50 -04:00
|
|
|
#endif
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
bool FNetworkFileServerHttp::Init()
|
|
|
|
|
{
|
|
|
|
|
// setup log level.
|
2016-04-07 12:59:50 -04:00
|
|
|
#if UE_BUILD_DEBUG
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_set_log_level( LLL_ERR | LLL_WARN | LLL_NOTICE | LLL_DEBUG , lws_debugLog);
|
2016-04-07 12:59:50 -04:00
|
|
|
#endif
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2014-07-21 04:38:16 -04:00
|
|
|
struct lws_context_creation_info Info;
|
|
|
|
|
memset(&Info,0,sizeof(lws_context_creation_info));
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// look up libwebsockets.h for details.
|
2021-02-16 06:53:30 -04:00
|
|
|
Info.port = FileServerOptions.Port;
|
2016-04-07 12:59:50 -04:00
|
|
|
// we listen on all available interfaces.
|
2014-07-21 04:38:16 -04:00
|
|
|
Info.iface = NULL;
|
2016-04-07 12:59:50 -04:00
|
|
|
// serve only the http protocols.
|
2014-07-21 04:38:16 -04:00
|
|
|
Info.protocols = Protocols;
|
2014-06-12 17:02:52 -04:00
|
|
|
// no extensions
|
2016-04-07 12:59:50 -04:00
|
|
|
Info.extensions = NULL;
|
2014-07-21 04:38:16 -04:00
|
|
|
Info.gid = -1;
|
|
|
|
|
Info.uid = -1;
|
|
|
|
|
Info.options = 0;
|
2016-04-07 12:59:50 -04:00
|
|
|
// tack on this object.
|
|
|
|
|
Info.user = this;
|
|
|
|
|
|
2018-02-22 11:25:06 -05:00
|
|
|
#if WITH_SSL
|
|
|
|
|
// SSL client options
|
|
|
|
|
if (SslContext)
|
|
|
|
|
{
|
|
|
|
|
Info.provided_client_ssl_ctx = SslContext;
|
|
|
|
|
Info.options &= ~(LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT); // Do not need to globally init
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
Info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT;
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 17:31:51 -04:00
|
|
|
Context = lws_create_context(&Info);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2021-02-16 06:53:30 -04:00
|
|
|
FileServerOptions.Port = Info.port;
|
2014-07-07 15:39:19 -04:00
|
|
|
|
2014-07-21 04:38:16 -04:00
|
|
|
if (Context == NULL) {
|
2021-02-16 06:53:30 -04:00
|
|
|
UE_LOG(LogFileServer, Error, TEXT(" Could not create a libwebsocket context.\n Port : %d is already in use.\n Exiting...\n"), FileServerOptions.Port);
|
2014-06-12 17:02:52 -04:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Ready.Set(true);
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2014-07-07 15:39:19 -04:00
|
|
|
|
|
|
|
|
FString FNetworkFileServerHttp::GetSupportedProtocol() const
|
|
|
|
|
{
|
|
|
|
|
return FString("http");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2014-06-12 17:02:52 -04:00
|
|
|
bool FNetworkFileServerHttp::GetAddressList(TArray<TSharedPtr<FInternetAddr> >& OutAddresses) const
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// if Init failed, its already too late.
|
2014-07-21 04:38:16 -04:00
|
|
|
ensure( Context != nullptr);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// we are listening to all local interfaces.
|
2014-06-12 17:02:52 -04:00
|
|
|
ISocketSubsystem::Get()->GetLocalAdapterAddresses(OutAddresses);
|
2016-04-07 12:59:50 -04:00
|
|
|
// Fix up ports.
|
2014-06-12 17:02:52 -04:00
|
|
|
for (int32 AddressIndex = 0; AddressIndex < OutAddresses.Num(); ++AddressIndex)
|
|
|
|
|
{
|
2021-02-16 06:53:30 -04:00
|
|
|
OutAddresses[AddressIndex]->SetPort(FileServerOptions.Port);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int32 FNetworkFileServerHttp::NumConnections() const
|
|
|
|
|
{
|
|
|
|
|
return RequestHandlers.Num();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FNetworkFileServerHttp::Shutdown()
|
2016-04-07 12:59:50 -04:00
|
|
|
{
|
|
|
|
|
// Allow multiple calls to this function.
|
2014-06-12 17:02:52 -04:00
|
|
|
if ( WorkerThread )
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
WorkerThread->Kill(true); // Kill Nicely. Wait for everything to shutdown.
|
|
|
|
|
delete WorkerThread;
|
|
|
|
|
WorkerThread = NULL;
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
2018-02-22 11:25:06 -05:00
|
|
|
|
|
|
|
|
#if WITH_SSL
|
|
|
|
|
FSslModule& SslModule = FModuleManager::LoadModuleChecked<FSslModule>("SSL");
|
|
|
|
|
ISslManager& SslManager = SslModule.GetSslManager();
|
|
|
|
|
if (SslContext)
|
|
|
|
|
{
|
|
|
|
|
SslManager.DestroySslContext(SslContext);
|
|
|
|
|
SslContext = nullptr;
|
|
|
|
|
}
|
|
|
|
|
SslManager.ShutdownSsl();
|
|
|
|
|
#endif
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
uint32 FNetworkFileServerHttp::Run()
|
|
|
|
|
{
|
2021-02-16 06:53:30 -04:00
|
|
|
UE_LOG(LogFileServer, Display, TEXT("Unreal Network File Http Server is ready for client connections on port %d"), FileServerOptions.Port);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// start servicing.
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// service libwebsocket context.
|
2014-06-12 17:02:52 -04:00
|
|
|
while(!StopRequested.GetValue())
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// service libwebsocket, have a slight delay so it doesn't spin on zero load.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_service(Context, 10);
|
|
|
|
|
lws_callback_on_writable_all_protocol(Context, &Protocols[0]);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UE_LOG(LogFileServer, Display, TEXT("Unreal Network File Http Server is now Shutting down "));
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// Called internally by FRunnableThread::Kill.
|
2014-06-12 17:02:52 -04:00
|
|
|
void FNetworkFileServerHttp::Stop()
|
|
|
|
|
{
|
|
|
|
|
StopRequested.Set(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FNetworkFileServerHttp::Exit()
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// let's start shutting down.
|
2014-06-12 17:02:52 -04:00
|
|
|
// fires a LWS_CALLBACK_PROTOCOL_DESTROY callback, we clean up after ourselves there.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_context_destroy(Context);
|
2014-07-21 04:38:16 -04:00
|
|
|
Context = NULL;
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FNetworkFileServerHttp::~FNetworkFileServerHttp()
|
|
|
|
|
{
|
|
|
|
|
Shutdown();
|
2016-04-07 12:59:50 -04:00
|
|
|
// delete our request handlers.
|
2014-06-12 17:02:52 -04:00
|
|
|
for ( auto& Element : RequestHandlers)
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
delete Element.Value;
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
2016-04-07 12:59:50 -04:00
|
|
|
// make sure context has been already cleaned up.
|
|
|
|
|
check( Context == NULL );
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
2014-08-18 16:55:29 -04:00
|
|
|
FNetworkFileServerClientConnectionHTTP* FNetworkFileServerHttp::CreateNewConnection()
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2021-02-16 06:53:30 -04:00
|
|
|
return new FNetworkFileServerClientConnectionHTTP(FileServerOptions);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// Have a similar process function for the normal tcp connection.
|
2014-08-18 16:55:29 -04:00
|
|
|
void FNetworkFileServerHttp::Process(FArchive& In, TArray<uint8>&Out, FNetworkFileServerHttp* Server)
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
int loops = 0;
|
2014-06-12 17:02:52 -04:00
|
|
|
while(!In.AtEnd())
|
|
|
|
|
{
|
|
|
|
|
UE_LOG(LogFileServer, Log, TEXT("In %d "), loops++);
|
2016-04-07 12:59:50 -04:00
|
|
|
// Every Request has a Guid attached to it - similar to Web session IDs.
|
2014-06-12 17:02:52 -04:00
|
|
|
FGuid ClientGuid;
|
2016-04-07 12:59:50 -04:00
|
|
|
In << ClientGuid;
|
2014-06-12 17:02:52 -04:00
|
|
|
|
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3807299)
#lockdown Nick.Penwarden
#rb none
============================
MAJOR FEATURES & CHANGES
============================
Change 3528776 by Yannick.Lange
Allow thumbnails to be captured from a viewport always.
#jira UE-45392
Change 3564359 by Yannick.Lange
Back out part of changelist 3528776: Revert allowing thumbnails to be captured from a viewport to fix UE-47827 & UE-47785.
#jira UE-47785, UE-47827
Change 3740671 by Matt.Kuhlenschmidt
Make the font editor canvas respect dpi scale
Change 3740810 by Josh.Engebretson
PR #4138: Log GenerateProjectFiles to file when using UVS (Contributed by projectgheist)
#jira UE-51358
Change 3740939 by Cody.Albert
Fixing some #ifdefs that should be #ifs
Change 3741089 by Alexis.Matte
Make sure bImportBoneTracks is set to true when importing into level
#jira UE-51999
Change 3741101 by Alexis.Matte
Fix the import material search
#jira UE-51857
Change 3741690 by Jamie.Dale
Guard against an invalid index in SLocalizationCommandletExecutor::Tick
#jira UE-52067
Change 3741710 by Jamie.Dale
Made a static variable also const
Change 3741724 by Michael.Dupuis
Added missing shader cache
Change 3742037 by Lauren.Ridge
Details panels can now "own" a color picker so a different details panel refreshing doesn't close it. Also fixed refreshing state of the graph after changing texture or color parameter values
Change 3742250 by Matt.Kuhlenschmidt
PR #4185: Output Log Filter tooltip shows %s instead of category. (Contributed by LordNed)
Change 3742308 by Lauren.Ridge
Adding axis input to the material editor's viewport client
Change 3742380 by Matt.Kuhlenschmidt
USD importer improvements
- USD now stores source file information for reimports
- Fixed bug where no geometry would be imported if an exporter had set a time code even without animated data
- Prevent a crash if a mesh doesnt have enough valid data to be imported
Change 3742536 by Matt.Kuhlenschmidt
Remove usd wrapper test project
Change 3743564 by Alexis.Matte
Fix skeletal mesh screen size auto set value when importing a LOD
#test none
#jira UE-52100
Change 3743582 by Lauren.Ridge
Fixing non-desktop compiles
Change 3743598 by Lauren.Ridge
Fixing shadowed variable by renaming the global color picker weak ptr variable.
Change 3743636 by Lauren.Ridge
Creating a new parameter immediately allows naming
Change 3743855 by Michael.Dupuis
Added missing shader from cache
Change 3744277 by Lauren.Ridge
Don't show empty Global group if it only contained the material layer param.
Change 3744330 by Lauren.Ridge
Clarifying "no parameter" text
Change 3744529 by Lauren.Ridge
Making Save to Child and Save To Sibling buttons work for material layer params, show on material layer param panel
Change 3744668 by Chris.Bunner
Added shared layer input collection asset, a list of float/texture redirectors that allow setting globally in a material graph then retrieving within layer/blend graphs.
Added output for number of unique shaders generated by a particular material instance.
Show instruction counts when working on a material layer.
Relaxed restrictions on material layers, base MA input is now optional.
#jira UETOOL-1271, UETOOL-1278, UETOOL-1279
Change 3744669 by Chris.Bunner
Added automated test for material layers, layer/blend instances and shared inputs.
Change 3744754 by Laz.Matech
Adding localization data to QAGame for the Realtime Preview localization test.
#jira none
Change 3744860 by Michael.Dupuis
#jira UE-52049 : Do not update random stream in most case, only when adding new instances, or filling from built data
Change 3744965 by Chris.Bunner
Rebuilt lighting in automated test map and updated reflection capture screenshot.
Change 3746015 by Michael.Dupuis
#jira UE-52090: Added missing shader for forward rendering
Change 3746038 by Michael.Dupuis
#jira UE-51494: Make sure index is valid for this instance as instances from template and instance could mismatch due to in level changes
Change 3746076 by Michael.Dupuis
Removed unused code
Change 3746998 by Tim.Gautier
QAGame: - Renamed UMG_RealtimePreview > UMG_InEditorPreview
- Moved UMG_InEditorPreview into UMG > Localization, setting up for future Localization tests
Change 3747206 by Arciel.Rekman
Linux: make UI scale more coarse to prevent unnecessary scaling (UE-52086).
- Monitors whose physical dimensions fall in range of 80-110 DPI should still have scale=1.0.
(Edigrating CL 3740942 from Release-4.18 to Dev-Editor)
Change 3747211 by Arciel.Rekman
Make failure to launch SCW more apparent to the user (UE-47263).
- Fixes frequent crash on Linux.
(Merging 3747070 from Release-4.18 to Dev-Editor)
Change 3747726 by Tim.Gautier
QAGame: Resubmitting updated Loc files
Change 3747872 by Tim.Gautier
QAGame: Resubmitting compiled Loc assets
Change 3748118 by Lauren.Ridge
Adding help text to the material layers preview tab
Change 3748398 by Lauren.Ridge
Fixing tooltips for the material layer read-only preview
Change 3748565 by Arciel.Rekman
Linux: fix RHIs settings being wrong when removed via project properties (UE-51203).
- This was a deeper issue with config system than just Linux RHIs.
- This is a better fix than one submitted to 4.18 branch in CL 3747086.
Change 3749441 by Matt.Kuhlenschmidt
PR #4201: Fix a typo in a comment. (Contributed by dneelyep)
Change 3749442 by Matt.Kuhlenschmidt
PR #4195: Incorrect specifier used for FText::Format (Contributed by projectgheist)
Change 3749496 by Matt.Kuhlenschmidt
Fix static analysis
Change 3749805 by Lauren.Ridge
Fixing reset to default on MaterialLayerParam in base material
Change 3749838 by Lauren.Ridge
Also correctly resetting names and layer states
Change 3750442 by Mieszko.Zielinski
Added a safety check which addresses the crash #UE4
Note that this is a temp fix. A proper fix is making sure ConvexShapeIndices doesn't contain any duplicates and will be inplemented in Dev-Framework.
#jira UE-52123
Change 3752266 by Arciel.Rekman
OpenGL: remove PLATFORM_WINDOWS exceptions.
- Discrepancy in behavior between Windows and Linux OpenGL is unhelpful for bug reproducibility.
- VAB bug should have been fixed long ago (on both platforms).
Change 3752929 by Arciel.Rekman
Linux: avoid crashing on unknown drivers.
- See https://answers.unrealengine.com/questions/724100/crashes-on-startup-after-first-run.html
- Checks in IsDeviceIntel() and such fail if the drivers were not detected.
Change 3753254 by Michael.Dupuis
Added missing shader for shader cache
Change 3753426 by Michael.Dupuis
#jira UE-5751: Added the possibility to change material instance exposed params at runtime using a MID for texture, vector and scalar for 1 component or all components
Change 3753440 by Alexis.Matte
Fix fbx scene importer morph target import crash
#jira UE-52255
Change 3753457 by Michael.Dupuis
build fix
Change 3753700 by Chris.Bunner
Make GetSharedInput preview fallback always available in editor as this should handle previews, thumbnails and other editor-only cases.
Refactor to remove duplicate code in material translator.
Material layer expressions are required for client load, fixes cooked builds using layer instances in the base material layer stack.
Change 3754760 by Chris.Bunner
Tidying up EngineTest/ShaderModels map.
Change 3754765 by Arciel.Rekman
Avoid placing tooltip windows under the cursor (UE-12288).
- Fixes inability to use some corners of the screen on Linux (the tooltips there aren't click-through).
Change 3754788 by Matt.Kuhlenschmidt
Fix details panel crash after compiling blueprints that have edit conditon properties
Change 3754933 by Christina.TempelaarL
Fixed typo in heightLerp (transistion->transition).
#jira UE-46736
Change 3754946 by Cody.Albert
Update loading movie code to properly calculate delta time when throttled at 60fps
Change 3755059 by Jamie.Dale
Fixed game preview language not updating in realtime while PIE was enabled
#jira UE-52209
Change 3755130 by Jamie.Dale
Fixed game preview language not updating from native when switching between preview languages
#jira UE-52348
Change 3755664 by Michael.Dupuis
Fixed compile warning
Change 3755714 by Yannick.Lange
Always allow capturing thumbnails from viewport.
This also hides the thumbnail editing UI when a thumbnail was captured from a viewport.
Change 3755944 by Alexis.Matte
Fix crash when importing morph target with "built in" tangent option
#jira UE-52319
Change 3756109 by Christina.TempelaarL
fixed FBX importer Import Textures tooltip, UMaterial -> Material in tooltip text
#jira UE-48389
Change 3756169 by Jamie.Dale
Added plural form pattern to SContentBrowser::GetPathText
Change 3756493 by Laz.Matech
Updating Localization content to further test InEditor Preview Language in UMG
#jira none
Change 3758336 by Alexis.Matte
Fix a crash when importing morph target there was a unsync between some buffer depending on the import options
#jira UE-52319
Change 3758947 by Jamie.Dale
Fixed cursor position regression in search boxes
This was caused by a call to SetText that was added in CL# 3627864
This caused the text to update as it was changed, which made the cursor jump to the end of the text and made it impossible to type in the middle of a search term.
This was done as a bound FText value had been passed to the InitalText of SSearchBox, which made the text resolution behave strangely. InitalText should always be a value, and SSearchBox now resolves any bindings during its constructor.
#jira UE-48874
Change 3759000 by Laz.Matech
Submitting the .PO file for CL 3756493
#jira none
Change 3759480 by Matt.Kuhlenschmidt
Safe guard against brush details crash
#jira UE-52278
Change 3759665 by Matt.Kuhlenschmidt
PR #4214: UE-52249: Use valid PreviewShadowsIndicatorMaterialName (Contributed by projectgheist)
Change 3761211 by Matt.Kuhlenschmidt
Remove the restriction that a level must be writable to be locked/unlocked.
Fixed duplicate icons being used by the level browser
Change 3761304 by Chris.Bunner
MaterialAttributeLayers graph node BaseMA input is no longer required.
Note: Requires "Use Preview Value" set to true on inputs.
Change 3761307 by Chris.Bunner
New material layers and blends will have "Use Preview Value" set to true by default to avoid the need for connected inputs - Missed file on previous commit.
Change 3761357 by Chris.Bunner
Renamed material shared input enum.
Change 3761419 by Chris.Bunner
Updating material layers automated test assets after recent changes.
Reverted some naming changes so existing screenshot tests can be reused.
Change 3762058 by tim.gautier
QAGame: Adding Material Layer assets for testing (Content/Materials/LayerFunction)
Change 3763328 by Matt.Kuhlenschmidt
Fix Slate warning at editor startup
Change 3763354 by Alexis.Matte
Fix skeletal mesh material assign when reducing a LOD that was import from a file using simplygon reduction
#jira UE-52505
Change 3763501 by Matt.Kuhlenschmidt
Prevent shared asset thumbnail pools from having their resources forcefully released when they are in use. ReleaseResources is now private and only called on destruction of the pool
Change 3763574 by Matt.Kuhlenschmidt
Fix slate material box brushes not being keyed off image size
#jira UE-40219
Change 3763678 by Jamie.Dale
Disable realtime level editor viewport if running under remote desktop
This makes the main editor window much more responsive by default under remote desktop
Change 3763679 by Jamie.Dale
Added asset caching metrics for the loc gather
Change 3763693 by Matt.Kuhlenschmidt
Changed the code that activates the actor details tab when selection changes to a flash. There are simply too many things that change the selection and steal focus away from a tab being used
#jira UE-51754
Change 3763826 by Michael.Dupuis
Fixed Fortnite cooking crash
Change 3763864 by Harrison.Moore
Adding New Default 'LayerBlend' assets
Change 3764028 by Christina.TempelaarL
#jira UE-47695 Auto LOD bug
Moved the sections dropdown to the LOD Picker category and modified Custom cb behavior, based on suggestions from charlie.
Change 3764031 by Christina.TempelaarL
#jira UE-47695 Auto LOD in StaticMeshViewer
moved LOD combo widget to LOD picker category and hide custom checkboxes until custom checked.
Change 3764076 by tim.gautier
QAGame: Submitting UMG_Multitouch_test for initial Multitouch testing
Change 3764263 by Matt.Kuhlenschmidt
Fix the floor mesh thumbnail
Change 3764284 by Chris.Bunner
Removing some asserts for cases that can validly fail and are already handled.
Change 3764372 by Matt.Kuhlenschmidt
PR #4196: Show edit icons in editor (Contributed by projectgheist)
Change 3764388 by Chris.Bunner
Fixing logic for material, function and instance updating active materials and instances and their editors.
Change 3764674 by Harrison.Moore
test materials added, Blend updates
Change 3764681 by Harrison.Moore
Adding HMtest map
Change 3766238 by Chris.Bunner
Material layer callers need to let their internal material function calls update their inputs/outputs.
Change 3766556 by Jamie.Dale
Fixed crashes that could happen if some of the data table panels were closed
We now always create the underlying widgets, even if they're currently hidden from view
#jira UE-52552
Change 3767753 by Chris.Bunner
When rebuilding a material function instance editor we must re-create and re-apply the proxies as the expressions have likely changed. Take care to maintain local parameter changes as these have not been saved yet.
Change 3768719 by Michael.Dupuis
#jira UE-52521: Prevent possible crash if a segment have no point or invalid point
Change 3769157 by Jamie.Dale
Fixed incorrect text selection if selecting via double click beyond the bounds of the line
It would previously select the second to last word, rather than the last word
#jira UE-51609
Change 3769159 by Harrison.Moore
Belica Test update, New layer blends updated with texture type fix.
Change 3769205 by Jamie.Dale
Fixed Windows file save dialog not appending the correct extension when there were multiple options available
#jira UE-52180
Change 3769220 by Harrison.Moore
Layer blend tweaks
Change 3769292 by Jamie.Dale
Removing redundant code
Applying the correct package ID, only to then strip it off again is rather pointless
Change 3769479 by Arciel.Rekman
UBT: Use response files for compiler when compiling for Linux.
- Some command lines are too long when cross-compiling on Windows.
Change 3769920 by Arciel.Rekman
Linux: convert yet another initialization crash to a user-friendly message (UE-52457).
#jira UE-52457
Change 3771055 by Alexis.Matte
Make sure we set the Used by morph target material flag to material use by the morphtarget instead of all skinned mesh component
Use the morph vertex factory only for section that has active morph target
#jira UE-51483
Change 3771135 by Michael.Dupuis
Fixed fortnite cooking
Change 3773054 by Yannick.Lange
Avoid loading viewport interaction assets when starting the editor.
Change 3774184 by Arciel.Rekman
Linux: disabled some gdb visualizers until the issue is fixed.
- CL 3773942 by CengizT.
Change 3774303 by Matt.Kuhlenschmidt
Pull requests to fix various typos
Change 3774305 by Matt.Kuhlenschmidt
PR #4237: Visual Studio Repeatedly Opens (UE-51608) (Contributed by LordNed)
#jira UE-51608
Change 3774701 by Arciel.Rekman
OpenGL: fix ARB callback errors when hitting Build Lighting.
- Merged from 4.18 shelf.
Change 3775812 by Matt.Kuhlenschmidt
Fix One-off crash undo-ing while working with Material Params / Material Functions
#jira UE-52680
Change 3775849 by Matt.Kuhlenschmidt
More info for UE-52610
Change 3775850 by Matt.Kuhlenschmidt
Guard against mesh paint crashes
#jira UE-52618
Change 3775904 by Matt.Kuhlenschmidt
Added logging to track down window shutdown issues
Change 3775913 by Matt.Kuhlenschmidt
Pull requests for typos
#jira UE-52751, UE-52748
Change 3776676 by Jamie.Dale
Fixed being able to insert tabs into spin boxes with units
#jira UE-52776
Change 3777006 by Michael.Trepka
Process Mac windowDidBecomeMain and windowDidResignMain notifications immediately instead of deferring them. This solves issues with Slate code that closes and immediately opens new menu windows. Previously closing a window would schedule menu parent's activation event that could be processed after another menu's creation, making it immediately disappear.
#jira UE-52145
Change 3777170 by Arciel.Rekman
Linux: use Xft.dpi (most desktop environments expose their scale through that) as a DPI value (UE-52086, UE-52766).
- Change by Brandon.Schaefer.
- Limitation: no per-monitor DPI.
(Edigrating CL 3776509 //UE4/Release-4.18/... to //UE4/Dev-Editor/...)
Change 3777292 by Arciel.Rekman
Linux: fix symbol collision causing problems with AMD drivers (UE-51843).
- We cannot have elf_end() hidden, because libcuda.so calls elf_end from libnvidia-fatbinaryloader.so and this breaks linking monolithic binaries ("hidden symbol referenced in DSO").
- We cannot have elf_end() visible, because of a name collision with a different libelf used by AMD drivers.
- The only possible workaround is to have elf_end() renamed.
(Edigrating CL 3777242 from //UE4/Release-4.18/... to //UE4/Dev-Editor/...)
Change 3777686 by Joe.Conley
Blueprint editor variable type tooltips: fix case mismatch that was preventing type name to be displayed properly in soft object/class reference tooltips.
Change 3778180 by Jamie.Dale
Avoid a crash if a regex pattern or matcher outlive ICU during shutdown
#jira UE-52770
Change 3778182 by Jamie.Dale
Avoid a crash if a break iterator outlives ICU during shutdown
Change 3778368 by Jamie.Dale
Added missing pragma once
Change 3778560 by Matt.Kuhlenschmidt
Prevent non-shared DDC notification from triggering for epic internal builds
Change 3778709 by Lauren.Ridge
Copying 4.18.2 array reordering propagating to children fix (originally 3778547)
Change 3779205 by Lauren.Ridge
Duplicating 3776649 to fix a crash on compile due to partial GC of a widget.
#jira UE-52260
Change 3779217 by Brandon.Schaefer
GitHub #3678 Fix Setup.sh handling of special characters in PNG path
#jira UE-46103
Change 3779341 by Brandon.Schaefer
GitHub #3012 Use elemtry OS versions to set the ubuntu versions for depencies
#jira UE-39364
Change 3780274 by Joe.Conley
DataTables: Add documentation tooltips showing type information to header columns
Change 3780840 by Alexis.Matte
Do a re-import when user re-import LOD 0
Prevent importing more then MAX_SKELETAL_MESH_LODS
#jira UE-52373
Change 3781067 by Arciel.Rekman
Linux: fix OSSSteam cross-compilation (and CIS).
- Broken by previous change that put compile-time arguments into response file and bulk-replaced \ with /, which affected things like Definitions.Add("STEAM_SDK_VER_PATH=TEXT(\"Steam" + SteamVersion + "\")");
Change 3781110 by Christina.TempelaarL
#jira UE-47695 moved Static Mesh Editor LOD menu from tools to viewport tool bar
Change 3781531 by Christina.TempelaarL
#jira UE-47695 added LOD menu to Static Mesh Editor viewport
Change 3781663 by Alexis.Matte
Fix for cancel export fbx when previewing animation sequence export
#jira UE-49743
Change 3782007 by Jamie.Dale
Improved the ability to lockdown available game languages
In addition to the previous "DisabledCultures" array, you can now add an array of "EnabledCultures" (using the same per-build config filters) to explicitly list the cultures that are allowed to be used in your build (if the list is empty, then everything is allowed unless otherwise disabled).
This also stops the game from attempting to fallback to the native language if the native language has been disabled (we will fallback to the first available language instead).
Change 3782122 by Jordan.Walker
test assets for material layers
Change 3782131 by Joe.Graf
Added support for IOS and TVOS targets when generating CMake files on Mac
Change 3782218 by Christina.TempelaarL
fixing include paths and capitalization causing build errors.
Change 3783171 by Michael.Dupuis
Added the possibility to override default LOD rules for visible primitive and whole scene shadow casting primitive
Added the possibility to store Custom data per view for the frame duration
Change 3783172 by Michael.Dupuis
#jira UE-35097 : Refactored landscape rendering logic to improve general performance while using new custom data and custom lod feature
Exposed many new settings to control component using sub sections rendering, tessellated component, shadow should be include into tessellation, tessellation falloff based on camera location
Changed how LOD distribution is done to be in screen size instead of distance.
Give the possibility to have a different distribution for LOD0 vs the other one.
Change 3783174 by Michael.Dupuis
missing file to landscape refactor
Change 3783315 by Lauren.Ridge
Changing a parameter in the Material Parameter Panel now dirties the material correctly.
Changing a layer parameter in the Material Instance Editor now refreshes the details panel as well.
Change 3783374 by Chris.Bunner
Adding MaterialSharedInputCollection to hidden list when MaterialLayers disabled.
Change 3783617 by Chris.Bunner
Added a Channel Mask material expression parameter. Wraps up a vector parameter and dot product with a single channel selection interface, internally a regular vector parameter.
Fixed GetSharedInput failing to return the preview texture in the Function Instance editor.
Change 3783676 by Lauren.Ridge
Adding access to a material function instance's parent in the Material Instance Editor
Change 3783751 by Michael.Trepka
PR #4248: Fixed C++ std in generated Xcode project to match rest of engine (C++14) (Contributed by Bo98)
Change 3783971 by Brandon.Schaefer
Rename/Move all deploy/Deploy folder/files into AlembicDeploy. Due to case sensitivity on linux, need to maintain the correct case.
#jira UE-37631
Change 3783992 by Michael.Dupuis
#jira UE-35097: Remove tessellation on editor tools
Fixed a case where tessellation multiplier at 0 would cause the component to not be visible
Fixed minor tessellation falloff calculation error
Change 3784502 by Chris.Bunner
Restored missing bool setter.
Coding standards fix.
Change 3784614 by Arciel.Rekman
Linux: better error message when running out of inotify watches (UE-50459).
#jira UE-50459
Change 3784620 by Chris.Bunner
Updated LayerBlend_TextureMask to use new ChannelMask parameter.
Change 3784725 by Lauren.Ridge
Fixing groups not sorting correctly
Change 3785645 by Chris.Bunner
Non-editor compile fix.
Change 3785666 by Arciel.Rekman
Linux: restore ability to use Wayland instead of X11.
- SDL libs recompiled and Wayland version is set to lower one to be compatible with the compositor shipped on Ubuntu 16.04 LTS
- Change by Anthony.Bills.
Change 3785708 by Arciel.Rekman
Linux: implement voice capture using SDL (non-server only) (UE-51298).
- Based on pull request #4131 by mkirzinger.
Change 3785878 by Arciel.Rekman
UBT: add VSCode to default generators on Linux.
Change 3786058 by Arciel.Rekman
Do not add dependencies on other RHIs for servers (UE-48894).
- Pull request #3944 contributed by pfoote.
#jira UE-48894
Change 3786845 by Arciel.Rekman
Code changes to make gcc support easier (UE-51978).
- Contributed by a licensee (pull request #4181 by tomwardio "Collection of fixes to allow UE4 to be compiled by GCC on Linux").
Change 3786871 by Matt.Kuhlenschmidt
Fix static analysis
Change 3786883 by Matt.Kuhlenschmidt
Fix HTML5
Change 3786923 by Matt.Kuhlenschmidt
Fix engine layer blend asset referencing game content. This is not allowed
#jira UE-52888
Change 3786927 by Brandon.Schaefer
Linux: Alembic support
#jira: UE-37631
Change 3786994 by Arciel.Rekman
Remove support for /-prefixed switches (UE-47429).
- They collide with absolute file paths on Mac/Linux and a source of inconsistencies between platforms.
#jira UE-47429
Change 3787032 by Michael.Trepka
Initial support for building and running Niagara on Mac
Change 3787035 by Brandon.Schaefer
GitHub #4166 Undef GL entrypoint macros after use
#jira UE-51663
Change 3787144 by Lauren.Ridge
Fixing material parameter group association resetting after undo
#jira UE-52514
Change 3787839 by Jordan.Walker
updated engine level layer blends to not include game content
switched them to use Chris B's new mask selection node
Change 3787967 by Lauren.Ridge
Fix for broken layer groups, related crash
Change 3787991 by Lauren.Ridge
Fixing thumbnails for material function instances, resolving not being able to delete new function instances
#jira UE-52967
Change 3788226 by Michael.Trepka
Fixed a deadlock when closing Mac CrashReportClient which resulted from changes in CL 3777006
#jira UE-53002
Change 3788557 by Brandon.Schaefer
Fix shadow compiler warnings around our includes
Change 3789700 by Lauren.Ridge
Experimental setting for turning on Material Layers - off by default.
Change 3789703 by Jamie.Dale
Harden the LocMeta and LocRes loading to prevent loading files that are too new
Change 3789706 by Jamie.Dale
Added localization ID to the package summary
This will allow the localization gatherer to query it without having to load the entire package
Change 3789708 by Jamie.Dale
Added a way to display and reset the package localization ID via the Content Browser
Change 3789709 by Jamie.Dale
Added warning for duplicate package localization IDs when gathering asset localization
Change 3789713 by Jamie.Dale
Special case zero-width space in the text shaper to avoid fonts rendering the fallback glyph
Change 3789736 by Christina.TempelaarL
Fixed recently-introduced StaticMeshEditor bug - changing LOD dropdown menu selection was not changing LOD sections category.
Change 3789853 by Chris.Bunner
Material instances should return overridden values when the caller is requesting the default, not leaving the request to fall through to the base material.
#jira UE-52796
Change 3790185 by Brandon.Schaefer
Add better error handling when using new SDK for linux on windows.
#jira UE-50527
Change 3790195 by Jamie.Dale
Fixed line-ending inconsistency when retrieving rich-text
We were using LINE_TERMINATOR when getting the offsets, but \n when getting the text
Change 3790473 by Chris.Bunner
When finding expression by GUID, only return FunctionCall result if expression was found. Fixes cases where searched-for expression is after a FunctionCall in the expressions list.
#jira UE-52729
Change 3790650 by Arciel.Rekman
UBT: Linux: print build details first before refusing to build.
- Tweak to the previous feature that we forgot.
Change 3790681 by Arciel.Rekman
UBT: Linux: tweaks to wording (SDK -> toolchain).
Change 3791459 by Brandon.Schaefer
Linux: libcurl rebuild for version 7.57
#jira OGS-870
Change 3791533 by Arciel.Rekman
Better error messaging when UMB is unusable (UE-50658).
- Should be replaced by a better fix, but merging this workaround in case the better fix will not be done in time for 4.19.
(Edigrating CL 3789387, 3789787 from Release-4.18 to Dev-Editor)
Change 3791885 by Matt.Kuhlenschmidt
Fix static analysis
#jira UE-53097
Change 3791910 by Brandon.Schaefer
Fix for not using proper libraries on x86_64 for libcurl
#jira OGS-870
Change 3792017 by Jamie.Dale
Fixed a conflict between the path settings and favorite settings
Change 3792022 by Jamie.Dale
Fixed a crash that could happen when performing ARO on the property chains of a struct
#jira UE-52999
Change 3792025 by Jamie.Dale
Changed package summary localization ID to be versioned by the object version to avoid changing data in unversioned cooked assets
Change 3792066 by Michael.Dupuis
#jira UE-5751: Fixed possible crash when using dynamic matrial instance
Added missing shaders for landscape when using tessellation
Change 3792718 by Arciel.Rekman
OpenGL: bringing back Windows workarounds to unblock copy-up (UE-52534).
#jira UE-52534
Change 3793018 by Mike.Erwin
new glTF importer plugin
Import StaticMesh, Material, and Texture assets from the Khronos glTF 2.0 format. Text (.gltf) and binary (.glb) files are supported.
Limitations:
- There is no options UI. All assets from the file are imported.
- The glTF format can describe animation and whole scenes, but the initial version of this plugin does not attempt either.
- Data encoded as Base64 data URI is not supported. This is uncommon but is part of the glTF spec.
#jira: UE-50695
Change 3793626 by Matt.Kuhlenschmidt
Logging for HTML5 issue
Change 3794034 by Matt.Kuhlenschmidt
Fix CIS
Change 3794271 by Michael.Dupuis
#jira UE-53133: Fxed shadow calculation when using non whole scene shadow
Change 3794273 by Chris.Bunner
Function call material nodes should be created with no outputs by default.
#jira UE-53127, UE-53128, UE-52616
Change 3794334 by Lina.Halper
- Fix animation reinitializing when just setting new animation with single node
- Deprecated GetScalarParameterDefault and replace that with GetScalarParameterDefaultValue
#jira: UE-52796
Change 3794338 by Michael.Dupuis
Fixed lod visual popping when texture mip used for landscape is not ready
Change 3794350 by Mike.Erwin
Fix glTF importer header includes.
Build was failing on Linux.
Change 3794357 by Michael.Dupuis
#jira UE-53166: buildfix: removed phase 2 landscape optim leftover...
Change 3794549 by Michael.Dupuis
#jira UE-53166 : fixed compile error
Change 3794755 by Matt.Kuhlenschmidt
Fix automation warning
Change 3794910 by Lina.Halper
Change material default value to be red to keep the behavior same.
- Previous code was getting default value of parent, which was wrong, but now since we're grabbing correct value, it's not doing what it meant to do. Changed content to keep same value as parent as default.
Change 3795296 by Mike.Erwin
glTF: fix Linux build errors
A variable was being shadowed.
The other errors are due to an obscure corner of the C++ spec which clang enforces.
https://stackoverflow.com/questions/21900237/do-i-really-need-to-implement-user-provided-constructor-for-const-objects
#jira UE-53204
Change 3797313 by Chris.Bunner
Re-built lighting in Rendering/ShaderModels automated test map and updated failing screenshots.
#jira UE-53198
Change 3803962 by Jamie.Dale
Fixed struct instances not comparing against the correct default values when gathering for localization
Change 3804771 by Michael.Dupuis
Back out changelist 3783171
Change 3804772 by Michael.Dupuis
Back out changelist 3783172
Change 3805258 by Michael.Dupuis
Added missing shader cache for landscape
Change 3806105 by Matt.Kuhlenschmidt
Disable harware benchmarking during automation tests, commandlets, and on the build machine
Change 3806438 by Michael.Dupuis
#jira UE-53228: Fixed rendering path of new landscape optim when using GDoInitViewsLightingAfterPrepass(used in Orion)
Change 3806577 by Matt.Kuhlenschmidt
Change plugin uploading to crash reporter to only do so in editor builds
Change 3806588 by Michael.Dupuis
Remove temp test version in landscape version
Change 3806900 by Jamie.Dale
Fixed 'inconsistent DLL linkage' error when using older versions of Python 2.7
#jira UE-53353
Change 3807125 by Jamie.Dale
Fixed UBT warning after Dev-Core merge
Change 3807299 by tim.gautier
QAGame: Checking in test asset M_LandscapeMaterial_Foliage, quicker repro for UE-53442
[CL 3807911 by Matt Kuhlenschmidt in Main branch]
2017-12-14 10:07:13 -05:00
|
|
|
UE_LOG(LogFileServer, Log, TEXT("Received GUID %s"), *ClientGuid.ToString());
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
FNetworkFileServerClientConnectionHTTP* Connection = NULL;
|
2014-06-12 17:02:52 -04:00
|
|
|
if (Server->RequestHandlers.Contains(ClientGuid))
|
|
|
|
|
{
|
|
|
|
|
UE_LOG(LogFileServer, Log, TEXT("Picking up an existing handler" ));
|
2016-04-07 12:59:50 -04:00
|
|
|
Connection = Server->RequestHandlers[ClientGuid];
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
UE_LOG(LogFileServer, Log, TEXT("Creating a handler" ));
|
2016-04-07 12:59:50 -04:00
|
|
|
Connection = Server->CreateNewConnection();
|
2014-06-12 17:02:52 -04:00
|
|
|
Server->RequestHandlers.Add(ClientGuid,Connection);
|
|
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
Connection->ProcessPayload(In);
|
2014-08-18 16:55:29 -04:00
|
|
|
Out.Append(Connection->GetOutBuffer());
|
2016-04-07 12:59:50 -04:00
|
|
|
Connection->ResetBuffer();
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 17:31:51 -04:00
|
|
|
// This static function handles all callbacks coming in and when context is services via lws_service
|
2014-06-12 17:02:52 -04:00
|
|
|
// return value of -1, closes the connection.
|
2016-04-07 12:59:50 -04:00
|
|
|
int FNetworkFileServerHttp::CallBack_HTTP(
|
2016-09-23 17:31:51 -04:00
|
|
|
struct lws *Wsi,
|
|
|
|
|
enum lws_callback_reasons Reason,
|
2016-04-07 12:59:50 -04:00
|
|
|
void *User,
|
|
|
|
|
void *In,
|
2014-07-21 04:38:16 -04:00
|
|
|
size_t Len)
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-09-23 17:31:51 -04:00
|
|
|
struct lws_context *Context = lws_get_context(Wsi);
|
2014-07-21 04:38:16 -04:00
|
|
|
PerSessionData* BufferInfo = (PerSessionData*)User;
|
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
|
|
|
FNetworkFileServerHttp* Server = (FNetworkFileServerHttp*)lws_context_user(Context);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2014-07-21 04:38:16 -04:00
|
|
|
switch (Reason)
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
case LWS_CALLBACK_HTTP:
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// hang on to socket even if there's no data for atleast 60 secs.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_set_timeout(Wsi, NO_PENDING_TIMEOUT, 60);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
/* if it was not legal POST URL, let it continue and accept data */
|
2014-07-21 04:38:16 -04:00
|
|
|
if (!lws_hdr_total_length(Wsi, WSI_TOKEN_POST_URI))
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2014-07-21 04:38:16 -04:00
|
|
|
char *requested_uri = (char *) In;
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// client request the base page. e.g http://unrealfileserver:port/
|
|
|
|
|
// just return a banner, probably add some more information, e,g Version, Config, Game. etc.
|
2014-06-12 17:02:52 -04:00
|
|
|
if ( FCString::Strcmp(ANSI_TO_TCHAR(requested_uri), TEXT("/")) == 0 )
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
TCHAR Buffer[1024];
|
2014-06-12 17:02:52 -04:00
|
|
|
TCHAR ServerBanner[] = TEXT("<HTML>This is Unreal File Server</HTML>");
|
2016-04-07 12:59:50 -04:00
|
|
|
int x = FCString::Sprintf(
|
2014-06-12 17:02:52 -04:00
|
|
|
Buffer,
|
2014-06-13 13:25:24 -04:00
|
|
|
TEXT("HTTP/1.0 200 OK\x0d\x0a")
|
|
|
|
|
TEXT("Server: Unreal File Server\x0d\x0a")
|
2019-03-15 11:40:11 -04:00
|
|
|
TEXT("Access-Control-Allow-Origin: *\x0d\x0a")
|
2016-04-07 12:59:50 -04:00
|
|
|
TEXT("Connection: close\x0d\x0a")
|
2014-06-13 13:25:24 -04:00
|
|
|
TEXT("Content-Type: text/html; charset=utf-8\x0d\x0a")
|
2016-04-07 12:59:50 -04:00
|
|
|
TEXT("Content-Length: %u\x0d\x0a\x0d\x0a%s"),
|
2014-06-12 17:02:52 -04:00
|
|
|
FCString::Strlen(ServerBanner),
|
|
|
|
|
ServerBanner
|
|
|
|
|
);
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// very small data being sent, its fine to just send.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_write(Wsi,(unsigned char*)TCHAR_TO_ANSI(Buffer),FCStringAnsi::Strlen(TCHAR_TO_ANSI(Buffer)), LWS_WRITE_HTTP);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// client has asked for a file. ( only html/js files are served.)
|
|
|
|
|
|
|
|
|
|
// what type is being served.
|
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3548365)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3494741 by Steve.Robb
Generated code size savings.
#jira UE-43048
Change 3495484 by Steve.Robb
Fix for generated indices of static arrays when saving configs.
Change 3497926 by Robert.Manuszewski
Removed FPackageFileSummary's CompressedChunks array as it was no longer being used by anything.
Change 3498077 by Robert.Manuszewski
Only use the recursion guard in async loading code when the event driven loader is enabled.
Change 3498112 by Ben.Marsh
UBT: Respect the option to not create debug info in the Android toolchain. This option is already being respected by the compiler, but the linker adds debug info of its own.
Change 3500239 by Robert.Manuszewski
Made sure the Super Class token stream is also locked when assembling Class token stream with async loading thread enabled. This to to prevent race conditions when loading BP classes.
Change 3500395 by Steve.Robb
Extra codegen savings when not in hot reload.
Change 3501004 by Steve.Robb
EObjectFlags now have constexpr operators.
Change 3502079 by Ben.Marsh
UBT: Pad multi-line error messages so that they align under the prefix for the first line, and include the timestamp if necessary.
Change 3502527 by Steve.Robb
Fix for zero-sized array compile error in generated code when all functions are editor-only.
Change 3502542 by Ben.Marsh
UAT: Remove the custom source parameter from log functions, and add support for a customizable indent instead.
Change 3502868 by Steve.Robb
Workaround for inefficient generated code with stateless lambdas on Clang.
Change 3503550 by Steve.Robb
Another generated code lambda optimization.
Change 3503582 by Ben.Marsh
BuildGraph: Add support for nullable parameter types.
Change 3504424 by Steve.Robb
New AllOf, AnyOf and NoneOf algorithms.
Change 3504712 by Ben.Marsh
UAT: Less spammy log and error output from UAT.
* Callstacks for AutomationExceptions are suppressed by default but still included in the log (the path to the log is noted in console output with the message from the exception).
* Add a mechanism for any exceptions to be caught and rethrown with additional lines of context (CommandUtils.AddContext()) that will be appended to the error output by UAT. Avoids decaying the exception type or masking the inner exception message while still adding additional information.
* AggregateExceptions resulting from exceptions on child threads are automatically unwrapped (full details are still appended to the log)
* Name of the calling function is not included in console output by default, but still included in the log.
Change 3504808 by Ben.Marsh
UAT: Suppress P4 output when running a recursive instance of UAT.
Change 3505044 by Steve.Robb
Code generation improved for TCppClassType code.
Change 3505485 by Ben.Marsh
Fix deterministic cooking issue; always use a pseudo-random number stream when compiling a module.
Change 3505699 by Ben.Marsh
Plugins: Store the bEnabledByDefault flag exactly as it was read from disk rather than collapsing it to an absolute value based on the default for the location it was read from. This allows loading/saving plugin descriptors without any knowledge of whether they are game or engine plugins.
Change 3506055 by Ben.Marsh
UAT: Add a class to apply a log indent for the lifetime of an object (ScopedLogIndent), and use it to apply an indent to MegaXGE/ParallelExecutor output.
Change 3507745 by Robert.Manuszewski
Moved FSimpleObjectReferenceCollectorArchive and FSimpleObjectReferenceCollectorArchive to be internal archives used only by FReferenceCollector so that they are constructed only once per GC task instead of potentially multiple times per GC (as was the case with UDataTables and BlueprintGeneratedClasses).
Change 3507911 by Ben.Marsh
Plugins: Minor changes to plugin descriptors.
* Add a distinct setting for an unspecified EnabledByDefault setting in plugin descriptors.
* Add a function to IPlugin to determine the effective EnabledByDefault setting, based on where the plugin was loaded from.
Change 3508669 by Ben.Marsh
EC: Parse multi-line messages from UBT and UAT.
Change 3508691 by Ben.Marsh
Fix double-spacing of cook stats.
Change 3509245 by Steve.Robb
UHT makefiles removed.
Flag audit removed.
Change 3509275 by Steve.Robb
Fix for mismatched stat categories in AudioMixer.
#jira UE-46129
Change 3509289 by Robert.Manuszewski
Custom Version Container will no longer be always constructed in FArchive constructor. This reduces the number of the Custom Version Container allocations considerably.
Change 3509294 by Robert.Manuszewski
UDataTable::AddReferencedObjects will no longer try to iterate over the RowMap if there's no UObject references in it.
Change 3509312 by Steve.Robb
GitHub# 3679: Add TArray constructor that takes a raw pointer and a count
Check improved for Append() to allow nullptr in empty ranges, and added to new constructor too.
#jira UE-46136
Change 3509396 by Steve.Robb
GitHub# 3676: Fix TUnion operator<< compile error
#jira UE-46099
Change 3509633 by Steve.Robb
Fix for line numbers on multiline macros.
Change 3509938 by Gil.Gribb
UE4 - Fix rare assert involving cancelled precache requests and non-pak-file loading.
Change 3510593 by Daniel.Lamb
Fixed up unsoilicited files getting populated with files which aren't finished being created yet.
#test None
Change 3510594 by Daniel.Lamb
Fixed up temp files directory for patching.
Thanks David Yerkess @ Milestone
#review@Ben.Marsh
Change 3511628 by Ben.Marsh
PR #3707: Fixed UBT stack size (Contributed by gildor2)
Change 3511808 by Ben.Marsh
Optimize checks for whether the game project contains source code. Now stops as soon as the first file is found and ignores directories beginning with a '.' character (eg. .git)
#jira UE-46540
Change 3512017 by Ben.Marsh
Plugins: Deprecate the QueryStatusForAllPlugins() function; the same functionality is available via the IPlugin interface.
Change 3513935 by Steve.Robb
Reverted array iteration in FPropertyNode::PropagatePropertyChange as this is now covered in TProperty::InitializeValueInternal() as of CL# 3293477.
Change 3514142 by Steve.Robb
MemoryProfiler2 added to generated solution.
Change 3516463 by Ben.Marsh
Plugins: Create a manifest for each PAK file containing all the plugin descriptors in one place. Eliminates need to recurse through directories and read separate multiple files in serial at startup, and allows reading all plugin descriptors with one read. The "Mods" directory is excluded from the manifest, since these are intended to be installed separately by the user.
Change 3517860 by Ben.Marsh
PR #3727: FString Dereference Fixes (Contributed by jovisgCL)
Change 3517967 by Ben.Marsh
Suppress additional system error dialogs when loading DLLs if -unnattended is on the command line.
Change 3518070 by Steve.Robb
Disable Binned2 stats in shipping non-editor builds.
Change 3520079 by Steve.Robb
Fixed bad codegen TAssetPtrs being passed into BlueprintImplementableEvent functions.
#jira UE-24034
Change 3520080 by Robert.Manuszewski
Made max package summary size to be configurable with ini setting
Change 3520083 by Steve.Robb
Force a GC after hot reload to clean up reinstanced objects which may still tick.
#jira UE-40421
Change 3520480 by Robert.Manuszewski
Improved assert message when the initial package read request was too small.
Change 3520590 by Graeme.Thornton
SignedArchiveReader optimizations
- Loads more stats
- Stop chunk cache worker from waking up continuously to poll for work. Only wake up when triggered by the archive reader
- Signed archive reader just yields when waiting for buffers to finish loading, rather than sleeping for some arbitrary amount of time
- Track the number of pending read requests in an atomic counter, to save having to lock the request queue to check for new entries
Change 3521023 by Graeme.Thornton
Remove spin from signed archive reader. Main thread waits on an event triggered by the chunk worker to indicate that new chunks are ready for processing
Change 3521787 by Ben.Marsh
PR #3736: Small static code analysis fixes (Contributed by jovisgCL)
Change 3521789 by Ben.Marsh
PR #3735: Fix case sensitivity issue in FWindowsPlatformProcess::IsApplicationRunning. (Contributed by samhocevar)
Change 3524721 by Ben.Marsh
Move Linux SDL initialization into FLinuxPlatformApplicationMisc. Attempting to move functionality related to interactive applications (graphics, input, etc...) into a separate place, so it can ultimately be moved out of Core.
Change 3524741 by Ben.Marsh
Move PumpMessages() into FPlatformApplicationMisc.
Change 3525399 by Ben.Marsh
UGS: Use the default Perforce server port when opening P4V if there is not one set in the environment.
Change 3525743 by Ben.Marsh
UAT: Add a parameter to allow updating version files without updating Version.h, to allow faster link times on incremental builds.
Change 3525746 by Ben.Marsh
EC: Include the clobber option on new workspaces, to allow overriding version files when syncing.
Change 3526453 by Ben.Marsh
UGS: Do not generate project files when syncing precompiled binaries.
Change 3527045 by Ben.Marsh
Fix hot reload generating import libraries without DLLs. Now that they are produced by separate actions by default, it was removing DLLs from the action graph due to the bSkipLinkingWhenNothingToCompile setting.
Change 3527420 by Ben.Marsh
UGS: Add additional search paths for UGS config files, and fix a few cosmetic issues (inability to display ampersands in tools menu, showing changelist -1 when running a tool without syncing).
Config files are now read from:
Engine/Programs/UnrealGameSync/UnrealGameSync.ini
Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini
If a project is selected:
<ProjectDir>/Build/UnrealGameSync.ini
<ProjectDir>/Build/NotForLicensees/UnrealGameSync.ini
If the .uprojectdirs file is selected:
Engine/Programs/UnrealGameSync/DefaultProject.ini
Engine/Programs/UnrealGameSync/NotForLicensees/DefaultProject.ini
Change 3528063 by Ben.Marsh
Fix non-thread safe construction of FPluginManager singleton. Length of time spent in the constructor resulted in multiple instances being constructed at startup, making the time to enumerate plugins on slow media significantly worse.
Change 3528415 by Ben.Marsh
UAT: Remove \r characters from the end of multiline log messages.
Change 3528427 by Ben.Marsh
EC: Fix spaces being converted to tabs at start of line in failure emails (by Gmail), and wrap following lines at the same indent.
Change 3528485 by Ben.Marsh
EC: Remove zero-width word break characters from slashes in notification emails; can cause really hard to debug problems when copy pasted into other places.
Change 3528505 by Steve.Robb
PR #3755: MallocProfiler - Remove subfolder from profiling save directory (Contributed by Josef-CL)
#jira UE-46819
Change 3528772 by Robert.Manuszewski
Enabling actor and blueprint clustering in ShooterGame
Change 3528786 by Robert.Manuszewski
PR #3760: Fix typo (Contributed by jesseyeh)
Change 3528792 by Steve.Robb
PR #3764: MallocProfiler - Refactoring Scopelock (Contributed by Josef-CL)
#jira UE-46962
Change 3528941 by Robert.Manuszewski
Fixed lazy object pointers not being updated for streaming sub-levels in PIE. Fixed lazy pointers returning object that is still being loaded which could lead to undefined behavior when client code started modifying the returned object.
#jira UE-44996
Change 3530241 by Ben.Marsh
UAT: Only pass -submit or -nosubmit to child instances of UAT if they were specified on the original command line. BuildCookRun uses this flag to determine whether to submit, rather than just whether to allow submitting, so we shouldn't pass an inferred value.
Change 3531377 by Ben.Marsh
Plugins: Allow plugins to specify a list of supported target platforms, which is propagated to any .uproject file that enables it.
This has several advantages over the per-module platform whitelist/blacklist:
* Platform-specific .uplugin files can now be excluded when staging other platforms. Previously, it was only possible to determine which platforms a plugin supports by reading the plugin descriptor itself. Now that information is copied into the .uproject file, so the runtime knows which plugins to ignore.
* References to dependent plugins from platform-specific plugins can now be eliminated.
* Plugins containing content can now be unambiguously disabled on a per-platform basis (having no modules for a platform does not confer that a plugin doesn't support that platform; now it is possible to specify supported platforms explicitly).
* The editor can load any plugins without having to whitelist supported editor host platforms.
UE4 targets which support loading plugins for target platforms can set TargetRules.bIncludePluginsForTargetPlatforms (true for the editor by default, false for any other target types). This defines the LOAD_PLUGINS_FOR_TARGET_PLATFORMS macro at runtime, which allows the plugin system to filter which plugins to look for at runtime.
Any .uproject file will be updated at startup to contain the list of supported platforms for each referenced plugin if necessary.
Change 3531502 by Jin.Zhang
Add support for GPUCrash #rb
Change 3531664 by Ben.Marsh
UBT: Change output format from C# JSON writer to match output by the engine.
Change 3531848 by Ben.Marsh
UAT: Add script to resaving all project descriptors under a folder, embedding information for any supported platforms for the plugins they enable.
Change 3531869 by Ben.Marsh
UAT: Add parameter to the ResaveProjectDescriptors command to update the engine association field.
Change 3532474 by Ben.Marsh
UBT: Use the same mechanism as UAT for logging exceptions.
Change 3532734 by Graeme.Thornton
Initial VSCode Support
- Tasks generated for building all game/engine/program targets
- Debugging support for targets on Win64
Change 3532789 by Steve.Robb
FScriptSet::Add and TScriptMap::Add now replace the element, matching the behavior of TSet and TMap.
Set_Add and Map_Add no longer have a return value.
FScriptSet::Find and FScriptMap::Find functions are now FindIndex.
FScriptSetHelper::FindElementFromHash is now FindElementIndexFromHash.
Change 3532845 by Steve.Robb
Obsolete UHT settings deleted.
Change 3532875 by Graeme.Thornton
VSCode
- Add debug targets for different target configurations
- Choose between VS debugger (windows) and GDB (mac/linux)
Change 3532906 by Graeme.Thornton
VSCode
- Point all builds directly at UBT rather than the batch files
- Adjust mac build tasks to run through mono
Change 3532924 by Ben.Marsh
UAT: Set the UAT working directory immediately on startup. This ensures that any command line arguments containing paths are resolved consistently to the branch root.
Change 3535234 by Graeme.Thornton
VSCode - Pass intellisense system a list of paths to use for header resolution
Change 3535247 by Graeme.Thornton
UBT - Add a ToString to ProjectFile.Source file to help with debugger watch presentation
Change 3535376 by Graeme.Thornton
VSCode
- Added build jobs for C# projects
- Linked launch tasks to relevant build task
Change 3537083 by Ben.Marsh
EC: Change P4 swarm links to start at the changelist for a build.
Change 3537368 by Graeme.Thornton
Fix for crash in FSignedArchiveReader when multithreading is disabled
Change 3537550 by Graeme.Thornton
Fixed a crash in the taskgraph when running single threaded
Change 3537922 by Steve.Robb
Missing PF_ATC_RGBA_I added to FOREACH_ENUM_EPIXELFORMAT.
Change 3539691 by Graeme.Thornton
VSCode - Various updates to get PC and Mac C++ projects building and debugging.
- Some other changes to C# setup to allow compilation. Debugging doesn't work.
Change 3539775 by Ben.Marsh
Plugins: Various fixes to settings for enabling plugins.
* Fix crash on startup when trying to disable a missing plugin (was keeping pointers to elements in the project's plugin reference array, which may be modified if a plugin is disabled).
* Revert fix to set PluginDescriptor.bRequiresBuildPlatform = true by default. This was the originally intended behavior, but it was accidentally defaulted to false during serialization unless specified in the .uplugin file. Many plugins may rely on this behavior (they may not declare asset classes otherwise, for example, which could result in loss of data), so change the default value to false instead. Also fixes popups to disable platform-specific plugins if platform SDKs are not installed.
* Fix plugins which are referenced but do not exist not showing the appropriate prompt to disable them.
Change 3540788 by Ben.Marsh
UBT: Add support for declaring custom pre-build steps and post-build steps from .target.cs files. Similarly to the custom build steps configurable from .uproject and .uplugin files, these specify commands which will be executed by the host platform's shell before or after a build. The following variables are expanded within the list of commands before execution: $(EngineDir), $(ProjectDir), $(TargetName), $(TargetPlatform), $(TargetConfiguration), $(TargetType), $(ProjectFile).
Example usage:
public class UnrealPakTarget : TargetRules
{
public UnrealPakTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "UnrealPak";
if(HostPlatform == UnrealTargetPlatform.Win64)
{
PreBuildSteps.Add("echo Before building:");
PreBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");
PostBuildSteps.Add("echo After building!");
PostBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");
}
}
}
Change 3541664 by Graeme.Thornton
VSCode - Add problemMatcher tag to cpp build targets
Change 3541732 by Graeme.Thornton
VSCode - Change UBT command line switch to "-vscode" for simplicity
Change 3541967 by Graeme.Thornton
VSCode - Fixes for Mac/Linux build steps
Change 3541968 by Ben.Marsh
CRP: Pass through the EnabledPlugins element in crash context XML files.
#jira UE-46912
Change 3542519 by Ben.Marsh
UBT: Add chain of references to error messages when configuring plugins.
Change 3542523 by Ben.Marsh
UBT: Add more useful error message when attempt to parse a JSON object fails.
Change 3542658 by Ben.Marsh
UBT: Include a chain of references when reporting errors instantiating modules.
Change 3543432 by Ben.Marsh
Plugins: Fix plugins which are enabled by default not being enabled unless a project file is set.
Change 3543436 by Ben.Marsh
UBT: Prevent recursing through the same module more than once when building out the referenced modules. Produces much shorter reference chains when something fails.
Change 3543536 by Ben.Marsh
UBT: Downgrade message about redundant plugin references to a warning.
Change 3543871 by Gil.Gribb
UE4 - Fixed a critical crash bug with non-EDL loading from pak files.
Change 3543924 by Robert.Manuszewski
Fixed a crash on UnrealFrontend startup caused by re-assembling GC token stream for one of the classes.
+Small optimization to token stream generation code.
Change 3544469 by Jin.Zhang
Crashes page displays the list of plugins from the crash context #rb
Change 3544608 by Steve.Robb
Fix for nativized generated code.
#jira UE-47452
Change 3544612 by Ben.Marsh
Add callback into FMacPlatformMisc::PumpMessages() from FMacPlatformApplicationMisc::PumpMessages().
#jira UE-47449
Change 3545954 by Gil.Gribb
Fixed a critical crash bug relating to a race condition in async package summary reading.
Change 3545968 by Ben.Marsh
UAT: Fix incorrect username in BuildGraph <Submit> task. Should use the username from the Perforce environment, not assume the logged in user name is the same.
#jira UE-47419
Change 3545976 by Ben.Marsh
EC: Delete the AutoSDK client if the directory doesn't exist. When we format build machines, we need to force everything to be resynced from scratch.
Change 3546185 by Ben.Marsh
Hacky fix for deployment on IOS/TVOS. Since deployment directly references the NonUFS manifest files that are written out, merge all the SystemNonUFS files back into the NonUFS list after the regular NonUFS files have been remapped.
Change 3547084 by Gil.Gribb
Fixed a critical race condition in the new async loader. This was only reproducible on IOS, but may affect other platforms.
Change 3547968 by Gil.Gribb
Fixed critical race which potentially could cause a crash in the pak precacher.
Change 3504722 by Ben.Marsh
BuildGraph: Improved tracing for error messages. All errors are now propagated as exceptions, and are tagged with additional context information about the task currently being run.
For example, throwing new AutomationException("Unable to write foo.txt") from SetVersionTask.Execute is now displayed in the log as:
ERROR: Unable to write to foo.txt
while executing <SetVersion Change="0" CompatibleChange="0" Branch="Unknown" Promoted="True" />
at Engine\Build\InstalledEngineBuild.xml(91)
(see D:\P4 UE4\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
Change 3512255 by Ben.Marsh
Rename FPaths functions with a "Game" prefix (GameDir(), GameContentDir(), etc...) to have a "Project" prefix (ProjectDir(), ProjectContentDir(), etc...) for clarity with non-game uses of UE4. Old functions still exist but are deprecated.
Change 3512332 by Ben.Marsh
Rename "Game" functions in FApp to be "Project" functions (FApp::GetGameName() -> FApp::GetProjectName(), etc...) for clarity with non-game uses of UE4.
Change 3512393 by Ben.Marsh
Rename FPaths::GameLogDir() to FPaths::ProjectLogDir().
Change 3513452 by Ben.Marsh
Plugins: Rename EPluginLoadedFrom::GameProject to EPluginLoadedFrom::Project.
Change 3516262 by Ben.Marsh
Add support for a "Mods" folder distinct from the project's "Plugins" folder, instead of using the bIsMod flag on the plugin descriptor.
* Mods are enumerated similarly to regular plugins, but IPlugin::GetType() will return EPluginType::Mod.
* The DLCName parameter to BuildCookRun and the cooker now correctly finds any plugin in the Plugins or Mods directory (or any subfolders).
Change 3517565 by Ben.Marsh
Remove fixed engine version numbers from OSS plugins.
Change 3518005 by Ben.Marsh
UAT: Remove the bUFSFile parameter from DeployLowerCaseFilenames(). Every platform returns false if the argument is false.
Change 3518054 by Ben.Marsh
UAT: Use an enum to direct whether all directories should be searched when finding files to stage, rather than a bool. Having so many optional boolean arguments makes code unreadable and refactoring hard.
Change 3524496 by Ben.Marsh
Start moving GUI application code into a separate static platform class, hopefully ultimately removing it from Core.
Change 3524641 by Ben.Marsh
Move more functionality related to windowed/graphical applications into FPlatformApplicationMisc.
Change 3528723 by Steve.Robb
MoveTemp now static asserts if passed a const reference or rvalue.
MoveTempIfPossible still follows the old (std::move) rule, which is useful for templates where the nature of the argument is not obvious.
Fixes to violations of these new rules.
Change 3528876 by Ben.Marsh
Move FPlatformMisc::ClipboardCopy and FPlatformMisc::ClipboardPaste to FPlatformApplicationMisc::ClipboardCopy and FPlatformApplicationMisc::ClipboardPaste.
Change 3529073 by Ben.Marsh
Add script to package ShooterGame for any platforms.
Change 3531493 by Ben.Marsh
Update platform-specific plugins to declare the target platforms they support.
Change 3531611 by Ben.Marsh
UAT: Add a ResavePluginDescriptors command, which resaves all plugin descriptors under a given folder, removing any outdated fields and rewrites them in a consistent style. Many plugins in the wild contain redundant or no-longer used fields due to using our plugins as templates.
Change 3531868 by Ben.Marsh
Resaving project descriptors to remove invalid fields.
Change 3531983 by Ben.Marsh
UAT: Simplify logic for staging code, and add validation against shipping files in restricted folders.
* Added a new SystemNonUFS type for staged files, which excludes files from being remapped or renamed by the platform layer.
* Replaced the DeplyomentContext.StageFiles() function with simpler overloads for particular use cases (options for remapping are replaced with the SystemNonUFS file type)
* Config entries in the [Staging] category in DefaultGame.ini file allow remapping one directory to another, so restricted content can be made public in packaged builds (Example syntax: +RemapDirectory=(From="Foo/NoRedist", To="Foo"))
* An error is output if any restricted folder names other than the output platform are in the staged output.
Change 3540315 by Ben.Marsh
UAT: Moving StreamCopyDescription command into a NotForLicensees folder, since it's only meant to be used by engine developers.
Change 3542410 by Ben.Marsh
UBT: Deprecate accessing properties through BuildConfiguration.* or UEBuildConfiguration.* from .target.cs files. These have been aliases to the current TargetRules instance for several releases already.
Change 3543018 by Ben.Marsh
UBT: Deprecate the BuildConfiguration and UEBuildConfiguration aliases from the ModuleRules class. These have been implemented as an alias ot the ReadOnlyTargetRules instance passed to the constructor for several engine versions.
Change 3544371 by Steve.Robb
Fixes to TSet_Add and TMap_Add BPs.
#jira UE-47441
[CL 3548391 by Ben Marsh in Main branch]
2017-07-21 12:42:36 -04:00
|
|
|
FString FilePath = FPaths::ProjectDir() / TEXT("Binaries/HTML5") + FString((ANSICHAR*)In);
|
2014-11-06 15:46:19 -05:00
|
|
|
TCHAR Mime[512];
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
|
2014-07-24 19:26:40 -04:00
|
|
|
if ( FilePath.Contains(".js"))
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
FCStringWide::Strcpy(Mime,TEXT("application/javascript;charset=UTF-8"));
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
2018-08-20 10:34:52 -04:00
|
|
|
else if ( FilePath.Contains(".css"))
|
|
|
|
|
{
|
|
|
|
|
FCStringWide::Strcpy(Mime,TEXT("text/css;charset=UTF-8"));
|
|
|
|
|
}
|
2014-06-12 17:02:52 -04:00
|
|
|
else
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
FCStringWide::Strcpy(Mime,TEXT("text/html;charset=UTF-8"));
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
2014-07-24 19:26:40 -04:00
|
|
|
UE_LOG(LogFileServer, Warning, TEXT("HTTP Serving file %s with mime %s "), *FilePath, (Mime));
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
FString AbsoluteFilePath = FPaths::ConvertRelativePathToFull(FilePath);
|
|
|
|
|
AbsoluteFilePath.ReplaceInline(TEXT("/"),TEXT("\\"));
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// we are going to read the complete file in memory and then serve it in batches.
|
|
|
|
|
// rather than reading and sending in batches because Unreal NFS servers are not running in memory
|
|
|
|
|
// constrained env and the added complexity is not worth it.
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
TArray<uint8> FileData;
|
2014-07-21 04:38:16 -04:00
|
|
|
FFileHelper::LoadFileToArray(FileData, *AbsoluteFilePath, FILEREAD_Silent);
|
2016-04-07 12:59:50 -04:00
|
|
|
|
2014-07-21 04:38:16 -04:00
|
|
|
if (FileData.Num() == 0)
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// umm. we didn't find file, we should tell the client that we couldn't find it.
|
2014-06-12 17:02:52 -04:00
|
|
|
// send 404.
|
Copying //UE4/Release-Staging-4.15 to //UE4/Dev-Main (Source: //UE4/Release-4.15 @ 3267632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3267632 on 2017/01/23 by Jurre.deBaare
Marker syncs not working correctly in Blend Spaces
#fix Ensure that SampleIndexWithMarkers is serialized
#JIRA UE-40975
Change 3266915 on 2017/01/20 by Arciel.Rekman
Fix Persona crash on Linux (UE-38790).
- Static template variable got instantiated into multiple DSOs; probably exacerbated by --as-needed since this does not happen without it.
#jira UE-38790
Change 3266785 on 2017/01/20 by Ian.Fox
#OnlineSubsystemLive - Make usage of CachedUsers thread safe. Duplicates CL 3245390
#jira UE-40649
Change 3266762 on 2017/01/20 by Rolando.Caloca
UE4.15 - Fix for reallocating scene color
#jira UE-40633
Change 3266642 on 2017/01/20 by Lina.Halper
Downgraded Warning to Info
#jira: UE-40643
Change 3266532 on 2017/01/20 by Jeff.Campeau
Fix multiplatform Windows includes defeating the safety check in MinWindows.h
#jira UE-40778
#rn Fixed a compile warning on Xbox One when XboxOneMinApi.h was included before MinWindows.h.
Change 3266523 on 2017/01/20 by Marc.Audy
Fix case where child actor could avoid getting begin play call
#jira UE-40960
Change 3266474 on 2017/01/20 by Peter.Sauerbrei
fix for using an API not yet available in iOS 8
#jira UE-40698
Change 3266339 on 2017/01/20 by Frank.Fella
Sequencer - Fix UI issues with multi-track section rows.
+ Don't show an empty sub-track when there are no sections.
+ Expand parent tracks by default.
#Jira UE-40487
Change 3266283 on 2017/01/20 by Jeff.Fisher
UE-40683 GearVR projects rendering black
-Fix from Remi Palandri
#jira UE-40683
#review-3265824 @nick.whiting @ryan.vance
Change 3266264 on 2017/01/20 by Lina.Halper
Downgraded warning and changed log message
#jira: UE-40643
Change 3266239 on 2017/01/20 by Peter.Sauerbrei
fix for virtual joystick not showing up on some devices
#jira UE-40472
Change 3266084 on 2017/01/20 by Mitchell.Wilson
Resaving level to have correct starting camera position. Saved in wrong position after fixing a bug.
#jira UE-40887
Change 3266077 on 2017/01/20 by Matt.Kuhlenschmidt
Fixed "Wait for Movies to Complete" flag being reversed
#jira UE-40943
Change 3266076 on 2017/01/20 by Mitchell.Wilson
Updating occulsion bounds method on P_spark_burst_2 so it is not occluded when spawned inside of the coin mesh in BP_Overview example.
Updating some post process examples due to changes made with Post Process settings. Film and Scene Color are temporary fixes and are intended to be fully updated in 4.16
#jira UE-40830 UE-40887
Change 3266034 on 2017/01/20 by Benn.Gallagher
Fixed crash when reimporting APEX destructibles from apb/x files caused by not allowing the renderer to flush destroy resource commands before emptying an array.
#jira UE-40911
Change 3266027 on 2017/01/20 by Ian.Fox
#OnlineSubsystemLive - Fix CreateSession and FindSession each permanently failing after first failure. Duplicates CL 3262175
#jira UE-39110
Change 3265906 on 2017/01/20 by Marcus.Wassmer
Fix GPU particle AFR flickering and optimize injection transfers.
Duplicate CL's 3260302, 3261252, 3265662, 3265678
#jira UE-40915
Change 3265873 on 2017/01/20 by Mark.Satterthwaite
Duplicate CL #3262535:
Make sure to set rasterizer state when rendering with a material in FSlateRHIRenderingPolicy::DrawElements
#jira UE-40842
Change 3265857 on 2017/01/20 by Jamie.Dale
Fixed font pathing issue that could happen in an out-of-source packaged build
#jira UE-40855
Change 3265675 on 2017/01/20 by Matt.Kuhlenschmidt
Move Dirt Mask Intensity to the correct post process category
#jira UE-40851
Change 3265674 on 2017/01/20 by Rolando.Caloca
UE4.15 - Revert
#jira UE-40633
Change 3265647 on 2017/01/20 by Mitchell.Wilson
Updating spawn location of the player pawn after unpossessing character in example 1.10.
#jira UE-40870
Change 3265612 on 2017/01/20 by Alexis.Matte
Prevent name clash warning when doing automation test
#jira UE-40788
Change 3265553 on 2017/01/20 by Matthew.Griffin
Fixed Shadow variable warning
Change 3265366 on 2017/01/20 by Dmitriy.Dyomin
Fixed: Vulkan crashes on Adreno Galaxy S7
#jira UE-40840
Change 3265294 on 2017/01/19 by Dmitriy.Dyomin
Fixed typo which was causing assert on mobile
#jira UE-40633
Change 3265111 on 2017/01/19 by Rolando.Caloca
UE4.15 - Fix for scene color crash
#jira UE-40633
Change 3264789 on 2017/01/19 by Josh.Adams
- Redoing a fix from Dev-Plat for UI_BUILD_SHIPPING_EDITOR
#jira UE-40798
Change 3264780 on 2017/01/19 by Rolando.Caloca
UE4.15 - Add Morph compute GPU stat
#jira UE-40891
Change 3264486 on 2017/01/19 by Mark.Satterthwaite
Fix the crash on startup on Intel GPUs - this is due to Intel Metal forcing SM4 to avoid some drivers bugs in SM5 but I got the condition for initialisation in FMinimalDummyForwardLightingResources wrong so it's attempting to create a RWBuffer for SM4 which won't work.
#jira UE-40863
Change 3264427 on 2017/01/19 by Rolando.Caloca
UE4.15 - Track down crash
#jira UE-40633
Change 3264393 on 2017/01/19 by Aaron.McLeran
#jira UE-40850
Re-fixing UE-39650 again in 4.15.
I hope this bug doesn't regress yet again!
Change 3264364 on 2017/01/19 by Daniel.Wright
In forward shading SceneCaptureSource modes Normal and BaseColor are replaced with SceneColorHDR as the GBuffer is not available. This is a silent failure for now as there's no good content error reporting mechanism for scene captures.
#jira UE-39658
Change 3264284 on 2017/01/19 by Mark.Satterthwaite
Duplicate CL #3264251:
Modify some asserts in MetalRHI - technically using a store-action of ENoAction on Stencil buffers should make it invalid to restart a render-pass but on Mac it will work because ENoAction won't invalidate anything written. In future we need to use deferred store-actions in Metal so that we can "restart" passes while enforcing correct Load/Store actions.
#jira UE-40803
Change 3264282 on 2017/01/19 by Benn.Gallagher
CIS fix, bad expression that failed to compile Mac
#jira UE-40716
Change 3264257 on 2017/01/19 by Mike.Beach
Revising fix in UBlueprint::BeginCacheForCookedPlatformData(), saving off nativization data if the -nativizeAssets param is present (not just if it was enabled in packaging settings).
#jira UE-40620
Change 3264242 on 2017/01/19 by Daniel.Wright
[Copy] Sharing IndirectLightingCacheTextureSampler samplers
#jira UE-40727
Change 3264191 on 2017/01/19 by Ori.Cohen
Fix heightfield not working with traces underneath.
#JIRA UE-39819
Change 3264139 on 2017/01/19 by Benn.Gallagher
Removed collision between clothing in external skeletal mesh components, as clothing simulations could already be in flight and editing collisions while the simulation is running is not supported by APEX
#jira UE-40716
Change 3264110 on 2017/01/19 by Max.Preussner
MfMedia: Disabled plug-in on Windows 10, because it is currently broken
#jira UE-406344
Change 3264108 on 2017/01/19 by Max.Preussner
MfMedia: Fixed compile errors on Windows 10
#jira UE-40644
Change 3264099 on 2017/01/19 by Jamie.Dale
Adding deprecation warning for 4.14 style PO export
#jira UE-40592
Change 3264089 on 2017/01/19 by Matthew.Griffin
Reworked DDC commandlet to make sure it actually calls BeginCacheForCookedPlatformData on assets
Skip doing this for Engine content if -ProjectOnly is set as that takes a long time and isn't necessary for the way we use it
#jira UE-39968
Change 3264065 on 2017/01/19 by James.Golding
Fix ModifyCurve node not calling init/update in SourcePose
#jira UE-40852
Change 3263729 on 2017/01/19 by Alexis.Matte
Fix a bad condition when filling the material sorting array
#jira UE-40814
Change 3263704 on 2017/01/19 by Jack.Porter
Fix compile error in AndroidESDeferredOpenGL.cpp when " ES Deferred Shading Renderer" is enabled.
#jira UE-40659
Change 3263627 on 2017/01/19 by Jack.Porter
Fixed black textures when Vulkan is packaged for ETC1
#jira UE-40658
Change 3263554 on 2017/01/19 by Jack.Porter
Fixes to HISMC LOD to use new screen size calculation. Solves issue where HISMC was always rendered at lowest LOD.
#jira UE-38930
Change 3263535 on 2017/01/19 by Matthew.Griffin
Removed unnecessary directories to always cook
Problem was actually down to string asset references not being resolved in file set generation
Change 3263534 on 2017/01/19 by Matthew.Griffin
Added -SkipPublish parameter to BuildLauncherSample command so that we don't chunk and post preflights
Change 3263267 on 2017/01/18 by Dan.Oconnor
Fix for editing of TMap/TSet variables in structure editor, async tasks, and when using UK2Node_CommutativeAssociativeBinaryOperator.
#jira UE-40428
Change 3263219 on 2017/01/18 by Dan.Oconnor
Fix copy paste error found by UDN user Craig.Wright that could result in fatal bytecode execution
#jira UE-19425
Change 3262980 on 2017/01/18 by Maciej.Mroz
#jira UE-40394, UE-40395, UE-40426, UE-40484, UE-40770
Integrated cl 3262851, 3261613, 3260908 from Dev-Blueprint
Change 3262908 on 2017/01/18 by Ori.Cohen
When refreshing physics assets, don't do so on components that have no bodies.
#JIRA UE-40764
Change 3262709 on 2017/01/18 by Matt.Kuhlenschmidt
Fix a crash if a background blur widget ends up being negative or zero sized
#jira UE-40820
Change 3262606 on 2017/01/18 by Marc.Audy
Don't bother the user with force feedback based on where the unpossessed pawn is standing in the world while in simulate mode
#jira UE-40785
Change 3262416 on 2017/01/18 by Marc.Audy
Reenable audio threading
#jira UE-00000
Change 3262125 on 2017/01/18 by Chris.Wood
Fixed unnecessary truncate in SMenuAnchor::Tick that caused menu placement to wobble
[UE-40293] - Dropdown selection box jitters when mouse is moved over top of it on Mac
#jira UE-40293
Change 3262103 on 2017/01/18 by Jamie.Dale
Merging some cooker fixes
CL# 3262089 - Fixing RedirectCollector issues with projects outside the UE4 directory
CL# 3262091 - Guarding against potentially invalid call to FString::Mid
CL# 3262094 - Cook on the fly builds now resolve string asset references
#jira UE-40790
Change 3262082 on 2017/01/18 by Chris.Bunner
Accumulate used particle materials from final mesh material module, not first.
#jira UE-39953
Change 3261996 on 2017/01/18 by Matthew.Griffin
Allow Samples to be built in pre-flights if you are specifying an engine version
Change 3261995 on 2017/01/18 by Matthew.Griffin
Resolve string asset references after loading packages to ensure that we find all required files
Change 3261934 on 2017/01/18 by Allan.Bentham
Bump shader version to force changes in 3260307 to occur.
#jira UE-39701
Change 3261842 on 2017/01/18 by Graeme.Thornton
Manual copy of CL 3253580 from Dev-Core
Added some validation of the class index in exportmap entries
#jira UE-37873
Change 3261017 on 2017/01/17 by Mitchell.Wilson
Resaving all levels to resolve short form string asset reference warnings.
#jira UE-40732
Change 3260918 on 2017/01/17 by Andrew.Rodham
Sequencer: Request unloaded levels to be loaded when being made visible through sequencer
#jira UE-40082
Change 3260909 on 2017/01/17 by Ben.Marsh
Fix error running "Clean" in installed build.
#jira UE-40751
Change 3260757 on 2017/01/17 by Jeff.Fisher
UE-39654 Crash when launching Google VR project
-Via SwitchGameWindowToUseGameViewport we get an early ResizeViewport which does an early Draw. This calls GetStereoProjectionMatrix before the game has ticked and fetched the device info we use to build that matrix.
-In this change we make the call to setup that information in the GoogleVRHMD constructor, to ensure it is done before anything tries to use it.
-I also added some asserts.
#jira UE-39654
#review-3260644
Change 3260637 on 2017/01/17 by Alexis.Matte
Fix crash when importing skeletal mesh containing a texture or a material using the same name.
#jira UE-40538
Change 3260630 on 2017/01/17 by Marc.Audy
When installing a feature pack maintain the include of the template so that any properties inside it are not lost by replacing it with the project's PCH include
Update all C++ feature packs to include the original project .h in the files that are copied in to the new project
#jira UE-40730
Change 3260600 on 2017/01/17 by matt.barnes
Test content for sequencer event tracks
#jira UE-29618
Change 3260593 on 2017/01/17 by Mieszko.Zielinski
Made FSupportedAreaData export as part of engine API #UE4
#jira UE-40739
Change 3260538 on 2017/01/17 by Marc.Audy
Always display axes in debug info, but show -- for value when we don't yet know the ranges
#jira UE-40700
Change 3260422 on 2017/01/17 by Marc.Audy
Expose level streaming incremental unregister component cvars in the engine streaming section of the project settings
#jira UE-10109
Change 3260392 on 2017/01/17 by Ben.Woodhouse
Duplicated from CL 3260107:
Fix FMonitoredProcess to prevent infinite loop in -nothreading mode
#jira UE-40717
Change 3260358 on 2017/01/17 by Chris.Bunner
Only validate tonemapper LUT input if actually hooked up.
#jira UE-40467
Change 3260327 on 2017/01/17 by Frank.Fella
PlatformMediaSource - Fix Validate to check all specified media sources, and change GetURL to get the url for the current platform when running uncooked.
#jira UE-40709
Change 3260307 on 2017/01/17 by Allan.Bentham
Restore metal compiler's shader source serialization code when the shader is to be compiled at runtime.
#jira UE-39701
Change 3260276 on 2017/01/17 by Alex.Delesky
#jira UE-40276 - Fixing an issue where a Standalone game launched from the editor cannot toggle fullscreen mode.
Change 3260274 on 2017/01/17 by Chris.Wood
Added check for null World ptr in AActor::PostEditChangeProperty to fix crash when pasting temporary Actors
[UE-40492] - Crash after ejecting from PIE session and selecting a component in the details panel
#jira UE-40492
Change 3260230 on 2017/01/17 by Ben.Woodhouse
Duplicated from dev-rendering@3232283
D3D12 - downgrade root signature size warning to a log following a discussion with Microsoft. There's not much we can actually do about it, and it's not relevant to all hardware
#jira UE-36999
Change 3260096 on 2017/01/17 by Thomas.Sarkanen
Fixed crash when rendering out a level sequence with layered animations
When a level contained sequences with layered animations that *werent* taking part in the render (i.e. they were not part of the current master sequence) then their instances were initialized but not ticked. When their components then got a call to evaluate their bone transforms, the cached blends were in an uninitialized state.
#jira UE-40654 - Render Movie using separate process crashes capture process
Change 3259875 on 2017/01/17 by Dmitriy.Dyomin
Fixed: SunTemple is washed out in one color on some Android devices
#jira UE-40689
Change 3259011 on 2017/01/16 by Max.Chen
Matinee to Level Sequence: Make RegisterTrackConverters pure virtual
#jira UE-37328
Change 3258992 on 2017/01/16 by Rolando.Caloca
UE4.15 - Integrate fix for outlines (3258807)
#jira UE-40690
Change 3258949 on 2017/01/16 by mason.seay
Disabled TranslatedMass test
#jira UE-29618
Change 3258860 on 2017/01/16 by Max.Preussner
Media: Prevent loading of media plug-ins in console apps, such as game servers (OR-34819)
#jira OR-34819
Change 3258846 on 2017/01/16 by Max.Preussner
MfMedia: Fixed incorrect tracks being played in multi-track media sources (UE-39703)
#jira UE-39703
Change 3258813 on 2017/01/16 by Benn.Gallagher
Added error on import for APEX clothing files that either have no submeshes or have no submeshes with simulated vertices.
#jira UE-40614
Change 3258771 on 2017/01/16 by James.Golding
Skip fatal warning in UBodySetup::Serialize if duplicating (e.g. spawning component via SCS with a BodySetup in its template)
#jira UE-40418
Change 3258747 on 2017/01/16 by Max.Chen
Sequencer: AddUnique SequencerActorTag to prevent multiple tags being added when spawning/despawning.
#jira UE-40665
Change 3258630 on 2017/01/16 by Jurre.deBaare
CIS IfDef issue fix
#JIRA UE-1234
Change 3258541 on 2017/01/16 by Phillip.Kavan
[UE-40131] Revised fix that will work for "inclusive" BP nativization with data-only BPs.
change summary:
- revised code in UBlueprint::BeginCacheForCookedPlatformData() to also support the "inclusive" nativization method
#jira UE-40131
Change 3258532 on 2017/01/16 by Max.Chen
Sequencer: Fix max row index off by one error . This was always incorrect, but it was masked by the fact that FixRowIndices() was called on the track when the UI gets built. That function was removed from the node layer in CL #3252753 and therefore exposed this bug.
#jira UE-40642
Change 3258505 on 2017/01/16 by Marc.Audy
Improve messaging when installing vehicle and vehicle adv C++ feature packs
#jira UE-40647
Change 3258478 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3131: UE-40567: Added nullcheck to FSplinePointDetails (Contributed by projectgheist)
#jira UE-40567
Change 3258457 on 2017/01/16 by Jurre.deBaare
SpeedTree Billboards rendering with Incorrect Material
#fix Ensure that we add a section info entry for the billboard models/lods during SpeedTree importing
#jira UE-39677
Change 3258442 on 2017/01/16 by Alexis.Matte
Skeletalmesh import, make sure we increment the lod index when animation is not imported
#jira UE-40640
Change 3258431 on 2017/01/16 by Jurre.deBaare
Back out changelist 3258392
#fix issue was already resolved
#jira UE-1234
Change 3258392 on 2017/01/16 by Jurre.deBaare
Fix for non-unity CIS
#JIRA UE-1234
Change 3258358 on 2017/01/16 by Matthew.Griffin
Prevent warning from being shown when XMPP module is not built
#jira UE-40616
(I guess LoadModule could be changed to LoadModuleChecked now if they do exist)
Change 3258144 on 2017/01/15 by Marc.Audy
Fix non-unity CIS errors
#jira UE-00000
Change 3258141 on 2017/01/15 by zachary.wilson
Adding testing content for Distance Field Indirect Shadows
#jira UE-29618
Change 3258049 on 2017/01/14 by Nick.Shin
UFE sent incorrect header data on missing file
also, it seems that UFE was written to expect clients to close the connection -- (this should be closed manually -- which will flush the data and then close out the socket -- but, since this is a developer tool... leaving this as-is)
first, 404 was not sending the required double newline after headers
second, since connection are not closed manually (server side) send a dummy payload with content-length data
#jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"
Change 3257984 on 2017/01/14 by Aaron.McLeran
Attempting another fix for static analysis warning in CIS
#jira UE-40645
Change 3257904 on 2017/01/14 by Aaron.McLeran
Resolving static analysis warnings reported by CIS
#jira UE-40645
Change 3257883 on 2017/01/14 by Aaron.McLeran
Fixing build warning with CL 3257826
#jira UE-40645
Change 3257826 on 2017/01/13 by Aaron.McLeran
Integrating fixes from Dev-Framework and Odin to Release-415
#jira UE-40645
Change 3257654 on 2017/01/13 by Marc.Audy
Until plugins can drive their own dependencies vehicle and vehicle adv feature packs will not compile automatically and will pop up a message log informing the user of the actions they need to manually take.
#jira UE-40466
Change 3257608 on 2017/01/13 by John.Pollard
PC: Assertion Fail with UPackageMapClient::AddNetFieldExportGroup() viewing replays
#jira OR-34522
Change 3257489 on 2017/01/13 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve CIS warnings.
#jira UE-40628
Change 3257485 on 2017/01/13 by Chris.Babcock
Don't initialize FMinimalDummyForwardLightingResources for unneeded feature levels (below SM4)
#jira UE-40602
#ue4
#android
Change 3257444 on 2017/01/13 by Matt.Barnes
Updating test assets for UEQATC-2967
#jira UE-29618
Change 3257324 on 2017/01/13 by Arciel.Rekman
Linux: Update runtime CEF lib as well (UE-401413).
- Followup to CL 3256081.
#jira UE-40413
(Merging CL 3257241 from Dev-Platform to Release-4.15)
Change 3257140 on 2017/01/13 by Lina.Halper
Fix crash with deleting all poses
#jira: UE-40537
Change 3257066 on 2017/01/13 by Jurre.deBaare
CIS fix for game builds
#jira UE-1234
Change 3257056 on 2017/01/13 by Ben.Zeigler
#jira UE-40318 Fix crash in streamablemanager where callbacks would get called on a deleted manager.
This is being rewritten in 4.16, so do a quick fix for 4.15 to avoid the crash
Change 3256839 on 2017/01/13 by Jurre.deBaare
Added conversion of HLOD transition screen size to new transition screen area values
#fix During serialization patch up the values of transition screen size within the hierarchical lod setups
#misc Updated the default value to a screen size to screen area equivalent
#JIRA UE-40518
Change 3256761 on 2017/01/13 by Mieszko.Zielinski
Fixed EQS debug rendering not clearing previously displayed labels if new request has no labels #UE4
#jira UE-40589
Change 3256177 on 2017/01/12 by Josh.Adams
- Moved the MfMedia plugin outside of XboxOne directory, because it's a Windows plugin as well (that happens to also work on XboxOne - all public APIs)
#jira UE-40391
Change 3256131 on 2017/01/12 by Jamie.Dale
Fixing log spam when trying to load an empty font data
#jira UE-40555
Change 3256081 on 2017/01/12 by Arciel.Rekman
Fixed CEF compatibility problems on Ubuntu 14.04 (UE-40413).
- Also deleted Debug version of it.
- Change by yaakuro.
#jira UE-40413
(Edigrating CL 3256065 from Dev-Platform to Release-4.15)
Change 3256046 on 2017/01/12 by Jon.Nabozny
Use PxConvexFlag::eSHIFT_VERTICES when cooking meshes to fix baked in transforms.
#jira UE-39212
Change 3255939 on 2017/01/12 by mason.seay
Rebuilt lighting
#jira UE-29618
Change 3255912 on 2017/01/12 by Olaf.Piesche
Replicating fix from 3246828 for
#jira UE-39249
Change 3255909 on 2017/01/12 by Rolando.Caloca
UE4.15 - Support for choosing discrete AMD GPU
#jira UE-40546
Change 3255835 on 2017/01/12 by Martin.Wilson
Fix newly added virtual bones not being on screen.
#jira UE-40516
Change 3255774 on 2017/01/12 by Mark.Satterthwaite
Merging 3251926 for Richard.Wallis:
#jira UE-38828
Crash after Enabling Forward Shading on Mac and Creating/Editing Materials.
Using TGlobalResource to avoid constant resource allocation. Prev fix (in CL 3239454) caused a crash in D3D11 with zero sized resource views.
Change 3255771 on 2017/01/12 by Alexis.Matte
Fix a crash when re-importing asset with no material
#jira UE-40510
Change 3255746 on 2017/01/12 by Jon.Nabozny
Change _DEBUG to PX_DEBUG in ConvexHullLib.cpp
#jira UE-0000
Change 3255659 on 2017/01/12 by Jon.Nabozny
Enable Shifting Vertices during Convex Hull cooking to prevent precision issues.
(Copied CL-3249100 from Dev-Phyics-Upgrade to support new flag)
#jira UE-39212
Change 3255617 on 2017/01/12 by Ori.Cohen
Fix crash when computing mass for an async object. Using passed in rigid body instead of assuming SyncRigidActor
#JIRA UE-40458
Change 3255536 on 2017/01/12 by Jamie.Dale
Fixed crash when using an object picker against the 'Object' type
This also optimizes some filter code to avoid filtering when it would be pointless (and just slows things down).
#jira UE-40408
Change 3255451 on 2017/01/12 by Chris.Wood
Fixed read only text color in SCommentBubble
[UE-40384] - Reference Viewer comment text is difficult to read
Also changed DetermineForegroundColor() method in EditableTextBox classes to fallback on ForegroundColorOverride if it is set and ReadOnlyForegroundColorOverride isn't set.
#jira UE-40384
Change 3255448 on 2017/01/12 by Chris.Wood
Removed blinking cursor/caret on read only editable text layouts.
[UE-40502] - Flashing cursor/caret showing in read-only editable text layouts
#jira UE-40502
Change 3255445 on 2017/01/12 by Marc.Audy
Create the dynamic level streaming persistent object correctly outered to the World rather than the transient package to avoid GetWorld() crashing
#jira UE-00000
Change 3255441 on 2017/01/12 by Jon.Nabozny
Regenerate collision for the basic Cube mesh to fix resting issues and invalid verts.
#jira UE-40478
Change 3255407 on 2017/01/12 by Yannick.Lange
VREditor: - Fix: Assertion Failed crash after pressing F8 in PIE while Foliage Mode was selected
- Fix: Assertion Failed crash after pressing F8 in PIE while Paint Mode was selected
- Added extra checks for other possible future cases
#jira UE-39786 UE-39789
Change 3255393 on 2017/01/12 by Chris.Bunner
Duplicating CL 3255244: Removed test variable from MaterialExpressionVectorParameter.
#jira UE-40517
Change 3255375 on 2017/01/12 by Steve.Robb
CIS fix.
#jira UE-39556
Change 3255334 on 2017/01/12 by samuel.proctor
Corrected QA Container asset to remove pin warning.
#jira UE-29618
Change 3255319 on 2017/01/12 by james.cobbett
Fixing motion blur issue with test content for Pose Snapshots.
#jira UE-29618
Change 3255247 on 2017/01/12 by Nick.Darnell
Slate - Slate's Tab Manager is now a bit smarter about allowing Focus/BringToFront attention grabbing methods. In order to make the UI less jumpy it was restricted to only allowing alerts and bring to front to be triggered if you were on the window, or child window of the active application window.
That can negatively impact cases where a user takes an action (clicks a link ro button saying open/goto this tab), that is on another window. To work around this limitation, the Tab Manager will also permit the action if Slate is currently processing user input, implying that the action being taken is in direct response to the user pressing a button and interacting with the UI.
#jira UE-40313
Change 3255236 on 2017/01/12 by Phillip.Kavan
[UE-40131] Non-native child BPs can now properly override a nativized parent BP's components in a cooked build with exclusive Blueprint class nativiation.
- Mirrored from //UE4/Dev-Blueprints (CL# 3254024,3254391)
#jira UE-40131
Change 3255216 on 2017/01/12 by Rolando.Caloca
UE4.15 - Fix compile issue on Vulkan 1.0.37.0 or newer
#jira UE-40506
Change 3255206 on 2017/01/12 by Steve.Robb
Use outer walking IsA() implementation in editor to get around reinstancing and hot reload issues.
#fyi mike.beach
#jira UE-39556
Change 3255195 on 2017/01/12 by mason.seay
Adjusted slope to fix platform discrepancy
#jira UE-29618
Change 3255086 on 2017/01/12 by Jack.Porter
Fix XboxOneShaderCompiler.cpp non-unity compilation
#jira None
Change 3255085 on 2017/01/12 by Jack.Porter
Missing HTML5 changes from CL 3254907
#jira UE-39111
Change 3255031 on 2017/01/12 by Jack.Porter
More iOS GoogleVR changes missing from CL 3254907
#jira UE-39111
Change 3254991 on 2017/01/12 by Jack.Porter
Missing file from CL 3254907
#jira UE-39111
Change 3254907 on 2017/01/11 by Jack.Porter
Android MSAA changes - use r.MobileMSAA cvar, support more than 2x, fix issues where targets other than scene color were created with MSAA
#jira UE-39111
#jira UE-35849
#jira UEMOB-35
Change 3254810 on 2017/01/11 by Arciel.Rekman
Linux: fix for crash on exit (UE-40488).
#jira UE-40488
Change 3254617 on 2017/01/11 by Peter.Sauerbrei
remake the fix for missing PhysXVehicle library in binary for IOS and TVOS
#jira UE-39349
Change 3254489 on 2017/01/11 by mason.seay
Other minor improvements to the map
#jira UE-29618
Change 3254477 on 2017/01/11 by mason.seay
Map tweaks to prevent the vehicle from getting stuck
#jira UE-29618
Change 3254431 on 2017/01/11 by Mitchell.Wilson
Rebuilt lighting on all StarterContent levels.
#jira UE-40468
Change 3254333 on 2017/01/11 by mason.seay
Adjusted lightmap on mesh to remove odd rendering splotches
#jira UE-29618
Change 3254131 on 2017/01/11 by Rolando.Caloca
UE4.15 - Missing dumped shaders
#jira UE-40465
Change 3254126 on 2017/01/11 by Jeff.Fisher
UE-40422 Vive Motion Controllers unable to Play Haptic Effect
-Removed an unnecessary remapping of controllerindex to deviceid, they are the same now.
#jira UE-40422
#review-3254084
Change 3254046 on 2017/01/11 by Mark.Satterthwaite
Merging 3233811:
Fix compiling QA-Material tessellation shaders that don't need to emit from Hull or sample in Domain the HSOut buffer which was confusing MetalBackend.
#jira UE-39935
Change 3254021 on 2017/01/11 by james.cobbett
Test content for Pose Snapshot testing
#jira UE-29618
Change 3253993 on 2017/01/11 by Alexis.Matte
Fix the morph target import
#jira UE-40424
Change 3253948 on 2017/01/11 by mason.seay
Fixed Level BP logic that was causing Access None error
#jira UE-29618
Change 3253884 on 2017/01/11 by mason.seay
Updated mesh colors on map. Disabled motion blur
#jira UE-29618
Change 3253862 on 2017/01/11 by mason.seay
Disabled Always Show Mobile Input (turned on by accident)
#jira UE-29618
Change 3253859 on 2017/01/11 by Mark.Satterthwaite
Merging 3252866:
Fix Metal shader pipeline hash collisions caused by deferring MTLFunction construction until PrepareToDraw so that we may use Function-Constants to specialise the shader source without generating additional permutations. This is required to generate proper tessellation shaders which are specialised against the index-buffer usage & type (none, uint16, uint32). While we're here amend the hash functions to make better use of the existing hash functions to improve the distribution and hopefully reduce the possibility of collisions in future.
#jira UE-40357
Change 3253854 on 2017/01/11 by Mark.Satterthwaite
Merging 3252859:
Fix the calculation of Metal tessellation struct alignment and size to use largest member size, so that we don't assert in debug or cause out-of-bounds access in development/shipping.
#jira UE-40410
Change 3253853 on 2017/01/11 by Mark.Satterthwaite
Merging 3237394:
Add Metal-specific permutations of TBasePassHS - they affect the C++ definition on all platforms but are only cached or used on Metal - because the way we compile the combined VS+HS tessellation stage requires that the combined VS + HS HLSL code references the same resources, otherwise we get incorrect resouce bindings and subsequently fail to render properly. Long-term the Metal tessellation code will need to be refactored so that the vertex shader stage is emitted as a separate shader from the hull shader stage as this but will keep cropping back up and continue to complicate the engine.
#jira UE-39799
Change 3253852 on 2017/01/11 by Mark.Satterthwaite
Merging 3236850:
Make changing the Metal Shader Version project setting prompt the user to restart for the changes to take effect.
#jira UE-39801
Change 3253834 on 2017/01/11 by mason.seay
Updated mobile input textures to be power of two
#jira UE-29618
Change 3253807 on 2017/01/11 by Mark.Satterthwaite
Merging 3232641 & 3236788 & 3233854 & 3249742 from Dev-Rendering:
3232641:
- Eliminate redundant state changes in MetalRHI in the state cache.
- Add a new debug level for setting buffers to nil prior to calls to set*Bytes so that the tool doesn't display incorrect data.
- Make testing for validation & statistics features use the same EMetalFeatures API as everything else for consistency.
- Cache the fallback depth-stencil texture in the state cache and ignore it for determining whether a pass can restart - if we are using this texture its contents are worthless anyway.
3236788:
Fix 10.11.6 support (aka -nometalv2): the stencil view workaround necessitates a mid-render blit and the way things were setup resulted in the HasValidRenderTargets assert firing. Refactored the code to separate the concept or valid render-states in the cache from active render-states in the render-pass. Now it works as intended and will be needed for 4.15.
3233854:
More information about texture type validation errors in Metal.
3249742:
Fix missing GPU particles on Mac.
Pointers getting reused is causing the blendstate equality operator to fail.
Simple workaround until we have time for a proper fix.
#jira UE-40200
Change 3253636 on 2017/01/11 by Chris.Wood
Improved tracking of runtime and debugger attachment for analytics purposes.
[UE-39780] - Change IsDebugger to WasDebuggerPresent in all crash/AS analytics
[UE-39777] - Update MTBF IsDebugger state for every heartbeat
[UE-39778] - UnrealWatchdog to send WasDebuggerPresent state for app if set
[UE-39779] - UnrealWatchdog to send total run time of process
Debugger state was previously read once at startup or once at the time of an event. Debugger is now checked during the heartbeat and doesn't reset flag when detached so we know if a session was ever debugged. Also reporting total run time in UnrealWatchdog. Watchdog still doesn't run when debugging but and will never show popups to a debugger user even when forced on with -forcewatchdog.
#jira UE-39780, UE-39777, UE-39778, UE-39779
Change 3253281 on 2017/01/10 by Dan.Oconnor
Typo fix caused parameter in local struct definition to shadow the local
#jira UE-40027
Change 3253231 on 2017/01/10 by Dan.Oconnor
Mirror of 3253220
These pins should infer together
#jira UE-40427
Change 3253125 on 2017/01/10 by Uriel.Doyon
Brought back CL 3242117 and 3238685, which got lost on the way:
- Fix for possiblel check fail when changin mobility of actors.
- Fix for possible check fail when processing streaming data.
#jira UE-39996
Change 3252936 on 2017/01/10 by Marc.Audy
CopyPropertiesForUnrelatedObjects needs to consider path not just name of subobjects when matching them up to copy properties and update references
Ensure that a reinstanced child actor component ends up pointing at the correct child actor template
#jira UE-40027
Change 3252886 on 2017/01/10 by Lina.Halper
Fix for invalid AnimCurves when curve is added while running
#jira: UE-39826
Change 3252753 on 2017/01/10 by Frank.Fella
Sequencer - Change track rows to use separate track nodes in the display node tree, fixes key edit issues on animation and audio tracks.
#jira UE-39836
Change 3252640 on 2017/01/10 by Lukasz.Furman
fixed NavCollision losing user settings after any property change
copy of 3252628
#jira UE-40388
Change 3252614 on 2017/01/10 by Daniel.Wright
UStaticMeshComponent::InvalidateLightingCacheDetailed uses MarkRenderStateDirty. Massively speeds up duplication of HISMC with many instances (10+ minutes -> seconds), as InvalidateLightingCacheDetailed gets called for every instance.
#jira UE-40406
Change 3252609 on 2017/01/10 by mason.seay
Updated map with text actors for more visual clarity
#jira UE-29618
Change 3252477 on 2017/01/10 by Daniel.Wright
[Copy] Fixed race condition with FPrecomputedLightVolume::Data which was exposed when switching lighting scenarios
#jira UE-39852
Change 3252451 on 2017/01/10 by Daniel.Wright
Garbage collection calls UWorld>SendAllEndOfFrameUpdates() on all loaded worlds first so that deferred recreate render states happen before any UObjects are deleted
* Fixes rendering thread crashes in the order of events of 1) SetMaterial 2) GC 3) Rendering command that dereferences the UMaterial
#jira UE-30089
Change 3252418 on 2017/01/10 by Ben.Zeigler
#jira UE-40390 Fix crash saving blueprint with an inherited DataTable/CurveTable reference. Delta serialization meant that the necessary name wasn't in the name table, so adding it manually now.
Change 3252410 on 2017/01/10 by Max.Chen
Sequencer : Filter sections on select in range
Copy from Dev-Sequencer
#jira UE-37854
Change 3252385 on 2017/01/10 by Max.Chen
Sequencer: Update auto tangents when setting key time. This fixes a bug where dragging keys with auto tangents doesn't recompute tangents properly.
#jira UE-39923
Change 3252360 on 2017/01/10 by Allan.Bentham
Remove incorrect assert for iOS.
#jira UE-40385
Change 3252297 on 2017/01/10 by mason.seay
Test assets for suspending cloth simulation
#jira UE-29618
Change 3252125 on 2017/01/10 by Mieszko.Zielinski
Fallout fix after removal of BlackboardKeyUtils::CalculateComparisonResult declaration from the AIModule #UE4
#jira UE-40099
Change 3251987 on 2017/01/10 by Allan.Bentham
Fix HQ DoF
#jira UE-35548
Change 3251856 on 2017/01/10 by Jack.Porter
Fixed Get Instances Overlapping Box blueprint function due to issue with FBox constructor.
Added MakeBox and MakeBox2D kismet native functions
Fixed box overlap test ignoring instance scale
#jira UE-34409
Change 3251519 on 2017/01/09 by Daniel.Wright
[Copy] Fixed GLandscapeLayerUsageMaterial getting GC'ed
#jira UE-40055
Change 3251146 on 2017/01/09 by Lina.Halper
Fix on stable track data carrying over to pose asset
- decided to clean up track data in anim sequence since we don't really need that data anymore
#jira: UE-40351
#code review: Martin.Wilson
Change 3251056 on 2017/01/09 by Lina.Halper
fixed crash when pose node contains stale data when updating source.
#jira: UE-40258
#code review; Thomas.Sarkanen
Change 3251035 on 2017/01/09 by Mitchell.Wilson
Removed preview mesh in M_GodRay to resolve CIS warning.
Relinked textures used in two materials to resolve CIS warnings.
#jira UE-40350
Change 3250959 on 2017/01/09 by Mitchell.Wilson
Updating master sequence playback end time so the final audio track can be heard.
Updating multiple shots to resolve issues with audio not playing back properly.
#jira UE-40321 UE-40335
Change 3250896 on 2017/01/09 by Andrew.Rodham
Sequencer: Fixed level visibility not working in PIE
#jira UE-40082
Change 3250895 on 2017/01/09 by Andrew.Rodham
Sequencer: Fixed evaluation of overlapping audio and skeletal aninmation sections
- Audio and skeletal animation sections now continue to support legacy evaluation order. Overlapping sections of the same priority on the same row will be filtered out such that only the section with the latest start time will be evaluated.
#jira UE-40320
Change 3250830 on 2017/01/09 by Ben.Woodhouse
Duplicated from //ue4/Release-4.14
CL 3238182
Disable timestamp queries on pre-Maxwell nvidia hardware. Local testing suggests that this is the major cause of instability in the UE4.14 release.
It's possible that we could be more targeted by only excluding Fermi and older hardware, but identifying fermi hardware by device ID is difficult in practice, since the range overlaps with Kepler.
#jira UE-38818
Change 3250790 on 2017/01/09 by Lauren.Ridge
Fixing backspace on VR Editor numberpad menu.
#jira UE-39770
Change 3250681 on 2017/01/09 by Ben.Woodhouse
Duplicated from dev-rendering@3249296:
XB1/Fast semantics:
Add missing L1/L2 cache flush on transition to readable (or RW). The missing cache flush was causing indeterminism when reading from a texture shortly after writing to it as a render target.
This fixes bloom and diffuse irradiance issues
The bug has been there for a while, but CL 3227787 (drawclear early out) caused it to manifest
#jira UE-39727
#jira UE-40238
Change 3250680 on 2017/01/09 by Ben.Woodhouse
Duplicated from dev-rendering@3238664
Fix dbuffer decal rendering issues in fullscreen on PC. Also fixes crash in editor when viewing dbuffer materials.
Pass clearcolor in RT params for system textures to workaround a bug with ClearColorTexture not working in fullscreen mode on DX11. Make sure dbuffer targets are bound if we're rendering mesh decals
#jira UT-6891
#jira UE-39842
#jira UE-39949
Change 3250609 on 2017/01/09 by Steve.Robb
Maximum number of stats-using threads increased to 512.
#jira UE-38153
Change 3250604 on 2017/01/09 by Andrew.Rodham
Sequencer: Fixed incorrect seed being used when generating new animation type IDs for object properties
#jira UE-40327
Change 3250589 on 2017/01/09 by Matthew.Griffin
Changed publish symbols node to use runtime dependencies instead of manually including the whole PhysX folder
Avoids unused configs and VS2013 files
#jira UE-39171
Change 3250578 on 2017/01/09 by Matthew.Griffin
Removed art tools from released build now that they are available separately on the Marketplace
Change 3250282 on 2017/01/07 by Mieszko.Zielinski
Fixed UNavigationSystem::bNavigationAutoUpdateEnabled getting ignored by recent addition to related condition in UNavigationSystem #UE4
Reported by UT team.
Replication of a fix from Dev-Framework that didn't make it to 4.15 stream
#jira UE-40324
Change 3250276 on 2017/01/07 by Mieszko.Zielinski
Fixed not being able to add elements to UAIPerceptionStimuliSourceComponent.RegisterAsSourceForSenses for instances manually placed on the map #UE4
#jira UE-31711
Change 3250219 on 2017/01/07 by Mieszko.Zielinski
Extended comment to AISenseConfig_Sight::PeripheralVisionAngleDegrees to make it clear how it works #UE4
#jira UE-31731
Change 3250147 on 2017/01/07 by Andrew.Rodham
Added missing includes
#jira UE-40019
Change 3250096 on 2017/01/06 by Nick.Shin
refetch on timed out GET/POST requests
correction to: UE_MakeHTTPDataRequest
#jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"
Change 3249963 on 2017/01/06 by Mieszko.Zielinski
removed unused and undefined BlackboardKeyUtils::CalculateComparisonResult #UE4
#jira UE-40099
Change 3249829 on 2017/01/06 by Alexis.Matte
turn on the material name clash feature for the content browser importer.
#jira UE-40298
Change 3249791 on 2017/01/06 by andrew.porter
QAGame: Added level blueprint logic to QA-Sequencer that lets tester override sequence bindings
#jira UE-29618
Change 3249755 on 2017/01/06 by Jamie.Dale
Some fixes for object reference detection and notification when deleting assets
#jira UE-40121
Change 3249727 on 2017/01/06 by James.Golding
#jira UE-40242
Change 3249707 on 2017/01/06 by Mitchell.Wilson
Removing preview mesh with incorrect path from materials to resolve warnings in CIS.
#jira UE-40311
Change 3249543 on 2017/01/06 by Michael.Dupuis
#jira UE-40299: validate if UISettings is valid
Change 3249506 on 2017/01/06 by Alexis.Matte
Make sure we use the correct LodIndex when importing a new LOD in case a previous LOD import fail.
#jira UE-40240
Change 3249477 on 2017/01/06 by Ori.Cohen
Fix incorrect warning when moving kinematic objects during simulation.
#JIRA UE-40290
Change 3249472 on 2017/01/06 by Andrew.Rodham
Sequencer: Undo now works as expected when editing the properties of a key
#jira UE-40019
Change 3249390 on 2017/01/06 by Mitchell.Wilson
Removing preview meshes with improper path from materials to resolve CIS warnings in landscape mountains sample.
#jira UE-40300
Change 3249317 on 2017/01/06 by Alexis.Matte
Fix a crash when loading skeletalmesh with no section
#jira UE-40249
Change 3249294 on 2017/01/06 by Mitchell.Wilson
Updated defaultengine.ini for Match 3 to resolve warnings in CIS. ServerDefaultMap and TransitionMap had invalid paths.
#jira UE-40295
Change 3249213 on 2017/01/06 by Chris.Bunner
Fixed up logic for windowed/fullscreen output display selection when working with HDR. Now selects the most appropriate display if HDR enabled, else current monitor window is on. FullscreenDisplay commandline functions regardless of HDR support.
#jira OR-33525, OR-33536, OR-33540, OR-33520
Change 3249135 on 2017/01/06 by Martin.Wilson
Fix root motion issues on additive animations.
- Fix scale issue on resetting root bone
- Fix loss of root motion when animation is additive.
#jira UE-40232
Change 3248522 on 2017/01/05 by Alexis.Matte
Fix a crash when reimporting morph target. Also fix a crash when initiating ColorVertexBuffer with NULL value
#jira UE-40201
Change 3248271 on 2017/01/05 by Andrew.Rodham
Sequencer: Only reset persistent evaluation data when the sequence has changed
- This ensures that we don't destroy persistent data that is assumed to still exist (i.e. it was created in ::Setup) from the same sequence
#jira UE-40234
Change 3248092 on 2017/01/05 by Ben.Marsh
UBT: Remove the [Obsolete] attribute from methods in TargetRules; the [ObsoleteOverride] attribute gives a much better (and more concise) warning with specific instructions on how to resolve it.
Change 3248091 on 2017/01/05 by Marcus.Wassmer
Tick renderthreadtickables in -onethread to avoid leaks.
#jira UE-40248
Change 3248063 on 2017/01/05 by Marc.Audy
Route FAudioDevice::StopAllSounds to the audio thread if called on the game thread
#jira UE-40243
Change 3247995 on 2017/01/05 by Maciej.Mroz
NativizationSummary object is always present.
manually merged cl#3247985 from Dev-Blueprints
#jira UE-40035
Change 3247873 on 2017/01/05 by Chad.Garyet
Adding "Generate QA Labels" buildgraph node and automation script.
Port of createNewLabel and createMinimumLabel python scripts into UAT
#jira UEB-725
Change 3247855 on 2017/01/05 by Nick.Shin
refetch on timed out GET/POST requests
#jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"
Change 3247737 on 2017/01/05 by Marc.Audy
static mesh component instance data now correclty inherits from pritive component instance data instead of skipping it and inheriting directly from scene component instance data
#jira UE-40053
Change 3247723 on 2017/01/05 by mason.seay
Asset for suspend cloth bug
#jira UE-29618
Change 3247708 on 2017/01/05 by Mitchell.Wilson
Updating project settings to disable dbuffer decals to resolve rendering issues in Showdown while using -game -vr
#jira UE-40195
Change 3247652 on 2017/01/05 by Martin.Wilson
Fixes for animation notifies window
-Fix notify not being removed from skeleton
-Fix crash where editor is not refreshed after notify removal
#jira UE-40154
Change 3247638 on 2017/01/05 by mason.seay
Test assets for cloth suspension
#jira UE-29618
Change 3247630 on 2017/01/05 by Alexis.Matte
Prevent crash when the import fail and we have no staticmesh created
#jira UE-40024
Change 3247556 on 2017/01/05 by Ben.Marsh
Fix non-unity compile error.
Change 3247547 on 2017/01/05 by Jurre.deBaare
Crash while using the Delete Button in the HLOD Outliner while a Generated Proxy Mesh is opened in the Static Mesh Editor
#fix Unify path for both delete cluster options in the outliner UI
#jira UE-40066
Change 3247539 on 2017/01/05 by Benn.Gallagher
Fixed serialization crash for simplified skeletal meshes leading to corrupted assets that crash on load after skin weight buffer changes.
#jira UE-40199
Change 3247515 on 2017/01/05 by Allan.Bentham
Fix inverted planar reflections when mobileLDR
Fixed incorrect gamma 2 planar reflection rendering when mobileLDR
#jira UE-32868
Change 3247502 on 2017/01/05 by Dmitriy.Dyomin
Fixed: Single digit frame rate when sculpting landscape foliage.
#jira UE-39532
Change 3247232 on 2017/01/04 by Ben.Marsh
Remove private include from public header. Prevents compiling samples from installed build of the engine without private headers.
#jira UE-40135, UE-40137, UE-40139, UE-40140, UE-40141, UE-40142, UE-40143, UE-40144
Change 3247002 on 2017/01/04 by Chris.Babcock
Changed Vulkan hitchy pipeline log message verbosity
#jira UE-38354
#ue4
#android
#dontbackcopy
Change 3246927 on 2017/01/04 by matt.barnes
Updating QAGame content to facilitate UEQATC-2969
#jira UE-29618
Change 3246894 on 2017/01/04 by Mike.Beach
Mirroring CL 3245322 from Dev-BP
Fixed a crash when implementing a native interface in a BP
#jira UE-40155, UE-40203
Change 3246830 on 2017/01/04 by Chris.Bunner
Allow AllocGBuffer call when in simple-forward so dummy uniform buffer creation can occur.
#jira UE-39756
Change 3246816 on 2017/01/04 by Jon.Nabozny
Fix Anim Notifies Tab not opening in Animation Editor.
#JIRA UE-40134
Change 3246804 on 2017/01/04 by Ori.Cohen
Touch engine file to trigger re-link.
#JIRA UE-40156
Change 3246709 on 2017/01/04 by mason.seay
Updated map
#jira UE-29618
Change 3246606 on 2017/01/04 by Ori.Cohen
Fix for sweeps taking too long time (OR-32839).
- Exhaustive investigation uncovered apparent numerical problems in this code (when compiling with clang 3.9.x with -ffast-math).
- Current solution can result in overshoot for certain trace extents, but they are not expected to be a practical problem in Unreal.
- NVidia is aware and will investigate a better solution.
#tests Compiled Linux server with the changed PhysX and continuously ran bot matches for about a day.
#JIRA UE-40156
Change 3246571 on 2017/01/04 by Marc.Audy
Look at the body instance's desired collision enabled value rather than the primitive component's current collision enabled value when determining whether physics state should be created
#jira UE-39994
Change 3246527 on 2017/01/04 by tim.gautier
QAGame: BP_MediaPlayer now displays the name of the MediaPlayer plugin currently in use during playback
#jira UE-29618
Change 3246480 on 2017/01/04 by mason.seay
Map update
#jira UE-29618
Change 3246470 on 2017/01/04 by Ori.Cohen
Guard against infinitely thin geometry which fixes some nans. This showed up as issues in various projects
#JIRA UE-00000
Change 3246413 on 2017/01/04 by Jon.Nabozny
Cube asset did not have Tri Meshes. Reimported to fix the issue.
-- Copied from 3233164 --
#jira UE-39657
Change 3246388 on 2017/01/04 by Jon.Nabozny
Set 'p.MoveIgnoreFirstBlockingOverlap' to be enabled by default (3158732). This causes collision behavior to remain unchanged unless people opt in to the new behavior.
-- Copied from 3239735 (bot health fixed by a different CL) --
#jira UE-39387
Change 3246352 on 2017/01/04 by Jon.Nabozny
Fix FPredictProjectilePathParams to use a valid default value for TraceChannel.
This requires the use of a new bool bTraceWithChannel which is enabled by default.
-- Copied from 3239765 --
#JIRA UE-39726
Change 3246341 on 2017/01/04 by Ori.Cohen
Allow vehicles to inherit from PawnMovementComponent and only use the pawn/ai capabilities when a Pawn owner is used.
#JIRA UE-39508
Change 3246178 on 2017/01/04 by Andrew.Rodham
Sequencer: When playback stops naturally, the play position is set to the boundary that caused playback to stop (the end if playing forwards, the start if playing backwards)
- This is to reconcile the movie scene sequence player with previous behaviour
#jira UE-40076
Change 3246102 on 2017/01/04 by Benn.Gallagher
Fixed single threaded physics dispatcher triggering checks from clothing when running with a CPU with two or fewer cores.
#jira UE-39811
Change 3246100 on 2017/01/04 by Benn.Gallagher
Fixed ensure triggered when using root motion with sub instances
Fixed crash reinstancing an active anim class that had subinstances
#jira UE-39582
#jira UE-39579
Change 3246092 on 2017/01/04 by Marc.Audy
PR #3082: Improve comment for UInputComponent (Contributed by Soleone)
#jira UE-40098
Change 3246084 on 2017/01/04 by Matthew.Griffin
Remove bad files
Change 3246076 on 2017/01/04 by Matt.Kuhlenschmidt
Fixed all non-editable text properties having a double disabled effect. The text box is read only which prevents edting but still allows copying text from it. This feature had regressed and the disabled effect on top of the read only effect made it too difficult to see the text.
#jira UE-39652
Change 3246043 on 2017/01/04 by Steve.Robb
Use of CastChecked instead of Cast in implementations of IStructSerializerBackend::WriteProperty. This is both more efficient and will hopefully make it easier to diagnose the issue.
#jira UE-39872
Change 3246032 on 2017/01/04 by Martin.Wilson
Change FindBoneIndex to FindRawBoneIndex (final bone maps are not built until after all adding is done so they will not be found)
#jira UE-40105
Change 3246016 on 2017/01/04 by Andrew.Rodham
Editor: Insert/Duplicate/Delete menu on array properties now only closes itself on click, rather than all menus
- This allows us to edit such properties on context menus
#jira UE-39998
Change 3246005 on 2017/01/04 by Thomas.Sarkanen
Fixed asset attachment issues in Skeleton Tree
Assets were being attached uniquely, so only one asset could be attached to a bone/socket. However the calling code didnt know that the unique attachment function just gave up, so the item just got added to the bottom of the tree.
The attachment filter was not set correctly to allow for bone attatchments, so only sockets could be attached to.
The attach parent name was not initialized, so assets could not be deleted one at a time.
#jira UE-40040 - With multiple Preview assets on one bone, only one appears in Skeleton Tree
#jira UE-40041 - Preview assets appear at the bottom of the skeleton tree
Change 3246002 on 2017/01/04 by Andrew.Rodham
Sequencer: Fixed actor tick prerequisites not getting set up correctly for master sequences
#jira UE-39975
Change 3245979 on 2017/01/04 by Andrew.Rodham
Sequencer: Fixed scrubbing audio tracks not working propertly
#jira UE-40048
Change 3245978 on 2017/01/04 by Andrew.Rodham
Sequencer: Fixed dropping a level onto a level visibility section not marking the track as changed, and not correctly creating a transaction
#jira UE-39998
Change 3245977 on 2017/01/04 by Andrew.Rodham
Sequencer: Fixed crash caused by lingering persistent evaluation data
#jira UE-40064
Change 3245971 on 2017/01/04 by Dmitriy.Dyomin
Fixed: Using Set World Origin Location will cause the player pawn to stutter
#jira UE-40022
Change 3245725 on 2017/01/03 by Matt.Barnes
Further improvments on test assets for UEQATC-2963
#jira UE-29618
Change 3245658 on 2017/01/03 by Arciel.Rekman
Linux: fix ARM32 build (UE-39913).
#jira UE-39913
(Redoing CL 3240982 from Dev-Platform in Release-4.15)
Change 3245577 on 2017/01/03 by Mason.Seay
More vehicle updates
#jira UE-29618
Change 3245556 on 2017/01/03 by Matt.Barnes
Updating test content for UEQATC-2963
#jira UEQATC-2963
Change 3245461 on 2017/01/03 by mason.seay
Updating Inertia Tensor Scale to improve Vehicle Handling
#jira UE-40013
Change 3245442 on 2017/01/03 by Jeff.Fisher
UEVR-495 Assert when switching to 2d mode. sceHmdReprojectionStart failing.
-There was a race condition between switching output modes on the render thread and sceHmdReprojectionStart on the RHI thread. The flush fixes that. The reprojection would simply have failed that frame previously in shipping which would not matter much as we are switching output modes anyway.
#jira UEVR-495
#review-3245374
Change 3245427 on 2017/01/03 by Jeff.Fisher
UEVR-456 check if we are using camera before doing camera disconnected dialog on PSVR
-If the tracker is active, but we are tracking nothing (ie we have the morpheus hmd tracking plugin, and started up with it, but switched to 2d mode) don't pop up the camera setup warning until we start trying to track something again.
-This is useful for apps that have 2d and vr modes.
#jira UEVR-456
#review-3245372
Change 3245329 on 2017/01/03 by mason.seay
Level and vehicle tweaks
#jira UE-29618
Change 3245275 on 2017/01/03 by Chris.Babcock
Added EngineVersion to AndroidManfiest.xml metadata
#jira UE-40123
#ue4
#android
Change 3245235 on 2017/01/03 by Guillaume.Abadie
Cherry picks CL 3234813 from Dev-Rendering: Fixes texture mask static lighting when using GBuffer selective outputs.
#jira UE-39527
Change 3245183 on 2017/01/03 by Chris.Babcock
Added missing #undef LOCTEXT_NAMESPACE to some files (contributed by projectgheist)
#jira UE-40103
#PR #3085
#ue4
#android
Change 3245120 on 2017/01/03 by mason.seay
Missed some assets
#jira UE-29618
Change 3245116 on 2017/01/03 by mason.seay
Mass fucntional test
#jira UE-29618
Change 3245049 on 2017/01/03 by Ben.Marsh
PR #3086: Fixed ScriptGeneratorPlugin #includes (Contributed by projectgheist)
Change 3244924 on 2017/01/03 by Ben.Zeigler
#jira UE-40057 Fix regression in public access for SwapPlayerControllers, from GitHub #3072
Change 3244831 on 2017/01/03 by Mitchell.Wilson
Fixed hole in collision around level.
#jira UE-39576
Change 3244817 on 2017/01/03 by Matthew.Griffin
Change check for files being under engine directory to avoid problems with relative paths
#jira UE-40096
Change 3244801 on 2017/01/03 by Andrew.Rodham
Editor: Fixed color picker not working when opened from a details panel on a context menu
- When a color picker is opened from a details panel that's on a context menu, it now opens as a sub menu
- Added the ability to find an open menu from a widget path to FSlateApplication
#jira UE-39932
Change 3244776 on 2017/01/03 by Matt.Kuhlenschmidt
Fix window handle and device context being accessed by scene viewports after the underlying window has been destroyed by the OS. This is an invalid state on linux and using some vr devices.
#jira UE-7388
Change 3244672 on 2017/01/03 by Ben.Marsh
Search all directories containing universal CRT installations from the registry, rather than assuming that the first one found will contain the universal CRT version we want to use. Attempt to fix issues described in PR #3059.
Change 3244668 on 2017/01/03 by Thomas.Sarkanen
Added "Reimport Animation" and "Export to FBX" to the animation editor toolbar
Options were in the asset menu before.
#jira UE-39643 - Missing "Reimport" option for animation assets
Change 3244667 on 2017/01/03 by Thomas.Sarkanen
Reduced default URO distances in-line with new LOD calculations
New values should give (roughly) the same effect as the older values with the older system.
#jira UE-39939 - URO LOD distance factors different with the new screen size metric
Change 3244654 on 2017/01/03 by Matthew.Griffin
Added functionality to specify Loading Phase for plugin templates
Changed Blueprint Library Template so that it loads pre loading screen and can be linked correctly in blueprints that use it
#jira UE-38826
Change 3244631 on 2017/01/03 by Dmitriy.Dyomin
Fixed: TM_Landscape_LOD Folder does not Live Update contents after generating LODs with Create Per Package Asset
#jira UE-37368
Change 3244548 on 2017/01/02 by Jack.Porter
Fix for Post-process Materials rendering incorrectly in editor mobile preview after viewport is resized
#jira UE-39905
Change 3244389 on 2016/12/30 by Phillip.Kavan
[UE-39816] Fix broken pin links caused by renaming interface function input/output parameters prior to compiling the interface, but after renaming the function itself.
Mirrored from //UE4/Dev-Blueprints (CL# 3244388).
#jira UE-39816
Change 3244248 on 2016/12/29 by laz.matech
Saved the new sublevel in the persistent level and set it to hidden by default
#jira UE-29618
Change 3244213 on 2016/12/29 by laz.matech
Added a sublevel to QA-Sequencer map
#jira UE-29618
Change 3243857 on 2016/12/27 by samuel.proctor
Altered Container asset to have proper console input
#jira UE-29618
Change 3243852 on 2016/12/27 by Mason.Seay
Forgot config file
#jira UE-29618
Change 3243847 on 2016/12/27 by mason.seay
Improved mobile input
#jira UE-29618
Change 3243536 on 2016/12/24 by Phillip.Kavan
[UE-39944] Extend the GetClassDefaults node to include output pin exceptions for TSet/TMap properties (i.e. mirror safeguards already in place for TArray).
Mirrored from //UE4/Dev-Blueprints (CL# 3243210).
#jira UE-39944
Change 3243535 on 2016/12/24 by Phillip.Kavan
[UE-39816] Renaming interface input/output parameters will no longer cause broken pin links at interface function call sites in Blueprints that are currently loaded.
Mirrored from //UE4/Dev-Blueprints (CL# 3243207).
#jira UE-39816
Change 3243534 on 2016/12/24 by Phillip.Kavan
[UE-39733] Fix incorrect graph pin value display names for user-defined enum types.
Mirrored from //UE4/Dev-Blueprints (CL# 3239965).
#jira UE-39733
Change 3243532 on 2016/12/24 by Phillip.Kavan
[UE-39854] Fix nativized assets build error when there are no native code dependencies.
Mirrored from //UE4/Dev-Blueprints (CL# 3239778).
#jira UE-39854
Change 3243529 on 2016/12/24 by Phillip.Kavan
[UE-38999] Dump component tree node hierarchy to the output log on error state during widget generation.
Mirrored from //UE4/Dev-Blueprints (CL# 3239289).
#jira UE-38999
Change 3243442 on 2016/12/23 by mason.seay
QAGame cleanup - Replacing copy pose from mesh test assets
#jira UE-29618
Change 3243215 on 2016/12/22 by Dmitriy.Dyomin
Fixed: Switching to ES2 feature level preview renders black in editor
#jira UE-40009
Change 3243185 on 2016/12/22 by Ryan.Vance
#jira UEVR-478
Integrating 3235308 Mono changes from DevVR.
Change 3243183 on 2016/12/22 by Ryan.Vance
#jira UEVR-455
Integrating 3243173 post present call back implementation from 4.14.1
Change 3243182 on 2016/12/22 by Ryan.Vance
#jira UE-39269
Working around a nullptr deref in the Oculus runtime.
Change 3243153 on 2016/12/22 by mason.seay
WIP map update
#jira UE-29618
Change 3243128 on 2016/12/22 by andrew.porter
QAGame: Adding Actor Sequence test content for a crash.
#jira UE-29618
Change 3243117 on 2016/12/22 by Jeff.Fisher
UE-34004 GitHub 2659 : Implement support for OpenVR controller roles.
-Rather than assigning unreal hands to controllers in the order the controllers are connected assign unreal hands to match the ones the API is using.
-We now defer setting up controllers that are disconnected. This lets connected controllers, that may have hand preference from steam, occupy their desired hands first. If a controller is connected later and does not have a role it is assigned to an unoccupied hand or to the right hand.
-This can still end up ignoring role in the following circumstance (and I can get it to do this): get one controller to prefer'right' and the other to have no preference. Power off the 'right' prefering controller. Start the game with only the no-preference controller on. The game will put that controller in the right slot, because the api gives it no other hints. Then power on the controller that preferred 'right'. That controller will now be assigned left, because right is occupied. I don't see a way around that without the ability to switch which hand a controller is associated with at runtime.
-This does not yet handle starting with 2 controllers, disconnecting one, then connecting a third controller well. That did not work before either. A new Jira was created for that.
#2659
#jira UE-34004
#review-3231154
Change 3243093 on 2016/12/22 by mason.seay
Some tweaks to vehicle levels
#jira UE-29618
Change 3243084 on 2016/12/22 by andrew.porter
QAGame: Cleaned up Sequencer_OverrideBindings
#jira UE-29618
Change 3243009 on 2016/12/22 by andrew.porter
QAGame: Renaming actor in Sequencer_OverrideBindings.
#jira UE-29618
Change 3243003 on 2016/12/22 by andrew.porter
QAGame: Removing override bindings from level sequence
#jira UE-29618
Change 3242996 on 2016/12/22 by andrew.porter
QAGame: Slight tweak to QA-Sequencer.
#jira UE-29618
Change 3242982 on 2016/12/22 by Marc.Audy
Properly reenable stats sounds in both game and level editor
#jira UE-40015
Change 3242959 on 2016/12/22 by mason.seay
Test map for vehicles and moving meshes
#jira UE-29618
Change 3242934 on 2016/12/22 by andrew.porter
QAGame: Adding test content to QA-Sequencer for Override Bindings
#jira UE-29618
Change 3242870 on 2016/12/22 by Mason.Seay
QAGame footprint reduction: Clearing out content (were in for old bug reports)
#jira UE-29618
Change 3242799 on 2016/12/22 by tim.gautier
QAGame - Adding the following assets for Sequencer Event Track testing:
-TM-Sequencer_EventTrack + BuildData
-QA_LightStruct
-Sequencer_EventTrack
#jira UE-29618
Change 3242792 on 2016/12/22 by samuel.proctor
Correcting Container test asset for proper output
#jira UE-29618
Change 3242727 on 2016/12/22 by Dmitriy.Dyomin
Fixed: LoadLevelIntstance returns a reference that can't be used to send an interface message
#jira UE-40005
Change 3242666 on 2016/12/22 by Dmitriy.Dyomin
Fixed: Packaging Android app for Mali Graphics Debugger v4.3.0 fails
#jira UE-39534
Change 3242373 on 2016/12/21 by Ori.Cohen
Allow vehicles to override inertia tensor after any mass properties have changed.
#JIRA UE-39566
Change 3242323 on 2016/12/21 by Josh.Adams
- Somehow my last change just got completely lost in the edigrate shuffle. Or something. I have no idea! Rdoing it
#jira UE-39966
Change 3242286 on 2016/12/21 by mason.seay
Vehicle Assets and Maps
#jira UE-29618
Change 3242284 on 2016/12/21 by Marc.Audy
Fix "stat sounds" not working after PIE completes and a new one is begun
#jira UE-32743
#jira UE-39511
Change 3242281 on 2016/12/21 by Ori.Cohen
Fix multi select being very slow in phat
#JIRA UE-39559
Change 3242229 on 2016/12/21 by Ben.Marsh
Fixup workspace for building PhysX.
Change 3242227 on 2016/12/21 by Marc.Audy
Properly update listener position for stat sounds
#jira UE-38850
Change 3242218 on 2016/12/21 by Ori.Cohen
Fix physx html5 compilation APEX issue.
#JIRA UE-39566
Change 3242174 on 2016/12/21 by Ori.Cohen
Fix incorrect moment of inertia for convex elements with translation.
#JIRA UE-39566
Change 3242145 on 2016/12/21 by Ori.Cohen
Port 4.14 hotfix for vehicle stability
#JIRA UE-38710
Change 3242139 on 2016/12/21 by Ori.Cohen
Port 4.14 hotfix:
Fix crash when setting collision trace in construction script.
#JIRA UE-39341
Change 3242088 on 2016/12/21 by Alexis.Matte
Fix the drag and drop material on level instance to drop on the correct material slot
Fix the serialization of the staticmesh property FMeshSectionInfoMap
#jira UE-39952
Change 3242081 on 2016/12/21 by Andrew.Rodham
Sequencer: Make details view focused when resetting inner struct contents to ensure that focus path is valid.
#jira UE-39851
Change 3242079 on 2016/12/21 by Andrew.Rodham
Sequencer: Evaluation templates are now only fully rebuilt in PIE, and will not re-cycle track identifiers
- This addresses issues with newly compiled tracks recycling the persistent data of old stale tracks.
- This commit also ensures we don't fully rebuild templates in the editor when in Sequencer
#jira UE-39882
Change 3242078 on 2016/12/21 by Andrew.Rodham
Sequencer: Fixed crash when deactivating a section in sequencer
#jira UE-39880
Change 3242026 on 2016/12/21 by Josh.Adams
- Fixed compile errors in tools after NVNRHI move
#jira UE-39966
Change 3241994 on 2016/12/21 by andrew.porter
QAGame: Disabled auto play on Sequencer_AnimNotify.
#jira UE-29618
Change 3241989 on 2016/12/21 by Mitchell.Wilson
Resolving CIS warnings in Content examples.
Fixed up redirectors. Moved a texture from developer folder into project and relinked in POM_Debug material. Fixed up BP Commentary Box which was failing to compile. Updated spawn rate on Pulse Ring so it works as intended.
#jira UE-39984
Change 3241986 on 2016/12/21 by mason.seay
Vehicle Landscape Test map (mainly for crash investigation)
#jira UE-29618
Change 3241914 on 2016/12/21 by Josh.Adams
- Removed invalid and confusing .ini settings
#jira UE-39982
Change 3241902 on 2016/12/21 by Josh.Adams
- Moved NVNRHI stuff out of RHI.Build.cs
#jira UE-39966
Change 3241889 on 2016/12/21 by andrew.porter
QAGame: Added new level sequence to QA-Sequencer level
#jira UE-29618
Change 3241884 on 2016/12/21 by Alexis.Matte
Make sure the color grading cursor follow the mouse by using the exponent value when painting the cursor.
#jira UE-39834
Change 3241869 on 2016/12/21 by andrew.porter
QAGame: Adding test content for Sequencer Animation Notifies
#jira UE-29618
Change 3241809 on 2016/12/21 by Chris.Wood
Fix non-unity build errors in UnrealWatchdog.
[UE-39940] - GitHub 3054 : Added EngineBuildSettings.h to UnrealWatchdog.cpp
PR #3054: Added EngineBuildSettings.h to UnrealWatchdog.cpp (Contributed by ryanjon2040)
#jira UE-39940
Change 3241806 on 2016/12/21 by Marc.Audy
Don't unload and then reload streaming levels that are marked to be hidden.
#jira UE-39883
Change 3241802 on 2016/12/21 by Marc.Audy
Add new object flag RF_NeedInitialization to indicate that ~FObjectInitalizer and PostInitProperties have not been executed for the object
Do not allow Modify calls on Objects that have not been initialized
#jira UE-39731
Change 3241790 on 2016/12/21 by Marc.Audy
Don't rerun construction scripts when an actor has seamless traveled from another level
#jira UE-39699
Change 3241789 on 2016/12/21 by Marc.Audy
Check Owner has a valid world before trying to access Scene (4.14.2)
#jira UE-39560
Change 3241786 on 2016/12/21 by Marc.Audy
Fixed crash when seamless travelling in PIE from levels other than the current editor level with a streaming sublevel shared with the current editor level
#jira UE-39407
Change 3241781 on 2016/12/21 by Mitchell.Wilson
Fixed up redirectors for SkeletalMesh and Personal Walkthroughs.
#jira UE-30953
Change 3241747 on 2016/12/21 by mason.seay
Tag Query test map and assets
#jira UE-29618
Change 3240938 on 2016/12/20 by Ben.Marsh
Remaking QFE fixes from 4.14 branch.
Change 3240740 on 2016/12/20 by Ben.Marsh
Update branch name for analytics.
[CL 3272229 by Matthew Griffin in Main branch]
2017-01-25 16:23:41 -05:00
|
|
|
TCHAR Buffer[1024];
|
|
|
|
|
TCHAR ServerBanner[] = TEXT("<HTML>Not Found</HTML>");
|
|
|
|
|
int x = FCString::Sprintf(
|
|
|
|
|
Buffer,
|
|
|
|
|
TEXT("HTTP/1.0 404 Not Found\x0d\x0a")
|
|
|
|
|
TEXT("Server: Unreal File Server\x0d\x0a")
|
|
|
|
|
TEXT("Connection: close\x0d\x0a")
|
|
|
|
|
TEXT("Content-Type: text/html; charset=utf-8\x0d\x0a")
|
|
|
|
|
TEXT("Content-Length: %u\x0d\x0a\x0d\x0a%s"),
|
|
|
|
|
FCString::Strlen(ServerBanner),
|
|
|
|
|
ServerBanner
|
|
|
|
|
);
|
|
|
|
|
lws_write(Wsi,(unsigned char*)TCHAR_TO_ANSI(Buffer),FCStringAnsi::Strlen(TCHAR_TO_ANSI(Buffer)), LWS_WRITE_HTTP);
|
2016-04-07 12:59:50 -04:00
|
|
|
// chug along, client will close the connection.
|
|
|
|
|
break;
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// file up the header.
|
2014-07-21 04:38:16 -04:00
|
|
|
TCHAR Header[1024];
|
2016-04-07 12:59:50 -04:00
|
|
|
int Length = 0;
|
2015-06-19 15:53:12 -04:00
|
|
|
if (FilePath.Contains("gz"))
|
|
|
|
|
{
|
|
|
|
|
Length = FCString::Sprintf(Header,
|
|
|
|
|
TEXT("HTTP/1.1 200 OK\x0d\x0a")
|
|
|
|
|
TEXT("Server: Unreal File Server\x0d\x0a")
|
2019-03-15 11:40:11 -04:00
|
|
|
TEXT("Access-Control-Allow-Origin: *\x0d\x0a")
|
2015-06-19 15:53:12 -04:00
|
|
|
TEXT("Connection: close\x0d\x0a")
|
|
|
|
|
TEXT("Content-Type: %s \x0d\x0a")
|
|
|
|
|
TEXT("Content-Encoding: gzip\x0d\x0a")
|
|
|
|
|
TEXT("Content-Length: %u\x0d\x0a\x0d\x0a"),
|
|
|
|
|
Mime, FileData.Num());
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Length = FCString::Sprintf(Header,
|
|
|
|
|
TEXT("HTTP/1.1 200 OK\x0d\x0a")
|
|
|
|
|
TEXT("Server: Unreal File Server\x0d\x0a")
|
2019-03-15 11:40:11 -04:00
|
|
|
TEXT("Access-Control-Allow-Origin: *\x0d\x0a")
|
2015-06-19 15:53:12 -04:00
|
|
|
TEXT("Connection: close\x0d\x0a")
|
|
|
|
|
TEXT("Content-Type: %s \x0d\x0a")
|
|
|
|
|
TEXT("Content-Length: %u\x0d\x0a\x0d\x0a"),
|
|
|
|
|
Mime, FileData.Num());
|
|
|
|
|
}
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// make space for the whole file in our out buffer.
|
|
|
|
|
BufferInfo->Out.Append((uint8*)TCHAR_TO_ANSI(Header),Length);
|
2014-07-21 04:38:16 -04:00
|
|
|
BufferInfo->Out.Append(FileData);
|
2016-04-07 12:59:50 -04:00
|
|
|
// we need to write back to the client, queue up a write callback.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_callback_on_writable(Wsi);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// we got a post request!, queue up a write callback.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_callback_on_writable(Wsi);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
break;
|
2016-04-07 12:59:50 -04:00
|
|
|
case LWS_CALLBACK_HTTP_BODY:
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// post data is coming in, push it on to our incoming buffer.
|
2014-07-21 04:38:16 -04:00
|
|
|
UE_LOG(LogFileServer, Log, TEXT("Incoming HTTP Partial Body Size %d, total size %d"),Len, Len+ BufferInfo->In.Num());
|
|
|
|
|
BufferInfo->In.Append((uint8*)In,Len);
|
2014-06-12 17:02:52 -04:00
|
|
|
// we received some data - update time out.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_set_timeout(Wsi, NO_PENDING_TIMEOUT, 60);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
break;
|
2016-04-07 12:59:50 -04:00
|
|
|
case LWS_CALLBACK_HTTP_BODY_COMPLETION:
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-04-07 12:59:50 -04:00
|
|
|
// we have all the post data from the client.
|
|
|
|
|
// create archives and process them.
|
2014-07-21 04:38:16 -04:00
|
|
|
UE_LOG(LogFileServer, Log, TEXT("Incoming HTTP total size %d"), BufferInfo->In.Num());
|
|
|
|
|
FMemoryReader Reader(BufferInfo->In);
|
2014-08-18 16:55:29 -04:00
|
|
|
TArray<uint8> Writer;
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
FNetworkFileServerHttp::Process(Reader,Writer,Server);
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// even if we have 0 data to push, tell the client that we don't any data.
|
2014-07-21 04:38:16 -04:00
|
|
|
ANSICHAR Header[1024];
|
2016-04-07 12:59:50 -04:00
|
|
|
int Length = FCStringAnsi::Sprintf(
|
2014-07-21 04:38:16 -04:00
|
|
|
(ANSICHAR*)Header,
|
2014-06-12 17:02:52 -04:00
|
|
|
"HTTP/1.1 200 OK\x0d\x0a"
|
|
|
|
|
"Server: Unreal File Server\x0d\x0a"
|
2019-03-15 11:40:11 -04:00
|
|
|
"Access-Control-Allow-Origin: *\x0d\x0a"
|
2014-06-12 17:02:52 -04:00
|
|
|
"Connection: close\x0d\x0a"
|
|
|
|
|
"Content-Type: application/octet-stream \x0d\x0a"
|
2016-04-07 12:59:50 -04:00
|
|
|
"Content-Length: %u\x0d\x0a\x0d\x0a",
|
2014-06-12 17:02:52 -04:00
|
|
|
Writer.Num()
|
|
|
|
|
);
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// Add Http Header
|
|
|
|
|
BufferInfo->Out.Append((uint8*)Header,Length);
|
|
|
|
|
// Add Binary Data.
|
2014-07-21 04:38:16 -04:00
|
|
|
BufferInfo->Out.Append(Writer);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// we have enqueued data increase timeout and push a writable callback.
|
2016-09-23 17:31:51 -04:00
|
|
|
lws_set_timeout(Wsi, NO_PENDING_TIMEOUT, 60);
|
|
|
|
|
lws_callback_on_writable(Wsi);
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
break;
|
2016-04-07 12:59:50 -04:00
|
|
|
case LWS_CALLBACK_CLOSED_HTTP:
|
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3233741)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
[NOTE: Switch changes have been removed from this list, and will be in a comment in //UE4/Main/Engine/Build/Switch/SwitchChanges.txt]
Change 3207431 on 2016/11/22 by Keith.Judge
Make VectorSign on XB1 match (incorrect) SSE implementation rather than the reference FPU implementation. Too many things seem to rely on this to change the default behaviour now.
#jira UE-36921
#jira UE-38560
Change 3208206 on 2016/11/22 by Josh.Adams
- Changed plugins upgrading a content-only project to code-based, even if the modules inside aren't compiled for the current platform. There are issues with runtime not knowing the plugin isn't needed. The proper way is to non-whitelist the platform in the project, not in the modules, if you don't want it to upgrade the project. See the comments in this change for more info.
#jira UE-38929
Change 3209137 on 2016/11/23 by Alicia.Cano
Add a check to iOS tool chain for exception flag
#jira UE-36528
#ios
Change 3209296 on 2016/11/23 by Ben.Marsh
Always send build failure notifications in Dev-Platform to Will.Fissler@epicgames.com and Owen.Stupka@epicgames.com
Change 3211316 on 2016/11/28 by Joe.Barnes
Fix some typos
Change 3211318 on 2016/11/28 by Joe.Barnes
Fix wrong function name in header file. Didn't match actual function name in RenderingThread.cpp
Change 3213227 on 2016/11/29 by Dmitry.Rekman
Add -fPIC to libwebsockets on Linux.
Change 3213463 on 2016/11/29 by Nick.Shin
helper build scripts for CentOS 7 Linux (via Docker)
LINUX: pull source and compile: zlib openssl libcurl & libwebsockets
using [ glibc 2.17 ] & [ gcc 4.8.5 ]
Docker creates an image (that is essentially a CentOS box) and runs the build script within that environment (called a container). think of this as a VM -- but waaaaaaay better -- nothing is virtualized -- it's all on the metal.
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1203 - Add Linux library for libwebsockets
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 3213939 on 2016/11/29 by Michael.Trepka
Ignore parent widget's geometry scale when showing a popup menu in a separate window
#jira UE-38706
Change 3215583 on 2016/11/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3216345 on 2016/11/30 by Josh.Adams
Better fix for poison proxy fix
Change 3217106 on 2016/12/01 by Michael.Trepka
Fixed a crash caused by an attempt to use FPlayWorldCommands::GlobalPlayWorldActions before it's initialized when showing suppressable warning dialogs in UEditorEngine::UpdateAutoLoadProject()
#jira UE-38816
Change 3217223 on 2016/12/01 by Josh.Adams
- Fixed some TEXT macro warnings that crept in from IWYU changes
Change 3217253 on 2016/12/01 by Dmitry.Rekman
Linux: fix GL crash (UE-17649).
- Making sure all streams are set up. Fix by Cengiz.
Change 3217473 on 2016/12/01 by Daniel.Lamb
Fixed a case when we load a map it might not have it's sublevels loaded because it's not treated like a map.
#test cook run QAGame
Change 3217588 on 2016/12/01 by Peter.Sauerbrei
Pull in IPv6 fix
Change 3217654 on 2016/12/01 by Michael.Trepka
Changed the Mac-specific high DPI code to use system backingScaleFactor only if NSHighResolutionCapable in Info.plist is set to true. This solves the problem with macOS Sierra giving us actual backingScaleFactor values even in low DPI modes.
Change 3217873 on 2016/12/01 by Josh.Adams
- Added some logging to a tvOS assert, since debugging it right away is tricky
Change 3218097 on 2016/12/01 by Josh.Adams
- Fixed up the Switch MediaFramework, making editor better, etc
- ALso changed PS4 and Xbox plugins to be enabled by default by having two entries in the plugin module for the Factory modules (an editor only entry, and a platform specific runtime entry... this will make it so that UE4Game.exe won't ahve it compiled in, even with it enabled by default)
Change 3218133 on 2016/12/01 by Dmitry.Rekman
Linux: report server hangs by crashing the hung thread (UE-39164).
Change 3218512 on 2016/12/01 by Josh.Adams
- Made the MfMedia plugin to be distributable in public builds, since it's for Windows and Xbox
Change 3219804 on 2016/12/02 by Dmitry.Rekman
Linux: fix project settings crash (UE-38800).
- Also submitted as a pull request #2945.
Change 3220027 on 2016/12/02 by Nick.Shin
plow all physx libs into build
NOTE: most browsers will not function
- chrome and firefox nightly only works
checking this in as per email
#jira UE-38323 VehicleTemplate Vehicle does not move in HTML5
Change 3221620 on 2016/12/05 by Joe.Barnes
UE-37275 - Temporary workaround for log lines losing carriage returns. Add's a \n when outputting lines if there isn't one at the end.
Change 3221689 on 2016/12/05 by Dmitry.Rekman
Attempt to change/rename.
Change 3221700 on 2016/12/05 by Dmitry.Rekman
Another attempt to change renamed file (from Linux).
Change 3221731 on 2016/12/05 by Michael.Trepka
Added missing initialization for FAvfVideoSampler::MetalTextureCache
#jira UE-38689
Change 3221792 on 2016/12/05 by Michael.Trepka
Fixed a crash in FMetalDynamicRHI::RHIAsyncReallocateTexture2D for PVRTC2 textures
Change 3222675 on 2016/12/05 by Josh.Adams
- Removed some resolution setting junk that was recently added to PlatformerGame - settings resolution on AppleTV is bad, it doesn't need to change resolution on non-desktop platforms
#jira UE-39188
Change 3223546 on 2016/12/06 by Brent.Pease
+ Properly set and use the realtime compression for ios.
+ Reduce unused memory on ios from the precached first buffer
+ Fix a resource tracking issue that was causing a double free on the sound buffer
Change 3223785 on 2016/12/06 by Brent.Pease
+ Add support for iPhone7 (implemented by peter.sauerbrei, merged in from WEX)
#jira ue-38701
Change 3224314 on 2016/12/06 by Chris.Babcock
Send OnTargetPlatformChangedSupportedFormats when format changed in Android project settings in editor
#jira UE-38361
#ue4
#android
Change 3225367 on 2016/12/07 by Josh.Adams
- Added FKey::Virtual_Accept and Virtual_Back, which will map to FaceButton Right/Down appropriately based on platform (Switch swaps them)
- Made changes to ShooterGame and VehicleGame for Virtual_Accept and Back
- Added some icons for ShooterGame, and changed some text blocks to SRichTextBlock to insert the icons
Change 3225426 on 2016/12/07 by Chris.Babcock
Add missing Android UPL file for binary builds
#jira UE-39420
#ue4
#android
Change 3225471 on 2016/12/07 by Dmitry.Rekman
Update all platforms to C++14.
Change 3225525 on 2016/12/07 by Nick.Shin
Cook-On-The-Fly for HTML5
- re-enabled: ENetworkFileServerProtocol::NFSP_Http
- cleaned up port numbers used with cook-on-the-fly situations
- fixed null_ptr in NetworkFileServerHttp.cpp
- fix CORS issue with HTML5LaunchHelper (not really needed -- but doesn't hurt to have it in the test server)
- finally, the core of the jira issue:
o fix serialization bug: do not append zero sized data
o fix de-serialization bug: removed double insertion of packet "Marker and Size" header
#jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size
Change 3225690 on 2016/12/07 by Dmitry.Rekman
Linux: improvements in touch support.
- Multiple fingers.
- Filtering out "moved" events from the same location.
- Consistent logging.
(Edigrating 3225194 from Wombat to Dev-Platform)
Change 3225868 on 2016/12/07 by Josh.Stoddard
Gracefully handle delete without matching new on iOS & Mac
#jira UE-39395
Change 3226159 on 2016/12/07 by Omar.Rodriguez
UEPLAT-1423 WEX: Improved virtual keyboard for Android
* Renamed old virtual keyboard functions by adding "Dialog" suffix to the name
* Added new virtual keyboard functions that use InputMethodManager to show/hide keyboard
* Hide the virtual keyboard, if shown, onPause
* Slate edit box decides which functions to call for showing/hiding keyboard
- eventually will be based on command line parameter like in IOS
#jira UEPLAT-1423
Change 3226167 on 2016/12/07 by Dmitry.Rekman
Allow running as root on ARM.
(Edigrating 3204974 to Dev-Platform)
Change 3226168 on 2016/12/07 by Dmitry.Rekman
Print current CVar value when denying an override.
(Based on CL 3205476).
Change 3226169 on 2016/12/07 by Dmitry.Rekman
Allow enabling sound (if disabled by default).
(Based on CL 3205505)
Change 3226171 on 2016/12/07 by Dmitry.Rekman
Allow running from symlinks.
(Edigrating 3205518 to Dev-Platform).
Change 3226174 on 2016/12/07 by Dmitry.Rekman
Linux: do not init SDL audio (we do not use it anyway).
(Based on CL 3205505).
Change 3226327 on 2016/12/07 by Nick.Shin
fix CIS warning
#jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size
Change 3226506 on 2016/12/08 by Dmitry.Rekman
Fix one more case-sensitive misspelling (UE-39030).
- Submitted as part of PR #2976.
Change 3226542 on 2016/12/08 by Dmitry.Rekman
Linux: fix weirdness with tesselation in GL4 (UE-32865).
- Workaround by CengizT. Proper fix tracked as UE-39489.
Change 3226570 on 2016/12/08 by Dmitry.Rekman
Fix for ar failing due to too long command line (UE-39009).
- Based on PR #2973.
Change 3226575 on 2016/12/08 by Dmitry.Rekman
Add build-essential to dependencies (UE-39053).
- PR #2981 contributed by cpyarger.
Change 3227129 on 2016/12/08 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Fixed up a deferred GL error as well
Fixed some copyrights of files not in main
Change 3227260 on 2016/12/08 by Omar.Rodriguez
UE-39140 Projects with iCloud are failing provisioning check when code signing.
* Set default value of bEnableCloudKitSupport to False
* Set value of get-task-allow to true only on non-distribution builds
* Only write out the entitlements file if changes have been made
#jira UE-39140
Change 3229312 on 2016/12/09 by Dmitry.Rekman
Fix missing responses (UE-39572).
- Proper implementation of UE-39009.
Change 3230849 on 2016/12/12 by Dmitry.Rekman
Linux: fixed Android packaging (UE-39635).
- Misspelled case; fixed by JohnHenry Carawon.
#jira UE-39635
Change 3231591 on 2016/12/12 by Peter.Sauerbrei
fix for splash screen not being turned off by default
#jira UE-39591
Change 3231880 on 2016/12/12 by Josh.Adams
- Fixing StaticAnalysis warnings, but -enablecodeanalysis stopped working for some reason, and the /Zm thing has hit me really hard, so this is a hopeful checkin for static analysis issues
#jira UE-39680
Change 3232816 on 2016/12/13 by Dmitry.Rekman
Linux: fix for CEF (UE-39682)
- Fix by Cengiz.Terzibas.
Change 3232873 on 2016/12/13 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3232933 on 2016/12/13 by Josh.Adams
- Missed the files that were needed to fix up after merge from main, but didn';t come from main
Change 3233066 on 2016/12/13 by Ben.Marsh
UBT: Ignore exception if PATH variable contains invalid characters when looking for XGE.
Change 3233512 on 2016/12/13 by Ben.Marsh
Fix static analysis warnings.
[CL 3233813 by Josh Adams in Main branch]
2016-12-13 19:47:16 -05:00
|
|
|
|
|
|
|
|
if ( BufferInfo == NULL )
|
|
|
|
|
break;
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// client went away or
|
|
|
|
|
//clean up.
|
2014-07-21 04:38:16 -04:00
|
|
|
BufferInfo->In.Empty();
|
2016-04-07 12:59:50 -04:00
|
|
|
BufferInfo->Out.Empty();
|
2014-06-12 17:02:52 -04:00
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
case LWS_CALLBACK_PROTOCOL_DESTROY:
|
|
|
|
|
// we are going away.
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
break;
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
case LWS_CALLBACK_HTTP_WRITEABLE:
|
2014-06-12 17:02:52 -04:00
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
// get rid of superfluous write callbacks.
|
2014-07-21 04:38:16 -04:00
|
|
|
if ( BufferInfo == NULL )
|
2014-06-12 17:02:52 -04:00
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
// we have data o send out.
|
2014-07-21 04:38:16 -04:00
|
|
|
if (BufferInfo->Out.Num())
|
2014-06-12 17:02:52 -04:00
|
|
|
{
|
2016-09-23 17:31:51 -04:00
|
|
|
int SentSize = lws_write(Wsi,(unsigned char*)BufferInfo->Out.GetData(),BufferInfo->Out.Num(), LWS_WRITE_HTTP);
|
2016-04-07 12:59:50 -04:00
|
|
|
// get rid of the data that has been sent.
|
|
|
|
|
BufferInfo->Out.RemoveAt(0,SentSize);
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
2016-04-07 12:59:50 -04:00
|
|
|
return 0;
|
2014-06-12 17:02:52 -04:00
|
|
|
}
|
|
|
|
|
|
2014-08-18 16:55:29 -04:00
|
|
|
#endif
|