From c2745f5944928f9d076fc53c6b4bcc8c40a93ff3 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sun, 15 Jun 2008 17:52:42 -0700 Subject: [PATCH 01/29] Fixes #236948: Sparkle no longer fails to close the "checking for updates" progress window when an appcast fails to load. --- SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index 998a1101..ce979813 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -70,7 +70,7 @@ [statusController setMaxProgressValue:[response expectedContentLength]]; } -- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(unsigned)length +- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(NSUInteger)length { [statusController setProgressValue:[statusController progressValue] + length]; [statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ of %@", nil), [NSNumber humanReadableSizeFromDouble:[statusController progressValue]], [NSNumber humanReadableSizeFromDouble:[statusController maxProgressValue]]]]; From 269a648d24c7ac2960e892010c095e84bdfee156 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sun, 15 Jun 2008 17:53:51 -0700 Subject: [PATCH 02/29] Fixes a compile warning; using NSUInteger in place of unsigned. --- SUUserInitiatedUpdateDriver.m | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/SUUserInitiatedUpdateDriver.m b/SUUserInitiatedUpdateDriver.m index b9520cb9..38929b85 100644 --- a/SUUserInitiatedUpdateDriver.m +++ b/SUUserInitiatedUpdateDriver.m @@ -21,6 +21,18 @@ [checkingController showWindow:self]; } +- (void)closeCheckingWindow +{ + [[checkingController window] close]; + [checkingController release]; +} + +- (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error +{ + [self closeCheckingWindow]; + [super appcast:ac failedToLoadWithError:error]; +} + - (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui { // We don't check to see if this update's been skipped, because the user explicitly *asked* if he had the latest version. @@ -29,15 +41,13 @@ - (void)didNotFindUpdate { - [[checkingController window] close]; - [checkingController release]; + [self closeCheckingWindow]; [super didNotFindUpdate]; } - (void)didFindValidUpdate { - [[checkingController window] close]; - [checkingController release]; + [self closeCheckingWindow]; [super didFindValidUpdate]; } From 4a26774818b785770673c2e7e7481fb5ae93affd Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sun, 15 Jun 2008 22:23:31 -0700 Subject: [PATCH 03/29] Fixes 240274 Sparkle no longer crashes when the appcast contains an enclosure with no URL (or if there's any other exception in appcast parsing). --- SUAppcast.m | 14 ++++++-------- Sparkle.xcodeproj/project.pbxproj | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/SUAppcast.m b/SUAppcast.m index fdd14df4..990b3df7 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -35,25 +35,23 @@ - (void)feedDidFinishLoading:(RSS *)feed { // Set up all the appcast items: - items = [NSMutableArray array]; + NSArray *tempItems = [NSMutableArray array]; id enumerator = [[feed newsItems] objectEnumerator], current; @try { while ((current = [enumerator nextObject])) { - [(NSMutableArray *)items addObject:[[[SUAppcastItem alloc] initWithDictionary:current] autorelease]]; + [(NSMutableArray *)tempItems addObject:[[[SUAppcastItem alloc] initWithDictionary:current] autorelease]]; } + items = [[NSArray arrayWithArray:tempItems] retain]; // Make the items list immutable. + + if ([delegate respondsToSelector:@selector(appcastDidFinishLoading:)]) + [delegate performSelectorOnMainThread:@selector(appcastDidFinishLoading:) withObject:self waitUntilDone:NO]; } @catch (NSException *parseException) { [self reportError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while parsing the update feed.", nil), NSLocalizedDescriptionKey, [parseException reason], SUTechnicalErrorInformationKey, nil]]]; - return; } - items = [[NSArray arrayWithArray:items] retain]; // Make the items list immutable. - - if ([delegate respondsToSelector:@selector(appcastDidFinishLoading:)]) - [delegate performSelectorOnMainThread:@selector(appcastDidFinishLoading:) withObject:self waitUntilDone:NO]; - CFRelease(feed); } diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 2c9d6572..22c13285 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1001,6 +1001,7 @@ 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { isa = XCBuildConfiguration; buildSettings = { + GCC_VERSION = ""; }; name = "Release (GC dual-mode; 10.5-only)"; }; From 06bda29f7a5751021ca552594154a1611aa3c524 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 16 Jun 2008 22:03:09 -0700 Subject: [PATCH 04/29] Sparkle no longer fails the update if it can't trash the old version of the app. This at least lets Sparkle work on Snow Leopard, though it leaves the old version around. --- NSFileManager+Authentication.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/NSFileManager+Authentication.m b/NSFileManager+Authentication.m index 2c5d784b..59f36723 100644 --- a/NSFileManager+Authentication.m +++ b/NSFileManager+Authentication.m @@ -229,11 +229,7 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza // Trash the old copy of the app. NSInteger tag = 0; if (![[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[tmpPath stringByDeletingLastPathComponent] destination:@"" files:[NSArray arrayWithObject:[tmpPath lastPathComponent]] tag:&tag]) - { - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"Couldn't move %@ to the trash. This is often a sign of a permissions error.", src, dst] forKey:NSLocalizedDescriptionKey]]; - return NO; - } + NSLog(@"Sparkle error: couldn't move %@ to the trash. This is often a sign of a permissions error.", src, dst); // If the currently-running application is trusted, the new // version should be trusted as well. Remove it from the From 1bd6c135938d338f0a5c5e1d54e833e5cb89ba9d Mon Sep 17 00:00:00 2001 From: Brian Webster Date: Tue, 17 Jun 2008 17:36:30 -0400 Subject: [PATCH 05/29] Modified objectForKey: so it falls back to NSUserDefaults if CFPreferencesCopyAppValue() doesn't return a value This catches values that are registered using registerDefaults: on Tiger, which CFPreferencesCopyAppValue() doesn't do --- SUUserDefaults.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SUUserDefaults.m b/SUUserDefaults.m index 990e8301..3c88af9a 100644 --- a/SUUserDefaults.m +++ b/SUUserDefaults.m @@ -41,6 +41,12 @@ { [self verifyIdentifier]; CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)identifier); + //Under Tiger, CFPreferencesCopyAppValue doesn't get values from NSRegistratioDomain, so anything + //passed into -[NSUserDefaults registerDefaults:] is ignored. The following line falls + //back to using NSUserDefaults, but only if the host bundle is the main bundle, and no value + //is found elsewhere + if (obj == NULL && [identifier isEqualToString:[[NSBundle mainBundle] bundleIdentifier]]) + obj = [[NSUserDefaults standardUserDefaults] objectForKey:defaultName]; #if MAC_OS_X_VERSION_MIN_REQUIRED > 1050 return [NSMakeCollectable(obj) autorelease]; #else From 7576ba7e3833971a41d709947e2c2a449ccf7492 Mon Sep 17 00:00:00 2001 From: Brian Webster Date: Tue, 17 Jun 2008 17:48:33 -0400 Subject: [PATCH 06/29] Added NSURLConnection delegate method to handle redirects correctly under Tiger --- RSS.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RSS.m b/RSS.m index ea4efa0e..20fb2a33 100644 --- a/RSS.m +++ b/RSS.m @@ -184,6 +184,11 @@ NSComparisonResult compareNewsItems(id item1, id item2, void *context) [delegate feed:self didFailWithError:error]; } +- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse +{ + return request; +} + - (NSDictionary *) headerItems { return (headerItems); From 93ea93dd389a2ded97f2a38a62643e956197cccc Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 18 Jun 2008 22:53:16 -0700 Subject: [PATCH 07/29] Fixes 236695 Refactored Sparkle's unarchiving system into SUUnarchiver, a factory for SUPipedUnarchiver and SUDiskImageUnarchiver. I removed that nasty cleanUp call by now copying out the contents of the DMG into the /tmp directory and unmounting. Nice! This changed a fair amount so please test with your build and let me know if it explodes things. Works in my tests, though. --- SUAutomaticUpdateDriver.m | 1 - SUBasicUpdateDriver.m | 6 +- SUDiskImageUnarchiver.h | 20 ++++ SUDiskImageUnarchiver.m | 79 +++++++++++++ SUPipedUnarchiver.h | 21 ++++ SUPipedUnarchiver.m | 111 +++++++++++++++++++ SUUnarchiver.h | 7 +- SUUnarchiver.m | 177 ++---------------------------- SUUnarchiver_Private.h | 30 +++++ SUUnarchiver_Private.m | 81 ++++++++++++++ Sparkle.h | 1 + Sparkle.xcodeproj/project.pbxproj | 26 ++++- 12 files changed, 387 insertions(+), 173 deletions(-) create mode 100644 SUDiskImageUnarchiver.h create mode 100644 SUDiskImageUnarchiver.m create mode 100644 SUPipedUnarchiver.h create mode 100644 SUPipedUnarchiver.m create mode 100644 SUUnarchiver_Private.h create mode 100644 SUUnarchiver_Private.m diff --git a/SUAutomaticUpdateDriver.m b/SUAutomaticUpdateDriver.m index 66cae631..dfd01dfe 100644 --- a/SUAutomaticUpdateDriver.m +++ b/SUAutomaticUpdateDriver.m @@ -62,7 +62,6 @@ - (void)installerFinishedForHostBundle:(NSBundle *)hb { if (hb != hostBundle) { return; } - [unarchiver cleanUp]; if (!postponingInstallation) [self relaunchHostApp]; } diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 2d5ceee4..9f01a8f2 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -162,9 +162,10 @@ } } - unarchiver = [[SUUnarchiver alloc] init]; + unarchiver = [[SUUnarchiver unarchiverForURL:[[[NSURL alloc] initFileURLWithPath:downloadPath] autorelease]] retain]; +#warning check for nonexistant unarchiver [unarchiver setDelegate:self]; - [unarchiver unarchivePath:downloadPath]; + [unarchiver start]; } - (void)unarchiverDidFinish:(SUUnarchiver *)ua @@ -197,7 +198,6 @@ - (void)installerFinishedForHostBundle:(NSBundle *)hb { if (hb != hostBundle) { return; } - [unarchiver cleanUp]; [self relaunchHostApp]; } diff --git a/SUDiskImageUnarchiver.h b/SUDiskImageUnarchiver.h new file mode 100644 index 00000000..44c71504 --- /dev/null +++ b/SUDiskImageUnarchiver.h @@ -0,0 +1,20 @@ +// +// SUDiskImageUnarchiver.h +// Sparkle +// +// Created by Andy Matuschak on 6/16/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUDISKIMAGEUNARCHIVER_H +#define SUDISKIMAGEUNARCHIVER_H + +#import +#import "SUUnarchiver.h" + +@interface SUDiskImageUnarchiver : SUUnarchiver { +} + +@end + +#endif diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m new file mode 100644 index 00000000..1d8b2347 --- /dev/null +++ b/SUDiskImageUnarchiver.m @@ -0,0 +1,79 @@ +// +// SUDiskImageUnarchiver.m +// Sparkle +// +// Created by Andy Matuschak on 6/16/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUDiskImageUnarchiver.h" +#import "SUUnarchiver_Private.h" +#import "NTSynchronousTask.h" + +@implementation SUDiskImageUnarchiver + ++ (BOOL)_canUnarchiveURL:(NSURL *)URL +{ + return [URL conformsToType:@"public.disk-image"]; +} + +- (void)start +{ + [NSThread detachNewThreadSelector:@selector(_extractDMG) toTarget:self withObject:nil]; +} + +- (void)_extractDMG +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + NSString *archivePath = [archiveURL path]; + BOOL mountedSuccessfully = NO; + + // get a unique mount point path + NSString *mountPrefix = [@"/Volumes" stringByAppendingPathComponent:[[archivePath lastPathComponent] stringByDeletingPathExtension]]; + NSString *mountPoint = [mountPrefix stringByAppendingString:[[NSProcessInfo processInfo] globallyUniqueString]]; + + if ([[NSFileManager defaultManager] fileExistsAtPath:mountPoint]) goto reportError; + + // create mount point folder + [[NSFileManager defaultManager] createDirectoryAtPath:mountPoint attributes:nil]; + if (![[NSFileManager defaultManager] fileExistsAtPath:mountPoint]) goto reportError; + + 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]; + + NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:yesData]; + if (!result) goto reportError; + mountedSuccessfully = YES; + + // Now that we've mounted it, we need to copy out its contents. + NSString *targetPath = [[archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:[mountPoint lastPathComponent]]; + if (![[NSFileManager defaultManager] createDirectoryAtPath:targetPath attributes:nil]) goto reportError; + + // We can't just copyPath: from the volume root because that always fails. Seems to be a bug. + id subpathEnumerator = [[[NSFileManager defaultManager] directoryContentsAtPath:mountPoint] objectEnumerator], currentSubpath; + while ((currentSubpath = [subpathEnumerator nextObject])) + { + if (![[NSFileManager defaultManager] copyPath:[mountPoint stringByAppendingPathComponent:currentSubpath] toPath:[targetPath stringByAppendingPathComponent:currentSubpath] handler:nil]) + goto reportError; + } + + [self performSelectorOnMainThread:@selector(_notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; + goto finally; + +reportError: + [self performSelectorOnMainThread:@selector(_notifyDelegateOfFailure) withObject:nil waitUntilDone:NO]; + +finally: + if (mountedSuccessfully) + [NSTask launchedTaskWithLaunchPath:@"/usr/bin/hdiutil" arguments:[NSArray arrayWithObjects:@"detach", mountPoint, @"-force", nil]]; + [pool drain]; +} + ++ (void)load +{ + [self _registerImplementation:self]; +} + +@end diff --git a/SUPipedUnarchiver.h b/SUPipedUnarchiver.h new file mode 100644 index 00000000..b13a0b3a --- /dev/null +++ b/SUPipedUnarchiver.h @@ -0,0 +1,21 @@ +// +// SUPipedUnarchiver.h +// Sparkle +// +// Created by Andy Matuschak on 6/16/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUPIPEDUNARCHIVER_H +#define SUPIPEDUNARCHIVER_H + +#import +#import "SUUnarchiver.h" + +@interface SUPipedUnarchiver : SUUnarchiver { + +} + +@end + +#endif diff --git a/SUPipedUnarchiver.m b/SUPipedUnarchiver.m new file mode 100644 index 00000000..1be68a11 --- /dev/null +++ b/SUPipedUnarchiver.m @@ -0,0 +1,111 @@ +// +// SUPipedUnarchiver.m +// Sparkle +// +// Created by Andy Matuschak on 6/16/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUPipedUnarchiver.h" +#import "SUUnarchiver_Private.h" + +@implementation SUPipedUnarchiver + ++ (SEL)_selectorConformingToTypeOfURL:(NSURL *)URL +{ + static NSDictionary *typeSelectorDictionary; + if (!typeSelectorDictionary) + typeSelectorDictionary = [[NSDictionary dictionaryWithObjectsAndKeys:@"_extractZIP", @"public.zip-archive", @"_extractTGZ", @"org.gnu.gnu-zip-tar-archive", @"_extractTBZ", @"org.bzip.bzip2-tar-archive", @"_extractTAR", @"public.tar-archive", nil] retain]; + + NSEnumerator *typeEnumerator = [typeSelectorDictionary keyEnumerator]; + id currentType; + while ((currentType = [typeEnumerator nextObject])) + { + if ([URL conformsToType:currentType]) + return NSSelectorFromString([typeSelectorDictionary objectForKey:currentType]); + } + return NULL; +} + +- (void)start +{ + [NSThread detachNewThreadSelector:[[self class] _selectorConformingToTypeOfURL:archiveURL] toTarget:self withObject:nil]; +} + ++ (BOOL)_canUnarchiveURL:(NSURL *)URL +{ + return ([self _selectorConformingToTypeOfURL:URL] != nil); +} + +// This method abstracts the types that use a command line tool piping data from stdin. +- (void)_extractArchivePipingDataToCommand:(NSString *)command +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + NSString *archivePath = [archiveURL path]; + + // Get the file size. + NSNumber *fs = [[[NSFileManager defaultManager] fileAttributesAtPath:archivePath traverseLink:NO] objectForKey:NSFileSize]; + if (fs == nil) goto reportError; + + // Thank you, Allan Odgaard! + // (who wrote the following extraction alg.) + + long current = 0; + FILE *fp, *cmdFP; + if ((fp = fopen([archivePath fileSystemRepresentation], "r"))) + { + setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] UTF8String], 1); + if ((cmdFP = popen([command fileSystemRepresentation], "w"))) + { + char buf[32*1024]; + long len; + while((len = fread(buf, 1, 32*1024, fp))) + { + current += len; + fwrite(buf, 1, len, cmdFP); + [self performSelectorOnMainThread:@selector(_notifyDelegateOfExtractedLength:) withObject:[NSNumber numberWithLong:len] waitUntilDone:NO]; + } + pclose(cmdFP); + } + else goto reportError; + } + else goto reportError; + + [self performSelectorOnMainThread:@selector(_notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; + goto finally; + +reportError: + [self performSelectorOnMainThread:@selector(_notifyDelegateOfFailure) withObject:nil waitUntilDone:NO]; + +finally: + if (fp) + fclose(fp); + [pool drain]; +} + +- (void)_extractTAR +{ + return [self _extractArchivePipingDataToCommand:@"tar -xC \"$DESTINATION\""]; +} + +- (void)_extractTGZ +{ + return [self _extractArchivePipingDataToCommand:@"tar -zxC \"$DESTINATION\""]; +} + +- (void)_extractTBZ +{ + return [self _extractArchivePipingDataToCommand:@"tar -jxC \"$DESTINATION\""]; +} + +- (void)_extractZIP +{ + return [self _extractArchivePipingDataToCommand:@"ditto -x -k - \"$DESTINATION\""]; +} + ++ (void)load +{ + [self _registerImplementation:self]; +} + +@end diff --git a/SUUnarchiver.h b/SUUnarchiver.h index 337bf500..8b1325c4 100644 --- a/SUUnarchiver.h +++ b/SUUnarchiver.h @@ -11,12 +11,13 @@ @interface SUUnarchiver : NSObject { id delegate; - NSString *archivePath; + NSURL *archiveURL; } -- (void)unarchivePath:(NSString *)path; ++ (SUUnarchiver *)unarchiverForURL:(NSURL *)URL; - (void)setDelegate:delegate; -- (void)cleanUp; + +- (void)start; @end diff --git a/SUUnarchiver.m b/SUUnarchiver.m index 409b86fc..77fed4ac 100644 --- a/SUUnarchiver.m +++ b/SUUnarchiver.m @@ -9,147 +9,22 @@ #import "Sparkle.h" #import "SUUnarchiver.h" +#import "SUUnarchiver_Private.h" @implementation SUUnarchiver -// This method abstracts the types that use a command line tool piping data from stdin. -- (BOOL)_extractArchivePipingDataToCommand:(NSString *)command +extern NSMutableArray *__unarchiverImplementations; + ++ (SUUnarchiver *)unarchiverForURL:(NSURL *)URL { - // Get the file size. - NSNumber *fs = [[[NSFileManager defaultManager] fileAttributesAtPath:archivePath traverseLink:NO] objectForKey:NSFileSize]; - if (fs == nil) { return NO; } - - // Thank you, Allan Odgaard! - // (who wrote the following extraction alg.) - - long current = 0; - FILE *fp, *cmdFP; - if ((fp = fopen([archivePath fileSystemRepresentation], "r"))) + NSEnumerator *implementationEnumerator = [[self _unarchiverImplementations] objectEnumerator]; + id current; + while ((current = [implementationEnumerator nextObject])) { - setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] UTF8String], 1); - if ((cmdFP = popen([command fileSystemRepresentation], "w"))) - { - char buf[32*1024]; - long len; - while((len = fread(buf, 1, 32 * 1024, fp))) - { - current += len; - - NSEvent *event; - while((event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES])) - [NSApp sendEvent:event]; - - fwrite(buf, 1, len, cmdFP); - - [self performSelectorOnMainThread:@selector(notifyDelegateOfExtractedLength:) withObject:[NSNumber numberWithLong:len] waitUntilDone:NO]; - } - pclose(cmdFP); - } - fclose(fp); - } - - return YES; -} - -- (BOOL)_extractTAR -{ - return [self _extractArchivePipingDataToCommand:@"tar -xC \"$DESTINATION\""]; -} - -- (BOOL)_extractTGZ -{ - return [self _extractArchivePipingDataToCommand:@"tar -zxC \"$DESTINATION\""]; -} - -- (BOOL)_extractTBZ -{ - return [self _extractArchivePipingDataToCommand:@"tar -jxC \"$DESTINATION\""]; -} - -- (BOOL)_extractZIP -{ - return [self _extractArchivePipingDataToCommand:@"ditto -x -k - \"$DESTINATION\""]; -} - -- (BOOL)_extractDMG -{ - // get a unique mount point path - NSString *mountPoint = [[archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:@"mp"]; - int cnt=1; - while ([[NSFileManager defaultManager] fileExistsAtPath:mountPoint] && cnt <= 999) - mountPoint = [[archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:[NSString stringWithFormat:@"mp%d", cnt++]]; - - if (![[NSFileManager defaultManager] fileExistsAtPath:mountPoint]) - { - // create mount point folder - [[NSFileManager defaultManager] createDirectoryAtPath:mountPoint attributes:nil]; - - if ([[NSFileManager defaultManager] fileExistsAtPath:mountPoint]) - { - 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]; - - [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:yesData]; - } + if ([current _canUnarchiveURL:URL]) + return [[[current alloc] _initWithURL:URL] autorelease]; } - - return YES; -} - -- (void)_unarchive -{ - NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; - - // This dictionary associates names of methods responsible for extraction with file extensions. - // The methods take the path of the archive to extract. They return a BOOL indicating whether - // we should continue with the update; returns NO if an error occurred. - NSDictionary *commandDictionary = [NSDictionary dictionaryWithObjectsAndKeys: - @"_extractTBZ", @".tbz", - @"_extractTBZ", @".tar.bz2", - @"_extractTGZ", @".tgz", - @"_extractTGZ", @".tar.gz", - @"_extractTAR", @".tar", - @"_extractZIP", @".zip", - @"_extractDMG", @".dmg", - nil]; - SEL command = NULL; - NSString *theLastPathComponent = [[archivePath lastPathComponent] lowercaseString]; - NSEnumerator *theEnumerator = [[commandDictionary allKeys] objectEnumerator]; - NSString *theExtension = NULL; - while ((theExtension = [theEnumerator nextObject]) != NULL) - { - if ([[theLastPathComponent substringFromIndex:[theLastPathComponent length] - [theExtension length]] isEqualToString:theExtension]) - { - command = NSSelectorFromString([commandDictionary objectForKey:theExtension]); - break; - } - } - - BOOL result; - if (command) - { - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[self methodSignatureForSelector:command]]; - [invocation setSelector:command]; - [invocation invokeWithTarget:self]; - [invocation getReturnValue:&result]; - } - else - result = NO; - - if (result) - [self performSelectorOnMainThread:@selector(notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; - else - [self performSelectorOnMainThread:@selector(notifyDelegateOfFailure) withObject:nil waitUntilDone:NO]; - - [pool release]; -} - -- (void)unarchivePath:(NSString *)path -{ - archivePath = [path copy]; - [NSThread detachNewThreadSelector:@selector(_unarchive) toTarget:self withObject:nil]; + return nil; } - (void)setDelegate:del @@ -157,37 +32,9 @@ delegate = del; } -- (void)cleanUp +- (void)start { - if ([[archivePath pathExtension] isEqualToString:@".dmg"]) - { - [NSTask launchedTaskWithLaunchPath:@"/usr/bin/hdiutil" arguments:[NSArray arrayWithObjects:@"detach", [archivePath stringByDeletingLastPathComponent], @"-force", nil]]; - } - [[NSFileManager defaultManager] removeFileAtPath:archivePath handler:nil]; -} - -- (void)dealloc -{ - [archivePath release]; - [super dealloc]; -} - -- (void)notifyDelegateOfExtractedLength:(long)length -{ - if ([delegate respondsToSelector:@selector(unarchiver:extractedLength:)]) - [delegate unarchiver:self extractedLength:length]; -} - -- (void)notifyDelegateOfSuccess -{ - if ([delegate respondsToSelector:@selector(unarchiverDidFinish:)]) - [delegate performSelector:@selector(unarchiverDidFinish:) withObject:self]; -} - -- (void)notifyDelegateOfFailure -{ - if ([delegate respondsToSelector:@selector(unarchiverDidFail:)]) - [delegate performSelector:@selector(unarchiverDidFail:) withObject:self]; + // No-op } @end diff --git a/SUUnarchiver_Private.h b/SUUnarchiver_Private.h new file mode 100644 index 00000000..bae20e53 --- /dev/null +++ b/SUUnarchiver_Private.h @@ -0,0 +1,30 @@ +// +// SUUnarchiver_Private.h +// Sparkle +// +// Created by Andy Matuschak on 6/17/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUNARCHIVER_PRIVATE_H +#define SUUNARCHIVER_PRIVATE_H + +#import +#import "SUUnarchiver.h" + +@interface SUUnarchiver (Private) ++ (void)_registerImplementation:(Class)implementation; ++ (NSArray *)_unarchiverImplementations; ++ (BOOL)_canUnarchiveURL:(NSURL *)URL; +- _initWithURL:(NSURL *)URL; + +- (void)_notifyDelegateOfExtractedLength:(long)length; +- (void)_notifyDelegateOfSuccess; +- (void)_notifyDelegateOfFailure; +@end + +@interface NSURL (SUTypeDetection) +- (BOOL)conformsToType:(NSString *)type; +@end + +#endif diff --git a/SUUnarchiver_Private.m b/SUUnarchiver_Private.m new file mode 100644 index 00000000..938db13e --- /dev/null +++ b/SUUnarchiver_Private.m @@ -0,0 +1,81 @@ +// +// SUUnarchiver_Private.m +// Sparkle +// +// Created by Andy Matuschak on 6/17/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUUnarchiver_Private.h" + +@implementation SUUnarchiver (Private) + +- _initWithURL:(NSURL *)URL +{ + if ((self = [super init])) + archiveURL = [URL copy]; + return self; +} + +- (void)dealloc +{ + [archiveURL release]; + [super dealloc]; +} + ++ (BOOL)_canUnarchiveURL:(NSURL *)URL +{ + return NO; +} + +- (void)_notifyDelegateOfExtractedLength:(long)length +{ + if ([delegate respondsToSelector:@selector(unarchiver:extractedLength:)]) + [delegate unarchiver:self extractedLength:length]; +} + +- (void)_notifyDelegateOfSuccess +{ + if ([delegate respondsToSelector:@selector(unarchiverDidFinish:)]) + [delegate performSelector:@selector(unarchiverDidFinish:) withObject:self]; +} + +- (void)_notifyDelegateOfFailure +{ + if ([delegate respondsToSelector:@selector(unarchiverDidFail:)]) + [delegate performSelector:@selector(unarchiverDidFail:) withObject:self]; +} + +static NSMutableArray *__unarchiverImplementations; + ++ (void)_registerImplementation:(Class)implementation +{ + if (!__unarchiverImplementations) + __unarchiverImplementations = [[NSMutableArray array] retain]; + [__unarchiverImplementations addObject:implementation]; +} + ++ (NSArray *)_unarchiverImplementations +{ + //return [NSArray arrayWithObjects:NSClassFromString(@"SUPipedUnarchiver"), NSClassFromString(@"SUDiskImageUnarchiver"), nil]; + return [NSArray arrayWithArray:__unarchiverImplementations]; +} + +@end + +@implementation NSURL (SUTypeDetection) +- (NSString *)__UTI +{ + FSRef fsRefToItem; + FSPathMakeRef((UInt8 *)[[self path] UTF8String], &fsRefToItem, NULL ); + + NSString *UTI = nil; + LSCopyItemAttribute(&fsRefToItem, kLSRolesAll, kLSItemContentType, (CFTypeRef *)(&UTI)); + return [UTI autorelease]; +} + +- (BOOL)conformsToType:(NSString *)type +{ + return UTTypeConformsTo((CFStringRef)[self __UTI], (CFStringRef)type); +} +@end diff --git a/Sparkle.h b/Sparkle.h index 924ce289..cd6013b4 100644 --- a/Sparkle.h +++ b/Sparkle.h @@ -14,6 +14,7 @@ #define SPARKLE_H #define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", [NSBundle bundleForClass:[self class]], comment) +#define SUAbstractFail() NSAssert2(nil, @"Can't call %@ on an instance of %@; this is an abstract method!", __PRETTY_FUNCTION__, [self class]); #ifdef __OBJC__ #import diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 22c13285..e511a392 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -13,6 +13,12 @@ 610134780DD252E60049ACDF /* NSWorkspace+SystemVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = 610134760DD252E60049ACDF /* NSWorkspace+SystemVersion.m */; }; 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6101347A0DD2541A0049ACDF /* SUProbingUpdateDriver.m */; }; + 6102FE460E077FCE00F85D09 /* SUPipedUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6102FE470E077FCE00F85D09 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE450E077FCE00F85D09 /* SUPipedUnarchiver.m */; }; + 6102FE4A0E07803800F85D09 /* SUDiskImageUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */; }; + 6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */; }; 61072EB30DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; }; 610D5A1A0A1661B8004AAD9C /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 610D5A750A1670A4004AAD9C /* SUStatus.nib in Resources */ = {isa = PBXBuildFile; fileRef = 610D5A740A1670A4004AAD9C /* SUStatus.nib */; }; @@ -97,7 +103,7 @@ 61C46F340D9C54F300B06326 /* SUUpdatePermissionPrompt.nib in Resources */ = {isa = PBXBuildFile; fileRef = 61C46F330D9C54F300B06326 /* SUUpdatePermissionPrompt.nib */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 784590C10DE0429F00D0D64B /* NSNumber+Units.h in Headers */ = {isa = PBXBuildFile; fileRef = 784590BF0DE0429F00D0D64B /* NSNumber+Units.h */; }; + 784590C10DE0429F00D0D64B /* NSNumber+Units.h in Headers */ = {isa = PBXBuildFile; fileRef = 784590BF0DE0429F00D0D64B /* NSNumber+Units.h */; settings = {ATTRIBUTES = (Public, ); }; }; 784590C20DE0429F00D0D64B /* NSNumber+Units.m in Sources */ = {isa = PBXBuildFile; fileRef = 784590C00DE0429F00D0D64B /* NSNumber+Units.m */; }; DAAEFC9B0DA5722F0051E0D0 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; DAAEFD4E0DA572330051E0D0 /* relaunch.m in Sources */ = {isa = PBXBuildFile; fileRef = 613242130CD06CEF00106AA4 /* relaunch.m */; }; @@ -161,6 +167,12 @@ 610134760DD252E60049ACDF /* NSWorkspace+SystemVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSWorkspace+SystemVersion.m"; sourceTree = ""; }; 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUProbingUpdateDriver.h; sourceTree = ""; }; 6101347A0DD2541A0049ACDF /* SUProbingUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUProbingUpdateDriver.m; sourceTree = ""; }; + 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPipedUnarchiver.h; sourceTree = ""; }; + 6102FE450E077FCE00F85D09 /* SUPipedUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiver.m; sourceTree = ""; }; + 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUDiskImageUnarchiver.h; sourceTree = ""; }; + 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUDiskImageUnarchiver.m; sourceTree = ""; }; + 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUnarchiver_Private.h; sourceTree = ""; }; + 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUnarchiver_Private.m; sourceTree = ""; }; 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkReleaseGCSupport.xcconfig; sourceTree = ""; }; 610D5A740A1670A4004AAD9C /* SUStatus.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = SUStatus.nib; sourceTree = ""; }; 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NTSynchronousTask.m; sourceTree = ""; }; @@ -394,6 +406,12 @@ children = ( 61299A8B09CA790200B7442F /* SUUnarchiver.h */, 61299A8C09CA790200B7442F /* SUUnarchiver.m */, + 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */, + 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */, + 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */, + 6102FE450E077FCE00F85D09 /* SUPipedUnarchiver.m */, + 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */, + 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */, 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */, 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */, ); @@ -600,6 +618,9 @@ 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */, 784590C10DE0429F00D0D64B /* NSNumber+Units.h in Headers */, 61A354550DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h in Headers */, + 6102FE460E077FCE00F85D09 /* SUPipedUnarchiver.h in Headers */, + 6102FE4A0E07803800F85D09 /* SUDiskImageUnarchiver.h in Headers */, + 6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -859,6 +880,9 @@ 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */, 784590C20DE0429F00D0D64B /* NSNumber+Units.m in Sources */, 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */, + 6102FE470E077FCE00F85D09 /* SUPipedUnarchiver.m in Sources */, + 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */, + 6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; From 47b5d5f23166ae00df615485d9b01834c4a8cf96 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 18 Jun 2008 22:56:50 -0700 Subject: [PATCH 08/29] Fixes 241100 Added /sw/bin to the list of directories in the search path for the bzr version numbering script. --- Sparkle.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index e511a392..67a341a5 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -819,7 +819,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = "/usr/bin/env ruby"; - shellScript = "# Xcode auto-versioning script for Subversion\n# by Axel Andersson, modified by Daniel Jalkut to add\n# \"--revision HEAD\" to the svn info line, which allows\n# the latest revision to always be used.\n\nif ENV[\"BUILT_PRODUCTS_DIR\"].nil?\n\tSTDERR.print \"#{$0}: Must be run from Xcode!\"\n\texit(1)\nend\n\n# Get the current Bzr revision number and use it to set the CFBundleVersion value\nENV[\"PATH\"] = \"/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/local/bin\"\nrev = `/usr/bin/env bzr revno`\nexit(0)\ninfo = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources/Info.plist\"\nversion = rev[/[\\d.]+/]\n\nif version.nil?\n\tSTDERR.print \"#{$0}: Can't find a Bazaar revision!\"\n\texit(0)\nend\n\ninfo_contents = File.read(info)\nif info_contents.nil?\n\tSTDERR.print \"#{$0}: Can't read in the Info.plist file!\"\n\texit(1)\nend\n\ninfo_contents.sub!(/([\\t ]+CFBundleVersion<\\/key>\\n[\\t ]+).*?(<\\/string>)/, '\\1' + version + '\\2')\nSTDERR.print info_contents\nf = File.open(info, \"w\")\nf.write(info_contents)\nf.close"; + shellScript = "# Xcode auto-versioning script for Subversion\n# by Axel Andersson, modified by Daniel Jalkut to add\n# \"--revision HEAD\" to the svn info line, which allows\n# the latest revision to always be used.\n\nif ENV[\"BUILT_PRODUCTS_DIR\"].nil?\n\tSTDERR.print \"#{$0}: Must be run from Xcode!\"\n\texit(1)\nend\n\n# Get the current Bzr revision number and use it to set the CFBundleVersion value\nENV[\"PATH\"] = \"/bin:/sw/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/local/bin\"\nrev = `/usr/bin/env bzr revno`\nexit(0)\ninfo = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources/Info.plist\"\nversion = rev[/[\\d.]+/]\n\nif version.nil?\n\tSTDERR.print \"#{$0}: Can't find a Bazaar revision!\"\n\texit(0)\nend\n\ninfo_contents = File.read(info)\nif info_contents.nil?\n\tSTDERR.print \"#{$0}: Can't read in the Info.plist file!\"\n\texit(1)\nend\n\ninfo_contents.sub!(/([\\t ]+CFBundleVersion<\\/key>\\n[\\t ]+).*?(<\\/string>)/, '\\1' + version + '\\2')\nSTDERR.print info_contents\nf = File.open(info, \"w\")\nf.write(info_contents)\nf.close"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ From b7898f5ce7767e5caf7831fc854209b9bf5dc7fd Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 18 Jun 2008 23:07:02 -0700 Subject: [PATCH 09/29] Added an updated French localization, courtesy Yann Ricquebourg. Thanks, Yann! --- .../SUAutomaticUpdateAlert.nib/classes.nib | 50 +++++++++++++ fr.lproj/SUAutomaticUpdateAlert.nib/info.nib | 16 +++++ .../keyedobjects.nib | Bin 0 -> 7245 bytes fr.lproj/SUUpdateAlert.nib/classes.nib | 67 ++++++++++++++++++ fr.lproj/SUUpdateAlert.nib/info.nib | 18 +++++ fr.lproj/SUUpdateAlert.nib/keyedobjects.nib | Bin 0 -> 10531 bytes .../SUUpdatePermissionPrompt.nib/classes.nib | 59 +++++++++++++++ .../SUUpdatePermissionPrompt.nib/info.nib | 16 +++++ .../keyedobjects.nib | Bin 0 -> 13167 bytes fr.lproj/Sparkle.strings | Bin 7308 -> 8674 bytes 10 files changed, 226 insertions(+) create mode 100644 fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib create mode 100644 fr.lproj/SUAutomaticUpdateAlert.nib/info.nib create mode 100644 fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib create mode 100644 fr.lproj/SUUpdateAlert.nib/classes.nib create mode 100644 fr.lproj/SUUpdateAlert.nib/info.nib create mode 100644 fr.lproj/SUUpdateAlert.nib/keyedobjects.nib create mode 100644 fr.lproj/SUUpdatePermissionPrompt.nib/classes.nib create mode 100644 fr.lproj/SUUpdatePermissionPrompt.nib/info.nib create mode 100644 fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib diff --git a/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib b/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib new file mode 100644 index 00000000..4b1ab30e --- /dev/null +++ b/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib @@ -0,0 +1,50 @@ + + + + + IBClasses + + + CLASS + SUWindowController + LANGUAGE + ObjC + SUPERCLASS + NSWindowController + + + ACTIONS + + doNotInstall + id + installLater + id + installNow + id + + CLASS + SUAutomaticUpdateAlert + LANGUAGE + ObjC + SUPERCLASS + SUWindowController + + + CLASS + FirstResponder + LANGUAGE + ObjC + SUPERCLASS + NSObject + + + CLASS + NSObject + LANGUAGE + ObjC + + + IBVersion + 1 + + diff --git a/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib b/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib new file mode 100644 index 00000000..33a60200 --- /dev/null +++ b/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib @@ -0,0 +1,16 @@ + + + + + IBFramework Version + 629 + IBOldestOS + 5 + IBOpenObjects + + IBSystem Version + 9D34 + targetFramework + IBCocoaFramework + + diff --git a/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 0000000000000000000000000000000000000000..4cd529a56b82299c1652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;O638smra?@1Pbkj`JY||W5rK!oZ(zM#N(R9D*0n;wiKGOlyVbkAD zFPM&)UNRjuy=r>R^p)usbAs7uHk++xo7rI&%#zt{md#zw-OMTGRCBsH(>%zWWzII2 zo5SY4=I71l&6h2bCDSs@l5Z)tOtH+g%(l$2R9b2*wU(IWcFRi3YRekS-Il$ULzbs3 zuUbx6-m!da`O@-}m9u)R-K|O1Ue-R=WNTk*fpxBRk#(hYwRMg4PU~IP4c5)pE!Ib@ z`>Y47hpaDI&sr~7FIj)F8Es~p)n>OjZ7y4TTTffME!#HCHo`X6=Cw_=)!9O}`L>8H zW?OCBY};bH-_~q9V0+&7s_mrhL))*m-)vXx#Ln3bcB9>F?{3et7uZMJi|pg<5fdtAje?G5XU6PD#sm;wT^X;^^T2>O^(fugN{RvHym#|PB>0FPCL#x-f?{6?CI?7 zOm_Bl_ID0&ra3d5SB5V-0 z3J(g83(p8ggk!>a;Tz#w;d|jn;b#}`N_4ezb#QfZ-Q?=)8snPen(12XYH}@cEp;t- zt#GY!?R4#RJ>xp!I_A3I`ptDkBqAp!h(^&Yb{8|niK17WEKU)pi8I7mV!gOX+#+rj zw~5=u9pWyrSv(-VARZB46kiulikHNHNgipWG)5XL`J^gIk!mErG*7CNLehLGBE_Tz ziAl?(+oijuZPHHZQE9*QqV%%#igZjmF1;bWDV>l`N~fi_rL)pU(#O(e>327{shf8j z+$OihZF4)^f?IUE-8Z?ry0hHb?qTi`?osYscfPyOJ;puOUFioFnJS1@dUQRGuU^$xGy=@^X2Fyh^@9UMsJY*UKB_P4Z@Wi@a6d zCU2K_$h+ibd5`?C{HVNNJ}4iOAD5q$pO*hBKPw-WUzT5ykIBd7H{>_v6Y@# + + + + IBClasses + + + CLASS + SUWindowController + LANGUAGE + ObjC + SUPERCLASS + NSWindowController + + + CLASS + NSApplication + LANGUAGE + ObjC + SUPERCLASS + NSResponder + + + ACTIONS + + installUpdate + id + remindMeLater + id + skipThisVersion + id + + CLASS + SUUpdateAlert + LANGUAGE + ObjC + OUTLETS + + delegate + id + description + NSTextField + releaseNotesView + WebView + + SUPERCLASS + SUWindowController + + + CLASS + FirstResponder + LANGUAGE + ObjC + SUPERCLASS + NSObject + + + CLASS + NSObject + LANGUAGE + ObjC + + + IBVersion + 1 + + diff --git a/fr.lproj/SUUpdateAlert.nib/info.nib b/fr.lproj/SUUpdateAlert.nib/info.nib new file mode 100644 index 00000000..3f097908 --- /dev/null +++ b/fr.lproj/SUUpdateAlert.nib/info.nib @@ -0,0 +1,18 @@ + + + + + IBFramework Version + 629 + IBOldestOS + 5 + IBOpenObjects + + 6 + + IBSystem Version + 9D34 + targetFramework + IBCocoaFramework + + diff --git a/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib b/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 0000000000000000000000000000000000000000..f5b43acf73a6ae01dc7b371baa384be9f0caad49 GIT binary patch literal 10531 zcmd6Md3=*q*8g3yHS3eDP1A%vfr{*O16n|&WvxIdq-7~fP1}byk~Sqtfr`Z|0QjAqoA2 z{)q{;U>8otZk&QW*o)iYRNMvk#OXK#XX8G&FCK&k<3ckJPl9BAsogL zT#p;^T)Y4;#7psGcm;k2ug1^ft@u^E2k*zn@mKh3d>(&;|Bf%oHg48%-q#7>+fkt7i>@sWxZC+Q@Y^d{^^T`78FnNSLN|uwAWHot~tRZX3^JF7=fovk% z$SY(!*-Z|RBjkN@oSY(`kWa}My5I)aX* zqi7)=O^fIlI+prrF)g9v=y+O6r_g)pTDp!l(e-o#eU3g)H_{jAi*ytHGkuA^OgGcN z&@FT;-G)o)D|9=3mF}Rg(VcV`-A!Mod*~ZOy{E%iu_F}tOo@6CA^R){HKNDw8IfT za%i|VHY!jXsFEUOf>7um7X*Gn()eI)Wq6jtcYGhsN*bl<;r3jFaw+>c1ND763^vt25Ko!^8kXpXI zN_eDb9hBg&uahD(gVHQ!U`fo#%vLNWFcUMJlvl2Ub!W)y)}Sbgp?WkER-Fx!^w*d3 zX)T8858f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VExE?+IrUdoArwI-`1-(Y@;@{O>0ZA8Eht-#b&kHZS8D* zZKG||ZHsL$+4kB_+x}_qVDD!iZui?u?UU_O?RVO1?Dh6p_PKUupJ$(MUuu8I{;>T~ z`^)x2_OteL_6zn)4voX^@Hl*qbVsfu-*Jb-?=c|fr^DIB*~gjd?C&gaj&M$NmOH0AXE>KTS2$NWpKw0q ze8#!jxyHH9`MUFr^K<7H&M%!`JHK&$@BG1eH4!J$L`~wYiJcR>CU#HknV6oKnV6k8 zDsf)o{KSQcixQV4KA5;H@sY%piBBcnlGG!qZ&LrH0ZGG>ijqo_rYFrzT9&jbXX!b<+}R0ZgUm5N?ns(Q(bqu%3U*D^IY>? z3tfv`OI**mcDdei{nd5R^`q;u>nGRGu3ucgB^#4%$)4m}lDj1jPL`6x$up9p$@R&z zk{goeBsV5MnY6Y`?)Tjn-9Nf7yMJ>3 z?Ec05TM9{WrX;1fQhX_$QU;|IrOZrOnX)zIm6TUgUQ5}P@_Nb}DJN4dcr+fJNAEFu z%pSpG^K|vx=9%ib(^KxL^i1Xp1B_8x!<$Ev&{2|XNzZ>XS-*IXQyYk zXOCyEXTRrw=b-1X=ZNR1=a}a`&neHRp3|OhJwJJV^J3zjuIlpf}$;!aK@a>#g%fyfN=g?`-eg-g~@rz05n$JKwv|yU4r5`=EEF z_i^uQ-d*0;y>EE;dEfND|SFyX;Q_K*v z#9m?_F<0y--X`8I=81#EA>uHxKpY{C5=V<;M88-fju$72lf)@vnOH5}C2kU55;u!m z#BJhsafi55+%4`A_lo<)1L8sPuy{l~DjpNx6F(3?5>JRH#ZSb~#53aO;uqqV;@9Fg z;sxF7P4Hcj6y + + + + IBClasses + + + CLASS + SUWindowController + LANGUAGE + ObjC + SUPERCLASS + NSWindowController + + + ACTIONS + + finishPrompt + id + toggleMoreInfo + id + + CLASS + SUUpdatePermissionPrompt + LANGUAGE + ObjC + OUTLETS + + delegate + id + descriptionTextField + NSTextField + moreInfoButton + NSButton + moreInfoView + NSView + + SUPERCLASS + SUWindowController + + + CLASS + FirstResponder + LANGUAGE + ObjC + SUPERCLASS + NSObject + + + CLASS + NSObject + LANGUAGE + ObjC + + + IBVersion + 1 + + diff --git a/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib b/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib new file mode 100644 index 00000000..33a60200 --- /dev/null +++ b/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib @@ -0,0 +1,16 @@ + + + + + IBFramework Version + 629 + IBOldestOS + 5 + IBOpenObjects + + IBSystem Version + 9D34 + targetFramework + IBCocoaFramework + + diff --git a/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib new file mode 100644 index 0000000000000000000000000000000000000000..b2b2cf2c63c4cafb368f4eb69d51e186f8f24211 GIT binary patch literal 13167 zcmeHtd3aOB+W5?zlQc=w^dxE1G)>zy3D6UubfJKtvXw#wN};9fl(Y?PAWce=0;LqE zfQYEq4Hr-m%c6pa3%Fbt^txQ-x*;N;6!Z1 z8Q6|{#%D+} zkw_}BkaS`vF5)JANMDji29SZ|QZkf`Bqd}l8Aqm)X=FC3A#+F_d^eDJq=hUamlH}l z$a1oRtRz>E>&Q)HExDDfC!J&y*+Cv450Zz-!{ib2D0z%LMV=MzMr6DUyM>dp!>?jjup={(pImn4z z$c=iSo~RefMKbcB-lz}ii}FxElwVz5IVlv1R=ev0-biFtdF2E}c|kiPTun!^`@TrE zH_+mPJL%<>!|UpNk%+(6AMi(8C;01QbFg=0C>R9I2b+k@D6cH{Hu)k94vb5~aIq*9 zp3hb(5ZTOhI1d1@Ax!WMe|As|b|}nNmWG1S@!p`f!56NPr1HvYKj0JaP4NfoLyHu= zV|2v9rTqck?AU2=tZ#7?u$ZafqHF+l#76oe{j38^R72mODterLPT%an28yVfzTSb8 zrB3?ATOfr(RD}8ijhrq<0~M)IBUvjaPi_W#_f`19O@3flC|D5=H8n@yLIcqtbP*an zRbjd>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XYA2tOJ~3% zibn(40UAE!?BxDoGXdKG7uiRDu?gYxcAx0h9GcZp7Bh-xr=+( zD+N$odXf01G9bFI zlIywV65ozOVs9p-v3{jB&UJ<6@U+)W#OX}ycNuxt+Z~O(dc%_NAtwU&!a~xbzvmoA zou|nHk!5!45u(|%8<}G!OnF8m0|du>@vhwe4JqEtoD(5&AdQB5m z&rR{!I;T-_&?5kk(F4FwaWa1S5vgtYx1C#ZRsr#^jCaT@UZHUktvanV?n@It!H;Y8 z(vilv2b0#Vi1ZH~SDWKG^B1I{JWw9y0kT@pHz2cwfYk(=3JbFS-* zjvwi04!~IMU^ZuXwdTDwxFMseyVz+;unm%$ zGjdh7TNFK3Ok}%qS9ZoXzolPld-+{A=QofO8N&N7P3vckpNQ3R2NpkOB!a7p&aCmQ zQL#VNUVh@L=PnNu ztWU{(o87ed4T0_sl>=6x`!~|PpU0wFtnbRnj2!R3dT=g2F$Bo3f<2f_^1KY2fT&Cv&_Gl`=EFT-|Toz Date: Wed, 18 Jun 2008 23:14:49 -0700 Subject: [PATCH 10/29] Fixes 239512 Changed the locale to "en_US" from "English", which wasn't actually a locale. This should fix Sparkle for non-English locales. --- Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Info.plist b/Info.plist index 3cfbcb89..f0c18095 100644 --- a/Info.plist +++ b/Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - English + en_US CFBundleExecutable ${EXECUTABLE_NAME} CFBundleName From 4b74af2de937b946c32cbd7a302dfd460faa65fe Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 19 Jun 2008 22:16:19 -0700 Subject: [PATCH 11/29] Fixes 240385 The relaunch tool sadly now polls for the host app being closed, rather than registering for notifications. But there was some race condition which had problems with the latter. --- relaunch.m | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/relaunch.m b/relaunch.m index be65c539..060c45ce 100644 --- a/relaunch.m +++ b/relaunch.m @@ -16,30 +16,22 @@ - (id) initWithExecutablePath:(const char *)execPath parentProcessId:(pid_t)ppid { self = [super init]; - if (self != nil) { + if (self != nil) + { executablePath = execPath; parentProcessId = ppid; - - [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector(applicationDidTerminate:) name:NSWorkspaceDidTerminateApplicationNotification object:nil]; - if (getppid() == 1) { - // ppid is launchd (1) => parent terminated already + if (getppid() == 1) // ppid is launchd (1) => parent terminated already [self relaunch]; - } - - ProcessSerialNumber psn; - if (GetProcessForPID(ppid, &psn) == procNotFound) { - [self relaunch]; - } + [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(watchdog:) userInfo:nil repeats:YES]; } return self; } -- (void) applicationDidTerminate:(NSNotification *)notification +- (void)watchdog:(NSTimer *)timer { - if (parentProcessId == [[[notification userInfo] valueForKey:@"NSApplicationProcessIdentifier"] intValue]) { - // parent just terminated + ProcessSerialNumber psn; + if (GetProcessForPID(parentProcessId, &psn) == procNotFound) [self relaunch]; - } } - (void) relaunch From 441a5382b959b2d8230de2cf547b5ecb0ff2746c Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 19 Jun 2008 22:58:40 -0700 Subject: [PATCH 12/29] Oops! Fixed a warning that caused Sparkle not to compile. Made the unarchiver no longer an IV. --- SUBasicUpdateDriver.h | 2 -- SUBasicUpdateDriver.m | 13 +++++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/SUBasicUpdateDriver.h b/SUBasicUpdateDriver.h index bd0297c5..90cb6250 100644 --- a/SUBasicUpdateDriver.h +++ b/SUBasicUpdateDriver.h @@ -20,8 +20,6 @@ NSURLDownload *download; NSString *downloadPath; - SUUnarchiver *unarchiver; - NSString *relaunchPath; } diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 9f01a8f2..e6fe4912 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -162,19 +162,26 @@ } } - unarchiver = [[SUUnarchiver unarchiverForURL:[[[NSURL alloc] initFileURLWithPath:downloadPath] autorelease]] retain]; -#warning check for nonexistant unarchiver + SUUnarchiver *unarchiver = [[SUUnarchiver unarchiverForURL:[[[NSURL alloc] initFileURLWithPath:downloadPath] autorelease]] retain]; + CFRetain(unarchiver); // Manage this memory manually so we don't have to make it an IV. + if (!unarchiver) + { + NSLog(@"Sparkle Error: No valid unarchiver for %@!", downloadPath); + [self unarchiverDidFail:nil]; + } [unarchiver setDelegate:self]; [unarchiver start]; } - (void)unarchiverDidFinish:(SUUnarchiver *)ua { + if (ua) { CFRelease(ua); } [self installUpdate]; } - (void)unarchiverDidFail:(SUUnarchiver *)ua { + if (ua) { CFRelease(ua); } [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUUnarchivingError userInfo:[NSDictionary dictionaryWithObject:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil) forKey:NSLocalizedDescriptionKey]]]; } @@ -262,8 +269,6 @@ [hostBundle release]; [downloadPath release]; [relaunchPath release]; - [unarchiver release]; - [download release]; [super dealloc]; } From 6da2774f61f2a09aeb024b976e3351be0912d89f Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 19 Jun 2008 22:58:53 -0700 Subject: [PATCH 13/29] Removed a warning, refactored the piped unarchiver code a little more. --- SUPipedUnarchiver.m | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/SUPipedUnarchiver.m b/SUPipedUnarchiver.m index 1be68a11..a57a3aa5 100644 --- a/SUPipedUnarchiver.m +++ b/SUPipedUnarchiver.m @@ -42,6 +42,7 @@ { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSString *archivePath = [archiveURL path]; + FILE *fp = NULL, *cmdFP = NULL; // Get the file size. NSNumber *fs = [[[NSFileManager defaultManager] fileAttributesAtPath:archivePath traverseLink:NO] objectForKey:NSFileSize]; @@ -49,27 +50,21 @@ // Thank you, Allan Odgaard! // (who wrote the following extraction alg.) + fp = fopen([archivePath fileSystemRepresentation], "r"); + if (!fp) goto reportError; - long current = 0; - FILE *fp, *cmdFP; - if ((fp = fopen([archivePath fileSystemRepresentation], "r"))) - { - setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] UTF8String], 1); - if ((cmdFP = popen([command fileSystemRepresentation], "w"))) - { - char buf[32*1024]; - long len; - while((len = fread(buf, 1, 32*1024, fp))) - { - current += len; - fwrite(buf, 1, len, cmdFP); - [self performSelectorOnMainThread:@selector(_notifyDelegateOfExtractedLength:) withObject:[NSNumber numberWithLong:len] waitUntilDone:NO]; - } - pclose(cmdFP); - } - else goto reportError; + setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] UTF8String], 1); + cmdFP = popen([command fileSystemRepresentation], "w"); + if (!cmdFP) goto reportError; + + char buf[32*1024]; + long len; + while((len = fread(buf, 1, 32*1024, fp))) + { + fwrite(buf, 1, len, cmdFP); + [self performSelectorOnMainThread:@selector(_notifyDelegateOfExtractedLength:) withObject:[NSNumber numberWithLong:len] waitUntilDone:NO]; } - else goto reportError; + pclose(cmdFP); [self performSelectorOnMainThread:@selector(_notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; goto finally; From af245f3e8928728ca561770a9d0cef4b5db95ea8 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 19 Jun 2008 23:02:12 -0700 Subject: [PATCH 14/29] Fixes 236636: Sparkle now makes sure to make the update alert key when its host app becomes active. --- SUAutomaticUpdateDriver.m | 4 ++-- SUUIBasedUpdateDriver.m | 4 ++-- Sparkle.xcodeproj/project.pbxproj | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/SUAutomaticUpdateDriver.m b/SUAutomaticUpdateDriver.m index dfd01dfe..56dae07e 100644 --- a/SUAutomaticUpdateDriver.m +++ b/SUAutomaticUpdateDriver.m @@ -15,14 +15,14 @@ { alert = [[SUAutomaticUpdateAlert alloc] initWithAppcastItem:updateItem hostBundle:hostBundle delegate:self]; if ([NSApp isActive]) - [alert showWindow:self]; + [[alert window] makeKeyAndOrderFront:self]; else [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification object:NSApp]; } - (void)applicationDidBecomeActive:(NSNotification *)aNotification { - [alert showWindow:self]; + [[alert window] makeKeyAndOrderFront:self]; [[NSNotificationCenter defaultCenter] removeObserver:self name:@"NSApplicationDidBecomeActiveNotification" object:NSApp]; } diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index ce979813..fcda14ca 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -22,7 +22,7 @@ // Only show the update alert if the app is active; otherwise, we'll wait until it is. if ([NSApp isActive]) - [updateAlert showWindow:self]; + [[updateAlert window] makeKeyAndOrderFront:self]; else [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification object:NSApp]; } @@ -37,7 +37,7 @@ - (void)applicationDidBecomeActive:(NSNotification *)aNotification { - [updateAlert showWindow:self]; + [[updateAlert window] makeKeyAndOrderFront:self]; [[NSNotificationCenter defaultCenter] removeObserver:self name:@"NSApplicationDidBecomeActiveNotification" object:NSApp]; } diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 67a341a5..37cf03da 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -14,7 +14,6 @@ 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6101347A0DD2541A0049ACDF /* SUProbingUpdateDriver.m */; }; 6102FE460E077FCE00F85D09 /* SUPipedUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6102FE470E077FCE00F85D09 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE450E077FCE00F85D09 /* SUPipedUnarchiver.m */; }; 6102FE4A0E07803800F85D09 /* SUDiskImageUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */; }; 6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -40,6 +39,7 @@ 61299A8D09CA790200B7442F /* SUUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299A8B09CA790200B7442F /* SUUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61299A8E09CA790200B7442F /* SUUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A8C09CA790200B7442F /* SUUnarchiver.m */; }; 61299B3609CB04E000B7442F /* Sparkle.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299B3509CB04E000B7442F /* Sparkle.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6129C0BA0E0B79810062CE76 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (Public, ); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; @@ -168,7 +168,6 @@ 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUProbingUpdateDriver.h; sourceTree = ""; }; 6101347A0DD2541A0049ACDF /* SUProbingUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUProbingUpdateDriver.m; sourceTree = ""; }; 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPipedUnarchiver.h; sourceTree = ""; }; - 6102FE450E077FCE00F85D09 /* SUPipedUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiver.m; sourceTree = ""; }; 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUDiskImageUnarchiver.h; sourceTree = ""; }; 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUDiskImageUnarchiver.m; sourceTree = ""; }; 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUnarchiver_Private.h; sourceTree = ""; }; @@ -196,6 +195,7 @@ 61299A8B09CA790200B7442F /* SUUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUnarchiver.h; sourceTree = ""; }; 61299A8C09CA790200B7442F /* SUUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUnarchiver.m; sourceTree = ""; }; 61299B3509CB04E000B7442F /* Sparkle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.h; sourceTree = ""; }; + 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiver.m; sourceTree = ""; }; 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 = ""; }; 613242130CD06CEF00106AA4 /* relaunch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = relaunch.m; sourceTree = ""; }; @@ -409,7 +409,7 @@ 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */, 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */, 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */, - 6102FE450E077FCE00F85D09 /* SUPipedUnarchiver.m */, + 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */, 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */, 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */, 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */, @@ -838,6 +838,7 @@ buildActionMask = 2147483647; files = ( 61B5F93009C4CFDC00B25A18 /* main.m in Sources */, + 6129C0BA0E0B79810062CE76 /* SUPipedUnarchiver.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -880,7 +881,6 @@ 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */, 784590C20DE0429F00D0D64B /* NSNumber+Units.m in Sources */, 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */, - 6102FE470E077FCE00F85D09 /* SUPipedUnarchiver.m in Sources */, 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */, 6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */, ); From 7664995dfc8eff58f0dc15e681915b223527623a Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:00:50 -0700 Subject: [PATCH 15/29] Fixes #241762 +load is called before there's an NSAutoreleasePool, so now Sparkle uses [[NSMutableArray alloc] init] instead of [[NSMutableArray array] retain]. --- SUUnarchiver_Private.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SUUnarchiver_Private.m b/SUUnarchiver_Private.m index 938db13e..ed7e2e97 100644 --- a/SUUnarchiver_Private.m +++ b/SUUnarchiver_Private.m @@ -50,9 +50,11 @@ static NSMutableArray *__unarchiverImplementations; + (void)_registerImplementation:(Class)implementation { + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; if (!__unarchiverImplementations) __unarchiverImplementations = [[NSMutableArray array] retain]; [__unarchiverImplementations addObject:implementation]; + [pool drain]; } + (NSArray *)_unarchiverImplementations From 074646e8308ab2774182caafbe4dd88b8490cf60 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:05:06 -0700 Subject: [PATCH 16/29] Removed dead commented-out code. --- SUUnarchiver_Private.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SUUnarchiver_Private.m b/SUUnarchiver_Private.m index ed7e2e97..dff767da 100644 --- a/SUUnarchiver_Private.m +++ b/SUUnarchiver_Private.m @@ -50,16 +50,13 @@ static NSMutableArray *__unarchiverImplementations; + (void)_registerImplementation:(Class)implementation { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; if (!__unarchiverImplementations) - __unarchiverImplementations = [[NSMutableArray array] retain]; + __unarchiverImplementations = [[NSMutableArray alloc] init]; [__unarchiverImplementations addObject:implementation]; - [pool drain]; } + (NSArray *)_unarchiverImplementations { - //return [NSArray arrayWithObjects:NSClassFromString(@"SUPipedUnarchiver"), NSClassFromString(@"SUDiskImageUnarchiver"), nil]; return [NSArray arrayWithArray:__unarchiverImplementations]; } From c2c3a6853cf67322339c61f7a3ac1198b3d3fad7 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:06:00 -0700 Subject: [PATCH 17/29] Corrected an incorrect log string--the one which occurs when the old app can't be trashed. --- NSFileManager+Authentication.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSFileManager+Authentication.m b/NSFileManager+Authentication.m index 59f36723..b81cfea4 100644 --- a/NSFileManager+Authentication.m +++ b/NSFileManager+Authentication.m @@ -229,7 +229,7 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza // Trash the old copy of the app. NSInteger tag = 0; if (![[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[tmpPath stringByDeletingLastPathComponent] destination:@"" files:[NSArray arrayWithObject:[tmpPath lastPathComponent]] tag:&tag]) - NSLog(@"Sparkle error: couldn't move %@ to the trash. This is often a sign of a permissions error.", src, dst); + NSLog(@"Sparkle error: couldn't move %@ to the trash. This is often a sign of a permissions error.", tmpPath); // If the currently-running application is trusted, the new // version should be trusted as well. Remove it from the From aba39e342914cc5f6dbfe6e3ed755dbb327190a1 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:08:14 -0700 Subject: [PATCH 18/29] Now using [[NSWorkspace sharedWorkspace] openFile:] instead of [[NSWorkspace sharedWorkspace] launchApplication:]. This will help with things like preference panes, which will now appropriately relaunch system preferences. --- relaunch.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relaunch.m b/relaunch.m index 060c45ce..46d52496 100644 --- a/relaunch.m +++ b/relaunch.m @@ -36,7 +36,7 @@ - (void) relaunch { - [[NSWorkspace sharedWorkspace] launchApplication:[NSString stringWithUTF8String:executablePath]]; + [[NSWorkspace sharedWorkspace] openFile:[NSString stringWithUTF8String:executablePath]]; [[NSFileManager defaultManager] removeFileAtPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"relaunch"] handler:nil]; exit(0); } From a5dcf946eec94be5eb8692a877caf61a3db92218 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:31:07 -0700 Subject: [PATCH 19/29] Fixed all setters to eliminate the possibility of accidentally releasing the value to be set in the case that [foo setValue:a] is called when [foo value] == a. --- SUAppcast.m | 7 +++++-- SUAppcastItem.m | 9 +++++++++ SUStatusController.m | 12 ++++++++++-- SUUpdater.m | 1 + SUUserDefaults.m | 7 +++++-- 5 files changed, 30 insertions(+), 6 deletions(-) diff --git a/SUAppcast.m b/SUAppcast.m index 990b3df7..b0d454b5 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -70,8 +70,11 @@ - (void)setUserAgentString:(NSString *)uas { - [userAgentString release]; - userAgentString = [uas copy]; + if (uas != userAgentString) + { + [userAgentString release]; + userAgentString = [uas copy]; + } } - (void)setDelegate:del diff --git a/SUAppcastItem.m b/SUAppcastItem.m index f04a14e1..28efc7c7 100644 --- a/SUAppcastItem.m +++ b/SUAppcastItem.m @@ -17,6 +17,7 @@ - (void)setTitle:(NSString *)aTitle { + if (title == aTitle) return; [title release]; title = [aTitle copy]; } @@ -26,6 +27,7 @@ - (void)setDate:(NSDate *)aDate { + if (date == aDate) return; [date release]; date = [aDate copy]; } @@ -35,6 +37,7 @@ - (void)setDescription:(NSString *)aDescription { + if (description == aDescription) return; [description release]; description = [aDescription copy]; } @@ -44,6 +47,7 @@ - (void)setReleaseNotesURL:(NSURL *)aReleaseNotesURL { + if (releaseNotesURL == aReleaseNotesURL) return; [releaseNotesURL release]; releaseNotesURL = [aReleaseNotesURL copy]; } @@ -53,6 +57,7 @@ - (void)setDSASignature:(NSString *)aDSASignature { + if (DSASignature == aDSASignature) return; [DSASignature release]; DSASignature = [aDSASignature copy]; } @@ -62,6 +67,7 @@ - (void)setFileURL:(NSURL *)aFileURL { + if (fileURL == aFileURL) return; [fileURL release]; fileURL = [aFileURL copy]; } @@ -71,6 +77,7 @@ - (void)setVersionString:(NSString *)s { + if (versionString == s) return; [versionString release]; versionString = [s copy]; } @@ -80,6 +87,7 @@ - (void)setDisplayVersionString:(NSString *)s { + if (displayVersionString == s) return; [displayVersionString release]; displayVersionString = [s copy]; } @@ -88,6 +96,7 @@ - (NSString *)minimumSystemVersion { return [[minimumSystemVersion retain] autorelease]; } - (void)setMinimumSystemVersion:(NSString *)systemVersionString { + if (minimumSystemVersion == systemVersionString) return; [minimumSystemVersion release]; minimumSystemVersion = [systemVersionString copy]; } diff --git a/SUStatusController.m b/SUStatusController.m index 0438fe7e..cd44910a 100644 --- a/SUStatusController.m +++ b/SUStatusController.m @@ -61,7 +61,11 @@ - (void)setButtonTitle:(NSString *)aButtonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault { [self willChangeValueForKey:@"buttonTitle"]; - buttonTitle = [aButtonTitle copy]; + if (buttonTitle != aButtonTitle) + { + [buttonTitle release]; + buttonTitle = [aButtonTitle copy]; + } [self didChangeValueForKey:@"buttonTitle"]; [self window]; @@ -113,7 +117,11 @@ - (void)setStatusText:(NSString *)aStatusText { - statusText = [aStatusText copy]; + if (statusText != aStatusText) + { + [statusText release]; + statusText = [aStatusText copy]; + } } @end diff --git a/SUUpdater.m b/SUUpdater.m index 6ac26a7d..f9f311dd 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -223,6 +223,7 @@ static SUUpdater *sharedUpdater = nil; - (void)setHostBundle:(NSBundle *)hb { + if (hostBundle == hb) return; [hostBundle release]; hostBundle = [hb retain]; [[SUUserDefaults standardUserDefaults] setIdentifier:[hostBundle bundleIdentifier]]; diff --git a/SUUserDefaults.m b/SUUserDefaults.m index 39d71151..d6923f04 100644 --- a/SUUserDefaults.m +++ b/SUUserDefaults.m @@ -27,8 +27,11 @@ - (void)setIdentifier:(NSString *)anIdentifier { - [identifier autorelease]; - identifier = [anIdentifier copy]; + if (identifier != anIdentifier) + { + [identifier release]; + identifier = [anIdentifier copy]; + } } - (void)verifyIdentifier From 6295c36561cafa488237f82c0468c150e8c9f1a0 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:31:52 -0700 Subject: [PATCH 20/29] Added the (important) sharedUpdater method to SUUpdater.h. Oops! --- SUUpdater.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SUUpdater.h b/SUUpdater.h index 80788728..a286fc0a 100644 --- a/SUUpdater.h +++ b/SUUpdater.h @@ -18,6 +18,8 @@ id delegate; } ++ (SUUpdater *)sharedUpdater; + - (void)setHostBundle:(NSBundle *)hostBundle; - (void)setDelegate:(id)delegate; From 1092c7dba7b7d9367bd1b08105c83a679eb43e84 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 22:35:26 -0700 Subject: [PATCH 21/29] Replaced "..." with "\u2026". Unfortunately, this means I had to change the strings file. --- RSS.m | 4 ++-- SUUIBasedUpdateDriver.m | 6 +++--- SUUserInitiatedUpdateDriver.m | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/RSS.m b/RSS.m index 20fb2a33..2920e9c1 100644 --- a/RSS.m +++ b/RSS.m @@ -585,7 +585,7 @@ NSComparisonResult compareNewsItems(id item1, id item2, void *context) shortTitle = [shortTitle trimWhiteSpace]; - title = [NSString stringWithFormat: @"%@...", shortTitle]; + title = [NSString stringWithFormat: @"%@\u2026", shortTitle]; } /*else*/ } /*if*/ @@ -609,7 +609,7 @@ NSComparisonResult compareNewsItems(id item1, id item2, void *context) [rssItem setObject: description forKey: descriptionKey]; - title = [NSString stringWithFormat: @"%@...", shortTitle]; + title = [NSString stringWithFormat: @"%@\u2026", shortTitle]; [rssItem setObject: title forKey: titleKey]; } /*if*/ diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index fcda14ca..05644781 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -51,7 +51,7 @@ { case SUInstallUpdateChoice: statusController = [[SUStatusController alloc] initWithHostBundle:hostBundle]; - [statusController beginActionWithTitle:SULocalizedString(@"Downloading update...", nil) maxProgressValue:0 statusText:nil]; + [statusController beginActionWithTitle:SULocalizedString(@"Downloading update\u2026", nil) maxProgressValue:0 statusText:nil]; [statusController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelDownload:) isDefault:NO]; [statusController showWindow:self]; [self downloadUpdate]; @@ -86,7 +86,7 @@ - (void)extractUpdate { // Now we have to extract the downloaded archive. - [statusController beginActionWithTitle:SULocalizedString(@"Extracting update...", nil) maxProgressValue:0 statusText:nil]; + [statusController beginActionWithTitle:SULocalizedString(@"Extracting update\u2026", nil) maxProgressValue:0 statusText:nil]; [statusController setButtonEnabled:NO]; [super extractUpdate]; } @@ -112,7 +112,7 @@ - (void)installUpdate { - [statusController beginActionWithTitle:SULocalizedString(@"Installing update...", nil) maxProgressValue:0 statusText:nil]; + [statusController beginActionWithTitle:SULocalizedString(@"Installing update\u2026", nil) maxProgressValue:0 statusText:nil]; [statusController setButtonEnabled:NO]; [super installUpdate]; } diff --git a/SUUserInitiatedUpdateDriver.m b/SUUserInitiatedUpdateDriver.m index 38929b85..706dcc51 100644 --- a/SUUserInitiatedUpdateDriver.m +++ b/SUUserInitiatedUpdateDriver.m @@ -16,7 +16,7 @@ [super checkForUpdatesAtURL:appcastURL hostBundle:hb]; checkingController = [[SUStatusController alloc] initWithHostBundle:hb]; [checkingController window]; // Force the checking controller to load its window. - [checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates...", nil) maxProgressValue:0 statusText:nil]; + [checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates\u2026", nil) maxProgressValue:0 statusText:nil]; [checkingController setButtonHidden:YES]; [checkingController showWindow:self]; } From 792bad502da96300294cca3c42256481585bc332 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 23:29:05 -0700 Subject: [PATCH 22/29] Updated the strings file for the unicode ellipses. --- en.lproj/Sparkle.strings | Bin 8134 -> 8102 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/en.lproj/Sparkle.strings b/en.lproj/Sparkle.strings index 6a8d379a587dfbfbdd122c06108d6adac4ae5777..6f7d5648fb283cce475968e4066d823edeb42da5 100644 GIT binary patch delta 85 zcmX?Rzs!Ea5m6>Jg~_KxjX=}_)`-bbVk#hJi X$$tDClOIU%fVi)OH8%T5RpE5}M>+ aF;%eSb7AexRpL>MXwvH?5Yjr5Rcrv3FB;MS From eac4134968bf69d716e5f2045d88b3742a3c1e76 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 20 Jun 2008 23:29:35 -0700 Subject: [PATCH 23/29] Replaced UTF8String with fileSystemRepresentation and [NSString initWithUTF8String] with [NSFileManager stringWithFileSystemRepresentation:length:] as appropriate. --- NSWorkspace_RBAdditions.m | 7 ++----- SUPipedUnarchiver.m | 2 +- SUUnarchiver_Private.m | 2 +- relaunch.m | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/NSWorkspace_RBAdditions.m b/NSWorkspace_RBAdditions.m index 15f69ccc..1ffac239 100644 --- a/NSWorkspace_RBAdditions.m +++ b/NSWorkspace_RBAdditions.m @@ -137,11 +137,8 @@ static NSString* CheckParents(io_object_t thing,NSString* part,NSMutableDictiona NSMutableDictionary* result = nil; struct statfs fs = {}; if (!statfs(ccpath,&fs)) { - NSString* from = [NSString stringWithUTF8String:fs.f_mntfromname]; - result = [NSMutableDictionary dictionaryWithObjectsAndKeys: - [NSString stringWithUTF8String:fs.f_fstypename],NSWorkspace_RBfstypename, - [NSString stringWithUTF8String:fs.f_mntonname],NSWorkspace_RBmntonname, - nil]; + NSString* from = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:fs.f_mntfromname length:strlen(fs.f_mntfromname)]; + result = [NSMutableDictionary dictionaryWithObjectsAndKeys:[NSString stringWithUTF8String:fs.f_fstypename], NSWorkspace_RBfstypename, [[NSFileManager defaultManager] stringWithFileSystemRepresentation:fs.f_mntonname length:strlen(fs.f_mntonname)], NSWorkspace_RBmntonname, nil]; const char* devstring = "/dev/"; size_t devstringlen = 5; if (strncmp(fs.f_mntfromname,devstring,devstringlen)==0) { diff --git a/SUPipedUnarchiver.m b/SUPipedUnarchiver.m index a57a3aa5..9ad911c8 100644 --- a/SUPipedUnarchiver.m +++ b/SUPipedUnarchiver.m @@ -53,7 +53,7 @@ fp = fopen([archivePath fileSystemRepresentation], "r"); if (!fp) goto reportError; - setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] UTF8String], 1); + setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] fileSystemRepresentation], 1); cmdFP = popen([command fileSystemRepresentation], "w"); if (!cmdFP) goto reportError; diff --git a/SUUnarchiver_Private.m b/SUUnarchiver_Private.m index dff767da..a705a0ac 100644 --- a/SUUnarchiver_Private.m +++ b/SUUnarchiver_Private.m @@ -66,7 +66,7 @@ static NSMutableArray *__unarchiverImplementations; - (NSString *)__UTI { FSRef fsRefToItem; - FSPathMakeRef((UInt8 *)[[self path] UTF8String], &fsRefToItem, NULL ); + FSPathMakeRef((UInt8 *)[[self path] fileSystemRepresentation], &fsRefToItem, NULL ); NSString *UTI = nil; LSCopyItemAttribute(&fsRefToItem, kLSRolesAll, kLSItemContentType, (CFTypeRef *)(&UTI)); diff --git a/relaunch.m b/relaunch.m index 46d52496..b98cf666 100644 --- a/relaunch.m +++ b/relaunch.m @@ -36,7 +36,7 @@ - (void) relaunch { - [[NSWorkspace sharedWorkspace] openFile:[NSString stringWithUTF8String:executablePath]]; + [[NSWorkspace sharedWorkspace] openFile:[[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablePath length:strlen(executablePath)]]; [[NSFileManager defaultManager] removeFileAtPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"relaunch"] handler:nil]; exit(0); } From 3daa88daa42ec1d7727d9de35ec94c60b1d262d8 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 23 Jun 2008 21:45:37 -0700 Subject: [PATCH 24/29] --fixes lp:242525 --fixes lp:242561 --fixes lp:242564 Wow, big mistakes. Critical fixes to the unarchiver refactoring I just finished, fixing a double-retain, a file added to the wrong target, and a crash on the use of any kind of archive except .dmg. Really sorry, guys. --- SUBasicUpdateDriver.m | 4 ++-- Sparkle.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index e6fe4912..0f29e2be 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -162,13 +162,13 @@ } } - SUUnarchiver *unarchiver = [[SUUnarchiver unarchiverForURL:[[[NSURL alloc] initFileURLWithPath:downloadPath] autorelease]] retain]; - CFRetain(unarchiver); // Manage this memory manually so we don't have to make it an IV. + SUUnarchiver *unarchiver = [SUUnarchiver unarchiverForURL:[[[NSURL alloc] initFileURLWithPath:downloadPath] autorelease]]; if (!unarchiver) { NSLog(@"Sparkle Error: No valid unarchiver for %@!", downloadPath); [self unarchiverDidFail:nil]; } + CFRetain(unarchiver); // Manage this memory manually so we don't have to make it an IV. [unarchiver setDelegate:self]; [unarchiver start]; } diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 37cf03da..7f0ed833 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -39,7 +39,6 @@ 61299A8D09CA790200B7442F /* SUUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299A8B09CA790200B7442F /* SUUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61299A8E09CA790200B7442F /* SUUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A8C09CA790200B7442F /* SUUnarchiver.m */; }; 61299B3609CB04E000B7442F /* Sparkle.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299B3509CB04E000B7442F /* Sparkle.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6129C0BA0E0B79810062CE76 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (Public, ); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; @@ -101,6 +100,7 @@ 61C1F2780DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 61C1F2760DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61C1F2790DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.m in Sources */ = {isa = PBXBuildFile; fileRef = 61C1F2770DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.m */; }; 61C46F340D9C54F300B06326 /* SUUpdatePermissionPrompt.nib in Resources */ = {isa = PBXBuildFile; fileRef = 61C46F330D9C54F300B06326 /* SUUpdatePermissionPrompt.nib */; }; + 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 784590C10DE0429F00D0D64B /* NSNumber+Units.h in Headers */ = {isa = PBXBuildFile; fileRef = 784590BF0DE0429F00D0D64B /* NSNumber+Units.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -838,7 +838,6 @@ buildActionMask = 2147483647; files = ( 61B5F93009C4CFDC00B25A18 /* main.m in Sources */, - 6129C0BA0E0B79810062CE76 /* SUPipedUnarchiver.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -883,6 +882,7 @@ 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */, 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */, 6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */, + 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; From 764bed3212e9be9310910c11a7ac79845d5c081c Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 23 Jun 2008 22:03:09 -0700 Subject: [PATCH 25/29] Okay, *really* fixing the bug this time. Thanks for watching my back, Scott. --- SUBasicUpdateDriver.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 0f29e2be..b29fc369 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -167,6 +167,7 @@ { NSLog(@"Sparkle Error: No valid unarchiver for %@!", downloadPath); [self unarchiverDidFail:nil]; + return; } CFRetain(unarchiver); // Manage this memory manually so we don't have to make it an IV. [unarchiver setDelegate:self]; From cd4addbcd79fc39a10b644c203d3d1819797fe37 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 23 Jun 2008 22:36:52 -0700 Subject: [PATCH 26/29] Fixes 239512 SUUpdater no longer retains its delegate. --- SUUpdater.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SUUpdater.m b/SUUpdater.m index f9f311dd..9be1dba9 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -217,8 +217,7 @@ static SUUpdater *sharedUpdater = nil; - (void)setDelegate:aDelegate { - [delegate release]; - delegate = [aDelegate retain]; + delegate = aDelegate; } - (void)setHostBundle:(NSBundle *)hb From d4291d60d42ec4be3f08f3ad5edb66f767ad750e Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 23 Jun 2008 22:48:57 -0700 Subject: [PATCH 27/29] Fixes 239512 NSAutoreleasePool is now drained instead of released. --- NTSynchronousTask.m | 2 +- SUPlainInstaller.m | 2 +- relaunch.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NTSynchronousTask.m b/NTSynchronousTask.m index 541483a6..d506cad5 100644 --- a/NTSynchronousTask.m +++ b/NTSynchronousTask.m @@ -84,7 +84,7 @@ NS_HANDLER; NS_ENDHANDLER; - [pool release]; + [pool drain]; // retained above [result autorelease]; diff --git a/SUPlainInstaller.m b/SUPlainInstaller.m index 63d5122d..f876c19e 100644 --- a/SUPlainInstaller.m +++ b/SUPlainInstaller.m @@ -27,7 +27,7 @@ extern NSString *SUInstallerDelegateKey; [self installPath:[info objectForKey:SUInstallerPathKey] overHostBundle:[info objectForKey:SUInstallerHostBundleKey] delegate:[info objectForKey:SUInstallerDelegateKey]]; - [pool release]; + [pool drain]; } + (void)performInstallationWithPath:(NSString *)path hostBundle:(NSBundle *)hostBundle delegate:delegate synchronously:(BOOL)synchronously; diff --git a/relaunch.m b/relaunch.m index b98cf666..ce90ad99 100644 --- a/relaunch.m +++ b/relaunch.m @@ -53,7 +53,7 @@ int main (int argc, const char * argv[]) [[[TerminationListener alloc] initWithExecutablePath:argv[1] parentProcessId:atoi(argv[2])] autorelease]; [[NSApplication sharedApplication] run]; - [pool release]; + [pool drain]; return EXIT_SUCCESS; } From ad2c82a73c1690284b0496f13b8c8035ef4de980 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Mon, 23 Jun 2008 22:51:01 -0700 Subject: [PATCH 28/29] Gave the SUUpdateAlert a non-zero minimum size. --- en.lproj/SUUpdateAlert.nib/info.nib | 4 ++-- en.lproj/SUUpdateAlert.nib/keyedobjects.nib | Bin 10282 -> 10270 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en.lproj/SUUpdateAlert.nib/info.nib b/en.lproj/SUUpdateAlert.nib/info.nib index d9b82f55..2e04cfa0 100644 --- a/en.lproj/SUUpdateAlert.nib/info.nib +++ b/en.lproj/SUUpdateAlert.nib/info.nib @@ -3,7 +3,7 @@ IBFramework Version - 649 + 667 IBLastKnownRelativeProjectPath ../Sparkle.xcodeproj IBOldestOS @@ -13,7 +13,7 @@ 6 IBSystem Version - 9C7010 + 9D34 targetFramework IBCocoaFramework diff --git a/en.lproj/SUUpdateAlert.nib/keyedobjects.nib b/en.lproj/SUUpdateAlert.nib/keyedobjects.nib index b3a80995a6e05c070902cbd5a95dbf2c45164914..c889e39dd8734e0e568ff6de233beb131dd606d1 100644 GIT binary patch delta 6808 zcma)A34Baf+keiP{mypp?8}|S7E3LO5Fz#wdxRvCAYzh?WNIXl1)=F2N>vxdrK(Cv zh@FPoskK$Ss&2NYRh--OhWp-zTfYgN$#APd(LzI&-QB1NDo2&*1vCr2gkD7gT8NgR<>+0s741O#(IIpWeTV*ouA%SIb@T)J z5&eXIMmNw+P@`MuR}2_oj3w|YmSQDVV;weNBQ|3Twqh4`cN#aV8##$KY(718SU$^ROR}!vXx9FdZ2a=Hmrezzgx)cqx7dFUKqKTD%Ug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release notes WebView back to their 1.1 values (11/13 for standard/fixed fonts). --- en.lproj/SUUpdateAlert.nib/info.nib | 2 +- en.lproj/SUUpdateAlert.nib/keyedobjects.nib | Bin 10270 -> 10270 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/en.lproj/SUUpdateAlert.nib/info.nib b/en.lproj/SUUpdateAlert.nib/info.nib index 2e04cfa0..778909ea 100644 --- a/en.lproj/SUUpdateAlert.nib/info.nib +++ b/en.lproj/SUUpdateAlert.nib/info.nib @@ -10,7 +10,7 @@ 5 IBOpenObjects - 6 + 89 IBSystem Version 9D34 diff --git a/en.lproj/SUUpdateAlert.nib/keyedobjects.nib b/en.lproj/SUUpdateAlert.nib/keyedobjects.nib index c889e39dd8734e0e568ff6de233beb131dd606d1..5b8f76e2f50c0b9e6c37f1b553cbadcd00100ad7 100644 GIT binary patch delta 2693 zcmZuy2~ZVR7JYqN5O8bw{d#@>f5de(iBaQ9B5^YAN)SX4L}dB0h-lm;hJW2PE~9qb z_sHpS!AYrD`RbADu-o59ZbKdQDw?u7; z+Vi&H_JcrZ3N63}GAN*e1`Y^=cF-O=!fVhOdP6w80|Ve)h=K%2gk%^CX`~6HgA2w% z24ur{$b~5|6=p#mxB+1SEQHly!AGzLHo?cR8McB4c0vj4f>J1lgKz|n!ZA1v7vWkM zd;!^+Jc2(UL4Q1iKT13BbL*y9Ddbu!8?{%L_c3HHf(Ks!Jh{+3Bfkl3YSPA zwZO$zm!Lts!0ezfF%R?03xfRo9kXx>z88Se!9oZJoQzE{<{D{E`jGy@e$2J1q&D&- zoQNa%=J1yrC-}xQX{j)wd`a*|p?eN5nEnN6F8rJH5grNu5vt=NV_qBYnl%N-dxgis z6X7Yka2#fMg=fNZ;RR-57G_(cY>~muq$bx$57HC-p|KYlLx5Fb>lhIPO+3(qgpY}H zrAAG5jdM+Q<)*o&)J8Ug=7rFl>>{NkJdOv9%yP}B-H{;J3&9X#h05IpYQ@QY`Wa*i zFrh8ju^&$3G^gUs>s;Mhv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