Commit Graph

11612 Commits

Author SHA1 Message Date
charles bloom
24bf4ddbcd change uses of SerializeCompressed to SerializeCompressedNew with Oodle
provide SerializeCompressedNew with default args for easier use

#preflight https://horde.devtools.epicgames.com/job/63c86c8f2a6acaf16239628d
#rb fabian.giesen

[CL 23766497 by charles bloom in ue5-main branch]
2023-01-18 17:48:24 -05:00
justin marcus
b31cdabb04 Engine changes required to support [redacted].
- Package Reader - add flags to control what sections are loaded and add stats on section sizes.
- Asset registry package reader - break AR data serialization into small structs that can be re-used.
- Soft object paths - Add a serialize function that doesn't do redirector fixup
- World partition - Add accessors for AR data tag names, add function to get encoded actor descriptor AR data.
- FNames - add missing CORE_API tags, remove unused FNameEntryId member

[REVIEW] [at]Francis.Hurteau [at]JeanFrancois.Dube
#preflight 63c842b302024f93d8dfa3f9

[CL 23766131 by justin marcus in ue5-main branch]
2023-01-18 17:25:06 -05:00
jamie dale
29a6e09f28 Added base support for UGC localization
UGC localization can be used to provide a simplified localization experience for basic plugins (only providing the PO files to be translated), and is primarily designed for DLC plugins where the UGC localization will be compiled during cook (see UUserGeneratedContentLocalizationSettings).

Support for non-DLC plugins can be provided via project specific tooling built upon this base API.

Support for complex plugins (such as those containing different kinds of modules, eg) a mix of game/engine and editor) are not supported via this API.

#preflight 63c70d2802024f93d87a0e32
#rb Leon.Huang, Dave.Belanger

[CL 23761684 by jamie dale in ue5-main branch]
2023-01-18 14:39:58 -05:00
steve robb
17a2c8d3b8 Ensure that TArray's bulk-serialized data sizes match expected sizes.
#rb johan.torp
#jira UE-172524
#preflight 63c741a6b065224750518a75

[CL 23756418 by steve robb in ue5-main branch]
2023-01-18 10:52:41 -05:00
steve robb
540771aec5 Deprecated TIsSame.
#rb none
#preflight 63c7c1e10225f00e14f47bef

[CL 23756413 by steve robb in ue5-main branch]
2023-01-18 10:52:27 -05:00
steve robb
d2e46f1ee7 Added static_assert to stop data loss when constructing a TBox<float> from TVector<double> extents, inadvertently reverted in CL# 23736521.
#rb none
#preflight 63c6c8533f587d9e14e6f0c6
[FYI] andrew.davidson

[CL 23747996 by steve robb in ue5-main branch]
2023-01-17 18:39:29 -05:00
jared cotton
dce1d049ca FORT-550853
Addition of 'IsSymlink' to Windows/Unix/Apple platforms. For use case of checking whether installed VSCode Verse-extension is a symlink which is a 'developer' installed version.

(These changes are split out from review 23666969 for review)

#rnx
#rb yiliang.siew
#rb calvin.zheng
#rb brandon.schaefer
#preflight 63c6dcca2e714f64ad4133f8

[CL 23747953 by jared cotton in ue5-main branch]
2023-01-17 18:38:17 -05:00
Arne Schober
92806e3af3 Fix check in debug
#review-23743310 trivial
#preflight local

[CL 23743305 by Arne Schober in ue5-main branch]
2023-01-17 14:42:57 -05:00
steve robb
bca107f1a5 Comment fix.
#rb trivial
#preflight none

[CL 23741255 by steve robb in ue5-main branch]
2023-01-17 13:14:28 -05:00
steve robb
979276b8cd Removed TIsSame from Core/Math (part of larger change to deprecate TIsSame).
#rb none
#preflight 63c681e73f587d9e14d221dc

[CL 23741230 by steve robb in ue5-main branch]
2023-01-17 13:13:27 -05:00
steve robb
736eeb9aaa Removed TIsSame usage from most of Core (part of a larger change to deprecate TIsSame).
#rb none
#preflight 63c5c3d70b358b97d15590e4

[CL 23741207 by steve robb in ue5-main branch]
2023-01-17 13:12:52 -05:00
Johan Torp
4a777d69aa Deprecate half-implemented and unused FPlatformMisc::GetCacheLineSize to get runtime cache line size
We currently have no use case for a runtime-queried cache line size and the function only existed on a subset of our supported platforms

#rb steve.robb
#jira none
#preflight 63c6c73f0225f00e1488c828

[CL 23739143 by Johan Torp in ue5-main branch]
2023-01-17 11:27:47 -05:00
alex kahn
1199db4b52 [Backout] - CL23735141 - Backing out my back out as it seems like there are 2 CL's to backout and I backed it out of order
[FYI] alex.kahn
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL23729890 - Nightly Win64 Build Error
[FYI] JeanMichel.Dignard
Original CL Desc
-----------------------------------------------------------------
Engine FExec (exec commands) changes
- Add Exec_Dev and Exec_Editor virtual functions to allow implementing Exec for specific configurations.
- Add a UBT flag: bAllowExecCommandsInShipping as a master switch to allow or remove Exec in shipping.
- The default Exec implementation calls both Exec_Dev and Exec_Editor, when they are available.
- Blueprint ExecuteConsoleCommand will now ask the console manager to process the command before falling back to Player and GEngine Exec. This is to make sure that if exec commands are disabled the blueprint node is still able to execute console commands.

#rb Josh.Adams
#preflight 63c570c002024f93d8011c2e

[CL 23735316 by alex kahn in ue5-main branch]
2023-01-17 01:46:10 -05:00
alex kahn
9ca4cd21fc [Backout] - CL23729890 - Nightly Win64 Build Error
[FYI] JeanMichel.Dignard
Original CL Desc
-----------------------------------------------------------------
Engine FExec (exec commands) changes
- Add Exec_Dev and Exec_Editor virtual functions to allow implementing Exec for specific configurations.
- Add a UBT flag: bAllowExecCommandsInShipping as a master switch to allow or remove Exec in shipping.
- The default Exec implementation calls both Exec_Dev and Exec_Editor, when they are available.
- Blueprint ExecuteConsoleCommand will now ask the console manager to process the command before falling back to Player and GEngine Exec. This is to make sure that if exec commands are disabled the blueprint node is still able to execute console commands.

#rb Josh.Adams
#preflight 63c570c002024f93d8011c2e

[CL 23735315 by alex kahn in ue5-main branch]
2023-01-17 01:45:57 -05:00
jeanmichel dignard
8d07a7338f Exec commands changes:
- Port some development only exec commands to Exec_Dev.

#rb none
#preflight 63c5c97f02024f93d822d678

[CL 23734254 by jeanmichel dignard in ue5-main branch]
2023-01-16 19:28:53 -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
zach bethel
637bbd5f15 Don't assert if retagging a thread with the same tag.
#rb arne.schober, andriy.tylychko
#preflight trivial

[CL 23733220 by zach bethel in ue5-main branch]
2023-01-16 17:37:17 -05:00
henrik karlsson
69e9e875d1 [Core]
* VirtualStackAllocator - Fixed unix non unity/pch compile error (intptr_t was not defined)

#preflight skipped
#rb none

[CL 23733012 by henrik karlsson in ue5-main branch]
2023-01-16 17:17:37 -05:00
jeanmichel dignard
f235594982 Engine FExec (exec commands) changes
- Add Exec_Dev and Exec_Editor virtual functions to allow implementing Exec for specific configurations.
- Add a UBT flag: bAllowExecCommandsInShipping as a master switch to allow or remove Exec in shipping.
- The default Exec implementation calls both Exec_Dev and Exec_Editor, when they are available.
- Blueprint ExecuteConsoleCommand will now ask the console manager to process the command before falling back to Player and GEngine Exec. This is to make sure that if exec commands are disabled the blueprint node is still able to execute console commands.

#rb Josh.Adams
#preflight 63c570c002024f93d8011c2e

[CL 23730460 by jeanmichel dignard in ue5-main branch]
2023-01-16 12:26:54 -05:00
henrik karlsson
5d892291fe Added const to operator== and operator< to resolve compile errors happening with latest msvc version
#preflight skipped
#rb none

[CL 23704269 by henrik karlsson in ue5-main branch]
2023-01-14 04:24:08 -05:00
Arne Schober
39e6333d6f Remove deprecated functions
#preflight 63c1f60070575f89006c9726
#review-23691223 trivial

[CL 23691222 by Arne Schober in ue5-main branch]
2023-01-13 19:34:53 -05:00
Arne Schober
0d1ebf2cb5 Remove Dynamic LocalQueue Management as it was not really used and we have alternatives if needed. This does not impact performance but should reduce power consumption by 1%.
#preflight 63c1e9f40b358b97d1987b65
#review-23690564 Andriy.Tylychko, danny.couture

[CL 23690562 by Arne Schober in ue5-main branch]
2023-01-13 19:03:07 -05:00
henrik karlsson
7b4396d072 [Core]
* Optional - Moved FNullOpt from Optional.h to OptionalFwd.h to be able to compile NonNullPointer.h without also including Optional.h (which seems to be the intention in that file)

#preflight 63c1d00a2a6acaf162a1cb8b
#rb chris.waters

[CL 23690506 by henrik karlsson in ue5-main branch]
2023-01-13 18:57:02 -05:00
charles bloom
e1b16fd3c0 sanitize floats for inf/nan in EXR import
#rb fabian.giesen
#preflight yes

[CL 23689994 by charles bloom in ue5-main branch]
2023-01-13 18:27:48 -05:00
henrik karlsson
4af68fa79b [Core]
* UnixCriticalSection - Removed UnrealString include to match windows critical section. Since IWYU is using linux path we don't want unix files to include more than windows files

#preflight 63c1b087b065224750c93fff
#rb Chris.Waters

[CL 23688209 by henrik karlsson in ue5-main branch]
2023-01-13 17:24:44 -05:00