diff --git a/HNHUi b/HNHUi index 32be9c7c..f12405e3 160000 --- a/HNHUi +++ b/HNHUi @@ -1 +1 @@ -Subproject commit 32be9c7cea56bbec94e6a974e5561ee330372895 +Subproject commit f12405e384eebdfb692e5750b4ff77b9be183bfb diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index 1b50fdcc..781c4b21 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -138,6 +138,8 @@ 4C669B9F16760ED100DD0774 /* RandomStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7516760ED100DD0774 /* RandomStream.m */; }; 4C669BA016760ED100DD0774 /* Salsa20RandomStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7716760ED100DD0774 /* Salsa20RandomStream.m */; }; 4C669BA216760ED100DD0774 /* UUID.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7B16760ED100DD0774 /* UUID.m */; }; + 4C67D33017981A2B00A7BDFC /* HNHTokenField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C67D32F17981A2B00A7BDFC /* HNHTokenField.m */; }; + 4C67D33317981ABA00A7BDFC /* HNHTokenFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C67D33217981ABA00A7BDFC /* HNHTokenFieldCell.m */; }; 4C69A73A16D589DF00EC1B1A /* HNHGradientView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C69A73916D589DF00EC1B1A /* HNHGradientView.m */; }; 4C6D1D25178579570014C5A5 /* 48_FolderTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C6D1D24178579570014C5A5 /* 48_FolderTemplate.pdf */; }; 4C6D1D27178586CA0014C5A5 /* 99_AddFolderTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C6D1D26178586CA0014C5A5 /* 99_AddFolderTemplate.pdf */; }; @@ -477,6 +479,10 @@ 4C669B7716760ED100DD0774 /* Salsa20RandomStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Salsa20RandomStream.m; sourceTree = ""; }; 4C669B7A16760ED100DD0774 /* UUID.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UUID.h; sourceTree = ""; }; 4C669B7B16760ED100DD0774 /* UUID.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UUID.m; sourceTree = ""; }; + 4C67D32E17981A2B00A7BDFC /* HNHTokenField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HNHTokenField.h; sourceTree = ""; }; + 4C67D32F17981A2B00A7BDFC /* HNHTokenField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HNHTokenField.m; sourceTree = ""; }; + 4C67D33117981ABA00A7BDFC /* HNHTokenFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HNHTokenFieldCell.h; sourceTree = ""; }; + 4C67D33217981ABA00A7BDFC /* HNHTokenFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HNHTokenFieldCell.m; sourceTree = ""; }; 4C69A73816D589DF00EC1B1A /* HNHGradientView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HNHGradientView.h; sourceTree = ""; }; 4C69A73916D589DF00EC1B1A /* HNHGradientView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HNHGradientView.m; sourceTree = ""; }; 4C6D1D24178579570014C5A5 /* 48_FolderTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = 48_FolderTemplate.pdf; sourceTree = ""; }; @@ -1329,6 +1335,10 @@ 4CC3AAB9175F4983003EF01B /* HNHRoundedTextFieldCell.m */, 4C9D6AA717615199001C660C /* HNHRoundedSecureTextFieldCell.h */, 4C9D6AA817615199001C660C /* HNHRoundedSecureTextFieldCell.m */, + 4C67D32E17981A2B00A7BDFC /* HNHTokenField.h */, + 4C67D32F17981A2B00A7BDFC /* HNHTokenField.m */, + 4C67D33117981ABA00A7BDFC /* HNHTokenFieldCell.h */, + 4C67D33217981ABA00A7BDFC /* HNHTokenFieldCell.m */, 4C58BD4D176370B100B8178C /* HNHBadgedTextField.h */, 4C58BD4E176370B100B8178C /* HNHBadgedTextField.m */, 4CAF62FA1763604000CD7084 /* HNHBadgedTextFieldCell.h */, @@ -1808,6 +1818,8 @@ 4C055E74179620BF00BD2BAB /* NSString+CommandString.m in Sources */, 4CC0D2CE17974A47000B4BDA /* MPCustomFieldTableViewDelegate.m in Sources */, 4CC0D2D117974A5A000B4BDA /* MPAttachmentTableViewDelegate.m in Sources */, + 4C67D33017981A2B00A7BDFC /* HNHTokenField.m in Sources */, + 4C67D33317981ABA00A7BDFC /* HNHTokenFieldCell.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/MacPass/DatabaseSettingsWindow.xib b/MacPass/DatabaseSettingsWindow.xib index b2d09649..44c7a059 100644 --- a/MacPass/DatabaseSettingsWindow.xib +++ b/MacPass/DatabaseSettingsWindow.xib @@ -71,6 +71,7 @@ {{463, 13}, {69, 32}} + _NS:9 YES @@ -99,13 +100,13 @@ {{13, 41}, {520, 246}} - + _NS:9 1 - + 256 @@ -113,7 +114,6 @@ 268 {{136, 148}, {280, 22}} - _NS:9 YES @@ -151,7 +151,6 @@ 268 {{50, 121}, {81, 17}} - _NS:1535 YES @@ -185,7 +184,6 @@ 268 {{25, 151}, {106, 17}} - _NS:1535 YES @@ -212,28 +210,8 @@ 2322 - - Apple HTML pasteboard type - Apple PDF pasteboard type - Apple PICT pasteboard type - Apple PNG pasteboard type - Apple URL pasteboard type - CorePasteboardFlavorType 0x6D6F6F76 - NSColor pasteboard type - NSFilenamesPboardType - NSStringPboardType - NeXT Encapsulated PostScript v1.2 pasteboard type - NeXT RTFD pasteboard type - NeXT Rich Text Format v1.0 pasteboard type - NeXT TIFF v4.0 pasteboard type - NeXT font pasteboard type - NeXT ruler pasteboard type - WebURLsWithTitlesPboardType - public.url - {278, 121} - _NS:13 @@ -296,7 +274,6 @@ {{1, 1}, {278, 121}} - _NS:11 @@ -327,20 +304,18 @@ 256 {{263, 1}, {16, 121}} - _NS:83 NO _doScroller: - 0.99242424242424243 + 0.82352941176470584 -2147483392 {{-100, -100}, {87, 18}} - _NS:33 NO @@ -353,7 +328,6 @@ {{136, 17}, {280, 123}} - _NS:9 133138 @@ -366,8 +340,6 @@ {{10, 33}, {500, 200}} - - _NS:11 @@ -714,14 +686,15 @@ - + 256 268 - {{15, 154}, {307, 18}} + {{70, 159}, {307, 18}} + _NS:9 YES @@ -746,8 +719,9 @@ 268 - {{15, 55}, {138, 18}} + {{70, 60}, {138, 18}} + _NS:9 YES @@ -772,8 +746,9 @@ 268 - {{57, 32}, {187, 18}} + {{112, 37}, {187, 18}} + _NS:9 YES @@ -798,8 +773,9 @@ 268 - {{56, 128}, {94, 17}} + {{111, 133}, {94, 17}} + _NS:1535 YES @@ -818,8 +794,9 @@ 268 - {{56, 103}, {142, 17}} + {{111, 108}, {142, 17}} + _NS:1535 YES @@ -838,8 +815,9 @@ 268 - {{201, 98}, {122, 26}} + {{256, 103}, {122, 26}} + _NS:9 YES @@ -913,8 +891,9 @@ 268 - {{203, 126}, {96, 22}} + {{258, 131}, {96, 22}} + _NS:9 YES @@ -934,8 +913,9 @@ 268 - {{304, 123}, {19, 27}} + {{359, 128}, {19, 27}} + _NS:1099 YES @@ -953,8 +933,9 @@ 268 - {{157, 51}, {220, 26}} + {{212, 56}, {220, 26}} + _NS:9 {750, 750} @@ -988,6 +969,8 @@ {{10, 33}, {500, 200}} + + Advanced @@ -995,13 +978,13 @@ - + 0 YES YES - + @@ -1035,7 +1018,7 @@ - {{0, 0}, {1920, 1058}} + {{0, 0}, {2560, 1418}} {10000000000000, 10000000000000} YES @@ -1281,7 +1264,7 @@ 29 3 - + 3 0 @@ -1587,7 +1570,6 @@ 369 - 6 @@ -1716,7 +1698,7 @@ 24 2 - + 4 0 @@ -1724,7 +1706,7 @@ 4 1 - 54 + 59 1000 @@ -1748,7 +1730,7 @@ 24 3 - + 4 0 @@ -1756,7 +1738,7 @@ 4 1 - 34 + 39 1000 @@ -1780,6 +1762,22 @@ 24 2 + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + 10 @@ -1796,22 +1794,6 @@ 24 2 - - - 5 - 0 - - 5 - 1 - - 17 - - 1000 - - 8 - 29 - 3 - 10 @@ -1860,7 +1842,7 @@ 40 2 - + 5 0 @@ -1868,15 +1850,15 @@ 5 1 - 17 + 72 1000 - 9 - 40 + 3 + 9 3 - + 3 0 @@ -1884,22 +1866,23 @@ 3 1 - 30 + 25 1000 - 9 - 40 + 3 + 9 3 + + - @@ -2277,16 +2260,6 @@ - - 533 - - - - - 534 - - - 535 @@ -2300,11 +2273,6 @@ - - 538 - - - 539 @@ -2365,16 +2333,6 @@ - - 566 - - - - - 568 - - - 579 @@ -2468,11 +2426,6 @@ - - 602 - - - 527 @@ -2942,11 +2895,6 @@ - - 845 - - - 853 @@ -2985,11 +2933,6 @@ - - 960 - - - 967 @@ -3140,56 +3083,16 @@ - - 1059 - - - - - 1060 - - - 1064 - - 1067 - - - 1068 - - 1071 - - - - - 1074 - - - - - 1075 - - - - - 1076 - - - - - 1077 - - - 1078 @@ -3205,6 +3108,86 @@ + + 1096 + + + + + 1059 + + + + + 602 + + + + + 1071 + + + + + 1077 + + + + + 845 + + + + + 1067 + + + + + 1075 + + + + + 568 + + + + + 1074 + + + + + 566 + + + + + 1113 + + + + + 1114 + + + + + 1115 + + + + + 1116 + + + + + 1117 + + + @@ -3244,27 +3227,31 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + - + @@ -3303,17 +3290,17 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - + + - + - + - + @@ -3374,12 +3361,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3473,7 +3457,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3482,7 +3465,7 @@ - 1080 + 1117 diff --git a/MacPass/DocumentWindow.xib b/MacPass/DocumentWindow.xib index 1c4b3bf1..0bb99614 100644 --- a/MacPass/DocumentWindow.xib +++ b/MacPass/DocumentWindow.xib @@ -50,7 +50,7 @@ - {{0, 0}, {1920, 1058}} + {{0, 0}, {2560, 1418}} {10000000000000, 10000000000000} DatabaseWindow YES @@ -65,6 +65,7 @@ _NS:9 YES 2 + diff --git a/MacPass/MPDocumentWindowController.m b/MacPass/MPDocumentWindowController.m index d4f1b88f..7949cfda 100644 --- a/MacPass/MPDocumentWindowController.m +++ b/MacPass/MPDocumentWindowController.m @@ -103,6 +103,8 @@ NSString *const MPCurrentItemChangedNotification = @"com.hicknhack.macpass.MPCur else { [self showEntries]; } + + [_splitView setAutosaveName:@"SplitView"]; } - (void)_setContentViewController:(MPViewController *)viewController { @@ -275,7 +277,7 @@ NSString *const MPCurrentItemChangedNotification = @"com.hicknhack.macpass.MPCur [[contentView subviews][0] removeFromSuperviewWithoutNeedingDisplay]; } [contentView addSubview:_splitView]; - [_splitView adjustSubviews]; + //[_splitView adjustSubviews]; NSView *outlineView = [_outlineViewController view]; NSView *inspectorView = [_inspectorViewController view]; NSView *entryView = [_entryViewController view]; @@ -321,7 +323,7 @@ NSString *const MPCurrentItemChangedNotification = @"com.hicknhack.macpass.MPCur if(removeInspector) { [inspectorView removeFromSuperview]; } - [contentView layout]; + [contentView layoutSubtreeIfNeeded]; MPDocument *document = [self document]; document.locked = NO; diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index 0ab2f130..8de34d18 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -48,7 +48,7 @@ CFBundleSignature ???? CFBundleVersion - 2509 + 2511 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright