Commit Graph

12055 Commits

Author SHA1 Message Date
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
Devin Doucette
7962247e4e DDC: Added a DeleteOnly mode to FileSystemCacheStore
This allows a cache to be kept in the hierarchy solely to ensure that it is cleaned up as its contents expire. Maintenance has been improved to delete more empty folders and to count every scanned folder.

#preflight 6363370154471d10be395619
#rb Zousar.Shaker

[CL 22953493 by Devin Doucette in ue5-main branch]
2022-11-03 11:01:04 -04:00
mark lintott
5ae432fc55 Addeed specific Unreal Cloud DDC analytics for core.cooking and core.loading events ( Domain, Effective Domain, Cache Hit/MIss for Cache Puts & Gets, FailedOIDC login attempts )
#rb joakim.lindqvist
#jira none
#preflight 6363c123d308b70e66f4cf33

[CL 22951911 by mark lintott in ue5-main branch]
2022-11-03 09:39:24 -04:00
Yuriy ODonnell
398f6e6d79 ShaderMinifier - Add an option to preserve comment lines
#rb dan.elksnitis
#preflight 63630eac522c8f7ab36344e0

[CL 22943808 by Yuriy ODonnell in ue5-main branch]
2022-11-03 02:13:18 -04:00
patrick laflamme
c710b14d86 Optimized the source control changelist to more efficienty update the list of source controlled files to monitor.
- Added function to the source control file status monitor to easily set the exact list of file to monitor efficiently
Fixed the source control changelist not monitoring all the files in view.

#rb Aditya.Ravichandran
#preflight 6362b9bf1a32af63a8f5b719

[CL 22937889 by patrick laflamme in ue5-main branch]
2022-11-02 23:06:17 -04:00
Zousar Shaker
9babda4455 Fix preflight-caught instances of TObjectPtr<T> used with T that is not derived from UObject. A subsequent change will be disallowing this at compile time.
#rb none
#preflight 6362e5f1876630122ac0ce0f

[CL 22928841 by Zousar Shaker in ue5-main branch]
2022-11-02 18:04:03 -04:00
Devin Doucette
7945169d6c DDC: Fixed the async cache replay to be tracked as async work by the cache
#preflight 6362d7f69160784fc32ea869
#rb Zousar.Shaker
#rnx

[CL 22926967 by Devin Doucette in ue5-main branch]
2022-11-02 17:13:24 -04:00
Devin Doucette
0db4050542 Zen: Changed the Analytics dependency from public to private
#preflight 6362b15954471d10be06613a
#rb none
#rnx

[CL 22924597 by Devin Doucette in ue5-main branch]
2022-11-02 15:43:23 -04:00
Dan Thompson
739a2dcf5c Add a way to save iostore containers that get modified as part of the deployment/staging process.
#rb fabian.giesen
#preflight 6362b0a71a32af63a8f3ba32

[CL 22922682 by Dan Thompson in ue5-main branch]
2022-11-02 14:29:26 -04:00
charles bloom
77ac7664b2 Texture MipGen clamp mip filter if texture address mode is not wrap in both x&y
todo for the future to separate x/y mip gen clamp/wrap

#jira UE-162283
#preflight 63612d38ef6d25c67459c5ed
#rb alexander.suvorov

[CL 22921412 by charles bloom in ue5-main branch]
2022-11-02 13:53:39 -04:00
zack neyland
0eeb3732f1 Various misc fixes for Mac.
* Sets the Min/Max Wave Size
* Handles Vulkan headers and Mac a bit better
* Handles missing [shader] toolchains a bit better.

#preflight 63603e161622fbf582db4e07
#jira na

[CL 22920245 by zack neyland in ue5-main branch]
2022-11-02 13:10:22 -04:00
tim smith
5f2a5bcff0 Fixed C# UHT so that enumerations can not contain value names of TRUE or FALSE (case insensitive).
#rb self
[FYI] maxime.mercier
#preflight 636272f8522c8f7ab33488ea

[CL 22919757 by tim smith in ue5-main branch]
2022-11-02 12:50:37 -04:00
Devin Doucette
f1d54c3a16 DDC: Sorted and removed duplicate includes in DerivedDataCache.cpp
#preflight 63627f0254471d10bef32ed7
#rb none
#rnx

[CL 22918352 by Devin Doucette in ue5-main branch]
2022-11-02 11:58:13 -04:00
christian savoie
adba372f50 Move Source control menu bindings into AssetManagerEditor so they appear on all menus that operate on assets (i.e. Asset menu in editors).
* Force uncached status update if any items in selected aren't up-to-date
* Removed Refresh option since it's done every time the menu is opened
* Make Source control menu update state asynchronously so menu doesn't stall
* Update Checkout to Sync and Checkout so it can all be done at once
* Add Partial Checkout state when files are selected and show users locking files in tooltip
* Add options to Make Writeable and Revert Writeable
* Add error state if source control is unavailable
* Hide options, like checkout, that are not available for the current SCC provider
* Always show all options so users can learn bettern muscle memory
* Add Warning when doing any source control option on selections larger than 25 (currently hardcoded)
* There's still some slight difference in behavior between file and folder selection. If only files are selected the async update will not show any options availabe until the full scan is done and there are some additional features like partial checkout. If there are any folders then options become available the moment one asset is available for an action.

#tests Tested all button scenarios, tested small and large sets of folders, assets and a mix.

[CL 22918013 by christian savoie in ue5-main branch]
2022-11-02 11:47:25 -04:00
eric knapik
6c7224f931 #jira: FORT-509651
Add new interface function AllowsDevelopmentObjects to ITargetPlatform
This function makes a clearer distinction for what assets will be considered development vs what assets should be considered EditorOnly
A platform should be allowed to cook editor only objects but not development. The inclusion of AllowsDevelopmentObjects creates that distinction

[REVIEW] [at]Bob.Tellez, [at]Josh.Adams, [at]Graeme.Thornton, [at]Matt.Peters
#preflight 63601c7b4e6fb7f504a7d311

[CL 22917958 by eric knapik in ue5-main branch]
2022-11-02 11:46:13 -04:00
mark lintott
c6f8a9e9d9 Removed AnalyticsEventAttribute.h from the ZenServerInterface and VirtualizationManager header
#rb paul.chipchase
#jira none
#preflight 63625ed70c2e7c8f91891d11

[CL 22911432 by mark lintott in ue5-main branch]
2022-11-02 08:18:25 -04:00
mark lintott
490070be3c Decoupled Zen, DerivedDataCache and Virtualization dependency from Studio Analytics. Systems can now register callbacks to append or modify Event payloads to analytics events by name via the FAnalytics interface.
#rb Nick.Darnell
#fyi Paul.Chipchase,Zousar.Shaker
#preflight 636248d054471d10bedc3749

[CL 22909100 by mark lintott in ue5-main branch]
2022-11-02 06:56:10 -04:00
sara schvartzman
e1239869cc Control Rig: Fix crash when set variable node is created inside function
#jira UE-168845
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/636244e40c2e7c8f91835c08

[CL 22909087 by sara schvartzman in ue5-main branch]
2022-11-02 06:55:06 -04:00
aditya ravichandran
7be93c5466 Outliner:
Add a filter and column to show Unsaved Assets.
Add a filter and modify the source control column to show uncontrolled assets
#jira UE-168231
#rb patrick.laflamme
#preflight 6361417a397c7af8966cec38

[CL 22890180 by aditya ravichandran in ue5-main branch]
2022-11-01 16:02:53 -04:00
krzysztof narkowicz
78088a94e0 Distance Fields - Generate mesh distance fields from highest quality available data in order to match Nanite data.
#preflight 63611edd731604696a0f9134
#jira

[CL 22890143 by krzysztof narkowicz in ue5-main branch]
2022-11-01 16:01:53 -04:00
henrik karlsson
4a36cfe8ff Moved operator== to be hidden friend instead of put directly in global namespace
Moved GetTypeHash function to be hidden friend instead of put directly in global namespace.

Note that the function/operator needs to be fully inlined in the type or placed in the cpp. If the function is added as friend but then implemented outside the type then hidden friend optimization won't work.

This should improve compile time somewhat according to msvc devs.

#rb Steve.Robb
#preflight 6360b7052b5338aceb26471b

[CL 22889837 by henrik karlsson in ue5-main branch]
2022-11-01 15:50:27 -04:00
Stephen Holmes
aa8997ef01 AI Truncation warning fixes.
This is the majority of the fixes however a few systems have been left for individual CLs.

#jira UE-166285
#preflight 63616567ce676ae868034ab0
#review-22869010

[CL 22889316 by Stephen Holmes in ue5-main branch]
2022-11-01 15:32:27 -04:00
henrik karlsson
8f895fef35 Added includes needed after removing includes in headers
#preflight 6360b63e41625be270a6e464
#rb none

[CL 22888775 by henrik karlsson in ue5-main branch]
2022-11-01 15:14:15 -04:00
patrick enfedaque
862a5458de Update comment
#rb trivial
#preflight skip

[CL 22888684 by patrick enfedaque in ue5-main branch]
2022-11-01 15:10:32 -04:00
paul chipchase
1a00222986 The perforce source control API can now issue a single p4 print command with multiple depot file paths as arguments rather than issuing a single p4 print command per file.
#rb PJ.Kack
#jira UE-167578
#rnx
#preflight 635bdddd5b54febd38b7efd0

- Clean up the source control backend by removing the older code path that was ifdefed out and clean up the new path.
- FPerforceConnection no longer takes a TOptional<FSharedBuffer> but takes an optional pointer to a TArray of FSharedBuffer. When gathering files this should return one FSharedBuffer per file requested.
-- It might make more sense to attach the FSharedBuffer to the FP4Record but that would require some bigger changes and would be better suited to being some follow on work. All the code is private in the module and not exposed so it is fairly safe and easy to do these refactors later.

- Replaced the TArray buffer for gathering files with a purpose built class FP4DepotFile.
- When issuing a p4 print command with multiple files we will get one call to ClientUser::OutputStat followed by calls to either ClientUser::OutputText or ClientUser::OutputBinary until all of the file has been delivered, then we will get another call to ClientUser::OutputStat for the next file and so on.
-- Note with binary files we seem to get one final call to ClientUser::OutputBinary with zero size, which I assume is supposed to signal the end of the transfer, text files do not get this, they seem to just stop.

[CL 22888671 by paul chipchase in ue5-main branch]
2022-11-01 15:10:19 -04:00