Commit Graph

46 Commits

Author SHA1 Message Date
joe pribele
6c2bc21bac changed FObjectProperty::SerializeItem to not cause object handle reads
#preflight 63d837e91f0aa8a2897477ee

[CL 23916733 by joe pribele in ue5-main branch]
2023-01-30 16:52:28 -05:00
joe pribele
f162eecacd changed FClassProperty::Identical to use TObjectPtr to avoid causing unnecessary reads
#rb zousar.shaker
#preflight 63d804493656ea96dc13d296

[CL 23912609 by joe pribele in ue5-main branch]
2023-01-30 13:40:49 -05:00
steve robb
4900d8a570 Replaced TModels traits class with TModels_V.
#rb devin.doucette
#preflight 63d3aabf5354589b5cd2343b

[CL 23889491 by steve robb in ue5-main branch]
2023-01-27 14:51:16 -05:00
Per Larsson
705ce4b89b ArchiveStackTrace - fixed bug with missing callstack CRC and added basic low level tests
#rb trival
#jira UE-174727
#preflight 63cf8d9eef20a5272dfc4f01
#rnx

[CL 23827777 by Per Larsson in ue5-main branch]
2023-01-24 04:08:29 -05:00
joe pribele
39de1fde02 changed FObjectPropertyBase::CheckValidObject to not resolve FObjectPtr fields to do validation
this is needed for feature work with validation of accessing asset pointers during serialization

https://p4-swarm.epicgames.net/reviews/23782822

#rb zousar.shaker
#fyi francis.hurteau
#preflight 63cf06efd83c1837b14e2aeb

[CL 23823212 by joe pribele in ue5-main branch]
2023-01-23 17:33:10 -05:00
joe pribele
acd9d89146 added more tests to verify that read events are not fired for null checks or equality compares
https://p4-swarm.epicgames.net/reviews/23782690

#rb zousar.shaker
#preflight 63c9cd22977c626356c5c43f

[CL 23783249 by joe pribele in ue5-main branch]
2023-01-19 18:24:34 -05:00
joe pribele
e39d3ce7ef changed ObjectHandleTracking to use Functions instead of delegates as the performance of delegate is poor
https://p4-swarm.epicgames.net/reviews/23751084

#rb zousar.shaker
#preflight 63c9ae14d45afa2a8fc37d9d

[CL 23781117 by joe pribele in ue5-main branch]
2023-01-19 16:34:29 -05:00
joe pribele
eb2bb506e7 code cleanup of ObjectHandle
made ObjectPathId to private
trimmed down the public API as much as possible

https://p4-swarm.epicgames.net/reviews/23658342

#rb zousar.shaker
#preflight 63c5c8922a6acaf1625fcf25

[CL 23734208 by joe pribele in ue5-main branch]
2023-01-16 19:20:47 -05:00
joe pribele
01f89dca92 fix for failing tests on platforms where meta data is not available
#preflight 63b8bd1b763c6c1064675063

[CL 23606026 by joe pribele in ue5-main branch]
2023-01-06 19:47:05 -05:00
joe pribele
cffacc0be5 support for TObjectPtr handling renames and GetTypeHash(TObjectPtr) no long has to resolve
GetTypeHash will create a packaged object ref for hashing if the class is defined as lazy load otherwise raw pointer is hashed
a map was added for moved objects and ObjectPathId can be a WeakObjectPtr
the map allows UObjects to be mapped back to packed object refs

#rb zousar.shaker
https://p4-swarm.epicgames.net/reviews/23356491
#preflight 63b5de641c35d1cbdbccecf7
#preflight 63b70406e26e31879b8aa6d3

[CL 23589497 by joe pribele in ue5-main branch]
2023-01-05 12:27:16 -05:00
joe pribele
0f45c0a9d5 Undo //UE5/Main/Engine/... changelist 23416765
#preflight 638fed855c5308d18c157af0

[CL 23423019 by joe pribele in ue5-main branch]
2022-12-06 20:58:56 -05:00
joe pribele
115c3e1a0e support for TObjectPtr handling renames and GetTypeHash(TObjectPtr) no long has to resolve
GetTypeHash will create a packaged object ref for hashing if the class is defined as lazy load otherwise raw pointer is hashed
a map was added for moved objects and ObjectPathId can be a WeakObjectPtr
the map allows UObjects to be mapped back to packed object refs
#preflight 638fad1b5624e6da5e166024

[CL 23416765 by joe pribele in ue5-main branch]
2022-12-06 16:27:20 -05:00
joe pribele
fc62d4218b compile fix for missing include
#preflight 638fa6f45624e6da5e13e8bb

[CL 23416097 by joe pribele in ue5-main branch]
2022-12-06 15:48:03 -05:00
joe pribele
50cfdde358 [CoreUObject] changed to check for null in TObjectPtr.GetPathName()
#preflight 63643317de2c4dbb5d47122c

[CL 22968073 by joe pribele in ue5-main branch]
2022-11-03 17:47:24 -04:00
joe pribele
a1505d5477 [CoreUObject] compile fix for Linux.
moved test classes outside of namespace as that was causing problems for the compiler
#preflight 6356dcc73a547c3da332a751

[CL 22733737 by joe pribele in ue5-main branch]
2022-10-24 15:11:24 -04:00
joe pribele
fa12cd9a46 [CoreUObject] fix for TObjectPtr equals operator with multiple inheritance
resolved pointers where comparing uintptr_t instead of the raw pointers which allow for inheritance
#jira https://jira.it.epicgames.com/browse/UE-168013
#rb zousar.shaker
#preflight 6356c19a9e14ee3c795a2b6f

[CL 22731180 by joe pribele in ue5-main branch]
2022-10-24 13:12:36 -04:00
Per Larsson
109822e0b0 Bulk Data - I/O dispatcher only streaming
- This change removes the explicit usage of the package resource manager when loading bulk data from loose files or the Editor Domain. A new
I/O dispatcher backend reads data from the package resource manager with a new I/O chunk type constructed from a package name/package segment. When
serializing bulk data the I/O chunk type is set to the correct chunk type depending on whether the package is cooked or not.

#rb CarlMagnus.Nordin, Paul.Chipchase
#jira none
#preflight 633bdbc66b10157eac8e1807

[CL 22523877 by Per Larsson in ue5-main branch]
2022-10-14 04:26:10 -04:00
joe pribele
1e1c6edc00 [CoreUObject] compile fix for platforms where UE_WITH_OBJECT_HANDLE_TRACKING is not on.
tests was using features only enable with handle tracking
#preflight 63405f46090af7205c1300f7

[CL 22404425 by joe pribele in ue5-main branch]
2022-10-07 13:42:37 -04:00
joe pribele
5cb3936d1c [CoreUObject] removed TObjectPtr.IsNull TObjectPtr.IsNullNoResolve FObjectPtr.IsNull and FObjectPtr.IsNullNoResolve
#rb zousar.shaker
#p4v-preflight-copy 22194027

[CL 22388016 by joe pribele in ue5-main branch]
2022-10-06 19:49:55 -04:00
joe pribele
0574fc6d7a removed usage of TObjectPtr.IsNull and IsNullNoResolve
#rb zousar.shaker
#p4v-preflight-copy 22193787

[CL 22361481 by joe pribele in ue5-main branch]
2022-10-05 15:34:23 -04:00
devin doucette
d095c9866d DerivedData: Enabled the derived data reference cache tests on Mac
#jira UE-156434
#preflight 632e18d7e23e50651ba7d9cb
#rb trivial
#rnx

[CL 22165704 by devin doucette in ue5-main branch]
2022-09-23 20:54:56 -04:00
zousar shaker
6503f197d5 Improve debugability of FObjectPtr/TObjectPtr by supplying a "DebugPtr" member on both that can be used to dereference resolved object references in debugger watch windows. This required changing TObjectPtr to not privately inherit from FObjectPtr, but to instead contain an FObjectPtr.
#rb devin.doucette
#rb matt.peters

[CL 22147494 by zousar shaker in ue5-main branch]
2022-09-22 18:18:37 -04:00
Per Larsson
7bce324dd6 Bulk Data - fix failing tests on consoles
#rb trivial
#preflight 632c9e8be23e50651b4af99f?step=26ab
#jira UE-164810
#rnx

[CL 22141333 by Per Larsson in ue5-main branch]
2022-09-22 14:34:14 -04:00
Per Larsson
53076ee403 Bulk Data - unit tests
#rb Paul.Chipchase
#jira none
#preflight
#rnx

[CL 22108256 by Per Larsson in ue5-main branch]
2022-09-21 00:53:46 -04:00
nick darnell
2920da6a0b Edits changed where the variable was accessible, adjusting that.
[CL 22064674 by nick darnell in ue5-main branch]
2022-09-16 21:00:59 -04:00