]> granicus.if.org Git - handbrake/commitdiff
MacGui: update Sparkle to version 1.20.
authorDamiano Galassi <damiog@gmail.com>
Thu, 19 Jul 2018 06:57:42 +0000 (08:57 +0200)
committerDamiano Galassi <damiog@gmail.com>
Thu, 19 Jul 2018 06:57:42 +0000 (08:57 +0200)
22 files changed:
macosx/Sparkle.framework/Versions/A/Headers/SPUDownloadData.h [changed mode: 0755->0644]
macosx/Sparkle.framework/Versions/A/Headers/SPUDownloader.h [changed mode: 0755->0644]
macosx/Sparkle.framework/Versions/A/Headers/SPUDownloaderDelegate.h [changed mode: 0755->0644]
macosx/Sparkle.framework/Versions/A/Headers/SPUDownloaderProtocol.h [changed mode: 0755->0644]
macosx/Sparkle.framework/Versions/A/Headers/SPUURLRequest.h [changed mode: 0755->0644]
macosx/Sparkle.framework/Versions/A/Headers/SUAppcast.h
macosx/Sparkle.framework/Versions/A/Headers/SUCodeSigningVerifier.h [new file with mode: 0644]
macosx/Sparkle.framework/Versions/A/Headers/SUUpdater.h
macosx/Sparkle.framework/Versions/A/Headers/SUUpdaterDelegate.h
macosx/Sparkle.framework/Versions/A/Headers/Sparkle.h
macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Info.plist
macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate
macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop
macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/SUStatus.nib
macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/de.lproj/Sparkle.strings [new file with mode: 0644]
macosx/Sparkle.framework/Versions/A/Resources/Info.plist
macosx/Sparkle.framework/Versions/A/Resources/SUStatus.nib
macosx/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings [new file with mode: 0644]
macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib [deleted file]
macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib [deleted file]
macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib [deleted file]
macosx/Sparkle.framework/Versions/A/Sparkle

index f2f433895253dec562b2727287244d82b1ec8c88..34276b7da4dd09552305a30437cffe7154df4538 100644 (file)
@@ -22,12 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
 SU_EXPORT @interface SUAppcast : NSObject
 
 @property (copy, nullable) NSString *userAgentString;
-
-#if __has_feature(objc_generics)
 @property (copy, nullable) NSDictionary<NSString *, NSString *> *httpHeaders;
-#else
-@property (copy, nullable) NSDictionary *httpHeaders;
-#endif
 
 - (void)fetchAppcastFromURL:(NSURL *)url inBackground:(BOOL)bg completionBlock:(void (^)(NSError *_Nullable))err;
 - (SUAppcast *)copyWithoutDeltaUpdates;
diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUCodeSigningVerifier.h b/macosx/Sparkle.framework/Versions/A/Headers/SUCodeSigningVerifier.h
new file mode 100644 (file)
index 0000000..f034cd2
--- /dev/null
@@ -0,0 +1,22 @@
+//
+//  SUCodeSigningVerifier.h
+//  Sparkle
+//
+//  Created by Andy Matuschak on 7/5/12.
+//
+//
+
+#ifndef SUCODESIGNINGVERIFIER_H
+#define SUCODESIGNINGVERIFIER_H
+
+#import <Foundation/Foundation.h>
+#import "SUExport.h"
+
+SU_EXPORT @interface SUCodeSigningVerifier : NSObject
++ (BOOL)codeSignatureAtBundleURL:(NSURL *)oldBundlePath matchesSignatureAtBundleURL:(NSURL *)newBundlePath error:(NSError  **)error;
++ (BOOL)codeSignatureIsValidAtBundleURL:(NSURL *)bundlePath error:(NSError **)error;
++ (BOOL)bundleAtURLIsCodeSigned:(NSURL *)bundlePath;
++ (NSDictionary *)codeSignatureInfoAtBundleURL:(NSURL *)bundlePath;
+@end
+
+#endif
index a47447559d30863fb7ec7440b6fb30b625f12748..bc1d49163b1844444e8bd36c521d1882c5d6f5ce 100644 (file)
@@ -160,11 +160,7 @@ SU_EXPORT @interface SUUpdater : NSObject
 
  The keys of this dictionary are HTTP header fields (NSString) and values are corresponding values (NSString)
  */
-#if __has_feature(objc_generics)
 @property (copy) NSDictionary<NSString *, NSString *> *httpHeaders;
-#else
-@property (copy) NSDictionary *httpHeaders;
-#endif
 
 /*!
  A property indicating whether or not the user's system profile information is sent when checking for updates.
index dbc1402401142559b9b5659b75e0e248aeaab1ef..86d1eb9e966684b127ca79fcfc1a7103a87c8b98 100644 (file)
@@ -64,11 +64,7 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
  
  \return An array of dictionaries with keys: "key", "value", "displayKey", "displayValue", the latter two being specifically for display to the user.
  */
-#if __has_feature(objc_generics)
 - (NSArray<NSDictionary<NSString *, NSString *> *> *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile;
-#else
-- (NSArray *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile;
-#endif
 
 /*!
  Returns a custom appcast URL.
@@ -137,6 +133,14 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
  */
 - (void)updater:(SUUpdater *)updater willDownloadUpdate:(SUAppcastItem *)item withRequest:(NSMutableURLRequest *)request;
 
+/*!
+ Called immediately after succesfull download of the specified update.
+ \param updater The SUUpdater instance.
+ \param item The appcast item corresponding to the update that has been downloaded.
+ */
+- (void)updater:(SUUpdater *)updater didDownloadUpdate:(SUAppcastItem *)item;
+
 /*!
  Called after the specified update failed to download.
  
@@ -153,6 +157,22 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
  */
 - (void)userDidCancelDownload:(SUUpdater *)updater;
 
+/*!
+ Called immediately before extracting the specified downloaded update.
+ \param updater The SUUpdater instance.
+ \param item The appcast item corresponding to the update that is proposed to be extracted.
+ */
+- (void)updater:(SUUpdater *)updater willExtractUpdate:(SUAppcastItem *)item;
+
+/*!
+ Called immediately after extracting the specified downloaded update.
+ \param updater The SUUpdater instance.
+ \param item The appcast item corresponding to the update that has been extracted.
+ */
+- (void)updater:(SUUpdater *)updater didExtractUpdate:(SUAppcastItem *)item;
+
 /*!
  Called immediately before installing the specified update.
  
index 661b1312baf8334635ea2b6fddcbc668f4526f38..5ae2e6a6dba3538431a0dc05411eb286627cbbda 100644 (file)
@@ -28,5 +28,6 @@
 #import "SPUDownloaderProtocol.h"
 #import "SPUDownloaderSession.h"
 #import "SPUURLRequest.h"
+#import "SUCodeSigningVerifier.h"
 
 #endif
index 9008e169a67998c9d55fc72d0bc386228cf63360..5f899bd94db0caca4f2b2b12992acdfba3d9c270 100644 (file)
@@ -3,7 +3,7 @@
 <plist version="1.0">
 <dict>
        <key>BuildMachineOSBuild</key>
-       <string>17F35e</string>
+       <string>18A326h</string>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
@@ -17,7 +17,7 @@
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.19.0</string>
+       <string>1.20.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleSupportedPlatforms</key>
                <string>MacOSX</string>
        </array>
        <key>CFBundleVersion</key>
-       <string>1.19.0</string>
+       <string>1.20.0</string>
        <key>DTCompiler</key>
        <string>com.apple.compilers.llvm.clang.1_0</string>
        <key>DTPlatformBuild</key>
-       <string>9C34b</string>
+       <string>10L176w</string>
        <key>DTPlatformVersion</key>
        <string>GM</string>
        <key>DTSDKBuild</key>
-       <string>17C67a</string>
+       <string>18A293s</string>
        <key>DTSDKName</key>
-       <string>macosx10.13</string>
+       <string>macosx10.14</string>
        <key>DTXcode</key>
-       <string>0920</string>
+       <string>1000</string>
        <key>DTXcodeBuild</key>
-       <string>9C34b</string>
+       <string>10L176w</string>
        <key>LSBackgroundOnly</key>
        <string>1</string>
        <key>LSMinimumSystemVersion</key>
index e252ce6bdce577377be2f21798ffa6f7c8e90803..e6b7b2f4559f5f0aa7fff385334cd60a2cd9c62c 100755 (executable)
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate and b/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate differ
index 7ef8291eb1205ddfbb820644b5fb15109f9d8e3f..bc0b942cdf2ce28e0af16fccfbd89220052cd16f 100755 (executable)
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop and b/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop differ
index d7904ddc2eb6552dcd7da8abdd3474bc5ab0eabc..da18126a3efe8ea9d45d8b2d7277e5e24cbd3e7b 100644 (file)
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/SUStatus.nib and b/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/SUStatus.nib differ
diff --git a/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/de.lproj/Sparkle.strings b/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/de.lproj/Sparkle.strings
new file mode 100644 (file)
index 0000000..698dc67
Binary files /dev/null and b/macosx/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/de.lproj/Sparkle.strings differ
index 922de9dcfeea04e053d320d5a7a0d862df2f59d2..6c98df952e6cb30f8c5b51536a11b5e1fe0ba8dd 100644 (file)
@@ -3,7 +3,7 @@
 <plist version="1.0">
 <dict>
        <key>BuildMachineOSBuild</key>
-       <string>17F35e</string>
+       <string>18A326h</string>
        <key>CFBundleDevelopmentRegion</key>
        <string>en</string>
        <key>CFBundleExecutable</key>
@@ -17,7 +17,7 @@
        <key>CFBundlePackageType</key>
        <string>FMWK</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.19.0</string>
+       <string>1.20.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleSupportedPlatforms</key>
                <string>MacOSX</string>
        </array>
        <key>CFBundleVersion</key>
-       <string>1.19.0</string>
+       <string>1.20.0</string>
        <key>DTCompiler</key>
        <string>com.apple.compilers.llvm.clang.1_0</string>
        <key>DTPlatformBuild</key>
-       <string>9C34b</string>
+       <string>10L176w</string>
        <key>DTPlatformVersion</key>
        <string>GM</string>
        <key>DTSDKBuild</key>
-       <string>17C67a</string>
+       <string>18A293s</string>
        <key>DTSDKName</key>
-       <string>macosx10.13</string>
+       <string>macosx10.14</string>
        <key>DTXcode</key>
-       <string>0920</string>
+       <string>1000</string>
        <key>DTXcodeBuild</key>
-       <string>9C34b</string>
+       <string>10L176w</string>
 </dict>
 </plist>
index d7904ddc2eb6552dcd7da8abdd3474bc5ab0eabc..da18126a3efe8ea9d45d8b2d7277e5e24cbd3e7b 100644 (file)
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/SUStatus.nib and b/macosx/Sparkle.framework/Versions/A/Resources/SUStatus.nib differ
diff --git a/macosx/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings b/macosx/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings
new file mode 100644 (file)
index 0000000..698dc67
Binary files /dev/null and b/macosx/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings differ
diff --git a/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib b/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib
deleted file mode 100644 (file)
index 4236118..0000000
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib and /dev/null differ
diff --git a/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib b/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib
deleted file mode 100644 (file)
index 44ea780..0000000
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib and /dev/null differ
diff --git a/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib b/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib
deleted file mode 100644 (file)
index 1dd0f78..0000000
Binary files a/macosx/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib and /dev/null differ
index 6bbd14b1531da576329fa6f048a7271c7515431f..7e7be76cd8128152f8471531cf8543a62668d337 100755 (executable)
Binary files a/macosx/Sparkle.framework/Versions/A/Sparkle and b/macosx/Sparkle.framework/Versions/A/Sparkle differ