diff --git a/MacPass/MPAutotypeClear.h b/MacPass/MPAutotypeClear.h index a9809539..11336646 100644 --- a/MacPass/MPAutotypeClear.h +++ b/MacPass/MPAutotypeClear.h @@ -10,5 +10,4 @@ @interface MPAutotypeClear : MPAutotypeCommand - @end diff --git a/MacPass/MPAutotypeClear.m b/MacPass/MPAutotypeClear.m index c3531173..1f8d3950 100644 --- a/MacPass/MPAutotypeClear.m +++ b/MacPass/MPAutotypeClear.m @@ -12,6 +12,10 @@ @implementation MPAutotypeClear +- (NSString *)description { + return [[self class] description]; +} + - (void)execute { CGKeyCode keyCode = [MPKeyMapper keyCodeForCharacter:@"A"]; if(keyCode == kMPUnknownKeyCode) { diff --git a/MacPass/MPAutotypeDelay.m b/MacPass/MPAutotypeDelay.m index 12996619..b8dc80ea 100644 --- a/MacPass/MPAutotypeDelay.m +++ b/MacPass/MPAutotypeDelay.m @@ -21,10 +21,14 @@ return self; } +- (NSString *)description { + return [[NSString alloc] initWithFormat:@"%@ delay: %ld ms", [self class], _delay]; +} + - (instancetype)initWithDelay:(NSUInteger)delay { self = [super init]; if(self) { - /* Delays longer than a minute are a bit lon */ + /* Delays longer than a minute are a bit long */ _delay = MIN(60,delay); } return self; diff --git a/MacPass/MPAutotypeKeyPress.m b/MacPass/MPAutotypeKeyPress.m index 297d1bed..bf0419bd 100644 --- a/MacPass/MPAutotypeKeyPress.m +++ b/MacPass/MPAutotypeKeyPress.m @@ -31,6 +31,10 @@ return self; } +- (NSString *)description { + return [[NSString alloc] initWithFormat:@"%@: modifierMaks:%llu keyCode:%d", [self class], self.modifierMask, self.keyCode]; +} + - (void)execute { if(![self isValid]) { return; // no valid command. Stop. diff --git a/MacPass/MPAutotypePaste.m b/MacPass/MPAutotypePaste.m index a4bfa3bc..4d89d0c6 100644 --- a/MacPass/MPAutotypePaste.m +++ b/MacPass/MPAutotypePaste.m @@ -27,6 +27,10 @@ return self; } +- (NSString *)description { + return [[NSString alloc] initWithFormat:@"%@ paste:%@", [self class], self.pasteData]; +} + - (void)appendString:(NSString *)aString { self.pasteData = [self.pasteData stringByAppendingString:aString]; } diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index 93a75ac6..9f9bb53f 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -58,11 +58,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4.1 + 0.5 CFBundleSignature ???? CFBundleVersion - 2537 + 2542 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright