Commit Graph

353 Commits

Author SHA1 Message Date
josh adams
5d9b0e221f - Deprecated FPaths::EnginePlatformExtensionsDir() and FPaths::ProjectPlatformExtensionsDir(), as they do not work with Programs
- Introduced the following to FPaths:
   - EnginePlatformExtensionDir(Platform) - gets the Engine PlatExt dir for the given platform
   - ProjectPlatformExtensionDir(Platform) - gets the Project PlatExt dir for the given platform, where Project can be a Program
   - ConvertPath(Path, Method, ExtraData) - converts a Path for platform extensions and Restricted locations. This is going to be "ground truth" for how to get an extension directory (the two functions above call this).
- Added FConfigContext::VisualizeHierarchy() (static and member versions with differing params) that can log ini hierarchies
#rb david.harvey

[CL 28140788 by josh adams in ue5-main branch]
2023-09-22 12:33:38 -04:00
josh adams
aeb5cb1347 - Restoring a backout after fixing the issue that causes the backout
[Backout] - CL27745134
[FYI] stan.hormell
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27923017 by josh adams in ue5-main branch]
2023-09-15 13:39:02 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00
josh adams
a8a9a0b759 - Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27731364 by josh adams in ue5-main branch]
2023-09-08 17:58:55 -04:00
jamie dale
07cb9e312c Downgrade warning to display to avoid CIS errors when running with -EnableAllPlugins
#jira
#rb none
#rnx

[CL 27723879 by jamie dale in ue5-main branch]
2023-09-08 15:35:24 -04:00
jamie dale
8e37caac97 Improved plugin manager exclusion support when using -EnableAllPlugins
* Added -ExceptRestrictedPlugins to allow you to exclude any restricted plugins
* Added wildcard support to -ExceptPlugins (and -EnablePlugins and -DisablePlugins) so you can do something like -ExceptPlugins="Online*"

#jira
#rb Dave.Belanger, Jason.Walter

[CL 27688930 by jamie dale in ue5-main branch]
2023-09-07 17:09:11 -04:00
tim smith
5252c1e1b3 1) Removed the bUseVerse UBT setting.
2) Removed usage of WITH_VERSE and UE_USE_VERSE_PATHS
3) Modified UBT to always set WITH_VERSE and UE_USE_VERSE_PATHS to one until the setting is completely removed.

#rb Andrew.Scheidecker

[CL 27199531 by tim smith in ue5-main branch]
2023-08-18 08:09:29 -04:00
anousack kitisa
b2527b8a1a Fixed crash when .uproject contains bad Additional[Plugin/Root]Directories values.
#jira UE-191624
#rb Dave.Belanger, Vincent.Gauthier

[CL 26846333 by anousack kitisa in ue5-main branch]
2023-08-04 10:49:48 -04:00
will brown
716336e094 Fixing loc warning
[CL 26519832 by will brown in ue5-main branch]
2023-07-21 14:18:14 -04:00
will brown
dbf03815a0 Disallowed plugin entries can now contain a developer comment. Changed data type from a string to a struct. Backwards compatibility retained
#rb Dave.Belanger, Rex.Hill

[CL 26519388 by will brown in ue5-main branch]
2023-07-21 14:09:47 -04:00
Matt Peters
43cc463bb7 PluginManager: Remove extraneous newline from logmessage.
#rb None, trivial
#rnx

[CL 26471342 by Matt Peters in ue5-main branch]
2023-07-19 17:10:45 -04:00
markus breyer
de86cee117 New delegate event IPluginManager::OnNewPluginContentMounted
- this allows us to run code after a plugin is mounted that specifically depends on the plugin's mount point existing

#rb graeme.thornton
#rb matt.peters

[CL 26302018 by markus breyer in ue5-main branch]
2023-06-28 19:01:22 -04:00
joe pribele
0a1ccfbbc1 redoing 25858318
moved leak detection and Garbage collection to Plugin Manager
Before unmounting the plugin path, GC is ran, leaked detection for any references objects under the plugin path

#rb Justin.Marcus, Markus.Breyer
https://p4-swarm.epicgames.net/reviews/25611054

[CL 26214355 by joe pribele in ue5-main branch]
2023-06-23 14:22:58 -04:00
jason walter
c35bd8fed6 Only support UE_ADDITIONAL_PLUGIN_PATHS environment variable in editor builds.
#jira UE-189132
#rb Joe.Pribele

[CL 26126227 by jason walter in ue5-main branch]
2023-06-20 12:50:18 -04:00
will brown
c7a8be5cba Added a new DisallowedPlugins property to the PluginDescriptor that restricts which plugins can be used by this plugin.
[REVIEW] 25996005
[FYI] Eric.Carter

[CL 26029349 by will brown in ue5-main branch]
2023-06-15 18:36:30 -04:00
will brown
85fdba1a6b NoCode plugin descriptor property to prevent a plugin from containing any code or modules
[REVIEW] 25999534

[CL 26019360 by will brown in ue5-main branch]
2023-06-15 13:44:57 -04:00
jared cotton
8134340e1b Correcting typo in PluginManager.cpp causing static analysis warning's as error
[FYI] will.brown

[CL 25983550 by jared cotton in ue5-main branch]
2023-06-14 12:44:43 -04:00
joe pribele
d2b78c257c Undo //Fortnite/Main/... changelist 25858318
[CL 25862359 by joe pribele in ue5-main branch]
2023-06-07 19:42:46 -04:00
will brown
7369241869 Fixing static analysis warning
#rnx

[CL 25860928 by will brown in ue5-main branch]
2023-06-07 18:32:11 -04:00
joe pribele
8543547111 moved leak detection and Garbage collection to Plugin Manager
Before unmounting the plugin path, GC is ran, leaked detection for any references objects under the plugin path

#rb Justin.Marcus, Markus.Breyer
https://p4-swarm.epicgames.net/reviews/25611054

[CL 25858446 by joe pribele in ue5-main branch]
2023-06-07 17:09:53 -04:00
kirill zorin
b6ee3a6c64 Fix UE_LOG callsites that have format string-related UB
#rb trivial
#preflight 647107780a6634dbb236a0a6

[CL 25651638 by kirill zorin in ue5-main branch]
2023-05-26 15:52:39 -04:00
will brown
ba92fb9214 Fixing conflicting loctext. Issue 306621
#rnx

[CL 25549085 by will brown in ue5-main branch]
2023-05-19 14:43:32 -04:00
will brown
95217d4836 Plugin Sealed load time validation - Prompt the user to disable the plugin or close the application if a plugin is found to have a dependency on a sealed plugin
#rb Eric.Knapik
[REVIEW] 25513696

[CL 25531741 by will brown in ue5-main branch]
2023-05-18 15:30:26 -04:00
Josh Adams
033a0261f8 - Allow for platform plugin extensions to have config files (PlatformMyPlugin.ini)
- Added -dumpiniloads commandline option to show what ini files are looked for, and what are found
#rb bryan.sefcik
#preflight 645d5ca95b775f11fb7060c4

[CL 25436677 by Josh Adams in ue5-main branch]
2023-05-11 17:31:43 -04:00
will brown
e3eb3cb0c2 Added a new 'Sealed' plugin concept that can prevent other plugins from depending on a plugin
#rb Eric.Knapik
#preflight 64505989401d328ad9dc87ba

[CL 25344544 by will brown in ue5-main branch]
2023-05-04 18:35:32 -04:00