Commit Graph

14 Commits

Author SHA1 Message Date
Josh Adams
3f3c6fd578 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
Ben Marsh
20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00
Ben Marsh
4ba423868f 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
Nick Shin
bf99b65065 jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
these came from:
fd48bc0e4a

#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
#rb none
#lockdown josh.adams

[CL 3180928 by Nick Shin in Main branch]
2016-10-31 21:17:42 -04:00
Bob Tellez
b51555abf7 Copying //UE4/Fortnite-Staging to //UE4/Main
#lockdown nick.penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2806454 on 2015/12/16 by Bob.Tellez

	#UE4 Getting crash reporting working again on linux servers. Since -Unattended is now being passed BEFORE the target folder, the cmd line parsing code was failing so now it parses tokens and switches in a more general way. Also, diagnostics.txt had the incorrect case, since the d is supposed to be capitolized and the crash report processor is case sensitive.

	#rb Ben.Zeigler

	#codereview Dmitry.Rekman

Change 2805502 on 2015/12/16 by Ben.Zeigler

	#UE4 Move ValidateEnumProperties into ValidateGeneratedClass, it was happening too early in the generation process so was being called at an invalid time.
	As a result of this ValidateEnumProperties will not be called correctly for compile on load blueprints, that issue is covered in UE-24569
	#codereview mike.beach, bob.tellez

Change 2805288 on 2015/12/16 by David.Nikdel

	#HTTP #HttpRetry
	- Add new Failed_ConnectionError code to EHttpRequestStatus to distinguish between connection errors and protocol errors.
	- Changed HTTP retry logic a little bit
	  * If a response was received, retry on service-specific explicit HTTP codes (defaults to empty)
	  * If a response was not received and we did not send a full request, automatically retry
	  * If a response was not received and a request may have been sent, retry if the verb is GET or HEAD (should be idempotent)
	- Adjusted Curl/IOS/Mac/PS4/WinInet to try and distinguish Failed_ConnectionError where possible
	  * Other systems will default to Failed which is ok (ConnectionError is an opportunistic categorization)
	  * Opened a PS4 ticket to try to improve detection, but unfortunately there's no way (currently) to distinguish between send timeout, connection timeout, and receive timeout, the latter being the problematic case.
	- Removed the concept of global/default HTTP retry status codes. No system has enough knowledge to set those globally.
	  * Individual requests still specify explicit "retryable" codes and McpServiceBase sets that on each request on a per-service basis
	#RB: Sam.Zamani
	#CodeReview: Sam.Zamani, Josh.Markiewicz, Alex.Fennell, Dmitry.Rekman, Sam.Spiro
	#Fixes: FORT-17804

Change 2803864 on 2015/12/15 by Bob.Tellez

	#UE4 Changed usage of !UE_SERVER to !IsRunningDedicatedServer in cases where we are preventing load attempts on UFonts. This is so running an editor build with -server works the same as running a cooked server.

	#rb Dmitry.Rekman

	#codereview Nick.Darnell

Change 2803677 on 2015/12/15 by Billy.Bramer

	- Expose equality and inequality operators for gameplay attributes

	#rb Todd.Eckert

Change 2802881 on 2015/12/14 by Bob.Tellez

	#UE4 InheritableComponentHandler no longer keeps records for components that we are no longer inheriting.

	#rb Phillip.Kavan, Maciej.Mroz

	#codereview Phillip.Kavan, Maciej.Mroz

Change 2801636 on 2015/12/14 by Bob.Tellez

	#UE4 Returning package insert order for non-imports back to being after those of matching priorities unconditionally since this is what you want even when you are not using the asset registry to preload packages.

	#codereview Graeme.Thornton

Change 2800400 on 2015/12/11 by Jonathan.Lindquist

	Submitting a new Pivot Painter Edition
	- now renders to textures
	- improved workflow
	- greater capabilities

Change 2799579 on 2015/12/11 by John.Abercrombie

	[AUTOMERGE]

	Fixed EQS BP query wrappers getting GCed before wrapped query finishes #UE4

	Fixes FORT-18649 - Patrols don't spawn consistently
	- The patrol blueprint was waiting (endlessly) for an EQS query to finish but because the wrapper could be GC-ed while the EQS query was running the delegate would never fire

	#rb me (this code was written by MieszkoZ)
	(removed code review for integration of Mieszko.Zielinski, Phil.Cole, Dominic.Barile)

	--------
	Integrated using branch UE4-Fortnite-To-UE4-FortniteReleases/0.10 (reversed) of change#2799575 by John.Abercrombie on 2015/12/11 09:55:11.

Change 2799018 on 2015/12/10 by Bob.Tellez

	#UE4 The asset registry tags stripped from cooked builds is now a blacklist by default that includes only the FiB tag. You can opt-in to using the whitelist by flipping the bUseAssetRegistryTagsWhitelistInsteadOfBlacklist flag.

	#rb Fred.Kimberley

	#codereview Peter.Knepley

Change 2798926 on 2015/12/10 by Bob.Tellez

	#UE4 Removed some showflags from the list of "Fixed" showflags since they were actually in use at runtime in Fortnite in a scene capture.

	#jira FORT-18514

	#codereview Martin.Mittring

Change 2797758 on 2015/12/10 by Mark.Satterthwaite

	Defer calls to AUGraphUpdate into FCoreAudioDevice::UpdateHardware - this call will synchronise the calling thread with the CoreAudio thread/run-loop so that the CoreAudio graph is safe to modify and this may incur a significant stall. This means it is far more efficient to amortise the cost of all changes to the graph with a single call. To ensure correctness the audio format conversion components are cached and disposed of after the call to AUGraphUpdate so that any existing operations on the CoreAudio thread are completed prior to disposal.

Change 2781204 on 2015/11/25 by Dmitry.Rekman

	Linux: use jemalloc by default if available.

	- Alleviates one of the reasons for player disconnect (FORT-18048), which was machines running OOM.

	#rb Bob.Tellez
	#codereview Bob.Tellez, Ben.Zeigler

Change 2779398 on 2015/11/24 by Mark.Satterthwaite

	Switch the default graphics API on Mac back to OpenGL, but allow Metal to run with -metal (or -metalsm5 for experimental SM5 support).
2016-01-08 19:10:43 -05:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00
Ankit Khare
d40dcb3005 #HTML5 #UE4 Fix up cook on the fly to use the async Transport APIs.
- Use a temporary buffer to collect all the unsolicited files and then pass them on as and when requested for single threaded HTML5.

#daniel.lamb

[CL 2261419 by Ankit Khare in Main branch]
2014-08-18 16:55:29 -04:00
Ankit Khare
b98de3ee40 #UE4 #HTML5
#TTP 338960 CRITICAL: UFE: CRASH: Quick Launching project for HTML5

      - Fixup some logic change which went in a recent refactor for nfs.
      - Correctly launch firefox with the right http protocol url instead of file:// when cook on the fly is set.
      - Re- enable http nfs for win64.

#codereview peter.sauerbrei

[CL 2230905 by Ankit Khare in Main branch]
2014-07-24 19:26:40 -04:00
Daniel Lamb
7184ecc682 Seperated the support for tcp and http transports when using file serving so that they can be used at the same time.
#codereview Peter.Sauerbrei
#codereview Ankit.Khare

[CL 2170710 by Daniel Lamb in Main branch]
2014-07-07 15:39:19 -04:00
Ankit Khare
ba01b4d00a #UE4 #HTML5
HTML5 browser build fixes for NFS over http.
Todo: Correctly generate html5 file when serving via NFS.
howto:
- flip relevant bools in UEBuildHTML5.cs
- build html5/cooker.
- run cook on the fly server via UFE.
- Remove .data/.data.js references from .html ( see todo)
- point browser at http://cookserver:DEFAULT_FILE_SERVING_PORT/gamename.html

#codereview peter.sauerbrei

[CL 2109950 by Ankit Khare in Main branch]
2014-06-18 19:38:50 -04:00
Ankit Khare
3a59dafefa #UE4 #HTML5 TTP: 318779 HTML5: Network File System.
Build Improvements, HTML5Win32 Build fix. Re-fix how HTTP headers were being sent on the wire.
             WIP:  TCP/HTTP Toggle is in flux and may get changed again depending on feedback, currently its driven from HTML5 Build Files.

#codereview peter.sauerbrei

[CL 2104759 by Ankit Khare in Main branch]
2014-06-13 13:25:24 -04:00
Ankit Khare
75222b223a #UE4
TTP: 318779  HTML5: Network File System.
          Allow the network file system to also serve HTTP clients besides TCP, defaults to  TCP.

      -   Refactor NFS to avoid socket depedency in code path, provide switchable implementations for the transport used.
      -   Remove INetworkFileServerConnection Interface, was not being used publically.
      -   WIP: Build improvments, more testing for target HTML5 platform, comments, support on Mac and Linux Platforms.

#codereview: peter.sauerbrei

[CL 2103382 by Ankit Khare in Main branch]
2014-06-12 17:02:52 -04:00