From b7dc2438a7f9e1f1b79c2aba149e0509a6bba140 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sat, 28 Apr 2012 20:30:12 -0700 Subject: [PATCH 01/23] Fixes #169: Security Issue in Parsing XML using NSXMLDocument External entities are no longer parsed in appcasts: pre-10.7, we use the "tidy" option for XML document parsing, which happens to behave this way, and in 10.7+ we use a new explicit option for this behavior. --- SUAppcast.m | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SUAppcast.m b/SUAppcast.m index 74bc709c..04af5a19 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -94,7 +94,15 @@ if (downloadFilename) { - document = [[[NSXMLDocument alloc] initWithContentsOfURL:[NSURL fileURLWithPath:downloadFilename] options:0 error:&error] autorelease]; + NSUInteger options = 0; + if (NSAppKitVersionNumber < NSAppKitVersionNumber10_7) { + // In order to avoid including external entities when parsing the appcast (a potential security vulnerability; see https://github.com/andymatuschak/Sparkle/issues/169), we ask NSXMLDocument to "tidy" the XML first. This happens to remove these external entities; it wouldn't be a future-proof approach, but it worked in these historical versions of OS X, and we have a more rigorous approach for 10.7+. + options = NSXMLDocumentTidyXML; + } else { + // In 10.7 and later, there's a real option for the behavior we desire. + options = NSXMLNodeLoadExternalEntitiesSameOriginOnly; + } + document = [[[NSXMLDocument alloc] initWithContentsOfURL:[NSURL fileURLWithPath:downloadFilename] options:options error:&error] autorelease]; #if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 [[NSFileManager defaultManager] removeFileAtPath:downloadFilename handler:nil]; From 6b7752792d1ee87ca2874e6560427b537746310c Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sat, 28 Apr 2012 20:38:18 -0700 Subject: [PATCH 02/23] Fixing some new Clang warnings from Xcode 4.4 --- Configurations/ConfigBinaryDeltaDebug.xcconfig | 2 +- Configurations/ConfigFrameworkDebug.xcconfig | 2 +- Configurations/ConfigRelaunchDebug.xcconfig | 2 +- Configurations/ConfigTestAppDebug.xcconfig | 2 +- SUHost.m | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Configurations/ConfigBinaryDeltaDebug.xcconfig b/Configurations/ConfigBinaryDeltaDebug.xcconfig index 170c9756..cd893a71 100644 --- a/Configurations/ConfigBinaryDeltaDebug.xcconfig +++ b/Configurations/ConfigBinaryDeltaDebug.xcconfig @@ -2,4 +2,4 @@ #include "ConfigCommonDebug.xcconfig" #include "ConfigBinaryDelta.xcconfig" -OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG +OTHER_CFLAGS = -DDEBUG diff --git a/Configurations/ConfigFrameworkDebug.xcconfig b/Configurations/ConfigFrameworkDebug.xcconfig index 4f5379ef..e256c490 100644 --- a/Configurations/ConfigFrameworkDebug.xcconfig +++ b/Configurations/ConfigFrameworkDebug.xcconfig @@ -2,4 +2,4 @@ #include "ConfigCommonDebug.xcconfig" #include "ConfigFramework.xcconfig" -OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG +OTHER_CFLAGS = -DDEBUG diff --git a/Configurations/ConfigRelaunchDebug.xcconfig b/Configurations/ConfigRelaunchDebug.xcconfig index 6e50fb75..94094110 100644 --- a/Configurations/ConfigRelaunchDebug.xcconfig +++ b/Configurations/ConfigRelaunchDebug.xcconfig @@ -2,4 +2,4 @@ #include "ConfigCommonDebug.xcconfig" #include "ConfigRelaunch.xcconfig" -OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG +OTHER_CFLAGS = -DDEBUG diff --git a/Configurations/ConfigTestAppDebug.xcconfig b/Configurations/ConfigTestAppDebug.xcconfig index f1137b86..9833128e 100644 --- a/Configurations/ConfigTestAppDebug.xcconfig +++ b/Configurations/ConfigTestAppDebug.xcconfig @@ -2,4 +2,4 @@ #include "ConfigCommonDebug.xcconfig" #include "ConfigTestApp.xcconfig" -OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG +OTHER_CFLAGS = -DDEBUG diff --git a/SUHost.m b/SUHost.m index 5016e857..e12af606 100644 --- a/SUHost.m +++ b/SUHost.m @@ -256,7 +256,7 @@ OSErr err3 = Gestalt(gestaltSystemVersionBugFix, &bugfix); if (!err1 && !err2 && !err3) { - verStr = [NSString stringWithFormat:@"%d.%d.%d", major, minor, bugfix]; + verStr = [NSString stringWithFormat:@"%ld.%ld.%ld", (long)major, (long)minor, (long)bugfix]; } else #endif From 97c71ef700d12a9d4ec2a58292bd9d433e288d6d Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 7 May 2012 19:39:31 -0700 Subject: [PATCH 03/23] Fixes #170: An environment variable set by Sparkle --- SUPipedUnarchiver.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SUPipedUnarchiver.m b/SUPipedUnarchiver.m index 5c82dbc8..08246647 100644 --- a/SUPipedUnarchiver.m +++ b/SUPipedUnarchiver.m @@ -67,6 +67,7 @@ fp = fopen([archivePath fileSystemRepresentation], "r"); if (!fp) goto reportError; + char *oldDestinationString = getenv("DESTINATION"); setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] fileSystemRepresentation], 1); cmdFP = popen([command fileSystemRepresentation], "w"); size_t written; @@ -99,6 +100,10 @@ reportError: finally: if (fp) fclose(fp); + if (oldDestinationString) + setenv("DESTINATION", oldDestinationString, 1); + else + unsetenv("DESTINATION"); [pool release]; } From 803925f2cf6dac95561d55c99293392e024db789 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 9 May 2012 08:49:55 -0700 Subject: [PATCH 04/23] Fixes #174: Bug: sparkle:shortVersionString ignored for non-enclosure items --- SUAppcastItem.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SUAppcastItem.m b/SUAppcastItem.m index 57680557..d2e9812b 100644 --- a/SUAppcastItem.m +++ b/SUAppcastItem.m @@ -212,6 +212,9 @@ [self setMinimumSystemVersion: [dict objectForKey:@"sparkle:minimumSystemVersion"]]; NSString *shortVersionString = [enclosure objectForKey:@"sparkle:shortVersionString"]; + if (nil == shortVersionString) + shortVersionString = [dict objectForKey:@"sparkle:shortVersionString"]; // fall back on the + if (shortVersionString) [self setDisplayVersionString: shortVersionString]; else From 6960045e2b4f0dfb12996bc71cda283bcded24a6 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 9 May 2012 09:19:20 -0700 Subject: [PATCH 05/23] Fixes #175: Bug: update alert text collides with automatic download checkbox --- SUUpdateAlert.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m index bf3e35ee..2ef5158b 100644 --- a/SUUpdateAlert.m +++ b/SUUpdateAlert.m @@ -166,6 +166,9 @@ { // Resize the window to be appropriate for not having a huge release notes view. frame.size.height -= [releaseNotesView frame].size.height + 40; // Extra 40 is for the release notes label and margin. + + if ([self allowsAutomaticUpdates]) + frame.size.height += 10; // Make room for the check box. // Hiding the resize handles is not enough on 10.5, you can still click // where they would be, so we set the min/max sizes to be equal to @@ -174,8 +177,7 @@ [[self window] setMinSize: frame.size]; [[self window] setMaxSize: frame.size]; } - - if (![self allowsAutomaticUpdates]) + else if (![self allowsAutomaticUpdates]) { NSRect boxFrame = [[[releaseNotesView superview] superview] frame]; boxFrame.origin.y -= 20; From 4ba453f337e4f19d38c48c1d2f8405ee96f70c9f Mon Sep 17 00:00:00 2001 From: Rudy Richter Date: Tue, 22 May 2012 10:59:20 -0400 Subject: [PATCH 06/23] support for encrypted disk images --- NTSynchronousTask.h | 6 + NTSynchronousTask.m | 1 + SUDiskImageUnarchiver.m | 75 +- SUPasswordPrompt.h | 35 + SUPasswordPrompt.m | 94 +++ SUUpdateDriver.h | 2 + SUUpdateDriver.m | 11 + Sparkle.xcodeproj/project.pbxproj | 110 ++- en.lproj/SUPasswordPrompt.xib | 1194 +++++++++++++++++++++++++++++ ja.lproj/SUPasswordPrompt.xib | 597 +++++++++++++++ 10 files changed, 2118 insertions(+), 7 deletions(-) create mode 100644 SUPasswordPrompt.h create mode 100644 SUPasswordPrompt.m create mode 100644 en.lproj/SUPasswordPrompt.xib create mode 100644 ja.lproj/SUPasswordPrompt.xib diff --git a/NTSynchronousTask.h b/NTSynchronousTask.h index e8510731..be74ce38 100644 --- a/NTSynchronousTask.h +++ b/NTSynchronousTask.h @@ -25,6 +25,12 @@ // returns the result +(int) task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input output: (NSData**)outData; ++(NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; + +- (void)run:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; +- (int)result; +- (NSData *)output; + @end #endif diff --git a/NTSynchronousTask.m b/NTSynchronousTask.m index d564d243..1d2e3ef0 100644 --- a/NTSynchronousTask.m +++ b/NTSynchronousTask.m @@ -128,6 +128,7 @@ [[self task] setStandardInput:[self inputPipe]]; [[self task] setStandardOutput:[self outputPipe]]; + [[self task] setStandardError:[self outputPipe]]; } return self; diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m index a905ee6b..674e1b1a 100644 --- a/SUDiskImageUnarchiver.m +++ b/SUDiskImageUnarchiver.m @@ -11,7 +11,7 @@ #import "NTSynchronousTask.h" #import "SULog.h" #import - +#import "SUPasswordPrompt.h" @implementation SUDiskImageUnarchiver @@ -48,18 +48,64 @@ } } while (noErr == FSPathMakeRefWithOptions((UInt8 *)[mountPoint fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &tmpRef, NULL)); + +/* ASW_ADDITION */ +#pragma mark ASW_ADDITION + BOOL isEncrypted = NO; + NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:[NSArray arrayWithObjects: @"isencrypted", archivePath, nil] input:NULL]; + if([self isEncrypted:result]) + isEncrypted = YES; +/* ASW_ADDITION */ NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; // set up a pipe and push "yes" (y works too), this will accept any license agreement crap // not every .dmg needs this, but this will make sure it works with everyone - NSData* yesData = [[[NSData alloc] initWithBytes:"yes\n" length:4] autorelease]; +/* ASW_ADDITION */ +#pragma mark ASW_ADDITION + NSData* promptData; + if(isEncrypted) { + SUPasswordPrompt *prompt = [[SUPasswordPrompt alloc] initWithHost:(SUHost*)[delegate host]]; + if([prompt run]) + { + NSString *password = [prompt password]; + if(![password length]) + goto reportError; + NSString *data = [NSString stringWithFormat:@"%@\nyes\n", password]; + const char *bytes = [data cStringUsingEncoding:NSUTF8StringEncoding]; + NSUInteger length = [data lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; + promptData = [NSData dataWithBytes:bytes length:length]; + } + else + { + goto reportError; + } + [prompt release]; + } + else + promptData = [NSData dataWithBytes:"yes\n" length:4]; +/* ASW_ADDITION */ - NSData *output = nil; - int returnCode = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:yesData output: &output]; - if ( returnCode != 0 ) + NSData *output = nil; + NSInteger taskResult = -1; + @try + { + NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; + + [task run:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:promptData]; + + taskResult = [task result]; + output = [[[task output] copy] autorelease]; + [task release]; + } + @catch (NSException *localException) + { + goto reportError; + } + + if (taskResult != 0) { NSString* resultStr = output ? [[[NSString alloc] initWithData: output encoding: NSUTF8StringEncoding] autorelease] : nil; - SULog( @"hdiutil failed with code: %d data: <<%@>>", returnCode, resultStr ); + SULog( @"hdiutil failed with code: %d data: <<%@>>", taskResult, resultStr ); goto reportError; } mountedSuccessfully = YES; @@ -132,4 +178,21 @@ finally: [self registerImplementation:self]; } +/* ASW_ADDITION */ +#pragma mark ASW_ADDITION +- (BOOL)isEncrypted:(NSData*)resultData +{ + BOOL result = NO; + if(resultData) + { + NSString *data = [NSString stringWithCString:(char*)[resultData bytes] encoding:NSUTF8StringEncoding]; + if (!NSEqualRanges([data rangeOfString:@"passphrase-count"], NSMakeRange(NSNotFound, 0))) + { + result = YES; + } + } + return result; +} +/* ASW_ADDITION */ + @end diff --git a/SUPasswordPrompt.h b/SUPasswordPrompt.h new file mode 100644 index 00000000..499bc4e4 --- /dev/null +++ b/SUPasswordPrompt.h @@ -0,0 +1,35 @@ +// +// SUPasswordPrompt.h +// Sparkle +// +// Created by rudy on 8/18/09. +// Copyright 2009 Ambrosia Software, Inc.. All rights reserved. +// + +#import +#import "Sparkle/SUWindowController.h" + +@interface SUPasswordPrompt : SUWindowController +{ + IBOutlet NSImageView *mIconView; + IBOutlet NSTextField *mTextDescription; + IBOutlet NSSecureTextField *mPasswordField; + NSString *mPassword; + NSString *mName; + NSImage *mIcon; +} + +- (id)initWithHost:(SUHost *)aHost; +- (void)awakeFromNib; +- (void)setName:(NSString*)name; +- (NSString*)name; +- (void)setIcon:(NSImage*)icon; +- (NSImage*)icon; +- (NSString *)password; +- (void)setPassword:(NSString*)password; +- (NSInteger)run; +- (IBAction)accept:(id)sender; +- (IBAction)cancel:(id)sender; +- (void)replaceTitle:(NSString*)name; + +@end diff --git a/SUPasswordPrompt.m b/SUPasswordPrompt.m new file mode 100644 index 00000000..6b66cc3a --- /dev/null +++ b/SUPasswordPrompt.m @@ -0,0 +1,94 @@ +// +// SUPasswordPrompt.m +// Sparkle +// +// Created by rudy on 8/18/09. +// Copyright 2009 Ambrosia Software, Inc.. All rights reserved. +// + +#import "SUPasswordPrompt.h" + + +@implementation SUPasswordPrompt + +- (id)initWithHost:(SUHost *)aHost +{ + self = [super initWithHost:aHost windowNibName:@"SUPasswordPrompt"]; + if (self) + { + [self setName:[aHost name]]; + [self setIcon:[aHost icon]]; + mPassword = nil; + [self setShouldCascadeWindows:NO]; + } + return self; +} + +- (void)awakeFromNib +{ + [self replaceTitle:[self name]]; + [mIconView setImage:[self icon]]; +} + +- (void)setName:(NSString*)name +{ + [mName release]; + mName = [name retain]; +} + +- (NSString*)name +{ + return mName; +} + +- (void)setIcon:(NSImage*)icon +{ + [mIcon release]; + mIcon = [icon retain]; +} + +- (NSImage*)icon +{ + return mIcon; +} + +- (NSString *)password +{ + return mPassword; +} + +- (void)setPassword:(NSString*)password +{ + [mPassword release]; + mPassword = [password retain]; +} + +- (NSInteger)run +{ + //modally run a password prompt + NSInteger result = [NSApp runModalForWindow:[self window]]; + if(result) + [self setPassword:[mPasswordField stringValue]]; + return result; +} + +- (IBAction)accept:(id)sender +{ + [[self window] orderOut:self]; + [NSApp stopModalWithCode:1]; +} + +- (IBAction)cancel:(id)sender +{ + [[self window] orderOut:self]; + [NSApp stopModalWithCode:0]; +} + +- (void)replaceTitle:(NSString*)name +{ + NSString *textString = [mTextDescription stringValue]; + NSString *replacementString = [textString stringByReplacingOccurrencesOfString:@"" withString:name]; + [mTextDescription setStringValue:replacementString]; +} + +@end diff --git a/SUUpdateDriver.h b/SUUpdateDriver.h index 1a305d11..9e8a73e2 100644 --- a/SUUpdateDriver.h +++ b/SUUpdateDriver.h @@ -27,6 +27,8 @@ extern NSString * const SUUpdateDriverFinishedNotification; - (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)host; - (void)abortUpdate; - (BOOL)finished; +- (SUHost*)host; +- (void)setHost:(SUHost*)newHost; @end diff --git a/SUUpdateDriver.m b/SUUpdateDriver.m index d98282a9..e1bae4ee 100644 --- a/SUUpdateDriver.m +++ b/SUUpdateDriver.m @@ -42,4 +42,15 @@ NSString * const SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished"; [super dealloc]; } +- (SUHost*)host +{ + return host; +} + +- (void)setHost:(SUHost*)newHost +{ + [host release]; + host = [newHost retain]; +} + @end diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 022976a5..0d550897 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -131,6 +131,9 @@ 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; + 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */; }; + 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */; }; + 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -318,7 +321,7 @@ 6160FD85134ABCD5007FFC5F /* tr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; 6186554310D7484E00B1E074 /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; 618915730E35937600B5E981 /* sv */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; - 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = "Test Application/dsa_pub.pem"; sourceTree = ""; }; + 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = ../../config/dsa_pub.pem; sourceTree = ""; }; 618FA4FF0DAE88B40026945C /* SUInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUInstaller.h; sourceTree = ""; }; 618FA5000DAE88B40026945C /* SUInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstaller.m; sourceTree = ""; }; 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPlainInstaller.h; sourceTree = ""; }; @@ -381,6 +384,10 @@ 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPasswordPrompt.h; sourceTree = ""; }; + 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPasswordPrompt.m; sourceTree = ""; }; + 93FB277E156BD826001937C7 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; + 93FB2780156BE06F001937C7 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppDebug.xcconfig; sourceTree = ""; }; FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonRelease.xcconfig; sourceTree = ""; }; @@ -518,6 +525,7 @@ 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */, 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */, 55C14BD8136EF00C00649790 /* SUStatus.xib */, + 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */, ); name = "Framework Resources"; sourceTree = ""; @@ -608,6 +616,8 @@ 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */, 61180BC80D64138900B4E0D1 /* SUWindowController.h */, 61180BC90D64138900B4E0D1 /* SUWindowController.m */, + 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */, + 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */, ); name = "User Interface"; sourceTree = ""; @@ -772,6 +782,7 @@ 55C14F06136EF6DB00649790 /* SULog.h in Headers */, 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */, 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, + 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -862,6 +873,7 @@ 6131B1910DDCDE32005215F0 /* Run Script: Set git Version Info */, 6195D4B40E40505A00D41A50 /* Run Script: Link fr_CA to fr */, 61E31A85103299750051D188 /* Run Script: Link pt to pt_BR */, + 93FB26EC15670DF5001937C7 /* Add SVN Revision */, ); buildRules = ( ); @@ -981,6 +993,7 @@ 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, + 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1059,6 +1072,20 @@ shellPath = "/usr/bin/env ruby"; shellScript = "resources = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources\"\n`ln -sfh \"pt_BR.lproj\" \"#{resources}/pt.lproj\"`"; }; + 93FB26EC15670DF5001937C7 /* Add SVN Revision */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Add SVN Revision"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "$SVNROOT/utilities/add-svn-revision.rb --source $SRCROOT --plist $BUILT_PRODUCTS_DIR/$INFOPLIST_PATH\n"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -1144,6 +1171,7 @@ 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */, 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */, 55C14F07136EF6DB00649790 /* SULog.m in Sources */, + 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1307,6 +1335,15 @@ name = MainMenu.nib; sourceTree = ""; }; + 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */ = { + isa = PBXVariantGroup; + children = ( + 93FB277E156BD826001937C7 /* en */, + 93FB2780156BE06F001937C7 /* ja */, + ); + name = SUPasswordPrompt.xib; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ @@ -1314,6 +1351,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { + IBC_FLATTEN_NIBS = NO; }; name = Debug; }; @@ -1321,18 +1359,21 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { + IBC_FLATTEN_NIBS = YES; }; name = Release; }; 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + SVNROOT = ../..; }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + SVNROOT = ../..; }; name = Release; }; @@ -1426,6 +1467,7 @@ 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; buildSettings = { + SVNROOT = ../..; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1433,6 +1475,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { + IBC_FLATTEN_NIBS = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1478,6 +1521,65 @@ }; name = Release; }; + 93FB264815670931001937C7 /* Beta */ = { + isa = XCBuildConfiguration; + buildSettings = { + SVNROOT = ../..; + }; + name = Beta; + }; + 93FB264915670931001937C7 /* Beta */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; + buildSettings = { + IBC_FLATTEN_NIBS = NO; + }; + name = Beta; + }; + 93FB264A15670931001937C7 /* Beta */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; + buildSettings = { + }; + name = Beta; + }; + 93FB264B15670931001937C7 /* Beta */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; + buildSettings = { + }; + name = Beta; + }; + 93FB264C15670931001937C7 /* Beta */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; + buildSettings = { + }; + name = Beta; + }; + 93FB264D15670931001937C7 /* Beta */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = finish_installation.pch; + INFOPLIST_FILE = "finish_installation-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PRODUCT_NAME = finish_installation; + ZERO_LINK = NO; + }; + name = Beta; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1486,6 +1588,7 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, + 93FB264915670931001937C7 /* Beta */, 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1496,6 +1599,7 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, + 93FB264815670931001937C7 /* Beta */, 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1506,6 +1610,7 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, + 93FB264D15670931001937C7 /* Beta */, 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1516,6 +1621,7 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, + 93FB264C15670931001937C7 /* Beta */, 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1526,6 +1632,7 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, + 93FB264B15670931001937C7 /* Beta */, 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1536,6 +1643,7 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, + 93FB264A15670931001937C7 /* Beta */, 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; diff --git a/en.lproj/SUPasswordPrompt.xib b/en.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..41cba084 --- /dev/null +++ b/en.lproj/SUPasswordPrompt.xib @@ -0,0 +1,1194 @@ + + + + 1050 + 10F569 + 788 + 1038.29 + 461.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 788 + + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {362, 138}} + 544736256 + Password + NSWindow + + {1.79769e+308, 1.79769e+308} + + + 256 + + YES + + + 268 + {{90, 48}, {252, 22}} + + YES + + 343014976 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + + + + 268 + {{17, 51}, {68, 17}} + + YES + + 68288064 + 272630784 + Password: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 268 + {{252, 12}, {96, 32}} + + YES + + 67239424 + 134217728 + OK + + + -2038284033 + 129 + + DQ + 200 + 25 + + + + + 268 + {{156, 12}, {96, 32}} + + YES + + 67239424 + 134217728 + Cancel + + + -2038284033 + 129 + + Gw + 200 + 25 + + + + + 268 + {{73, 78}, {285, 48}} + + YES + + 67239424 + 272629760 + Enter password to Update <APPLICATION> + + LucidaGrande + 13 + 16 + + + + + + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 78}, {48, 48}} + + YES + + 130560 + 33554432 + 0 + 0 + 0 + NO + + YES + + + {362, 138} + + + {{0, 0}, {1680, 1028}} + {1.79769e+308, 1.79769e+308} + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + {{316, 826}, {362, 138}} + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + {196, 240} + {{202, 428}, {480, 270}} + 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 + + + + YES + + + YES + + + + + YES + + + YES + + + + 26 + + + + YES + + NSObject + + IBProjectSource + SUAppcast.h + + + + NSObject + + IBProjectSource + SUAutomaticUpdateAlert.h + + + + NSObject + + IBProjectSource + SUInstaller.h + + + + NSObject + + IBProjectSource + SUUnarchiver.h + + + + NSObject + + IBProjectSource + SUUpdateAlert.h + + + + NSObject + + IBProjectSource + SUUpdatePermissionPrompt.h + + + + NSObject + + IBProjectSource + SUUpdater.h + + + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + SUWindowController.h + + + + + YES + + NSWindowController + NSResponder + + showWindow: + id + + + showWindow: + + showWindow: + id + + + + IBDocumentRelativeSource + ../../../../../../../../../../Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindowController.h + + + + + YES + + NSActionCell + NSCell + + IBFrameworkSource + AppKit.framework/Headers/NSActionCell.h + + + + NSApplication + NSResponder + + IBFrameworkSource + AppKit.framework/Headers/NSApplication.h + + + + NSApplication + + IBFrameworkSource + AppKit.framework/Headers/NSApplicationScripting.h + + + + NSApplication + + IBFrameworkSource + AppKit.framework/Headers/NSColorPanel.h + + + + NSApplication + + IBFrameworkSource + AppKit.framework/Headers/NSHelpManager.h + + + + NSApplication + + IBFrameworkSource + AppKit.framework/Headers/NSPageLayout.h + + + + NSApplication + + IBFrameworkSource + AppKit.framework/Headers/NSUserInterfaceItemSearching.h + + + + NSButton + NSControl + + IBFrameworkSource + AppKit.framework/Headers/NSButton.h + + + + NSButtonCell + NSActionCell + + IBFrameworkSource + AppKit.framework/Headers/NSButtonCell.h + + + + NSCell + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSCell.h + + + + NSControl + NSView + + IBFrameworkSource + AppKit.framework/Headers/NSControl.h + + + + NSFormatter + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFormatter.h + + + + NSImageCell + NSCell + + IBFrameworkSource + AppKit.framework/Headers/NSImageCell.h + + + + NSImageView + NSControl + + IBFrameworkSource + AppKit.framework/Headers/NSImageView.h + + + + NSMenu + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSMenu.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSAccessibility.h + + + + NSObject + + + + NSObject + + + + NSObject + + + + NSObject + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSDictionaryController.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSDragging.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSFontManager.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSFontPanel.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSKeyValueBinding.h + + + + NSObject + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSNibLoading.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSOutlineView.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSPasteboard.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSSavePanel.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSTableView.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSToolbarItem.h + + + + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSView.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSClassDescription.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObjectScripting.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPortCoder.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSScriptClassDescription.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSScriptKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSScriptObjectSpecifiers.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSScriptWhoseTests.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLDownload.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebDownload.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebEditingDelegate.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebFrameLoadDelegate.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebJavaPlugIn.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebPlugin.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebPluginContainer.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebPolicyDelegate.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebResourceLoadDelegate.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebScriptObject.h + + + + NSObject + + IBFrameworkSource + WebKit.framework/Headers/WebUIDelegate.h + + + + NSResponder + + IBFrameworkSource + AppKit.framework/Headers/NSInterfaceStyle.h + + + + NSResponder + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSResponder.h + + + + NSSecureTextField + NSTextField + + IBFrameworkSource + AppKit.framework/Headers/NSSecureTextField.h + + + + NSSecureTextFieldCell + NSTextFieldCell + + + + NSTextField + NSControl + + IBFrameworkSource + AppKit.framework/Headers/NSTextField.h + + + + NSTextFieldCell + NSActionCell + + IBFrameworkSource + AppKit.framework/Headers/NSTextFieldCell.h + + + + NSView + + IBFrameworkSource + AppKit.framework/Headers/NSClipView.h + + + + NSView + + IBFrameworkSource + AppKit.framework/Headers/NSMenuItem.h + + + + NSView + + IBFrameworkSource + AppKit.framework/Headers/NSRulerView.h + + + + NSView + NSResponder + + + + NSWindow + + IBFrameworkSource + AppKit.framework/Headers/NSDrawer.h + + + + NSWindow + NSResponder + + IBFrameworkSource + AppKit.framework/Headers/NSWindow.h + + + + NSWindow + + IBFrameworkSource + AppKit.framework/Headers/NSWindowScripting.h + + + + NSWindowController + NSResponder + + showWindow: + id + + + showWindow: + + showWindow: + id + + + + IBFrameworkSource + AppKit.framework/Headers/NSWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + ../Sparkle.xcodeproj + 3 + + diff --git a/ja.lproj/SUPasswordPrompt.xib b/ja.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..62243272 --- /dev/null +++ b/ja.lproj/SUPasswordPrompt.xib @@ -0,0 +1,597 @@ + + + + 1050 + 11B26 + 1617 + 1138 + 566.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1617 + + + YES + NSTextField + NSView + NSWindowTemplate + NSSecureTextField + NSTextFieldCell + NSImageView + NSButtonCell + NSImageCell + NSButton + NSSecureTextFieldCell + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {362, 138}} + 544736256 + パスワード + NSWindow + + + + + 256 + + YES + + + 268 + {{90, 48}, {252, 22}} + + + YES + + 343014976 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + + + + 268 + {{11, 51}, {74, 17}} + + + YES + + 68288064 + 272630784 + パスワード: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 268 + {{252, 12}, {96, 32}} + + + YES + + 67239424 + 134217728 + OK + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 268 + {{156, 12}, {96, 32}} + + + YES + + 67239424 + 134217728 + 取消す + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 268 + {{73, 78}, {285, 48}} + + + YES + + 67239424 + 272629760 + <APPLICATION> の更新パスワードを入力 + + LucidaGrande + 13 + 16 + + + + + + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 78}, {48, 48}} + + + YES + + 130560 + 33554432 + 0 + 0 + 0 + NO + + YES + + + {362, 138} + + + + {{0, 0}, {1920, 1178}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{857, 608}, {362, 138}} + + 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 + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + From 1c258cb69051bafa58e847366c53fd84c0342513 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 23 May 2012 09:47:43 -0700 Subject: [PATCH 07/23] =?UTF-8?q?Updating=20Danish=20localization=20courte?= =?UTF-8?q?sy=20Daniel=20=C3=98stergaard=20Nielsen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- da.lproj/SUAutomaticUpdateAlert.strings | Bin 1196 -> 1192 bytes da.lproj/SUAutomaticUpdateAlert.xib | 127 +-- da.lproj/SUStatus.strings | Bin da.lproj/SUUpdateAlert.strings | Bin 1656 -> 1642 bytes da.lproj/SUUpdateAlert.xib | 1265 ++++----------------- da.lproj/SUUpdatePermissionPrompt.strings | Bin da.lproj/SUUpdatePermissionPrompt.xib | 0 da.lproj/Sparkle.strings | Bin 9100 -> 9072 bytes 8 files changed, 265 insertions(+), 1127 deletions(-) mode change 100644 => 100755 da.lproj/SUAutomaticUpdateAlert.strings mode change 100644 => 100755 da.lproj/SUAutomaticUpdateAlert.xib mode change 100644 => 100755 da.lproj/SUStatus.strings mode change 100644 => 100755 da.lproj/SUUpdateAlert.strings mode change 100644 => 100755 da.lproj/SUUpdateAlert.xib mode change 100644 => 100755 da.lproj/SUUpdatePermissionPrompt.strings mode change 100644 => 100755 da.lproj/SUUpdatePermissionPrompt.xib mode change 100644 => 100755 da.lproj/Sparkle.strings diff --git a/da.lproj/SUAutomaticUpdateAlert.strings b/da.lproj/SUAutomaticUpdateAlert.strings old mode 100644 new mode 100755 index 18c8d72f9a45d20bf53763508acf674b428310f4..da56a98c62e28c8a7ce0d51f8fde81c76fb48d59 GIT binary patch delta 54 zcmZ3(xq@@T2mW-1RE9i;VuliiM1~@UlF4V811I_jEKXr$n(W0Sz+TLd&7i=LF*%i4 KdGkDGK1Kk%Ob+G% delta 47 zcmZ3%xrTGX2jOCd5{5*EA|R>2kjaqFkjjv^@qZ!{qsQcOW@X02$%)LOn`bfeF#-Tk C7!5=K diff --git a/da.lproj/SUAutomaticUpdateAlert.xib b/da.lproj/SUAutomaticUpdateAlert.xib old mode 100644 new mode 100755 index 863cdd47..e009a463 --- a/da.lproj/SUAutomaticUpdateAlert.xib +++ b/da.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11E53 + 2182 + 1138.47 + 569.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2182 YES @@ -45,7 +45,7 @@ 1 2 - {{114, 521}, {627, 152}} + {{114, 521}, {618, 152}} 1886912512 @@ -158,15 +158,14 @@ 257 - {{437, 12}, {175, 32}} + {{436, 12}, {168, 32}} - YES 67239424 134217728 - Installer og start igen + Installer og genstart LucidaGrande 13 @@ -185,7 +184,7 @@ 257 - {{252, 12}, {185, 32}} + {{251, 12}, {185, 32}} @@ -241,7 +240,7 @@ 67239424 131072 - Hent og installer automatisk opdateringer i fremtiden + Automatisk hent og installer opdateringer i fremtiden 1211912703 @@ -260,12 +259,12 @@ - {627, 152} + {618, 152} - {{0, 0}, {1440, 878}} + {{0, 0}, {1920, 1178}} {511, 174} {10000000000000, 10000000000000} YES @@ -277,6 +276,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -341,38 +372,6 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - @@ -538,18 +537,14 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -557,33 +552,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 - + YES 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 @@ -593,16 +579,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 947}, {743, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -633,7 +612,7 @@ installLater: installNow: - + YES id id @@ -648,7 +627,7 @@ installLater: installNow: - + YES doNotInstall: @@ -698,7 +677,7 @@ NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/da.lproj/SUStatus.strings b/da.lproj/SUStatus.strings old mode 100644 new mode 100755 diff --git a/da.lproj/SUUpdateAlert.strings b/da.lproj/SUUpdateAlert.strings old mode 100644 new mode 100755 index d871c1cdfe17b9a28dd75ceca803cc8eaa3a9ed2..3692c3cc994714001882a73fd44182d5c6b6723e GIT binary patch delta 52 zcmV-40L%aQ4C)N9rU3(00A!P^0sE7%0^A2v0BZng0C2OF19bucL6a{A6#;0I3kD;T KiUbssSOy^Odk|g# delta 74 zcmaFG^Mhx@GDcQ6h9ZW{$txLuvu84-Go&))OY|Lg30B@fa4*&oF diff --git a/da.lproj/SUUpdateAlert.xib b/da.lproj/SUUpdateAlert.xib old mode 100644 new mode 100755 index 957ce3f9..977872fd --- a/da.lproj/SUUpdateAlert.xib +++ b/da.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10J567 - 823 - 1038.35 - 462.00 + 11E53 + 2182 + 1138.47 + 569.00 YES @@ -13,14 +13,26 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - + YES - 823 - 823 + 2182 + 1117 - + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES @@ -52,10 +64,10 @@ View - {1.79769e+308, 1.79769e+308} + {575, 370} - + 256 YES @@ -76,6 +88,8 @@ {{24, 291}, {64, 64}} + + YES 130560 @@ -96,6 +110,8 @@ 266 {{106, 338}, {452, 17}} + + YES 67239424 @@ -130,13 +146,15 @@ 268 - {{106, 280}, {452, 14}} + {{107, 277}, {452, 17}} + + YES 67239424 272629760 - Frigivelsesnoter: + Udgivelsesnoter: LucidaGrande-Bold 11 @@ -150,13 +168,15 @@ 289 - {{280, 12}, {146, 32}} + {{295, 12}, {156, 32}} + + YES 67239424 134217728 - Påmind mig igen senere + Påmind mig senere LucidaGrande 13 @@ -175,13 +195,15 @@ 288 - {{103, 12}, {165, 32}} + {{103, 12}, {155, 32}} + + YES 67239424 134217728 - Undgå denne version + Skip denne version -2038284033 @@ -198,13 +220,15 @@ 289 - {{426, 12}, {135, 32}} + {{450, 12}, {111, 32}} + + YES -2080244224 134217728 - Installer opdatering + Installer nu -2038284033 @@ -223,7 +247,7 @@ YES - 256 + 274 YES @@ -252,6 +276,7 @@ {{-2, -1}, {445, 199}} + @@ -265,7 +290,7 @@ WebKitDefaultFontSize WebKitMinimumFontSize - + YES @@ -279,10 +304,14 @@ {{1, 1}, {443, 197}} + + {{110, 76}, {445, 199}} + + {0, 0} 67239424 @@ -318,6 +347,8 @@ 266 {{106, 302}, {452, 28}} + + YES 67239424 @@ -338,11 +369,13 @@ 290 {{106, 50}, {451, 18}} + + YES 67239424 131072 - Hent og installer automatisk opdateringer i fremtiden + Automatisk hent og installer opdateringer i fremtiden 1211912703 @@ -362,11 +395,15 @@ {575, 370} + + + {{0, 0}, {1920, 1178}} {575, 392} - {1.79769e+308, 1.79769e+308} + {10000000000000, 10000000000000} + YES YES @@ -375,6 +412,86 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + value: applicationIcon @@ -407,46 +524,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -467,74 +544,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -576,28 +585,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 - - laterButton - - + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + - 177 + 135 - - skipButton - - + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + - 178 + 141 @@ -794,19 +831,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -814,47 +847,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency - 5.IBViewEditorWindowController.showingLayoutRectangles 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.maxSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC1AAAw6QAAA - - - 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 @@ -862,45 +875,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{643, 222}, {575, 370}} com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - - - {1.79769e+308, 1.79769e+308} - {575, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 178 @@ -908,78 +903,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - SUUpdateAlert SUWindowController @@ -991,7 +914,7 @@ remindMeLater: skipThisVersion: - + YES id id @@ -1006,138 +929,7 @@ remindMeLater: skipThisVersion: - - YES - - installUpdate: - id - - - remindMeLater: - id - - - skipThisVersion: - id - - - - - YES - - YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - YES - - YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - releaseNotesView - WebView - - - versionDisplayer - id - - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSObject - - IBDocumentRelativeSource - ../SUUpdateAlert.h - - - - SUUpdateAlert - SUWindowController - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - id - id - id - - - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - + YES installUpdate: @@ -1165,7 +957,7 @@ skipButton versionDisplayer - + YES id NSTextField @@ -1188,7 +980,7 @@ skipButton versionDisplayer - + YES delegate @@ -1220,663 +1012,35 @@ - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h + IBProjectSource + ./Classes/SUUpdateAlert.h - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - - + SUWindowController + NSWindowController - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + IBProjectSource + ./Classes/SUWindowController.h WebView - NSView - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id - + reloadFromOrigin: + id - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - - goBack: - id - - - goForward: - id - - - makeTextLarger: - id - - - makeTextSmaller: - id - - - makeTextStandardSize: - id - - - reload: - id - - - reloadFromOrigin: - id - - - stopLoading: - id - - - takeStringURLFrom: - id - - - toggleContinuousSpellChecking: - id - - - toggleSmartInsertDelete: - id - + reloadFromOrigin: + + reloadFromOrigin: + id - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/WebView.h @@ -1887,16 +1051,11 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 YES @@ -1905,7 +1064,7 @@ NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/da.lproj/SUUpdatePermissionPrompt.strings b/da.lproj/SUUpdatePermissionPrompt.strings old mode 100644 new mode 100755 diff --git a/da.lproj/SUUpdatePermissionPrompt.xib b/da.lproj/SUUpdatePermissionPrompt.xib old mode 100644 new mode 100755 diff --git a/da.lproj/Sparkle.strings b/da.lproj/Sparkle.strings old mode 100644 new mode 100755 index 4725267c2059f496629c29f1a10630701495f200..2984afdf652b67d2457fb7ca498097a932ab66be GIT binary patch delta 157 zcmeBi|KPS^4GU*3Ln1=~5T;IE&mzgFGr3+^bn_n;K1SX|hHQoshEj%9h8%{R&AM#; zER#RUMor$uqcYiwyJd2M00(30Y?bzHR*uu*n%#hEJ2Gm#%G`9$7 qY9p`co63gT!&X~y) zc$6mdaJNj}#;37)7q Date: Wed, 23 May 2012 17:11:31 -0400 Subject: [PATCH 08/23] remove the ASW tags since we're submitting this as a pull request to andy --- SUDiskImageUnarchiver.m | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m index 674e1b1a..45220b68 100644 --- a/SUDiskImageUnarchiver.m +++ b/SUDiskImageUnarchiver.m @@ -49,19 +49,15 @@ } while (noErr == FSPathMakeRefWithOptions((UInt8 *)[mountPoint fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &tmpRef, NULL)); -/* ASW_ADDITION */ -#pragma mark ASW_ADDITION BOOL isEncrypted = NO; NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:[NSArray arrayWithObjects: @"isencrypted", archivePath, nil] input:NULL]; if([self isEncrypted:result]) isEncrypted = YES; -/* ASW_ADDITION */ NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; // set up a pipe and push "yes" (y works too), this will accept any license agreement crap // not every .dmg needs this, but this will make sure it works with everyone -/* ASW_ADDITION */ -#pragma mark ASW_ADDITION + NSData* promptData; if(isEncrypted) { SUPasswordPrompt *prompt = [[SUPasswordPrompt alloc] initWithHost:(SUHost*)[delegate host]]; @@ -83,7 +79,6 @@ } else promptData = [NSData dataWithBytes:"yes\n" length:4]; -/* ASW_ADDITION */ NSData *output = nil; NSInteger taskResult = -1; @@ -178,8 +173,6 @@ finally: [self registerImplementation:self]; } -/* ASW_ADDITION */ -#pragma mark ASW_ADDITION - (BOOL)isEncrypted:(NSData*)resultData { BOOL result = NO; @@ -193,6 +186,5 @@ finally: } return result; } -/* ASW_ADDITION */ @end From 9662452c09a2d87eb6e1154cab5fd6629e9ed7f6 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Mon, 28 May 2012 23:02:14 +0200 Subject: [PATCH 09/23] Fixes #44: maximumSystemVersion key --- SUAppcastItem.h | 2 ++ SUAppcastItem.m | 9 +++++++++ SUBasicUpdateDriver.m | 17 +++++++++++++++-- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/SUAppcastItem.h b/SUAppcastItem.h index d1067321..d6f9c64f 100644 --- a/SUAppcastItem.h +++ b/SUAppcastItem.h @@ -20,6 +20,7 @@ NSString *DSASignature; NSString *minimumSystemVersion; + NSString *maximumSystemVersion; NSURL *fileURL; NSString *versionString; @@ -45,6 +46,7 @@ - (NSURL *)fileURL; - (NSString *)DSASignature; - (NSString *)minimumSystemVersion; +- (NSString *)maximumSystemVersion; - (NSDictionary *)deltaUpdates; - (BOOL)isDeltaUpdate; diff --git a/SUAppcastItem.m b/SUAppcastItem.m index d2e9812b..c989f7e0 100644 --- a/SUAppcastItem.m +++ b/SUAppcastItem.m @@ -106,6 +106,14 @@ minimumSystemVersion = [systemVersionString copy]; } +- (NSString *)maximumSystemVersion { return [[maximumSystemVersion retain] autorelease]; } +- (void)setMaximumSystemVersion:(NSString *)systemVersionString +{ + if (maximumSystemVersion == systemVersionString) return; + [maximumSystemVersion release]; + maximumSystemVersion = [systemVersionString copy]; +} + - (NSURL *)infoURL { return [[infoURL retain] autorelease]; } // UK 2007-08-31 (whole method) @@ -210,6 +218,7 @@ [self setVersionString: newVersion]; [self setMinimumSystemVersion: [dict objectForKey:@"sparkle:minimumSystemVersion"]]; + [self setMaximumSystemVersion: [dict objectForKey:@"sparkle:maximumSystemVersion"]]; NSString *shortVersionString = [enclosure objectForKey:@"sparkle:shortVersionString"]; if (nil == shortVersionString) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index a53a354c..d777aed8 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -65,8 +65,21 @@ - (BOOL)hostSupportsItem:(SUAppcastItem *)ui { - if ([ui minimumSystemVersion] == nil || [[ui minimumSystemVersion] isEqualToString:@""]) { return YES; } - return [[SUStandardVersionComparator defaultComparator] compareVersion:[ui minimumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedDescending; + if (([ui minimumSystemVersion] == nil || [[ui minimumSystemVersion] isEqualToString:@""]) && + ([ui maximumSystemVersion] == nil || [[ui maximumSystemVersion] isEqualToString:@""])) { return YES; } + + BOOL minimumVersionOK = TRUE; + BOOL maximumVersionOK = TRUE; + + // Check minimum and maximum System Version + if ([ui minimumSystemVersion] != nil && ![[ui minimumSystemVersion] isEqualToString:@""]) { + minimumVersionOK = [[SUStandardVersionComparator defaultComparator] compareVersion:[ui minimumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedDescending; + } + if ([ui maximumSystemVersion] != nil && ![[ui maximumSystemVersion] isEqualToString:@""]) { + maximumVersionOK = [[SUStandardVersionComparator defaultComparator] compareVersion:[ui maximumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedAscending; + } + + return minimumVersionOK && maximumVersionOK; } - (BOOL)itemContainsSkippedVersion:(SUAppcastItem *)ui From 9c8e825289e60557d72cea22aac82214973bcbb8 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 26 Jun 2012 18:43:52 -0700 Subject: [PATCH 10/23] Removed methods from SUPasswordPrompt.h that didn't need to be exposed there --- SUPasswordPrompt.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/SUPasswordPrompt.h b/SUPasswordPrompt.h index 499bc4e4..c70372a5 100644 --- a/SUPasswordPrompt.h +++ b/SUPasswordPrompt.h @@ -20,16 +20,7 @@ } - (id)initWithHost:(SUHost *)aHost; -- (void)awakeFromNib; -- (void)setName:(NSString*)name; -- (NSString*)name; -- (void)setIcon:(NSImage*)icon; -- (NSImage*)icon; -- (NSString *)password; -- (void)setPassword:(NSString*)password; - (NSInteger)run; -- (IBAction)accept:(id)sender; -- (IBAction)cancel:(id)sender; -- (void)replaceTitle:(NSString*)name; +- (NSString *)password; @end From a4082a0e54a80160a5e1b46dfad4a56525473658 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 26 Jun 2012 18:44:55 -0700 Subject: [PATCH 11/23] Redesigned password prompt UI --- SUPasswordPrompt.m | 8 - en.lproj/SUPasswordPrompt.xib | 768 ++++------------------------------ 2 files changed, 90 insertions(+), 686 deletions(-) diff --git a/SUPasswordPrompt.m b/SUPasswordPrompt.m index 6b66cc3a..4cff46dc 100644 --- a/SUPasswordPrompt.m +++ b/SUPasswordPrompt.m @@ -26,7 +26,6 @@ - (void)awakeFromNib { - [self replaceTitle:[self name]]; [mIconView setImage:[self icon]]; } @@ -84,11 +83,4 @@ [NSApp stopModalWithCode:0]; } -- (void)replaceTitle:(NSString*)name -{ - NSString *textString = [mTextDescription stringValue]; - NSString *replacementString = [textString stringByReplacingOccurrencesOfString:@"" withString:name]; - [mTextDescription setStringValue:replacementString]; -} - @end diff --git a/en.lproj/SUPasswordPrompt.xib b/en.lproj/SUPasswordPrompt.xib index 41cba084..2002c8e7 100644 --- a/en.lproj/SUPasswordPrompt.xib +++ b/en.lproj/SUPasswordPrompt.xib @@ -2,30 +2,35 @@ 1050 - 10F569 - 788 - 1038.29 - 461.00 + 12A251 + 2488 + 1183 + 622.00 com.apple.InterfaceBuilder.CocoaPlugin - 788 + 2488 - + YES - + NSButton + NSButtonCell + NSCustomObject + NSImageCell + NSImageView + NSSecureTextField + NSSecureTextFieldCell + NSTextField + NSTextFieldCell + NSView + NSWindowTemplate YES com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - - YES - + PluginDependencyRecalculationVersion + YES @@ -41,12 +46,12 @@ 1 2 - {{196, 372}, {362, 138}} + {{196, 372}, {394, 118}} 544736256 Password NSWindow - {1.79769e+308, 1.79769e+308} + 256 @@ -54,12 +59,14 @@ YES - 268 - {{90, 48}, {252, 22}} + 290 + {{179, 49}, {195, 22}} + + YES - 343014976 + 342884416 272630784 @@ -92,15 +99,18 @@ NSAllRomanInputSourcesLocaleIdentifier + NO - 268 - {{17, 51}, {68, 17}} + 292 + {{106, 51}, {68, 17}} + + YES - 68288064 + 68157504 272630784 Password: @@ -121,59 +131,67 @@ + NO - 268 - {{252, 12}, {96, 32}} + 289 + {{297, 13}, {83, 32}} + YES - 67239424 + 67108864 134217728 - OK + Unlock - -2038284033 + -2038284288 129 DQ 200 25 + NO - 268 - {{156, 12}, {96, 32}} + 289 + {{215, 13}, {82, 32}} + + YES - 67239424 + 67108864 134217728 Cancel - -2038284033 + -2038284288 129 Gw 200 25 + NO - 268 - {{73, 78}, {285, 48}} + 266 + {{106, 86}, {271, 17}} + + YES - 67239424 + 67108864 272629760 - Enter password to Update <APPLICATION> + This update is locked with a password. - LucidaGrande + LucidaGrande-Bold 13 16 @@ -181,6 +199,7 @@ + NO @@ -197,25 +216,31 @@ NeXT TIFF v4.0 pasteboard type - {{20, 78}, {48, 48}} + {{20, 39}, {64, 64}} + + YES - 130560 + 0 33554432 0 0 0 NO + NO YES - {362, 138} + {394, 118} + + - {{0, 0}, {1680, 1028}} - {1.79769e+308, 1.79769e+308} + {{0, 0}, {1440, 878}} + {10000000000000, 10000000000000} + YES @@ -275,7 +300,9 @@ YES 0 - + + YES + @@ -313,8 +340,8 @@ YES - + @@ -410,12 +437,12 @@ YES YES - 1.IBEditorWindowLastContentRect + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency 1.IBPluginDependency 1.IBWindowTemplateEditedContentRect 1.NSWindowTemplate.visibleAtLaunch - 1.WindowOrigin - 1.editorWindowContentRectSynchronizationRect 10.IBPluginDependency 15.IBPluginDependency 16.IBPluginDependency @@ -430,14 +457,14 @@ 8.IBPluginDependency 9.IBPluginDependency - + YES - {{316, 826}, {362, 138}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin {{316, 826}, {362, 138}} - {196, 240} - {{202, 428}, {480, 270}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -456,17 +483,13 @@ YES - - YES - + YES - - YES - + 26 @@ -474,55 +497,6 @@ YES - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - SUPasswordPrompt SUWindowController @@ -533,7 +507,7 @@ accept: cancel: - + YES id id @@ -546,7 +520,7 @@ accept: cancel: - + YES accept: @@ -566,7 +540,7 @@ mPasswordField mTextDescription - + YES NSImageView NSSecureTextField @@ -581,7 +555,7 @@ mPasswordField mTextDescription - + YES mIconView @@ -599,7 +573,7 @@ IBProjectSource - SUPasswordPrompt.h + ./Classes/SUPasswordPrompt.h @@ -607,588 +581,26 @@ NSWindowController IBProjectSource - SUWindowController.h - - - - - YES - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - - - - IBDocumentRelativeSource - ../../../../../../../../../../Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindowController.h - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSSecureTextField - NSTextField - - IBFrameworkSource - AppKit.framework/Headers/NSSecureTextField.h - - - - NSSecureTextFieldCell - NSTextFieldCell - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + ./Classes/SUWindowController.h 0 IBCocoaFramework - + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 From ae52d2743e53decccb35aed46f975f2ecd90ba12 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 26 Jun 2012 18:45:41 -0700 Subject: [PATCH 12/23] Removed changes to the project.pbxproj that were unrelated to the password prompt --- Sparkle.xcodeproj/project.pbxproj | 88 +------------------------------ 1 file changed, 1 insertion(+), 87 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 0d550897..f4a833a0 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -321,7 +321,7 @@ 6160FD85134ABCD5007FFC5F /* tr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; 6186554310D7484E00B1E074 /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; 618915730E35937600B5E981 /* sv */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; - 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = ../../config/dsa_pub.pem; sourceTree = ""; }; + 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = "Test Application/dsa_pub.pem"; sourceTree = ""; }; 618FA4FF0DAE88B40026945C /* SUInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUInstaller.h; sourceTree = ""; }; 618FA5000DAE88B40026945C /* SUInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstaller.m; sourceTree = ""; }; 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPlainInstaller.h; sourceTree = ""; }; @@ -873,7 +873,6 @@ 6131B1910DDCDE32005215F0 /* Run Script: Set git Version Info */, 6195D4B40E40505A00D41A50 /* Run Script: Link fr_CA to fr */, 61E31A85103299750051D188 /* Run Script: Link pt to pt_BR */, - 93FB26EC15670DF5001937C7 /* Add SVN Revision */, ); buildRules = ( ); @@ -1072,20 +1071,6 @@ shellPath = "/usr/bin/env ruby"; shellScript = "resources = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources\"\n`ln -sfh \"pt_BR.lproj\" \"#{resources}/pt.lproj\"`"; }; - 93FB26EC15670DF5001937C7 /* Add SVN Revision */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Add SVN Revision"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "$SVNROOT/utilities/add-svn-revision.rb --source $SRCROOT --plist $BUILT_PRODUCTS_DIR/$INFOPLIST_PATH\n"; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -1351,7 +1336,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { - IBC_FLATTEN_NIBS = NO; }; name = Debug; }; @@ -1359,21 +1343,18 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { - IBC_FLATTEN_NIBS = YES; }; name = Release; }; 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - SVNROOT = ../..; }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - SVNROOT = ../..; }; name = Release; }; @@ -1467,7 +1448,6 @@ 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; buildSettings = { - SVNROOT = ../..; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1475,7 +1455,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { - IBC_FLATTEN_NIBS = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1521,65 +1500,6 @@ }; name = Release; }; - 93FB264815670931001937C7 /* Beta */ = { - isa = XCBuildConfiguration; - buildSettings = { - SVNROOT = ../..; - }; - name = Beta; - }; - 93FB264915670931001937C7 /* Beta */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; - buildSettings = { - IBC_FLATTEN_NIBS = NO; - }; - name = Beta; - }; - 93FB264A15670931001937C7 /* Beta */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; - buildSettings = { - }; - name = Beta; - }; - 93FB264B15670931001937C7 /* Beta */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; - buildSettings = { - }; - name = Beta; - }; - 93FB264C15670931001937C7 /* Beta */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; - buildSettings = { - }; - name = Beta; - }; - 93FB264D15670931001937C7 /* Beta */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = finish_installation.pch; - INFOPLIST_FILE = "finish_installation-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = finish_installation; - ZERO_LINK = NO; - }; - name = Beta; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1588,7 +1508,6 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, - 93FB264915670931001937C7 /* Beta */, 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1599,7 +1518,6 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, - 93FB264815670931001937C7 /* Beta */, 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1610,7 +1528,6 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, - 93FB264D15670931001937C7 /* Beta */, 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1621,7 +1538,6 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, - 93FB264C15670931001937C7 /* Beta */, 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1632,7 +1548,6 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, - 93FB264B15670931001937C7 /* Beta */, 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; @@ -1643,7 +1558,6 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, - 93FB264A15670931001937C7 /* Beta */, 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; From 91ac9178f15b65821908c73b0fad9d1549d2d0e8 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Thu, 28 Jun 2012 13:28:30 +0100 Subject: [PATCH 13/23] Use NSFileManager interface for DMG unarchive only for 10.7+. On 10.6, [NSFileManager copyItemAtPath:toPath:error:] can fail with "Argument list too long" if the app bundle contains too many files. The switch to NSFileManager was only required for 10.7 anyway, 10.6 always worked fine. --- SUDiskImageUnarchiver.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m index a905ee6b..5d8a3f54 100644 --- a/SUDiskImageUnarchiver.m +++ b/SUDiskImageUnarchiver.m @@ -65,8 +65,8 @@ mountedSuccessfully = YES; // Now that we've mounted it, we need to copy out its contents. - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5) { - // On 10.6 and later we don't want to use the File Manager API and instead want to use NSFileManager (fixes #827357). + if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) { + // On 10.7 and later we don't want to use the File Manager API and instead want to use NSFileManager (fixes #827357). NSFileManager *manager = [[[NSFileManager alloc] init] autorelease]; NSError *error = nil; NSArray *contents = [manager contentsOfDirectoryAtPath:mountPoint error:&error]; @@ -91,7 +91,7 @@ if (![manager copyItemAtPath:fromPath toPath:toPath error:&error]) { - SULog(@"Couldn't copy item: %@", error); + SULog(@"Couldn't copy item: %@ : %@", error, error.userInfo ? error.userInfo : @""); goto reportError; } } From d3f975816ea14f3eecd33e5b87b856e72b983c20 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 3 Jul 2012 18:37:50 -0700 Subject: [PATCH 14/23] Delegated password prompting to the update driver. The SUDiskImageUnarchiver shouldn't know about UI, and besides, it's important that update drivers which should not display UI (like the automatically-installing and probing drivers) should not display password prompts. --- SUDiskImageUnarchiver.m | 73 ++++++++++++++++++++++++----------------- SUUIBasedUpdateDriver.m | 14 ++++++++ SUUnarchiver.h | 1 + 3 files changed, 57 insertions(+), 31 deletions(-) diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m index 45220b68..e0099066 100644 --- a/SUDiskImageUnarchiver.m +++ b/SUDiskImageUnarchiver.m @@ -11,7 +11,6 @@ #import "NTSynchronousTask.h" #import "SULog.h" #import -#import "SUPasswordPrompt.h" @implementation SUDiskImageUnarchiver @@ -20,11 +19,28 @@ return [[path pathExtension] isEqualToString:@"dmg"]; } +// Called on a non-main thread. - (void)extractDMG -{ - // GETS CALLED ON NON-MAIN THREAD!!! +{ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:[NSArray arrayWithObjects: @"isencrypted", archivePath, nil] input:NULL]; + if([self isEncrypted:result] && [delegate respondsToSelector:@selector(unarchiver:requiresPasswordReturnedViaInvocation:)]) { + [self performSelectorOnMainThread:@selector(requestPasswordFromDelegate) withObject:nil waitUntilDone:NO]; + } else { + [self extractDMGWithPassword:nil]; + } + + [pool release]; +} + +// Called on a non-main thread. +- (void)extractDMGWithPassword:(NSString *)password +{ + + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + BOOL mountedSuccessfully = NO; SULog(@"Extracting %@ as a DMG", archivePath); @@ -49,37 +65,18 @@ } while (noErr == FSPathMakeRefWithOptions((UInt8 *)[mountPoint fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &tmpRef, NULL)); - BOOL isEncrypted = NO; - NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:[NSArray arrayWithObjects: @"isencrypted", archivePath, nil] input:NULL]; - if([self isEncrypted:result]) - isEncrypted = YES; - - NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; - // set up a pipe and push "yes" (y works too), this will accept any license agreement crap - // not every .dmg needs this, but this will make sure it works with everyone - - NSData* promptData; - if(isEncrypted) { - SUPasswordPrompt *prompt = [[SUPasswordPrompt alloc] initWithHost:(SUHost*)[delegate host]]; - if([prompt run]) - { - NSString *password = [prompt password]; - if(![password length]) - goto reportError; - NSString *data = [NSString stringWithFormat:@"%@\nyes\n", password]; - const char *bytes = [data cStringUsingEncoding:NSUTF8StringEncoding]; - NSUInteger length = [data lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; - promptData = [NSData dataWithBytes:bytes length:length]; - } - else - { - goto reportError; - } - [prompt release]; + NSData *promptData = nil; + if (password) { + NSString *data = [NSString stringWithFormat:@"%@\nyes\n", password]; + const char *bytes = [data cStringUsingEncoding:NSUTF8StringEncoding]; + NSUInteger length = [data lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; + promptData = [NSData dataWithBytes:bytes length:length]; } else promptData = [NSData dataWithBytes:"yes\n" length:4]; + NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; + NSData *output = nil; NSInteger taskResult = -1; @try @@ -92,7 +89,7 @@ output = [[[task output] copy] autorelease]; [task release]; } - @catch (NSException *localException) + @catch (NSException *localException) { goto reportError; } @@ -187,4 +184,18 @@ finally: return result; } +- (void)requestPasswordFromDelegate +{ + NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[self methodSignatureForSelector:@selector(continueWithPassword:)]]; + [invocation setSelector:@selector(continueWithPassword:)]; + [invocation setTarget:self]; + [invocation retainArguments]; + [delegate unarchiver:self requiresPasswordReturnedViaInvocation:invocation]; +} + +- (void)continueWithPassword:(NSString *)password +{ + [NSThread detachNewThreadSelector:@selector(extractDMGWithPassword:) toTarget:self withObject:password]; +} + @end diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index 2b209590..dc37e056 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -13,6 +13,7 @@ #import "SUHost.h" #import "SUStatusController.h" #import "SUConstants.h" +#import "SUPasswordPrompt.h" @implementation SUUIBasedUpdateDriver @@ -160,6 +161,19 @@ [NSApp requestUserAttention:NSInformationalRequest]; } +- (void)unarchiver:(SUUnarchiver *)unarchiver requiresPasswordReturnedViaInvocation:(NSInvocation *)invocation +{ + SUPasswordPrompt *prompt = [[SUPasswordPrompt alloc] initWithHost:host]; + NSString *password = nil; + if([prompt run]) + { + password = [prompt password]; + } + [prompt release]; + [invocation setArgument:&password atIndex:2]; + [invocation invoke]; +} + - (void)installAndRestart: (id)sender { [self installWithToolAndRelaunch:YES]; diff --git a/SUUnarchiver.h b/SUUnarchiver.h index 261187c5..c726d174 100644 --- a/SUUnarchiver.h +++ b/SUUnarchiver.h @@ -28,6 +28,7 @@ - (void)unarchiver:(SUUnarchiver *)unarchiver extractedLength:(unsigned long)length; - (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; - (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; +- (void)unarchiver:(SUUnarchiver *)unarchiver requiresPasswordReturnedViaInvocation:(NSInvocation *)invocation; @end #endif From d620dc0b52342c86adf9258705250dca5b6e8f49 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 3 Jul 2012 18:43:22 -0700 Subject: [PATCH 15/23] Removing Japanese localization of the password prompt, since I changed the design --- ja.lproj/SUPasswordPrompt.xib | 597 ---------------------------------- 1 file changed, 597 deletions(-) delete mode 100644 ja.lproj/SUPasswordPrompt.xib diff --git a/ja.lproj/SUPasswordPrompt.xib b/ja.lproj/SUPasswordPrompt.xib deleted file mode 100644 index 62243272..00000000 --- a/ja.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,597 +0,0 @@ - - - - 1050 - 11B26 - 1617 - 1138 - 566.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1617 - - - YES - NSTextField - NSView - NSWindowTemplate - NSSecureTextField - NSTextFieldCell - NSImageView - NSButtonCell - NSImageCell - NSButton - NSSecureTextFieldCell - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {362, 138}} - 544736256 - パスワード - NSWindow - - - - - 256 - - YES - - - 268 - {{90, 48}, {252, 22}} - - - YES - - 343014976 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - - - - 268 - {{11, 51}, {74, 17}} - - - YES - - 68288064 - 272630784 - パスワード: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - - - - 268 - {{252, 12}, {96, 32}} - - - YES - - 67239424 - 134217728 - OK - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 268 - {{156, 12}, {96, 32}} - - - YES - - 67239424 - 134217728 - 取消す - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 268 - {{73, 78}, {285, 48}} - - - YES - - 67239424 - 272629760 - <APPLICATION> の更新パスワードを入力 - - LucidaGrande - 13 - 16 - - - - - - - - - 268 - - YES - - YES - Apple PDF pasteboard type - Apple PICT pasteboard type - Apple PNG pasteboard type - NSFilenamesPboardType - NeXT Encapsulated PostScript v1.2 pasteboard type - NeXT TIFF v4.0 pasteboard type - - - {{20, 78}, {48, 48}} - - - YES - - 130560 - 33554432 - 0 - 0 - 0 - NO - - YES - - - {362, 138} - - - - {{0, 0}, {1920, 1178}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{857, 608}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - accept: - cancel: - - - YES - id - id - - - - YES - - YES - accept: - cancel: - - - YES - - accept: - id - - - cancel: - id - - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - From 69d471aefb040cb2c96ede4d1b3f7fc24e1abbbc Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 3 Jul 2012 18:49:53 -0700 Subject: [PATCH 16/23] Allow the user to try reentering his password if authentication fails. --- SUDiskImageUnarchiver.m | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m index e0099066..c8425aef 100644 --- a/SUDiskImageUnarchiver.m +++ b/SUDiskImageUnarchiver.m @@ -97,8 +97,13 @@ if (taskResult != 0) { NSString* resultStr = output ? [[[NSString alloc] initWithData: output encoding: NSUTF8StringEncoding] autorelease] : nil; - SULog( @"hdiutil failed with code: %d data: <<%@>>", taskResult, resultStr ); - goto reportError; + if (password != nil && [resultStr rangeOfString:@"Authentication error"].location != NSNotFound && [delegate respondsToSelector:@selector(unarchiver:requiresPasswordReturnedViaInvocation:)]) { + [self performSelectorOnMainThread:@selector(requestPasswordFromDelegate) withObject:nil waitUntilDone:NO]; + goto finally; + } else { + SULog( @"hdiutil failed with code: %d data: <<%@>>", taskResult, resultStr ); + goto reportError; + } } mountedSuccessfully = YES; From ab74bdca7980fdda6fdeb672d62f4456281815f2 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 3 Jul 2012 18:52:08 -0700 Subject: [PATCH 17/23] Removed Japanese localization of password prompt from the Xcode project --- Sparkle.xcodeproj/project.pbxproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index f4a833a0..57900f36 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -387,7 +387,6 @@ 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPasswordPrompt.h; sourceTree = ""; }; 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPasswordPrompt.m; sourceTree = ""; }; 93FB277E156BD826001937C7 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; - 93FB2780156BE06F001937C7 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppDebug.xcconfig; sourceTree = ""; }; FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonRelease.xcconfig; sourceTree = ""; }; @@ -1324,7 +1323,6 @@ isa = PBXVariantGroup; children = ( 93FB277E156BD826001937C7 /* en */, - 93FB2780156BE06F001937C7 /* ja */, ); name = SUPasswordPrompt.xib; sourceTree = ""; From 26077f47af4743533f961d4357567306f2fe5c3f Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 23 Jul 2012 17:03:03 -0700 Subject: [PATCH 18/23] Update to the Brazilian Portuguese localization from Victor Figueriedo --- Sparkle.xcodeproj/project.pbxproj | 2 + pt-BR.lproj/SUPasswordPrompt.xib | 606 ++++++++++ pt_BR.lproj/SUAutomaticUpdateAlert.strings | Bin 0 -> 1180 bytes pt_BR.lproj/SUAutomaticUpdateAlert.xib | 145 +-- pt_BR.lproj/SUPasswordPrompt.xib | 597 ++++++++++ pt_BR.lproj/SUStatus.strings | Bin 0 -> 96 bytes pt_BR.lproj/SUUpdateAlert.strings | Bin 0 -> 1646 bytes pt_BR.lproj/SUUpdateAlert.xib | 1126 ++++-------------- pt_BR.lproj/SUUpdatePermissionPrompt.strings | 0 pt_BR.lproj/SUUpdatePermissionPrompt.xib | 252 ++-- pt_BR.lproj/Sparkle.strings | Bin 8642 -> 8330 bytes 11 files changed, 1636 insertions(+), 1092 deletions(-) create mode 100644 pt-BR.lproj/SUPasswordPrompt.xib create mode 100644 pt_BR.lproj/SUAutomaticUpdateAlert.strings create mode 100644 pt_BR.lproj/SUPasswordPrompt.xib create mode 100644 pt_BR.lproj/SUStatus.strings create mode 100644 pt_BR.lproj/SUUpdateAlert.strings create mode 100644 pt_BR.lproj/SUUpdatePermissionPrompt.strings diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 57900f36..afcc5332 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -285,6 +285,7 @@ 61131A050F846CE600E97AF6 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; 61131A090F846D0A00E97AF6 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; 61131A0A0F846D1100E97AF6 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; + 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "pt_BR"; path = "pt_BR.lproj/SUPasswordPrompt.xib"; sourceTree = ""; }; 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; 61180BC80D64138900B4E0D1 /* SUWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUWindowController.h; sourceTree = ""; }; 61180BC90D64138900B4E0D1 /* SUWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUWindowController.m; sourceTree = ""; }; @@ -1323,6 +1324,7 @@ isa = PBXVariantGroup; children = ( 93FB277E156BD826001937C7 /* en */, + 6113C9D315BE1D3600C303E7 /* pt_BR */, ); name = SUPasswordPrompt.xib; sourceTree = ""; diff --git a/pt-BR.lproj/SUPasswordPrompt.xib b/pt-BR.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..2002c8e7 --- /dev/null +++ b/pt-BR.lproj/SUPasswordPrompt.xib @@ -0,0 +1,606 @@ + + + + 1050 + 12A251 + 2488 + 1183 + 622.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2488 + + + YES + NSButton + NSButtonCell + NSCustomObject + NSImageCell + NSImageView + NSSecureTextField + NSSecureTextFieldCell + NSTextField + NSTextFieldCell + NSView + NSWindowTemplate + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + Password + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + NO + + + + 292 + {{106, 51}, {68, 17}} + + + + YES + + 68157504 + 272630784 + Password: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + NO + + + + 289 + {{297, 13}, {83, 32}} + + + YES + + 67108864 + 134217728 + Unlock + + + -2038284288 + 129 + + DQ + 200 + 25 + + NO + + + + 289 + {{215, 13}, {82, 32}} + + + + YES + + 67108864 + 134217728 + Cancel + + + -2038284288 + 129 + + Gw + 200 + 25 + + NO + + + + 266 + {{106, 86}, {271, 17}} + + + + YES + + 67108864 + 272629760 + This update is locked with a password. + + LucidaGrande-Bold + 13 + 16 + + + + + + NO + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + NO + YES + + + {394, 118} + + + + + {{0, 0}, {1440, 878}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + 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 + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/pt_BR.lproj/SUAutomaticUpdateAlert.strings b/pt_BR.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 0000000000000000000000000000000000000000..026b7ef589bbacd81dfa61c7d4a1eff83739feec GIT binary patch literal 1180 zcmchWJx;?w5QSguQ>Kd0et6r6w-_+}G>u?VIh z$gdCecyW>eYdNv@78l)PNzZdgg(oSbbA!MF;h-;b3@E( z{Nhj YyDsAbrl|JD2*vZ2$lO literal 0 HcmV?d00001 diff --git a/pt_BR.lproj/SUAutomaticUpdateAlert.xib b/pt_BR.lproj/SUAutomaticUpdateAlert.xib index 00b22d6a..735cf1d4 100644 --- a/pt_BR.lproj/SUAutomaticUpdateAlert.xib +++ b/pt_BR.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11E53 + 2182 + 1138.47 + 569.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2182 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -48,7 +45,7 @@ 1 2 - {{114, 521}, {597, 152}} + {{114, 521}, {559, 152}} 1886912512 @@ -82,6 +79,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -100,9 +98,10 @@ 270 - {{105, 120}, {475, 17}} + {{105, 120}, {438, 17}} + YES 67239424 @@ -137,9 +136,10 @@ 270 - {{105, 81}, {475, 31}} + {{105, 81}, {438, 31}} + YES 67239424 @@ -158,14 +158,15 @@ 257 - {{413, 12}, {170, 32}} + {{383, 12}, {157, 32}} + YES 67239424 134217728 - Instalar e Recarregar + Instalar e Reiniciar LucidaGrande 13 @@ -184,14 +185,15 @@ 257 - {{269, 12}, {144, 32}} + {{230, 12}, {157, 32}} + YES 67239424 134217728 - Instalar e Fechar + Instalar ao Encerrar -2038284033 @@ -209,6 +211,7 @@ {{102, 12}, {116, 32}} + YES 67239424 @@ -233,11 +236,12 @@ {{105, 58}, {382, 18}} + YES 67239424 131072 - Receber e Instalar atualizações automaticamente da próxima vez + Sempre baixar e instalar atualizações automaticamente 1211912703 @@ -252,11 +256,12 @@ - {597, 152} + {559, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1366, 746}} {511, 174} {10000000000000, 10000000000000} YES @@ -268,6 +273,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -332,45 +369,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -530,17 +537,11 @@ -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -548,35 +549,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 - + YES 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 @@ -586,16 +576,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 717}, {559, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 717}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -626,7 +609,7 @@ installLater: installNow: - + YES id id @@ -641,7 +624,7 @@ installLater: installNow: - + YES doNotInstall: diff --git a/pt_BR.lproj/SUPasswordPrompt.xib b/pt_BR.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..377da881 --- /dev/null +++ b/pt_BR.lproj/SUPasswordPrompt.xib @@ -0,0 +1,597 @@ + + + + 1050 + 11E53 + 2182 + 1138.47 + 569.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSTextField + NSView + NSWindowTemplate + NSSecureTextField + NSTextFieldCell + NSImageView + NSButtonCell + NSImageCell + NSButton + NSSecureTextFieldCell + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + Senha + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + + + + 292 + {{128, 51}, {46, 17}} + + + + YES + + 68157504 + 272630784 + Senha: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 289 + {{321, 13}, {59, 32}} + + + + YES + + 67108864 + 134217728 + OK + + + -2038284288 + 129 + + DQ + 200 + 25 + + + + + 289 + {{229, 13}, {95, 32}} + + + + YES + + 67108864 + 134217728 + Cancelar + + + -2038284288 + 129 + + Gw + 200 + 25 + + + + + 266 + {{99, 79}, {278, 24}} + + + + YES + + 67108864 + 272629760 + Esta atualização encontra-se bloqueada. + + LucidaGrande-Bold + 13 + 16 + + + + + + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + YES + + + {394, 118} + + + + + {{0, 0}, {1366, 746}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + 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 + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/pt_BR.lproj/SUStatus.strings b/pt_BR.lproj/SUStatus.strings new file mode 100644 index 0000000000000000000000000000000000000000..ad32ad706739441536625ae21b96df602ad85d73 GIT binary patch literal 96 zcmezOpFy8Ni$Q_Gk0F>LoFS7Tk0FI2pP?KmqQRgEB&~qhhM@!~Q^JtLkP776f#vdn dA}K(gDOi;j&=f8PB_LE_umxfe%Ni)c1ppVi4MYF{ literal 0 HcmV?d00001 diff --git a/pt_BR.lproj/SUUpdateAlert.strings b/pt_BR.lproj/SUUpdateAlert.strings new file mode 100644 index 0000000000000000000000000000000000000000..bb66fb224a21fe9f3df24db02cedba730e24f191 GIT binary patch literal 1646 zcmchX&rZTX5Qpd7r)WHKQ8dOx;{pFAB%(%8&jm`TQc6k*>g#&&3B0P`?6w38v^6oN zX}X==otf`9yYuzw$hOqPl~WmsCsQ6*j(NA_O4{-ufsCauk<76iVNb9mto0Y`+RP5H z&DkFt`<+bK<6-mDUDwi;NB(-)nsT<-yPwY2$iiV<<}1ssfu9)>Mr8BK_g&t|!X>Ka zmG`2VJ3K|C9d%$e*k zicNj1RP#4%ZFwTb1T{M{OrzaH7!x-z>Xh^C=J=}k%ouN|gWkQE49+kSivo_2rk0eA@?Oi>-O8o-2?Q3KHBCLHZ zp6PZj>wYRUTk2@qA$4AR;n3WKfr&Arf@S?q^~?9X|IaY1Nt=8_$ZXf{LLblrZFRJx aEvsOytNrE!AF7DAM(2>ZF)CSA9Qg)_oCyyA literal 0 HcmV?d00001 diff --git a/pt_BR.lproj/SUUpdateAlert.xib b/pt_BR.lproj/SUUpdateAlert.xib index ef4f4c0f..aadef594 100644 --- a/pt_BR.lproj/SUUpdateAlert.xib +++ b/pt_BR.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10C540 - 759 - 1038.25 - 458.00 + 11E53 + 2182 + 1138.47 + 569.00 YES @@ -13,29 +13,35 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - + YES - 759 - 759 + 2182 + 1117 - + YES - + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES - com.apple.WebKitIBPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin - YES - - YES - - - YES - + PluginDependencyRecalculationVersion + YES @@ -53,12 +59,12 @@ 2 {{248, 463}, {582, 375}} -260571136 - Atualizar Software + Atualização de Software NSWindow View - {3.40282e+38, 3.40282e+38} + {586, 370} @@ -82,6 +88,8 @@ {{20, 291}, {64, 64}} + + YES 130560 @@ -102,6 +110,8 @@ 264 {{102, 338}, {443, 17}} + + YES 67239424 @@ -119,7 +129,7 @@ controlColor 3 - MC42NjY2NjY2ODY1AA + MC42NjY2NjY2NjY3AA @@ -136,13 +146,15 @@ 268 - {{102, 280}, {443, 14}} + {{102, 277}, {443, 17}} + + YES 67239424 272629760 - Notas de Lançamento: + Sobre a atualização: LucidaGrande-Bold 11 @@ -156,13 +168,15 @@ 289 - {{238, 12}, {166, 32}} + {{303, 12}, {109, 32}} + + YES 67239424 134217728 - Lembrar Mais Tarde + Mais Tarde LucidaGrande 13 @@ -181,13 +195,15 @@ 288 - {{55, 12}, {163, 32}} + {{99, 12}, {149, 32}} + + YES 67239424 134217728 - Ignorar Esta Versão + Pular Esta Versão -2038284033 @@ -204,8 +220,10 @@ 289 - {{404, 12}, {164, 32}} + {{408, 12}, {160, 32}} + + YES -2080244224 @@ -229,7 +247,7 @@ YES - 256 + 274 YES @@ -258,6 +276,7 @@ {{-1, 0}, {456, 197}} + @@ -271,7 +290,7 @@ WebKitDefaultFontSize WebKitMinimumFontSize - + YES @@ -285,10 +304,14 @@ {{1, 1}, {455, 197}} + + {{105, 76}, {457, 199}} + + {0, 0} 67239424 @@ -324,6 +347,8 @@ 266 {{102, 302}, {463, 28}} + + YES 67239424 @@ -342,13 +367,15 @@ 256 - {{102, 50}, {442, 16}} + {{102, 48}, {442, 18}} + + YES 67239424 131072 - Receber e Instalar atualizações automaticamente da próxima vez + Sempre baixar e instalar atualizações automaticamente 1211912703 @@ -365,11 +392,14 @@ {582, 375} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1366, 746}} {586, 392} - {3.40282e+38, 3.40282e+38} + {10000000000000, 10000000000000} + YES YES @@ -378,6 +408,70 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + delegate + + + + 50 + value: applicationIcon @@ -410,46 +504,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -470,74 +524,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -579,12 +565,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 @@ -592,7 +622,9 @@ YES 0 - + + YES + @@ -779,18 +811,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -798,42 +827,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 - + YES 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 @@ -841,43 +855,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{347, 240}, {582, 375}} com.apple.InterfaceBuilder.CocoaPlugin {{347, 240}, {582, 375}} - - - {586, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 176 @@ -885,78 +883,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - SUUpdateAlert SUWindowController @@ -968,13 +894,37 @@ remindMeLater: skipThisVersion: - + YES id id id + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + + installUpdate: + id + + + remindMeLater: + id + + + skipThisVersion: + id + + + YES @@ -985,7 +935,7 @@ releaseNotesView versionDisplayer - + YES id NSTextField @@ -994,14 +944,43 @@ id - - - - SUUpdateAlert - SUWindowController + + YES + + YES + delegate + description + installButton + releaseNotesView + versionDisplayer + + + YES + + delegate + id + + + description + NSTextField + + + installButton + NSButton + + + releaseNotesView + WebView + + + versionDisplayer + id + + + - IBUserSource - + IBProjectSource + ./Classes/SUUpdateAlert.h @@ -1009,601 +988,25 @@ NSWindowController IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + ./Classes/SUWindowController.h WebView - NSView - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id + reloadFromOrigin: + id + + + reloadFromOrigin: + + reloadFromOrigin: + id - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/WebView.h @@ -1614,16 +1017,11 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 NSApplicationIcon diff --git a/pt_BR.lproj/SUUpdatePermissionPrompt.strings b/pt_BR.lproj/SUUpdatePermissionPrompt.strings new file mode 100644 index 00000000..e69de29b diff --git a/pt_BR.lproj/SUUpdatePermissionPrompt.xib b/pt_BR.lproj/SUUpdatePermissionPrompt.xib index d5755937..7b47d313 100644 --- a/pt_BR.lproj/SUUpdatePermissionPrompt.xib +++ b/pt_BR.lproj/SUUpdatePermissionPrompt.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11E53 + 2182 + 1138.47 + 569.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2182 YES @@ -34,11 +34,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -73,7 +70,7 @@ 257 - {{224, 12}, {208, 32}} + {{230, 12}, {197, 32}} 1 @@ -81,7 +78,7 @@ -2080244224 134217728 - Verificar Automaticamente + Buscar Automaticamente LucidaGrande 13 @@ -101,14 +98,14 @@ 257 - {{102, 12}, {122, 32}} + {{108, 12}, {111, 32}} YES 67239424 134217728 - Não Verificar + Não Buscar -2038284033 @@ -130,7 +127,7 @@ 67239424 272629760 - Verificar atualizações automaticamente? + Buscar atualizações automaticamente? LucidaGrande-Bold 13 @@ -167,7 +164,7 @@ 67239424 272629760 - DO NOT TRANSLATE + DO NOT LOCALIZE LucidaGrande 11 @@ -265,7 +262,7 @@ - {{0, 0}, {1920, 1178}} + {{0, 0}, {1366, 746}} {213, 129} {10000000000000, 10000000000000} YES @@ -286,7 +283,7 @@ YES - + 266 YES @@ -453,10 +450,10 @@ 67239424 272629760 - QSBpbmZvcm1hw6fDo28gYW7DtG5pbWEgZG8gcGVyZmlsIGRvIHNpc3RlbWEgw6kgdXNhZG8gcGFyYSBh -anVkYXItbm9zIG5vcyBwcsOzeGltb3MgZGVzZW52b2x2aW1lbnRvcy4gUG9yIGZhdm9yIGNvbnRhY3Rl -LW5vcyBzZSB2b2PDqiB0ZW0gcXVhaXNxdWVyIHBlcmd1bnRhcyBzb2JyZSBpc3RvLiAKCkVzdGEgw6kg -YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A + SW5mb3JtYcOnw7VlcyBhbsO0bmltYXMgZG8gc2lzdGVtYSBzw6NvIHV0aWxpemFkYXMgcGFyYSBub3Mg +YWp1ZGFyIGEgcGxhbmVqYXIgbyBkZXNlbnZvbHZpbWVudG8gZnV0dXJvIGRvIGFwbGljYXRpdm8uIENh +c28gdm9jw6ogdGVuaGEgZMO6dmlkYXMgc29icmUgZXNzZSBwcm9jZWRpbWVudG8sIHBvciBmYXZvciBj +b250YXRlLW5vcy4KCkEgc2VndWludGUgaW5mb3JtYcOnw6NvIHNlcmlhIGVudmlhZGE6A @@ -465,6 +462,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A {362, 205} + NSView NSResponder @@ -480,22 +478,6 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A YES - - - contentArray: systemProfileInformationArray - - - - - - contentArray: systemProfileInformationArray - contentArray - systemProfileInformationArray - 2 - - - 25 - window @@ -512,22 +494,6 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 127 - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - toggleMoreInfo: @@ -552,25 +518,53 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 133 + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + - hidden: shouldAskAboutProfile - + contentArray: systemProfileInformationArray + - + - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray 2 - 139 + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 @@ -592,22 +586,6 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 143 - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - value: shouldSendProfile @@ -626,7 +604,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A NSNullPlaceholder NSValidatesImmediately - + YES @@ -639,19 +617,35 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A - value: promptDescription - + value: icon + - + - value: promptDescription + value: icon value - promptDescription + icon 2 - 161 + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 @@ -671,19 +665,23 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A - value: arrangedObjects.displayKey - - + hidden: shouldAskAboutProfile + + - - - value: arrangedObjects.displayKey - value - arrangedObjects.displayKey + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + 2 - 174 + 139 @@ -691,7 +689,9 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A YES 0 - + + YES + @@ -941,11 +941,8 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 13.IBPluginDependency - 13.ImportedFromIB2 14.IBPluginDependency - 14.ImportedFromIB2 176.IBPluginDependency 177.IBPluginDependency 178.IBPluginDependency @@ -959,52 +956,31 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 185.IBPluginDependency 185.IBShouldRemoveOnLegacySave 24.IBPluginDependency - 24.ImportedFromIB2 32.IBPluginDependency - 32.ImportedFromIB2 33.IBPluginDependency - 33.ImportedFromIB2 34.IBPluginDependency - 34.ImportedFromIB2 37.IBPluginDependency - 37.ImportedFromIB2 39.IBPluginDependency - 39.ImportedFromIB2 40.IBPluginDependency - 40.ImportedFromIB2 41.IBPluginDependency - 41.ImportedFromIB2 42.IBPluginDependency - 42.ImportedFromIB2 43.IBPluginDependency - 43.ImportedFromIB2 44.IBPluginDependency - 44.ImportedFromIB2 45.IBPluginDependency - 45.ImportedFromIB2 46.IBPluginDependency - 46.ImportedFromIB2 49.IBPluginDependency - 49.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 71.IBPluginDependency - 71.ImportedFromIB2 - + YES 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 @@ -1018,41 +994,23 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 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 {{312, 678}, {438, 168}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 678}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -1082,7 +1040,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A finishPrompt: toggleMoreInfo: - + YES id id @@ -1095,7 +1053,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A finishPrompt: toggleMoreInfo: - + YES finishPrompt: @@ -1115,7 +1073,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A moreInfoButton moreInfoView - + YES NSTextField NSButton @@ -1130,7 +1088,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A moreInfoButton moreInfoView - + YES descriptionTextField @@ -1180,7 +1138,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/pt_BR.lproj/Sparkle.strings b/pt_BR.lproj/Sparkle.strings index e4d51a18654aa79e886b2446bae9bfa8819dcd36..81db58e5729d37fa155622024da035d99c48dab5 100644 GIT binary patch delta 1079 zcma)5&uddb5T0$D#01jXByE~TllRaF)ud@D_^X$sRq91W5K&LQG^svFlQb_0z14#t zcq;?qLGYyX;6eJXdhsrze}GUth_|8_Z~D!?q_GIChh28Ro%v?=o0<2EPl|6YtI-l! zWYaqKGS$hT3U}00piU;vOT4X4#4TzHj@86&Qw?jGZ1;!C3~W?zU86SKYt+&NE7(1U zb(k;Xt+hvPfuw<36PT^7%9^-Mt9a?avkLoFjXAirIS>^$%`sjF9%2R;z^$w?0@NsFR0x6{%eZQg<>~ylp{y~ zO>(OsqC;Q7ZP0hkJ*T-P;u28J2OC>Q@UrcRy91^w)j4})Gu*?p;9N-D;opA0I~$xC zJaZj#iFl%O8?>G*61b_uT6!-5ces%X6H-_Kwi|~Wo|9b0s^Xo|0-)#(M)bRtI zd3z+Uyg=^Jl|yXLj$Y{679$rAv3(Xvk4V4#Rbw{dV?I%NT5D4e&u}}swQ*p6kinB? zUxNaZK9qX(`alFLV%30p9kRc!mAxwNz^aT|I_Mna$It!2K_L7#mJe7|0<-P@irI=Q zjFu`Yi4wqa$e2-E0YDBS0aisf51Wg8 z(9nMg>u>Z`i3IIP1A>y`QcdsG06T+Nn@WnjK?Pvg+I$kR=a4HXmSQAmm=4oP>muCmxn^v{8x2Ddq*y5 zu`IZV#?rSa7mTimeO?O)DWNY~K_C7cjSsr;+OSS&JT!*(zYyn<&^@nK3*MAA=WBodL%x6D>E#{!fGU;RY+f>0WgdcFKDGT=OBI*C z%ZzzGZ1#Cj)TLE;GN|dPKaZ6>137#*fs?_9x%11G!AR9T^?$b5Mo65aycBEYeA_}~ zOaX0-8JCD}#m$ED5lB*!-*?RNV*9a%3zdV6cm5Y+$Hv2(d5>EA_($whL&a_4cO4(9 z0{pk}$3{r+I)5>)@QcpRe7mcDL@t8#IITU%n Date: Fri, 27 Jul 2012 00:25:35 +0700 Subject: [PATCH 19/23] Add Thai localization --- th.lproj/SUAutomaticUpdateAlert.xib | 674 ++++++++++++++ th.lproj/SUPasswordPrompt.xib | 568 ++++++++++++ th.lproj/SUUpdateAlert.xib | 898 +++++++++++++++++++ th.lproj/SUUpdatePermissionPrompt.xib | 1160 +++++++++++++++++++++++++ th.lproj/Sparkle.strings | Bin 6862 -> 8958 bytes 5 files changed, 3300 insertions(+) create mode 100644 th.lproj/SUAutomaticUpdateAlert.xib create mode 100644 th.lproj/SUPasswordPrompt.xib create mode 100644 th.lproj/SUUpdateAlert.xib create mode 100644 th.lproj/SUUpdatePermissionPrompt.xib diff --git a/th.lproj/SUAutomaticUpdateAlert.xib b/th.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..78325dcf --- /dev/null +++ b/th.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,674 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {616, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 270 + {{105, 120}, {497, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {497, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{435, 12}, {167, 32}} + + + YES + + 67239424 + 134217728 + ติดตั้งและเริ่มใหม่ + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{306, 12}, {129, 32}} + + + + YES + + 67239424 + 134217728 + ติดตั้งเมื่อปิด + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {116, 32}} + + + + YES + + 67239424 + 134217728 + ไม่ติดตั้ง + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {619, 18}} + + + + YES + + 67239424 + 131072 + ดาวน์โหลดและติดตั้งอัพเดทโดยอัตโนมัติในอนาคต + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {616, 152} + + + + + {{0, 0}, {1920, 1178}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Window + + + 6 + + + YES + + + + + + + + + + + + 7 + + + YES + + + + + + 8 + + + YES + + + + + + 9 + + + YES + + + + + + 15 + + + YES + + + + + + 16 + + + YES + + + + + + 17 + + + YES + + + + + + 30 + + + YES + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 30.IBPluginDependency + 38.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + 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 + {{312, 947}, {743, 152}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 44 + + + + YES + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + + doNotInstall: + id + + + installLater: + id + + + installNow: + id + + + + + IBProjectSource + ./Classes/SUAutomaticUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/th.lproj/SUPasswordPrompt.xib b/th.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..7c4a0cdf --- /dev/null +++ b/th.lproj/SUPasswordPrompt.xib @@ -0,0 +1,568 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSTextField + NSView + NSWindowTemplate + NSSecureTextField + NSTextFieldCell + NSImageView + NSButtonCell + NSImageCell + NSButton + NSSecureTextFieldCell + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + รหัสผ่าน + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + + + + 292 + {{106, 51}, {68, 17}} + + + + YES + + 68157504 + 272630784 + รหัสผ่าน: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 289 + {{297, 13}, {83, 32}} + + + YES + + 67108864 + 134217728 + ปลดล็อก + + + -2038284288 + 129 + + DQ + 200 + 25 + + + + + 289 + {{215, 13}, {82, 32}} + + + + YES + + 67108864 + 134217728 + ยกเลิก + + + -2038284288 + 129 + + Gw + 200 + 25 + + + + + 266 + {{106, 86}, {271, 17}} + + + + YES + + 67108864 + 272629760 + อัพเดทนี้ถูกล็อกด้วยรหัสผ่าน + + LucidaGrande-Bold + 13 + 16 + + + + + + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + YES + + + {394, 118} + + + + + {{0, 0}, {1440, 878}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + 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 + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/th.lproj/SUUpdateAlert.xib b/th.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..ca9741a2 --- /dev/null +++ b/th.lproj/SUUpdateAlert.xib @@ -0,0 +1,898 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + 2182 + 1117 + + + + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {575, 370}} + -260571136 + อัพเดทซอฟต์แวร์ + NSWindow + + View + + + {575, 370} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{24, 291}, {64, 64}} + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 266 + {{106, 338}, {452, 17}} + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 280}, {452, 14}} + + YES + + 67239424 + 272629760 + Release Notes: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{280, 12}, {146, 32}} + + YES + + 67239424 + 134217728 + เตือนในภายหลัง + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {165, 32}} + + YES + + 67239424 + 134217728 + ข้ามเวอร์ชั่นนี้ + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{426, 12}, {135, 32}} + + YES + + -2080244224 + 134217728 + ติดตั้งอัพเดท + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + YES + + + 274 + + YES + + + 274 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + + {{-2, -1}, {445, 199}} + + + + + + + + YES + + YES + WebKitDefaultFixedFontSize + WebKitDefaultFontSize + WebKitMinimumFontSize + + + YES + + + + + + + NO + YES + + + {{1, 1}, {443, 197}} + + + + {{110, 76}, {445, 199}} + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {452, 28}} + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 290 + {{106, 50}, {451, 18}} + + YES + + 67239424 + 131072 + ดาวน์โหลดและติดตั้งอัพเดทโดยอัตโนมัติในอนาคต + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {575, 370} + + + {{0, 0}, {1600, 878}} + {575, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Update Alert (release notes) + + + 6 + + + YES + + + + + + + + + + + + + + 7 + + + YES + + + + + + 10 + + + YES + + + + + + 17 + + + YES + + + + + + 22 + + + YES + + + + + + 23 + + + YES + + + + + + 76 + + + YES + + + + + + 89 + + + YES + + + + + + 101 + + + YES + + + + + + 117 + + + YES + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 10.IBPluginDependency + 101.IBPluginDependency + 117.IBPluginDependency + 168.IBPluginDependency + 169.IBPluginDependency + 17.IBPluginDependency + 170.IBPluginDependency + 171.IBPluginDependency + 172.IBPluginDependency + 173.IBPluginDependency + 174.IBPluginDependency + 175.IBPluginDependency + 18.IBPluginDependency + 22.IBPluginDependency + 23.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 76.IBPluginDependency + 89.IBPluginDependency + 93.IBPluginDependency + + + YES + 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.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{643, 222}, {575, 370}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 178 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/th.lproj/SUUpdatePermissionPrompt.xib b/th.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..d993dd74 --- /dev/null +++ b/th.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,1160 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {438, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + YES + + + 257 + {{255, 12}, {169, 32}} + + + 1 + YES + + -2080244224 + 134217728 + ตรวจสอบโดยอัตโนมัติ + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{138, 12}, {117, 32}} + + + YES + + 67239424 + 134217728 + ไม่ต้องตรวจสอบ + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {289, 34}} + + + YES + + 67239424 + 272629760 + ตรวจสอบอัพเดทอัตโนมัติ? + + Thonburi-Bold + 13 + 16 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {315, 42}} + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + YES + + -2080244224 + 163840 + ส่งข้อมูลระบบแบบนิรนาม + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 84}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 265 + {{80, 50}, {27, 26}} + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {438, 168} + + + + {{0, 0}, {1600, 878}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + YES + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + YES + + + 274 + + YES + + + 2304 + + YES + + + 4352 + {353, 128} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + YES + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5ODU2AA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 128}} + + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 130}} + + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 142}, {358, 56}} + + + YES + + 67239424 + 272629760 + 4LiC4LmJ4Lit4Lih4Li54Lil4Lij4Liw4Lia4Lia4LmB4Lia4Lia4LiZ4Li04Lij4LiZ4Liy4Lih4LiK +4LmI4Lin4Lii4LmD4LiZ4LiB4Liy4Lij4Lin4Liy4LiH4LmB4Lic4LiZ4Lie4Lix4LiS4LiZ4Liy4LmB +4Lit4Lib4Lie4Lil4Li04LmA4LiE4LiK4Lix4LiZ4LiC4Lit4LiH4LmA4Lij4Liy4LmD4LiZ4Lit4LiZ +4Liy4LiE4LiVIOC4geC4o+C4uOC4k+C4suC4leC4tOC4lOC4leC5iOC4reC5gOC4o+C4suC4luC5ieC4 +suC4hOC4uOC4k+C4oeC4teC4guC5ieC4reC4quC4h+C4quC4seC4ouC5g+C4meC5gOC4o+C4t+C5iOC4 +reC4h+C4meC4teC5iQoK4LiZ4Li14LmI4LiE4Li34Lit4LiC4LmJ4Lit4Lih4Li54Lil4LiX4Li14LmI +4LiI4Liw4LiW4Li54LiB4Liq4LmI4LiH4LmE4LibOg + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + YES + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + YES + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + YES + + YES + NSNullPlaceholder + NSValidatesImmediately + + + YES + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Profile Info + + + 6 + + + YES + + + + + + + + + + + + 13 + + + YES + + + + + + 14 + + + YES + + + + + + 32 + + + YES + + + + + + 33 + + + YES + + + + + + 34 + + + YES + + + + + + 37 + + + YES + + + + + + 71 + + + YES + + + + + + 24 + + + Array Controller + + + 39 + + + YES + + + + + MoreInfoView + + + 40 + + + YES + + + + + + + + 41 + + + YES + + + + + + + 42 + + + YES + + + + + + 43 + + + + + 44 + + + YES + + + + + + 45 + + + + + 46 + + + YES + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 13.IBPluginDependency + 14.IBPluginDependency + 176.IBPluginDependency + 177.IBPluginDependency + 178.IBPluginDependency + 179.IBPluginDependency + 180.IBPluginDependency + 181.IBPluginDependency + 182.IBPluginDependency + 183.IBPluginDependency + 184.IBPluginDependency + 184.IBShouldRemoveOnLegacySave + 185.IBPluginDependency + 185.IBShouldRemoveOnLegacySave + 24.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 34.IBPluginDependency + 37.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 45.IBPluginDependency + 46.IBPluginDependency + 49.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 71.IBPluginDependency + + + YES + 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 + {{312, 977}, {438, 168}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 185 + + + + YES + + SUUpdatePermissionPrompt + SUWindowController + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + id + id + + + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + + finishPrompt: + id + + + toggleMoreInfo: + id + + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + NSTextField + NSButton + NSView + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + + descriptionTextField + NSTextField + + + moreInfoButton + NSButton + + + moreInfoView + NSView + + + + + IBProjectSource + ./Classes/SUUpdatePermissionPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/th.lproj/Sparkle.strings b/th.lproj/Sparkle.strings index 7b09601d3d00daabb53b44e0962f92e20f18a0d6..c1efcd6c1388a89a8ed6090f98de2e4aba8a7a3f 100644 GIT binary patch literal 8958 zcmdT~YfoE85M4)+NU5}6S`tAjdTr`Dh2BsTqO_{2m`4;)NLnS0s(v)s5G%wWW1#u- zZO@tUWcNNy5+z1L7WRG2-Mc$;X6Eb+|NXn{7G2_=xg&h<;rk6fUDtO*oFBUZuAI4^ z>)=`kS9aZ7eDnSRuJ&=%h0I-CTXf5A+SOd$HQjfvg)4QpGCF$Y+U`W2rhFeq9gKU9 zqeJ|*-;LhJ6~3h>(gVoy9^W{GT;fh~z3Zwt`U~f$c$(60v#OR zU-EUFui^VAKkpYHllrRP@Y6V&g50d!+lGANuKS<;SAIrhrZCP5=UDB#bw`-f5O+CSBBFzPJ&f5E1V6=n9>*G1+$q91&KgEI#o(0Vyc3go3MD( z&y6sY;&@(gaSIqAPFs+B0IZ}V#1c{WftZTFf#-?fRlkVe9iVd#pA@phY6=-1O^r}S zj2XJV#0W&*0;Gt{8s4)4`B;OS{x+^O@%*~~7Cu3&rg(zyNpWu;*H&@$I{c%F_d&SyouT2j38sGS>v1$*P9Ei;sITfpF-vk!y z0{vZyMMN+Waxy{=?R+M7W-Qvplf+_~y+br@L2Hk(_7*Imnxy8oaK-dc7mF<-wrCt; zthqd0X!I;wS?bbv(V98Iysahv_aQMopEoS3e^|thqwx|DQXaK6GT#}+<|;5%)HD%( zPqNz&z(6*B7e{RYr?q!pGwGO2ROa=>7#vVloFUi4=URvX3qaQm{H}_JO%^vth@1NE zFuRb4)z^7nnZ%^#vW7XRmlpjq%+P$j=&{vEx2nf-)R=!#eli*P<5prBHZZI#XNuQV z^Z{GVHHpE7px|SR{+?hyWThgrnPg;IgH6d*8JCp>93k_ENUcnhGSma}ZV$g?yJWXy zn}Na5_I=6m1K}2y`R_vR4~g1jxXL~A`I|gNc@UX$zDi(jfZh}x{GYcijc*Mact>aVmtTNS_LR_C1qNSLmZ7e zb!JVg;SBH|<`8@Lr{v3vYbJ>cJKIgzwF1^VBXNH`)474Hth>?to?7cTVb2;?z#5P3 zM{i0TlO1t}|Cv^~cB>L7V`06G6%$*{92S3=#@Ruiwn zW@fd|3V6Ko#)}z|J$Jb)dQ{43K5RW%-Vx)dY%QkgqL;E3&T3tmw?1~Uzv@}6p=Yqj z=c&AJ!{UK!go@&G@!?SEj?sBhrMbL5XS=?vr%fKY+0}g#M!F+HC? zS7zfU85`?aY~%5xGW(4~&eP1OdKQoRyL$rUXl7=ex}WiM-i<9?fe+_*elHL`xHHw5 z!MU8^6DsG-#M%QokZ8oa+1SE}q*lS za)5DFE6W&hAD?WFps!mlVZI2Ocp-DJu9h(%&WGHKojK0Tx))kw4r6HtqL`5$;thY} z=~Mh_mxd!AA}_STEjai0kCDi``xql=EZ@h784r;}={OUXb-EZ!wlm#=@%eHcOuHsr zdj_3^S?tf7(kZiEgjQ9pqZao?0uQv^&$yh-J_#!27?;&`b{3T9-9lZ3yvI5yT9@Sc zEb1_!{-vGIEFM2!e2;vNBMTGxuJba8CUR+J`Ja}4vcsLUE@@Y}#2;@N4vFsrLZ zw5kS>nU6@JhZrI%t8PSnKru00&dw}aS}Y)%$+9f|gxa9?zm?(HyKD!kk&dy_I-cyC z^9k+OY35~AiCKvH`W?tApW_aS>{=r(Yme&DaU`NX$$+;Vy9~zR%$xJG4;>Yo@x`5| zP}wf}X?guR?kfe2_#NP{BZZ979?A$k_mWG7z6?FLGQ%&&d+06j z)xn%5`p!V@P31bBQNApZSthHb&XNwK7H&o0o}ITDg6@MoG(T3L=3+KGxsUotGN~pz1>L|-wJZ* zf>u6(Mu|18yg%3Ko$7)5oZ_Ku2`r!1T|rAF<|aV-9uI9Jg(cBynrk!@XUBaZRY30P zQn?d(^2>^8eMHJE|EYR|O{_gr>IHBtL4oHYSJZ9SbvAFv{yv9hy}RTxrZ$KXt&yIl zRCGMrL$%HUP^$tPHBT~y-4ab|#d^l@5^SaL>O)|j;~b^C~`Wa;O`H$LWsKv3|7BpafbkT$QykN7absYHDUDG|R z^wiL@h_a2ut7yfNlJStykr^USWeKn0BP+dmrg7GJiF&@}Jr8roj~Yvv!U`oBW827EXy^2NpI}DeQeAR!QbJu zF-2r$PDtCe+W?~#W2n=KkG&)Gb2js(*jm^pUw;SsJPoq|b>3+gvrMOr?p$m8)WiNb zjH!`_KE@(hAL#pgviSh3AoO&ES!zAH(X;;s4;gQGGlPH>>MxR{OU4 z5A)9LBFkd+#?`M`L1GN2q^vgOXuFz|Rhz^gB@2%p_8(vp6%6gB>$(C2A60NLr uZ5Sc`McLz6(G4u43jB_1$J&km2|3lA(DFZ5qjdMy@PyyM_pYC Date: Thu, 26 Jul 2012 19:00:21 -0700 Subject: [PATCH 20/23] Adding Thai localizations to the project. --- Sparkle.xcodeproj/project.pbxproj | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index afcc5332..ec94b870 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -128,6 +128,11 @@ 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; + 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; + 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; @@ -285,7 +290,7 @@ 61131A050F846CE600E97AF6 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; 61131A090F846D0A00E97AF6 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; 61131A0A0F846D1100E97AF6 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; - 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "pt_BR"; path = "pt_BR.lproj/SUPasswordPrompt.xib"; sourceTree = ""; }; + 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_BR; path = pt_BR.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; 61180BC80D64138900B4E0D1 /* SUWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUWindowController.h; sourceTree = ""; }; 61180BC90D64138900B4E0D1 /* SUWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUWindowController.m; sourceTree = ""; }; @@ -380,6 +385,11 @@ 61E31A80103299500051D188 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; 61EF67550E25B58D00F754E0 /* SUHost.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUHost.m; sourceTree = ""; }; 61EF67580E25C5B400F754E0 /* SUHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUHost.h; sourceTree = ""; }; + 61F3AC1215C22D4A00260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; + 61F3AC1415C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 61F3AC1515C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; + 61F3AC1615C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 61F3AC1715C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; @@ -993,6 +1003,11 @@ 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */, + 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */, + 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */, + 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */, + 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */, + 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1212,6 +1227,7 @@ 61DEC11C1477568300931268 /* ro */, 61BA66DA14BDFC5500D02D86 /* sl */, 0263187514FEBB42005EBF43 /* uk */, + 61F3AC1415C22D5900260CA2 /* th */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1242,6 +1258,7 @@ 61DEC11A1477567800931268 /* ro */, 61BA66DB14BDFC5500D02D86 /* sl */, 0263187614FEBB42005EBF43 /* uk */, + 61F3AC1615C22D5900260CA2 /* th */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1272,6 +1289,7 @@ 61DEC1181477566800931268 /* ro */, 61BA66DC14BDFC5500D02D86 /* sl */, 0263187714FEBB42005EBF43 /* uk */, + 61F3AC1715C22D5900260CA2 /* th */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1300,6 +1318,7 @@ 61DEC1161477565C00931268 /* ro */, 61BA66CC14BDFA0400D02D86 /* sl */, 0263187214FEBB31005EBF43 /* uk */, + 61F3AC1215C22D4A00260CA2 /* th */, ); name = Sparkle.strings; sourceTree = ""; @@ -1325,6 +1344,7 @@ children = ( 93FB277E156BD826001937C7 /* en */, 6113C9D315BE1D3600C303E7 /* pt_BR */, + 61F3AC1515C22D5900260CA2 /* th */, ); name = SUPasswordPrompt.xib; sourceTree = ""; From 7a283bfaebc3e0b7f72a88dd727f0b009a5854b4 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 15 Aug 2012 17:56:27 -0700 Subject: [PATCH 21/23] Fixes #133: Sparkle deleting/replacing the wrong executable when it unpacks -[SUHost installationPath] can return different values before and after the installation is performed, because it may attempt to normalize the installation path--but only if the normalized version of the path isn't already present. Which it would be after the installation had completed. Now we only compute the installation path once for the whole installation process. --- SUInstaller.h | 4 ++-- SUInstaller.m | 14 +++++++------- SUPackageInstaller.m | 9 +++++---- SUPlainInstaller.h | 2 +- SUPlainInstaller.m | 12 +++++++----- finish_installation.m | 7 ++++++- 6 files changed, 28 insertions(+), 20 deletions(-) diff --git a/SUInstaller.h b/SUInstaller.h index 6d418995..7ad881b9 100644 --- a/SUInstaller.h +++ b/SUInstaller.h @@ -14,8 +14,8 @@ @class SUHost; @interface SUInstaller : NSObject { } -+ (void) installFromUpdateFolder:(NSString *)updateFolder overHost:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; -+ (void) finishInstallationWithResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate; ++ (void) installFromUpdateFolder:(NSString *)updateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; ++ (void) finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate; + (NSString*) updateFolder; + (void) notifyDelegateOfFailure: (NSDictionary*)dict; @end diff --git a/SUInstaller.m b/SUInstaller.m index 8057fd89..92a013c1 100644 --- a/SUInstaller.m +++ b/SUInstaller.m @@ -43,7 +43,7 @@ static NSString* sUpdateFolder = nil; } -+ (void)installFromUpdateFolder:(NSString *)inUpdateFolder overHost:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator ++ (void)installFromUpdateFolder:(NSString *)inUpdateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator { // Search subdirectories for the application NSString *currentFile, @@ -109,15 +109,15 @@ static NSString* sUpdateFolder = nil; if (newAppDownloadPath == nil) { - [self finishInstallationWithResult:NO host:host error:[NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingUpdateError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find an appropriate update in the downloaded package." forKey:NSLocalizedDescriptionKey]] delegate:delegate]; + [self finishInstallationToPath:installationPath withResult:NO host:host error:[NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingUpdateError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find an appropriate update in the downloaded package." forKey:NSLocalizedDescriptionKey]] delegate:delegate]; } else { - [(isPackage ? [SUPackageInstaller class] : [SUPlainInstaller class]) performInstallationWithPath:newAppDownloadPath host:host delegate:delegate synchronously:synchronously versionComparator:comparator]; + [(isPackage ? [SUPackageInstaller class] : [SUPlainInstaller class]) performInstallationToPath:installationPath fromPath:newAppDownloadPath host:host delegate:delegate synchronously:synchronously versionComparator:comparator]; } } -+ (void)mdimportHost:(SUHost *)host ++ (void)mdimportInstallationPath:(NSString *)installationPath { // *** GETS CALLED ON NON-MAIN THREAD! @@ -125,7 +125,7 @@ static NSString* sUpdateFolder = nil; NSTask *mdimport = [[[NSTask alloc] init] autorelease]; [mdimport setLaunchPath:@"/usr/bin/mdimport"]; - [mdimport setArguments:[NSArray arrayWithObject:[host installationPath]]]; + [mdimport setArguments:[NSArray arrayWithObject:installationPath]]; @try { [mdimport launch]; @@ -143,11 +143,11 @@ static NSString* sUpdateFolder = nil; #define SUNotifyDictErrorKey @"SUNotifyDictError" #define SUNotifyDictDelegateKey @"SUNotifyDictDelegate" -+ (void)finishInstallationWithResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate ++ (void)finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate { if (result) { - [self mdimportHost:host]; + [self mdimportInstallationPath:installationPath]; if ([delegate respondsToSelector:@selector(installerFinishedForHost:)]) [delegate performSelectorOnMainThread: @selector(installerFinishedForHost:) withObject: host waitUntilDone: NO]; } diff --git a/SUPackageInstaller.m b/SUPackageInstaller.m index 0eb24d92..f754231f 100644 --- a/SUPackageInstaller.m +++ b/SUPackageInstaller.m @@ -14,12 +14,13 @@ NSString *SUPackageInstallerCommandKey = @"SUPackageInstallerCommand"; NSString *SUPackageInstallerArgumentsKey = @"SUPackageInstallerArguments"; NSString *SUPackageInstallerHostKey = @"SUPackageInstallerHost"; NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; +NSString *SUPackageInstallerInstallationPathKey = @"SUPackageInstallerInstallationPathKey"; @implementation SUPackageInstaller + (void)finishInstallationWithInfo:(NSDictionary *)info { - [self finishInstallationWithResult:YES host:[info objectForKey:SUPackageInstallerHostKey] error:nil delegate:[info objectForKey:SUPackageInstallerDelegateKey]]; + [self finishInstallationToPath:[info objectForKey:SUPackageInstallerInstallationPathKey] withResult:YES host:[info objectForKey:SUPackageInstallerHostKey] error:nil delegate:[info objectForKey:SUPackageInstallerDelegateKey]]; } + (void)performInstallationWithInfo:(NSDictionary *)info @@ -35,7 +36,7 @@ NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; [pool drain]; } -+ (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator { NSString *command; NSArray *args; @@ -56,11 +57,11 @@ NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; if (![[NSFileManager defaultManager] fileExistsAtPath:command]) { NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingInstallerToolError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find Apple's installer tool!" forKey:NSLocalizedDescriptionKey]]; - [self finishInstallationWithResult:NO host:host error:error delegate:delegate]; + [self finishInstallationToPath:installationPath withResult:NO host:host error:error delegate:delegate]; } else { - NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:command, SUPackageInstallerCommandKey, args, SUPackageInstallerArgumentsKey, host, SUPackageInstallerHostKey, delegate, SUPackageInstallerDelegateKey, nil]; + NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:command, SUPackageInstallerCommandKey, args, SUPackageInstallerArgumentsKey, host, SUPackageInstallerHostKey, delegate, SUPackageInstallerDelegateKey, installationPath, SUPackageInstallerInstallationPathKey, nil]; if (synchronously) [self performInstallationWithInfo:info]; else diff --git a/SUPlainInstaller.h b/SUPlainInstaller.h index 2172e82c..e75f0401 100644 --- a/SUPlainInstaller.h +++ b/SUPlainInstaller.h @@ -20,7 +20,7 @@ @class SUHost; @interface SUPlainInstaller : SUInstaller { } -+ (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; @end #endif diff --git a/SUPlainInstaller.m b/SUPlainInstaller.m index 33d42683..62675c8c 100644 --- a/SUPlainInstaller.m +++ b/SUPlainInstaller.m @@ -18,6 +18,7 @@ static NSString * const SUInstallerHostKey = @"SUInstallerHost"; static NSString * const SUInstallerDelegateKey = @"SUInstallerDelegate"; static NSString * const SUInstallerResultKey = @"SUInstallerResult"; static NSString * const SUInstallerErrorKey = @"SUInstallerError"; +static NSString * const SUInstallerInstallationPathKey = @"SUInstallerInstallationPath"; @implementation SUPlainInstaller @@ -25,7 +26,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; { // *** GETS CALLED ON NON-MAIN THREAD! - [self finishInstallationWithResult:[[info objectForKey:SUInstallerResultKey] boolValue] host:[info objectForKey:SUInstallerHostKey] error:[info objectForKey:SUInstallerErrorKey] delegate:[info objectForKey:SUInstallerDelegateKey]]; + [self finishInstallationToPath:[info objectForKey:SUInstallerInstallationPathKey] withResult:[[info objectForKey:SUInstallerResultKey] boolValue] host:[info objectForKey:SUInstallerHostKey] error:[info objectForKey:SUInstallerErrorKey] delegate:[info objectForKey:SUInstallerDelegateKey]]; } + (void)performInstallationWithInfo:(NSDictionary *)info @@ -37,7 +38,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; NSError *error = nil; NSString * oldPath = [[info objectForKey:SUInstallerHostKey] bundlePath]; - NSString * installationPath = [[info objectForKey:SUInstallerHostKey] installationPath]; + NSString * installationPath = [info objectForKey:SUInstallerInstallationPathKey]; BOOL result = [self copyPathWithAuthentication:[info objectForKey:SUInstallerPathKey] overPath: installationPath temporaryName:[info objectForKey:SUInstallerTempNameKey] error:&error]; if( result ) @@ -49,6 +50,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; } NSMutableDictionary *mutableInfo = [[info mutableCopy] autorelease]; [mutableInfo setObject:[NSNumber numberWithBool:result] forKey:SUInstallerResultKey]; + [mutableInfo setObject:installationPath forKey:SUInstallerInstallationPathKey]; if (!result && error) [mutableInfo setObject:error forKey:SUInstallerErrorKey]; [self performSelectorOnMainThread:@selector(finishInstallationWithInfo:) withObject:mutableInfo waitUntilDone:NO]; @@ -56,7 +58,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; [pool drain]; } -+ (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator { // Prevent malicious downgrades: #if !PERMIT_AUTOMATED_DOWNGRADES @@ -64,14 +66,14 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; { NSString * errorMessage = [NSString stringWithFormat:@"Sparkle Updater: Possible attack in progress! Attempting to \"upgrade\" from %@ to %@. Aborting update.", [host version], [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:@"CFBundleVersion"]]; NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUDowngradeError userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - [self finishInstallationWithResult:NO host:host error:error delegate:delegate]; + [self finishInstallationToPath:installationPath withResult:NO host:host error:error delegate:delegate]; return; } #endif NSString *targetPath = [host installationPath]; NSString *tempName = [self temporaryNameForPath:targetPath]; - NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, SUInstallerPathKey, targetPath, SUInstallerTargetPathKey, tempName, SUInstallerTempNameKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, nil]; + NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, SUInstallerPathKey, targetPath, SUInstallerTargetPathKey, tempName, SUInstallerTempNameKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, installationPath, SUInstallerInstallationPathKey, nil]; if (synchronously) [self performInstallationWithInfo:info]; else diff --git a/finish_installation.m b/finish_installation.m index c0d2cc69..740de4b4 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -19,6 +19,7 @@ pid_t parentprocessid; const char *folderpath; NSString *selfPath; + NSString *installationPath; NSTimer *watchdogTimer; NSTimer *longInstallationTimer; SUHost *host; @@ -69,6 +70,8 @@ [selfPath release]; selfPath = nil; + + [installationPath release]; [watchdogTimer release]; watchdogTimer = nil; @@ -115,7 +118,7 @@ if( !folderpath || strcmp(executablepath, hostpath) != 0 ) appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else - appPath = [host installationPath]; + appPath = installationPath; [[NSWorkspace sharedWorkspace] openFile: appPath]; } @@ -139,6 +142,7 @@ { NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: hostpath length:strlen(hostpath)]]; host = [[SUHost alloc] initWithBundle: theBundle]; + installationPath = [[host installationPath] copy]; // Perhaps a poor assumption but: if we're not relaunching, we assume we shouldn't be showing any UI either. Because non-relaunching installations are kicked off without any user interaction, we shouldn't be interrupting them. if (shouldRelaunch) { @@ -151,6 +155,7 @@ [SUInstaller installFromUpdateFolder: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: folderpath length: strlen(folderpath)] overHost: host + installationPath: installationPath delegate: self synchronously: NO versionComparator: [SUStandardVersionComparator defaultComparator]]; } From d138f64bd6b6a6cc7c20ae7ba683ab81a49e6bd6 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 16 Aug 2012 20:03:45 -0700 Subject: [PATCH 22/23] Fixes #198: Problem with 10.5 Implicitly linking the Obj-C runtime with the 10.7 SDK is causing us to inadvertently reference libblocks symbols, which don't exist prior to 10.6. --- Configurations/ConfigCommon.xcconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index b8e19339..a1c0b540 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -17,6 +17,7 @@ GCC_FAST_OBJC_DISPATCH = YES GCC_ENABLE_PASCAL_STRINGS = NO ARCHS = ppc i386 x86_64 GCC_VERSION = com.apple.compilers.llvm.clang.1_0 +CLANG_LINK_OBJC_RUNTIME = NO // Enable warnings GCC_WARN_CHECK_SWITCH_STATEMENTS = YES From 16cdd6bf643db1098e42ae205e91ab3ef87c62cb Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 12 Sep 2012 22:56:07 -0700 Subject: [PATCH 23/23] Adding Arabic localization, courtesy Muhammad Azmi Al-Hashemi --- Sparkle.xcodeproj/project.pbxproj | 21 + ar.lproj/SUAutomaticUpdateAlert.xib | 616 +++++++++++++ ar.lproj/SUPasswordPrompt.xib | 603 +++++++++++++ ar.lproj/SUUpdateAlert.xib | 1045 ++++++++++++++++++++++ ar.lproj/SUUpdatePermissionPrompt.xib | 1176 +++++++++++++++++++++++++ ar.lproj/Sparkle.strings | Bin 0 -> 8896 bytes 6 files changed, 3461 insertions(+) create mode 100755 ar.lproj/SUAutomaticUpdateAlert.xib create mode 100755 ar.lproj/SUPasswordPrompt.xib create mode 100755 ar.lproj/SUUpdateAlert.xib create mode 100755 ar.lproj/SUUpdatePermissionPrompt.xib create mode 100755 ar.lproj/Sparkle.strings diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index ec94b870..6039eeff 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -80,6 +80,11 @@ 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; + 6149E6F21601ABAC008A351E /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; + 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; + 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */; }; 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */; settings = {ATTRIBUTES = (); }; }; @@ -314,6 +319,11 @@ 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdatePermissionPrompt.h; sourceTree = ""; }; 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdatePermissionPrompt.m; sourceTree = ""; }; 613151B20FB4946A000DCD59 /* is */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; + 6149E6EA1601ABAC008A351E /* ar */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; + 6149E6ED1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 6149E6EE1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; + 6149E6EF1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 6149E6F01601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppReleaseGCSupport.xcconfig; sourceTree = ""; }; 615409C4103BBC4000125AF1 /* cs */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; 6158A1B81378F64700487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; @@ -946,6 +956,7 @@ ro, sl, uk, + ar, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -1008,6 +1019,11 @@ 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */, 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */, 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */, + 6149E6F21601ABAC008A351E /* Sparkle.strings in Resources */, + 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */, + 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */, + 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */, + 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1228,6 +1244,7 @@ 61BA66DA14BDFC5500D02D86 /* sl */, 0263187514FEBB42005EBF43 /* uk */, 61F3AC1415C22D5900260CA2 /* th */, + 6149E6ED1601ABAC008A351E /* ar */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1259,6 +1276,7 @@ 61BA66DB14BDFC5500D02D86 /* sl */, 0263187614FEBB42005EBF43 /* uk */, 61F3AC1615C22D5900260CA2 /* th */, + 6149E6EF1601ABAC008A351E /* ar */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1290,6 +1308,7 @@ 61BA66DC14BDFC5500D02D86 /* sl */, 0263187714FEBB42005EBF43 /* uk */, 61F3AC1715C22D5900260CA2 /* th */, + 6149E6F01601ABAC008A351E /* ar */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1319,6 +1338,7 @@ 61BA66CC14BDFA0400D02D86 /* sl */, 0263187214FEBB31005EBF43 /* uk */, 61F3AC1215C22D4A00260CA2 /* th */, + 6149E6EA1601ABAC008A351E /* ar */, ); name = Sparkle.strings; sourceTree = ""; @@ -1345,6 +1365,7 @@ 93FB277E156BD826001937C7 /* en */, 6113C9D315BE1D3600C303E7 /* pt_BR */, 61F3AC1515C22D5900260CA2 /* th */, + 6149E6EE1601ABAC008A351E /* ar */, ); name = SUPasswordPrompt.xib; sourceTree = ""; diff --git a/ar.lproj/SUAutomaticUpdateAlert.xib b/ar.lproj/SUAutomaticUpdateAlert.xib new file mode 100755 index 00000000..2fa0e31b --- /dev/null +++ b/ar.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,616 @@ + + + + 1050 + 11C74 + 1938 + 1138.23 + 567.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + YES + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {616, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{532, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 270 + {{105, 120}, {497, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{17, 81}, {497, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{14, 12}, {168, 32}} + + + + YES + + 67239424 + 134217728 + تثبيت وإعادة تشغيل التطبيق + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{182, 12}, {146, 32}} + + + + YES + + 67239424 + 134217728 + تثبيت عند إنهاء التطبيق + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{438, 12}, {92, 32}} + + + + YES + + 67239424 + 134217728 + عدم التثبيت + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{-55, 58}, {581, 18}} + + + + YES + + 67239424 + 67239936 + تنزيل التحديثات وتثبيتها تلقائيًا في المستقبل + + + 1210864127 + 2 + + NSSwitch + + + + 200 + 25 + + + + {616, 152} + + + + + {{0, 0}, {1280, 778}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Window + + + 6 + + + YES + + + + + + + + + + + + 7 + + + YES + + + + + + 8 + + + YES + + + + + + 9 + + + YES + + + + + + 15 + + + YES + + + + + + 16 + + + YES + + + + + + 17 + + + YES + + + + + + 30 + + + YES + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 30.IBPluginDependency + 38.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + 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 + {{312, 947}, {743, 152}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 44 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/ar.lproj/SUPasswordPrompt.xib b/ar.lproj/SUPasswordPrompt.xib new file mode 100755 index 00000000..fbd97bcd --- /dev/null +++ b/ar.lproj/SUPasswordPrompt.xib @@ -0,0 +1,603 @@ + + + + 1050 + 12B19 + 2549 + 1187 + 624.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2549 + + + YES + NSButton + NSButtonCell + NSCustomObject + NSImageCell + NSImageView + NSSecureTextField + NSSecureTextFieldCell + NSTextField + NSTextFieldCell + NSView + NSWindowTemplate + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + كلمة السر + NSWindow + + + + + 256 + + YES + + + 290 + {{20, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + NO + + + + 292 + {{220, 51}, {68, 17}} + + + + YES + + 68157504 + 71304192 + كلمة السر: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + NO + + + + 289 + {{14, 13}, {83, 32}} + + + + YES + + 67108864 + 134217728 + فتح القفل + + + -2038284288 + 129 + + DQ + 200 + 25 + + NO + + + + 289 + {{97, 13}, {82, 32}} + + + + YES + + 67108864 + 134217728 + إلغاء + + + -2038284288 + 129 + + Gw + 200 + 25 + + NO + + + + 266 + {{17, 86}, {271, 17}} + + + + YES + + 67108864 + 71303168 + هذا التحديث مقفول بكلمة سر. + + LucidaGrande-Bold + 13 + 16 + + + + + + NO + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{310, 39}, {64, 64}} + + + + YES + + 134217728 + 33554432 + 0 + 0 + 0 + NO + + NO + YES + + + {394, 118} + + + + + {{0, 0}, {1280, 778}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + 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 + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/ar.lproj/SUUpdateAlert.xib b/ar.lproj/SUUpdateAlert.xib new file mode 100755 index 00000000..34d98d21 --- /dev/null +++ b/ar.lproj/SUUpdateAlert.xib @@ -0,0 +1,1045 @@ + + + + 1050 + 12B19 + 2488 + 1187 + 624.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + 2488 + 1445 + + + + YES + NSBox + NSButton + NSButtonCell + NSCustomObject + NSImageCell + NSImageView + NSTextField + NSTextFieldCell + NSUserDefaultsController + NSView + NSWindowTemplate + WebView + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{382, 217}, {575, 370}} + -260571136 + محدث البرنامج + NSWindow + + View + + + {575, 370} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{491, 291}, {64, 64}} + + + + YES + + 134217728 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + NO + YES + + + + 266 + {{106, 338}, {452, 17}} + + + + YES + + 67108864 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + NO + + + + 268 + {{21, 280}, {452, 14}} + + + + YES + + 67108864 + 71303168 + معلومات عن الإصدار: + + LucidaGrande-Bold + 11 + 3357 + + + + + + NO + + + + 289 + {{123, 12}, {100, 32}} + + + + YES + + 67108864 + 134217728 + تذكيري لاحقًا + + LucidaGrande + 13 + 1044 + + + -2038284288 + 1 + + + Gw + 200 + 25 + + NO + + + + 288 + {{346, 12}, {130, 32}} + + + + YES + + 67108864 + 134217728 + تخطي هذا الإصدار + + + -2038284288 + 1 + + + + + + 200 + 25 + + NO + + + + 289 + {{19, 12}, {104, 32}} + + + + YES + + -2080374784 + 134217728 + تثبيت التحديث + + + -2038284288 + 1 + + + DQ + 200 + 25 + + NO + + + + 274 + + YES + + + 274 + + YES + + + 274 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + + {{-2, -1}, {445, 199}} + + + + + + + + + YES + + YES + WebKitDefaultFixedFontSize + WebKitDefaultFontSize + WebKitMinimumFontSize + + + YES + + + + + + + NO + YES + + + {{1, 1}, {443, 197}} + + + + + + {{25, 76}, {445, 199}} + + + + {0, 0} + + 67108864 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{21, 302}, {452, 28}} + + + + YES + + 67108864 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + NO + + + + 290 + {{21, 50}, {451, 18}} + + + + YES + + 67108864 + 67239936 + تنزيل التحديثات وتثبيتها تلقائيًا في المستقبل + + + 1210863872 + 2 + + NSSwitch + + + + 200 + 25 + + NO + + + {575, 370} + + + + + {{0, 0}, {1280, 778}} + {575, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Update Alert (release notes) + + + 6 + + + YES + + + + + + + + + + + + + + 7 + + + YES + + + + + + 10 + + + YES + + + + + + 17 + + + YES + + + + + + 22 + + + YES + + + + + + 23 + + + YES + + + + + + 76 + + + YES + + + + + + 89 + + + YES + + + + + + 101 + + + YES + + + + + + 117 + + + YES + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 10.IBPluginDependency + 101.IBPluginDependency + 117.IBPluginDependency + 168.IBPluginDependency + 169.IBPluginDependency + 17.IBPluginDependency + 170.IBPluginDependency + 171.IBPluginDependency + 172.IBPluginDependency + 173.IBPluginDependency + 174.IBPluginDependency + 175.IBPluginDependency + 18.IBPluginDependency + 22.IBPluginDependency + 23.IBPluginDependency + 5.IBNSWindowAutoPositionCentersHorizontal + 5.IBNSWindowAutoPositionCentersVertical + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 76.IBPluginDependency + 89.IBPluginDependency + 93.IBPluginDependency + + + YES + 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.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + com.apple.InterfaceBuilder.CocoaPlugin + {{643, 222}, {575, 370}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 178 + + + + YES + + SUUpdateAlert + SUWindowController + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + id + id + id + + + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + + installUpdate: + id + + + remindMeLater: + id + + + skipThisVersion: + id + + + + + YES + + YES + description + installButton + laterButton + releaseNotesView + skipButton + + + YES + NSTextField + NSButton + NSButton + WebView + NSButton + + + + YES + + YES + description + installButton + laterButton + releaseNotesView + skipButton + + + YES + + description + NSTextField + + + installButton + NSButton + + + laterButton + NSButton + + + releaseNotesView + WebView + + + skipButton + NSButton + + + + + IBProjectSource + ./Classes/SUUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/ar.lproj/SUUpdatePermissionPrompt.xib b/ar.lproj/SUUpdatePermissionPrompt.xib new file mode 100755 index 00000000..279b2b20 --- /dev/null +++ b/ar.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,1176 @@ + + + + 1050 + 12B19 + 2549 + 1187 + 624.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2549 + + + YES + NSArrayController + NSButton + NSButtonCell + NSCustomObject + NSCustomView + NSImageCell + NSImageView + NSScrollView + NSScroller + NSTableColumn + NSTableView + NSTextField + NSTextFieldCell + NSUserDefaultsController + NSView + NSWindowTemplate + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {438, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + YES + + + 257 + {{109, 12}, {102, 32}} + + + + 1 + YES + + -2080374784 + 134217728 + التحقق تلقائيًا + + GeezaPro + 13 + 16 + + + 1 + -2038284288 + 1 + + LucidaGrande + 13 + 1044 + + + DQ + 200 + 25 + + NO + + + + 257 + {{17, 12}, {92, 32}} + + + + YES + + 67108864 + 134217728 + عدم التحقق + + + -2038284288 + 1 + + + Gw + 200 + 25 + + NO + + + + 264 + {{48, 114}, {289, 34}} + + + + YES + + 67108864 + 71303168 + هل تريد أن يتم التحقق من وجود تحديثات تلقائيًا؟ + + GeezaPro-Bold + 13 + 16 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + NO + + + + 266 + {{20, 81}, {317, 42}} + + + + YES + + 67108864 + 71303168 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + NO + + + + 264 + {{58, 53}, {278, 18}} + + + + YES + + -2080374784 + 67272704 + تضمين تقرير عن النظام دون ذكر معلومات عن المستخدم + + + 1210863872 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + NO + + + + 264 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{354, 84}, {64, 64}} + + + + YES + + 134217728 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + NO + YES + + + + 265 + {{333, 50}, {27, 26}} + + + + YES + + 67108864 + 134250624 + + + + -1194573824 + 133 + + + 200 + 25 + + NO + + + {438, 168} + + + + + {{0, 0}, {1280, 778}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + YES + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + YES + + + 274 + + YES + + + 2304 + + YES + + + 4352 + {353, 113} + + YES + NO + YES + + + 256 + {{346, 0}, {12, 17}} + + + YES + + 128 + 40 + 1000 + + 75497536 + 2048 + + + + 3 + MC4zMzMzMzI5ODU2AA + + + 6 + System + headerTextColor + + + + + 69206017 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75497536 + 2048 + + + + + + + 69206017 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 113}} + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + NO + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + NO + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 115}} + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + 0.25 + 4 + 1 + + + + 266 + {{1, 128}, {358, 70}} + + YES + + 67108864 + 272629760 + QW5vbnltb3VzIHN5c3RlbSBwcm9maWxlIGluZm9ybWF0aW9uIGlzIHVzZWQgdG8gaGVscCB1cyBwbGFu +IGZ1dHVyZSBkZXZlbG9wbWVudCB3b3JrLiBQbGVhc2UgY29udGFjdCB1cyBpZiB5b3UgaGF2ZSBhbnkg +cXVlc3Rpb25zIGFib3V0IHRoaXMuCgpUaGlzIGlzIHRoZSBpbmZvcm1hdGlvbiB0aGF0IHdvdWxkIGJl +IHNlbnQ6A + + + + + + NO + + + {362, 205} + NSView + NSResponder + + + + YES + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + YES + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + YES + + YES + NSNullPlaceholder + NSValidatesImmediately + + + YES + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Profile Info + + + 6 + + + YES + + + + + + + + + + + + 13 + + + YES + + + + + + 14 + + + YES + + + + + + 32 + + + YES + + + + + + 33 + + + YES + + + + + + 34 + + + YES + + + + + + 37 + + + YES + + + + + + 71 + + + YES + + + + + + 24 + + + Array Controller + + + 39 + + + YES + + + + + MoreInfoView + + + 40 + + + YES + + + + + + + + 41 + + + YES + + + + + + + 42 + + + YES + + + + + + 43 + + + + + 44 + + + YES + + + + + + 45 + + + + + 46 + + + YES + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 13.IBPluginDependency + 14.IBPluginDependency + 176.IBPluginDependency + 177.IBPluginDependency + 178.IBPluginDependency + 179.IBPluginDependency + 180.IBPluginDependency + 181.IBPluginDependency + 182.IBPluginDependency + 183.IBPluginDependency + 184.IBPluginDependency + 184.IBShouldRemoveOnLegacySave + 185.IBPluginDependency + 185.IBShouldRemoveOnLegacySave + 24.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 34.IBPluginDependency + 37.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 45.IBPluginDependency + 46.IBPluginDependency + 49.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 71.IBPluginDependency + + + YES + 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 + {{312, 977}, {438, 168}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 185 + + + + YES + + SUUpdatePermissionPrompt + SUWindowController + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + id + id + + + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + + finishPrompt: + id + + + toggleMoreInfo: + id + + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + NSTextField + NSButton + NSView + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + + descriptionTextField + NSTextField + + + moreInfoButton + NSButton + + + moreInfoView + NSView + + + + + IBProjectSource + ./Classes/SUUpdatePermissionPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/ar.lproj/Sparkle.strings b/ar.lproj/Sparkle.strings new file mode 100755 index 0000000000000000000000000000000000000000..858a71fae820a04fe9b7cebaeef3d0524600561a GIT binary patch literal 8896 zcmds->u*y>5XJY?N=5x2aFPZG6UR+}R!~*oByLQ26)39u(RpGKoXAN?`RCi7-;O7H zuOBfWj6`L{zW46q?#`S&b9OfW{?iDxPzle%vA%cp{Z60#&a6HlEi}TlFdr7fYWN{M)RV=qHn@5dI^i_6rhZRXd+PT>S4aBo zT=w446W-EIwfm||8E-sOy-GOO^ZhWVt3P#ruGZB4kghAb>xQ=~_u7o_R4qFyInvW^ znv=hS-j7svu3Ed{jmq=Ld+PBbJkV?^;aC05hgxh!%`yHK*Wz~E)OD_%=h=>1v8}S@ zSk={z%GT`g32`WqDA6&)@6%Nd5tjMekC7FJa`ZuDUAk2#wS^ zRzLIy!j3hjGnF!0yuYWiuKL_hXnm@3u8V#&j2W8fr>P!J)Ykf-FUAIr4|E0g!2YuC zN3mpB%X2(S7NH*X9fN0T$xIo4NB#FSwv0KDQwiI`%!WLR=QAb>=!-w5dUxV;;o?O? zRx8zSr}~DOm4sV*0g>xMUNz1oJT-Oqvz~9nyTa~jdPezOJzGd#buQ=2JLEkD~P9eP~TS1_fly__*QDgsJGN_ zRd%R^TWKZMb=OYsq1T2!kM#uW%?ka-XnY$x?FyOww2hPayJpe*W<&qLO+J#hogvd{3w5eyX}OZQTyH=L@8S}#mqG4Uvlv6v$eRzl`tMUi& z+wNNG&!Qo*9@S7+RGn=+Y|38Ktd9!pChLvrefNS#%%V3w-|BE38j0xWc3;pP+5u}7 z_51(Dvisrhgzk>84{i*7Y+8H2Z$_7g=;wP$N$ z))(T4XKAN1o@ZybkN8yH9Nt+v23<+9o7_<>BU|HZev;z3NNmhr*mmusddJifd_r&R ztciJ^U+L>Tu)e>$9PK8v!?f%LNM4ku*sUyF#>k?^!gE=H+)hf~qG{gu*lwq(GLMS3 zm!&Ox%!cqleB{2CYS})MC`+rY^nRaPS+%%jnZNJsO>>YBBkMs{z%yX$1r@NQUQv$a z{=QtcZ9{8`{1v&ZtUa*ieZ6_^tGu@oUKg~~xKX&(J%2GfYmj%^RTj|K37HzSVUb%- z#VLI9NVkQq)l1}{x7PJ>Mc-CwJ1P9E#87G8OHtqdA%9p7lDreEmo;@fSW)CKE$`G9 zzmfaA&=W_OMVd2>6*RG0$%aw~Mdaw(Oiyy=)Mr|pp^wb>U3q?!6_B_2y0dAGRWBbm zmvO2iduZHz+|r}#m~1vVxN+-wD->5WxmVT}S=-sJ?ML!|Rv$TQ_%f~boVm_8&bzLw zvc|@MzDq5y#o6PxJge#GCF&RPJ4p|Hn!jNP*55dPKQ8%uL;glZO!D_+Oc6aNVd`n= z9jz&tdLAB&0W8jwrS6p&fzphDmd09@>Run>{#W7|_Nm4$jO|pPoH-}5+j-An;w?(c zEChF1tQp(ilG;0xyH867_Z zVBB^JME--3+36E&irTiy`pG&cy0?=6YhfI1Cr_wWFU695^=npXsK*0+%8`Z>HIGO{ zootC$X$*dX<*I}6pyfD)V`P4MVcF%}mz_Y2#0MX)L~!O#PueQI2h`8%`sv2Xy0&fo}A%&Tel|R8bm%&}Ese zVs7rL?1tOG&JD{e<;y9~JWA*8a*j7g;BooSYGGbg;c=LU^2uT5RWfg2J!2Onk5_ii zlFk5N7!~HMlk$_G-eVtzGB=(j z|7h#D$UoQ+{ro80)URtiU&F(r&!;3l;;T=Za*o?q=e+WReiAb2Bx!mU`|4OyoZq+a z&$3Ud2~FnrdSdFjVjNt}|0QGwyxPj;wb>LdXiqdT*0+-|?pPlg>+`}%Q4{jMqACFO z#30TdEh1Y_oS2h!;r}?wm?e5y?%WVH98<1^@6t|$QsN5HlHP_-oO~Rn7^rRaUWb?A pNh$I@(b(7-fqPEjS)H!ke8194r`7pP#h9%rHohyC-Yo3A{sWd#6!QQ8 literal 0 HcmV?d00001