Commit Graph

76 Commits

Author SHA1 Message Date
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
fred kimberley
e7e64e1749 Make FVector conversions explicit.
#preflight 6221270ea00412627d0b7dd3
#jira UE-122078
#lockdown Julien.Marchand
#rb Andrew.Davidson

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 19253774 in //UE5/Release-5.0/... via CL 19257968
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263535 by fred kimberley in ue5-main branch]
2022-03-04 03:48:53 -05:00
marc audy
cff01aa9fa Added support for native FProperty setters and getters.
Setters and getters are native functions called by FProperties when setting property values with *_InContainer functions.
Setters and getter function names can be manually specified with Setter = Func and Getter = Func keywords inside of UPROEPRTY macro but they will also be automatically parsed if the name is not explicitly specified if the setter or getter function name matches SetPropertyName and GetPropertyName pattern.
The latter behavior can be disabled in UHT's DefaultEngine.ini by setting AutomaticSettersAndGetters=False.
ImportText and ExportTextItem functions have been deprecated and should be replaced with *_InContainer or *_Direct variants.

#rb Steve.Robb
#preflight 6210a377a83e0bcefd03d9e1

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19070318 via CL 19098059 via CL 19104650 via CL 19104661 via CL 19110012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147839 by marc audy in ue5-main branch]
2022-02-25 10:39:39 -05:00
simon therriault
cebbbbf8b3 - Debackout with CIS fix -> Updating MessageBus protocol and CBor serialization backend to support communication between LWC and non LWC endpoints
#rb francis.hurteau, jason.walter
#jira UE-142171
#preflight 62067326ad10bdb30a9f0361
#lockdown alejandro.arango

#ROBOMERGE-AUTHOR: simon.therriault
#ROBOMERGE-SOURCE: CL 18957877 in //UE5/Release-5.0/... via CL 18958785 via CL 18959502
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18959726 by simon therriault in ue5-main branch]
2022-02-11 15:17:57 -05:00
eric mcdaniel
36b8f32278 [Backout] - CL18942719
Backing out due to Horde cook breakage:  https://horde.devtools.epicgames.com/job/620596dc6d374b98b0977945?step=dad9

#preflight https://horde.devtools.epicgames.com/job/6205b061672f831308bc87ef

[FYI] Simon.Therriault
Original CL Desc
-----------------------------------------------------------------
- Updating MessageBus protocol and CBor serialization backend to support communication between LWC and non LWC endpoints

#rb francis.hurteau, jason.walter
#lockdown alejandro.arango
#jira UE-142171
#preflight 62055181a155a4cddac2660c

#ROBOMERGE-AUTHOR: eric.mcdaniel
#ROBOMERGE-SOURCE: CL 18947525 in //UE5/Release-5.0/... via CL 18947673 via CL 18947789
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18947792 by eric mcdaniel in ue5-main branch]
2022-02-10 20:22:10 -05:00
simon therriault
6f30b4bbd6 - Updating MessageBus protocol and CBor serialization backend to support communication between LWC and non LWC endpoints
#rb francis.hurteau, jason.walter
#lockdown alejandro.arango
#jira UE-142171
#preflight 62055181a155a4cddac2660c

#ROBOMERGE-AUTHOR: simon.therriault
#ROBOMERGE-SOURCE: CL 18942719 in //UE5/Release-5.0/... via CL 18942896 via CL 18943183
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18943201 by simon therriault in ue5-main branch]
2022-02-10 16:32:31 -05:00
Zousar Shaker
9abf3ef937 Wrapped ObjectPtr upgrade refresh for Engine + ShooterGame
#rb none
#preflight 60f6411c35476b00018dd12c

[CL 16892864 by Zousar Shaker in ue5-main branch]
2021-07-20 00:21:34 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Zousar Shaker
ab3554e509 Finding and addressing codepaths that check property type by explicitly checking equality with FObjectProperty::StaticClass() or FClassProperty::StaticClass(). Changing them to instead use CastField<FObjectProperty> (which will generically handle both FObjectProperty, FClassProperty, and any of their derivatives). Could be further genericized in the future to use FObjectPropertyBase, but don't want to add more risk by introducing that at this point.
Confirmed that now System.Core.Serialization.StructElementSerializer and System.Core.Serialization.StructSerializer unit tests are passing.

#rb francis.hurteau

[CL 15294198 by Zousar Shaker in ue5-main branch]
2021-02-03 12:08:22 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Tim Smith
cfa806be28 Fixing PVS 7.7 Issues:
warning V522: Dereferencing of the null pointer 'CurrentState.Property' might take place.

#rb trivial
#jira UE-91644

[CL 15068217 by Tim Smith in ue5-main branch]
2021-01-13 12:39:10 -04:00
simon therriault
6783250220 #ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: simon.therriault
#ROBOMERGE-COMMAND: _robomerge[starship] ue5-main
#ROBOMERGE-SOURCE: CL 14469520 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v749-14533626)

[CL 14538294 by simon therriault in ue5-main branch]
2020-10-21 15:25:18 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
robert manuszewski
b7568cc694 Fix for UE-90683: You can no longer delete conflicting variables
Refactored FindField into FindUField and FindFProperty to avoid confusion caused by the fact that FindField<UField> will no longer return FProperties.

#jira UE-90683
#rb Steve.Robb
#tests Basic editor functionality test, cooked and ran PC client and server, bot soak tests for two hours

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 12190998 in //UE4/Release-4.25/... via CL 12190999
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12191300 by robert manuszewski in Main branch]
2020-03-15 10:33:45 -04:00
Patrick Boutot
b67ff68e04 Copying //UE4/Dev-VirtualProduction to //UE4/Dev-Tools-Staging @ 11168401
#rb none
#rnx

[CL 11170710 by Patrick Boutot in Dev-Tools-Staging branch]
2020-01-29 18:45:15 -05:00
Patrick Laflamme
4c16748532 #jira UE-86585 //UE4/Dev-Tools-Staging - Run EngineTest System_Win64Editor - Expected 'Arrays of int8/uint8 must be encoded in byte string (compact)' to be true
- Fixed an incorrect convertion introduced in CBOR struct serializer when UProperty where changed to FProperty.

#rb Francis.Hurteau

[CL 10944479 by Patrick Laflamme in Dev-Tools-Staging branch]
2020-01-10 14:55:24 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
jeanmichel dignard
2ce7666d2d Copying //UE4/Dev-Core [at] 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

#ROBOMERGE-OWNER: jeanmichel.dignard
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 10708666 in //UE4/Main/...
#ROBOMERGE-BOT: TOOLS (Main -> Dev-Tools-Staging) (v626-10872990)

[CL 10898071 by jeanmichel dignard in Dev-Tools-Staging branch]
2020-01-07 15:54:23 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
Patrick Laflamme
9a05fa8a66 #jira UE-82713 - Make FStructSerializer/FCborStructSerializerBackend serialize TArray<uint8>/TArray<int8> as an arbitrary stream of bytes
- Reduced the CBOR encoded size of TArray<uint8>/TArray<int8> by a factor of two (approximatively) by encoding the bytes as byte string rather than CBOR arrays of numbers.
  - The CborStructDeserializerBackend is fully backward compatible and can read the new and the old format without any code change.
  - The CborStructSerializerBackend default to the new format, but can be configured to output the old format.

This partially addresses #jira UE-78722 - Potential Memory Leak with Disaster Recovery Plugin
  - Sending large packages (containing 4K texture) to Disaster Recovery use about half the memory and bandwith previously required and greatly reduce the memory footprint of Disaster Recovery.

#rb Jamie.Dale, Francis.Hurteau (Swarm Review ID 9971661)

[CL 10321854 by Patrick Laflamme in Dev-VirtualProduction branch]
2019-11-20 13:14:21 -05:00
Josh Markiewicz
d79515867d Copying //UE4/Dev-Online to Dev-Main (//UE4/Dev-Main)
- Up to CL8320930 from DevOnline and 8311605 Merge Down from Main
- skipped some Fortnite content/plugins/code where it tried to reintegrate files that had been moved pending investigation
#rb none

[CL 8321295 by Josh Markiewicz in Main branch]
2019-08-26 18:35:22 -04:00
francis hurteau
064b605acd Fixed deserialization into bitfield property in StructDeserializer
Added proper bitfield serialization test for StructSerializer

#jira UE-76435
#rb Jamie.Dale

#ROBOMERGE-SOURCE: CL 7064338 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7064352 by francis hurteau in Main branch]
2019-06-18 11:46:40 -04:00
JeanMichel Dignard
0f9ad96858 Copying //UE4/Dev-Enterprise @ cl 6890376 to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden
#rb none

[CL 6890764 by JeanMichel Dignard in Main branch]
2019-06-07 11:22:52 -04:00