Commit Graph

1501 Commits

Author SHA1 Message Date
eric knapik
9704c5adc2 #jira: UE-155425
Don't skip loading ini files if the path isn't fully qualified by ending in the .ini filetype.
This can prevent the CommandLineAlias from not being loaded if the ini file is skipped.

[FYI] Josh.Adams

#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 20445308 via CL 20445309
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449664 by eric knapik in ue5-main branch]
2022-06-01 04:27:54 -04:00
CarlMagnus Nordin
3d5a2052dc AsyncLoading2: Add support for having multiple PackageStore backends
#preflight 6296fc872a1851b4ccae7e39
#rb pj.kack

[CL 20447121 by CarlMagnus Nordin in ue5-main branch]
2022-06-01 02:12:33 -04:00
josh adams
46a830d6b4 - Replacing many uses of LoadGlobalIniFile and LoadExternalIniFile with FCOnfigContext
#rb matt.peters
#p4v-preflight-copy 20293528
#preflight 629665d15238916c514359ad

[CL 20441581 by josh adams in ue5-main branch]
2022-05-31 16:25:06 -04:00
Jimmy Andrews
ce6bd4d0a5 re-fix slow task getting stuck on auto-cancel w/ delayed dialogs, this time accounting for nested slow tasks
#rb matija.kecman
#preflight 62963d49be0ae0b33a4524f1

[CL 20438322 by Jimmy Andrews in ue5-main branch]
2022-05-31 12:19:54 -04:00
JeanFrancois Dube
5feebe9624 World Partition:
- Added FHierarchicalLogArchive proxy that can be used to output a structured log archive.
- Converted world partition streaming generation logging to use FHierarchicalLogArchive.

#rb richard.malo
#preflight 6294e2363f154a84f7fb492d
#rnx

[CL 20431659 by JeanFrancois Dube in ue5-main branch]
2022-05-30 12:37:47 -04:00
Jerome Delattre
fd78d9fe7d Avoid map reallocation for AutomationTest filters
#preflight 6294d35d4c7bcac173d20670
#rb Chris.Constantinescu
#rnx
#jira none

[CL 20430933 by Jerome Delattre in ue5-main branch]
2022-05-30 10:34:32 -04:00
Richard Wallis
55c9e19f57 Remove macOS specific logic in FPaths::GeneratedConfigDir(). Using ~/library/preferences/UnrealEngine folder based on project name can lead to clashes with different projects using the same name. Use the same logic as other platforms and store generated config ini files in the project/saved/ folder. This also will fix the minor issue of leaving lots of per project config files around in ~/library/preferences/UnrealEngine when you delete a project.
Tested multiple blueprint and C++ projects with the same name in different directories; running the editor + PIE + cooking & packing.

#jira UE-130570
#review-20362376 @will.damon
#preflight https://horde.devtools.epicgames.com/job/628dfb1d415c65b96ae16322
#rb Will.Damon, Josh.Adams

[CL 20429412 by Richard Wallis in ue5-main branch]
2022-05-30 05:38:41 -04:00
Jimmy Andrews
532db0b972 fix a bug where FScopedSlowTask can get stuck auto-cancelling if the dialog-create-delay is longer than it takes to call ShouldCancel()
#rb rinat.abdrashitov
#preflight 628dbcbcaf7a2e956ba62ee3

[CL 20381176 by Jimmy Andrews in ue5-main branch]
2022-05-26 13:19:28 -04:00
christopher waters
7987ddf072 When saving an ini file, the SourceIniHierarchy wasn't being configured correctly, causing things like array clearing to not be handled correctly.
#jira none
#rb josh.adams
#preflight 628c08bff1421422ea98f556

[CL 20340829 by christopher waters in ue5-main branch]
2022-05-23 18:43:18 -04:00
jeff newquist
45350930a3 Remove NDA platform define references
#jira none
#rb rolando.caloca, david.harvey
#preflight 62880af3d1384beadd4de28b

[CL 20332798 by jeff newquist in ue5-main branch]
2022-05-23 13:53:51 -04:00
CarlMagnus Nordin
210d67b30e Promoted Zen project id generation to FApp
#rb pj.kack
#preflight 628769032c34da686ac82442

[CL 20316798 by CarlMagnus Nordin in ue5-main branch]
2022-05-23 01:49:25 -04:00
Josh Adams
5980a26d2e - Changed FConfigCacheIni to be a map of FString->FConfigFile* instead of FConfigFile, so if a file is added, it won't reallocate memory of other files
- Moved the TMap of non-known config files to a member instead of superclass for FConfigCacheIni. Exposed some minor bugs, which are now fixed
#rb christopher.waters
#jira UE-152128
#preflight 6287e72a2c34da686af59bbf

[CL 20301183 by Josh Adams in ue5-main branch]
2022-05-20 15:22:51 -04:00
ben hoffman
ec9daec419 Deprecate the core delegates for OnControllerConnectionChange and OnControllerPairingChange in favor of the new IPlatformInputDeviceMapper versions that will allow you to get info about what gamepad specifically has sent input events.
#jira UE-147796
#rb marc.audy
#preflight 628663ca2b53e2be4caf4450

[CL 20285694 by ben hoffman in ue5-main branch]
2022-05-19 15:36:55 -04:00
Devin Doucette
3045e3c75f Logging: Changed CanBeUsedOnPanicThread() to return false by default
The previous default of CanBeUsedOnAnyThread() proved unsafe since some output devices can safely be used on any thread but cannot safely be used during a crash. CanBeUsedOnAnyThread() was used pre-5.1 to control serialization to an output device during a crash, but optimizations in 5.1 have uncovered that some of these were never safe.

#preflight 62856506614041edb7a6de4b
#rb Zousar.Shaker
#rnx

[CL 20280354 by Devin Doucette in ue5-main branch]
2022-05-19 10:39:18 -04:00
Marc Audy
c03afbdab2 Fix non-unity errors
#rnx
#preflight

[CL 20276631 by Marc Audy in ue5-main branch]
2022-05-19 02:05:16 -04:00
Josh Adams
c2b6817353 - Cleaned up old FConfigCacheIni stuff and new FConfigContext, getting rid of duplicated functions, and moving some stuff into FConfigContext and the new UE::ConfigUtilities namespace
- Deprecated some global functions now in ConfigUtilities
- Deleted a couple of old deprecated stuff from 3.24

#rb chris.waters
#preflight 628415e1ba3597a030b3b900

[CL 20259749 by Josh Adams in ue5-main branch]
2022-05-18 08:59:31 -04:00
christopher waters
e750d0b6e5 Adding support for configuring an array property to be empty.
If an array property has elements defines in a Base config and an editor wants to configure the property to be empty in a Default config, nothing was being written.
The first problem was that only object properties with values are written to config files. In this case, we can use the !Property=ClearValue.
The second problem was handling this !Property case inside the config writing code. The code that detects array properties had to be adjusted to detect a !Property entry and check if the property is also empty in the config hierarchy.

#jira none
#rb josh.adams
#preflight 6283f22c25234f88c5e4418b

[CL 20250559 by christopher waters in ue5-main branch]
2022-05-17 16:48:43 -04:00
Michael Galetzka
76cee75854 Removed useless stack walks for test info messages; added some test stats
#jira none
#rb simon.tovey
#preflight 6283f65c486700b561a1dc26

[CL 20249713 by Michael Galetzka in ue5-main branch]
2022-05-17 15:47:34 -04:00
Josh Adams
8910629a37 - Fixed the Save dir for some editor configs, also fixes plugins loading into Editor.ini
#rb jason.stasik
#jira UE-151341
#preflight 627aad9c3277776ff3fd0768

[CL 20127187 by Josh Adams in ue5-main branch]
2022-05-10 14:41:00 -04:00
Josh Adams
b788a36fba - Fixed another checkSlow
#rb trivial
#preflight 627a9be4fc07e0a9b41b1a6a

[CL 20125473 by Josh Adams in ue5-main branch]
2022-05-10 13:30:02 -04:00
Josh Adams
79030a2f8d - Deleting old unused code, and a related useless checkSlow that was firing in debug
#rb trivial
#preflight 627a5b779d4909c3fc18aac0

[CL 20121836 by Josh Adams in ue5-main branch]
2022-05-10 08:56:22 -04:00
stanley hayes
3792731900 #JIRA: SOL-2646
- Fix for FFileHelper::SaveStringToFile not closing a file handle

#rnx
#rb Jared.Cotton
#rb YiLiang.Siew

#preflight 627961c4a35fb5cb3f54e42a

#ROBOMERGE-AUTHOR: stanley.hayes
#ROBOMERGE-SOURCE: CL 20110449 via CL 20110971 via CL 20111930 via CL 20112187
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20114367 by stanley hayes in ue5-main branch]
2022-05-09 19:53:27 -04:00
Josh Adams
2023137e20 - Changed Plugins to use an FConfigContext, uising the FConfigContext::ReadPluginFile() factory, this dramatically reduces the number of files to scan, solves the BaseFoo.ini vs DefaultFoo.ini issue for Engine vs Project plugins
- Moved the IniCacheSet into the FConfigContext, and out of FConfigCacheIni. We could possibly get rid of it now entirely with the reduced number of paths we look for (and the fact that plugin scanning will be multithreaded soon)
- Removed the TRUEENGINE workaround now that Plugins are using a context to load the file, this makes the workaround unnecessary since plugins don't fake the EngineConfigDir
#rb jon.nabozny
#preflight 627959cf242446ce6c637258
#jira UE-151373,UE-151376

[CL 20108089 by Josh Adams in ue5-main branch]
2022-05-09 14:58:59 -04:00
aditya ravichandran
8facdaacfa FAsyncTaskNotification: Refactor to remove SSlateAsyncTaskNotificationWidget and use different SNotificationItem notifications depending on the state
#jira UE-134088
#rb Matt.Kuhlenschmidt
#preflight 62791d38ea2a9db9dc57a50e

[CL 20102262 by aditya ravichandran in ue5-main branch]
2022-05-09 10:06:37 -04:00
Josh Adams
df38061d8e - Fixed a config issue with deeply nested projects
#rb alex.mcadams (tested)
#preflight 62758966c8382bead6c72525

[CL 20085137 by Josh Adams in ue5-main branch]
2022-05-06 17:05:38 -04:00