Commit Graph

1675 Commits

Author SHA1 Message Date
Dmitry Rekman
e2314bbb8b Linux: added missing FPlatformProcess::UserName() implementation.
(Merging CL 2651396 from FN to main).

[CL 2651542 by Dmitry Rekman in Main branch]
2015-08-11 14:54:30 -04:00
Jeff Campeau
5eac09ae0a Re-disable default functions in VS2015 for now
#platformnotify Josh.Adams

[CL 2647853 by Jeff Campeau in Main branch]
2015-08-07 09:57:56 -04:00
Jeff Campeau
f0bb0021b8 VS2015 requires some early header includes similar to clang
#platformnotify Josh.Adams

[CL 2647837 by Jeff Campeau in Main branch]
2015-08-07 09:45:19 -04:00
Jeff Campeau
631703e3a4 Various changes for VS2015:
Printf format string fix.
Cast for type size mismatch.

[CL 2647831 by Jeff Campeau in Main branch]
2015-08-07 09:43:15 -04:00
Jeff Campeau
24f87f4cad Warning as error changes for VS2015:
Shadow variable declarations - We should clean these up over time and renable the warning. Private member variables of parents is currently reported as a bug to the VS team.
Overflow when assigning true to a 1 bit bitfield with a signed type.
sprintf_s non-string literal parameters exist in the current CRT. This should be fixed by MS in time and then we can reenable.
narrowing conversions - We should clean these up over time and renenable the warning.

Fixed static assert.

#platformnotify Josh.Adams

[CL 2647826 by Jeff Campeau in Main branch]
2015-08-07 09:37:44 -04:00
Dmitry Rekman
1c367662a5 Fix Linux running out of file handles over time (UE-16483).
- Child processes inherited open handles; added CLOEXEC to both file operations and sockets.

[CL 2647541 by Dmitry Rekman in Main branch]
2015-08-07 01:34:59 -04:00
Dan Oconnor
f1e3dd1c2e [UE-19293] Math expression now updates old calls to Rot/Rotator/MakeRot to use MakeRotator by swapping parameters
[CL 2647368 by Dan Oconnor in Main branch]
2015-08-06 21:09:21 -04:00
Nick Darnell
047c203f7e Engine - Fixing the order of initialization of FriendlyName.
[CL 2647089 by Nick Darnell in Main branch]
2015-08-06 17:26:21 -04:00
Josh Markiewicz
779cb6e04b #UE4 - moved all http header files into header module
- headers in core and implementations in http were working but only coincidentally
- no way to export any of the platforms if needed because CORE_API was correct for generic platform but would have link errors because all platforms were in HTTP_API
- fixed up platform http calls to reference http module
#platformnotify josh.adams
#codereview sam.zamani, david.nikdel, dmitry.rekman

[CL 2646887 by Josh Markiewicz in Main branch]
2015-08-06 15:52:48 -04:00
Robert Manuszewski
746075c8de FCustomVersion optimizations:
- Friendly name will no longer be serialized
- Reduced memory footprint of friendly names
- Faster custom version look up when serializing many custom versions

[CL 2646438 by Robert Manuszewski in Main branch]
2015-08-06 10:59:07 -04:00
Josh Markiewicz
f8d83447e1 #Integration FN->Main from CL#2642868
Engine Source changes

[CL 2645403 by Josh Markiewicz in Main branch]
2015-08-05 15:54:57 -04:00
Gareth Martin
7694adb48f Removed type trait macros in favour of the type trait templates
(approved/recommended by Steve.Robb)

[CL 2644918 by Gareth Martin in Main branch]
2015-08-05 11:01:03 -04:00
Steve Robb
c53639c36c Fix for VC when trying to move construct a TTuple.
#codereview robert.manuszewski

[CL 2643245 by Steve Robb in Main branch]
2015-08-04 07:12:09 -04:00
Dmitry Rekman
8a368ffe43 Linux: added missing misc platform function (GetSystemErrorMessage).
[CL 2642585 by Dmitry Rekman in Main branch]
2015-08-03 17:53:44 -04:00
Saul Abreu
01cefc8769 Changed dialogue wave namespace, removed optional contexts, added new object version for these changes, and updated asset localization gather logic to just-in-time gather for dialogue wave packages saved before this version.
[CL 2642487 by Saul Abreu in Main branch]
2015-08-03 17:07:23 -04:00
Saul Abreu
739320a335 Added string formatting methods for internationalization metadata.
[CL 2642480 by Saul Abreu in Main branch]
2015-08-03 17:04:55 -04:00
Gil Gribb
b7d8b9603f Merging 2640056 (plus a few minor fixes)
//depot/UE4-Orion/...

to //depot/UE4/...

UE4 -  rollup of many performance changes

* increased max threads for task graph and added a way to reduce task threads at runtime for testing the optimal number
* added a way to track excessive allocation at runtime without using the memory profiler: LogGameThreadMallocChurn.Enable
* ps4: fixed a few problems with the platform properties, IsRunningGame was returning false
* added inline storage for one delegate in multicast delegates
* fixed excessive allocation on the script stack traceback
* fixed excessive malloc calls throughout the animation system
* added stats throughout the animation system
* reworked parallel queue ticks
* fixed excessive malloc calls in cloth and physics animation systems
* fixed GHitchThresholdCVar
* minor improvements to abtest
* added ability to change thread affinities on the fly so they can be tuned
* cvars to control animrate optimization and spew the results: EnableAnimRateOptimization, SpewAnimRateOptimization, DrawAnimRateOptimization, ForceAnimRate
* optimized malloc calls in cascade and gpu particles
* optimized malloc calls in input system
* removed visual logging and ability log from consoles and fixed a few compile errors related to doing that
* optimized gameplaytags
* added a few cvars to cause stalls in various parts of the pipeline to identify critical paths and bottlenecks: CriticalPathStall.*
* added console command to toggle all known outstanding perf tweaks: Orion.SetupPerfCVars

[CL 2642061 by Gil Gribb in Main branch]
2015-08-03 11:44:45 -04:00
Josh Markiewicz
226cc836b0 [AUTOMERGE]
#Fort - updated perf counters
- added new USE_SERVER_PERF_COUNTERS define to enable counters
- fixed engine perf counters not working
- implemented exec command handler for running commands from curl/http via stats port
#codereview david.nikdel, dmitry.rekman, ivan.horvath, paul.moore

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2640689 by Josh.Markiewicz on 2015/07/31 14:25:03.

[CL 2642050 by Josh Markiewicz in Main branch]
2015-08-03 11:37:20 -04:00
Ben Marsh
3733f73569 When compiling a modular target, write out a manifest of build products to each output directory listing the valid modules in that directory and their version. Allows faster switching of changelists when using UGS (because it's no longer necessary to re-link all modules), and safeguards against stale DLLs from a different target causing loader errors. Uses compiled-in API version if BUILT_FROM_CHANGELIST is non-zero.
[CL 2641800 by Ben Marsh in Main branch]
2015-08-03 08:47:15 -04:00
Lee Clark
43645de4ea Fix pool sizes not getting set
[CL 2641765 by Lee Clark in Main branch]
2015-08-03 07:27:17 -04:00
Marcus Wassmer
428e4e7cdb Fix 32bit platforms CIS
[CL 2641290 by Marcus Wassmer in Main branch]
2015-07-31 20:54:34 -04:00
Josh Markiewicz
915f192030 [AUTOMERGE]
#UE4 - added URLDecode function to generic http implementation

#platformnotify Josh.Adams

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2640595 by Josh.Markiewicz on 2015/07/31 13:40:55.

[CL 2641220 by Josh Markiewicz in Main branch]
2015-07-31 19:05:44 -04:00
Dmitry Rekman
56ae1b1dcb Linux: more logging to catch a mysterious bug (UE-18812).
- Some buildfarm-built binaries exhibit strange behavior that cannot be reliably reproduced; adding more logs and exec commands.
- Also some minor clean up.

[CL 2641130 by Dmitry Rekman in Main branch]
2015-07-31 18:22:06 -04:00
Marcus Wassmer
6882ec0af5 Merge fix for threading bugs with MallocBinned stats
#codereview jaroslaw.surowiec

[CL 2641074 by Marcus Wassmer in Main branch]
2015-07-31 17:48:45 -04:00
Ben Marsh
ed5fb5c7dd Only modify the PATH variable around the code that we use load other DLLs. Prevents passing really long PATH variables to child processes, like UBT or UAT. Fix for hitting environment variable length limit on Windows.
#platformnotify Josh.Adams

[CL 2640526 by Ben Marsh in Main branch]
2015-07-31 12:49:25 -04:00