From de43936e304661157a82aa5b7694963e99061339 Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 18 Apr 2013 22:49:07 +0200 Subject: [PATCH] More work on Password creation --- MacPass.xcodeproj/project.pbxproj | 4 + MacPass/MPAppDelegate.h | 5 +- MacPass/MPAppDelegate.m | 14 + MacPass/MPPasswordCreatorViewController.m | 32 +- MacPass/MacPass-Info.plist | 2 +- MacPass/PasswordCreatorView.xib | 1660 ++++++++++++++++----- MacPass/PasswordCreatorWindow.xib | 174 +++ MacPass/PasswordInputView.xib | 73 +- MacPass/en.lproj/MainMenu.xib | 37 +- 9 files changed, 1575 insertions(+), 426 deletions(-) create mode 100644 MacPass/PasswordCreatorWindow.xib diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index 6245ccd1..99b8b648 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 4C1DDCDD1711ECEB00C98DA3 /* PasswordCreatorWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C1DDCDC1711ECEB00C98DA3 /* PasswordCreatorWindow.xib */; }; 4C25D58516CF0F8800F6806C /* WelcomeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C25D58416CF0F8800F6806C /* WelcomeView.xib */; }; 4C25D58716CF0FAA00F6806C /* EntryView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C25D58616CF0FAA00F6806C /* EntryView.xib */; }; 4C2C4C2C16D3BE3700D49295 /* KdbGroup+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2C4C2B16D3BE3700D49295 /* KdbGroup+MPAdditions.m */; }; @@ -120,6 +121,7 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 4C1DDCDC1711ECEB00C98DA3 /* PasswordCreatorWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PasswordCreatorWindow.xib; sourceTree = ""; }; 4C25D58416CF0F8800F6806C /* WelcomeView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WelcomeView.xib; sourceTree = ""; }; 4C25D58616CF0FAA00F6806C /* EntryView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = EntryView.xib; sourceTree = ""; }; 4C2C4C2A16D3BE3700D49295 /* KdbGroup+MPAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KdbGroup+MPAdditions.h"; sourceTree = ""; }; @@ -755,6 +757,7 @@ children = ( 4CD884B615BD47080042BBF8 /* MainWindow.xib */, 4C431BCE16E2BAB000700A81 /* OverlayWindow.xib */, + 4C1DDCDC1711ECEB00C98DA3 /* PasswordCreatorWindow.xib */, ); name = Windows; sourceTree = ""; @@ -841,6 +844,7 @@ 4C888C9016EB6C91003D34A1 /* Localizable.strings in Resources */, 4CE39AC116ECE359000FE29D /* IconSelection.xib in Resources */, 4C5A11FF1708DE8800223D8A /* PasswordCreatorView.xib in Resources */, + 4C1DDCDD1711ECEB00C98DA3 /* PasswordCreatorWindow.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/MacPass/MPAppDelegate.h b/MacPass/MPAppDelegate.h index 48874237..7f60a5ee 100644 --- a/MacPass/MPAppDelegate.h +++ b/MacPass/MPAppDelegate.h @@ -20,7 +20,10 @@ typedef enum { @interface MPAppDelegate : NSObject -- (IBAction) showMainWindow:(id)sender; +@property (retain) IBOutlet NSWindow *passwordCreatorWindow; + +- (IBAction)showMainWindow:(id)sender; +- (IBAction)showPasswordCreator:(id)sender; - (NSString *)applicationName; diff --git a/MacPass/MPAppDelegate.m b/MacPass/MPAppDelegate.m index ff21ccc3..a886daa8 100644 --- a/MacPass/MPAppDelegate.m +++ b/MacPass/MPAppDelegate.m @@ -11,6 +11,7 @@ #import "MPMainWindowController.h" #import "MPSettingsController.h" #import "MPDatabaseController.h" +#import "MPPasswordCreatorViewController.h" #import "MPActionHelper.h" #import "MPSettingsHelper.h" #import "NSString+MPPasswordCreation.h" @@ -19,6 +20,7 @@ @property (retain, nonatomic) MPSettingsController *settingsController; @property (retain, nonatomic) MPMainWindowController *mainWindowController; +@property (retain, nonatomic) MPPasswordCreatorViewController *passwordCreatorController; - (IBAction)showPreferences:(id)sender; @@ -39,6 +41,7 @@ - (void)dealloc { [_settingsController release]; [_mainWindowController release]; + [_passwordCreatorController release]; [super dealloc]; } @@ -59,6 +62,17 @@ [self.settingsController showSettings]; } +- (void)showPasswordCreator:(id)sender { + if(!self.passwordCreatorWindow) { + [[NSBundle mainBundle] loadNibNamed:@"PasswordCreatorWindow"owner:self topLevelObjects:nil]; + } + if(!self.passwordCreatorController) { + self.passwordCreatorController = [[MPPasswordCreatorViewController alloc] init]; + } + [self.passwordCreatorWindow setContentView:[self.passwordCreatorController view]]; + [self.passwordCreatorWindow makeKeyAndOrderFront:self.passwordCreatorWindow]; +} + - (NSArray *)contextMenuItemsWithItems:(MPContextMenuItemsFlags)flags { BOOL insertCreate = (0 != (flags & MPContextMenuCreate)); BOOL insertDelete = (0 != (flags & MPContextMenuDelete)); diff --git a/MacPass/MPPasswordCreatorViewController.m b/MacPass/MPPasswordCreatorViewController.m index c6ad4ddc..10d29d1e 100644 --- a/MacPass/MPPasswordCreatorViewController.m +++ b/MacPass/MPPasswordCreatorViewController.m @@ -8,19 +8,45 @@ #import "MPPasswordCreatorViewController.h" +#define MIN_PASSWORD_LENGTH 1 +#define MAX_PASSWORD_LENGTH 64 + @interface MPPasswordCreatorViewController () +@property (assign) IBOutlet NSTextField *passwordTextField; +@property (assign) IBOutlet NSTextField *passwordLengthTextField; +@property (assign) IBOutlet NSTextField *customCharactersTextField; +@property (assign) IBOutlet NSSlider *passwordLengthSlider; + +@property (assign) NSUInteger passwordLength; + +- (IBAction)_create:(id)sender; +- (IBAction)_toggleCharacters:(id)sender; @end @implementation MPPasswordCreatorViewController -- (id)init -{ +- (id)init { self = [super initWithNibName:@"PasswordCreatorView" bundle:nil]; if (self) { - // setup + _passwordLength = 12; } return self; } +- (void)didLoadView { + [self.passwordLengthSlider setMinValue:MIN_PASSWORD_LENGTH]; + [self.passwordLengthSlider setMaxValue:MAX_PASSWORD_LENGTH]; + [self.passwordLengthSlider setContinuous:YES]; + /* Value Transformer */ + [self.passwordLengthSlider bind:NSValueBinding toObject:self withKeyPath:@"passwordLength" options:nil]; + [self.passwordLengthTextField bind:NSValueBinding toObject:self withKeyPath:@"passwordLength" options:nil]; +} + +- (IBAction)_create:(id)sender { + +} + +- (IBAction)_toggleCharacters:(id)sender { +} @end diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index a0413dc4..4bbe1fdb 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 616 + 627 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright diff --git a/MacPass/PasswordCreatorView.xib b/MacPass/PasswordCreatorView.xib index 011194d5..af683431 100644 --- a/MacPass/PasswordCreatorView.xib +++ b/MacPass/PasswordCreatorView.xib @@ -12,6 +12,7 @@ IBNSLayoutConstraint + NSBox NSButton NSButtonCell NSCustomObject @@ -42,26 +43,261 @@ 268 - + - 268 - {{17, 349}, {64, 17}} + 12 + + + + 274 + + + + 268 + {{18, 155}, {322, 22}} + + + _NS:9 + YES + + -1804599231 + 272630784 + + + LucidaGrande + 13 + 1044 + + _NS:9 + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + NO + + + + 268 + {{18, 185}, {37, 19}} + + + + _NS:9 + 1 + YES + + -2080374784 + 134217728 + A-Z + + LucidaGrande + 12 + 16 + + _NS:9 + + -1232846848 + 164 + + + 400 + 75 + + NO + + + + 268 + {{63, 185}, {35, 19}} + + + + _NS:9 + 2 + YES + + -2080374784 + 134217728 + a-z + + _NS:9 + + -1232846848 + 164 + + + 400 + 75 + + NO + + + + 268 + {{106, 185}, {36, 19}} + + + + _NS:9 + 4 + YES + + -2080374784 + 134217728 + 0-9 + + _NS:9 + + -1232846848 + 164 + + + 400 + 75 + + NO + + + + 268 + {{150, 185}, {31, 19}} + + + + _NS:9 + 8 + YES + + -2080374784 + 134217728 + #!? + + _NS:9 + + -1232846848 + 164 + + + 400 + 75 + + NO + + + + 268 + {{189, 185}, {59, 19}} + + + + _NS:9 + YES + + -2080374784 + 134217728 + Custom + + _NS:9 + + -1232846848 + 164 + + + 400 + 75 + + NO + + + {{1, 1}, {358, 214}} + + + + _NS:11 + + + {{17, 16}, {360, 230}} - + + _NS:9 + {0, 0} + + 67108864 + 0 + Character Settings + + LucidaGrande + 11 + 3100 + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 1 + 0 + 2 + NO + + + + 268 + {{340, 251}, {34, 22}} + + + + _NS:9 + YES + + -1804599231 + 272630784 + + + _NS:9 + + YES + + + + NO + + + + 268 + {{17, 254}, {48, 17}} + + + _NS:1535 YES - + 68157504 272630784 - Password - - LucidaGrande - 13 - 1044 - + Length + _NS:1535 - + 6 System @@ -75,127 +311,115 @@ 6 System controlTextColor - - 3 - MAA - - - - NO - - - - 268 - {{320, 252}, {29, 26}} - - - - _NS:1586 - YES - - -2080374784 - 134217728 - - - _NS:1586 - - 918831104 - 166 - - - 400 - 75 - - NO - - - - 268 - {{84, 319}, {263, 21}} - - - - _NS:9 - YES - - -2080374784 - 0 - - _NS:9 - - 32 - 1 - 16.5 - 0.0 - 0 - 1 - YES - NO - - NO - - - - 268 - {{33, 321}, {48, 17}} - - - - _NS:1535 - YES - - 68157504 - 272630784 - Length - - _NS:1535 - - - - - NO - - - - 268 - {{86, 346}, {259, 22}} - - - - _NS:9 - YES - - -1804599231 - 272630784 - - - _NS:9 - - YES - 1 - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor NO + + + 268 + {{84, 252}, {250, 21}} + + + + _NS:9 + YES + + -2080374784 + 0 + + _NS:9 + + 100 + 0.0 + 50 + 0.0 + 0 + 1 + NO + NO + + NO + + + + 268 + {{334, 274}, {46, 32}} + + + + _NS:9 + YES + + 67108864 + 134217728 + + + _NS:9 + + -2033434624 + 129 + + NSImage + NSRefreshTemplate + + + + 200 + 25 + + NO + + + + 268 + {{86, 281}, {246, 22}} + + + + _NS:9 + YES + + -1804599231 + 272630784 + + + _NS:9 + + YES + 1 + + + + NO + + + + 268 + {{17, 284}, {64, 17}} + + + + _NS:1535 + YES + + 68157504 + 272630784 + Password + + _NS:1535 + + + + + NO + - {365, 386} + {394, 323} - + NSView @@ -209,6 +433,94 @@ 2 + + + _create: + + + + 472 + + + + passwordLengthTextFiedl + + + + 473 + + + + _toggleCharacters: + + + + 474 + + + + _toggleCharacters: + + + + 475 + + + + _toggleCharacters: + + + + 476 + + + + _toggleCharacters: + + + + 477 + + + + _toggleCharacters: + + + + 478 + + + + customCharactersTextField + + + + 479 + + + + passwordLengthTextField + + + + 481 + + + + passwordTextField + + + + 482 + + + + passwordLengthSlider + + + + 483 + @@ -240,43 +552,27 @@ 1 - - - 6 + + + 10 0 - - 6 - 1 - - 20 - - 1000 - - 8 - 29 - 3 - - - - 3 - 0 - - 3 + + 10 1 - 110 + 0.0 1000 - 3 - 9 - 3 + 9 + 40 + 2 - + 5 0 - + 6 1 @@ -288,27 +584,27 @@ 24 3 - - - 6 + + + 3 0 - - 6 + + 4 1 - 20 + 8 1000 - 8 - 29 + 9 + 40 3 - + 5 0 - + 5 1 @@ -320,11 +616,155 @@ 24 2 - - + + + 6 + 0 + + 6 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 9 + 40 + 3 + + + + 6 + 0 + + 6 + 1 + + 20 + + 1000 + + 9 + 40 + 3 + + + + 5 + 0 + + 5 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 11 + 0 + + 11 + 1 + + 0.0 + + 1000 + + 9 + 40 + 2 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 9 + 40 + 3 + + + 3 0 - + + 3 + 1 + + 20 + + 1000 + + 9 + 40 + 3 + + + + 6 + 0 + + 6 + 1 + + 20 + + 1000 + + 9 + 40 + 3 + + + + 4 + 0 + + 4 + 1 + + 20 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + 4 1 @@ -336,88 +776,40 @@ 24 3 - - - 6 - 0 - - 6 - 1 - - 20 - - 1000 - - 8 - 29 - 3 - - - + + 5 0 - - 6 - 1 - - 8 - - 1000 - - 6 - 24 - 3 - - - - 11 - 0 - - 11 - 1 - - 0.0 - - 1000 - - 6 - 24 - 2 - - - - 11 - 0 - - 11 - 1 - - 0.0 - - 1000 - - 6 - 24 - 2 - - - - 3 - 0 - 3 + 5 1 20 1000 - 8 - 29 + 9 + 40 3 + + + 11 + 0 + + 11 + 1 + + 0.0 + + 1000 + + 9 + 40 + 2 + - + 5 0 @@ -432,139 +824,606 @@ 29 3 - - - - - + + + 11 + 0 + + 11 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + + + + 5 + 0 + + 5 + 1 + + 20 + + 1000 + + 9 + 40 + 3 + + + + + + + + - 3 - + 148 + - + - 4 - - + 149 + + - 10 - + 151 + + + + + 152 + - + + + + 7 + 1 + + 0 + 1 + + 100 + + 1000 + + 9 + 40 + 1 + - 11 - - + 153 + + - 14 - + 158 + + + + + 162 + + + + + 163 + - + - 15 - - + 169 + + - 66 - + 165 + + + + + 164 + + + + + 173 + - + - 67 - - + 174 + + - 68 - - - - - 69 - - - - - 70 - + 178 + - + - 71 - - + 179 + + - 72 + 181 - 73 - + 182 + + + + - 75 + 183 + + + + + 188 + + + + + 189 + + + + + 191 - 76 - - - - - 77 - - - - - 85 - - - - - 87 + 196 - 88 - + 197 + - 89 - - - - - 90 + 198 + + 199 + + + + + 200 + + + + + 201 + + + + + 283 + + + + + 332 + + + + + 3 + 0 + + 3 + 1 + + 25 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 6 + 24 + 3 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 6 + 24 + 3 + + + + 3 + 0 + + 3 + 1 + + 25 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 6 + 24 + 3 + + + + 3 + 0 + + 3 + 1 + + 25 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 6 + 1 + + 8 + + 1000 + + 6 + 24 + 3 + + + + 3 + 0 + + 3 + 1 + + 25 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 52 + + 1000 + + 3 + 9 + 3 + + + + 6 + 0 + + 6 + 1 + + 16 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 16 + + 1000 + + 8 + 29 + 3 + + + + 5 + 0 + + 5 + 1 + + 16 + + 1000 + + 8 + 29 + 3 + + + + 3 + 0 + + 3 + 1 + + 25 + + 1000 + + 8 + 29 + 3 + + + + + + + + + + + + 333 + + + + + 335 + + + + + 337 + + + + + 338 + + + + + 411 + + + + + + + + 412 + + + + + 414 + + + + + 416 + + + + + 451 + + + + + 452 + + + + + + + + 453 + + + + + 454 + + + + + 455 + + + + + 456 + + + + + + + + 457 + + + + + 458 + + + + + 459 + + + + + 460 + + + + + + + + 461 + + + + + 462 + + + + + 463 + + + + + 464 + + + + + + + + 465 + + + + + 466 + + + + + 467 + + + + + 468 + + + + + + + + 469 + + + + + 470 + + + + + 471 + + + @@ -572,59 +1431,166 @@ 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 - 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 + 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 + 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 - 90 + 483 MPPasswordCreatorViewController MPViewController + + id + id + + + + _create: + id + + + _toggleCharacters: + id + + + + NSTextField + NSSlider + NSTextField + NSTextField + + + + customCharactersTextField + NSTextField + + + passwordLengthSlider + NSSlider + + + passwordLengthTextField + NSTextField + + + passwordTextField + NSTextField + + IBProjectSource ./Classes/MPPasswordCreatorViewController.h @@ -656,6 +1622,10 @@ YES 3 + + NSRefreshTemplate + {10, 12} + YES diff --git a/MacPass/PasswordCreatorWindow.xib b/MacPass/PasswordCreatorWindow.xib new file mode 100644 index 00000000..9e2bdadc --- /dev/null +++ b/MacPass/PasswordCreatorWindow.xib @@ -0,0 +1,174 @@ + + + + 1080 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 3084 + + + NSCustomObject + NSView + NSWindowTemplate + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + MPAppDelegate + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{196, 240}, {300, 350}} + 544735232 + Window + NSWindow + + + + + 256 + {300, 350} + + + + + {{0, 0}, {1920, 1058}} + {10000000000000, 10000000000000} + YES + + + + + + + passwordCreatorWindow + + + + 3 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + + + + + + 2 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + com.apple.InterfaceBuilder.CocoaPlugin + {{357, 418}, {480, 270}} + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 3 + + + + + MPAppDelegate + NSObject + + id + id + id + + + + showMainWindow: + id + + + showPasswordCreator: + id + + + showPreferences: + id + + + + passwordCreatorWindow + NSWindow + + + passwordCreatorWindow + + passwordCreatorWindow + NSWindow + + + + IBProjectSource + ./Classes/MPAppDelegate.h + + + + + 0 + IBCocoaFramework + YES + 3 + YES + + diff --git a/MacPass/PasswordInputView.xib b/MacPass/PasswordInputView.xib index e605de90..1bf05113 100644 --- a/MacPass/PasswordInputView.xib +++ b/MacPass/PasswordInputView.xib @@ -51,7 +51,6 @@ 268 {{154, 276}, {184, 17}} - _NS:1535 YES @@ -100,7 +99,6 @@ {{216, 301}, {48, 48}} - _NS:9 YES @@ -125,7 +123,6 @@ 268 {{185, 151}, {82, 32}} - _NS:9 YES @@ -154,7 +151,6 @@ {{141, 195}, {197, 22}} - _NS:9 YES @@ -179,7 +175,6 @@ 268 {{144, 224}, {191, 22}} - _NS:9 YES @@ -217,7 +212,6 @@ 268 {{75, 227}, {64, 17}} - _NS:1535 YES @@ -238,7 +232,6 @@ 268 {{93, 200}, {46, 17}} - _NS:1535 YES @@ -259,7 +252,6 @@ 268 {{267, 151}, {74, 32}} - _NS:9 {250, 250} YES @@ -282,7 +274,6 @@ {479, 470} - NSView @@ -1095,69 +1086,7 @@ 294 - - - - MPPasswordInputController - MPViewController - - _open: - id - - - _open: - - _open: - id - - - - NSImageView - NSTextField - NSPathControl - NSSecureTextField - - - - errorImageView - NSImageView - - - errorInfoTextField - NSTextField - - - keyPathControl - NSPathControl - - - passwordTextField - NSSecureTextField - - - - IBProjectSource - ./Classes/MPPasswordInputController.h - - - - MPViewController - NSViewController - - IBProjectSource - ./Classes/MPViewController.h - - - - NSLayoutConstraint - NSObject - - IBProjectSource - ./Classes/NSLayoutConstraint.h - - - - + 0 IBCocoaFramework YES diff --git a/MacPass/en.lproj/MainMenu.xib b/MacPass/en.lproj/MainMenu.xib index 2925dbb1..0f228b1d 100644 --- a/MacPass/en.lproj/MainMenu.xib +++ b/MacPass/en.lproj/MainMenu.xib @@ -2,10 +2,10 @@ 1070 - 12C3103 + 12D78 3084 - 1187.34 - 625.00 + 1187.37 + 626.00 com.apple.InterfaceBuilder.CocoaPlugin 3084 @@ -758,6 +758,15 @@ + + + Show Password Creator + p + 1572864 + 2147483647 + + + YES @@ -1210,6 +1219,14 @@ 1178 + + + showPasswordCreator: + + + + 1202 + @@ -1591,6 +1608,7 @@ + @@ -1826,6 +1844,11 @@ + + 1200 + + + @@ -1837,6 +1860,7 @@ 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 @@ -1927,7 +1951,7 @@ - 1199 + 1202 @@ -1954,6 +1978,7 @@ NSObject id + id id @@ -1961,6 +1986,10 @@ showMainWindow: id + + showPasswordWizzard: + id + showPreferences: id