Commit Graph

2801 Commits

Author SHA1 Message Date
Dmitry Rekman
122226d9a3 Linux: move setting LC_NUMERIC to an earlier stage.
[CL 2693649 by Dmitry Rekman in Main branch]
2015-09-16 12:07:55 -04:00
John Abercrombie
e881c0491c Merging using UE4-Fortnite-To-UE4 @ CL 2685327
[CL 2693429 by John Abercrombie in Main branch]
2015-09-16 10:22:45 -04:00
Jamie Dale
da7d4ec4fe Fixed a case where FastDecimalFormat would incorrectly format a negative fractional number whose integral part is zero
[CL 2692378 by Jamie Dale in Main branch]
2015-09-15 16:45:06 -04:00
Bob Tellez
5a367f42ac [AUTOMERGE]
#UE4 Added weights to CPU/GPU perf index calculations. This will help distiguish between hardware that is faster/slower in ways that have a bigger impact on final framerate. A weight of 1 on a test is considered normal, <1 is considered less important and >1 is more important. I adjusted weights on existing tests according to current target PC hardware. Additionally I lowered the default "min spec" threshold to compensate for similarly performing low-end machines that are now better distiguished.

#rb Martin.Mittring

#platformnotify Josh.Adams

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2689035 by Bob.Tellez on 2015/09/11 17:59:01.

[CL 2692144 by Bob Tellez in Main branch]
2015-09-15 14:33:12 -04:00
Ben Marsh
aae80f0df1 Always assume compatibility with the current major/minor engine release. For hotfix releases, we should be writing out assets that are compatible with the original release.
#jira UE-21081

[CL 2691621 by Ben Marsh in Main branch]
2015-09-15 09:15:41 -04:00
Steve Robb
7b8dc66a01 Faster Memswap which does chunked iteration and has a constant-time swap optimization.
New FMath::CountTrailingZeros function.
TSparseArrayCompact will now compact in-place and not do anything if the array is already compacted.

#codereview robert.manuszewski
#platformnotify josh.adams

[CL 2691582 by Steve Robb in Main branch]
2015-09-15 07:55:50 -04:00
Dmitriy Dyomin
103195c923 Android: fixed compilation for r10c
[CL 2691560 by Dmitriy Dyomin in Main branch]
2015-09-15 07:06:52 -04:00
Marcus Wassmer
2547171a65 AB testing for a given scope.
[CL 2691271 by Marcus Wassmer in Main branch]
2015-09-14 21:07:36 -04:00
Michael Noland
ce525a21ab Engine: Allow memreport to work in Test configuration without requiring UEBuildConfiguration.bUseLoggingInShipping to be true (still requires ALLOW_DEBUG_FILES, and is disabled in the true Shipping configuration)
- Added a new FOutputDeviceArchiveWrapper which doesn't try to do any special work and merely adapts the FOutputDevice API to write to a FArchive
- Switched UEngine::HandleMemReportDeferredCommand over to use FOutputDeviceArchiveWrapper

[INTEGRATE] Change 2691200 by Michael.Noland@mnoland-T2784-HDepot on 2015/09/14 20:17:53

[CL 2691208 by Michael Noland in Main branch]
2015-09-14 20:27:05 -04:00
Martin Mittring
6f52a205d5 Merging using UE4->Orion
[CL 2691161 by Martin Mittring in Main branch]
2015-09-14 19:40:08 -04:00
Martin Mittring
0406b3ff04 Merging using UE4->Orion
[CL 2691112 by Martin Mittring in Main branch]
2015-09-14 19:10:46 -04:00
Mark Satterthwaite
7d171a0d6c Prevent clang/ld from dead-code-eliminating the nothrow_t variants of global new on OS X to stop some of the older code in OS X from allocating from the system heap but deleting via our overrides, which causes memory errors. Spotted by Address Sanitiser in UE4-Fortnite.
[CL 2690187 by Mark Satterthwaite in Main branch]
2015-09-14 10:09:27 -04:00
Richard Hinckley
6ceaa5aba7 Cleaning out programmer-only comments that were harvested by Doxygen.
#platformnotify Josh.Adams

[CL 2690143 by Richard Hinckley in Main branch]
2015-09-14 09:25:39 -04:00
Steve Robb
a2ed17705c Comment fix.
#codereview robert.manuszewski

[CL 2690075 by Steve Robb in Main branch]
2015-09-14 06:09:21 -04:00
Max Preussner
ee30d87b48 Async: Fixed missing return value
[CL 2688585 by Max Preussner in Main branch]
2015-09-11 15:14:39 -04:00
Martin Mittring
81a3824fa4 Changed default SamplerState anisotropy from 0 (use cvar setting) to 1 prevent accidential use of anisotropy which could cost performance and cause artifacts.
Other minor refactorings.

[CL 2688164 by Martin Mittring in Main branch]
2015-09-11 12:05:05 -04:00
Steve Robb
954b59c1c5 Undoing overzealous sizeof.
#codereview robert.manuszewki

[CL 2687972 by Steve Robb in Main branch]
2015-09-11 10:57:23 -04:00
Steve Robb
5aa05b8448 GitHub #1540 - Fix HexToBytes off-by-one
Also fix to assumption that sizeof(TCHAR) == 2.

#codereview robert.manuszewski

[CL 2687890 by Steve Robb in Main branch]
2015-09-11 10:33:51 -04:00
Dmitriy Dyomin
d8e2942b39 Android reliably logs crash callstack
libnvToolsExt (used for PhysX profiling) installs signal handlers which prevent us and Android to report crashes, to avoid this we link UE4 to stubed vesrsion of libnvToolsExt (by default)
#jira UEMOB-57
#codereview Jack.Porter, Chris.Babcock

[CL 2687553 by Dmitriy Dyomin in Main branch]
2015-09-11 00:42:40 -04:00
Mieszko Zielinski
3dee6c4685 Added runtime means of controlling engine's fixed-time-step mechanics #UE4
Merged over from Orion branch.

#codereview Robert.Manuszewski

[CL 2686827 by Mieszko Zielinski in Main branch]
2015-09-10 15:10:29 -04:00
James Moran
1c75b7638d Fix check(0) firing in task graph when in single threaded mode.
#codereview gil.gribb

[CL 2686249 by James Moran in Main branch]
2015-09-10 10:41:27 -04:00
Mike Fricker
114acb16d4 [INTEGRATE] Fixed Clang compiler warning on Windows platform
#platformnotify Josh.Adams

[CL 2686026 by Mike Fricker in Main branch]
2015-09-10 08:23:48 -04:00
Max Preussner
2e3c8bb5a6 Core: Added unit test for ISO date/time conversion of empty strings
See also: https://github.com/EpicGames/UnrealEngine/pull/1523

[CL 2685714 by Max Preussner in Main branch]
2015-09-09 21:08:23 -04:00
Max Preussner
ca9034bd0b Code cleanup pass
[CL 2685703 by Max Preussner in Main branch]
2015-09-09 20:54:20 -04:00
Marc Audy
5d992e6a35 Fix example code
[CL 2685490 by Marc Audy in Main branch]
2015-09-09 17:46:23 -04:00