Commit Graph

91 Commits

Author SHA1 Message Date
Dominik Peacock
f11fedeb41 Query remote client message address
#jira none
#rb Jason.Walter
#preflight 62a8b78fcf54a658ee1704e7

[CL 20653980 by Dominik Peacock in ue5-main branch]
2022-06-14 14:25:03 -04:00
Dominik Peacock
d49d46dd9d Crash when user has no permission to delete
#jira UE-156418
#rb none
#preflight 62a72feb1e1ff42398d97dc2
#fyi Jason.Walter

[CL 20625909 by Dominik Peacock in ue5-main branch]
2022-06-13 09:01:52 -04:00
jason walter
256235b1b1 Create a setting to enable / disable supporting the mixing of source and PCB builds. This was causing issues when sharing engine builds with different UGS projects.
#jira IRON-44
#rb Alejandro.Arango
#preflight 629a77052728924cef5ff2d2

[CL 20519747 by jason walter in ue5-main branch]
2022-06-06 10:12:00 -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
Dominik Peacock
a6706b1c11 Get message address for concert client
#jira none
#rb Jason.Walter
#preflight 628f85cd3437fe04a85b4ad9

[CL 20391242 by Dominik Peacock in ue5-main branch]
2022-05-27 05:38:22 -04:00
Dominik Peacock
4614b6e6b7 Extend ConcertUtil
#jira none
#rb Jason.Walter
#preflight 628f85a08c23e52ef0f401b7

[CL 20391238 by Dominik Peacock in ue5-main branch]
2022-05-27 05:37:19 -04:00
Dominik Peacock
173610c4d2 Fix typo
#jira none
#rb none
#fyi Jason.Walter
#preflight skip

[CL 20370690 by Dominik Peacock in ue5-main branch]
2022-05-25 16:14:44 -04:00
Dominik Peacock
80d23194aa Add util function to find connected client info by EndpointId and minor clean up
#jira none
#rb Jason.Walter
#preflight 628e2ba8f622d972b585a782

[CL 20363483 by Dominik Peacock in ue5-main branch]
2022-05-25 09:29:34 -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
Dominik Peacock
eba582df41 Expose concert logger publicly
#jira none
#rb Jason.Walter
#preflight 628533a9f239239af69fa1bc

[CL 20265040 by Dominik Peacock in ue5-main branch]
2022-05-18 14:09:46 -04:00
jason walter
ed799330a4 Create separate program UnrealMultiUserSlateServer
Main implementation by Dominik with build and switchboard support added by me.

#jira UE-147235
#rb Dominik.Peacock
#preflight 6284fa081f474f0660ecb74e

[CL 20264867 by jason walter in ue5-main branch]
2022-05-18 14:02:54 -04:00
Dominik Peacock
e6d9ab462e Correct inaccurate documentation
#jira none
#rb none
#preflight none

[CL 20022799 by Dominik Peacock in ue5-main branch]
2022-05-03 05:23:17 -04:00
jason walter
547eea278f Fix cook error with uninitialized value.
#jira none
#fyi dominik.peacock
#rb nonoe
#preflight none

[CL 19981084 by jason walter in ue5-main branch]
2022-04-29 12:20:27 -04:00
Dominik Peacock
8443108257 Allow deleting multiple sessions at once
#jira UE-74048
#rb Jason.Walter
#preflight 626bd4ce2c0b0ac294f47ac5

[CL 19977305 by Dominik Peacock in ue5-main branch]
2022-04-29 09:17:55 -04:00
Dominik Peacock
43b9a685e0 Add LastModified property to FConcertSessionInfo
#jira none
#rb Jason.Walter
#preflight 6267f618430b9997ebddab56

[CL 19919855 by Dominik Peacock in ue5-main branch]
2022-04-26 10:33:09 -04:00
jason walter
ef02dd5434 Introduce transient state on the server state.
#jira UE-150094
#rb dominik.peacock
#preflight 6266b8027e06ec7505aa852a

[CL 19907340 by jason walter in ue5-main branch]
2022-04-25 15:17:27 -04:00
Dominik Peacock
f06bc78515 Add function for deleting arbitrary activities from the session database
#jira UE-149351
#rb Jason.Walter
#preflight 625d786b691f49969ea93b90

[CL 19791085 by Dominik Peacock in ue5-main branch]
2022-04-18 14:39:00 -04:00
Dominik Peacock
bc3512b34f Analyse removalability of activities
#jira UE-147387
#rb Jason.Walter
#preflight 6254d3b5f4122c9e9a0aba26

[CL 19737720 by Dominik Peacock in ue5-main branch]
2022-04-13 07:13:17 -04:00
Dominik Peacock
55622c29cd Each archived session should open a separate tab
#jira UE-147282
#rb Jason.Walter
#preflight 6242e9be8f06610224bd3362

[CL 19622748 by Dominik Peacock in ue5-main branch]
2022-04-05 07:40:17 -04:00
jason walter
1d5390d1e0 Add project and version column to the browser panel.
#jira UE-147241
#rb Dominik.Peacock
#preflight 624366f773665f7d5e35ff27

[CL 19556895 by jason walter in ue5-main branch]
2022-03-30 10:29:59 -04:00
Dominik Peacock
21d8bc508c Expose important server events as multicast delegates
#jira UE-143995
#rb Jason.Walter
#preflight 621ca46b383b5494aaf1c4b1

[CL 19300782 by Dominik Peacock in ue5-main branch]
2022-03-08 05:15:36 -05:00
alejandro arango
e6176db327 Concert: Change default validation from Hard to Soft.
This is what our users are normally using, and what we recommend doing anyway.

#rb matt.johnson
#jira UE-144361
#preflight 621fb8c2901d830f365b5aaa

#ROBOMERGE-AUTHOR: alejandro.arango
#ROBOMERGE-SOURCE: CL 19228412 in //UE5/Release-5.0/... via CL 19229192
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19231641 by alejandro arango in ue5-main branch]
2022-03-02 17:32:51 -05:00
Dominik Peacock
ec378476f5 Add session browser to multi user server
#jira UE-143868
#rb Matt.Johnson
#preflight 621a78278872c7be925ff5ec

[CL 19198841 by Dominik Peacock in ue5-main branch]
2022-03-01 10:51:03 -05:00
marc audy
cff01aa9fa Added support for native FProperty setters and getters.
Setters and getters are native functions called by FProperties when setting property values with *_InContainer functions.
Setters and getter function names can be manually specified with Setter = Func and Getter = Func keywords inside of UPROEPRTY macro but they will also be automatically parsed if the name is not explicitly specified if the setter or getter function name matches SetPropertyName and GetPropertyName pattern.
The latter behavior can be disabled in UHT's DefaultEngine.ini by setting AutomaticSettersAndGetters=False.
ImportText and ExportTextItem functions have been deprecated and should be replaced with *_InContainer or *_Direct variants.

#rb Steve.Robb
#preflight 6210a377a83e0bcefd03d9e1

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19070318 via CL 19098059 via CL 19104650 via CL 19104661 via CL 19110012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147839 by marc audy in ue5-main branch]
2022-02-25 10:39:39 -05:00
robert millar
5811293e2a Add TargetRules.bFNameOutlineNumber as an option to reduce the size of FName by 4 bytes by storing the number in the name table.
Adds a define UE_FNAME_OUTLINE_NUMBER.
Removes of FName, FMinimalName from memory image support. Adds of FMemoryImageName.
Removal of FMinimalName operator<<, all fields made private, size made variable.
All fields of FScriptName made private.
Added console commands for dumping numbered/unnumbered names and stats.

#rb johan.torp

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19058026 via CL 19058611 via CL 19058656 via CL 19061727 via CL 19061740 via CL 19064047
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066701 by robert millar in ue5-main branch]
2022-02-21 02:35:48 -05:00