Commit Graph

14931 Commits

Author SHA1 Message Date
markus breyer
5345f0f76e Removed template specialization TOptional<TNonNullPtr<OptionalType>> and replaced with the IntrusiveUnsetOptionalState mechanism instead
- so it behaves identically to the generic TOptional<T> and can be used in templates over TOptional<T> that expect consistent behavior regardless of T (e.g. the * operator will return T, the -> operator operates on T, not something inside of T)
- added convenience function T* GetRawPointerOrNull(const TOptional<TNonNullPtr<T>>&) to turn an `TOptional<TNonNullPtr<T>>` back into a nullable T*
- same for TOptional<TNonNullSubclassOf<T>>
- fixed up various use locations to adhere to the new behavior

#rb Steve.Robb
#rnx

[CL 33848151 by markus breyer in ue5-main branch]
2024-05-22 18:37:39 -04:00
robert millar
727b110985 Add RemoveAll method to SCheckBoxList.
#rb will.brown

[CL 33844558 by robert millar in ue5-main branch]
2024-05-22 17:06:27 -04:00
devin doucette
24cd18db32 DDC: Extracted FHttpCacheStoreRequestQueue for reuse by Zen
#rb Zousar.Shaker
#rnx

[CL 33843384 by devin doucette in ue5-main branch]
2024-05-22 16:38:43 -04:00
sebastian lewicki
92bfb4c11f Removing Mac from being marked as a hidden platform as this was temporarily done to fix an editor crash.
#jira UE-214508
#rnx
#rb Florin.Pascu, rob.huyett

[CL 33840500 by sebastian lewicki in ue5-main branch]
2024-05-22 15:29:28 -04:00
federico lopez
fb31be6e9f [Backout] - CL33823229
[FYI] federico.lopez
Original CL Desc
-----------------------------------------------------------------
Deprecate description field and change hash function

Having two values for an avatar may be not needed, the id might not be available. Moreover, instead of using UE's hash function the new suggested function is simple and portable to use outside UE. This is a best effort to have consistency across UCS products.

#rb wouter.burgers

[CL 33828313 by federico lopez in ue5-main branch]
2024-05-22 10:17:50 -04:00
federico lopez
7828b041bc Deprecate description field and change hash function
Having two values for an avatar may be not needed, the id might not be available. Moreover, instead of using UE's hash function the new suggested function is simple and portable to use outside UE. This is a best effort to have consistency across UCS products.

#rb wouter.burgers

[CL 33823264 by federico lopez in ue5-main branch]
2024-05-22 05:43:20 -04:00
carl lloyd
d64722152b RHI Validation
- Removed reliance on ShaderParameterParser for most platforms as it doesn't always parse parameters

#rb Luke.Thatcher

[CL 33822449 by carl lloyd in ue5-main branch]
2024-05-22 04:15:09 -04:00
alex perez
1ceb0661a7 [Insights] Added DisableFrameThrottle flag
#rb ionut.matasaru

[CL 33822400 by alex perez in ue5-main branch]
2024-05-22 04:06:05 -04:00
sebastian arleryd
54cfff6c7b Recursively collect ToolMenu section children into the top-level of a toolbar section
This applies if the toolbar section has a section menu. In that case, the toolbar section itself will from now on be populated with recursive children if those children are flagged to show up in the toolbar top level via FToolMenuEntry::SetShowInToolbarTopLevel(bool).

Note: to update the top-level status of a grandchild, you might need to call UToolMenus::RefreshMenuWidget for the new top-level status to be reflected in already generated widgets.

#jira UE-212289
#rb brooke.hubert, ross.smith2

[CL 33822129 by sebastian arleryd in ue5-main branch]
2024-05-22 03:11:41 -04:00
sebastian arleryd
a376be2729 Make UToolMenus::RefreshMenuWidget refresh all widgets of a menu, not just the first
#jira UE-212289
#rb ross.smith2

[CL 33805448 by sebastian arleryd in ue5-main branch]
2024-05-21 15:20:41 -04:00
ionut matasaru
03432739ea [Insights]
- TraceServices: Added LowerBoundBy and UpperBoundBy algorithms in TPagedArray (in TraceServices::PagedArrayAlgo:: namespace).
  - TraceServices: Added BinarySearchClosestBy algorithm in TPagedArray. Performs binary search, resulting in position of the first element with projected value closest to Value.

#rb Catalin.Dragoiu
[FYI] Johan.Berg

[CL 33801412 by ionut matasaru in ue5-main branch]
2024-05-21 13:37:45 -04:00
devin doucette
67a1ffc6fa DDC: Added a missing request barrier
#rnx

[CL 33800167 by devin doucette in ue5-main branch]
2024-05-21 13:04:36 -04:00
devin doucette
6fccd4be26 DDC: Eliminated blocking tasks used by the legacy cache API
#rb Zousar.Shaker

[CL 33794360 by devin doucette in ue5-main branch]
2024-05-21 10:20:40 -04:00
florian penzkofer
f45f20f45b Fix fatal error when using Editor Preview
#jira UE-215384
#rb dan.elksnitis, Laura.Hermanns, Yuriy.ODonnell

[CL 33792687 by florian penzkofer in ue5-main branch]
2024-05-21 09:36:25 -04:00
catalin dragoiu
bd5e3e75b6 Allow the changing of the StatNamedEvents settings from the TraceControlWindow.
Add IsPaused flag to the TraceControl status message.
Add rediscovery of unregistered selected sessions in TraceController.
#rb ionut.matasaru, Johan.Berg
#jira UE-215072

[CL 33791666 by catalin dragoiu in ue5-main branch]
2024-05-21 08:47:03 -04:00
alexis matte
52a47b3637 AssetTools: Add a IAssetTools::SanitizeName function. Interchange call the new sanitize code API when sanitizing a name, not when sanitizing a path.
#jira UE-215108
#rnx
#rb Dave.Belanger, JeanLuc.Corenthin

[CL 33791465 by alexis matte in ue5-main branch]
2024-05-21 08:37:48 -04:00
ionut matasaru
6690de4212 [Insights]
- LogView: Added visual validation for the issue where log messages are traced out of order. Log messages with non monotonic increasing timestamp will show in red in the Log View.
  - LogView: Minor code optimizations and code refactoring in preparation for further code changes.

#jira UE-215367
#rb Catalin.Dragoiu

[CL 33788779 by ionut matasaru in ue5-main branch]
2024-05-21 04:22:38 -04:00
cody albert
fa1cdf28b2 Fix panning of texture atlas visualizer
[CL 33776692 by cody albert in ue5-main branch]
2024-05-20 15:48:33 -04:00
sebastian arleryd
d40b53a1c6 Add new flag to ToolMenu entries indicating whether they should show up in a toolbar section or just in its section submenu
This flag has no effect if the toolmenu section does not have a section menu.

Note that this change will not display recursive children of the section in the toolbar section even if they are flagged to show in the top level. Only direct child entries of a section with a section menu can be displayed in the top level for now.

#jira UE-212289
#rb ross.smith2

[CL 33764220 by sebastian arleryd in ue5-main branch]
2024-05-20 07:27:43 -04:00
sebastian arleryd
07e4dd37db Treat ToolMenu menu entries as toolbar buttons and combo buttons (in the submenu case) to render them in ToolMenu toolbars
#jira UE-212288
#rb ross.smith2

[CL 33764112 by sebastian arleryd in ue5-main branch]
2024-05-20 07:15:26 -04:00
paul chipchase
375f77902a Clean up VA initialization to avoid potential threading issue
#rb Per.Larsson
#jira UE-214357
#rnx

- TSAN picked up that FVirtualizationManager::bPendingBackendConnections could be accessed on multiple threads while being written too. Technically this is expected which is why the bool was checked a second time after acquiring the lock but to play things safe the bool has been changed to a std::atomic<bool>
- Changed InitCS from a FCriticalSystem (which can use an OS level primitive) to the less expensive FMutex since it's almost never going to be used.

[CL 33761948 by paul chipchase in ue5-main branch]
2024-05-20 03:21:37 -04:00
jerome delattre
60c82b6e18 Align commandline filter options to test automation window filter options.
Add Standard and Negative option

#rnx

#rb sebastian.lewicki

[CL 33733779 by jerome delattre in ue5-main branch]
2024-05-17 15:26:22 -04:00
stu mckenna
8ae75bcbb6 [Backout] - CL33681066
[FYI] bob.tellez
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL33671805
[FYI] stu.mckenna
Original CL Desc
-----------------------------------------------------------------
- Fix for AddUsedInputMembers having inverted source / destination for arrays

#rb Laura.Hermanns

[CL 33726075 by stu mckenna in ue5-main branch]
2024-05-17 11:55:38 -04:00
matt peters
2971248963 IncrementalCook: Add support for iterative and incremental cooks of CookPackageSplitters.
#rnx
#rb Zousar.Shaker

[CL 33710894 by matt peters in ue5-main branch]
2024-05-16 23:22:12 -04:00
zousar shaker
655bc51a38 Add SSL certificates to the zen manifest if the configuration would mean they're part of the staged build.
#jira UE-215216
#rb daniele.pieroni

[CL 33704487 by zousar shaker in ue5-main branch]
2024-05-16 18:58:30 -04:00