Commit Graph

356 Commits

Author SHA1 Message Date
jon nabozny
d92450caa5 Generate enums with RepIndex values for native Replicated Properties.
These can be used with simple macro expansions to get Rep Indices for properties without actually looking up UProperty pointers.

[at]LouisPhilippe.Seguin, [at]Brian.Bekich, [at]Ryan.Gerleve
#rb Steve.Robb, Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 9746038 via CL 9746044
#ROBOMERGE-BOT: (v542-9736015)

[CL 9746047 by jon nabozny in Main branch]
2019-10-22 11:26:43 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
Marc Audy
d078ac3f77 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 9298289
#rb
#rnx

[CL 9300430 by Marc Audy in Dev-Framework branch]
2019-09-30 11:36:53 -04:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -04:00
Marc Audy
5fb00d38a0 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 8902520
#rb
#rnx

[CL 8914290 by Marc Audy in Dev-Framework branch]
2019-09-19 17:46:29 -04:00
Fred Kimberley
23619b8516 Added a sidecar data structure to hold data that is constant for all members of the same class. This data will now be stored per class instead of being stored per instance. This can result in substantial memory savings for classes that have many instances and constant data. Good candidates for identify this type of data are member variables that are marked as EditDefaultsOnly and BlueprintReadOnly.
#rb Michael.Noland
#jira UE-80589

[CL 8899817 by Fred Kimberley in Dev-Framework branch]
2019-09-19 15:39:36 -04:00
Marc Audy
8df336162c Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main) @ 8782600
#rb
#rnx

[CL 8783278 by Marc Audy in Main branch]
2019-09-17 19:12:19 -04:00
brandon schaefer
a715ea4f14 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

[CL 8658680 by brandon schaefer in Main branch]
2019-09-12 14:21:26 -04:00
Helge Mathee
db0c0c2303 * Added more stats to the Unreal Header Tool
* Fixed a nullptr bug in the PropertyDelegate
* Added PropertyDelegate test to the UnrealHeaderTool

#rb steve.robb lina.halper

[CL 7226845 by Helge Mathee in Dev-Anim branch]
2019-07-08 08:49:02 -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
stefan boberg
7f1f94b842 Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: stefan.boberg
#ROBOMERGE-SOURCE: CL 6815521 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6821478 by stefan boberg in Dev-Anim branch]
2019-06-03 19:17:40 -04:00
Stefan Boberg
8607ecb30d Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6815521 by Stefan Boberg in Main branch]
2019-06-03 15:32:00 -04:00
bob tellez
df6b90ade3 #UE4 Add a little more information to a UHT error
#ROBOMERGE-VERSION: 348-6547088
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 6537543 via CL 6539299 via CL 6539405
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6566016 by bob tellez in Dev-Anim branch]
2019-05-18 10:50:20 -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
bob tellez
6ace8833dc #UE4 Add a little more information to a UHT error
#ROBOMERGE-SOURCE: CL 6537543 via CL 6539299

[CL 6539405 by bob tellez in Main branch]
2019-05-16 16:26:51 -04:00
Johan Torp
b6207ed8ee Deprecated default FName operator < and >
We've had several cases where the previously default alphabetical sorting caused performance issues when it wasn't needed. We now require you to explicitly choose either slow alphabetical sorting or fast non-alphabetical order.

The fast order does not decode, access or compare actual string data, but the order is not stable between process runs.

#rb steve.robb

[CL 5915265 by Johan Torp in Dev-Core branch]
2019-04-16 07:16:12 -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
d5232114b6 Dynamic Multicast delegates can now specify that their storage be stored in a sparse allocation for delegates that are expected to be bound rarely. The memory usage of an unbound sparse delegate is 1 byte instead of 16 bytes (for the empty array), however, a bound sparse delegate will have access overhead to retrieve the invocation list from the sparse object annotation.
The definition of the delegate type must specify the class and property name of the delegate that will use it and the type cannot be used outside of that context or just on the stack.
UMulticastDelegateProperty is now abstract and has 2 subclasses (UMulticastDelegateInlineProperty and UMulticastDelegateSparseProperty). The SparseProperty SignatureFunction will be a USparseDelegateFunction.
The sparse delegates do not work correctly with the python bindings at this point, but this will be visited soon.
#rb Michael.Noland
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5295832 via CL 5306530 via CL 5306657
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5322213 by marc audy in Dev-Anim branch]
2019-03-06 18:02:30 -05:00
marc audy
c1a6f81b37 Dynamic Multicast delegates can now specify that their storage be stored in a sparse allocation for delegates that are expected to be bound rarely. The memory usage of an unbound sparse delegate is 1 byte instead of 16 bytes (for the empty array), however, a bound sparse delegate will have access overhead to retrieve the invocation list from the sparse object annotation.
The definition of the delegate type must specify the class and property name of the delegate that will use it and the type cannot be used outside of that context or just on the stack.
UMulticastDelegateProperty is now abstract and has 2 subclasses (UMulticastDelegateInlineProperty and UMulticastDelegateSparseProperty). The SparseProperty SignatureFunction will be a USparseDelegateFunction.
The sparse delegates do not work correctly with the python bindings at this point, but this will be visited soon.
#rb Michael.Noland
#jira

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5295832 via CL 5306530 via CL 5306657
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5321998 by marc audy in Dev-Core branch]
2019-03-06 18:01:51 -05:00
marc audy
6eb7dba1ac Dynamic Multicast delegates can now specify that their storage be stored in a sparse allocation for delegates that are expected to be bound rarely. The memory usage of an unbound sparse delegate is 1 byte instead of 16 bytes (for the empty array), however, a bound sparse delegate will have access overhead to retrieve the invocation list from the sparse object annotation.
The definition of the delegate type must specify the class and property name of the delegate that will use it and the type cannot be used outside of that context or just on the stack.
UMulticastDelegateProperty is now abstract and has 2 subclasses (UMulticastDelegateInlineProperty and UMulticastDelegateSparseProperty). The SparseProperty SignatureFunction will be a USparseDelegateFunction.
The sparse delegates do not work correctly with the python bindings at this point, but this will be visited soon.
#rb Michael.Noland
#jira


#ROBOMERGE-SOURCE: CL 5295832 via CL 5306530

[CL 5306657 by marc audy in Main branch]
2019-03-05 17:26:36 -05:00
Steve Robb
09166f4e44 Removal of obsolete error, as UCLASSes can now be defined in any header, not just one entitled <ClassNameWithNoPrefix>.h.
#rb johan.torp

[CL 4947302 by Steve Robb in Dev-Core branch]
2019-02-08 07:33:23 -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
Marc Audy
e5610adfd8 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ 4802313
#rb
#rnx
#lockdown Laurent.Delayen

[CL 4803512 by Marc Audy in Dev-Anim branch]
2019-01-24 15:32:49 -05:00
steve robb
3737f30613 Refactored structs to reduce executable space from UHT-generated code tables.
#rb robert.manuszewski
[FYI] peter.sauerbrei


#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 4784689 via CL 4789908 via CL 4794430
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 4799131 by steve robb in Dev-Core branch]
2019-01-24 09:43:19 -05:00
steve robb
7cf58294ce Refactored structs to reduce executable space from UHT-generated code tables.
#rb robert.manuszewski
[FYI] peter.sauerbrei



#ROBOMERGE-SOURCE: CL 4784689 via CL 4789908

[CL 4794430 by steve robb in Main branch]
2019-01-24 04:28:21 -05:00