Commit Graph

244 Commits

Author SHA1 Message Date
Lina Halper
b0bdc590d5 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim)
#lockdown: thomas.sarkanen
#fyi: Laurent.Delayen
#rb: none

[CL 6861656 by Lina Halper in Dev-Anim branch]
2019-06-06 12:33:54 -04:00
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
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
jamie dale
d0c31a283c Added missing include
#jira UE-74616
#rb none
#rnx

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6576371 via CL 6580688 via CL 6580904
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v363-6677109)

[CL 6698846 by jamie dale in Dev-Anim branch]
2019-05-31 12:43:25 -04:00
jamie dale
5a02689b8a Added an interface for UObject types that own Python data so that they can be cleared during interpreter shutdown if the UObject is still externally referenced and couldn't be GC'd
#jira UE-74616
#rb Lauren.Ridge

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6574505 via CL 6575624 via CL 6575649
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v363-6677109)

[CL 6697322 by jamie dale in Dev-Anim branch]
2019-05-31 12:35:05 -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
jamie dale
95ce23e65b Fixed delegate wrappers being incorrectly GC'd when no instances existed in Python
#jira UE-74616
#rb Lauren.Ridge

#ROBOMERGE-VERSION: 348-6547088
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6540091 via CL 6540633 via CL 6540650
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6567673 by jamie dale in Dev-Anim branch]
2019-05-18 10:59:31 -04:00
jamie dale
e0cd8ccd1a Disabling agressive Python type purging (and logging of lingering types) due to a GC crash
#jira
[FYI] Bob.Tellez
#rb none
#rnx

#ROBOMERGE-VERSION: 348-6547088
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6537281 via CL 6538664 via CL 6538750
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6565228 by jamie dale in Dev-Anim branch]
2019-05-18 10:46:13 -04:00
jamie dale
68680318a1 Attempt to forcefully purge any Python generated Unreal types and their instances when shutting down the Python plugin
#jira UE-74616
#rb Lauren.Ridge

#ROBOMERGE-VERSION: 348-6547088
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6536765 via CL 6538378 via CL 6538487
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6564508 by jamie dale in Dev-Anim branch]
2019-05-18 10:42:17 -04:00
jamie dale
58565d5084 Ensure Python callable wrapper types remove the Native flag from any function signatures that they duplicate
Failing to do this leads to a Native instance inside a non-native instance, which causes GC confusion

#jira UE-74616
#rb Lauren.Ridge

#ROBOMERGE-VERSION: 348-6547088
#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6536762 via CL 6538364 via CL 6538485
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6564488 by jamie dale in Dev-Anim branch]
2019-05-18 10:42:10 -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
jamie dale
1335e6f993 Fixed name conflict when re-instancing Python generated structs
#jira UE-74324
#rb Lauren.Ridge
#lockdown Cristina.Riveron

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6405053 in //UE4/Release-4.22/... via CL 6405057
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6465078 by jamie dale in Dev-Anim branch]
2019-05-15 04:23:29 -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
jamie dale
8dd60e6f4e init_unreal.py files are now run using the console scope to let them set-up the console environment in the editor
#jira
[FYI] James.McNatton
#rb Francis.Hurteau

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 6112368 via CL 6113193 via CL 6113292
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6130838 by jamie dale in Dev-Anim branch]
2019-04-26 22:36:23 -04:00
jamie dale
b5160d9dc0 Prevent a crash when a Python generated class pending reinstancing is GC'd
We now ARO these pending types to stop them being GC'd, and added unreal.flush_generated_type_reinstancing() to allow you to force the reinstancing to happen at a certain point in your script (rather than when it ends, or on the next Tick).

#jira UE-72853
#rb Chris.Gagnon
#lockdown Cristina.Riveron

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 5956901 in //UE4/Release-4.22/... via CL 5956925
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5962663 by jamie dale in Dev-Anim branch]
2019-04-17 21:03:26 -04:00
Ben Zeigler
e873f817b2 Hook up referencer name for editor FGCObjects that are likely to hold world references
#rb marc.audy

[CL 5536472 by Ben Zeigler in Dev-Framework branch]
2019-03-25 14:40:23 -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
steve robb
6e246488a8 Fix for warnings about engine classes being hot reloaded when they haven't even changed.
#jira UE-71581
#rb none
[FYI] jamie.dale
#lockdown cristina.riveron

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 5459196 in //UE4/Release-4.22/... via CL 5459199
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5475456 by steve robb in Dev-Anim branch]
2019-03-20 13:21:48 -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
jamie dale
2550ccacce Fixed Python doc generation
#jira
#rb none
[CODEREVIEW] Robb.Surridge
#rnx

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 5439514 in //UE4/Release-4.22/... via CL 5439516
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5441725 by jamie dale in Dev-Anim branch]
2019-03-18 21:13:18 -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
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
Arciel Rekman
f15cf798fc Linux: link symbols used by Python properly (UE-70768).
#rb none

[CL 5274649 by Arciel Rekman in Dev-Editor branch]
2019-03-01 22:35:19 -05:00
jamie dale
ad75832a7a Fixed build error for platforms without a Python SDK available
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 5238143 via CL 5240388 via CL 5240463
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5247766 by jamie dale in Dev-Anim branch]
2019-02-28 17:24:32 -05:00