Commit Graph

76 Commits

Author SHA1 Message Date
Ben Marsh
97c4ea914a Missing files from CL 2641800.
[CL 2641821 by Ben Marsh in Main branch]
2015-08-03 09:03:34 -04:00
Matthew Griffin
a0648f1897 Added a dialog box to alert users when there is a problem loading a plugin descriptor file
#jira UE-14889

[CL 2625684 by Matthew Griffin in Main branch]
2015-07-20 06:52:56 -04:00
Matthew Griffin
3025b7ea08 Changed code checking module compatibility to only run on non monolithic builds
Also fixed spelling mistake in function that made it hard to find all instances of the same thing

#codereview James.Moran

[CL 2607567 by Matthew Griffin in Main branch]
2015-07-01 11:29:29 -04:00
Matthew Griffin
a7abb56f78 Added a check on whether plugins are compatible when dealing with a content only project as they will not try to build them later. Give the option to disable them before they are added to the list of plugins to load.
Also fixed issue with iteration of plugins as items could be removed from the list while doing so.

UE-17136 - Enabling the WinDualShock plugin will cause the project to be unable to open again

[CL 2603703 by Matthew Griffin in Main branch]
2015-06-29 05:14:20 -04:00
Peter Knepley
c2903c6c42 Reverting plugin descriptor change
Merging 2590240

//depot/UE4-UT/...

to //depot/UE4/...

#codereview Matthew.Griffin

[CL 2592011 by Peter Knepley in Main branch]
2015-06-18 10:50:06 -04:00
Peter Knepley
ceb95abc89 Support for silently ignoring plugin load failures. Can happen if plugin not supported on all platforms.
Merging 2587926

//depot/UE4-UT/...

to //depot/UE4/...

#codereview James.Golding

[CL 2588608 by Peter Knepley in Main branch]
2015-06-16 10:27:07 -04:00
Matthew Griffin
d2515308d8 Ensure that dependencies on removed plugins are removed from the saved .uproject file
Removed Saving from the Project Manager's SetPluginEnabled function, setting a dirty flag instead, as it won't be able to check source control
Added a new function to save the current project from the Project Manager and clear the dirty flag on success

[CL 2588323 by Matthew Griffin in Main branch]
2015-06-16 04:27:48 -04:00
Josh Adams
7ff0070a83 - Basic support for compiling Xcode 7 (iOS9, MacOS 10.11)
- Marked some overrides properly, then gave up and added -Wno-inconsistent-missing-override)
- Improved Xcode selection process for Mac and iOS (no more hardcoding Xcode path - it uses the currently running Xcode, or xcode-select when using commandline)
   - Added AppleToolchain.cs, to start sharing code between Mac and IOS Toolchains (Compile functionality and params to clang could be shared pretty easily)
   -
- Some Utility functions:
   - Added UBT utility to run a commandline and get its output, self-contained (Utils.RunLocalProcessAndReturnStdOut)
   - Added Log.TraceInformationOnce (and Error, Warning, etc) to print out a message only one time, without a bunch of static bools everywhere
#codereview michael.trepka,peter.sauerbrei,mark.satterthwaite

[CL 2586000 by Josh Adams in Main branch]
2015-06-12 13:45:19 -04:00
Matthew Griffin
f51aa7f78c Added support URL for plugins
Removed Custom file writing code from Plugin Creator plugin as it hadn't been kept up to date with normal methods and did not write all properties

Also noticed two strings in plugin tile used the same key, allowed documentation and support to preview URL as well

UE-16203

[CL 2579743 by Matthew Griffin in Main branch]
2015-06-08 04:49:29 -04:00
Peter Sauerbrei
2e8a308315 fix for installed plugins enabled by default kicking a link build for content-only projects
UE-16385
#codereview ben.marsh

[CL 2571774 by Peter Sauerbrei in Main branch]
2015-05-30 15:41:30 -04:00
Ben Marsh
7b2d94f21c Fix disabling an installed plugin removing it from the plugin reference list, which causes them to be re-enabled on next engine startup.
[CL 2571722 by Ben Marsh in Main branch]
2015-05-30 12:51:57 -04:00
Ben Marsh
cc719d7a21 Always enable installed plugins by default, but update your project file with references to them on startup (so other users opening the project will be able to find it on the marketplace).
[CL 2566860 by Ben Marsh in Main branch]
2015-05-27 12:56:05 -04:00
Ben Marsh
da817d30ef Automatically refresh the plugins list when a plugin is added or modified externally. Also simplify the logic for scanning for plugins.
[CL 2544726 by Ben Marsh in Main branch]
2015-05-10 15:38:43 -04:00
Ben Marsh
4f07e9779a Fix initialization order warnings for FPluginReferenceDescriptor, and reorder constructor parameters to match the more logical order.
[CL 2544454 by Ben Marsh in Main branch]
2015-05-09 08:05:10 -04:00
Ben Marsh
86551e13b5 Add a Marketplace URL field to the .uplugin descriptor. The URL will be embedded into projects that enable the plugin, which will prompt to open the marketplace at the given URL if the user doesn't have the plugin installed.
#codereview Richard.Fawcett, Leigh.Swift

[CL 2543889 by Ben Marsh in Main branch]
2015-05-08 18:24:48 -04:00
Ben Marsh
78f6199447 Add a separate category for "installed" plugins, and hide categories if they're empty.
[CL 2527764 by Ben Marsh in Main branch]
2015-04-27 20:08:52 -04:00
Ben Marsh
eecb6f24ce Remove ensure against CoreUObject mount delegate existing unless there are plugins with content folders. Not entirely sure why this is necessary yet, but Mac DDC seems to be failing where it wasn't before.
[CL 2526386 by Ben Marsh in Main branch]
2015-04-26 22:19:39 -04:00
Ben Marsh
a784ebdf3c Change IPluginManager to return shared pointers to plugin objects, rather than passing raw pointers by default.
[CL 2526084 by Ben Marsh in Main branch]
2015-04-26 10:47:22 -04:00
Ben Marsh
923e6b01a4 Renaming some plugin browser stuff for consistency, and removing a bunch of unnecessary abstractions.
[CL 2526080 by Ben Marsh in Main branch]
2015-04-26 10:27:46 -04:00
Ben Marsh
11ff491a44 Add editor for plugin metadata.
[CL 2526069 by Ben Marsh in Main branch]
2015-04-26 09:18:08 -04:00
Ben Marsh
41d63d4980 Add a virtual destructor to FPlugin.
[CL 2524969 by Ben Marsh in Main branch]
2015-04-24 17:05:49 -04:00
Ben Marsh
9e4c2ae0a5 Use the exposed IPlugin interface to get plugin content folders rather than querying it separately.
[CL 2524929 by Ben Marsh in Main branch]
2015-04-24 16:37:21 -04:00
Ben Marsh
83e12c29e1 Accessor to get an array of all the enabled plugins.
[CL 2524773 by Ben Marsh in Main branch]
2015-04-24 14:58:39 -04:00
Ben Marsh
b1cf5c6d34 Add IPlugin interface, rather than exposing lots of raw data for plugins.
[CL 2524702 by Ben Marsh in Main branch]
2015-04-24 14:23:22 -04:00
Ben Marsh
8be8504edc Remove some of the tedious layers of indirection from the plugin manager.
[CL 2521707 by Ben Marsh in Main branch]
2015-04-22 16:41:13 -04:00