Skip to content

Commit 6ee6f49

Browse files
committed
updated sparkle
1 parent 477820b commit 6ee6f49

File tree

176 files changed

+4896
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+4896
-30
lines changed

external_frameworks/Sparkle.framework/Versions/A/Headers/SPUDownloadData.h

100755100644
File mode changed.

external_frameworks/Sparkle.framework/Versions/A/Headers/SPUDownloader.h

100755100644
File mode changed.

external_frameworks/Sparkle.framework/Versions/A/Headers/SPUDownloaderDelegate.h

100755100644
File mode changed.

external_frameworks/Sparkle.framework/Versions/A/Headers/SPUDownloaderProtocol.h

100755100644
File mode changed.

external_frameworks/Sparkle.framework/Versions/A/Headers/SPUURLRequest.h

100755100644
File mode changed.

external_frameworks/Sparkle.framework/Versions/A/Headers/SUAppcast.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
2222
SU_EXPORT @interface SUAppcast : NSObject
2323

2424
@property (copy, nullable) NSString *userAgentString;
25-
26-
#if __has_feature(objc_generics)
2725
@property (copy, nullable) NSDictionary<NSString *, NSString *> *httpHeaders;
28-
#else
29-
@property (copy, nullable) NSDictionary *httpHeaders;
30-
#endif
3126

3227
- (void)fetchAppcastFromURL:(NSURL *)url inBackground:(BOOL)bg completionBlock:(void (^)(NSError *_Nullable))err;
3328
- (SUAppcast *)copyWithoutDeltaUpdates;

external_frameworks/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
#import <Foundation/Foundation.h>
1616
#endif
1717
#import "SUExport.h"
18+
@class SUSignatures;
1819

1920
SU_EXPORT @interface SUAppcastItem : NSObject
2021
@property (copy, readonly) NSString *title;
2122
@property (copy, readonly) NSString *dateString;
23+
@property (copy, readonly) NSDate *date;
2224
@property (copy, readonly) NSString *itemDescription;
2325
@property (strong, readonly) NSURL *releaseNotesURL;
24-
@property (copy, readonly) NSString *DSASignature;
26+
@property (strong, readonly) SUSignatures *signatures;
2527
@property (copy, readonly) NSString *minimumSystemVersion;
2628
@property (copy, readonly) NSString *maximumSystemVersion;
2729
@property (strong, readonly) NSURL *fileURL;
@@ -31,6 +33,7 @@ SU_EXPORT @interface SUAppcastItem : NSObject
3133
@property (copy, readonly) NSString *displayVersionString;
3234
@property (copy, readonly) NSDictionary *deltaUpdates;
3335
@property (strong, readonly) NSURL *infoURL;
36+
@property (copy, readonly) NSNumber* phasedRolloutInterval;
3437

3538
// Initializes with data from a dictionary provided by the RSS class.
3639
- (instancetype)initWithDictionary:(NSDictionary *)dict;
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// SUCodeSigningVerifier.h
3+
// Sparkle
4+
//
5+
// Created by Andy Matuschak on 7/5/12.
6+
//
7+
//
8+
9+
#ifndef SUCODESIGNINGVERIFIER_H
10+
#define SUCODESIGNINGVERIFIER_H
11+
12+
#if __has_feature(modules)
13+
@import Foundation;
14+
#else
15+
#import <Foundation/Foundation.h>
16+
#endif
17+
#import "SUExport.h"
18+
19+
SU_EXPORT @interface SUCodeSigningVerifier : NSObject
20+
+ (BOOL)codeSignatureAtBundleURL:(NSURL *)oldBundlePath matchesSignatureAtBundleURL:(NSURL *)newBundlePath error:(NSError **)error;
21+
+ (BOOL)codeSignatureIsValidAtBundleURL:(NSURL *)bundlePath error:(NSError **)error;
22+
+ (BOOL)bundleAtURLIsCodeSigned:(NSURL *)bundlePath;
23+
+ (NSDictionary *)codeSignatureInfoAtBundleURL:(NSURL *)bundlePath;
24+
@end
25+
26+
#endif

external_frameworks/Sparkle.framework/Versions/A/Headers/SUErrors.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ typedef NS_ENUM(OSStatus, SUError) {
2929
SUNoUpdateError = 1001,
3030
SUAppcastError = 1002,
3131
SURunningFromDiskImageError = 1003,
32+
SURunningTranslocated = 1004,
3233

3334
// Download phase errors.
3435
SUTemporaryDirectoryError = 2000,

external_frameworks/Sparkle.framework/Versions/A/Headers/SUUpdater.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,7 @@ SU_EXPORT @interface SUUpdater : NSObject
160160
161161
The keys of this dictionary are HTTP header fields (NSString) and values are corresponding values (NSString)
162162
*/
163-
#if __has_feature(objc_generics)
164163
@property (copy) NSDictionary<NSString *, NSString *> *httpHeaders;
165-
#else
166-
@property (copy) NSDictionary *httpHeaders;
167-
#endif
168164

169165
/*!
170166
A property indicating whether or not the user's system profile information is sent when checking for updates.
@@ -193,6 +189,8 @@ SU_EXPORT @interface SUUpdater : NSObject
193189
For UI-less/daemon apps that aren't usually quit, instead of this function,
194190
you can use the delegate method
195191
SUUpdaterDelegate::updater:willInstallUpdateOnQuit:immediateInstallationInvocation:
192+
or
193+
SUUpdaterDelegate::updater:willInstallUpdateOnQuit:immediateInstallationBlock:
196194
to immediately start installation when an update was found.
197195
198196
A progress dialog is shown but the user will never be prompted to read the

0 commit comments

Comments
 (0)