diff --git a/CHANGELOG b/CHANGELOG index 1af8a3e9..ce1aa63f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -56,7 +56,7 @@ Important security fixes: - Strong documentation, easier to read code. * Automatic updates won't be installed if the system is about to shut off (Zorg) * Deprecated serving over HTTP without DSA (Zorg) - - Note that Apple has deprecated insecure HTTP in OS X 10.11 + - Note that Apple has deprecated insecure HTTP in macOS 10.11 * Improved Autoupdate application (Zorg) * Do all the installation work after the runloop is set up * TerminationListener only does termination listening now @@ -154,12 +154,12 @@ Important security fixes: # 1.8.0 (Jul 26, 2014) -* New SUDSAVerifier based on up-to-date OS X APIs (Zachary Waldowski) +* New SUDSAVerifier based on up-to-date macOS APIs (Zachary Waldowski) * Detailed error log for failed signature checks (Kornel LesiƄski) * Converted Sparkle to ARC (C.W. Betts) * Converted ivars to properties. (Jake Petroules) * Cocoapod support (Xhacker Liu) -* Quarantine removal on OS X 10.10 (C.W. Betts) +* Quarantine removal on macOS 10.10 (C.W. Betts) * Updated Japanese localization (1024jp) * Added Greek localization @@ -180,7 +180,7 @@ Important security fixes: # 1.7.0 -* Dropped support for OS X 10.6. Sparkle now supports 10.7 and newer (including 10.10 Yosemite) on 64-bit Intel Macs (the last 32-bit Mac was released in 2006). +* Dropped support for macOS 10.6. Sparkle now supports 10.7 and newer (including 10.10 Yosemite) on 64-bit Intel Macs (the last 32-bit Mac was released in 2006). * Removed use of deprecated functions (Zachary Waldowski) * Switched to modern Obj-C runtime and new literals syntax * Removed pre-10.7 code. (C.W. Betts) diff --git a/Documentation/Doxyfile b/Documentation/Doxyfile index a2d21a3e..4b6ae1ae 100644 --- a/Documentation/Doxyfile +++ b/Documentation/Doxyfile @@ -1,6 +1,6 @@ PROJECT_NAME = Sparkle -PROJECT_NUMBER = 1.7.1 -PROJECT_BRIEF = "A software update framework for OS X" +PROJECT_NUMBER = 1.14.0 +PROJECT_BRIEF = "A software update framework for macOS" PROJECT_LOGO = Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png RECURSIVE = YES diff --git a/README.markdown b/README.markdown index cc5ce8e1..6d2c22a5 100644 --- a/README.markdown +++ b/README.markdown @@ -6,7 +6,7 @@ An easy-to-use software update framework for Cocoa developers. ## Changes since 1.5b -* Up-to-date with 10.11 SDK and Xcode 7. Supports OS X 10.7+. +* Up-to-date with 10.11 SDK and Xcode 7. Supports macOS 10.7+. * Cleaned up and modernized code, using ARC and Autolayout. * Merged bugfixes, security fixes and some features from multiple Sparkle forks. * Truly automatic background updates (no UI at all) when user agreed to "Automatically download and install updates in the future." @@ -33,7 +33,7 @@ An easy-to-use software update framework for Cocoa developers. ## Requirements -* Runtime: OS X 10.7 or greater +* Runtime: macOS 10.7 or greater * Build: Xcode 5 and 10.8 SDK or greater * HTTPS server for serving updates (see [App Transport Security](http://sparkle-project.org/documentation/app-transport-security/)) diff --git a/Sparkle.podspec b/Sparkle.podspec index e895c250..771dd2de 100644 --- a/Sparkle.podspec +++ b/Sparkle.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Sparkle" s.version = "1.14.0" - s.summary = "A software update framework for OS X" + s.summary = "A software update framework for macOS" s.description = "Sparkle is an easy-to-use software update framework for Cocoa developers." s.homepage = "http://sparkle-project.org" s.documentation_url = "http://sparkle-project.org/documentation/" diff --git a/Sparkle/InstallerProgress/InstallerProgressAppController.m b/Sparkle/InstallerProgress/InstallerProgressAppController.m index d7c72f38..ff58d107 100644 --- a/Sparkle/InstallerProgress/InstallerProgressAppController.m +++ b/Sparkle/InstallerProgress/InstallerProgressAppController.m @@ -97,7 +97,7 @@ static const NSTimeInterval SUTerminationTimeDelay = 0.3; // Close status window immediately, but delay termination for a little bit to better increase the chance // the updated application when relaunched will be the frontmost application -// This is related to OS X activation issues when terminating a frontmost application happens right before +// This is related to macOS activation issues when terminating a frontmost application happens right before // launching another app - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { diff --git a/Sparkle/SUApplicationInfo.m b/Sparkle/SUApplicationInfo.m index 2515a186..f8242be2 100644 --- a/Sparkle/SUApplicationInfo.m +++ b/Sparkle/SUApplicationInfo.m @@ -19,11 +19,11 @@ { // Cache the application icon. NSString *iconPath = [bundle pathForResource:[bundle objectForInfoDictionaryKey:@"CFBundleIconFile"] ofType:@"icns"]; - // According to the OS X docs, "CFBundleIconFile - This key identifies the file containing + // According to the macOS docs, "CFBundleIconFile - This key identifies the file containing // the icon for the bundle. The filename you specify does not need to include the .icns // extension, although it may." // - // However, if it *does* include the '.icns' the above method fails (tested on OS X 10.3.9) so we'll also try: + // However, if it *does* include the '.icns' the above method fails (tested on macOS 10.3.9) so we'll also try: if (!iconPath) { iconPath = [bundle pathForResource:[bundle objectForInfoDictionaryKey:@"CFBundleIconFile"] ofType:nil]; } diff --git a/Sparkle/SUBinaryDeltaCreate.m b/Sparkle/SUBinaryDeltaCreate.m index 477733ae..00807cf5 100644 --- a/Sparkle/SUBinaryDeltaCreate.m +++ b/Sparkle/SUBinaryDeltaCreate.m @@ -91,7 +91,7 @@ static NSDictionary *infoForFile(FTSENT *ent) static bool aclExists(const FTSENT *ent) { - // OS X does not currently support ACLs for symlinks + // macOS does not currently support ACLs for symlinks if (ent->fts_info == FTS_SL) { return NO; } diff --git a/Sparkle/SUFileManager.h b/Sparkle/SUFileManager.h index 67f23427..f06bf3e1 100644 --- a/Sparkle/SUFileManager.h +++ b/Sparkle/SUFileManager.h @@ -157,8 +157,8 @@ NS_ASSUME_NONNULL_BEGIN * @return YES if all the items at the target could be released from quarantine, otherwise NO if any items couldn't along with a populated error object * * This method removes quarantine attributes from an item, ideally an application, so that when the user launches a new application themselves, they - * don't have to witness the OS X dialog alerting them that they downloaded an application from the internet and asking if they want to continue. - * Note that this may not exactly mimic OS X's behavior when a user opens an application for the first time (i.e, the xattr isn't deleted), + * don't have to witness the system dialog alerting them that they downloaded an application from the internet and asking if they want to continue. + * Note that this may not exactly mimic the system behavior when a user opens an application for the first time (i.e, the xattr isn't deleted), * but this should be sufficient enough for our purposes. * * This method may return NO even if some items do get released from quarantine if the target URL is pointing to a directory. diff --git a/Sparkle/SUFileManager.m b/Sparkle/SUFileManager.m index 4b630ebd..4239824c 100644 --- a/Sparkle/SUFileManager.m +++ b/Sparkle/SUFileManager.m @@ -375,7 +375,7 @@ static BOOL SUMakeRefFromURL(NSURL *url, FSRef *ref, NSError **error) { } // Removes the directory tree rooted at |root| from the file quarantine. -// The quarantine was introduced on OS X 10.5 and is described at: +// The quarantine was introduced on macOS 10.5 and is described at: // // http://developer.apple.com/releasenotes/Carbon/RN-LaunchServices/index.html#apple_ref/doc/uid/TP40001369-DontLinkElementID_2 // diff --git a/Sparkle/SUGuidedPackageInstaller.h b/Sparkle/SUGuidedPackageInstaller.h index 61f8b92f..e297cf7c 100644 --- a/Sparkle/SUGuidedPackageInstaller.h +++ b/Sparkle/SUGuidedPackageInstaller.h @@ -11,7 +11,7 @@ A guided installation allows Sparkle to download and install a package (pkg) or multi-package (mpkg) without user interaction. -The installer package is installed using Mac OS X's built-in command line installer, `/usr/sbin/installer`. No installation interface is shown to the user. +The installer package is installed using macOS's built-in command line installer, `/usr/sbin/installer`. No installation interface is shown to the user. A guided installation can be started by applications other than the application being replaced. This is particularly useful where helper applications or agents are used. */ diff --git a/Sparkle/SUURLRequest.h b/Sparkle/SUURLRequest.h index 991782f7..445cd5aa 100644 --- a/Sparkle/SUURLRequest.h +++ b/Sparkle/SUURLRequest.h @@ -11,7 +11,7 @@ NS_ASSUME_NONNULL_BEGIN // A class that wraps NSURLRequest and implements NSSecureCoding -// This class exists because NSURLRequest did not support NSSecureCoding in OS X 10.8 +// This class exists because NSURLRequest did not support NSSecureCoding in macOS 10.8 // I have not verified if NSURLRequest in 10.9 implements NSSecureCoding or not @interface SUURLRequest : NSObject diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index 6d6f336a..5c070e5f 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -140,7 +140,7 @@ self.releaseNotesView.policyDelegate = self; // Set the default font - // "-apple-system-font" is a reference to the system UI font on OS X. "-apple-system" is the new recommended token, but for backward compatibility we can't use it. + // "-apple-system-font" is a reference to the system UI font. "-apple-system" is the new recommended token, but for backward compatibility we can't use it. prefs.standardFontFamily = @"-apple-system-font"; prefs.defaultFontSize = (int)[NSFont systemFontSize]; diff --git a/TestApplication/SUTestApplicationDelegate.m b/TestApplication/SUTestApplicationDelegate.m index 87e39c49..cb9789ff 100644 --- a/TestApplication/SUTestApplicationDelegate.m +++ b/TestApplication/SUTestApplicationDelegate.m @@ -41,7 +41,7 @@ static NSString * const UPDATED_VERSION = @"2.0"; [[NSApplication sharedApplication] terminate:nil]; } - // Apple's file manager may not work well over the network (on OS X 10.11.4 as of writing this), but at the same time + // Apple's file manager may not work well over the network (on macOS 10.11.4 as of writing this), but at the same time // I don't want to have to export SUFileManager in release mode. The test app is primarily // aimed to be used in debug mode, so I think this is a good compromise #ifdef DEBUG diff --git a/Tests/SUFileManagerTest.swift b/Tests/SUFileManagerTest.swift index 3287cddf..bfb6a41f 100644 --- a/Tests/SUFileManagerTest.swift +++ b/Tests/SUFileManagerTest.swift @@ -167,7 +167,7 @@ class SUFileManagerTest: XCTestCase XCTAssertEqual(0, setxattr(fileInDirectoryURL.path!, SUAppleQuarantineIdentifier, quarantineData, quarantineDataLength, 0, XATTR_CREATE)) XCTAssertGreaterThan(getxattr(fileInDirectoryURL.path!, SUAppleQuarantineIdentifier, nil, 0, 0, XATTR_NOFOLLOW), 0) - // Extended attributes can't be set on symbolic links in OS X, currently + // Extended attributes can't be set on symbolic links currently try! fileManager.releaseItemFromQuarantineAtRootURL(validSymlinkURL) XCTAssertGreaterThan(getxattr(directoryURL.path!, SUAppleQuarantineIdentifier, nil, 0, 0, XATTR_NOFOLLOW), 0) XCTAssertEqual(-1, getxattr(validSymlinkURL.path!, SUAppleQuarantineIdentifier, nil, 0, 0, XATTR_NOFOLLOW)) diff --git a/fileop/fileop.m b/fileop/fileop.m index 43efac6b..044f2abc 100644 --- a/fileop/fileop.m +++ b/fileop/fileop.m @@ -124,7 +124,7 @@ int main(int argc, const char *argv[]) } } else if ([command isEqualToString:@(SUFileOpInstallCommand)]) { // The one command that can *only* be run as the root user - NSString *installerPath = @"/usr/sbin/installer"; // Mac OS X 10.2+ command line installer tool + NSString *installerPath = @"/usr/sbin/installer"; NSTask *task = [[NSTask alloc] init]; task.launchPath = installerPath;