-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from jmjones88/master
Merge several outstanding pull requests and update for Xcode 7.3. Thanks everyone!
- Loading branch information
Showing
56 changed files
with
3,143 additions
and
13,424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
osx_image: xcode7.3 | ||
language: objective-c | ||
script: make hermes XCB=xctool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/PrivateHeaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
Frameworks/Sparkle.framework/Versions/A/Headers/SUErrors.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// SUErrors.h | ||
// Sparkle | ||
// | ||
// Created by C.W. Betts on 10/13/14. | ||
// Copyright (c) 2014 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#ifndef SUERRORS_H | ||
#define SUERRORS_H | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "SUExport.h" | ||
|
||
/** | ||
* Error domain used by Sparkle | ||
*/ | ||
SU_EXPORT extern NSString *const SUSparkleErrorDomain; | ||
|
||
typedef NS_ENUM(OSStatus, SUError) { | ||
// Appcast phase errors. | ||
SUAppcastParseError = 1000, | ||
SUNoUpdateError = 1001, | ||
SUAppcastError = 1002, | ||
SURunningFromDiskImageError = 1003, | ||
|
||
// Downlaod phase errors. | ||
SUTemporaryDirectoryError = 2000, | ||
|
||
// Extraction phase errors. | ||
SUUnarchivingError = 3000, | ||
SUSignatureError = 3001, | ||
|
||
// Installation phase errors. | ||
SUFileCopyFailure = 4000, | ||
SUAuthenticationFailure = 4001, | ||
SUMissingUpdateError = 4002, | ||
SUMissingInstallerToolError = 4003, | ||
SURelaunchError = 4004, | ||
SUInstallationError = 4005, | ||
SUDowngradeError = 4006, | ||
|
||
// System phase errors | ||
SUSystemPowerOffError = 5000 | ||
}; | ||
|
||
#endif |
18 changes: 18 additions & 0 deletions
18
Frameworks/Sparkle.framework/Versions/A/Headers/SUExport.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// SUExport.h | ||
// Sparkle | ||
// | ||
// Created by Jake Petroules on 2014-08-23. | ||
// Copyright (c) 2014 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#ifndef SUEXPORT_H | ||
#define SUEXPORT_H | ||
|
||
#ifdef BUILDING_SPARKLE | ||
#define SU_EXPORT __attribute__((visibility("default"))) | ||
#else | ||
#define SU_EXPORT | ||
#endif | ||
|
||
#endif |
38 changes: 38 additions & 0 deletions
38
Frameworks/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// | ||
// SUStandardVersionComparator.h | ||
// Sparkle | ||
// | ||
// Created by Andy Matuschak on 12/21/07. | ||
// Copyright 2007 Andy Matuschak. All rights reserved. | ||
// | ||
|
||
#ifndef SUSTANDARDVERSIONCOMPARATOR_H | ||
#define SUSTANDARDVERSIONCOMPARATOR_H | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "SUExport.h" | ||
#import "SUVersionComparisonProtocol.h" | ||
|
||
/*! | ||
Sparkle's default version comparator. | ||
This comparator is adapted from MacPAD, by Kevin Ballard. | ||
It's "dumb" in that it does essentially string comparison, | ||
in components split by character type. | ||
*/ | ||
SU_EXPORT @interface SUStandardVersionComparator : NSObject <SUVersionComparison> | ||
|
||
/*! | ||
Returns a singleton instance of the comparator. | ||
*/ | ||
+ (SUStandardVersionComparator *)defaultComparator; | ||
|
||
/*! | ||
Compares version strings through textual analysis. | ||
See the implementation for more details. | ||
*/ | ||
- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; | ||
@end | ||
|
||
#endif |
Oops, something went wrong.