Commit Graph

167 Commits

Author SHA1 Message Date
bradley heath
e4faf8baab Enable truncation warnings in NetcodeUnitTest.
#jira UE-165096
#rb ryan.gerleve, LouisPhilippe.Seguin

[CL 29313227 by bradley heath in ue5-main branch]
2023-11-01 08:46:27 -04:00
bradley heath
4d8ef72271 Disable unsafe type case warnings in NetcodeUnitTest.
#jira UE-165096

[CL 29232795 by bradley heath in ue5-main branch]
2023-10-30 10:14:32 -04:00
bradley heath
9283e3783c Enabled compile errors for unsafe floating point and integer casts in the networking modules along with fixes for existing errors.
#jira UE-165096
#rb louisphilippe.seguin ryan.gerleve

[CL 29231550 by bradley heath in ue5-main branch]
2023-10-30 09:34:31 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
Brian Bekich
22219eef19 Deprecate replication pausing
#jira UE-123322
#preflight 64017bdeaa0042333575d77f
#rb ryan.gerleve

[CL 24499658 by Brian Bekich in ue5-main branch]
2023-03-03 11:19:54 -05:00
Peter Engstrom
d3c9581457 Fixed handcrafted NMT_Join bunch.
#rnx
#rb brian.bekich
#preflight none

[CL 24498659 by Peter Engstrom in ue5-main branch]
2023-03-03 10:29:27 -05:00
christopher waters
e599d19e4b Removing redundant Private includes.
[CL 24298172 by christopher waters in ue5-main branch]
2023-02-18 00:26:16 -05:00
bryan sefcik
f91212124f Added generated.h includes and updated enums to have underlying types.
#preflight 63d458095354589b5c16c0e3

[CL 23895079 by bryan sefcik in ue5-main branch]
2023-01-27 18:45:50 -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
henrik karlsson
b20db4a41b Fixed non unity vs2019 farm compile errors
#preflight skipped
#rb none

[CL 23732865 by henrik karlsson in ue5-main branch]
2023-01-16 17:05:10 -05:00
henrik karlsson
bbc37aa2f5 [Engine/Plugins]
* Another batch iwyu updates to reduce number of includes used in files

#preflight 63c58d742e714f64ade93797
#rb none

[CL 23732856 by henrik karlsson in ue5-main branch]
2023-01-16 17:04:48 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
john barrett
4911415c13 Minor include compile time tweaks.
#rb Ryan.Gerleve
#preflight 635a6fee9b2e9c76c7038ade

[CL 22827290 by john barrett in ue5-main branch]
2022-10-28 08:34:09 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
marc audy
927adb79be Correct deprecation versions
#preflight trivial
#rnx

[CL 22573046 by marc audy in ue5-main branch]
2022-10-17 15:13:35 -04:00
John Barrett
d04e874df6 Inclusivity.
#JIRA UE-158569
#rb trivial
#preflight trivial

[CL 22079094 by John Barrett in ue5-main branch]
2022-09-19 15:50:39 -04:00
mark lintott
e2d74ce99d Fixed unacceptable words in Stats and Profiling system
#jira UE-158612, UE-158573, UE-158613
#rb pj.kack
#preflight 62f3b39cf75a2a539c84166f

[CL 21317572 by mark lintott in ue5-main branch]
2022-08-10 09:49:10 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
sebastien lussier
144973b335 UWorldPartitionBuilder - Improved fake engine tick
* Now ticking engine too instead of only graphics
* Unified commandlet engine ticking in new CommandletHelpers::TickEngine() function
#rb patrick.enfedaque

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 20575477 via CL 20575930 via CL 20576379
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20578615 by sebastien lussier in ue5-main branch]
2022-06-09 12:14:22 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
john barrett
43c987cf04 Refactored log tracing and added ability to trigger console commands on certain logs.
Commandline example:
-LogCommand="ReadContentBlockPayload failed=obj list class=ShooterGameState"

Command example:
LogCommand Add ReadContentBlockPayload failed=obj list class=ShooterGameState

#rb none

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 20380021 via CL 20380287 via CL 20381970 via CL 20381985
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20385138 by john barrett in ue5-main branch]
2022-05-26 16:45:59 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
john barrett
47180fb543 Added '-LogDebug=MatchStr' commandline parameter and 'LogTrace AddDebug MatchStr' console command to NetcodeUnitTest, to trigger debugging on a particular log line pattern.
#rb none

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 20022654 via CL 20022657 via CL 20022680 via CL 20022687 via CL 20022699
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20023082 by john barrett in ue5-main branch]
2022-05-03 06:20:54 -04:00
john barrett
402ab1ad9b NetcodeUnitTest updates/fixups.
#JIRA UE-149491
#rb trivial

#ROBOMERGE-OWNER: john.barrett
#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 19830794 via CL 19831179 via CL 19832087 via CL 19835357 via CL 19837369
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19840065 by john barrett in ue5-main branch]
2022-04-20 18:34:30 -04:00