Commit Graph

1314 Commits

Author SHA1 Message Date
Andrew Rodham
1d8f816237 Corrected comparison operator in TOptional and removed redundant dereference
#codereview Steve.Robb

[CL 2354475 by Andrew Rodham in Main branch]
2014-11-10 09:39:19 -05:00
Michael Trepka
727343e7eb Fix for UE-5042 (Mac editor does not get full focus if the user clicks on the menu bar)
[CL 2354449 by Michael Trepka in Main branch]
2014-11-10 09:14:19 -05:00
Andrew Rodham
1781ee1f2e Fixed reference casts causing construction in TOptional
#codereview Steve.Robb

[CL 2354445 by Andrew Rodham in Main branch]
2014-11-10 09:11:06 -05:00
Dmitry Rekman
523d4bdb58 Linux: fix intermittent crash on startup (UE-4869).
- Caused by thread-unsafe code in the splash: SDL_ShowCursor() on the main thread was traversing created windows, while SDL_CreateWindow() on the splash thread has not yet returned - splash window was in a bad state.
- Moved all window creation to the main thread, leaving only GL stuff on the splash one.
- Also minor fixes and clean ups along the road.

[CL 2354247 by Dmitry Rekman in Main branch]
2014-11-09 22:49:30 -05:00
Bob Tellez
60be8277ee [AUTOMERGE]
#UE4 Slow task dialogs can opt to appear in PIE

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2353551 by Bob.Tellez on 2014/11/07 16:11:11.

[CL 2353554 by Bob Tellez in Main branch]
2014-11-07 16:16:06 -05:00
Martin Mittring
32a93c9aa5 added help command to console
[CL 2353406 by Martin Mittring in Main branch]
2014-11-07 14:11:07 -05:00
Michael Schoell
d30bf15954 Find in Blueprints uses the asset registry once more instead of the DDC.
Level Blueprints are now fully supported when searching all assets.

Component variables are now searchable.

#jira UE-3665 - UDN: BP: Find in Level Blueprint does not find the results it should for an actor.
#jira UE-3263 - LIVE: EDITOR: The Find in Level Blueprint context menu option does not find Blueprint Actors in the Level Blueprint
#jira UE-3734 - K2: Make Find in Blueprints search level script blueprint usage as well
#jira UE-2323 - FEATURE REQUEST: BLUEPRINTS: Find-in-blueprints be able to search for Blueprints that contain components of a specified type.

[CL 2353305 by Michael Schoell in Main branch]
2014-11-07 13:18:13 -05:00
Jeff Campeau
feff8b9f42 Add option for platform to specify local paths to skip caching.
Fix CreateDirectory to support multiple drive letters on Xbox One.
Fix some full path stomping on Xbox One.
Log to developer scratch partition by default on Xbox One.

[CL 2352498 by Jeff Campeau in Main branch]
2014-11-07 09:47:25 -05:00
Mark Satterthwaite
46094452da Fix going into fullscreen mode in the editor using the system titlebar button, which should be WindowedFullscreen mode for the editor & needs to set the target window mode to Windowed when exiting.
This reports the FCocoaWindow's WindowMode to Slate as that is the canonical version of the current state.
#codereview michael.trepka

[CL 2351881 by Mark Satterthwaite in Main branch]
2014-11-06 15:26:23 -05:00
Mark Satterthwaite
72bc824c4b Retain & release the cached NSEvent window so that we don't introduce a crash on OS X when the event is processed after the window is closed.
#codereview michael.trepka

[CL 2351876 by Mark Satterthwaite in Main branch]
2014-11-06 15:26:09 -05:00
Mark Satterthwaite
9d552a0fa3 Fix another cause of deadlock in Mac UE4. -[NSEvent window] will access the global window list which requires a mutex which may be held by the opposing thread (main vs. game) causing deadlock.
To avoid this add an NSEvent category (FCachedWindowAccess) containing two selectors, one to cache the NSWindow* into the convenient NSWindow* ivar and another to access the ivar without attempting to access the system's global window list. Use this function from the game-thread to avoid contention.
#codereview michael.trepka

[CL 2351751 by Mark Satterthwaite in Main branch]
2014-11-06 15:23:39 -05:00
Mark Satterthwaite
10140c19d2 On OS X if the UE4_FORCE_MALLOC_ANSI is set in the current environment then use FMallocAnsi regardless, this allows GL Profiler to work without crashing. Apple's GL Profliler calls CoreSymbolication which has a strdup/delete mismatch that crashes with our custom new/delete & Apple will need to fix CoreSymbolication for our custom allocators to work.
#codereview michael.trepka

[CL 2351615 by Mark Satterthwaite in Main branch]
2014-11-06 15:19:10 -05:00
Richard TalbotWatkin
c7ec62ee03 Fixed crash when entering an empty string in the hex value of the color picker.
#jira UE-4994 - Crash when leaving Hex value blank in color picker

[CL 2351384 by Richard TalbotWatkin in Main branch]
2014-11-06 15:09:14 -05:00
Max Preussner
3cedc64bec Core: Removed obsolete privat einclude path
[CL 2351026 by Max Preussner in Main branch]
2014-11-06 15:01:08 -05:00
Nick Atamas
a0e6281f98 Slate : Slate Stats now show measurements using a monospaced font with fixed numbers of digits.
Text : FNumberFormattingOptions now provides method-chainable settings for easily creating a static const instance.

#codereview Justin.Sargent,Jamie.Dale

[CL 2350380 by Nick Atamas in Main branch]
2014-11-05 13:58:58 -05:00
Jamie Dale
64b81ef191 Fixed a crash when using the Bing Pinyin IME
UDN - IME related editor crash

We now set the new composition range before we set the new composition text, as setting the text can have side effects that can cause the composition to end.

This also fixes an issue where some IMEs would send an empty string, rather than a cancel event, when you press escape to cancel the current composition. This is now handled correctly, rather than appearing to work, but then entering garbled text the next time you typed.

[CL 2350267 by Jamie Dale in Main branch]
2014-11-05 13:12:29 -05:00
Nick Atamas
d80031ed9e Moved function into .CPP so I could get a breakpoint on it. Would like to keep function in .CPP.
#codereview jaroslaw.surowiec

[CL 2350236 by Nick Atamas in Main branch]
2014-11-05 13:12:03 -05:00
Michael Trepka
360cab4900 Improved saving and restoring of windows order on Mac when app activates and deactivates
[CL 2350111 by Michael Trepka in Main branch]
2014-11-05 13:10:03 -05:00
Leigh Swift
2bc7d52f18 Fix for potential memory leak when using TArray<>::RemoveSingle
#jira OPP-1208:Launcher: HTTP downloads leak memory
#codereview steve.robb

[CL 2349782 by Leigh Swift in Main branch]
2014-11-05 04:50:37 -05:00
Dmitriy Dyomin
ffa8701873 More bulletproof condition whether to use DDC data for landscape collision
#codereview Jack.Porter

[CL 2349745 by Dmitriy Dyomin in Main branch]
2014-11-05 03:51:05 -05:00
Peter Sauerbrei
563e2a9f2e fix for crash on devices < iOS 8 when mobile content scale is set to 0
#ios

[CL 2349051 by Peter Sauerbrei in Main branch]
2014-11-04 17:12:36 -05:00
Dan Oconnor
590e08e759 Restoring original implementation of InterpEaseInOut - was changed when more interpolation methods were introduced. The new version did not work with FRotator.
[CL 2348916 by Dan Oconnor in Main branch]
2014-11-04 15:51:51 -05:00
Dmitry Rekman
a61de4507d Switch to SDL text input API for input handling.
- Part of PR #560 contributed by salamanderrake.

[CL 2347994 by Dmitry Rekman in Main branch]
2014-11-04 02:02:20 -05:00
Ben Marsh
e5b4581e68 Back out changelist 2344886 - Files must be truncated if they're not opened for append.
#codereview Michael.Trepka

[CL 2347581 by Ben Marsh in Main branch]
2014-11-03 17:07:18 -05:00
Dmitry Rekman
29402b7167 Fix directory traversing on Linux.
- Not every file system supports d_type field of dirent, so a fallback to stat() is needed.
- Resolves UE-4890.
- Probably applies to Android too.

#codereview Josh.Adams, Chris.Babcock.

[CL 2347551 by Dmitry Rekman in Main branch]
2014-11-03 16:42:18 -05:00