Commit Graph

700 Commits

Author SHA1 Message Date
christopher waters
ccc64990c0 Header dependency cleanup around HitProxies and BatchedElements
#preflight 63b5f772ab0e99a2bee2d8c3

[CL 23583875 by christopher waters in ue5-main branch]
2023-01-04 19:25:52 -05:00
bretternst
c844d5a91f PR #9813: Fix UMG Overlay mouse/touch input not working after launching fullscreen Wayland application (Contributed by bretternst)
#rb daren.cheng
#jira UE-170506
#preflight 63b5e7da592c1a9d7caac454

[CL 23581066 by bretternst in ue5-main branch]
2023-01-04 16:20:00 -05:00
devin doucette
49fb379c64 Logging: Removed FFeedbackContext overrides that are now covered by the base
#jira UE-152840
#preflight 63b46f1e202bee5e2795f603
#rb Zousar.Shaker
#rnx

[CL 23570239 by devin doucette in ue5-main branch]
2023-01-03 16:41:11 -05:00
devin doucette
14a2e7482d Logging: Updated Windows and Linux feedback contexts to support structured logging
This sets up the base FFeedbackContext to do most of the work because there is very little behavioral difference between platforms, yet the majority of the code is duplicated for each platform.

#jira UE-152840
#preflight 63b45fe435203bc7aab23837
#rb Zousar.Shaker
#rnx

[CL 23567792 by devin doucette in ue5-main branch]
2023-01-03 13:07:24 -05:00
henrik karlsson
ce587eb612 Added markups for headers that can't be compiled standalone.. this is needed for both Header units and IWYU
#preflight 63789b0c170bc34a93a869e5
#rb none

[CL 23552160 by henrik karlsson in ue5-main branch]
2022-12-21 02:46:50 -05:00
Bryan sefcik
80f80e7a25 Updated the underlying types for regular and namespaced enums.
#jira
#preflight 638e6d479549ddaa2822be9a

[CL 23421568 by Bryan sefcik in ue5-main branch]
2022-12-06 19:43:59 -05:00
Josh Adams
5615b1a14d - Fixed Android warnings found with some upcoming toolchain changes
- Allow GoogleARSDK for x64 architecture
#rb chris.babcock
#preflight 638a5343976b1644cb6d9c01

[CL 23377164 by Josh Adams in ue5-main branch]
2022-12-02 14:45:19 -05:00
danny couture
3ef112d160 Prefer using Windows functions to get user32.dll to follow best practices and avoid a LoadLibrary with an absolute path
#rnx
#jira UE-170763
#rb Francis.Hurteau
#preflight 6380109418176c67c230c0cb

[CL 23287243 by danny couture in ue5-main branch]
2022-11-28 07:30:42 -05:00
Wei Liu
031203ae2d Fix a bug of android safezone not updated if orientation changes from landscape to reverse landscape.
#jira UE-170632

#rb Chris.Babcock, Dmytro.Vovk
#preflight 637f87b2fa053c489a0b4e60

[CL 23259804 by Wei Liu in ue5-main branch]
2022-11-24 10:41:07 -05:00
danny couture
624b970cdb Add more info to the log when the createwindow function fails and remove unlocalized messagebox that was highly likely to fail to show a window anyway
#rnx
#jira UE-168160
#rb Martin.Sevigny
#preflight 6374e8e1232e3d12cb2a5c25

[CL 23153330 by danny couture in ue5-main branch]
2022-11-16 09:09:41 -05:00
Rafa Lecina
0eb72998ee Add missing release for a property
#jira UE-169916
#review-23134713 @Sam.Zamani, @Bertrand.Carre, @Chris.varnsverry
#preflight

[CL 23135028 by Rafa Lecina in ue5-main branch]
2022-11-15 08:58:17 -05:00
Rafa Lecina
fa8f4245ea Add missing dealloc instance method found by static analysis
#jira UE-169916
#review @Sam.Zamani, @Bertrand.Carre, @Chris.Varnsverry
#preflight

[CL 23133521 by Rafa Lecina in ue5-main branch]
2022-11-15 04:43:10 -05:00
joe pribele
1d8537f20b changed PRAGMA_DISABLE_OPTIMIZATION to UE_DISABLE_OPTIMIZATION_SHIP
#preflight 6372ba60ee4d25f90ae3d207

[CL 23128414 by joe pribele in ue5-main branch]
2022-11-14 17:31:05 -05:00
ben hoffman
8c72c729fa Add the low level Trigger Input Device properties to IInputInterface and use them in the PS5 controllers
#jira UE-158888
#rb Wojciech.Krywult
#preflight 63692201ed07daaa9ab09b95

[CL 23014313 by ben hoffman in ue5-main branch]
2022-11-07 13:32:55 -05:00
henrik karlsson
998789b3fc Fixed non-unity/pch errors
#rb none
#jira none
#preflight skipped

[CL 22982751 by henrik karlsson in ue5-main branch]
2022-11-04 03:02:59 -04:00
henrik karlsson
b985fbd1b1 Removed lots of includes in high traffic headers in order to reduce compile times. Headers are still included if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2 is set to 1
List of highlights
* PlayerController - Removed ForceFeedback and and OnlineReplStructs
* Class - Removed Package.h
* World - Pawn, Blueprint and GameInstance
* Actor - CoreNet, HitResult and ActorDatalayer
* EngineBaseTypes - TaskGraphInterface
* AssetManager - AssetData
* Scene/Child/ActorComponent - CoreNet
* AnimInstance - AttributesRuntime, Skeleton, AnimCurveTypes, AnimMontage, BonePose
* BulkData - IoDispatcher
* AssetData - IoDispatcher, LinkerLoad
* SecureHash - AsyncWork
* CanvasTypes - UnrealEngine, StaticMeshResources
* IpAddress - AsyncWork, Stats

#preflight 6363717ece676ae8688f5d8c
#rb none

[CL 22968258 by henrik karlsson in ue5-main branch]
2022-11-03 17:56:44 -04:00
ben hoffman
ac0136ab29 Add The Input Device trigger enum to the IInputInterface and as a noexport blueprint type. This will allow you to specify which trigger should recieve effects like resistence, feedback, vibration, etc.
#jira UE-158873
#rb David.Harvey
#rnx
#preflight 6362a0889160784fc31a9429

[CL 22961379 by ben hoffman in ue5-main branch]
2022-11-03 15:02:03 -04:00
ben hoffman
06daad67d1 Expose "GetPrimaryPlatformUser" to blueprints so that you can use it as a back up in widgets. Fix a small comment typo in the description.
#rb trivial
#rnx
#preflight skip

[CL 22894895 by ben hoffman in ue5-main branch]
2022-11-01 19:28:26 -04:00
henrik karlsson
cd1466475b Fixed up const/constexpr variables in header files to be "inline"
This is required for c++ modules/header units in order to decide if constexpr/const value should be available to outside module

#preflight 635c0b5c1803be35c767e0ea
#rb none

[CL 22835882 by henrik karlsson in ue5-main branch]
2022-10-28 15:38:42 -04:00
Matt Peters
f583694b1d FInputDeviceLightColorProperty: add constructor that takes bool and color to match the deprecated old class. Fix callsites using the deprecated old class.
#rb None, fixing build break
#rnx
#review-22803172 ben.hoffman
#preflight None, fixing build break

[CL 22803171 by Matt Peters in ue5-main branch]
2022-10-26 22:40:56 -04:00
ben hoffman
1728fead77 Create a generic "FInputDeviceLightColorProperty" that can be used on any platform. Update the Sony platforms to use it instead and deprecate the old one.
#jira UE-158880
#rb Wojciech.Krywult
#preflight 6356d0b33a547c3da32e5e52

[CL 22786927 by ben hoffman in ue5-main branch]
2022-10-26 15:26:24 -04:00
Zak Middleton
a68f85d9d2 #ue5 - Truncation/conversion fixes for ProjectLauncher, MediaAssets, ProjectTargetPlatformEditor, and associated UI code.
#jira UE-160837
#rb Dave.Jones2, Andrew.Davidson
#preflight 63518de9f92c325024c03814

[CL 22693245 by Zak Middleton in ue5-main branch]
2022-10-21 12:58:17 -04:00
ben hoffman
ed98ecade2 Update the platform input device mapper to expose the Allocate User and Device functions as public, allowing for platforms to allocate new input device ID's and platform user's if they want, making for a little bit easier to use API.
When setting the input device connection state, only call the delegate that there was a connection state change if the state is actually different than the existing one.

#rb david.harvey
#rnx
#preflight 634dd24f9c29024c9853f17e

[CL 22619965 by ben hoffman in ue5-main branch]
2022-10-19 03:06:16 -04:00
pj kack
7a12aa6728 TSet & TMap: Make sure any dynamic hash allocation is released when Empty() is called without additional slack.
Memory improvements on top of performance improvements in 11535961.
Allow the hash allocation to shrink for calls to Empty(), Shrink(), Compact() and CompactStable().
Let TSparseArray::Compact() shrink the data array just as for Shrink() and CompactStable().
Note: The private function TSet::ShouldRehash() is only called from Empty() and ConditionalRehash(), and ConditionalRehash() with bAllowShrinking=true is only called from Relax() via Shrink(), so there should be no impact on other/growth scenarios.
Modify GetAllocatedSize() for TSet, TMap and TSparseArray to only return any dynamically allocated size from the underlying allocators and change return type from uint32 to SIZE_T (just as for TArray and FContainerAllocatorInterface).

#rb johan.torp,steve.robb
#preflight 634952f4ce524ed356dafde7, 63496f80f622f6c4bb1c0321, 634d65df9c29024c982ecf26

[CL 22595144 by pj kack in ue5-main branch]
2022-10-18 04:03:13 -04:00
satoshi-iwaki
1958213835 Fix iOS delegate method name typo for remote notification registration failure. Github PR #8541
#jira UE-132541
#rnx
#rb trivial
#preflight none for iOS notifications

[CL 22582670 by satoshi-iwaki in ue5-main branch]
2022-10-17 18:22:14 -04:00