Commit Graph

2626 Commits

Author SHA1 Message Date
Dmitry Rekman
21185572cc Linux: fix opening projects with localized names (UE-18143).
- Can now open Gżegżółka.uproject/Абракадабра.uproject etc.
- And a few more fixes in other functions that misconverted paths to ASCII that may or may not have manifested yet.
- Also made CreateProc more spammy to aid catching this in the wild.

[CL 2636270 by Dmitry Rekman in Main branch]
2015-07-28 18:36:32 -04:00
Sammy James
92b4a12181 [AUTOMERGE]
Added GetPreviousIndex to TCircularBuffer

--------
Integrated using branch UE4-To-UE4-Orion (reversed) of change#2636245 by Sammy.James on 2015/07/28 18:26:26.

[CL 2636246 by Sammy James in Main branch]
2015-07-28 18:26:46 -04:00
Dmitry Rekman
945645d358 Linux: revert the TLS hack now that UE-11541 is fixed.
- We should only use local-dynamic model (when compiling shared objects) now.

[CL 2635917 by Dmitry Rekman in Main branch]
2015-07-28 15:57:42 -04:00
Dmitry Rekman
fad2679c88 Linux: added missing implementation for GetDiskTotalAndFreeSpace().
[CL 2635876 by Dmitry Rekman in Main branch]
2015-07-28 15:38:48 -04:00
Jaroslaw Surowiec
53a64f7aea Core - Updated Kill() comment
[CL 2635723 by Jaroslaw Surowiec in Main branch]
2015-07-28 14:31:25 -04:00
Steve Robb
d1605aa96b FindMatchingClosingParenthesis moved to UnrealString.h, return value fixed (was off-by-one) and checked upper bound of StartSearch.
UnrealHeaderTool now supports casts and brackets when recognizing UENUMs as array bounds.

#codereview robert.manuszewski,leigh.swift,lee.clark

[CL 2635565 by Steve Robb in Main branch]
2015-07-28 13:08:12 -04:00
Michael Trepka
0230ccf39a Fixed mouse position setting/reporting in fullscreen mode on Mac
#codereview Mark.Satterthwaite

[CL 2635451 by Michael Trepka in Main branch]
2015-07-28 11:21:50 -04:00
Andrew Brown
854aa50f53 [INTEGRATE] merge ue4 <-ue4-launcheDev cl 2635304
[CL 2635310 by Andrew Brown in Main branch]
2015-07-28 09:22:54 -04:00
Steve Robb
64cecfb36c Fix for FBitReference assignment.
#codereview robert.manuszewski

[CL 2635237 by Steve Robb in Main branch]
2015-07-28 07:07:13 -04:00
Lee Clark
606456fe94 PS4 - Allow dumping callstack during an assert
#codereview Jaroslaw.Surowiec
#platformnotify Josh.Adams

[CL 2635202 by Lee Clark in Main branch]
2015-07-28 05:58:15 -04:00
Andrew Rodham
9d2dc5245d Re-ordered updating of mac modifier key states to ensure that they are set before dispatching events to Slate Application.
This addresses UE-19036

Reviewed by Michael Trepka

[CL 2635142 by Andrew Rodham in Main branch]
2015-07-28 04:41:52 -04:00
Jaroslaw Surowiec
61269427b9 CIS fix
#platformnotify Josh.Adams

[CL 2634289 by Jaroslaw Surowiec in Main branch]
2015-07-27 14:53:39 -04:00
Peter Sauerbrei
c89c60428e bump up the read size of the pipe reads.
potential fix for UE-17454
#mac

[CL 2634277 by Peter Sauerbrei in Main branch]
2015-07-27 14:44:08 -04:00
Jamie Dale
cfc4051acf Added functions to access low-level file stat data as a single file-system request
You can now use GetStatData to get all of the stat data for a file (its timestamps, size, read-only state, and type (file or directory)) in a single file-system request. Depending on the platform, this can be much more efficient than making multiple requests.

This change also adds alternate directory iteration functions (IterateDirectoryStat and IterateDirectoryStatRecursive) for when you need the stat data along with the files/directories on disk. For platforms that provide this stat data as part of the low-level directory iteration (such as Windows), this can yield much better performance than making two separate file-system requests. Platforms that do not provide this information as part of the directory iteration will just perform a stat request while iterating.

#platformnotify Josh.Adams

[CL 2634161 by Jamie Dale in Main branch]
2015-07-27 13:52:55 -04:00
Jamie Dale
696441f446 Converted the UE4 Windows filesysytem implementation to use Windows API functions for getting file stat data
This yields better performance than using the POSIX wrapper functions, and will also allow us to use the stat data available while walking the directories (see IterateDirectory) without having issues with the two timestamps having different precisions.

Note: The new timestamps are more precise (they have 100-nanosecond precision), so this will result in anything that caches using only timestamps (such as the asset registry) performing a full re-scan. The auto-reimport is immune to this as it also tests the MD5 of the file.

#platformnotify Josh.Adams

[CL 2634112 by Jamie Dale in Main branch]
2015-07-27 13:26:50 -04:00
Jaroslaw Surowiec
e68d57cce4 Crash reporter improvements - More properties added, replaced a few magic strings with constants
#platformnotify Josh.Adams

[CL 2634108 by Jaroslaw Surowiec in Main branch]
2015-07-27 13:23:37 -04:00
Keli Hlodversson
ff2c8ecbac [INTEGRATE] [Mac] Don't forward a left mouse button down event if inside the resize edge of the window, since the OSX window resizing will take over and we'll never get the corresponding mouse up event.
OPP-3803
rb: Michael.Trepka
Merging CL#2629242 using UE4-To-UE4-LauncherDev

[CL 2633916 by Keli Hlodversson in Main branch]
2015-07-27 11:13:49 -04:00
Maciej Mroz
0211be127b Box2d is a struct, not a class.
FNativeClassHeaderGenerator and UStructProperty::GetCPPTypeForwardDeclaration use "struct".

#codereview James.Golding, Dmitriy.Dyomin

[CL 2633787 by Maciej Mroz in Main branch]
2015-07-27 09:34:14 -04:00
Jaroslaw Surowiec
fff75f2667 Added bool to Expose_TFormatSpecifier
[CL 2633592 by Jaroslaw Surowiec in Main branch]
2015-07-27 04:17:01 -04:00
Dmitry Rekman
ce0c438565 Linux: fix crash when saving assets with localized names (UE-18253).
- Removed errorneous duplicate wchar_t->UTF-8 conversion.

[CL 2633420 by Dmitry Rekman in Main branch]
2015-07-26 02:31:07 -04:00
Dmitry Rekman
2a4d80f047 Linux: ungrab all input before breaking into the debugger.
[CL 2633401 by Dmitry Rekman in Main branch]
2015-07-26 00:10:59 -04:00
Peter Knepley
0373d30bc6 Fix crashes due to empty string
Merging 2632414

//depot/UE4-UT/...

to //depot/UE4/...

#codereview Sam.Zamani

[CL 2632431 by Peter Knepley in Main branch]
2015-07-24 13:32:53 -04:00
Robert Manuszewski
3bcc864c3d Added support for loading cooked content in editor.
#codereview Daniel.Lamb

[CL 2632031 by Robert Manuszewski in Main branch]
2015-07-24 05:57:33 -04:00
Matt Kuhlenschmidt
83a2be2c9e Fixed apps still responding controller input once a controller has been removed. The system now sends a final event with default states once the controller is unplugged.
https://jira.ol.epicgames.net/browse/UE-18999

#platformnotify josh.adams

[CL 2631177 by Matt Kuhlenschmidt in Main branch]
2015-07-23 15:51:47 -04:00
Jaroslaw Palczynski
2c16d2b417 FStringAssetReference fixes.
All changes regarding e-mail discussion titled "Asset registry shenanigans".

Changes:
1. Engine now actively is getting rid of short asset paths in FStringAssetReference during saving (for all packages) and loading (only for older packages).
2. Deprecated direct access to FStringAssetReference.AssetLongPathname and exposed it via ToString and SetPath -- SetPath is making sure the path is in correct format. If the path can't be found on disk, the path is cleared.
3. Also access to FStringAssetReference.AssetLongPathnam via Blueprints is guarded using custom Make node function that uses SetPath instead of simple assign.
4. StringAssetReferenceMap will now contain only paths to packages (not objects) and ini references
5. GetDependencies now has additional parameter that lets you chose if it should resolve ini references or not. It was left not as default to keep old behaviour.

[CL 2630589 by Jaroslaw Palczynski in Main branch]
2015-07-23 10:49:29 -04:00