Commit Graph

3765 Commits

Author SHA1 Message Date
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Marc Audy
cf48c338c5 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 6834564
#rb
#rnx
#lockdown Michael.Noland

[CL 6834940 by Marc Audy in Dev-Framework branch]
2019-06-04 09:58:36 -04:00
Marc Audy
06245c632f Allow a different heading to be specified for the dumping of a stack trace to log
#rb Steve.Robb

[CL 6675833 by Marc Audy in Dev-Framework branch]
2019-05-30 10:34:24 -04:00
Marc Audy
6fb39af50b Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 6662737
#rb
#rnx

[CL 6664141 by Marc Audy in Dev-Framework branch]
2019-05-29 11:33:11 -04:00
Dan Oconnor
9e15a34bf1 Add editor only commands to audit bytecode contents
#rb Phillip.Kavan
#jira None

[CL 6623723 by Dan Oconnor in Dev-Framework branch]
2019-05-23 18:25:36 -04:00
Marc Audy
a3cfddf7f6 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 6547008
#rb
#rnx

[CL 6548655 by Marc Audy in Dev-Framework branch]
2019-05-17 17:18:20 -04:00
Ben Zeigler
f3bc9d692b Improve comments about SaveGame property flag to make it clear it's not used by the GameplayStatics functions
#rb none

[CL 6430112 by Ben Zeigler in Dev-Framework branch]
2019-05-13 15:14:12 -04:00
Marc Audy
35f80e9791 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 6278427
#rb
#rnx

[CL 6316100 by Marc Audy in Dev-Framework branch]
2019-05-06 08:45:12 -04:00
Marc Audy
a59ec411f9 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 6142244
#rb
#rnx

[CL 6173076 by Marc Audy in Dev-Framework branch]
2019-04-30 10:19:36 -04:00
Dan Oconnor
1057caa0d6 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @5937262
#rb None

[CL 5965729 by Dan Oconnor in Dev-Framework branch]
2019-04-17 22:11:57 -04:00
Dan Oconnor
75fa0c83b8 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework)
#rb none

[CL 5812824 by Dan Oconnor in Dev-Framework branch]
2019-04-09 16:29:40 -04:00
Marc Audy
cd3793f499 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5683886
#rb
#rnx

[CL 5685324 by Marc Audy in Dev-Framework branch]
2019-04-02 09:36:42 -04:00
Ben Zeigler
82b04f7eea #jira UE-72009 Fix issue where soft object ptrs would break when the asset they pointed to was reimported. As we only invalidate the soft object tag on object load instead of object create we now need to do a full resolve if the weak pointer is stale
Add IsExplicitlyNull to check if a weak object ptr is really null instead of just missing, this is much faster to call than IsStale()
Comment and coding standard fixes for weak object ptr requested on review
#rb michael.noland
#codereview steve.robb

[CL 5675642 by Ben Zeigler in Dev-Framework branch]
2019-04-01 17:47:16 -04:00
Ben Zeigler
fe30e9e82c #jira UE-56202 Add support for ExportText to export the user-added names for user structs and enums instead of always using the internal mangled name. This fixes data table export for nested structs
Add new GetAuthoredName functions to UField and UEnum that expose this via virtuals instead of doing it in data table utils
If PPF_ExternalEditor is passed to export text, it uses the authored names and also turns off delta serialization for containers
Change CustomFindProperty to not be editor only and add CheckAuthoredName to enum name lookup, this allows importing data tables using user structs at runtime for hot fixing
Deprecate UsePrettyProperty/EnumNames for data table export, the comments were wrong before and that behavior is now always enabled
Changed several functions with "DisplayName" to use authored or friendly name instead, as DisplayName should always refer to the DisplayName MetaData and is usually translated
#rb michael.noland

[CL 5538646 by Ben Zeigler in Dev-Framework branch]
2019-03-25 16:26:17 -04:00
Marc Audy
502f469036 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5503639
#rb
#rnx

[CL 5504188 by Marc Audy in Dev-Framework branch]
2019-03-22 14:59:27 -04:00
Marc Audy
82e0666ce7 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5450266
#rb
#rnx

[CL 5459329 by Marc Audy in Dev-Framework branch]
2019-03-19 16:16:11 -04:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00
Chris Gagnon
80918bea22 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5110714 by Chris Gagnon in Dev-Editor branch]
2019-02-21 13:05:30 -05:00
Michael Sartain
af33ef1517 Implement better Linux CreateGuid using SYS_getrandom (if available)
Getrandom syscall was introduced in version Linux kernel v3.17.

Can be disabled with -norandomguids command line option.

On my Ubuntu 18.04 test machine[**], single threaded perf is slightly slower,
but performance with multiple threads improves:

  With Threads: 1, Calls: 1000000
    FGenericPlatformMisc::CreateGuid: 0.316885 seconds
    FPlatformMisc::CreateGuid:        0.544386 seconds

  With Threads: 8, Calls: 1000000
    FGenericPlatformMisc::CreateGuid: 5.867290 seconds
    FPlatformMisc::CreateGuid:        3.035365 seconds

  With Threads: 16, Calls: 1000000
    FGenericPlatformMisc::CreateGuid: 10.914646 seconds
    FPlatformMisc::CreateGuid:         5.897632 seconds

[**]
  4.15.0-45-generic
  Intel(R) Xeon(R) Gold 6134 CPU @ 3.20GHz)

Guids with getrandom() appear to be significantly more random:
 0 GuidGeneric:{4240FA8F-08D6-974C-F710-112EB0D1AB97} GuidPlatform:{F49E1FFA-67A1-4702-B065-6E1B6385BC5E}
 1 GuidGeneric:{4241444E-08D6-974C-F710-1296B0D1ABB9} GuidPlatform:{77D96835-24F5-4A27-B9E7-70985316285F}
 2 GuidGeneric:{4242B446-08D6-974C-F710-13CCB0D1ABD9} GuidPlatform:{80C46DF2-6DD1-4B27-B1BD-CC279B5874A0}
 3 GuidGeneric:{424386A9-08D6-974C-F710-1502B0D1ABF8} GuidPlatform:{5DA06154-78A5-47BB-A9A6-75B220950F31}
 4 GuidGeneric:{424436F2-08D6-974C-F710-1638B0D1AC17} GuidPlatform:{880670CF-0ABF-491F-80A4-91C28B6D5B2F}

#jira UE-4447
#codereview Arciel.Rekman, Brandon.Schaefer
#review-5097118 @Arciel.Rekman, @Brandon.Schaefer
#fyi Chris.Babcock
#rb Arciel.Rekman, Brandon.Schaefer

[CL 5110574 by Michael Sartain in Dev-Editor branch]
2019-02-21 12:43:01 -05:00
Rex Hill
9aee7e4739 Clamp FTimespan value inside the wait function of the Event class.
Timespans longer than 4294967295 milliseconds were wrapping around to zero.

#jira UE-69892
#rb steve.robb

[CL 4969245 by Rex Hill in Dev-Editor branch]
2019-02-12 10:22:10 -05:00
Brandon Schaefer
d9d81c3c50 Add support for VTABLE export on Android
#jira none
#rb Chris.Badcock

[CL 4951063 by Brandon Schaefer in Dev-Editor branch]
2019-02-08 15:26:39 -05:00
Brandon Schaefer
3599185aef Fix build errors on Windows
Need to avoid marking a static variable dllexport in an interface of a dllexported class

#jira none
#rb Arciel.Rekman

[CL 4924805 by Brandon Schaefer in Dev-Editor branch]
2019-02-06 17:21:28 -05:00
Brandon Schaefer
0cd2f97949 When including headers from a third party that is compiled with default visibility we need to include the headers as such
This is due to a weak symbol that wont be able to be overriden correctly

#jira none
#rb Michael.Trepka

[CL 4923720 by Brandon Schaefer in Dev-Editor branch]
2019-02-06 14:55:50 -05:00
Brandon Schaefer
e330479d73 Symbols are now hidden by default for Linux/Mac
Add support for MODULE_VTABLE for exposing the VTable (Also optionally if enabled RTTI) info for a given type for clang (Linux/Mac)

Rename command line arg bHideSymbolsByDefault to bPublicSymbolsByDefault, as well as now add support for setting this change the BuildConfiguration.xml file

Started from Github PR #3351 though a different way to go about it

#jira UE-42635
#rb Arciel.Rekman, Steve.Robb, Ben.Marsh, Michael.Trepka
#fyi Chris.Bunner, Chris.Gagnon

[CL 4923631 by Brandon Schaefer in Dev-Editor branch]
2019-02-06 14:44:31 -05:00
Marc Audy
bcc53f72d7 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4898645
#rb
#rnx

[CL 4917956 by Marc Audy in Dev-Framework branch]
2019-02-05 23:17:27 -05:00