From eb6e6bcaa97bcccc7d01342bd85f5f32daa34323 Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 25 Feb 2016 18:41:50 +0100 Subject: [PATCH] Using new KeePassKit API, simple multi selection support --- MacPass.xcodeproj/project.pbxproj | 4 - MacPass/Base.lproj/InspectorView.xib | 33 ++----- MacPass/EntryView.xib | 16 ++-- MacPass/MPAttachmentTableDataSource.m | 7 +- MacPass/MPAttachmentTableViewDelegate.m | 23 +++-- MacPass/MPContextBarViewController.m | 4 +- MacPass/MPDocument+EditingSession.m | 55 ------------ MacPass/MPDocument+HistoryBrowsing.m | 1 - MacPass/MPDocument+Search.m | 1 - MacPass/MPDocument.h | 13 ++- MacPass/MPDocument.m | 87 +++++++++++-------- MacPass/MPDocumentWindowController.m | 10 +-- MacPass/MPDocumentWindowDelegate.m | 2 +- MacPass/MPEntryInspectorViewController.m | 5 +- MacPass/MPEntryViewController.m | 75 ++++++++-------- MacPass/MPGroupInspectorViewController.m | 3 +- MacPass/MPInspectorViewController.m | 34 ++++---- MacPass/MPOutlineDataSource.m | 8 +- MacPass/MPOutlineView.m | 23 +++++ MacPass/MPOutlineViewController.m | 44 ++++++---- .../MPWindowAssociationsTableViewDelegate.m | 9 +- MacPass/OutlineView.xib | 3 +- 22 files changed, 213 insertions(+), 247 deletions(-) delete mode 100644 MacPass/MPDocument+EditingSession.m diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index 0baba342..c22ce0ff 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -181,7 +181,6 @@ 4C89F524182FB4740069C73C /* MPAutotypeCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C89F523182FB4740069C73C /* MPAutotypeCommand.m */; }; 4C8B36AB17A6ED4B005E1FF1 /* MPOutlineContextMenuDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C8B36AA17A6ED4B005E1FF1 /* MPOutlineContextMenuDelegate.m */; }; 4C8DEAA21C314D2C00D24C32 /* MPTestAutotypeDelay.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C8DEAA11C314D2C00D24C32 /* MPTestAutotypeDelay.m */; }; - 4C94A0721938DDC20040ABAB /* MPDocument+EditingSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C94A0711938DDC20040ABAB /* MPDocument+EditingSession.m */; }; 4C978E0D19AE54AB003067DF /* MPFlagsHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C978E0C19AE54AB003067DF /* MPFlagsHelper.m */; }; 4CA08DA017A831B200A6544B /* MPAddEntryContextMenuDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA08D9F17A831B200A6544B /* MPAddEntryContextMenuDelegate.m */; }; 4CA0B2ED15BCADAC00654E32 /* SettingsWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CA0B2EC15BCADAC00654E32 /* SettingsWindow.xib */; }; @@ -563,7 +562,6 @@ 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 = ""; }; - 4C94A0711938DDC20040ABAB /* MPDocument+EditingSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MPDocument+EditingSession.m"; sourceTree = ""; }; 4C978E0C19AE54AB003067DF /* MPFlagsHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPFlagsHelper.m; sourceTree = ""; }; 4CA08D9E17A831B200A6544B /* MPAddEntryContextMenuDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPAddEntryContextMenuDelegate.h; sourceTree = ""; }; 4CA08D9F17A831B200A6544B /* MPAddEntryContextMenuDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPAddEntryContextMenuDelegate.m; sourceTree = ""; }; @@ -959,7 +957,6 @@ 4C1FA07A18231900003A3F8C /* MPDocument+Autotype.m */, 4C15B74518BCA3B1003F8008 /* MPDocument+Search.m */, 4C6B7C7C18BE7EB0001D5D77 /* MPDocument+HistoryBrowsing.m */, - 4C94A0711938DDC20040ABAB /* MPDocument+EditingSession.m */, 4C0AF62D195C1F2B009E658D /* MPEntrySearchContext.h */, 4C0AF62E195C1F2B009E658D /* MPEntrySearchContext.m */, ); @@ -1706,7 +1703,6 @@ 4C7B63711C0CB51F00D7038C /* NSValueTransformer+TransformerKit.m in Sources */, 4CD034AA1BFE113B003C002C /* MPPlugin.m in Sources */, 4CA2335A176DBFE100F0B6AC /* MPLockDaemon.m in Sources */, - 4C94A0721938DDC20040ABAB /* MPDocument+EditingSession.m in Sources */, 4C77C84118E240E000D1C42B /* DDHotKey+MacPassAdditions.m in Sources */, 4C89B71019B4B4A300DC0A6A /* MPTreeDelegate.m in Sources */, 4C88C66918D9F8D600F43852 /* MPTemporaryFileStorageCenter.m in Sources */, diff --git a/MacPass/Base.lproj/InspectorView.xib b/MacPass/Base.lproj/InspectorView.xib index 4c594df7..583a1c1f 100644 --- a/MacPass/Base.lproj/InspectorView.xib +++ b/MacPass/Base.lproj/InspectorView.xib @@ -1,8 +1,8 @@ - + - + @@ -27,10 +27,9 @@ - -