Commit Graph

4684 Commits

Author SHA1 Message Date
Brandon Schaefer
37ec465b0c Fix compiler errors for TestPAL
#jira none
#rb none

[CL 6037679 by Brandon Schaefer in Dev-Editor branch]
2019-04-22 15:03:06 -04:00
Brandon Schaefer
d2a9be21c1 Implement ThreadStackWalkAndDump and CaptureThreadStackBackTrace for Unix Platform
#jira UE-56338
#review @Arciel.Rekman, @Michael.Sartain
#codereview Arciel.Rekman, Michael.Sartain
#rb none

[CL 6012673 by Brandon Schaefer in Dev-Editor branch]
2019-04-19 10:33:57 -04:00
Brandon Schaefer
d61fd76065 If we have our own toolchain make sure we surround the path with quotes for -L
#jira UE-67020
#rb none
#fyi Arciel.Rekman

[CL 5993585 by Brandon Schaefer in Dev-Editor branch]
2019-04-18 17:03:46 -04:00
Jason Stasik
4d63938068 Fix Win7 accessibility problems
#jira UE-72697
#rb jamie.dale

[CL 5839405 by Jason Stasik in Dev-Editor branch]
2019-04-12 11:38:40 -04:00
Jason Stasik
f4e13a6065 V1 accessibility implementation for Slate, Windows, and UMG
Custom min/max support for sliders
#jira UE-72413,UE-72422,UE-72423,UE-72425,UE-72427
#rb chris.gagnon,lauren.ridge,rex.hill

[CL 5808976 by Jason Stasik in Dev-Editor branch]
2019-04-09 12:04:15 -04:00
Chris Gagnon
00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00
Unrealbot
0596d5e658 Branch snapshot for CL 5274649
[CL 5274649 in Dev-Editor branch]
2019-03-04 13:20:47 -05:00
Arciel Rekman
70128fcd1f Make unresolved symbols a compile-time error on Linux.
- This enables reporting of unresolved symbols within a single module. Full reporting (i.e. symbols missing from both library currently being linked and all other
  libraries it is linking to) is not enabled, because it doesn't work with our circular (re)linking scheme. When full reporting is enabled, if module A links to module B
  that links to module A again, then A's symbols referenced in B are reported as unresolved.

- Even with this, some modules cannot be solved at this moment, so this change introduces a setting to opt-out.
   Initially there were 5 modules that needed this opt-out. I solved most of them (some by disabling, since they missed the necessary libs), and now there is only one left.
   Even the last one is solvable (UE-70768), so it is tempting to remove this option. However, I anticipate that there will be moment when a new module addition
   will be breaking CIS due to unresolved symbols, and there will be no immediate and easy way to disable that except for nixing the whole system. Also, licensees may have more.

#rb Ben.Marsh, Anthony.Bills, Brandon.Schaefer
#fyi Marcin.Undak, Michael.Sartain, Brandon.Schaefer

[CL 5237830 by Arciel Rekman in Dev-Editor branch]
2019-02-28 08:52:50 -05:00
Chris Gagnon
42c199aeb6 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5225772 by Chris Gagnon in Dev-Editor branch]
2019-02-27 11:02:17 -05:00
Arciel Rekman
5620411e41 Linux: reduce monolithic binary sizes.
#rb Brandon.Schaefer
#fyi Brandon.Schaefer
#jira none

[CL 5224543 by Arciel Rekman in Dev-Editor branch]
2019-02-27 07:28:15 -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
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