366 Commits

Author SHA1 Message Date
Anousack Kitisa
91f4cfa4ac Fixed crash when .uproject contains bad Additional[Plugin/Root]Directories values.
#jira UE-191624
#rb Dave.Belanger, Vincent.Gauthier

[CL 26845897 by Anousack Kitisa in 5.3 branch]
2023-08-04 10:40:49 -04:00
jason walter
08d2737b2f Only support UE_ADDITIONAL_PLUGIN_PATHS environment variable in editor builds.
#jira UE-189132
#rb Joe.Pribele

[CL 26126486 by jason walter in 5.3 branch]
2023-06-20 12:58:51 -04:00
henrik karlsson
562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00
will brown
60dfe2d53e Added a new DisallowedPlugins property to the PluginDescriptor that restricts which plugins can be used by this plugin.
[REVIEW] 25996005
[FYI] Eric.Carter

[CL 26054459 by will brown in 5.3 branch]
2023-06-16 11:45:34 -04:00
will brown
bcb3b55e47 NoCode plugin descriptor property to prevent a plugin from containing any code or modules
[REVIEW] 25999534

[CL 26038908 by will brown in 5.3 branch]
2023-06-16 02:58:01 -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
eric knapik
27ddbbdbde #jira: UE-177511
Make UEFN a modular build
Move UEFNEngine.ini under the UEFN plugin so it correctly is loaded

[REVIEW] [at]Chris.Varnsverry, [at]Henrik.Karlsson, [at]Josh.Adams
#preflight 644aeb72b208f61af8395b09
#preflight 644b517b9c50ddcc0b171ca8

[CL 25309650 by eric knapik in ue5-main branch]
2023-05-02 18:25:37 -04:00
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
joe pribele
c0934ad88c code cleanup removed uncessessary declspec on interface functions
https://p4-swarm.epicgames.net/reviews/24920073

#rb zousar.shaker
#preflight 642da16ece01db47accbdbea

[CL 24930644 by joe pribele in ue5-main branch]
2023-04-05 12:41:25 -04:00
joe pribele
3d7a186de2 code cleanup removed PRAGMA_DISABLE_DEPRECATION_WARNINGS
https://p4-swarm.epicgames.net/reviews/24920073

#rb zousar.shaker
#preflight 642ca71bf376ab43d298742c

[CL 24920325 by joe pribele in ue5-main branch]
2023-04-04 18:53:39 -04:00
dave dixon
124480d2c4 Expose finding a plugin via the plugin descritptor. This allows you to find a particular version of a plugin.
#rb mike.beach francis.hurteau joe.pribele
#preflight 640157331d304a5471822b2b

[CL 24495590 by dave dixon in ue5-main branch]
2023-03-03 00:44:20 -05:00
jeff fisher
bb31c00d86 UE-177919 Quick Launch fails when CoTF is enabled due to plugin failing to load modules
-Reverting one part of the change to fix cook on the fly with plugin extensions that add supported target platforms.  The fact that the reference platform list is often empty, and that empty list = all platforms meant this was letting through incorrect plugins in some cases.  Further testing revealed that while the platform extension plugin is rejected here by the previous code it is picked up later on in cook-on-the-fly.
#jira UE-177919
[REVIEW]
#rb christopher.fiala
#preflight 63f7c4f7b879197e73e30c3a

[CL 24389879 by jeff fisher in ue5-main branch]
2023-02-23 16:38:07 -05:00
dave belanger
a492304ada Expose method to recursively search uplugin files under a specified directory (optimized with parallel directory search and with the assumption that once a uplugin file is found in a specific folder, there cannot be anymore in the same folder hierarchy)
#rb Rex.Hill
#preflight skip

[CL 24224974 by dave belanger in ue5-main branch]
2023-02-14 20:26:15 -05:00
jeff fisher
eee97ca799 UE-176366 CookOnTheFly does not apply PluginExtensions.
-First problem: we were filtering out plugins based on the FPlugin, rather than the FPluginReference.  This meant that the platform extension platforms were not in the supported list.  Needed to use the FPluginReference in that one spot.
-Second problem: platform extension .uplugin files were not added to the file list for the NetworkFileServer because we find Plugins separately specifically looking for the basedir of each plugin.  In order to find these files I am caching the basedir of each child plugin in the FPlugin when we merge the children into it.  NetworkFileServer can then find these directores, examine them to see if they are not for the targeted platform, and make them available to the client.
#jira UE-176366 UE-137717
#rb Josh.Adams  Robert.Srinivasah
#preflight 63e2ce87cf24c08f2cb0e080

[CL 24074814 by jeff fisher in ue5-main branch]
2023-02-08 12:13:29 -05:00
joe pribele
f5b4ec5fca changed PluginManager logging to Display for when the same plugin is prioritized over another
#jira https://jira.it.epicgames.com/browse/UE-157144
https://p4-swarm.epicgames.net/reviews/23997521

#rb zousar.shaker
#preflight 63dd7e9b1b44ee7cb184c0ed

[CL 23998269 by joe pribele in ue5-main branch]
2023-02-03 16:55:44 -05:00
jamie dale
8cb2b15380 Don't trigger plugin module loading when querying which plugins have localization data
GetLocalizationPathsForEnabledPlugins will now avoid loading any plugin modules (from its previous call to ConfigureEnabledPlugins), and any plugins that become enabled between GetLocalizationPathsForEnabledPlugins calls will explicitly notify that their localization data is available (as already happens for explicitly loaded plugins).

#preflight 63da96dc7a39a18021762488
#rb Robert.Manuszewski, Rex.Hill
#rnx

[CL 23961030 by jamie dale in ue5-main branch]
2023-02-01 19:26:45 -05:00
david hibbitts
bc4371efef Added a function to the PluginManager to get dependencies for a given FPluginReferenceDescriptor
[CL 23922320 by david hibbitts in ue5-main branch]
2023-01-31 00:53:41 -05:00