From c33c6a8cfae894fe711372e5e5c320d4d0f28714 Mon Sep 17 00:00:00 2001 From: michael starke Date: Mon, 20 Nov 2017 12:51:39 +0100 Subject: [PATCH] Plugin display is now more verbose The plugin settings now displays more information about a failed plugin instead of just not displaying anything at all. --- MacPass.xcodeproj/project.pbxproj | 2 + MacPass/Base.lproj/PluginSettings.xib | 35 ++++++++++++-- MacPass/MPPlugin.h | 1 + MacPass/MPPlugin.m | 34 +++++++++++--- MacPass/MPPluginHost.h | 1 + MacPass/MPPluginHost.m | 62 ++++++++++++++----------- MacPass/MPPluginSettingsController.m | 42 +++++++++++++---- MacPass/MPPlugin_Private.h | 17 +++++++ MacPass/de.lproj/Localizable.strings | 18 +++++++ MacPass/en.lproj/Localizable.strings | 24 ++++++++-- MacPass/en.lproj/PluginSettings.strings | 6 +++ 11 files changed, 194 insertions(+), 48 deletions(-) create mode 100644 MacPass/MPPlugin_Private.h diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index 456ff2bd..7e860511 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -644,6 +644,7 @@ 4C8B36A917A6ED4B005E1FF1 /* MPOutlineContextMenuDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPOutlineContextMenuDelegate.h; sourceTree = ""; }; 4C8B36AA17A6ED4B005E1FF1 /* MPOutlineContextMenuDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPOutlineContextMenuDelegate.m; sourceTree = ""; }; 4C8DEAA11C314D2C00D24C32 /* MPTestAutotypeDelay.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPTestAutotypeDelay.m; sourceTree = ""; }; + 4C8FB9FA1FC2D0EF003691AA /* MPPlugin_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MPPlugin_Private.h; sourceTree = ""; }; 4C93C5701FBDFEF700F36855 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/AutotypeCandidateSelectionView.strings; sourceTree = ""; }; 4C93C5711FBDFEF900F36855 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/AutotypeBuilderView.strings; sourceTree = ""; }; 4C978E0C19AE54AB003067DF /* MPFlagsHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPFlagsHelper.m; sourceTree = ""; }; @@ -1541,6 +1542,7 @@ isa = PBXGroup; children = ( 4CD034A41BFE113B003C002C /* MPPlugin.h */, + 4C8FB9FA1FC2D0EF003691AA /* MPPlugin_Private.h */, 4CD034A51BFE113B003C002C /* MPPlugin.m */, 4CD034A81BFE113B003C002C /* MPPluginHost.h */, 4CD034A91BFE113B003C002C /* MPPluginHost.m */, diff --git a/MacPass/Base.lproj/PluginSettings.xib b/MacPass/Base.lproj/PluginSettings.xib index 1f223f4b..3f05dd77 100644 --- a/MacPass/Base.lproj/PluginSettings.xib +++ b/MacPass/Base.lproj/PluginSettings.xib @@ -10,6 +10,8 @@ + + @@ -26,6 +28,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +