Commit Graph

736 Commits

Author SHA1 Message Date
Lina Halper
e513ea2300 Named FMatrix/FTransform unsafe Inverse to InverseFast, and InverseSafe,InverseSlow to Inverse as people often use Inverse as default function.
- Inverse was one of the main reasons of crashes via lots of functions. Seems making default Inverse to be safer version seems better.

[CL 2255081 by Lina Halper in Main branch]
2014-08-13 15:29:41 -04:00
Steve Robb
73858ff374 Checks to ensure that you don't insert map elements into itself, causing invalid pointers on reallocation.
#codereview robert.manuszewski,mark.satterthwaite

[CL 2254975 by Steve Robb in Main branch]
2014-08-13 14:29:07 -04:00
Steve Robb
57dd5d7493 New ENUM_CLASS_FLAGS macro for declaring all of the bitwise operators needed for a bitflags enum.
Fixed CONSTEXPR definitions.
Converted EFontImportFlags to an enum class in order to test this feature.

#codereview robert.manuszewski,john.barrett

[CL 2254804 by Steve Robb in Main branch]
2014-08-13 12:53:47 -04:00
Jaroslaw Surowiec
d8dae3908b Stats - Fixed a warning about duplicated thread metadata
[CL 2254768 by Jaroslaw Surowiec in Main branch]
2014-08-13 12:08:40 -04:00
Matt Kuhlenschmidt
c9e6d019a8 UMG - Animation setup overhaul. You can now create multiple animations. Each animation will create a variable which you can use to Play/Stop animations at runtime in a widget blueprint graph
[CL 2253547 by Matt Kuhlenschmidt in Main branch]
2014-08-12 16:34:22 -04:00
Jaroslaw Surowiec
1a83c63ac9 Core - Added a missing method to LFL128
[CL 2253215 by Jaroslaw Surowiec in Main branch]
2014-08-12 13:13:47 -04:00
Dmitry Rekman
565f454946 Fix for Shipping build from PR #356
- Found/fixed by maseck.

#codereview Robert.Manuszewski, Ben.Marsh

[CL 2253191 by Dmitry Rekman in Main branch]
2014-08-12 12:58:39 -04:00
Steve Robb
82fcd06c42 enum class support for UENUMs. Currently only supports enum classes of underlying type uint8, because the property system needs to be updated to handle more than that.
EPropertyReferenceFlags removed too, because it is unused.

#ttp 329394: UHT: Support the C++ "enum class" syntax for UENUMs

#codereview robert.manuszewski

[CL 2252907 by Steve Robb in Main branch]
2014-08-12 08:51:25 -04:00
Dmitry Rekman
ae302a597c Cosmetics: fix formatting.
[CL 2252232 by Dmitry Rekman in Main branch]
2014-08-11 20:29:54 -04:00
Saul Abreu
b2d1d99b66 Enabled ICU on Android. Added necessary building information for ICU module on Android. Corrected unspecified Android native string encoding. Added staging/deploying of ICU data on Android. UE4 on Android now uses the GNUSTL_Shared shared object as the C++ runtime.
[CL 2251976 by Saul Abreu in Main branch]
2014-08-11 17:27:11 -04:00
Saul Abreu
1f8aa5c495 Fixed text test that was incorrectly comparing the number of code units in a string of one type to the number of code points in another type.
[CL 2251957 by Saul Abreu in Main branch]
2014-08-11 17:26:46 -04:00
Dmitry Rekman
e9f8e5798a Linux window changes from PR #306.
[CL 2251775 by Dmitry Rekman in Main branch]
2014-08-11 15:30:21 -04:00
Dmitry Rekman
7f64a07c45 Removing errorneous check that broke iOS.
#codereview Peter.Sauerbrei

[CL 2251601 by Dmitry Rekman in Main branch]
2014-08-11 14:57:11 -04:00
Jamie Dale
9a1de2b5fe Fixed a crash when an IME was active when the editor was started
TTP# 340272 - IME crash when typing Korean in the Description TextBlock of SSourceControlSubmitWidget

- FWindowsTextInputMethodSystem::Initialize now checks if an IME is active when it's called, and will update the active IME state appropriately.
- Changed TSF to use AssociateFocus rather than SetFocus to fix some issues where the IME would become active incorrectly when the window focus was changed.
- Some belt-and-braces fixes for the IMM based code path (which was what was showing the crash, even though a TSF based IME was active).

#codereview Saul.Abreu, Max.Preussner

[CL 2251530 by Jamie Dale in Main branch]
2014-08-11 12:45:31 -04:00
Mark Satterthwaite
8c57a3d6c4 Expose the default GPU name on OS X.
#codereview michael.trepka

[CL 2251347 by Mark Satterthwaite in Main branch]
2014-08-11 09:30:13 -04:00
Gil Gribb
e4aac4a622 UE4 - fix lifo task graph behavior. Fix permanent stats "single stepping" when no stats are enabled, prevent draw events from being emitted when parallel rendering
[CL 2251287 by Gil Gribb in Main branch]
2014-08-11 08:19:59 -04:00
Mark Satterthwaite
4a4bb98c22 As a temporary band-aid for command-key suppressing keyup events on Mac OS X, intercept them and handle them directly.
#codereview michael.trepka

[CL 2251213 by Mark Satterthwaite in Main branch]
2014-08-11 05:54:18 -04:00
Dmitry Rekman
7fb45d090a Support more output devices on Linux.
- Partially based on PR #306 submission, corrected for cross-compiling.
- Each platform is now able to set up output devices for logging according to its own needs.

#codereview Josh.Adams, Michael.Trepka

[CL 2249193 by Dmitry Rekman in Main branch]
2014-08-08 21:42:14 -04:00
Rolando Caloca
eb6b518911 UE4 - Integrate from FNM
[CL 2248878 by Rolando Caloca in Main branch]
2014-08-08 16:16:23 -04:00
Justin Sargent
0c9c68e314 Added an IsEmptyOrWhitespace function to FText
[CL 2248742 by Justin Sargent in Main branch]
2014-08-08 14:44:33 -04:00
Jamie Dale
134b4be302 Added a CamelCase break iterator for use by the text layout
TTP#322500 - UX: Add wrapping of Asset Names based on CamelCase and Underscores, not just spaces

- Refactored the existing break iterators to share the same interface so that they could be swapped out at runtime.
- Made the iterators recyclable (so you can change the string rather than have to allocate a new iterator).
- Removed the public interfaces for the different break iterator types - they're all now accessed via IBreakIterator and are created via the relevant function in FBreakIterator.
- Removed a load of duplication in the ICU break iterators.
- Made FTextLayout accept a custom line break iterator (as used by its wrapping cache).
- Fixed a crash where the legacy line or word break iterators could underflow/overflow the string range.

ReviewedBy Justin.Sargent

[CL 2248547 by Jamie Dale in Main branch]
2014-08-08 11:23:20 -04:00
Steve Robb
31daaa978f Fix for TMap/TSet move semantics.
Allocator traits for FDefaultBitArrayAllocator fixed, which properly enables TSparseArray, TSet, TMap etc. move semantics.
Other missing allocator traits added.
TPair made move-aware.

#codereview robert.manuszewski

[CL 2248406 by Steve Robb in Main branch]
2014-08-08 09:07:47 -04:00
Zak Middleton
c1b300de77 #ue4 - FRandomStream.GetUnitVector() generates new sample if vector length is very small (improving precision and avoiding potential NaN).
[CL 2247803 by Zak Middleton in Main branch]
2014-08-07 19:39:50 -04:00
Josh Markiewicz
c18a424666 Weekly Fort Dev -> Main integration from UE4-Fortnite-CL-2245134
MCP
 "app" : "fortnite",
  "moduleName" : "Fortnite-PublicService",
  "branch" : "TRUNK",
  "build" : "306",
  "cln" : "2245028",
  "version" : "UNKNOWN"

[CL 2247600 by Josh Markiewicz in Main branch]
2014-08-07 17:34:29 -04:00
Matt Kuhlenschmidt
2927051971 Fixed crash importing a static mesh with no triangles and then opening the mesh in the static mesh editor
[CL 2247575 by Matt Kuhlenschmidt in Main branch]
2014-08-07 17:19:22 -04:00