Commit Graph

769 Commits

Author SHA1 Message Date
Max Preussner
92516d1cf4 Core: Replaced EngineVersion namespaced enums with enum classes
[CL 2326172 by Max Preussner in Main branch]
2014-10-10 20:13:56 -04:00
Max Preussner
d91edba3b3 Core: Misc documentation cleanup
[CL 2326111 by Max Preussner in Main branch]
2014-10-10 18:58:50 -04:00
Michael Trepka
1d5a0d5506 Updated engine code to compile correctly with OS X 10.10 SDK, added SDK detection to MacToolChain (based on iOS one)
#codereview Mark.Satterthwaite

[CL 2325808 by Michael Trepka in Main branch]
2014-10-10 15:07:46 -04:00
Max Preussner
315f7c08af Core: Replaced namespaced enums; added more unit tests
[CL 2325706 by Max Preussner in Main branch]
2014-10-10 13:07:29 -04:00
Michael Trepka
90f37f43fd Use FCocoaWindow.DeferFrame instead of actual window frame for hidden windows when calling SlateApplication's OnMovedWindow in FMacApplication::OnWindowDidMove
#codereview Mark.Satterthwaite

[CL 2325691 by Michael Trepka in Main branch]
2014-10-10 12:57:14 -04:00
Michael Trepka
9acbce9395 Rollback //depot/UE4/Engine/Source/Runtime/Core/Private/Mac/MacPlatformMemory.cpp to revision 7 - latest Yosemite GM candidate doesn't like it.
[CL 2325569 by Michael Trepka in Main branch]
2014-10-10 11:01:57 -04:00
Max Preussner
3e8679806a Core: Fixed incorrect assertion in FTimespan::FromSeconds()
[CL 2324558 by Max Preussner in Main branch]
2014-10-09 17:18:05 -04:00
Max Preussner
1fab6e586f Slate: Added support for convertible laptops on Windows (GitHub PR #380 by JeffRous)
https://github.com/EpicGames/UnrealEngine/pull/380

#CodeReview: nick.atamas

[CL 2324225 by Max Preussner in Main branch]
2014-10-09 11:44:41 -04:00
Jaroslaw Surowiec
7227dad9b8 CrashReport - Refactoring continued
[CL 2324141 by Jaroslaw Surowiec in Main branch]
2014-10-09 11:27:20 -04:00
Mark Satterthwaite
985c8c3e33 Copy the crash video if there is one into the crash report folder on OS X.
#codereview michael.trepka

[CL 2324050 by Mark Satterthwaite in Main branch]
2014-10-09 11:25:55 -04:00
Mark Satterthwaite
a2fcd499cd Cache the crash reporting values in PlatformPreInit on Mac OS X, should work just fine.
#codereview michael.trepka, Jaroslaw.Surowiec

[CL 2324029 by Mark Satterthwaite in Main branch]
2014-10-09 11:25:30 -04:00
Jaroslaw Palczynski
4d72feb452 [GitHub] 480 : FMath::GetReflectionVector(Dir,SurfaceNormal), For Reflecting Lasers off Mirrors and Projectile Bounces
Missing file for CL2323910 (GitHub 2c1bbfc11d).

TTP 348794

[CL 2323919 by Jaroslaw Palczynski in Main branch]
2014-10-09 06:31:15 -04:00
Jaroslaw Surowiec
e2b920244b CrashReport - Renamed WindowsPlatformExceptionHandling to *CrashContext, to be consistent with other platforms
[CL 2323894 by Jaroslaw Surowiec in Main branch]
2014-10-09 06:01:10 -04:00
Jaroslaw Surowiec
8152994c3d CrashReport - Caching platform specific data, disabled on Mac
#codereview Mark.Satterthwaite

[CL 2323892 by Jaroslaw Surowiec in Main branch]
2014-10-09 05:56:20 -04:00
Jaroslaw Surowiec
984bf67cc2 Core/CrashReport - FGenericCrashContext::Initialize caches several platform specific data so getting that data should be safe after a crash, called in PlatformPreInit
#codereview Robert.Manuszewski

[CL 2323890 by Jaroslaw Surowiec in Main branch]
2014-10-09 05:56:08 -04:00
Jaroslaw Surowiec
48c137098e CrashReport - CrashContext.runtime-xml is now a part of the minidump file, so the whole crash report is just one file
[CL 2323885 by Jaroslaw Surowiec in Main branch]
2014-10-09 05:46:03 -04:00
Dmitry Rekman
aeff71688d Linux: support transparent windows.
- Implemented for X11 only, using poorly documented and apparently non-standard, yet widely supported _NET_WM_WINDOW_OPACITY atom.
- Symmetric (Set/Get) API is provided, but only setting is actually implemented (we aren't getting it, so no way to test anyway).
- Binary SDL libraries have been rebuilt.

[CL 2323467 by Dmitry Rekman in Main branch]
2014-10-08 21:28:54 -04:00
Saul Abreu
a85da916e1 Changed invariant culture in ICU internationalization implementation to use "en-US-POSIX" locale.
[CL 2323182 by Saul Abreu in Main branch]
2014-10-08 16:22:35 -04:00
Michael Trepka
ee958ccd06 Changed FMacCursor so it depends on mouse position from mouse move event. Also, changed handling of mouse drag event while dragging a window so that Slate doesn't get updates about window and mouse movement until we receive a windowDidMove notification.
#codereview Mark.Satterthwaite

[CL 2323170 by Michael Trepka in Main branch]
2014-10-08 16:12:38 -04:00
Martin Mittring
0924ac0b78 removed r.UseDiffuseSpecularMaterialInput (was only used for Fortnite which has been rchanged, prevented some GBuffer optimizations)
[CL 2323127 by Martin Mittring in Main branch]
2014-10-08 15:27:19 -04:00
Terence Burns
542173102b Missing file from CL# 2322809
[CL 2323068 by Terence Burns in Main branch]
2014-10-08 14:44:59 -04:00
Jaroslaw Surowiec
2639674e97 CrashReport - Added missing override
[CL 2322957 by Jaroslaw Surowiec in Main branch]
2014-10-08 13:39:44 -04:00
Michael Trepka
3f39f54cb5 Fixed a problem with game thread sometime freezing on tooltip update when opening menus on Mac
[CL 2322932 by Michael Trepka in Main branch]
2014-10-08 13:29:43 -04:00
Mark Satterthwaite
e525555bb7 Fix some faulty FMacWindow event order assumptions to ensure correct behaviour. In FMacWindow::Show always set the window as visible - it will be shortly if it isn't already. Don't resize a window if it is already the same size, infinite recursion may occur in some cases. Remove some obsolete code that tried to ensure that a window became visible in Show - we don't need this anymore.
#codereview michael.trepka

[CL 2322818 by Mark Satterthwaite in Main branch]
2014-10-08 12:04:20 -04:00
Mark Satterthwaite
93878b5163 Make CoreFoundation and all other Core*-level APIs in Mac OS X go through our allocation routines by creating a custom CFAllocatorRef when setting up our base allocator & then setting it as the default CFAllocator. This means CFString & friends will benefit from faster allocators & will use our special crash heaps during signal handlers.
#codereview michael.trepka

[CL 2322766 by Mark Satterthwaite in Main branch]
2014-10-08 11:34:15 -04:00