Commit Graph

4674 Commits

Author SHA1 Message Date
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
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
Chris Gagnon
a48e767b94 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4835066 by Chris Gagnon in Dev-Editor branch]
2019-01-29 16:15:19 -05:00
Chris Gagnon
0dbe1f7fb2 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4766091 by Chris Gagnon in Dev-Editor branch]
2019-01-21 17:47:02 -05:00
Jamie Dale
a27aefcf57 Changed some of the localization automation to use classes with read-only members, rather than use structs
#jira UE-65600
#rb Francis.Hurteau
#lockdown Matt.Kuhlenschmidt

[CL 4762550 by Jamie Dale in Dev-Editor branch]
2019-01-21 12:57:05 -05:00
Jamie Dale
adc2fefb19 Added support for splitting off per-platform localization
This is handled by the ELocTextPlatformSplitMode enum, used by FLocTextHelper (default is ELocTextPlatformSplitMode::None to preserve old behavior), and allows you to optionally split localization data for all platforms, or for any NDA restricted platforms. Note: Any localization data that is used by multiple platforms is still considered platform agnostic, even if it appears only within platform specific files.

#jira UE-65600
#rb Francis.Hurteau
#lockdown Matt.Kuhlenschmidt

[CL 4761508 by Jamie Dale in Dev-Editor branch]
2019-01-21 11:07:47 -05:00
Chris Gagnon
1dd3e0189f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4730305 by Chris Gagnon in Dev-Editor branch]
2019-01-15 18:47:22 -05:00
Chris Gagnon
1a3bf5caf1 Merging The Engine directory from //UE4/Dev-Main to //UE4/Dev-Editor upto CL 4698813
#rb none

[CL 4720826 by Chris Gagnon in Dev-Editor branch]
2019-01-14 16:55:55 -05:00
Chris Gagnon
a663893f74 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4685411 by Chris Gagnon in Dev-Editor branch]
2019-01-07 12:35:05 -05:00
Brandon Schaefer
fdca6569d6 Fix UnrealVersionSelectors slate window and defaults for running a uproject shortcut
#jira UE-67004, UE-68057
#rb Arciel.Rekman

[CL 4684816 by Brandon Schaefer in Dev-Editor branch]
2019-01-07 10:46:48 -05:00
Brandon Schaefer
ca31a16f10 Convert from wchar to tchar and tchar_to_wchar when needed in UnrealCEF
#jira UE-67967
#rb none

[CL 4679153 by Brandon Schaefer in Dev-Editor branch]
2019-01-03 13:35:50 -05:00
Brandon Schaefer
7bf95a5dcd Linux: fix iterative deployment
#jira UE-67255
#rb Arciel.Rekman

[CL 4679128 by Brandon Schaefer in Dev-Editor branch]
2019-01-03 13:27:24 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Brandon Schaefer
a0afd67f03 Disable XGE again for cross compiling Linux builds
#jira UE-67657
#rb none
#lockdown matt.kuhlenschmidt

[CL 4666034 by Brandon Schaefer in Dev-Editor branch]
2018-12-17 11:52:17 -05:00
Matt Kuhlenschmidt
7a313bf0eb Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4659626 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-12-13 17:04:16 -05:00
Matt Kuhlenschmidt
f4b5f6c454 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4650481 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-12-11 17:08:36 -05:00
Matt Kuhlenschmidt
fcc9402ceb Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4623549 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-12-03 09:48:43 -05:00
Jamie Dale
9310bde898 Added support for staging DLC localization data, and consistently implemented target exclusion
#rb Francis.Hurteau

[CL 4597248 by Jamie Dale in Dev-Editor branch]
2018-11-27 11:49:20 -05:00
Matt Kuhlenschmidt
cde8160913 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4572510 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-16 11:15:08 -05:00
Matt Kuhlenschmidt
0751bf9e3a Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4566293 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-14 15:27:39 -05:00
Matt Kuhlenschmidt
46e3285149 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4543237 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-06 10:00:36 -05:00
Michael Trepka
616a9180ca Fixed a crash in MacToolChain caused by an attempt to access null bundle path when linking a plugin during hot reload
#jira UE-55319
#rb none

[CL 4528901 by Michael Trepka in Dev-Editor branch]
2018-10-31 15:18:56 -04:00
Brandon Schaefer
3852357bf3 Linux: An update in xgConsole seems to have fixed non-portable path issue renable for testing
#jira UE-64476
#rb none

[CL 4427277 by Brandon Schaefer in Dev-Editor branch]
2018-10-04 10:01:41 -04:00
Chris Gagnon
3b0d8d1657 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4421336 by Chris Gagnon in Dev-Editor branch]
2018-10-03 11:55:52 -04:00