diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index c85fc403..b8e19339 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -3,7 +3,7 @@ PREBINDING = NO ZERO_LINK = NO CURRENT_PROJECT_VERSION = 1.5 -SDKROOT = macosx10.6 +SDKROOT = macosx10.7 MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 diff --git a/License.txt b/License.txt index 978193f9..08364c63 100644 --- a/License.txt +++ b/License.txt @@ -10,121 +10,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI EXTERNAL LICENSES ================= -This project uses software developed by the OpenSSL Project for use in the OpenSSL -Toolkit (http://www.openssl.org). This toolkit is licensed as follows: -/* ==================================================================== -* Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modiÞcation, are permitted provided that the following conditions -* are met: -* -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* -* 3. All advertising materials mentioning features or use of this -* software must display the following acknowledgment: -* ÒThis product includes software developed by the OpenSSL Project -* for use in the OpenSSL Toolkit. (http://www.openssl.org/)Ó -* -* 4. The names ÒOpenSSL ToolkitÓ and ÒOpenSSL ProjectÓ must not be used to -* endorse or promote products derived from this software without -* prior written permission. For written permission, please contact -* openssl-core@openssl.org. -* -* 5. Products derived from this software may not be called ÒOpenSSLÓ -* nor may ÒOpenSSLÓ appear in their names without prior written -* permission of the OpenSSL Project. -* -* 6. Redistributions of any form whatsoever must retain the following - -* acknowledgment: -* ÒThis product includes software developed by the OpenSSL Project -* for use in the OpenSSL Toolkit (http://www.openssl.org/)Ó -* -* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS ISÕÕ AND ANY -* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR -* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -* OF THE POSSIBILITY OF SUCH DAMAGE. -* ==================================================================== -* -* This product includes cryptographic software written by Eric Young -* (eay@cryptsoft.com). This product includes software written by Tim -* Hudson (tjh@cryptsoft.com). -* -*/ - -Original SSLeay License -/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) -* All rights reserved. -* -* This package is an SSL implementation written -* by Eric Young (eay@cryptsoft.com). -* The implementation was written so as to conform with Netscapes SSL. -* -* This library is free for commercial and non-commercial use as long as -* the following conditions are aheared to. The following conditions -* apply to all code found in this distribution, be it the RC4, RSA, -* lhash, DES, etc., code; not just the SSL code. The SSL documentation -* included with this distribution is covered by the same copyright terms -* except that the holder is Tim Hudson (tjh@cryptsoft.com). -* -* Copyright remains Eric YoungÕs, and as such any Copyright notices in -* the code are not to be removed. -* If this package is used in a product, Eric Young should be given attribution -* as the author of the parts of the library used. -* This can be in the form of a textual message at program startup or -* in documentation (online or textual) provided with the package. -* -* Redistribution and use in source and binary forms, with or without -* modiÞcation, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the copyright -* notice, this list of conditions and the following disclaimer. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. All advertising materials mentioning features or use of this software -* must display the following acknowledgement: -* ÒThis product includes cryptographic software written by -* Eric Young (eay@cryptsoft.com)Ó -* The word ÔcryptographicÕ can be left out if the rouines from the library -* being used are not cryptographic related :-). -* 4. If you include any Windows speciÞc code (or a derivative thereof) from -* the apps directory (application code) you must include an acknowledgement: -* ÒThis product includes software written by Tim Hudson (tjh@cryptsoft.com)Ó -* -* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS ISÕÕ AND -* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -* SUCH DAMAGE. -* -* The licence and distribution terms for any publically available version or -* derivative of this code cannot be changed. i.e. this code cannot simply be -* copied and put under another distribution licence -* [including the GNU Public Licence.] -*/ - License for bspatch.c and bsdiff.c, from bsdiff 4.3 (: /*- * Copyright 2003-2005 Colin Percival diff --git a/SUAppcast.m b/SUAppcast.m index b12ac78f..74bc709c 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -32,7 +32,7 @@ } @end -@interface SUAppcast (Private) +@interface SUAppcast () - (void)reportError:(NSError *)error; - (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes; @end diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 1eeb3051..1e71e1b6 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -20,6 +20,8 @@ #import "SUBinaryDeltaCommon.h" #import "SUUpdater_Private.h" +@interface SUBasicUpdateDriver () ; @end + @implementation SUBasicUpdateDriver @@ -319,7 +321,7 @@ if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; NSString *relaunchToolPath = [relaunchPath stringByAppendingPathComponent: @"/Contents/MacOS/finish_installation"]; - [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; [NSApp terminate:self]; } diff --git a/SUConstants.h b/SUConstants.h index 4ef1ebb4..0dcc6cfb 100644 --- a/SUConstants.h +++ b/SUConstants.h @@ -24,7 +24,7 @@ // If your app file on disk is named "MyApp 1.1b4", Sparkle usually updates it // in place, giving you an app named 1.1b4 that is actually 1.2. Turn the // following on to always reset the name back to "MyApp": -#define NORMALIZE_INSTALLED_APP_NAME 1 +#define NORMALIZE_INSTALLED_APP_NAME 0 #define TRY_TO_APPEND_VERSION_NUMBER 1 @@ -59,6 +59,7 @@ extern NSString *const SULastProfileSubmitDateKey; extern NSString *const SUPromptUserOnFirstLaunchKey; extern NSString *const SUFixedHTMLDisplaySizeKey; extern NSString *const SUKeepDownloadOnFailedInstallKey; +extern NSString *const SUDefaultsDomainKey; // ----------------------------------------------------------------------------- // Errors: diff --git a/SUConstants.m b/SUConstants.m index 9150cb2a..d08b3c2a 100644 --- a/SUConstants.m +++ b/SUConstants.m @@ -35,6 +35,7 @@ NSString *const SULastProfileSubmitDateKey = @"SULastProfileSubmissionDate"; NSString *const SUPromptUserOnFirstLaunchKey = @"SUPromptUserOnFirstLaunch"; NSString *const SUFixedHTMLDisplaySizeKey = @"SUFixedHTMLDisplaySize"; NSString *const SUKeepDownloadOnFailedInstallKey = @"SUKeepDownloadOnFailedInstall"; +NSString *const SUDefaultsDomainKey = @"SUDefaultsDomain"; NSString *const SUSparkleErrorDomain = @"SUSparkleErrorDomain"; OSStatus SUAppcastParseError = 1000; diff --git a/SUHost.h b/SUHost.h index ffe98a78..58244ecf 100644 --- a/SUHost.h +++ b/SUHost.h @@ -14,6 +14,8 @@ { @private NSBundle *bundle; + NSString *defaultsDomain; + BOOL usesStandardUserDefaults; } + (NSString *)systemVersionString; diff --git a/SUHost.m b/SUHost.m index 4ecfa462..5016e857 100644 --- a/SUHost.m +++ b/SUHost.m @@ -23,12 +23,20 @@ bundle = [aBundle retain]; if (![bundle bundleIdentifier]) SULog(@"Sparkle Error: the bundle being updated at %@ has no CFBundleIdentifier! This will cause preference read/write to not work properly.", bundle); + + defaultsDomain = [[bundle objectForInfoDictionaryKey:SUDefaultsDomainKey] retain]; + if (!defaultsDomain) + defaultsDomain = [[bundle bundleIdentifier] retain]; + + // If we're using the main bundle's defaults we'll use the standard user defaults mechanism, otherwise we have to get CF-y. + usesStandardUserDefaults = [defaultsDomain isEqualToString:[[NSBundle mainBundle] bundleIdentifier]]; } return self; } - (void)dealloc { + [defaultsDomain release]; [bundle release]; [super dealloc]; } @@ -63,10 +71,12 @@ - (NSString *)installationPath { #if NORMALIZE_INSTALLED_APP_NAME - return [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]; -#else - return [bundle bundlePath]; + // We'll install to "#{CFBundleName}.app", but only if that path doesn't already exist. If we're "Foo 4.2.app," and there's a "Foo.app" in this directory, we don't want to overwrite it! But if there's no "Foo.app," we'll take that name. + NSString *normalizedAppPath = [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]; + if (![[NSFileManager defaultManager] fileExistsAtPath:[[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]]) + return normalizedAppPath; #endif + return [bundle bundlePath]; } - (NSString *)name @@ -175,34 +185,33 @@ // Under Tiger, CFPreferencesCopyAppValue doesn't get values from NSRegistrationDomain, 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. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) return [[NSUserDefaults standardUserDefaults] objectForKey:defaultName]; - CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]); + CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); return [(id)CFMakeCollectable(obj) autorelease]; } - (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName; { - // If we're using a .app, we'll use the standard user defaults mechanism; otherwise, we have to get CF-y. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) { [[NSUserDefaults standardUserDefaults] setObject:value forKey:defaultName]; } else { - CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); } } - (BOOL)boolForUserDefaultsKey:(NSString *)defaultName { - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) return [[NSUserDefaults standardUserDefaults] boolForKey:defaultName]; BOOL value; - CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]); + CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); if (plr == NULL) value = NO; else @@ -215,15 +224,14 @@ - (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName { - // If we're using a .app, we'll use the standard user defaults mechanism; otherwise, we have to get CF-y. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) { [[NSUserDefaults standardUserDefaults] setBool:value forKey:defaultName]; } else { - CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); } } diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 939cfb39..3981b77e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -126,10 +126,6 @@ 61C2680A0E2DB5D000175E6C /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; - 61DEC1171477565C00931268 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 61DEC11D1477568300931268 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; @@ -362,10 +358,14 @@ 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateDriver.m; sourceTree = ""; }; 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUScheduledUpdateDriver.h; sourceTree = ""; }; 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUScheduledUpdateDriver.m; sourceTree = ""; }; + 61BA66CC14BDFA0400D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; + 61BA66DA14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 61BA66DB14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 61BA66DC14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61BBDF810A49220C00378739 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 61C268090E2DB5D000175E6C /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = ""; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; sourceTree = ""; }; - 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; + 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; 61DEC1181477566800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61DEC11A1477567800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61DEC11C1477568300931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; @@ -876,7 +876,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0410; + LastUpgradeCheck = 0420; }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; @@ -919,6 +919,7 @@ pt_PT, pt, ro, + sl, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -975,10 +976,6 @@ 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, - 61DEC1171477565C00931268 /* SUUpdatePermissionPrompt.xib in Resources */, - 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */, - 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */, - 61DEC11D1477568300931268 /* SUStatus.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1195,6 +1192,7 @@ 6158A1BA1378F68100487EC1 /* pt_PT */, 6158A1BE1378F8BB00487EC1 /* tr */, 61DEC11C1477568300931268 /* ro */, + 61BA66DA14BDFC5500D02D86 /* sl */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1223,6 +1221,7 @@ 6158A1BB1378F68100487EC1 /* pt_PT */, 6158A1BF1378F8BB00487EC1 /* tr */, 61DEC11A1477567800931268 /* ro */, + 61BA66DB14BDFC5500D02D86 /* sl */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1251,6 +1250,7 @@ 6158A1B81378F64700487EC1 /* pt_PT */, 6158A1C01378F8BB00487EC1 /* tr */, 61DEC1181477566800931268 /* ro */, + 61BA66DC14BDFC5500D02D86 /* sl */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1277,6 +1277,7 @@ 6186554310D7484E00B1E074 /* pt_PT */, 6160FD85134ABCD5007FFC5F /* tr */, 61DEC1161477565C00931268 /* ro */, + 61BA66CC14BDFA0400D02D86 /* sl */, ); name = Sparkle.strings; sourceTree = ""; @@ -1372,7 +1373,7 @@ }; name = Release; }; - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5-only) */ = { + 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { @@ -1390,7 +1391,7 @@ ); PRODUCT_NAME = finish_installation; }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; 5D06E8D20FD68C7D005AE3F6 /* Debug */ = { isa = XCBuildConfiguration; @@ -1406,39 +1407,39 @@ }; name = Release; }; - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5-only) */ = { + 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; 612279DB0DB5470300AB99EA /* Debug */ = { isa = XCBuildConfiguration; @@ -1476,7 +1477,7 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1486,7 +1487,7 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1496,7 +1497,7 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5-only) */, + 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1506,7 +1507,7 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5-only) */, + 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1516,7 +1517,7 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1526,7 +1527,7 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index dc9bd945..f81adc7d 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -33,6 +33,20 @@ ReferencedContainer = "container:Sparkle.xcodeproj"> + + + + + + + + + ignoresPersistentStateOnLaunch = "YES" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + ignoresPersistentStateOnLaunch = "YES" + debugDocumentVersioning = "YES"> diff --git a/finish_installation.m b/finish_installation.m index fbae37f7..c0d2cc69 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -14,6 +14,7 @@ @interface TerminationListener : NSObject { + const char *hostpath; const char *executablepath; pid_t parentprocessid; const char *folderpath; @@ -36,12 +37,13 @@ @implementation TerminationListener -- (id) initWithExecutablePath:(const char *)execpath parentProcessId:(pid_t)ppid folderPath: (const char*)infolderpath shouldRelaunch:(BOOL)relaunch +- (id) initWithHostPath:(const char *)inhostpath executablePath:(const char *)execpath parentProcessId:(pid_t)ppid folderPath: (const char*)infolderpath shouldRelaunch:(BOOL)relaunch selfPath: (NSString*)inSelfPath { if( !(self = [super init]) ) return nil; + hostpath = inhostpath; executablepath = execpath; parentprocessid = ppid; folderpath = infolderpath; @@ -110,31 +112,32 @@ if (shouldRelaunch) { NSString *appPath = nil; - if( !folderpath ) + if( !folderpath || strcmp(executablepath, hostpath) != 0 ) appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else appPath = [host installationPath]; [[NSWorkspace sharedWorkspace] openFile: appPath]; - if( folderpath ) - { - NSError* theError = nil; - if( ![SUPlainInstaller _removeFileAtPath: [SUInstaller updateFolder] error: &theError] ) - SULog( @"Couldn't remove update folder: %@.", theError ); - } - #if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeFileAtPath: selfPath handler: nil]; - #else - [[NSFileManager defaultManager] removeItemAtPath: selfPath error: NULL]; - #endif } - + + if (folderpath) + { + NSError *theError = nil; + if( ![SUPlainInstaller _removeFileAtPath: [SUInstaller updateFolder] error: &theError] ) + SULog( @"Couldn't remove update folder: %@.", theError ); + } +#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 + [[NSFileManager defaultManager] removeFileAtPath: selfPath handler: nil]; +#else + [[NSFileManager defaultManager] removeItemAtPath: selfPath error: NULL]; +#endif + exit(EXIT_SUCCESS); } - (void) install { - NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: executablepath length:strlen(executablepath)]]; + NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: hostpath length:strlen(hostpath)]]; host = [[SUHost alloc] initWithBundle: theBundle]; // 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. @@ -169,7 +172,7 @@ int main (int argc, const char * argv[]) { - if( argc < 4 || argc > 5 ) + if( argc < 5 || argc > 6 ) return EXIT_FAILURE; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @@ -192,11 +195,12 @@ int main (int argc, const char * argv[]) #endif [NSApplication sharedApplication]; - [[[TerminationListener alloc] initWithExecutablePath: (argc > 1) ? argv[1] : NULL - parentProcessId: (argc > 2) ? atoi(argv[2]) : 0 - folderPath: (argc > 3) ? argv[3] : NULL - shouldRelaunch: (argc > 4) ? atoi(argv[4]) : 1 - selfPath: selfPath] autorelease]; + [[[TerminationListener alloc] initWithHostPath: (argc > 1) ? argv[1] : NULL + executablePath: (argc > 2) ? argv[2] : NULL + parentProcessId: (argc > 3) ? atoi(argv[3]) : 0 + folderPath: (argc > 4) ? argv[4] : NULL + shouldRelaunch: (argc > 5) ? atoi(argv[5]) : 1 + selfPath: selfPath] autorelease]; [[NSApplication sharedApplication] run]; [pool drain]; diff --git a/ja.lproj/SUAutomaticUpdateAlert.strings b/ja.lproj/SUAutomaticUpdateAlert.strings index dbe4b958..38beb7ce 100644 Binary files a/ja.lproj/SUAutomaticUpdateAlert.strings and b/ja.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/ja.lproj/SUAutomaticUpdateAlert.xib b/ja.lproj/SUAutomaticUpdateAlert.xib index d291fbd2..037bdd95 100644 --- a/ja.lproj/SUAutomaticUpdateAlert.xib +++ b/ja.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D50 + 1938 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 1938 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -81,6 +78,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -101,6 +99,7 @@ 270 {{105, 120}, {557, 17}} + YES 67239424 @@ -137,12 +136,13 @@ 270 {{105, 81}, {557, 31}} + YES 67239424 272629760 - + LucidaGrande 11 3100 @@ -157,6 +157,7 @@ 257 {{481, 12}, {183, 32}} + YES 67239424 @@ -182,12 +183,17 @@ 257 {{311, 12}, {170, 32}} + YES 67239424 134217728 - 終了次第インストール - + 終了してインストール + + AquaKana + 13 + 16 + -2038284033 1 @@ -203,6 +209,7 @@ 256 {{102, 12}, {157, 32}} + YES 67239424 @@ -226,12 +233,17 @@ 256 {{105, 58}, {619, 18}} + YES 67239424 131072 - 今後のアップデートを自動的にダウンロード/インストール - + 今後はアップデートのダウンロードとインストールを自動で行う + + AquaKana + 11 + 16 + 1211912703 2 @@ -251,8 +263,9 @@ {678, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {2560, 1418}} {511, 174} {10000000000000, 10000000000000} YES @@ -264,6 +277,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -328,45 +373,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -526,17 +541,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 @@ -544,35 +553,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 @@ -582,16 +580,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 - diff --git a/ja.lproj/SUUpdateAlert.strings b/ja.lproj/SUUpdateAlert.strings index d7576008..2b4826be 100644 Binary files a/ja.lproj/SUUpdateAlert.strings and b/ja.lproj/SUUpdateAlert.strings differ diff --git a/ja.lproj/SUUpdateAlert.xib b/ja.lproj/SUUpdateAlert.xib index a5428980..043c2bb4 100644 --- a/ja.lproj/SUUpdateAlert.xib +++ b/ja.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10J567 - 823 - 1038.35 - 462.00 + 11D50 + 1938 + 1138.32 + 568.00 YES @@ -15,12 +15,24 @@ YES - 823 - 823 + 1938 + 822 - + 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,7 @@ {{24, 291}, {64, 64}} + YES 130560 @@ -96,6 +109,7 @@ 266 {{106, 338}, {452, 17}} + YES 67239424 @@ -130,17 +144,18 @@ 268 - {{106, 280}, {452, 14}} + {{106, 277}, {452, 17}} + YES 67239424 272629760 - リリースノート: + リリースノート: - LucidaGrande-Bold + AquaKana-Bold 11 - 3357 + 16 @@ -150,22 +165,27 @@ 289 - {{280, 12}, {146, 32}} + {{273, 12}, {92, 32}} + YES 67239424 134217728 - 後でまた知らせる - - LucidaGrande + 後で通知 + + AquaKana 13 - 1044 + 16 -2038284033 1 - + + LucidaGrande + 13 + 1044 + Gw 200 @@ -175,14 +195,15 @@ 288 - {{103, 12}, {165, 32}} + {{72, 12}, {196, 32}} + YES 67239424 134217728 - このバージョンをスキップ - + このバージョンはスキップ + -2038284033 1 @@ -198,8 +219,9 @@ 289 - {{426, 12}, {135, 32}} + {{365, 12}, {196, 32}} + YES -2080244224 @@ -223,7 +245,7 @@ YES - 256 + 274 YES @@ -252,6 +274,7 @@ {{-2, -1}, {445, 199}} + @@ -279,10 +302,12 @@ {{1, 1}, {443, 197}} + {{110, 76}, {445, 199}} + {0, 0} 67239424 @@ -318,12 +343,13 @@ 266 {{106, 302}, {452, 28}} + YES 67239424 4194304 - + LucidaGrande 11 3100 @@ -338,12 +364,17 @@ 290 {{106, 50}, {451, 18}} + YES 67239424 131072 - 今後のアップデートを自動的にダウンロード/インストール - + 今後はアップデートのダウンロードとインストールを自動で行う + + AquaKana + 11 + 16 + 1211912703 2 @@ -362,11 +393,14 @@ {575, 370} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {2560, 1418}} {575, 392} - {1.79769e+308, 1.79769e+308} + {10000000000000, 10000000000000} + YES YES @@ -375,6 +409,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 +521,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -467,74 +541,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 +582,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 @@ -650,9 +684,9 @@ - + @@ -794,19 +828,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 +844,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 +872,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,209 +900,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 - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - id - id - id - - - - YES - - YES - installUpdate: - 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 @@ -1220,663 +1009,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 +1048,11 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 YES diff --git a/ja.lproj/SUUpdatePermissionPrompt.strings b/ja.lproj/SUUpdatePermissionPrompt.strings index c6d2a341..32be6c6d 100644 Binary files a/ja.lproj/SUUpdatePermissionPrompt.strings and b/ja.lproj/SUUpdatePermissionPrompt.strings differ diff --git a/ja.lproj/SUUpdatePermissionPrompt.xib b/ja.lproj/SUUpdatePermissionPrompt.xib index 91c4a46b..9eebb2e9 100644 --- a/ja.lproj/SUUpdatePermissionPrompt.xib +++ b/ja.lproj/SUUpdatePermissionPrompt.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D50 + 1938 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 1938 YES @@ -34,11 +34,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -73,24 +70,29 @@ 257 - {{280, 12}, {144, 32}} + {{300, 12}, {105, 32}} + 1 YES -2080244224 134217728 - 自動的にチェック - - LucidaGrande + 自動で確認 + + AquaKana 13 - 1044 + 16 1 -2038284033 1 - + + LucidaGrande + 13 + 1044 + DQ 200 @@ -100,14 +102,15 @@ 257 - {{149, 12}, {131, 32}} + {{162, 12}, {105, 32}} + YES 67239424 134217728 - チェックしない - + 確認しない + -2038284033 1 @@ -123,15 +126,16 @@ 264 {{104, 114}, {289, 34}} + YES 67239424 272629760 - 自動的にアップデートをチェックしますか。 + アップデートを自動で確認させますか? - LucidaGrande-Bold + AquaKana-Bold 13 - 2072 + 16 @@ -159,6 +163,7 @@ 266 {{104, 81}, {315, 42}} + YES 67239424 @@ -179,12 +184,17 @@ 264 {{104, 53}, {278, 18}} + YES -2080244224 163840 - 匿名のシステムプロファイルを含む - + 匿名のシステム情報を含める + + AquaKana + 11 + 16 + 1211912703 2 @@ -218,6 +228,7 @@ {{23, 84}, {64, 64}} + YES 130560 @@ -238,6 +249,7 @@ 268 {{80, 50}, {27, 26}} + YES 67239424 @@ -256,8 +268,9 @@ {438, 168} + - {{0, 0}, {1440, 878}} + {{0, 0}, {2560, 1418}} {213, 129} {10000000000000, 10000000000000} YES @@ -475,22 +488,6 @@ gY/jgaDjgZXjgYTvvJo YES - - - contentArray: systemProfileInformationArray - - - - - - contentArray: systemProfileInformationArray - contentArray - systemProfileInformationArray - 2 - - - 25 - window @@ -507,22 +504,6 @@ gY/jgaDjgZXjgYTvvJo 127 - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - toggleMoreInfo: @@ -547,25 +528,53 @@ gY/jgaDjgZXjgYTvvJo 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 @@ -587,22 +596,6 @@ gY/jgaDjgZXjgYTvvJo 143 - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - value: shouldSendProfile @@ -634,19 +627,35 @@ gY/jgaDjgZXjgYTvvJo - 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 @@ -666,19 +675,23 @@ gY/jgaDjgZXjgYTvvJo - value: arrangedObjects.displayKey - - + hidden: shouldAskAboutProfile + + - - - value: arrangedObjects.displayKey - value - arrangedObjects.displayKey + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + 2 - 174 + 139 @@ -686,7 +699,9 @@ gY/jgaDjgZXjgYTvvJo YES 0 - + + YES + @@ -936,11 +951,8 @@ gY/jgaDjgZXjgYTvvJo -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 13.IBPluginDependency - 13.ImportedFromIB2 14.IBPluginDependency - 14.ImportedFromIB2 176.IBPluginDependency 177.IBPluginDependency 178.IBPluginDependency @@ -954,53 +966,31 @@ gY/jgaDjgZXjgYTvvJo 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.IBEditorWindowLastContentRect 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 @@ -1014,42 +1004,23 @@ gY/jgaDjgZXjgYTvvJo 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, 917}, {362, 205}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - diff --git a/ja.lproj/Sparkle.strings b/ja.lproj/Sparkle.strings index 867de0b5..b21ea044 100644 Binary files a/ja.lproj/Sparkle.strings and b/ja.lproj/Sparkle.strings differ diff --git a/ro.lproj/SUUpdateAlert.xib b/ro.lproj/SUUpdateAlert.xib index d27c5156..e40b0f1a 100644 --- a/ro.lproj/SUUpdateAlert.xib +++ b/ro.lproj/SUUpdateAlert.xib @@ -60,7 +60,7 @@ 15 2 - {{248, 468}, {612, 371}} + {{248, 400}, {612, 371}} -260571136 Software Update NSWindow diff --git a/sign_update.rb b/sign_update.rb index 351e43f4..199ea40c 100755 --- a/sign_update.rb +++ b/sign_update.rb @@ -4,4 +4,4 @@ if ARGV.length < 2 exit end openssl = "/usr/bin/openssl" -puts `#{openssl} dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64` \ No newline at end of file +puts `#{openssl} dgst -sha1 -binary < "#{ARGV[0]}" | #{openssl} dgst -dss1 -sign "#{ARGV[1]}" | #{openssl} enc -base64` \ No newline at end of file diff --git a/sl.lproj/SUAutomaticUpdateAlert.xib b/sl.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..3244ebdf --- /dev/null +++ b/sl.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,548 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {657, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + + + 268 + + 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 + + + + 268 + {{105, 120}, {389, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {435, 31}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{415, 12}, {228, 32}} + + YES + + 67239424 + 134217728 + Namestitev in ponoven zagon + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{244, 12}, {171, 32}} + + + YES + + 67239424 + 134217728 + Namestitev in izhod + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {116, 32}} + + + YES + + 67239424 + 134217728 + Ne namesti + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {382, 18}} + + + YES + + 67239424 + 131072 + V prihodnje samodejno nameščaj posodobitve + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {657, 152} + + + {{0, 0}, {1280, 778}} + {511, 174} + {10000000000000, 10000000000000} + 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 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Window + + + 6 + + + + + + + + + + + + + + 7 + + + + + + + + 8 + + + + + + + + 9 + + + + + + + + 15 + + + + + + + + 16 + + + + + + + + 17 + + + + + + + + 30 + + + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 44 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/SUUpdateAlert.xib b/sl.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..1fa30eea --- /dev/null +++ b/sl.lproj/SUUpdateAlert.xib @@ -0,0 +1,790 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + 1938 + 822 + + + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 400}, {586, 370}} + -260571136 + Posodabljanje programske opreme + NSWindow + + View + + + {586, 370} + + + 256 + + + + 268 + + 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 + + + + 264 + {{106, 338}, {443, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 280}, {443, 14}} + + + YES + + 67239424 + 272629760 + Opombe ob izdaji: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{256, 12}, {152, 32}} + + + YES + + 67239424 + 134217728 + Spomni me kasneje + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {149, 32}} + + + YES + + 67239424 + 134217728 + Preskoči to verzijo + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{408, 12}, {164, 32}} + + YES + + -2080244224 + 134217728 + Namesti posodobitev + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + + + 274 + + + + 274 + + 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 + + {{-1, 0}, {456, 197}} + + + + + + + + + + + + + NO + YES + + + {{1, 1}, {455, 197}} + + + + + {{109, 76}, {457, 199}} + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {463, 28}} + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 256 + {{106, 50}, {442, 16}} + + + YES + + 67239424 + 131072 + V prihodnje samodejno nameščaj posodobitve + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {586, 370} + + + {{0, 0}, {1280, 778}} + {586, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + 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 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Update Alert (release notes) + + + 6 + + + + + + + + + + + + + + + + 7 + + + + + + + + 10 + + + + + + + + 17 + + + + + + + + 22 + + + + + + + + 23 + + + + + + + + 76 + + + + + + + + 89 + + + + + + + + 101 + + + + + + + + 117 + + + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.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 + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 175 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/SUUpdatePermissionPrompt.xib b/sl.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..7e81d019 --- /dev/null +++ b/sl.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,947 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {496, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + + + 257 + {{313, 12}, {169, 32}} + + 1 + YES + + -2080244224 + 134217728 + Samodejno preverjaj + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{196, 12}, {117, 32}} + + + YES + + 67239424 + 134217728 + Ne preverjaj + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {375, 34}} + + + YES + + 67239424 + 272629760 + Naj občasno preverjam, če so na voljo posodobitve? + + LucidaGrande-Bold + 13 + 2072 + + + + 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 + Vključi anonimni profil sistema + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + 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 + + + + {496, 168} + + + {{0, 0}, {1280, 778}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + + + 274 + + + + 2304 + + + + 4352 + {353, 113} + + YES + + + 256 + {{346, 0}, {12, 17}} + + + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 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, 113}} + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + 256 + + _doScroller: + 0.78125 + + + + 256 + {{-100, -100}, {345, 11}} + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 115}} + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + YES + + 67239424 + 272629760 + QW5vbmltbmkgcHJvZmlsIHNpc3RlbWEgc2UgdXBvcmFibGphIHphIG5hxI1ydG92YW5qZSBuYWRhbGpu +ZWdhIHJhenZvamEgcHJvZ3JhbWEuIFYgcHJpbWVydSB2cHJhxaFhbmogbmFzIGxhaGtvIGtvbnRha3Rp +cmF0ZS4KClBvxaFsamVqbyBzZSBzbGVkZcSNZSBpbmZvcm1hY2lqZTo + + + + + + + + {362, 205} + NSView + NSResponder + + + + SUIncludeProfile + SUSendProfileInfo + + 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 + + + + + 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 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Profile Info + + + 6 + + + + + + + + + + + + + + 13 + + + + + + + + 14 + + + + + + + + 32 + + + + + + + + 33 + + + + + + + + 34 + + + + + + + + 37 + + + + + + + + 71 + + + + + + + + 24 + + + Array Controller + + + 39 + + + + + + + MoreInfoView + + + 40 + + + + + + + + + + 41 + + + + + + + + + 42 + + + + + + + + 43 + + + + + 44 + + + + + + + + 45 + + + + + 46 + + + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 185 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/Sparkle.strings b/sl.lproj/Sparkle.strings new file mode 100644 index 00000000..47081496 --- /dev/null +++ b/sl.lproj/Sparkle.strings @@ -0,0 +1,95 @@ +/* No comment provided by engineer. */ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ je bil uspešno prenešen s spleta in je pripravljen na namestitev. Ga želite namestiti in ponovno zagnati takoj?"; + +/* No comment provided by engineer. */ +"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Programa %1$@ ni mogoče posodobiti, ker ga poganjate iz lokacije, kamor pisanje ni dovoljeno (pogosto je to slika diska dmg ali optična enota). Poskusite %1$@ premakniti v direktorij z aplikacijami (Applications), ga ponovno zagnati in šele nato posodobiti."; + +/* No comment provided by engineer. */ +"%@ %@ is currently the newest version available." = "%1$@ %2$@ je najnovejša verzija programa."; + +/* No comment provided by engineer. */ +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Na voljo je %1$@ %2$@ — vi imate %3$@. Ga želite prenesti s spleta sedaj?"; + +/* No comment provided by engineer. */ +"%@ downloaded" = "prenešenih je %@"; + +/* No comment provided by engineer. */ +"%@ of %@" = "%1$@ od %2$@"; + +/* No comment provided by engineer. */ +"A new version of %@ is available!" = "Na voljo je nova verzija programa %@."; + +/* No comment provided by engineer. */ +"A new version of %@ is ready to install!" = "Najnovejša verzija programa %@ je že nameščena."; + +/* No comment provided by engineer. */ +"An error occurred in retrieving update information. Please try again later." = "Med iskanjem posodobitev je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while downloading the update. Please try again later." = "Med prenašanje posodobitve s spleta je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while extracting the archive. Please try again later." = "Med odpiranjem arhiva je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while installing the update. Please try again later." = "Med nameščanjem posodobitve je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while parsing the update feed." = "Napaka pri interpretaciji RSS vira s posodobitvami."; + +/* No comment provided by engineer. */ +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Med ponovnim zagonom programa %1$@ je sicer prišlo do napake, vendar bo nova verzija na voljo, ko boste naslednjič pognali program."; + +/* the unit for bytes */ +"B" = "B"; + +/* No comment provided by engineer. */ +"Cancel" = "Prekliči"; + +/* No comment provided by engineer. */ +"Cancel Update" = "Prekliči posodabljanje"; + +/* No comment provided by engineer. */ +"Checking for updates..." = "Iskanje posodobitev ..."; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Prenašanje posodobitve ..."; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Razpakiranje posodobitve ..."; + +/* the unit for gigabytes */ +"GB" = "GB"; + +/* No comment provided by engineer. */ +"Install and Relaunch" = "Namesti in ponovno zaženi"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Nameščanje posodobitve ..."; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* No comment provided by engineer. */ +"OK" = "V redu"; + +/* No comment provided by engineer. */ +"Ready to Install" = "Pripravljen na namestitev"; + +/* No comment provided by engineer. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Naj %1$@ samodejno preverja, če so na voljo posodobitve? To lahko kadarkoli preverite tudi sami iz menija za %1$@."; + +/* No comment provided by engineer. */ +"Update Error!" = "Napaka pri posodabljanju"; + +/* No comment provided by engineer. */ +"Updating %@" = "Posodabljam %@"; + +/* No comment provided by engineer. */ +"You already have the newest version of %@." = "Najnovejša verzija programa %@ je že nameščena."; + +/* No comment provided by engineer. */ +"You're up-to-date!" = "Uporabljate zadnjo verzijo."; \ No newline at end of file