diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..4d178a30 --- /dev/null +++ b/.clang-format @@ -0,0 +1,45 @@ +AccessModifierOffset: -4 +AlignEscapedNewlinesLeft: true +AlignTrailingComments: false +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortBlocksOnASingleLine: false +AllowShortFunctionsOnASingleLine: None +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AlwaysBreakBeforeMultilineStrings: false +AlwaysBreakTemplateDeclarations: false +BinPackParameters: true +BreakBeforeBinaryOperators: true +BreakBeforeBraces: Linux +BreakBeforeTernaryOperators: true +BreakConstructorInitializersBeforeComma: false +ColumnLimit: 0 +CommentPragmas: '^ IWYU pragma:' +ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +Cpp11BracedListStyle: false +#DerivePointerAlignment: false +DisableFormat: false +ForEachMacros: foreach,Q_FOREACH +IndentCaseLabels: true +IndentFunctionDeclarationAfterType: true +IndentWidth: 4 +KeepEmptyLinesAtTheStartOfBlocks: false +Language: Cpp +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: All +ObjCSpaceAfterProperty: true +ObjCSpaceBeforeProtocolList: true +#PointerAlignment: Right +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: ControlStatements +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false +SpacesInCStyleCastParentheses: false +SpacesInContainerLiterals: false +SpacesInParentheses: false +Standard: Cpp03 +TabWidth: 4 +UseTab: Never diff --git a/.gitignore b/.gitignore index c74b067f..8b390eb4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -# Xcode -build/* +build/ *.pbxuser !default.pbxuser *.mode1v3 @@ -8,12 +7,30 @@ build/* !default.mode2v3 *.perspectivev3 !default.perspectivev3 -*.xcworkspace -!default.xcworkspace xcuserdata -profile +*.xccheckout *.moved-aside +DerivedData +*.xcuserstate -## Ignore incredibly annoying .DS_Store files .DS_Store -External/*/build/* +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..25bafc13 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,2 @@ +language: objective-c +script: make travis diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 00000000..d8896f4a --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,333 @@ +# 1.10.0 + +* Massive improvements to the BinaryDelta tool (Zorg) + - Ability to track file permissions (Zorg) + - Nicely formatted log output (Zorg) + - Numerous bug fixes in handling of symlinks, empty directories, case-insensitive names, etc. (Zorg) + - Refactored and modernized code (Zorg) + - libxar is no longer weak-linked (C.W. Betts) +* Double-check the code signature of the the app after installation (Isaac Wankerl) +* Added headless guided package installation (Graham Miln) +* Added ability to inject custom HTTP headers in appcast request (Mattias Gunneras) +* Changes to make unarching more reliable (Zorg, Kornel Lesiński) +* Have Sparkle build a framework module (C.W. Betts) +* Stdout used for non error outputs (JDuquennoy) +* French locale update (Kent Sutherland) + +# 1.9.0 + +* Added SUUpdater delegate method for failures. (Benjamin Gordon) +* Make the error definitions public (C.W. Betts) +* Add support for lzma compressed tarballs (Kyle Fuller) +* Back to SKIP_INSTALL=YES by default (Tony Arnold) +* Properly set install names and rpaths for targets (Jake Petroules) +* Use Library/Caches rather than app support directory (Kornel Lesiński) +* Check for a modal window being onscreen before trying to put up the Sparkle prompt (Alf Watt) +* Fixed crashes on 10.7 (Chris Campbell, Ger Teunis) +* Fixed Sparkle tags parsing (Tamás Lustyik) +* SULog code cleanups (Kevin Wojniak) +* Make sure CFBundleVersion is a semantic version number. (Jake Petroules) +* Replace typedef enums with typedef NS_ENUM to make Swift happier (C.W. Betts) +* Fix warnings under Xcode 6.1 relating the SUUpdateAlert XIB (Tony Arnold) +* Prefer string constants to strings (Jake Petroules) +* Use Info.plist keys instead of macros (Jake Petroules) +* Only export public symbols. (Jake Petroules) +* BinaryDelta: avoid crash with bad paths (Jake Petroules) +* Fixing Swedish translations (Erik Vikström) +* Turkish localization fixes (Emir) +* Proofing of Ukrainian localization (Vera Tkachenko) + +# 1.8.0 + +* New SUDSAVerifier based on up-to-date OS X 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) +* Updated Japanese localization (1024jp) +* Added Greek localization + +# 1.7.1 + +* Removed option to install unverified updates (Kornel Lesiński) +* Added detailed log when code signing verification fails (Sam Deane) +* Restored original Sparkle icon. (Jake Petroules) +* Switched SUUpdateAlert.xib to AutoLayout (Kornel Lesiński) +* Replace references to andymatuschak.org with sparkle-project.org. (Jake Petroules) +* Several code cleanups, modernizations, fixed warnings and improved code formatting (Jake Petroules) +* Make the repository significantly more organized. (Jake Petroules) +* Xcode project: set organization name and class prefix. (Jake Petroules) +* Link to Foundation and AppKit instead of Cocoa. (Jake Petroules) +* Use new operatingSystemVersion API when available. (Jake Petroules) +* Add .clang-format configuration file for source code formatting. (Jake Petroules) +* Add a target to build Sparkle API documentation using Doxygen. (Jake Petroules) + +# 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). +* 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) +* Use more Blocks/libdispatch code. (C.W. Betts) +* Cleaned up and improved security of `generate_keys`/`sign_update` scripts + +# 1.6.1 + +* Removed archive password prompt (Kornel Lesiński) +* (Re)fixes bug where URLs are naively double escaped (Andrew Madsen) +* Fixed typo that caused crashes in BinaryDelta (Tamas Lustyik) +* SUStandardVersionComparator.h is public (Vincent CARLIER) +* Remove pre-10.6-specific code. (C.W. Betts) +* Objective C 2 getters and setters. (C.W. Betts) +* Define correct dependencies on locale scripts (Antonin Hildebrand) + +# 1.6.0 + +* Cleaned up and deleted redundant strings files (Kornel Lesiński) +* Modern Objective C syntax, properties where possible. (C.W. Betts) +* Make SUAppcastDelegate a formal protocol. (C.W. Betts) +* Fixed default font in release notes WebView (Kornel Lesiński) +* Configurable name for finish_installation.app (Kornel Lesiński) +* Removed code for 10.4 (Kornel Lesiński) +* Convert all strings files to UTF-8 (UTF-16 must die) (Kornel Lesiński) +* Removing GC target (Matt Thomas) +* finish_installation.app and pkg files will not removed when we use *.pkg installer and restart system in the installer (Takayama Fumihiko) +* Select Korean and Slovak for Sparkle.strings localization (Shon Frazier) +* Updated the Romanian translation (Gabe) +* pt-BR localization polishing (BR Lingo) +* update zh_CN (61) +* Shut up some warnings & make build with newer Xcode (Uli Kusterer) +* Less unsafety with format strings (Uli Kusterer) +* New icon (Rick Fillion) +* fixed a 'content rectangle not entirely onscreen' warning (Simone Manganelli) +* updated sends system profile to use info.plist if user defaults key isn't present (Jamie Pinkham) +* Support for notifications on some updater events (Doug Russell) +* Allow the delegate to trigger a silent install and relaunch (Matt Stevens) +* Support silent relaunches (Matt Stevens) +* Increment the sudden termination counter if installing on quit (Matt Stevens) +* Prompts the user to update after a week (rather than a day) if he doesn't quit the app (Andy Matuschak) +* Adding appcast item element, tag (Andy Matuschak) +* We have this check box that says "Automatically download and install updates in the future." But we only download them automatically. We still ask permission again before installing them. (Andy Matuschak) + +# 1.5.0-beta6 + +* Important Changes + * Sparkle now requires DSA signatures on your updates. Check the documentation for more information on how to set that up if you don't already sign your updates. You can bypass this requirement if you deliver both your appcast and your updates over SSL. +* Sparkle will no longer display release notes located at file:// URLs, since Javascript on such a page would be able to read files on your file system. +* For security reasons, Sparkle will refuse to install updates which appear to "downgrade" the app. +* SUUpdater now implements new keys: "automaticallyDownloadsUpdates", "lastUpdateCheckDate", and "sendsSystemProfile." +* Fixed a bug that could prevent SUProbingUpdateDriver from working. +* Fixed a bug that prevented the updaterWillRelaunchApplication: delegate method from getting called. +* Fixed displaying release notes transmitted "loose" in the key. +* Fixed Sparkle compilation on 10.4 systems. +* Fixed a bug that could cause window confusion if an app changed its LSUIElement at runtime. +* Added support for Sparkle 1.1's behavior of disabling updates when the check interval is 0. +* Sparkle can now handle appending parameters to URLs which already have parameters. +* If an update's sparkle:shortVersionString is the same as the host's CFBundleShortVersionString, the sparkle:version and CFBundleVersion will be presented in parentheticals. + +# 1.5.0-beta5 + +* Important Changes! + * Made every Sparkle class private except for SUUpdater, SUAppcast, SUAppcastItem, and the SUVersionComparisonProtocol. + * There is now a single SUUpdater singleton for every host bundle; instead of -[SUUpdater setHostBundle], you can use +[SUUpdater updaterForBundle]. + * Redefined the (entire) delegate protocol accordingly. + * Renamed -[SUUpdater updatePreferencesChanged] to -[SUUpdater resetUpdateCycle]. This provides better semantics for non-apps, which need to start the update cycle manually. + * -[SUUpdater checkForUpdatesWithDriver] is private. If you were using SUProbingUpdateDriver, you can now use -[SUUpdater checkForUpdateInformation] for a similar effect. + * All the user defaults keys are now private; instead, SUUpdater is KVC-compliant for automaticallyChecksForUpdates, updateCheckInterval, and feedURL. +* Reduced the size of the English-only framework by 25%. +* System profiling information is now only submitted to the server once per week; this will help normalize your statistics across users with different interval preferences. +* The feedParamatersForUpdater: delegate method now requires "displayKey" and "displayVersion" keys so that it can inform the user what's being sent. +* Added a delegate method called pathToRelaunchForUpdater: which can be used for plugins to provide the path which should be used when relaunching the client after installing an update. +* Added support for xml:lang to pick localized nodes in appcasts (for release notes, etc). +* Fixed a bug which would cause the "checking for updates" window to not disappear in certain extraordinary error conditions. +* Fixed a DSA signature checking bug for .tar.gz archives. +* Sparkle now refuses to update on any read-only volume, not just dmgs. +* Sparkle will clean up the host app's name and version before sending it as the user agent string; some non-ASCII characters were causing problems. +* Added an Italian localization courtesy Michele Longhi. +* Added a Swedish localization courtesy Daniel Bergman. +* Fixes to the French localization courtesy Ronald Leroux and Yann Ricqueberg. +* Fixes to the German localization courtesy Sven-S. Porst. +* Fixes to the Russian localization courtesy Alexander Bykov and Anton Sotkov. +* Fixed a number of issues related to archive format detection: I reverted back to extensions from UTIs. +* Focus behavior fixes for LSUIElement apps. +* The status window progress bar now animates even when indeterminate. +* Major refactorings to improve functionality for non-app bundles. + +# 1.5.0-beta4 + +* Fixed a critical bug which prevented non-.dmgs from unarchiving properly. +* Added reporting of 64-bit capability to the profiling system. + +# 1.5.0-beta3 + +* Added a new delegate method to SUUpdater.h to allow delegates to specify custom version comparators. +* Added a German localization, courtesy the Camino localizer team: Dominik Tobschall, Tobias Stohr, and Friedemann Bochow. +* Bug fixes: + * Fixed a serious bug which could cause a server to be DDoS'd (or the host app to crash!) if an appcast fails to be parsed. + * Fixed .tbz extraction if the archive was made with Stuffit. + * Fixed support for .tar.bz2 and .tar.gz; Sparkle has to assume the archive is a tar when it sees "bz2" and "gz"; don't use those without tarring. + * Fixed a typo which caused the shouldPromptForPermissionToCheckForUpdatesToHostBundle: method to not work in 1.5b2. + * Fixed .zip extraction on Tiger (Apple changed the UTI between releases) + * Fixed a crasher on Tiger. + * Fixed display of the default app icon when the host app doesn't have an icon. + * Sparkle now displays a sensible progress string and uses an indeterminate progress bar when the server doesn't report a file size. + * Fixed some memory leaks. + + # 1.5.0-beta2 + + * Compatibility Issues: + * Most of the delegate method selectors have changed to scale better. See SUUpdater.h for changes; you'll likely have to make changes if you implement any delegate methods. + * If you're using .tar.gz or .tar.bz2 archives, name them ".tbz" or ".tgz" instead; Sparkle now uses UTIs for archive detection, and it's not smart about double extensions. + * I'm no longer supporting 10.3. This may or may not work on Panther—probably not. + * Sparkle's no longer built for ppc64 by default. If you want to ship that, feel free to build your own, but this saves a few hundred k. +* Enhancements: + * Sparkle now detects if the preferences for automatic update checks or the time interval change mid-cycle. + * If your product is a non-.app, you need to clue Sparkle in on the change by calling [[SUUpdater sharedUpdater] updatePreferencesChanged]. + * Added a cancel to the "checking for updates..." dialog. + * Sparkle now cleans up all its litter in /tmp. + * Made SUUpdater's delegate an IBOutlet so you can hook it up in IB. +* Bug fixes: + * Sparkle no longer crashes on non-GC hosts when the user cancels an update's downloads. + * Sparkle no longer gets stuck in an inconsistent state or crashes when it can't parse the appcast on scheduled updates. + * Added the sharedUpdater method to SUUpdater, as it should have been. + * Fixed a bug where the "checking for updates..." window wouldn't go away if an error occurs while checking for updates. + * Made the dual-mode build configuration actually use the .xcconfig which builds it with GC support. (oops!) + * Fixed relaunching for prefpanes. + * Sparkle no longer fails to install updates on Snow Leopard (though there's still an issue with trashing the old version of the app, but it seems to be a 10.6 bug) + * Sparkle now handles redirects correctly under Tiger. + * Fixed the installation path for non-.app bundles. + * Fixed a bug which could crash Sparkle under non-English locales. + * Fixed a weird race condition which could cause the relaunch tool to never notice that its target relaunched. + * Fixed a bug where if the host app is inactive when an update occurs, the update alert sometimes doesn't become key. + * Minor textual fixes. +* Localizations: + * Dutch: Maarten Van Coile + * French: Yann Ricquebourg + * Spanish: Ernesto Gomez Cereijo + + # 1.5.0-beta1 + + * The most important things to know: + * The 10.3 support is untested at best; sketchy at worst. Test with it thoroughly before you use it. + * Sparkle now asks for permission to update on second launch; don't be surprised at that. You can change that behavior with a delegate method; read SUUpdater.h for more info. + * We no longer distinguish between "check on startup" and "scheduled updates"; everything is scheduled, with the default being every day. + * The test application is using the new profiling features, but that's only for demonstration: these are off by default. More on this later. + * There are no localizations yet. +* New features: + * Sparkle now supports .pkgs. Just name the .pkg the name of the app and put in the update archive. + * Sparkle now sends optional demographic profiling information; set SUEnableSystemProfiling to YES in your Info.plist and check out the GET data sent to your webserver when fetching the appcast. More on this in the documentation. The test application has this on so you can see the behavior. + * Sparkle now supports updating non-.apps. Just call -setHostBundle: on the global SUUpdater to let it know what you're trying to update. + * Sparkle now supports garbage collection in the host app. Use "Sparkle-with-GC.framework" for that, but be aware it's 10.5-only. + * Sparkle is now 64-bit compatible, compiling both ppc64 and x86_64. + * Sparkle now supports a sparkle:minimumSystemVersion key you can set on appcast items. It does what you think it does. + * Sparkle now checks to see if the host app is running from a disk image and refuses to update if it is. (10.4+ only) + * Added support for entities in enclosure paths. + * The file size output is now formatted prettily. + * Sparkle now gives visual indication that it's checking for updates when the update's user initiated. ie: it pops up a status controller saying "checking for updates..." + * Added support for an SUPublicDSAKeyFile, so people don't have to copy/paste their entire key into their Info.plist. Set this key in your Info.plist to the filename of the key in your Resources directory. + * Added an actually maintainable codebase. +* Changes: + * Sparkle version comparison is now dramatically less stupid and verified by a bunch of unit tests. If something doesn't work the way you think it should, add a test to SUVersionComparisonTest.m + * Added a minimum to the check interval so that developers don't accidentally release their apps into the wild with 60-second test check intervals and have DOS-attack-like results. It's an hour now for release mode; feel free to change it. + * The relaunching process now uses a separate helper app, which is a much more robust method. + * Changed CFBundleShortVersionString behavior: Sparkle no longer uses Apple's about box style of displaying ShortVersionString (CFBundleVersion) when the latter is available. + * No more MD5 checking. Use DSA: it's actually secure. + * The abomination that was SUStatusChecker is dead. Use SUProbingUpdateDriver instead. +* Bugfixes: + * Fixed a huge bug with fully-automatic updating: before, if the user chose to relaunch later, the app would be running from the trash for a while. Now the buttons are "install and relaunch" or "install later." + * Sparkle forces Spotlight to reindex the updated app so that it won't keep pointing to the one in the trash. + * Sparkle trims whitespace from around DSA signatures; this could cause crashes before. + * Fixed a bug where the user choosing to skip a version would inhibit future automatic updates until the next launch. + * Fixed a bug that could occur when the app has a localized CFBundleName. + * .dmgs now work on Leopard. + * The status controller's button now sizes appropriately to the localization. + * Sparkle now works correctly with LSUIElement apps: it focuses them before displaying the update alert. + * Sparkle now deletes failed partial downloads. + * The update alert no longer floats above everything in the app. + * Fixed varied and sundry memory leaks. +* A ton of other things that I've forgotten or were too small to mention! + +# 1.1 + +* Optimized framework size: now only 1.4mb with all localizations and 384kb with only English (an English-only version is in the Extras folder). +* Added a new SUStatusChecker class for programmatically determining if a new version is available (see the docs); thanks, Evan Schoenberg! +* Added support for apps using SIGCHLD; thanks, Augie Fackler! +* Added a zh_CN update from JT Lee +* Added a Polish update from Piotr Chylinski +* Fixed DMG support for images with /Applications symlinks. +* Fixed a really stupid interval-checking bug that could cause repeated hits to the appcast. +* Fixed a bug where the check interval would be inconsistent if a value of 0 was stored in the user defaults. + +# 1.0 + +* Additions: + * Added real version comparison courtesy Kevin Ballard: Sparkle now knows that 0.89 < 1.0a3 < 1.0. + * Added many localizations courtesy David Kocher's localization team. + * Added a much better installation mechanism courtesy Allan Odgaard. + * Added a user agent string to the RSS fetch request. + * Added support for CFBundleShortVersionString in addition to CFBundleVersion, and support for a sparkle:shortVersionString attribute on the enclosure. + * Added support for CFBundleDisplayName if available. +* Changes: + * Automatic updating is now allowed by default, but only if DSA signing is on. + * Pressing Escape or closing the update alert now reminds the user later. + * Now when there's a stored check interval, Sparkle doesn't check immediately on startup the first time the app is launched because the user hasn't consented to it yet. + * The update alert now remembers its size and floats. +* Bug Fixes: + * Fixed installation of DMGs with multiple files enclosed. + * Fixed a nasty memory leak. + * Fixed a bug wherein having no value for allowing automatic updates would display a checkbox for the updates but would not honor it. + * Fixed a bug in zip extraction that occurred in Panther. + * Fixed release notes caching. + * Fixed a bug wherein Sparkle refused to authenticate the installation if the user had cancelled authentication previously in that session. + * Fixed a weird bug that would cause a second help menu to appear on first launch. + * Fixed a bug that could occur when changing the scheduled check interval. + * Fixed a bug wherein the host app could crash if the user clicked Remind Me Later before the release notes finished loading. + * Fixed a bug wherein the behavior was undefined if the user manually initiated a check when an automatic one was already taking place. + * Fixed wrapping on the description field in the update alert. + +# 1.0-beta3 + +* Fixed a nasty crasher that occurred often when the user was not connected to the internet. + +# 1.0-beta2 + +* Major Improvements: + * Fully automatic updating! (see the Documentation: this is beta and off by default) + * Added support for DSA signatures (see the Documentation). + * Added support for MD5 sum verification. + * Added Security.framework-based authentication for installing to privileged directories. + * Huge refactoring of the codebase: there's now a Sparkle Xcode project, Sparkle is now a framework, and everything is modular / abstracted. And no more code-generated interface. +* Minor Improvements: + * A SUUpdaterWillRestartNotification is sent out before restarting now. + * Added key equivalents to alert panel buttons. + * Error handling is much prettier now: technical messages are not presented to the user anymore. + * There's now a test app for developers to see what Sparkle's like before using it. + * Wrote new, pretty, extremely thorough documentation. +* Bug Fixes: + * Relaunch behavior is much improved and shouldn't fail in huge apps anymore. + * Fixed a bug wherein a failing tar command could crash the host app. + * Sparkle now looks at InfoPlist.strings in addition to Info.plist. + * Fixed some stupid typos. + +# 1.0-beta1 + +* Major New Features: + * Sparkle now supports scheduled periodic updates—read the Readme for information on how to use it. + * Sparkle now supports WebKit-based release notes (for CSS and full HTML), which it displays in the main update alert, not a separate panel. The Readme has much more information. Sparkle will, of course, fall back on NSTextView if the host app does not include WebKit. +* Minor New Features: + * Added support for .zip update archives. + * Added support for .dmg update archives. + * Implemented Remind Me Later to replace simple update cancellation. + * Implemented Skip This Version functionality. + * Added support for multiple feeds via the user defaults SUFeedURL key taking precedent over the one in Info.plist. + * Added support for Sparkle's custom XML namespace, which is optional but may prove useful. See the Readme for more information. +* Bug Fixes: + * Sparkle will no longer enter an inconsistent state if the user tries to update again while one is already in progress. + * Sparkle now uses CFBundleName to determine the application's name instead of the app's filename. + * Sparkle no longer crashes if the user cancels during extraction. + * Lots of code refactoring. + +# 0.1 + +* Initial Release diff --git a/Configurations/ConfigBinaryDelta.xcconfig b/Configurations/ConfigBinaryDelta.xcconfig index 2f84a51e..912b8190 100644 --- a/Configurations/ConfigBinaryDelta.xcconfig +++ b/Configurations/ConfigBinaryDelta.xcconfig @@ -1,8 +1,3 @@ // BinaryDelta tool only PRODUCT_NAME = BinaryDelta -GCC_PREFIX_HEADER = -MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=x86_64] = 10.5 diff --git a/Configurations/ConfigBinaryDeltaDebug.xcconfig b/Configurations/ConfigBinaryDeltaDebug.xcconfig index cd893a71..3be980b1 100644 --- a/Configurations/ConfigBinaryDeltaDebug.xcconfig +++ b/Configurations/ConfigBinaryDeltaDebug.xcconfig @@ -1,5 +1,2 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonDebug.xcconfig" #include "ConfigBinaryDelta.xcconfig" -OTHER_CFLAGS = -DDEBUG diff --git a/Configurations/ConfigBinaryDeltaRelease.xcconfig b/Configurations/ConfigBinaryDeltaRelease.xcconfig index cb462259..3e22baaa 100644 --- a/Configurations/ConfigBinaryDeltaRelease.xcconfig +++ b/Configurations/ConfigBinaryDeltaRelease.xcconfig @@ -1,3 +1 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonRelease.xcconfig" #include "ConfigBinaryDelta.xcconfig" diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index c427ec38..d8a10705 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -1,51 +1,77 @@ // Common -PREBINDING = NO -ZERO_LINK = NO -CURRENT_PROJECT_VERSION = 1.5 -SDKROOT = macosx -MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 -MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 -MACOSX_DEPLOYMENT_TARGET[arch=x86_64] = 10.5 -GCC_C_LANGUAGE_STANDARD = c99 -GCC_ENABLE_OBJC_EXCEPTIONS = YES -GCC_DEBUGGING_SYMBOLS = full +SPARKLE_BUNDLE_IDENTIFIER = org.andymatuschak.Sparkle +SPARKLE_RELAUNCH_TOOL_NAME = Autoupdate + +SPARKLE_APPEND_VERSION_NUMBER = 1 + +// Sparkle usually doesn't allow downgrades as they're usually accidental, but +// if your app has a downgrade function or URL handler, turn this on +SPARKLE_AUTOMATED_DOWNGRADES = 0 + +// 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": +SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME = 0 + +SPARKLE_VERSION_MAJOR = 1 +SPARKLE_VERSION_MINOR = 10 +SPARKLE_VERSION_PATCH = 0 +SPARKLE_VERSION = $(SPARKLE_VERSION_MAJOR).$(SPARKLE_VERSION_MINOR).$(SPARKLE_VERSION_PATCH) + +CURRENT_PROJECT_VERSION = $(SPARKLE_VERSION) +ALWAYS_SEARCH_USER_PATHS = NO GCC_PRECOMPILE_PREFIX_HEADER = YES -GCC_PREFIX_HEADER = $(SDKROOT)/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h -GCC_FAST_OBJC_DISPATCH = YES -GCC_ENABLE_PASCAL_STRINGS = NO -ARCHS = ppc i386 x86_64 -GCC_VERSION = com.apple.compilers.llvm.clang.1_0 -CLANG_LINK_OBJC_RUNTIME = NO +GCC_PREFIX_HEADER = Sparkle/Sparkle.pch +GCC_SYMBOLS_PRIVATE_EXTERN = YES +GCC_INLINES_ARE_PRIVATE_EXTERN = YES +ARCHS = $(ARCHS_STANDARD) +MACOSX_DEPLOYMENT_TARGET = 10.7 + +GCC_PREPROCESSOR_DEFINITIONS = SPARKLE_BUNDLE_IDENTIFIER=\"$(SPARKLE_BUNDLE_IDENTIFIER)\" SPARKLE_RELAUNCH_TOOL_NAME=\"$(SPARKLE_RELAUNCH_TOOL_NAME)\" +CLANG_ENABLE_OBJC_ARC = YES // Enable warnings -GCC_WARN_CHECK_SWITCH_STATEMENTS = YES -GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = YES -GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES -GCC_WARN_SHADOW = YES +CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES +CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES +CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES +CLANG_ENABLE_MODULES = YES +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_EMPTY_BODY = YES +CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES +CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES +CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES +CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS = YES +CLANG_WARN_OBJC_RECEIVER_WEAK = YES +CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES GCC_WARN_64_TO_32_BIT_CONVERSION = YES -GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES -GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES -GCC_WARN_ABOUT_RETURN_TYPE = YES -GCC_WARN_MISSING_PARENTHESES = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES GCC_WARN_ABOUT_MISSING_NEWLINE = YES -GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES -GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES -GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES -GCC_WARN_SIGN_COMPARE = YES -GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES -GCC_WARN_UNKNOWN_PRAGMAS = YES -GCC_WARN_UNUSED_VARIABLE = YES -GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES -GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = YES GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES +GCC_WARN_ABOUT_RETURN_TYPE = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES -GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = YES +GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_MULTIPLE_DEFINITION_TYPES_FOR_SELECTOR = YES +GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES +GCC_WARN_PEDANTIC = YES +GCC_WARN_SHADOW = YES +GCC_WARN_SIGN_COMPARE = YES +GCC_WARN_STRICT_SELECTOR_MATCH = YES +GCC_WARN_UNDECLARED_SELECTOR = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_LABEL = YES -GCC_WARN_UNUSED_VALUE = YES GCC_WARN_UNUSED_PARAMETER = YES -GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES -GCC_WARN_UNDECLARED_SELECTOR = YES -WARNING_CFLAGS = -Wall -Wno-unused-parameter -Werror -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wpacked -Wredundant-decls -Winline -Wdisabled-optimization -Wformat -Wformat-security -Wformat-y2k -Winvalid-pch +GCC_WARN_UNUSED_VARIABLE = YES + +// These should be removed once the conversion to ARC is complete +WARNING_CFLAGS_EXTRA = -Wno-custom-atomic-properties -Wno-implicit-atomic-properties + +// Turn on all warnings, then disable a few which are almost impossible to avoid +WARNING_CFLAGS = -Wall -Weverything -Wno-empty-translation-unit -Wno-unused-macros -Wno-gnu-statement-expression -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-auto-import -Wno-cstring-format-directive $(WARNING_CFLAGS_EXTRA) diff --git a/Configurations/ConfigCommonDebug.xcconfig b/Configurations/ConfigCommonDebug.xcconfig index 36003c98..90332131 100644 --- a/Configurations/ConfigCommonDebug.xcconfig +++ b/Configurations/ConfigCommonDebug.xcconfig @@ -1,10 +1,11 @@ +#include "ConfigCommon.xcconfig" + // Debug only GCC_OPTIMIZATION_LEVEL = 0 DEBUG_INFORMATION_FORMAT = dwarf GCC_GENERATE_DEBUGGING_SYMBOLS = YES -SPARKLE_EXTRA_DEBUG_10_5_ONLY = -fstack-protector -D_FORTIFY_SOURCE=2 SPARKLE_EXTRA_DEBUG = -DDEBUG OTHER_CFLAGS = $(SPARKLE_EXTRA_DEBUG) - -// Add $(SPARKLE_EXTRA_DEBUG_10_5_ONLY) to SPARKLE_EXTRA_DEBUG if your deployment is 10.5 or greater. \ No newline at end of file +ONLY_ACTIVE_ARCH = YES +COPY_PHASE_STRIP = NO diff --git a/Configurations/ConfigCommonRelease.xcconfig b/Configurations/ConfigCommonRelease.xcconfig index 19e09866..acffc466 100644 --- a/Configurations/ConfigCommonRelease.xcconfig +++ b/Configurations/ConfigCommonRelease.xcconfig @@ -1,8 +1,10 @@ +#include "ConfigCommon.xcconfig" + // Release only GCC_OPTIMIZATION_LEVEL = s DEBUG_INFORMATION_FORMAT = dwarf-with-dsym -GCC_GENERATE_DEBUGGING_SYMBOLS = NO +GCC_GENERATE_DEBUGGING_SYMBOLS = YES DEAD_CODE_STRIPPING = YES -GCC_TREAT_WARNINGS_AS_ERRORS = YES +GCC_TREAT_WARNINGS_AS_ERRORS = NO GCC_WARN_UNINITIALIZED_AUTOS = YES diff --git a/Configurations/ConfigFramework.xcconfig b/Configurations/ConfigFramework.xcconfig index c1bb2081..36495106 100644 --- a/Configurations/ConfigFramework.xcconfig +++ b/Configurations/ConfigFramework.xcconfig @@ -1,10 +1,13 @@ // Framework only -INSTALL_PATH = @loader_path/../Frameworks -DYLIB_COMPATIBILITY_VERSION = 1.5 -DYLIB_CURRENT_VERSION = 1.5 +DYLIB_INSTALL_NAME_BASE = @rpath +DYLIB_COMPATIBILITY_VERSION = 1.6 +DYLIB_CURRENT_VERSION = $(SPARKLE_VERSION_MAJOR).$(SPARKLE_VERSION_MINOR).$(SPARKLE_VERSION_PATCH) PRODUCT_NAME = Sparkle WRAPPER_EXTENSION = framework FRAMEWORK_VERSION = A -INFOPLIST_FILE = Info.plist -GCC_PREFIX_HEADER = Sparkle.pch +INFOPLIST_FILE = Sparkle/Sparkle-Info.plist +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BUILDING_SPARKLE=1 +OTHER_LDFLAGS = -Wl,-U,_NSURLQuarantinePropertiesKey +SKIP_INSTALL = YES +DEFINES_MODULE = YES diff --git a/Configurations/ConfigFrameworkDebug.xcconfig b/Configurations/ConfigFrameworkDebug.xcconfig index e256c490..184b8a7d 100644 --- a/Configurations/ConfigFrameworkDebug.xcconfig +++ b/Configurations/ConfigFrameworkDebug.xcconfig @@ -1,5 +1,4 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonDebug.xcconfig" #include "ConfigFramework.xcconfig" -OTHER_CFLAGS = -DDEBUG +// Unit tests need access to non-public classes +GCC_SYMBOLS_PRIVATE_EXTERN = NO diff --git a/Configurations/ConfigFrameworkRelease.xcconfig b/Configurations/ConfigFrameworkRelease.xcconfig index 47fd2cbe..d962acf5 100644 --- a/Configurations/ConfigFrameworkRelease.xcconfig +++ b/Configurations/ConfigFrameworkRelease.xcconfig @@ -1,5 +1,3 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonRelease.xcconfig" #include "ConfigFramework.xcconfig" diff --git a/Configurations/ConfigFrameworkReleaseGCSupport.xcconfig b/Configurations/ConfigFrameworkReleaseGCSupport.xcconfig deleted file mode 100644 index a332aaf9..00000000 --- a/Configurations/ConfigFrameworkReleaseGCSupport.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "ConfigFrameworkRelease.xcconfig" - -GCC_ENABLE_OBJC_GC = supported \ No newline at end of file diff --git a/Configurations/ConfigRelaunch.xcconfig b/Configurations/ConfigRelaunch.xcconfig index dc86e168..292437c9 100644 --- a/Configurations/ConfigRelaunch.xcconfig +++ b/Configurations/ConfigRelaunch.xcconfig @@ -1,4 +1,8 @@ // Relaunch Tool only -PRODUCT_NAME = finish_installation +INFOPLIST_FILE = Sparkle/Autoupdate/Autoupdate-Info.plist +PRODUCT_NAME = $(SPARKLE_RELAUNCH_TOOL_NAME) SKIP_INSTALL = YES +ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon +CLANG_ENABLE_MODULES = NO +OTHER_LDFLAGS = -Wl,-U,_NSURLQuarantinePropertiesKey diff --git a/Configurations/ConfigRelaunchDebug.xcconfig b/Configurations/ConfigRelaunchDebug.xcconfig index 94094110..4ddb5d77 100644 --- a/Configurations/ConfigRelaunchDebug.xcconfig +++ b/Configurations/ConfigRelaunchDebug.xcconfig @@ -1,5 +1 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonDebug.xcconfig" #include "ConfigRelaunch.xcconfig" - -OTHER_CFLAGS = -DDEBUG diff --git a/Configurations/ConfigRelaunchRelease.xcconfig b/Configurations/ConfigRelaunchRelease.xcconfig index 111f2add..4ddb5d77 100644 --- a/Configurations/ConfigRelaunchRelease.xcconfig +++ b/Configurations/ConfigRelaunchRelease.xcconfig @@ -1,3 +1 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonRelease.xcconfig" #include "ConfigRelaunch.xcconfig" diff --git a/Configurations/ConfigTestApp.xcconfig b/Configurations/ConfigTestApp.xcconfig index 36540ca4..db13e9e7 100644 --- a/Configurations/ConfigTestApp.xcconfig +++ b/Configurations/ConfigTestApp.xcconfig @@ -1,5 +1,8 @@ // Test Application only -INFOPLIST_FILE = Test Application/Test Application-Info.plist +INFOPLIST_FILE = TestApplication/TestApplication-Info.plist PRODUCT_NAME = Sparkle Test App WRAPPER_EXTENSION = app +ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon +CLANG_ENABLE_OBJC_ARC = NO +LD_RUNPATH_SEARCH_PATHS = @executable_path/../Frameworks diff --git a/Configurations/ConfigTestAppDebug.xcconfig b/Configurations/ConfigTestAppDebug.xcconfig index 9833128e..476c0f07 100644 --- a/Configurations/ConfigTestAppDebug.xcconfig +++ b/Configurations/ConfigTestAppDebug.xcconfig @@ -1,5 +1,2 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonDebug.xcconfig" #include "ConfigTestApp.xcconfig" -OTHER_CFLAGS = -DDEBUG diff --git a/Configurations/ConfigTestAppRelease.xcconfig b/Configurations/ConfigTestAppRelease.xcconfig index 48143e3f..de0d2802 100644 --- a/Configurations/ConfigTestAppRelease.xcconfig +++ b/Configurations/ConfigTestAppRelease.xcconfig @@ -1,3 +1 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonRelease.xcconfig" #include "ConfigTestApp.xcconfig" diff --git a/Configurations/ConfigTestAppReleaseGCSupport.xcconfig b/Configurations/ConfigTestAppReleaseGCSupport.xcconfig deleted file mode 100644 index 0ac40c55..00000000 --- a/Configurations/ConfigTestAppReleaseGCSupport.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "ConfigTestAppRelease.xcconfig" - -GCC_ENABLE_OBJC_GC = required \ No newline at end of file diff --git a/Configurations/ConfigUnitTest.xcconfig b/Configurations/ConfigUnitTest.xcconfig index ee0fe205..73900eca 100644 --- a/Configurations/ConfigUnitTest.xcconfig +++ b/Configurations/ConfigUnitTest.xcconfig @@ -1,10 +1,10 @@ // Unit Test only -INFOPLIST_FILE = Tests/Sparkle Unit Tests-Info.plist -OTHER_LDFLAGS = -framework Cocoa -framework SenTestingKit +INFOPLIST_FILE = Tests/SparkleTests-Info.plist PRODUCT_NAME = Sparkle Unit Tests -WRAPPER_EXTENSION = octest -FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_LIBRARY_DIR)/Frameworks -GCC_PREFIX_HEADER = $(SYSTEM_LIBRARY_DIR)/Frameworks/Cocoa.framework/Headers/Cocoa.h -GCC_PRECOMPILE_PREFIX_HEADER = YES -MACOSX_DEPLOYMENT_TARGET = 10.6 +WRAPPER_EXTENSION = xctest +OTHER_CFLAGS = $(inherited) -iframework"$(DEVELOPER_FRAMEWORKS_DIR)" -iframework"$(PLATFORM_DIR)/Developer/Library/Frameworks" +GCC_SYMBOLS_PRIVATE_EXTERN = NO +WARNING_CFLAGS = $(inherited) -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments +FRAMEWORK_SEARCH_PATHS = $(inherited) $(DEVELOPER_FRAMEWORKS_DIR) +LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks diff --git a/Configurations/ConfigUnitTestDebug.xcconfig b/Configurations/ConfigUnitTestDebug.xcconfig index 354e9361..e2481b5e 100644 --- a/Configurations/ConfigUnitTestDebug.xcconfig +++ b/Configurations/ConfigUnitTestDebug.xcconfig @@ -1,3 +1 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonDebug.xcconfig" #include "ConfigUnitTest.xcconfig" diff --git a/Configurations/ConfigUnitTestRelease.xcconfig b/Configurations/ConfigUnitTestRelease.xcconfig index 53dd6b93..e2481b5e 100644 --- a/Configurations/ConfigUnitTestRelease.xcconfig +++ b/Configurations/ConfigUnitTestRelease.xcconfig @@ -1,3 +1 @@ -#include "ConfigCommon.xcconfig" -#include "ConfigCommonRelease.xcconfig" #include "ConfigUnitTest.xcconfig" diff --git a/Configurations/ConfigUnitTestReleaseGCSupport.xcconfig b/Configurations/ConfigUnitTestReleaseGCSupport.xcconfig deleted file mode 100644 index 1b648d16..00000000 --- a/Configurations/ConfigUnitTestReleaseGCSupport.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "ConfigUnitTestRelease.xcconfig" - -GCC_ENABLE_OBJC_GC = required \ No newline at end of file diff --git a/Configurations/make-release-package.sh b/Configurations/make-release-package.sh new file mode 100755 index 00000000..98cdd7b6 --- /dev/null +++ b/Configurations/make-release-package.sh @@ -0,0 +1,27 @@ +#!/bin/bash +set -e + +if [ "$ACTION" = "" ] ; then + rm -rf "$CONFIGURATION_BUILD_DIR/staging" + rm -f "Sparkle-$CURRENT_PROJECT_VERSION.tar.bz2" + + mkdir -p "$CONFIGURATION_BUILD_DIR/staging" + cp "$SRCROOT/CHANGELOG" "$SRCROOT/LICENSE" "$SRCROOT/Resources/SampleAppcast.xml" "$CONFIGURATION_BUILD_DIR/staging" + cp -R "$SRCROOT/bin" "$CONFIGURATION_BUILD_DIR/staging" + cp "$CONFIGURATION_BUILD_DIR/BinaryDelta" "$CONFIGURATION_BUILD_DIR/staging/bin" + cp -R "$CONFIGURATION_BUILD_DIR/Sparkle Test App.app" "$CONFIGURATION_BUILD_DIR/staging" + cp -R "$CONFIGURATION_BUILD_DIR/Sparkle.framework" "$CONFIGURATION_BUILD_DIR/staging" + + # Only copy dSYMs for Release builds, but don't check for the presence of the actual files + # because missing dSYMs in a release build SHOULD trigger a build failure + if [ "$CONFIGURATION" = "Release" ] ; then + cp -R "$CONFIGURATION_BUILD_DIR/BinaryDelta.dSYM" "$CONFIGURATION_BUILD_DIR/staging/bin" + cp -R "$CONFIGURATION_BUILD_DIR/Sparkle Test App.app.dSYM" "$CONFIGURATION_BUILD_DIR/staging" + cp -R "$CONFIGURATION_BUILD_DIR/Sparkle.framework.dSYM" "$CONFIGURATION_BUILD_DIR/staging" + fi + + cd "$CONFIGURATION_BUILD_DIR/staging" + # Sorted file list groups similar files together, which improves tar compression + find . \! -type d | rev | sort | rev | tar cjvf "../Sparkle-$CURRENT_PROJECT_VERSION.tar.bz2" --files-from=- + rm -rf "$CONFIGURATION_BUILD_DIR/staging" +fi diff --git a/Configurations/set-git-version-info.sh b/Configurations/set-git-version-info.sh new file mode 100755 index 00000000..8a79052c --- /dev/null +++ b/Configurations/set-git-version-info.sh @@ -0,0 +1,28 @@ +#!/bin/sh +set -e + +if ! which -s git ; then + exit 0 +fi + +if [ -z "$SRCROOT" ] || \ + [ -z "$BUILT_PRODUCTS_DIR" ] || \ + [ -z "$INFOPLIST_PATH" ] || \ + [ -z "$CURRENT_PROJECT_VERSION" ]; then + echo "$0: Must be run from Xcode!" 1>&2 + exit 1 +fi + +# Get the current Git master hash +version=$(cd "$SRCROOT" ; git show-ref --abbrev heads/master | awk '{print $1}') +if [ -z "$version" ] ; then + echo "$0: Can't find a Git hash!" 1>&2 + exit 0 +fi + +version="$CURRENT_PROJECT_VERSION git-$version" + +# and use it to set the CFBundleShortVersionString value +export PATH="$PATH:/usr/libexec" +PlistBuddy -c "Set :CFBundleShortVersionString '$version'" \ + "$BUILT_PRODUCTS_DIR/$INFOPLIST_PATH" diff --git a/Documentation/.gitignore b/Documentation/.gitignore new file mode 100644 index 00000000..1936cc1d --- /dev/null +++ b/Documentation/.gitignore @@ -0,0 +1 @@ +html diff --git a/Documentation/Doxyfile b/Documentation/Doxyfile new file mode 100644 index 00000000..a2d21a3e --- /dev/null +++ b/Documentation/Doxyfile @@ -0,0 +1,20 @@ +PROJECT_NAME = Sparkle +PROJECT_NUMBER = 1.7.1 +PROJECT_BRIEF = "A software update framework for OS X" +PROJECT_LOGO = Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png + +RECURSIVE = YES +INPUT = Sparkle +OUTPUT_DIRECTORY = Documentation + +GENERATE_HTML = YES +GENERATE_LATEX = NO + +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST = YES +GENERATE_TODOLIST = YES + +ALPHABETICAL_INDEX = YES + +QT_AUTOBRIEF = YES +WARN_IF_UNDOCUMENTED = NO diff --git a/Documentation/build-docs.sh b/Documentation/build-docs.sh new file mode 100755 index 00000000..44b43bf4 --- /dev/null +++ b/Documentation/build-docs.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ "$ACTION" = "" ] ; then + if which -s doxygen ; then + doxygen Documentation/Doxyfile + else + echo "warning: Doxygen not found in PATH" + fi +elif [ "$ACTION" = "clean" ] ; then + rm -rf "$SRCROOT/Documentation/html" +fi diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..f4020f8d --- /dev/null +++ b/LICENSE @@ -0,0 +1,60 @@ +Copyright (c) 2006-2013 Andy Matuschak. +Copyright (c) 2009-2013 Elgato Systems GmbH. +Copyright (c) 2011-2014 Kornel Lesiński. +Copyright (c) 2014 C.W. Betts. +Copyright (c) 2014 Petroules Corporation. +Copyright (c) 2014 Big Nerd Ranch. +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +================= +EXTERNAL LICENSES +================= + +bspatch.c and bsdiff.c, from bsdiff 4.3 : + Copyright (c) 2003-2005 Colin Percival. + +sais.c and sais.c, from sais-lite (2010/08/07) : + Copyright (c) 2008-2010 Yuta Mori. + +SUDSAVerifier.m: + Copyright (c) 2011 Mark Hamlin. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted providing 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. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. diff --git a/License.txt b/License.txt deleted file mode 100644 index 08364c63..00000000 --- a/License.txt +++ /dev/null @@ -1,38 +0,0 @@ -Copyright (c) 2006 Andy Matuschak - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -================= -EXTERNAL LICENSES -================= - -License for bspatch.c and bsdiff.c, from bsdiff 4.3 (: -/*- - * Copyright 2003-2005 Colin Percival - * All rights reserved - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted providing 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. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. - */ diff --git a/Makefile b/Makefile index a756e344..8dfd43bc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,21 @@ -.PHONY: all localizable-strings +.PHONY: all localizable-strings release build test travis + +BUILDDIR := $(shell mktemp -d "$(TMPDIR)/Sparkle.XXXXXX") localizable-strings: - rm en.lproj/Sparkle.strings || TRUE - genstrings -o en.lproj -s SULocalizedString *.m *.h - mv en.lproj/Localizable.strings en.lproj/Sparkle.strings + rm -f Sparkle/en.lproj/Sparkle.strings + genstrings -o Sparkle/en.lproj -s SULocalizedString Sparkle/*.m Sparkle/*.h + iconv -f UTF-16 -t UTF-8 < Sparkle/en.lproj/Localizable.strings > Sparkle/en.lproj/Sparkle.strings + rm Sparkle/en.lproj/Localizable.strings +release: + xcodebuild -scheme Distribution -configuration Release -derivedDataPath "$(BUILDDIR)" build + open -R "$(BUILDDIR)/Build/Products/Release/Sparkle-"*.tar.bz2 + +build: + xcodebuild clean build + +test: + xcodebuild -scheme Distribution -configuration Debug test + +travis: test diff --git a/NTSynchronousTask.m b/NTSynchronousTask.m deleted file mode 100644 index 1d2e3ef0..00000000 --- a/NTSynchronousTask.m +++ /dev/null @@ -1,268 +0,0 @@ -// -// NTSynchronousTask.m -// CocoatechCore -// -// Created by Steve Gehrman on 9/29/05. -// Copyright 2005 Steve Gehrman. All rights reserved. -// - -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" -#import "NTSynchronousTask.h" - -@implementation NTSynchronousTask - -//---------------------------------------------------------- -// task -//---------------------------------------------------------- -- (NSTask *)task -{ - return mv_task; -} - -- (void)setTask:(NSTask *)theTask -{ - if (mv_task != theTask) { - [mv_task release]; - mv_task = [theTask retain]; - } -} - -//---------------------------------------------------------- -// outputPipe -//---------------------------------------------------------- -- (NSPipe *)outputPipe -{ - return mv_outputPipe; -} - -- (void)setOutputPipe:(NSPipe *)theOutputPipe -{ - if (mv_outputPipe != theOutputPipe) { - [mv_outputPipe release]; - mv_outputPipe = [theOutputPipe retain]; - } -} - -//---------------------------------------------------------- -// inputPipe -//---------------------------------------------------------- -- (NSPipe *)inputPipe -{ - return mv_inputPipe; -} - -- (void)setInputPipe:(NSPipe *)theInputPipe -{ - if (mv_inputPipe != theInputPipe) { - [mv_inputPipe release]; - mv_inputPipe = [theInputPipe retain]; - } -} - -//---------------------------------------------------------- -// output -//---------------------------------------------------------- -- (NSData *)output -{ - return mv_output; -} - -- (void)setOutput:(NSData *)theOutput -{ - if (mv_output != theOutput) { - [mv_output release]; - mv_output = [theOutput retain]; - } -} - -//---------------------------------------------------------- -// done -//---------------------------------------------------------- -- (BOOL)done -{ - return mv_done; -} - -- (void)setDone:(BOOL)flag -{ - mv_done = flag; -} - -//---------------------------------------------------------- -// result -//---------------------------------------------------------- -- (int)result -{ - return mv_result; -} - -- (void)setResult:(int)theResult -{ - mv_result = theResult; -} - -- (void)taskOutputAvailable:(NSNotification*)note -{ - [self setOutput:[[note userInfo] objectForKey:NSFileHandleNotificationDataItem]]; - - [self setDone:YES]; -} - -- (void)taskDidTerminate:(NSNotification*)note -{ - [self setResult:[[self task] terminationStatus]]; -} - -- (id)init; -{ - self = [super init]; - if (self) - { - [self setTask:[[[NSTask alloc] init] autorelease]]; - [self setOutputPipe:[[[NSPipe alloc] init] autorelease]]; - [self setInputPipe:[[[NSPipe alloc] init] autorelease]]; - - [[self task] setStandardInput:[self inputPipe]]; - [[self task] setStandardOutput:[self outputPipe]]; - [[self task] setStandardError:[self outputPipe]]; - } - - return self; -} - -//---------------------------------------------------------- -// dealloc -//---------------------------------------------------------- -- (void)dealloc -{ - [[NSNotificationCenter defaultCenter] removeObserver:self]; - - [mv_task release]; - [mv_outputPipe release]; - [mv_inputPipe release]; - [mv_output release]; - - [super dealloc]; -} - -- (void)run:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input -{ - BOOL success = NO; - - if (currentDirectory) - [[self task] setCurrentDirectoryPath: currentDirectory]; - - [[self task] setLaunchPath:toolPath]; - [[self task] setArguments:args]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(taskOutputAvailable:) - name:NSFileHandleReadToEndOfFileCompletionNotification - object:[[self outputPipe] fileHandleForReading]]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(taskDidTerminate:) - name:NSTaskDidTerminateNotification - object:[self task]]; - - [[[self outputPipe] fileHandleForReading] readToEndOfFileInBackgroundAndNotifyForModes:[NSArray arrayWithObjects:NSDefaultRunLoopMode, NSModalPanelRunLoopMode, NSEventTrackingRunLoopMode, nil]]; - - @try - { - [[self task] launch]; - success = YES; - } - @catch (NSException *localException) { } - - if (success) - { - if (input) - { - // feed the running task our input - [[[self inputPipe] fileHandleForWriting] writeData:input]; - [[[self inputPipe] fileHandleForWriting] closeFile]; - } - - // loop until we are done receiving the data - if (![self done]) - { - double resolution = 1; - BOOL isRunning; - NSDate* next; - - do { - next = [NSDate dateWithTimeIntervalSinceNow:resolution]; - - isRunning = [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode - beforeDate:next]; - } while (isRunning && ![self done]); - } - } -} - -+ (NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input -{ - // we need this wacky pool here, otherwise we run out of pipes, the pipes are internally autoreleased - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - NSData* result=nil; - - @try - { - NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; - - [task run:toolPath directory:currentDirectory withArgs:args input:input]; - - if ([task result] == 0) - result = [[task output] retain]; - - [task release]; - } - @catch (NSException *localException) { } - - [pool drain]; - - // retained above - [result autorelease]; - - return result; -} - - -+(int) task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input output: (NSData**)outData -{ - // we need this wacky pool here, otherwise we run out of pipes, the pipes are internally autoreleased - NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - int taskResult = 0; - if( outData ) - *outData = nil; - - NS_DURING - { - NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; - - [task run:toolPath directory:currentDirectory withArgs:args input:input]; - - taskResult = [task result]; - if( outData ) - *outData = [[task output] retain]; - - [task release]; - } - NS_HANDLER; - taskResult = errCppGeneral; - NS_ENDHANDLER; - - [pool drain]; - - // retained above - if( outData ) - [*outData autorelease]; - - return taskResult; -} - -@end diff --git a/README.markdown b/README.markdown index 0204b460..0e557c53 100644 --- a/README.markdown +++ b/README.markdown @@ -1,42 +1,46 @@ -# Warning: This fork is not being actively maintained. +# Sparkle [![Build Status](https://travis-ci.org/sparkle-project/Sparkle.svg?branch=master)](https://travis-ci.org/sparkle-project/Sparkle) -# Sparkle -is an easy-to-use software update framework for Cocoa developers. +An easy-to-use software update framework for Cocoa developers. -* True self-updating--no work required from the user. +Sparkle shows familiar update window with release notes -* Displays release notes to the user via WebKit. +## Changes since 1.5b +* Up-to-date with 10.10 SDK and Xcode 6. Supports OS X 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." +* Ability to mark updates as critical. +* Progress and status notifications for the host app. +* Name of finish_installation.app can be configured to match your app's name. + +## Features + +* True self-updating—the user can choose to automatically download and install all updates. * Displays a detailed progress window to the user. - * Supports authentication for installing in secure locations. - -* Really, really easy to install. - -* Uses appcasts for release information. - -* The user can choose to automatically download and install all updates. - -* Seamless integration—there's no mention of Sparkle; your icons and app name are used. - -* Supports DSA signatures for ultra-secure updates. - -* Sparkle requires no code in your app, so it's trivial to upgrade or remove the module. - -## New in Sparkle 1.5: - -* Optionally sends user demographic information to the server when checking for updates. - -* Dual-mode garbage collection support for any memory management style. - +* Supports Apple code signing and DSA signatures for ultra-secure updates. +* Easy to install. Sparkle requires no code in your app, so it's trivial to upgrade or remove the framework. +* Uses appcasts for release information. Appcasts are supported by 3rd party update-tracking programs and websites. +* Displays release notes to the user via WebKit. * Sparkle doesn't bug the user until second launch for better first impressions. - -* Sparkle can install .pkg files for more complicated products. - -* Supports bundles, preference panes, plugins, and other non-.app software. - +* Seamless integration—there's no mention of Sparkle; your icons and app name are used. +* Deep delegate support to make Sparkle work exactly as you need. +* Optionally sends system information to the server when checking for updates. +* Supports bundles, preference panes, plugins, and other non-.app software. Can install .pkg files for more complicated products. * Supports branches due to minimum OS version requirements. -* Deep delegate support to make Sparkle work exactly as you need. +## Developers -* Tons of other stuff! [Read more about what's new.](http://andymatuschak.org/articles/2008/05/31/sparkle-15b1-now-available/ "Sparkle 1.5b1: now available!") \ No newline at end of file +Building Sparkle requires Xcode 5 or above. + +### API + +Sparkle is built with `-fvisibility=hidden -fvisibility-inlines-hidden` which means no symbols are exported by default. +If you are adding a symbol to the public API you must decorate the declaration with the `SU_EXPORT` macro (grep the source code for examples). + +### Building the distribution package + +`cd` to the root of the Sparkle source tree and run `make release`. Sparkle-*VERSION*.tar.bz2 will be created in a temporary directory and revealed in Finder after the build has completed. + +Alternatively, build the Distribution scheme in the Xcode UI. diff --git a/Relaunch Tool-Info.plist b/Relaunch Tool-Info.plist deleted file mode 100644 index b090ad63..00000000 --- a/Relaunch Tool-Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.andymatuschak.Sparkle.relaunch - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.5 - NSPrincipalClass - NSApplication - NSUIElement - 1 - - diff --git a/Resources/Images.xcassets/AppIcon.appiconset/Contents.json b/Resources/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..5ddf68b4 --- /dev/null +++ b/Resources/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,65 @@ +{ + "images" : [ + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "icon_16x16.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "icon_16x16@2x.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "icon_32x32.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "icon_32x32@2x.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "icon_128x128.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "icon_128x128@2x.png", + "scale" : "2x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "icon_256x256.png", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png new file mode 100644 index 00000000..4d798520 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png new file mode 100644 index 00000000..2bf2b0b8 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png new file mode 100644 index 00000000..23eada4e Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png new file mode 100644 index 00000000..fa1e0dac Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png new file mode 100644 index 00000000..2bf2b0b8 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png new file mode 100644 index 00000000..eb1d810a Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png new file mode 100644 index 00000000..f44f9779 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png differ diff --git a/SUModelTranslation.plist b/Resources/SUModelTranslation.plist similarity index 72% rename from SUModelTranslation.plist rename to Resources/SUModelTranslation.plist index 63644f08..74db0ff0 100644 --- a/SUModelTranslation.plist +++ b/Resources/SUModelTranslation.plist @@ -9,7 +9,7 @@ iMac4,1 iMac (Core Duo) iMac4,2 - iMac for Education (17-inch, Core Duo) + iMac for Education (17 inch, Core Duo) iMac5,1 iMac (Core 2 Duo, 17 or 20 inch, SuperDrive) iMac5,2 @@ -17,19 +17,65 @@ iMac6,1 iMac (Core 2 Duo, 24 inch, SuperDrive) iMac8,1 - iMac (April 2008) + iMac (Core 2 Duo, 20 or 24 inch, Early 2008 ) + iMac9,1 + iMac (Core 2 Duo, 20 or 24 inch, Early or Mid 2009 ) + iMac10,1 + iMac (Core 2 Duo, 21.5 or 27 inch, Late 2009 ) + iMac11,1 + iMac (Core i5 or i7, 27 inch Late 2009) + iMac11,2 + iMac (Core i3 or i5, 27 inch Mid 2010) + iMac11,3 + iMac (Core i5 or i7, 27 inch Mid 2010) + iMac12,1 + iMac (Core i3 or i5 or i7, 21.5 inch Mid 2010 or Late 2011) + iMac12,2 + iMac (Core i5 or i7, 27 inch Mid 2011) + iMac13,1 + iMac (Core i3 or i5 or i7, 21.5 inch Late 2012 or Early 2013) + iMac13,2 + iMac (Core i5 or i7, 27 inch Late 2012) + iMac14,1 + iMac (Core i5, 21.5 inch Late 2013) + iMac14,2 + iMac (Core i5 or i7, 27 inch Late 2013) + iMac14,3 + iMac (Core i5 or i7, 21.5 inch Late 2013) MacBook1,1 MacBook (Core Duo) MacBook2,1 MacBook (Core 2 Duo) MacBook4,1 MacBook (Core 2 Duo Feb 2008) + MacBook5,1 + MacBook (Core 2 Duo, Late 2008, Unibody) + MacBook5,2 + MacBook (Core 2 Duo, Early 2009, White) + MacBook6,1 + MacBook (Core 2 Duo, Late 2009, Unibody) + MacBook7,1 + MacBook (Core 2 Duo, Mid 2010, White) MacBookAir1,1 - MacBook Air (January 2008) + MacBook Air (Core 2 Duo, 13 inch, Early 2008) MacBookAir2,1 - MacBook Air (June 2009) + MacBook Air (Core 2 Duo, 13 inch, Mid 2009) MacBookAir3,1 - MacBook Air (October 2010) + MacBook Air (Core 2 Duo, 11 inch, Late 2010) + MacBookAir3,2 + MacBook Air (Core 2 Duo, 13 inch, Late 2010) + MacBookAir4,1 + MacBook Air (Core i5 or i7, 11 inch, Mid 2011) + MacBookAir4,2 + MacBook Air (Core i5 or i7, 13 inch, Mid 2011) + MacBookAir5,1 + MacBook Air (Core i5 or i7, 11 inch, Mid 2012) + MacBookAir5,2 + MacBook Air (Core i5 or i7, 13 inch, Mid 2012) + MacBookAir6,1 + MacBook Air (Core i5 or i7, 11 inch, Mid 2013 or Early 2014) + MacBookAir6,2 + MacBook Air (Core i5 or i7, 13 inch, Mid 2013 or Early 2014) MacBookPro1,1 MacBook Pro Core Duo (15-inch) MacBookPro1,2 diff --git a/Resources/SampleAppcast.xml b/Resources/SampleAppcast.xml new file mode 100755 index 00000000..1abb2c2c --- /dev/null +++ b/Resources/SampleAppcast.xml @@ -0,0 +1,39 @@ + + + + Your Great App's Changelog + http://you.com/app/appcast.xml + Most recent changes with links to updates. + en + + Version 2.0 (2 bugs fixed; 3 new features) + + http://you.com/app/2.0.html + + Wed, 09 Jan 2006 19:20:11 +0000 + + 10.7 + + + + Version 1.5 (8 bugs fixed; 2 new features) + + http://you.com/app/1.5.html + + Wed, 01 Jan 2006 12:20:11 +0000 + + 10.7 + + + + + Version 1.4 (5 bugs fixed; 2 new features) + + http://you.com/app/1.4.html + + Wed, 25 Dec 2005 12:20:11 +0000 + + 10.7 + + + diff --git a/Resources/Screenshot.png b/Resources/Screenshot.png new file mode 100644 index 00000000..19c755d4 Binary files /dev/null and b/Resources/Screenshot.png differ diff --git a/Resources/Sparkle.png b/Resources/Sparkle.png new file mode 100644 index 00000000..13d59cd2 Binary files /dev/null and b/Resources/Sparkle.png differ diff --git a/SUAppcast.h b/SUAppcast.h deleted file mode 100644 index 5a60d2fd..00000000 --- a/SUAppcast.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// SUAppcast.h -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#ifndef SUAPPCAST_H -#define SUAPPCAST_H - -@class SUAppcastItem; -@interface SUAppcast : NSObject -{ -@private - NSArray *items; - NSString *userAgentString; - id delegate; - NSString *downloadFilename; - NSURLDownload *download; -} - -- (void)fetchAppcastFromURL:(NSURL *)url; -- (void)setDelegate:delegate; -- (void)setUserAgentString:(NSString *)userAgentString; - -- (NSArray *)items; - -@end - -@interface NSObject (SUAppcastDelegate) -- (void)appcastDidFinishLoading:(SUAppcast *)appcast; -- (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error; -@end - -#endif diff --git a/SUAppcast.m b/SUAppcast.m deleted file mode 100644 index 04af5a19..00000000 --- a/SUAppcast.m +++ /dev/null @@ -1,301 +0,0 @@ -// -// SUAppcast.m -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" -#import "SUAppcast.h" -#import "SUConstants.h" -#import "SULog.h" - -@interface NSXMLElement (SUAppcastExtensions) -- (NSDictionary *)attributesAsDictionary; -@end - -@implementation NSXMLElement (SUAppcastExtensions) -- (NSDictionary *)attributesAsDictionary -{ - NSEnumerator *attributeEnum = [[self attributes] objectEnumerator]; - NSXMLNode *attribute; - NSMutableDictionary *dictionary = [NSMutableDictionary dictionary]; - - while ((attribute = [attributeEnum nextObject])) - [dictionary setObject:[attribute stringValue] forKey:[attribute name]]; - return dictionary; -} -@end - -@interface SUAppcast () -- (void)reportError:(NSError *)error; -- (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes; -@end - -@implementation SUAppcast - -- (void)dealloc -{ - [items release]; - items = nil; - [userAgentString release]; - userAgentString = nil; - [downloadFilename release]; - downloadFilename = nil; - [download release]; - download = nil; - - [super dealloc]; -} - -- (NSArray *)items -{ - return items; -} - -- (void)fetchAppcastFromURL:(NSURL *)url -{ - NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:30.0]; - if (userAgentString) - [request setValue:userAgentString forHTTPHeaderField:@"User-Agent"]; - - download = [[NSURLDownload alloc] initWithRequest:request delegate:self]; -} - -- (void)download:(NSURLDownload *)aDownload decideDestinationWithSuggestedFilename:(NSString *)filename -{ - NSString* destinationFilename = NSTemporaryDirectory(); - if (destinationFilename) - { - destinationFilename = [destinationFilename stringByAppendingPathComponent:filename]; - [download setDestination:destinationFilename allowOverwrite:NO]; - } -} - -- (void)download:(NSURLDownload *)aDownload didCreateDestination:(NSString *)path -{ - [downloadFilename release]; - downloadFilename = [path copy]; -} - -- (void)downloadDidFinish:(NSURLDownload *)aDownload -{ - NSError *error = nil; - - NSXMLDocument *document = nil; - BOOL failed = NO; - NSArray *xmlItems = nil; - NSMutableArray *appcastItems = [NSMutableArray array]; - - if (downloadFilename) - { - NSUInteger options = 0; - if (NSAppKitVersionNumber < NSAppKitVersionNumber10_7) { - // In order to avoid including external entities when parsing the appcast (a potential security vulnerability; see https://github.com/andymatuschak/Sparkle/issues/169), we ask NSXMLDocument to "tidy" the XML first. This happens to remove these external entities; it wouldn't be a future-proof approach, but it worked in these historical versions of OS X, and we have a more rigorous approach for 10.7+. - options = NSXMLDocumentTidyXML; - } else { - // In 10.7 and later, there's a real option for the behavior we desire. - options = NSXMLNodeLoadExternalEntitiesSameOriginOnly; - } - document = [[[NSXMLDocument alloc] initWithContentsOfURL:[NSURL fileURLWithPath:downloadFilename] options:options error:&error] autorelease]; - -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeFileAtPath:downloadFilename handler:nil]; -#else - [[NSFileManager defaultManager] removeItemAtPath:downloadFilename error:nil]; -#endif - [downloadFilename release]; - downloadFilename = nil; - } - else - { - failed = YES; - } - - if (nil == document) - { - failed = YES; - } - else - { - xmlItems = [document nodesForXPath:@"/rss/channel/item" error:&error]; - if (nil == xmlItems) - { - failed = YES; - } - } - - if (failed == NO) - { - - NSEnumerator *nodeEnum = [xmlItems objectEnumerator]; - NSXMLNode *node; - NSMutableDictionary *nodesDict = [NSMutableDictionary dictionary]; - NSMutableDictionary *dict = [NSMutableDictionary dictionary]; - - while (failed == NO && (node = [nodeEnum nextObject])) - { - // First, we'll "index" all the first-level children of this appcast item so we can pick them out by language later. - if ([[node children] count]) - { - node = [node childAtIndex:0]; - while (nil != node) - { - NSString *name = [node name]; - if (name) - { - NSMutableArray *nodes = [nodesDict objectForKey:name]; - if (nodes == nil) - { - nodes = [NSMutableArray array]; - [nodesDict setObject:nodes forKey:name]; - } - [nodes addObject:node]; - } - node = [node nextSibling]; - } - } - - NSEnumerator *nameEnum = [nodesDict keyEnumerator]; - NSString *name; - while ((name = [nameEnum nextObject])) - { - node = [self bestNodeInNodes:[nodesDict objectForKey:name]]; - if ([name isEqualToString:@"enclosure"]) - { - // enclosure is flattened as a separate dictionary for some reason - NSDictionary *encDict = [(NSXMLElement *)node attributesAsDictionary]; - [dict setObject:encDict forKey:@"enclosure"]; - - } - else if ([name isEqualToString:@"pubDate"]) - { - // pubDate is expected to be an NSDate by SUAppcastItem, but the RSS class was returning an NSString - NSDate *date = [NSDate dateWithNaturalLanguageString:[node stringValue]]; - if (date) - [dict setObject:date forKey:name]; - } - else if ([name isEqualToString:@"sparkle:deltas"]) - { - NSMutableArray *deltas = [NSMutableArray array]; - NSEnumerator *childEnum = [[node children] objectEnumerator]; - NSXMLNode *child; - while ((child = [childEnum nextObject])) { - if ([[child name] isEqualToString:@"enclosure"]) - [deltas addObject:[(NSXMLElement *)child attributesAsDictionary]]; - } - [dict setObject:deltas forKey:@"deltas"]; - } - else if (name != nil) - { - // add all other values as strings - [dict setObject:[[node stringValue] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] forKey:name]; - } - } - - NSString *errString; - SUAppcastItem *anItem = [[[SUAppcastItem alloc] initWithDictionary:dict failureReason:&errString] autorelease]; - if (anItem) - { - [appcastItems addObject:anItem]; - } - else - { - SULog(@"Sparkle Updater: Failed to parse appcast item: %@.\nAppcast dictionary was: %@", errString, dict); - } - [nodesDict removeAllObjects]; - [dict removeAllObjects]; - } - } - - if ([appcastItems count]) - { - NSSortDescriptor *sort = [[[NSSortDescriptor alloc] initWithKey:@"date" ascending:NO] autorelease]; - [appcastItems sortUsingDescriptors:[NSArray arrayWithObject:sort]]; - items = [appcastItems copy]; - } - - if (failed) - { - [self reportError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while parsing the update feed.", nil), NSLocalizedDescriptionKey, nil]]]; - } - else if ([delegate respondsToSelector:@selector(appcastDidFinishLoading:)]) - { - [delegate appcastDidFinishLoading:self]; - } -} - -- (void)download:(NSURLDownload *)aDownload didFailWithError:(NSError *)error -{ - if (downloadFilename) - { -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeFileAtPath:downloadFilename handler:nil]; -#else - [[NSFileManager defaultManager] removeItemAtPath:downloadFilename error:nil]; -#endif - } - [downloadFilename release]; - downloadFilename = nil; - - [self reportError:error]; -} - -- (NSURLRequest *)download:(NSURLDownload *)aDownload willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse -{ - return request; -} - -- (void)reportError:(NSError *)error -{ - if ([delegate respondsToSelector:@selector(appcast:failedToLoadWithError:)]) - { - [delegate appcast:self failedToLoadWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred in retrieving update information. Please try again later.", nil), NSLocalizedDescriptionKey, [error localizedDescription], NSLocalizedFailureReasonErrorKey, nil]]]; - } -} - -- (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes -{ - // We use this method to pick out the localized version of a node when one's available. - if ([nodes count] == 1) - return [nodes objectAtIndex:0]; - else if ([nodes count] == 0) - return nil; - - NSEnumerator *nodeEnum = [nodes objectEnumerator]; - NSXMLElement *node; - NSMutableArray *languages = [NSMutableArray array]; - NSString *lang; - NSUInteger i; - while ((node = [nodeEnum nextObject])) - { - lang = [[node attributeForName:@"xml:lang"] stringValue]; - [languages addObject:(lang ? lang : @"")]; - } - lang = [[NSBundle preferredLocalizationsFromArray:languages] objectAtIndex:0]; - i = [languages indexOfObject:([languages containsObject:lang] ? lang : @"")]; - if (i == NSNotFound) - i = 0; - return [nodes objectAtIndex:i]; -} - -- (void)setUserAgentString:(NSString *)uas -{ - if (uas != userAgentString) - { - [userAgentString release]; - userAgentString = [uas copy]; - } -} - -- (void)setDelegate:del -{ - delegate = del; -} - -@end diff --git a/SUAppcastItem.h b/SUAppcastItem.h deleted file mode 100644 index 551916ff..00000000 --- a/SUAppcastItem.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// SUAppcastItem.h -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#ifndef SUAPPCASTITEM_H -#define SUAPPCASTITEM_H - -@interface SUAppcastItem : NSObject -{ -@private - NSString *title; - NSDate *date; - NSString *itemDescription; - - NSURL *releaseNotesURL; - - NSString *DSASignature; - NSString *minimumSystemVersion; - NSString *maximumSystemVersion; - - NSURL *fileURL; - NSString *versionString; - NSString *displayVersionString; - - NSDictionary *deltaUpdates; - - NSDictionary *propertiesDictionary; - - NSURL *infoURL; // UK 2007-08-31 -} - -// Initializes with data from a dictionary provided by the RSS class. -- (id)initWithDictionary:(NSDictionary *)dict; -- (id)initWithDictionary:(NSDictionary *)dict failureReason:(NSString**)error; - -- (NSString *)title; -- (NSString *)versionString; -- (NSString *)displayVersionString; -- (NSDate *)date; -- (NSString *)itemDescription; -- (NSURL *)releaseNotesURL; -- (NSURL *)fileURL; -- (NSString *)DSASignature; -- (NSString *)minimumSystemVersion; -- (NSString *)maximumSystemVersion; -- (NSDictionary *)deltaUpdates; -- (BOOL)isDeltaUpdate; - -// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions. -- (NSDictionary *)propertiesDictionary; - -- (NSURL *)infoURL; // UK 2007-08-31 - -@end - -#endif diff --git a/SUAppcastItem.m b/SUAppcastItem.m deleted file mode 100644 index 525d3fef..00000000 --- a/SUAppcastItem.m +++ /dev/null @@ -1,284 +0,0 @@ -// -// SUAppcastItem.m -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" -#import "SUAppcastItem.h" -#import "SULog.h" - -@implementation SUAppcastItem - -// Attack of accessors! - -- (NSString *)title { return [[title retain] autorelease]; } - -- (void)setTitle:(NSString *)aTitle -{ - if (title == aTitle) return; - [title release]; - title = [aTitle copy]; -} - - -- (NSDate *)date { return [[date retain] autorelease]; } - -- (void)setDate:(NSDate *)aDate -{ - if (date == aDate) return; - [date release]; - date = [aDate copy]; -} - - -- (NSString *)itemDescription { return [[itemDescription retain] autorelease]; } - -- (void)setItemDescription:(NSString *)anItemDescription -{ - if (itemDescription == anItemDescription) return; - [itemDescription release]; - itemDescription = [anItemDescription copy]; -} - - -- (NSURL *)releaseNotesURL { return [[releaseNotesURL retain] autorelease]; } - -- (void)setReleaseNotesURL:(NSURL *)aReleaseNotesURL -{ - if (releaseNotesURL == aReleaseNotesURL) return; - [releaseNotesURL release]; - releaseNotesURL = [aReleaseNotesURL copy]; -} - - -- (NSString *)DSASignature { return [[DSASignature retain] autorelease]; } - -- (void)setDSASignature:(NSString *)aDSASignature -{ - if (DSASignature == aDSASignature) return; - [DSASignature release]; - DSASignature = [aDSASignature copy]; -} - - -- (NSURL *)fileURL { return [[fileURL retain] autorelease]; } - -- (void)setFileURL:(NSURL *)aFileURL -{ - if (fileURL == aFileURL) return; - [fileURL release]; - fileURL = [aFileURL copy]; -} - - -- (NSString *)versionString { return [[versionString retain] autorelease]; } - -- (void)setVersionString:(NSString *)s -{ - if (versionString == s) return; - [versionString release]; - versionString = [s copy]; -} - - -- (NSString *)displayVersionString { return [[displayVersionString retain] autorelease]; } - -- (void)setDisplayVersionString:(NSString *)s -{ - if (displayVersionString == s) return; - [displayVersionString release]; - displayVersionString = [s copy]; -} - - -- (NSString *)minimumSystemVersion { return [[minimumSystemVersion retain] autorelease]; } -- (void)setMinimumSystemVersion:(NSString *)systemVersionString -{ - if (minimumSystemVersion == systemVersionString) return; - [minimumSystemVersion release]; - minimumSystemVersion = [systemVersionString copy]; -} - -- (NSString *)maximumSystemVersion { return [[maximumSystemVersion retain] autorelease]; } -- (void)setMaximumSystemVersion:(NSString *)systemVersionString -{ - if (maximumSystemVersion == systemVersionString) return; - [maximumSystemVersion release]; - maximumSystemVersion = [systemVersionString copy]; -} - - -- (NSURL *)infoURL { return [[infoURL retain] autorelease]; } // UK 2007-08-31 (whole method) - -- (void)setInfoURL:(NSURL *)aFileURL // UK 2007-08-31 (whole method) -{ - if( aFileURL == infoURL ) return; - [infoURL release]; - infoURL = [aFileURL copy]; -} - -- (NSDictionary *)deltaUpdates { return [[deltaUpdates retain] autorelease]; } - -- (void)setDeltaUpdates:(NSDictionary *)updates -{ - if (deltaUpdates == updates) return; - [deltaUpdates release]; - deltaUpdates = [updates copy]; -} - -- (BOOL)isDeltaUpdate -{ - return [[propertiesDictionary objectForKey:@"enclosure"] objectForKey:@"sparkle:deltaFrom"] != nil; -} - -- initWithDictionary:(NSDictionary *)dict -{ - return [self initWithDictionary:dict failureReason:nil]; -} - -- initWithDictionary:(NSDictionary *)dict failureReason:(NSString**)error -{ - self = [super init]; - if (self) - { - id enclosure = [dict objectForKey:@"enclosure"]; - - // Try to find a version string. - // Finding the new version number from the RSS feed is a little bit hacky. There are two ways: - // 1. A "sparkle:version" attribute on the enclosure tag, an extension from the RSS spec. - // 2. If there isn't a version attribute, Sparkle will parse the path in the enclosure, expecting - // that it will look like this: http://something.com/YourApp_0.5.zip. It'll read whatever's between the last - // underscore and the last period as the version number. So name your packages like this: APPNAME_VERSION.extension. - // The big caveat with this is that you can't have underscores in your version strings, as that'll confuse Sparkle. - // Feel free to change the separator string to a hyphen or something more suited to your needs if you like. - NSString *newVersion = [enclosure objectForKey:@"sparkle:version"]; - if( newVersion == nil ) - newVersion = [dict objectForKey:@"sparkle:version"]; // UK 2007-08-31 Get version from the item, in case it's a download-less item (i.e. paid upgrade). - if (newVersion == nil) // no sparkle:version attribute anywhere? - { - // Separate the url by underscores and take the last component, as that'll be closest to the end, - // then we remove the extension. Hopefully, this will be the version. - NSArray *fileComponents = [[enclosure objectForKey:@"url"] componentsSeparatedByString:@"_"]; - if ([fileComponents count] > 1) - newVersion = [[fileComponents lastObject] stringByDeletingPathExtension]; - } - - if(!newVersion ) - { - if (error) - *error = @"Feed item lacks sparkle:version attribute, and version couldn't be deduced from file name (would have used last component of a file name like AppName_1.3.4.zip)"; - [self release]; - return nil; - } - - propertiesDictionary = [[NSMutableDictionary alloc] initWithDictionary:dict]; - [self setTitle:[dict objectForKey:@"title"]]; - [self setDate:[dict objectForKey:@"pubDate"]]; - [self setItemDescription:[dict objectForKey:@"description"]]; - - NSString* theInfoURL = [dict objectForKey:@"link"]; - if( theInfoURL ) - { - if( ![theInfoURL isKindOfClass: [NSString class]] ) - SULog(@"SUAppcastItem -initWithDictionary: Info URL is not of valid type."); - else - [self setInfoURL:[NSURL URLWithString:theInfoURL]]; - } - - // Need an info URL or an enclosure URL. Former to show "More Info" - // page, latter to download & install: - if( !enclosure && !theInfoURL ) - { - if (error) - *error = @"No enclosure in feed item"; - [self release]; - return nil; - } - - NSString* enclosureURLString = [enclosure objectForKey:@"url"]; - if( !enclosureURLString && !theInfoURL ) - { - if (error) - *error = @"Feed item's enclosure lacks URL"; - [self release]; - return nil; - } - - if( enclosureURLString ) - [self setFileURL: [NSURL URLWithString: [enclosureURLString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]]; - if( enclosure ) - [self setDSASignature:[enclosure objectForKey:@"sparkle:dsaSignature"]]; - - [self setVersionString: newVersion]; - [self setMinimumSystemVersion: [dict objectForKey:@"sparkle:minimumSystemVersion"]]; - [self setMaximumSystemVersion: [dict objectForKey:@"sparkle:maximumSystemVersion"]]; - - NSString *shortVersionString = [enclosure objectForKey:@"sparkle:shortVersionString"]; - if (nil == shortVersionString) - shortVersionString = [dict objectForKey:@"sparkle:shortVersionString"]; // fall back on the - - if (shortVersionString) - [self setDisplayVersionString: shortVersionString]; - else - [self setDisplayVersionString: [self versionString]]; - - // Find the appropriate release notes URL. - if ([dict objectForKey:@"sparkle:releaseNotesLink"]) - [self setReleaseNotesURL:[NSURL URLWithString:[dict objectForKey:@"sparkle:releaseNotesLink"]]]; - else if ([[self itemDescription] hasPrefix:@"http://"] || [[self itemDescription] hasPrefix:@"https://"]) // if the description starts with http:// or https:// use that. - [self setReleaseNotesURL:[NSURL URLWithString:[self itemDescription]]]; - else - [self setReleaseNotesURL:nil]; - - if ([dict objectForKey:@"deltas"]) - { - NSMutableDictionary *deltas = [NSMutableDictionary dictionary]; - NSArray *deltaDictionaries = [dict objectForKey:@"deltas"]; - NSEnumerator *deltaDictionariesEnum = [deltaDictionaries objectEnumerator]; - NSDictionary *deltaDictionary; - while ((deltaDictionary = [deltaDictionariesEnum nextObject])) - { - NSMutableDictionary *fakeAppCastDict = [dict mutableCopy]; - [fakeAppCastDict removeObjectForKey:@"deltas"]; - [fakeAppCastDict setObject:deltaDictionary forKey:@"enclosure"]; - SUAppcastItem *deltaItem = [[[self class] alloc] initWithDictionary:fakeAppCastDict]; - [fakeAppCastDict release]; - - [deltas setObject:deltaItem forKey:[deltaDictionary objectForKey:@"sparkle:deltaFrom"]]; - [deltaItem release]; - } - [self setDeltaUpdates:deltas]; - } - } - return self; -} - -- (void)dealloc -{ - [self setTitle:nil]; - [self setDate:nil]; - [self setItemDescription:nil]; - [self setReleaseNotesURL:nil]; - [self setDSASignature:nil]; - [self setMinimumSystemVersion: nil]; - [self setFileURL:nil]; - [self setVersionString:nil]; - [self setDisplayVersionString:nil]; - [self setInfoURL:nil]; - [propertiesDictionary release]; - [super dealloc]; -} - -- (NSDictionary *)propertiesDictionary -{ - return propertiesDictionary; -} - -@end diff --git a/SUAutomaticUpdateAlert.h b/SUAutomaticUpdateAlert.h deleted file mode 100644 index dc2183e5..00000000 --- a/SUAutomaticUpdateAlert.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// SUAutomaticUpdateAlert.h -// Sparkle -// -// Created by Andy Matuschak on 3/18/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#ifndef SUAUTOMATICUPDATEALERT_H -#define SUAUTOMATICUPDATEALERT_H - -#import "SUWindowController.h" - -typedef enum -{ - SUInstallNowChoice, - SUInstallLaterChoice, - SUDoNotInstallChoice -} SUAutomaticInstallationChoice; - -@class SUAppcastItem, SUHost; -@interface SUAutomaticUpdateAlert : SUWindowController { - SUAppcastItem *updateItem; - id delegate; - SUHost *host; -} - -- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)hostBundle delegate:delegate; -- (IBAction)installNow:sender; -- (IBAction)installLater:sender; -- (IBAction)doNotInstall:sender; - -@end - -@interface NSObject (SUAutomaticUpdateAlertDelegateProtocol) -- (void)automaticUpdateAlert:(SUAutomaticUpdateAlert *)aua finishedWithChoice:(SUAutomaticInstallationChoice)choice; -@end - -#endif diff --git a/SUAutomaticUpdateAlert.m b/SUAutomaticUpdateAlert.m deleted file mode 100644 index f055f48d..00000000 --- a/SUAutomaticUpdateAlert.m +++ /dev/null @@ -1,71 +0,0 @@ -// -// SUAutomaticUpdateAlert.m -// Sparkle -// -// Created by Andy Matuschak on 3/18/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUAutomaticUpdateAlert.h" - -#import "SUHost.h" - -@implementation SUAutomaticUpdateAlert - -- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost delegate:del; -{ - self = [super initWithHost:aHost windowNibName:@"SUAutomaticUpdateAlert"]; - if (self) - { - updateItem = [item retain]; - delegate = del; - host = [aHost retain]; - [self setShouldCascadeWindows:NO]; - [[self window] center]; - } - return self; -} - -- (void)dealloc -{ - [host release]; - [updateItem release]; - [super dealloc]; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [host bundlePath], [host installationPath]]; } - -- (IBAction)installNow:sender -{ - [self close]; - [delegate automaticUpdateAlert:self finishedWithChoice:SUInstallNowChoice]; -} - -- (IBAction)installLater:sender -{ - [self close]; - [delegate automaticUpdateAlert:self finishedWithChoice:SUInstallLaterChoice]; -} - -- (IBAction)doNotInstall:sender -{ - [self close]; - [delegate automaticUpdateAlert:self finishedWithChoice:SUDoNotInstallChoice]; -} - -- (NSImage *)applicationIcon -{ - return [host icon]; -} - -- (NSString *)titleText -{ - return [NSString stringWithFormat:SULocalizedString(@"A new version of %@ is ready to install!", nil), [host name]]; -} - -- (NSString *)descriptionText -{ - return [NSString stringWithFormat:SULocalizedString(@"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?", nil), [host name], [updateItem displayVersionString]]; -} - -@end diff --git a/SUAutomaticUpdateDriver.m b/SUAutomaticUpdateDriver.m deleted file mode 100644 index 19a3c418..00000000 --- a/SUAutomaticUpdateDriver.m +++ /dev/null @@ -1,83 +0,0 @@ -// -// SUAutomaticUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 5/6/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUAutomaticUpdateDriver.h" - -#import "SUAutomaticUpdateAlert.h" -#import "SUHost.h" -#import "SUConstants.h" - -@implementation SUAutomaticUpdateDriver - -- (void)unarchiverDidFinish:(SUUnarchiver *)ua -{ - alert = [[SUAutomaticUpdateAlert alloc] initWithAppcastItem:updateItem host:host delegate:self]; - - // If the app is a menubar app or the like, we need to focus it first and alter the - // update prompt to behave like a normal window. Otherwise if the window were hidden - // there may be no way for the application to be activated to make it visible again. - if ([host isBackgroundApplication]) - { - [[alert window] setHidesOnDeactivate:NO]; - [NSApp activateIgnoringOtherApps:YES]; - } - - if ([NSApp isActive]) - [[alert window] makeKeyAndOrderFront:self]; - else - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification object:NSApp]; -} - -- (void)applicationDidBecomeActive:(NSNotification *)aNotification -{ - [[alert window] makeKeyAndOrderFront:self]; - [[NSNotificationCenter defaultCenter] removeObserver:self name:@"NSApplicationDidBecomeActiveNotification" object:NSApp]; -} - -- (void)automaticUpdateAlert:(SUAutomaticUpdateAlert *)aua finishedWithChoice:(SUAutomaticInstallationChoice)choice; -{ - switch (choice) - { - case SUInstallNowChoice: - [self installWithToolAndRelaunch:YES]; - break; - - case SUInstallLaterChoice: - postponingInstallation = YES; - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:NSApplicationWillTerminateNotification object:nil]; - break; - - case SUDoNotInstallChoice: - [host setObject:[updateItem versionString] forUserDefaultsKey:SUSkippedVersionKey]; - [self abortUpdate]; - break; - } -} - -- (BOOL)shouldInstallSynchronously { return postponingInstallation; } - -- (void)installWithToolAndRelaunch:(BOOL)relaunch -{ - showErrors = YES; - [super installWithToolAndRelaunch:relaunch]; -} - -- (void)applicationWillTerminate:(NSNotification *)note -{ - [self installWithToolAndRelaunch:NO]; -} - -- (void)abortUpdateWithError:(NSError *)error -{ - if (showErrors) - [super abortUpdateWithError:error]; - else - [self abortUpdate]; -} - -@end diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m deleted file mode 100644 index 4d9efc38..00000000 --- a/SUBasicUpdateDriver.m +++ /dev/null @@ -1,434 +0,0 @@ -// -// SUBasicUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 4/23/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUBasicUpdateDriver.h" - -#import "SUHost.h" -#import "SUDSAVerifier.h" -#import "SUInstaller.h" -#import "SUStandardVersionComparator.h" -#import "SUUnarchiver.h" -#import "SUConstants.h" -#import "SULog.h" -#import "SUPlainInstaller.h" -#import "SUPlainInstallerInternals.h" -#import "SUBinaryDeltaCommon.h" -#import "SUCodeSigningVerifier.h" -#import "SUUpdater_Private.h" -#import "SUXPC.h" - -@interface SUBasicUpdateDriver () ; @end - - -@implementation SUBasicUpdateDriver - -- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)aHost -{ - [super checkForUpdatesAtURL:URL host:aHost]; - if ([aHost isRunningOnReadOnlyVolume]) - { - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURunningFromDiskImageError userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:SULocalizedString(@"%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.", nil), [aHost name]] forKey:NSLocalizedDescriptionKey]]]; - return; - } - - SUAppcast *appcast = [[SUAppcast alloc] init]; - CFRetain(appcast); // We'll manage the appcast's memory ourselves so we don't have to make it an IV to support GC. - [appcast release]; - - [appcast setDelegate:self]; - [appcast setUserAgentString:[updater userAgentString]]; - [appcast fetchAppcastFromURL:URL]; -} - -- (id )versionComparator -{ - id comparator = nil; - - // Give the delegate a chance to provide a custom version comparator - if ([[updater delegate] respondsToSelector:@selector(versionComparatorForUpdater:)]) - comparator = [[updater delegate] versionComparatorForUpdater:updater]; - - // If we don't get a comparator from the delegate, use the default comparator - if (!comparator) - comparator = [SUStandardVersionComparator defaultComparator]; - - return comparator; -} - -- (BOOL)isItemNewer:(SUAppcastItem *)ui -{ - return [[self versionComparator] compareVersion:[host version] toVersion:[ui versionString]] == NSOrderedAscending; -} - -- (BOOL)hostSupportsItem:(SUAppcastItem *)ui -{ - if (([ui minimumSystemVersion] == nil || [[ui minimumSystemVersion] isEqualToString:@""]) && - ([ui maximumSystemVersion] == nil || [[ui maximumSystemVersion] isEqualToString:@""])) { return YES; } - - BOOL minimumVersionOK = TRUE; - BOOL maximumVersionOK = TRUE; - - // Check minimum and maximum System Version - if ([ui minimumSystemVersion] != nil && ![[ui minimumSystemVersion] isEqualToString:@""]) { - minimumVersionOK = [[SUStandardVersionComparator defaultComparator] compareVersion:[ui minimumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedDescending; - } - if ([ui maximumSystemVersion] != nil && ![[ui maximumSystemVersion] isEqualToString:@""]) { - maximumVersionOK = [[SUStandardVersionComparator defaultComparator] compareVersion:[ui maximumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedAscending; - } - - return minimumVersionOK && maximumVersionOK; -} - -- (BOOL)itemContainsSkippedVersion:(SUAppcastItem *)ui -{ - NSString *skippedVersion = [host objectForUserDefaultsKey:SUSkippedVersionKey]; - if (skippedVersion == nil) { return NO; } - return [[self versionComparator] compareVersion:[ui versionString] toVersion:skippedVersion] != NSOrderedDescending; -} - -- (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui -{ - return [self hostSupportsItem:ui] && [self isItemNewer:ui] && ![self itemContainsSkippedVersion:ui]; -} - -- (void)appcastDidFinishLoading:(SUAppcast *)ac -{ - if ([[updater delegate] respondsToSelector:@selector(updater:didFinishLoadingAppcast:)]) - [[updater delegate] updater:updater didFinishLoadingAppcast:ac]; - - NSDictionary *userInfo = (ac != nil) ? @{SUUpdaterAppcastNotificationKey : ac} : nil; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFinishLoadingAppCastNotification object:updater userInfo:userInfo]; - - SUAppcastItem *item = nil; - - // Now we have to find the best valid update in the appcast. - if ([[updater delegate] respondsToSelector:@selector(bestValidUpdateInAppcast:forUpdater:)]) // Does the delegate want to handle it? - { - item = [[updater delegate] bestValidUpdateInAppcast:ac forUpdater:updater]; - } - else // If not, we'll take care of it ourselves. - { - // Find the first update we can actually use. - NSEnumerator *updateEnumerator = [[ac items] objectEnumerator]; - do { - item = [updateEnumerator nextObject]; - } while (item && ![self hostSupportsItem:item]); - - if (binaryDeltaSupported()) { - SUAppcastItem *deltaUpdateItem = [[item deltaUpdates] objectForKey:[host version]]; - if (deltaUpdateItem && [self hostSupportsItem:deltaUpdateItem]) { - nonDeltaUpdateItem = [item retain]; - item = deltaUpdateItem; - } - } - } - - updateItem = [item retain]; - if (ac) { CFRelease(ac); } // Remember that we're explicitly managing the memory of the appcast. - if (updateItem == nil) { [self didNotFindUpdate]; return; } - - if ([self itemContainsValidUpdate:updateItem]) - [self didFindValidUpdate]; - else - [self didNotFindUpdate]; -} - -- (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error -{ - if (ac) { CFRelease(ac); } // Remember that we're explicitly managing the memory of the appcast. - [self abortUpdateWithError:error]; -} - -- (void)didFindValidUpdate -{ - if ([[updater delegate] respondsToSelector:@selector(updater:didFindValidUpdate:)]) - [[updater delegate] updater:updater didFindValidUpdate:updateItem]; - NSDictionary *userInfo = (updateItem != nil) ? @{SUUpdaterAppcastItemNotificationKey : updateItem} : nil; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFinishLoadingAppCastNotification object:updater userInfo:userInfo]; - [self downloadUpdate]; -} - -- (void)didNotFindUpdate -{ - if ([[updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) - [[updater delegate] updaterDidNotFindUpdate:updater]; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:updater]; - - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUNoUpdateError userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:SULocalizedString(@"You already have the newest version of %@.", nil), [host name]] forKey:NSLocalizedDescriptionKey]]]; -} - -- (void)downloadUpdate -{ - NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[updateItem fileURL]]; - [request setValue:[updater userAgentString] forHTTPHeaderField:@"User-Agent"]; - download = [[NSURLDownload alloc] initWithRequest:request delegate:self]; -} - -- (void)download:(NSURLDownload *)d decideDestinationWithSuggestedFilename:(NSString *)name -{ - // If name ends in .txt, the server probably has a stupid MIME configuration. We'll give the developer the benefit of the doubt and chop that off. - if ([[name pathExtension] isEqualToString:@"txt"]) - name = [name stringByDeletingPathExtension]; - - NSString *downloadFileName = [NSString stringWithFormat:@"%@ %@", [host name], [updateItem versionString]]; - - - [tempDir release]; - tempDir = [[[host appSupportPath] stringByAppendingPathComponent:downloadFileName] retain]; - int cnt=1; - while ([[NSFileManager defaultManager] fileExistsAtPath:tempDir] && cnt <= 999) - { - [tempDir release]; - tempDir = [[[host appSupportPath] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@ %d", downloadFileName, cnt++]] retain]; - } - - // Create the temporary directory if necessary. -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - BOOL success = YES; - NSEnumerator *pathComponentEnumerator = [[tempDir pathComponents] objectEnumerator]; - NSString *pathComponentAccumulator = @""; - NSString *currentPathComponent; - while ((currentPathComponent = [pathComponentEnumerator nextObject])) { - pathComponentAccumulator = [pathComponentAccumulator stringByAppendingPathComponent:currentPathComponent]; - if ([[NSFileManager defaultManager] fileExistsAtPath:pathComponentAccumulator]) continue; - success &= [[NSFileManager defaultManager] createDirectoryAtPath:pathComponentAccumulator attributes:nil]; - } -#else - BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:tempDir withIntermediateDirectories:YES attributes:nil error:NULL]; -#endif - if (!success) - { - // Okay, something's really broken with this user's file structure. - [download cancel]; - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUTemporaryDirectoryError userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"Can't make a temporary directory for the update download at %@.",tempDir] forKey:NSLocalizedDescriptionKey]]]; - } - - downloadPath = [[tempDir stringByAppendingPathComponent:name] retain]; - [download setDestination:downloadPath allowOverwrite:YES]; -} - -- (BOOL)validateUpdateDownloadedToPath:(NSString *)downloadedPath extractedToPath:(NSString *)extractedPath DSASignature:(NSString *)DSASignature publicDSAKey:(NSString *)publicDSAKey -{ - NSString *newBundlePath = [SUInstaller appPathInUpdateFolder:extractedPath forHost:host]; - if (newBundlePath) - { - NSError *error = nil; - if ([SUCodeSigningVerifier codeSignatureIsValidAtPath:newBundlePath error:&error]) { - return YES; - } else { - SULog(@"Code signature check on update failed: %@", error); - } - } - - return [SUDSAVerifier validatePath:downloadedPath withEncodedDSASignature:DSASignature withPublicDSAKey:publicDSAKey]; -} - -- (void)downloadDidFinish:(NSURLDownload *)d -{ - [self extractUpdate]; -} - -- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error -{ - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while downloading the update. Please try again later.", nil), NSLocalizedDescriptionKey, [error localizedDescription], NSLocalizedFailureReasonErrorKey, nil]]]; -} - -- (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType -{ - // We don't want the download system to extract our gzips. - // Note that we use a substring matching here instead of direct comparison because the docs say "application/gzip" but the system *uses* "application/x-gzip". This is a documentation bug. - return ([encodingType rangeOfString:@"gzip"].location == NSNotFound); -} - -- (void)extractUpdate -{ - SUUnarchiver *unarchiver = [SUUnarchiver unarchiverForPath:downloadPath updatingHost:host]; - if (!unarchiver) - { - SULog(@"Sparkle Error: No valid unarchiver for %@!", downloadPath); - [self unarchiverDidFail:nil]; - return; - } - CFRetain(unarchiver); // Manage this memory manually so we don't have to make it an IV. - [unarchiver setDelegate:self]; - [unarchiver start]; -} - -- (void)failedToApplyDeltaUpdate -{ - // When a delta update fails to apply we fall back on updating via a full install. - [updateItem release]; - updateItem = nonDeltaUpdateItem; - nonDeltaUpdateItem = nil; - - [self downloadUpdate]; -} - -- (void)unarchiverDidFinish:(SUUnarchiver *)ua -{ - if (ua) { CFRelease(ua); } - [self installWithToolAndRelaunch:YES]; -} - -- (void)unarchiverDidFail:(SUUnarchiver *)ua -{ - if (ua) { CFRelease(ua); } - - if ([updateItem isDeltaUpdate]) { - [self failedToApplyDeltaUpdate]; - return; - } - - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUUnarchivingError userInfo:[NSDictionary dictionaryWithObject:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil) forKey:NSLocalizedDescriptionKey]]]; -} - -- (BOOL)shouldInstallSynchronously { return NO; } - -- (void)installWithToolAndRelaunch:(BOOL)relaunch -{ -#if !ENDANGER_USERS_WITH_INSECURE_UPDATES - if (![self validateUpdateDownloadedToPath:downloadPath extractedToPath:tempDir DSASignature:[updateItem DSASignature] publicDSAKey:[host publicDSAKey]]) - { - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUSignatureError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), NSLocalizedDescriptionKey, @"The update is improperly signed.", NSLocalizedFailureReasonErrorKey, nil]]]; - return; - } -#endif - - if (![updater mayUpdateAndRestart]) - { - [self abortUpdate]; - return; - } - - BOOL running10_7 = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; - BOOL useXPC = running10_7 && [[NSFileManager defaultManager] fileExistsAtPath: - [[host bundlePath] stringByAppendingPathComponent:@"Contents/XPCServices/com.andymatuschak.Sparkle.SandboxService.xpc"]]; - - // Give the host app an opportunity to postpone the install and relaunch. - static BOOL postponedOnce = NO; - if (!postponedOnce && [[updater delegate] respondsToSelector:@selector(updater:shouldPostponeRelaunchForUpdate:untilInvoking:)]) - { - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]]; - [invocation setSelector:@selector(installWithToolAndRelaunch:)]; - [invocation setArgument:&relaunch atIndex:2]; - [invocation setTarget:self]; - postponedOnce = YES; - if ([[updater delegate] updater:updater shouldPostponeRelaunchForUpdate:updateItem untilInvoking:invocation]) - return; - } - - - if ([[updater delegate] respondsToSelector:@selector(updater:willInstallUpdate:)]) - [[updater delegate] updater:updater willInstallUpdate:updateItem]; - - // Copy the relauncher into a temporary directory so we can get to it after the new version's installed. - NSString *relaunchPathToCopy = [SPARKLE_BUNDLE pathForResource:@"finish_installation" ofType:@"app"]; - NSString *targetPath = [[host appSupportPath] stringByAppendingPathComponent:[relaunchPathToCopy lastPathComponent]]; - // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. - NSError *error = nil; -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] createDirectoryAtPath: [targetPath stringByDeletingLastPathComponent] attributes: [NSDictionary dictionary]]; -#else - [[NSFileManager defaultManager] createDirectoryAtPath: [targetPath stringByDeletingLastPathComponent] withIntermediateDirectories: YES attributes: [NSDictionary dictionary] error: &error]; -#endif - - // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. - BOOL copiedRelaunchTool = FALSE; - if( useXPC ) - copiedRelaunchTool = [SUXPC copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; - else - copiedRelaunchTool = [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; - if( copiedRelaunchTool ) - relaunchPath = [targetPath retain]; - else - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), NSLocalizedDescriptionKey, [NSString stringWithFormat:@"Couldn't copy relauncher (%@) to temporary path (%@)! %@", relaunchPathToCopy, targetPath, (error ? [error localizedDescription] : @"")], NSLocalizedFailureReasonErrorKey, nil]]]; - - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterWillRestartNotification object:self]; - if ([[updater delegate] respondsToSelector:@selector(updaterWillRelaunchApplication:)]) - [[updater delegate] updaterWillRelaunchApplication:updater]; - - if(!relaunchPath || ![[NSFileManager defaultManager] fileExistsAtPath:relaunchPath]) - { - // Note that we explicitly use the host app's name here, since updating plugin for Mail relaunches Mail, not just the plugin. - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:[NSString stringWithFormat:SULocalizedString(@"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@.", nil), [host name]], NSLocalizedDescriptionKey, [NSString stringWithFormat:@"Couldn't find the relauncher (expected to find it at %@)", relaunchPath], NSLocalizedFailureReasonErrorKey, nil]]]; - // We intentionally don't abandon the update here so that the host won't initiate another. - return; - } - - NSString *pathToRelaunch = [host bundlePath]; - if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) - pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; - NSString *relaunchToolPath = [relaunchPath stringByAppendingPathComponent: @"/Contents/MacOS/finish_installation"]; - NSArray *arguments = [NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]; - if( useXPC ) - [SUXPC launchTaskWithLaunchPath: relaunchToolPath arguments:arguments]; - else - [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; - - [NSApp terminate:self]; -} - -- (void)cleanUpDownload -{ - if (tempDir != nil) // tempDir contains downloadPath, so we implicitly delete both here. - { - BOOL success = NO; -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - success = [[NSFileManager defaultManager] removeFileAtPath: tempDir handler: nil]; // Clean up the copied relauncher -#else - NSError * error = nil; - success = [[NSFileManager defaultManager] removeItemAtPath: tempDir error: &error]; // Clean up the copied relauncher -#endif - if( !success ) - [[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[tempDir stringByDeletingLastPathComponent] destination:@"" files:[NSArray arrayWithObject:[tempDir lastPathComponent]] tag:NULL]; - } -} - -- (void)installerForHost:(SUHost *)aHost failedWithError:(NSError *)error -{ - if (aHost != host) { return; } -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeFileAtPath: relaunchPath handler: nil]; // Clean up the copied relauncher -#else - NSError * dontThrow = nil; - [[NSFileManager defaultManager] removeItemAtPath: relaunchPath error: &dontThrow]; // Clean up the copied relauncher -#endif - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUInstallationError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while installing the update. Please try again later.", nil), NSLocalizedDescriptionKey, [error localizedDescription], NSLocalizedFailureReasonErrorKey, nil]]]; -} - -- (void)abortUpdate -{ - [[self retain] autorelease]; // In case the notification center was the last one holding on to us. - [self cleanUpDownload]; - [[NSNotificationCenter defaultCenter] removeObserver:self]; - [super abortUpdate]; -} - -- (void)abortUpdateWithError:(NSError *)error -{ - if ([error code] != SUNoUpdateError) // Let's not bother logging this. - SULog(@"Sparkle Error: %@", [error localizedDescription]); - if ([error localizedFailureReason]) - SULog(@"Sparkle Error (continued): %@", [error localizedFailureReason]); - if (download) - [download cancel]; - [self abortUpdate]; -} - -- (void)dealloc -{ - [updateItem release]; - [nonDeltaUpdateItem release]; - [download release]; - [downloadPath release]; - [tempDir release]; - [relaunchPath release]; - [super dealloc]; -} - -@end diff --git a/SUBinaryDeltaApply.m b/SUBinaryDeltaApply.m deleted file mode 100644 index 7c086d3a..00000000 --- a/SUBinaryDeltaApply.m +++ /dev/null @@ -1,101 +0,0 @@ -// -// SUBinaryDeltaApply.m -// Sparkle -// -// Created by Mark Rowe on 2009-06-01. -// Copyright 2009 Mark Rowe. All rights reserved. -// - -#import "SUBinaryDeltaApply.h" -#import "SUBinaryDeltaCommon.h" -#import -#import -#import -#import -#import -#import - -static void applyBinaryDeltaToFile(xar_t x, xar_file_t file, NSString *sourceFilePath, NSString *destinationFilePath) -{ - NSString *patchFile = temporaryFilename(@"apply-binary-delta"); - xar_extract_tofile(x, file, [patchFile fileSystemRepresentation]); - const char *argv[] = {"/usr/bin/bspatch", [sourceFilePath fileSystemRepresentation], [destinationFilePath fileSystemRepresentation], [patchFile fileSystemRepresentation]}; - bspatch(4, (char **)argv); - unlink([patchFile fileSystemRepresentation]); -} - -int applyBinaryDelta(NSString *source, NSString *destination, NSString *patchFile) -{ - xar_t x = xar_open([patchFile UTF8String], READ); - if (!x) { - fprintf(stderr, "Unable to open %s. Giving up.\n", [patchFile UTF8String]); - return 1; - } - - NSString *expectedBeforeHash = nil; - NSString *expectedAfterHash = nil; - xar_subdoc_t subdoc; - for (subdoc = xar_subdoc_first(x); subdoc; subdoc = xar_subdoc_next(subdoc)) { - if (!strcmp(xar_subdoc_name(subdoc), "binary-delta-attributes")) { - const char *value = 0; - xar_subdoc_prop_get(subdoc, "before-sha1", &value); - if (value) - expectedBeforeHash = [NSString stringWithUTF8String:value]; - - xar_subdoc_prop_get(subdoc, "after-sha1", &value); - if (value) - expectedAfterHash = [NSString stringWithUTF8String:value]; - } - } - - if (!expectedBeforeHash || !expectedAfterHash) { - fprintf(stderr, "Unable to find before-sha1 or after-sha1 metadata in delta. Giving up.\n"); - return 1; - } - - fprintf(stderr, "Verifying source... "); - NSString *beforeHash = hashOfTree(source); - - if (![beforeHash isEqualToString:expectedBeforeHash]) { - fprintf(stderr, "Source doesn't have expected hash (%s != %s). Giving up.\n", [expectedBeforeHash UTF8String], [beforeHash UTF8String]); - return 1; - } - - fprintf(stderr, "\nCopying files... "); - removeTree(destination); - copyTree(source, destination); - - fprintf(stderr, "\nPatching... "); - xar_file_t file; - xar_iter_t iter = xar_iter_new(); - for (file = xar_file_first(x, iter); file; file = xar_file_next(iter)) { - NSString *path = [NSString stringWithUTF8String:xar_get_path(file)]; - NSString *sourceFilePath = [source stringByAppendingPathComponent:path]; - NSString *destinationFilePath = [destination stringByAppendingPathComponent:path]; - - const char *value; - if (!xar_prop_get(file, "delete", &value) || !xar_prop_get(file, "delete-then-extract", &value)) { - removeTree(destinationFilePath); - if (!xar_prop_get(file, "delete", &value)) - continue; - } - - if (!xar_prop_get(file, "binary-delta", &value)) - applyBinaryDeltaToFile(x, file, sourceFilePath, destinationFilePath); - else - xar_extract_tofile(x, file, [destinationFilePath fileSystemRepresentation]); - } - xar_close(x); - - fprintf(stderr, "\nVerifying destination... "); - NSString *afterHash = hashOfTree(destination); - - if (![afterHash isEqualToString:expectedAfterHash]) { - fprintf(stderr, "Destination doesn't have expected hash (%s != %s). Giving up.\n", [expectedAfterHash UTF8String], [afterHash UTF8String]); - removeTree(destination); - return 1; - } - - fprintf(stderr, "\nDone!\n"); - return 0; -} diff --git a/SUBinaryDeltaCommon.h b/SUBinaryDeltaCommon.h deleted file mode 100644 index 5048c866..00000000 --- a/SUBinaryDeltaCommon.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// SUBinaryDeltaCommon.h -// Sparkle -// -// Created by Mark Rowe on 2009-06-01. -// Copyright 2009 Mark Rowe. All rights reserved. -// - -#ifndef SUBINARYDELTACOMMON_H -#define SUBINARYDELTACOMMON_H - -#include - -@class NSString; -@class NSData; - -extern int binaryDeltaSupported(void); -extern int compareFiles(const FTSENT **a, const FTSENT **b); -extern NSData *hashOfFile(FTSENT *ent); -extern NSString *hashOfTree(NSString *path); -extern void removeTree(NSString *path); -extern void copyTree(NSString *source, NSString *dest); -extern NSString *pathRelativeToDirectory(NSString *directory, NSString *path); -NSString *temporaryFilename(NSString *base); - -#endif diff --git a/SUBinaryDeltaCommon.m b/SUBinaryDeltaCommon.m deleted file mode 100644 index d0241234..00000000 --- a/SUBinaryDeltaCommon.m +++ /dev/null @@ -1,165 +0,0 @@ -// -// SUBinaryDeltaCommon.m -// Sparkle -// -// Created by Mark Rowe on 2009-06-01. -// Copyright 2009 Mark Rowe. All rights reserved. -// - -#include "SUBinaryDeltaCommon.h" -#include -#include -#include -#include -#include -#include -#include -#include - -extern int xar_close(void*) __attribute__((weak_import)); - -int binaryDeltaSupported(void) -{ - // OS X 10.4 didn't include libxar, so we link against it weakly. - // This checks whether libxar is available at runtime. - return xar_close != 0; -} - -int compareFiles(const FTSENT **a, const FTSENT **b) -{ - return strcoll((*a)->fts_name, (*b)->fts_name); -} - -NSString *pathRelativeToDirectory(NSString *directory, NSString *path) -{ - NSUInteger directoryLength = [directory length]; - if ([path hasPrefix:directory]) - return [path substringFromIndex:directoryLength]; - - return path; -} - -NSString *temporaryFilename(NSString *base) -{ - NSString *template = [NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.XXXXXXXXXX", base]]; - char buffer[MAXPATHLEN]; - strcpy(buffer, [template fileSystemRepresentation]); - return [NSString stringWithUTF8String:mkstemp(buffer)]; -} - -static void _hashOfBuffer(unsigned char *hash, const char* buffer, size_t bufferLength) -{ - assert(bufferLength <= UINT32_MAX); - CC_SHA1_CTX hashContext; - CC_SHA1_Init(&hashContext); - CC_SHA1_Update(&hashContext, buffer, (CC_LONG)bufferLength); - CC_SHA1_Final(hash, &hashContext); -} - -static void _hashOfFile(unsigned char* hash, FTSENT *ent) -{ - if (ent->fts_info == FTS_SL) { - char linkDestination[MAXPATHLEN + 1]; - ssize_t linkDestinationLength = readlink(ent->fts_path, linkDestination, MAXPATHLEN); - if (linkDestinationLength < 0) { - perror("readlink"); - return; - } - - _hashOfBuffer(hash, linkDestination, linkDestinationLength); - return; - } - - if (ent->fts_info == FTS_F) { - int fileDescriptor = open(ent->fts_path, O_RDONLY); - if (fileDescriptor == -1) { - perror("open"); - return; - } - - size_t fileSize = (size_t)ent->fts_statp->st_size; - if (fileSize == 0) { - _hashOfBuffer(hash, NULL, 0); - close(fileDescriptor); - return; - } - - void *buffer = mmap(0, fileSize, PROT_READ, MAP_FILE | MAP_PRIVATE, fileDescriptor, 0); - if (buffer == (void*)-1) { - close(fileDescriptor); - perror("mmap"); - return; - } - - _hashOfBuffer(hash, buffer, fileSize); - munmap(buffer, fileSize); - close(fileDescriptor); - return; - } - - if (ent->fts_info == FTS_D) - memset(hash, 0xdd, CC_SHA1_DIGEST_LENGTH); -} - -NSData *hashOfFile(FTSENT *ent) -{ - unsigned char fileHash[CC_SHA1_DIGEST_LENGTH]; - _hashOfFile(fileHash, ent); - return [NSData dataWithBytes:fileHash length:CC_SHA1_DIGEST_LENGTH]; -} - -NSString *hashOfTree(NSString *path) -{ - const char *sourcePaths[] = {[path UTF8String], 0}; - FTS *fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles); - if (!fts) { - perror("fts_open"); - return nil; - } - - CC_SHA1_CTX hashContext; - CC_SHA1_Init(&hashContext); - - FTSENT *ent = 0; - while ((ent = fts_read(fts))) { - if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL) - continue; - - unsigned char fileHash[CC_SHA1_DIGEST_LENGTH]; - _hashOfFile(fileHash, ent); - CC_SHA1_Update(&hashContext, fileHash, sizeof(fileHash)); - - NSString *relativePath = pathRelativeToDirectory(path, [NSString stringWithUTF8String:ent->fts_path]); - NSData *relativePathBytes = [relativePath dataUsingEncoding:NSUTF8StringEncoding]; - CC_SHA1_Update(&hashContext, [relativePathBytes bytes], (uint32_t)[relativePathBytes length]); - } - fts_close(fts); - - unsigned char hash[CC_SHA1_DIGEST_LENGTH]; - CC_SHA1_Final(hash, &hashContext); - - char hexHash[CC_SHA1_DIGEST_LENGTH * 2 + 1]; - size_t i; - for (i = 0; i < CC_SHA1_DIGEST_LENGTH; i++) - sprintf(hexHash + i * 2, "%02x", hash[i]); - - return [NSString stringWithUTF8String:hexHash]; -} - -void removeTree(NSString *path) -{ -#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeItemAtPath:path error:0]; -#else - [[NSFileManager defaultManager] removeFileAtPath:path handler:nil]; -#endif -} - -void copyTree(NSString *source, NSString *dest) -{ -#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] copyItemAtPath:source toPath:dest error:0]; -#else - [[NSFileManager defaultManager] copyPath:source toPath:dest handler:nil]; -#endif -} diff --git a/SUBinaryDeltaTool.m b/SUBinaryDeltaTool.m deleted file mode 100644 index 2aa93a42..00000000 --- a/SUBinaryDeltaTool.m +++ /dev/null @@ -1,269 +0,0 @@ -// -// SUBinaryDeltaTool.m -// Sparkle -// -// Created by Mark Rowe on 2009-06-01. -// Copyright 2009 Mark Rowe. All rights reserved. -// - -#define _DARWIN_NO_64_BIT_INODE 1 - -#include "SUBinaryDeltaCommon.h" -#include "SUBinaryDeltaApply.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -extern int bsdiff(int argc, const char **argv); - -@interface CreateBinaryDeltaOperation : NSOperation -{ - NSString *_relativePath; - NSString *_fromPath; - NSString *_toPath; - NSString *_resultPath; -} -- (id)initWithRelativePath:(NSString *)relativePath oldTree:(NSString *)oldTree newTree:(NSString *)newTree; - -- (NSString *)relativePath; -- (NSString *)resultPath; -@end - -@implementation CreateBinaryDeltaOperation - -- (id)initWithRelativePath:(NSString *)relativePath oldTree:(NSString *)oldTree newTree:(NSString *)newTree -{ - if ((self = [super init])) { - _relativePath = [relativePath copy]; - _fromPath = [[oldTree stringByAppendingPathComponent:relativePath] retain]; - _toPath = [[newTree stringByAppendingPathComponent:relativePath] retain]; - } - return self; -} - -- (NSString *)relativePath -{ - return [[_relativePath retain] autorelease]; -} - -- (NSString *)resultPath -{ - return [[_resultPath retain] autorelease]; -} - -- (void)main -{ - NSString *temporaryFile = temporaryFilename(@"BinaryDelta"); - const char *argv[] = {"/usr/bin/bsdiff", [_fromPath fileSystemRepresentation], [_toPath fileSystemRepresentation], [temporaryFile fileSystemRepresentation]}; - int result = bsdiff(4, argv); - if (!result) - _resultPath = [temporaryFile retain]; -} - -@end - -static NSDictionary *infoForFile(FTSENT *ent) -{ - NSData *hash = hashOfFile(ent); - NSNumber *size = nil; - if (ent->fts_info != FTS_D) - size = [NSNumber numberWithUnsignedLongLong:ent->fts_statp->st_size]; - return [NSDictionary dictionaryWithObjectsAndKeys:hash, @"hash", [NSNumber numberWithUnsignedShort:ent->fts_info], @"type", size, @"size", nil]; -} - -static NSString *absolutePath(NSString *path) -{ - NSURL *url = [[[NSURL alloc] initFileURLWithPath:path] autorelease]; - return [[url absoluteURL] path]; -} - -static NSString *temporaryPatchFile(NSString *patchFile) -{ - NSString *path = absolutePath(patchFile); - NSString *directory = [path stringByDeletingLastPathComponent]; - NSString *file = [path lastPathComponent]; - return [NSString stringWithFormat:@"%@/.%@.tmp", directory, file]; -} - -static BOOL shouldSkipDeltaCompression(NSString *key, NSDictionary* originalInfo, NSDictionary *newInfo) -{ - unsigned long long fileSize = [[newInfo objectForKey:@"size"] unsignedLongLongValue]; - if (fileSize < 4096) - return YES; - - if (!originalInfo) - return YES; - - if ([[originalInfo objectForKey:@"type"] unsignedShortValue] != [[newInfo objectForKey:@"type"] unsignedShortValue]) - return YES; - - return NO; -} - -static BOOL shouldDeleteThenExtract(NSString *key, NSDictionary* originalInfo, NSDictionary *newInfo) -{ - if (!originalInfo) - return NO; - - if ([[originalInfo objectForKey:@"type"] unsignedShortValue] != [[newInfo objectForKey:@"type"] unsignedShortValue]) - return YES; - - return NO; -} - -int main(int argc, char **argv) -{ - if (argc != 5) { -usage: - fprintf(stderr, "Usage: BinaryDelta [create | apply] before-tree after-tree patch-file\n"); - exit(1); - } - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - NSString *command = [NSString stringWithUTF8String:argv[1]]; - NSString *oldPath = [NSString stringWithUTF8String:argv[2]]; - NSString *newPath = [NSString stringWithUTF8String:argv[3]]; - NSString *patchFile = [NSString stringWithUTF8String:argv[4]]; - - if ([command isEqualToString:@"apply"]) { - int result = applyBinaryDelta(oldPath, newPath, patchFile); - [pool drain]; - return result; - } - if (![command isEqualToString:@"create"]) { - [pool drain]; - goto usage; - } - - NSMutableDictionary *originalTreeState = [NSMutableDictionary dictionary]; - - const char *sourcePaths[] = {[oldPath fileSystemRepresentation], 0}; - FTS *fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles); - if (!fts) { - [pool drain]; - perror("fts_open"); - return 1; - } - - fprintf(stderr, "Processing %s...", [oldPath UTF8String]); - FTSENT *ent = 0; - while ((ent = fts_read(fts))) { - if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL && ent->fts_info != FTS_D) - continue; - - NSString *key = pathRelativeToDirectory(oldPath, [NSString stringWithUTF8String:ent->fts_path]); - if (![key length]) - continue; - - NSDictionary *info = infoForFile(ent); - [originalTreeState setObject:info forKey:key]; - } - fts_close(fts); - - NSString *beforeHash = hashOfTree(oldPath); - - NSMutableDictionary *newTreeState = [NSMutableDictionary dictionary]; - for (NSString *key in originalTreeState) - { - [newTreeState setObject:[NSNull null] forKey:key]; - } - - fprintf(stderr, "\nProcessing %s... ", [newPath UTF8String]); - sourcePaths[0] = [newPath fileSystemRepresentation]; - fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles); - if (!fts) { - [pool drain]; - perror("fts_open"); - return 1; - } - - - while ((ent = fts_read(fts))) { - if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL && ent->fts_info != FTS_D) - continue; - - NSString *key = pathRelativeToDirectory(newPath, [NSString stringWithUTF8String:ent->fts_path]); - if (![key length]) - continue; - - NSDictionary *info = infoForFile(ent); - NSDictionary *oldInfo = [originalTreeState objectForKey:key]; - - if ([info isEqual:oldInfo]) - [newTreeState removeObjectForKey:key]; - else - [newTreeState setObject:info forKey:key]; - } - fts_close(fts); - - NSString *afterHash = hashOfTree(newPath); - - fprintf(stderr, "\nGenerating delta... "); - - NSString *temporaryFile = temporaryPatchFile(patchFile); - xar_t x = xar_open([temporaryFile fileSystemRepresentation], WRITE); - xar_opt_set(x, XAR_OPT_COMPRESSION, "bzip2"); - xar_subdoc_t attributes = xar_subdoc_new(x, "binary-delta-attributes"); - xar_subdoc_prop_set(attributes, "before-sha1", [beforeHash UTF8String]); - xar_subdoc_prop_set(attributes, "after-sha1", [afterHash UTF8String]); - - NSOperationQueue *deltaQueue = [[NSOperationQueue alloc] init]; - NSMutableArray *deltaOperations = [NSMutableArray array]; - - NSArray *keys = [[newTreeState allKeys] sortedArrayUsingSelector:@selector(compare:)]; - for (NSString* key in keys) { - id value = [newTreeState valueForKey:key]; - - if ([value isEqual:[NSNull null]]) { - xar_file_t newFile = xar_add_frombuffer(x, 0, [key fileSystemRepresentation], (char *)"", 1); - assert(newFile); - xar_prop_set(newFile, "delete", "true"); - continue; - } - - NSDictionary *originalInfo = [originalTreeState objectForKey:key]; - NSDictionary *newInfo = [newTreeState objectForKey:key]; - if (shouldSkipDeltaCompression(key, originalInfo, newInfo)) { - NSString *path = [newPath stringByAppendingPathComponent:key]; - xar_file_t newFile = xar_add_frompath(x, 0, [key fileSystemRepresentation], [path fileSystemRepresentation]); - assert(newFile); - if (shouldDeleteThenExtract(key, originalInfo, newInfo)) - xar_prop_set(newFile, "delete-then-extract", "true"); - } else { - CreateBinaryDeltaOperation *operation = [[CreateBinaryDeltaOperation alloc] initWithRelativePath:key oldTree:oldPath newTree:newPath]; - [deltaQueue addOperation:operation]; - [deltaOperations addObject:operation]; - [operation release]; - } - } - - [deltaQueue waitUntilAllOperationsAreFinished]; - [deltaQueue release]; - - for (CreateBinaryDeltaOperation *operation in deltaOperations) { - NSString *resultPath = [operation resultPath]; - xar_file_t newFile = xar_add_frompath(x, 0, [[operation relativePath] fileSystemRepresentation], [resultPath fileSystemRepresentation]); - assert(newFile); - xar_prop_set(newFile, "binary-delta", "true"); - unlink([resultPath fileSystemRepresentation]); - } - - xar_close(x); - - unlink([patchFile fileSystemRepresentation]); - link([temporaryFile fileSystemRepresentation], [patchFile fileSystemRepresentation]); - unlink([temporaryFile fileSystemRepresentation]); - fprintf(stderr, "Done!\n"); - - [pool drain]; - return 0; -} diff --git a/SUBinaryDeltaUnarchiver.m b/SUBinaryDeltaUnarchiver.m deleted file mode 100644 index e7b612ac..00000000 --- a/SUBinaryDeltaUnarchiver.m +++ /dev/null @@ -1,48 +0,0 @@ -// -// SUBinaryDeltaUnarchiver.m -// Sparkle -// -// Created by Mark Rowe on 2009-06-03. -// Copyright 2009 Mark Rowe. All rights reserved. -// - -#import "SUBinaryDeltaCommon.h" -#import "SUBinaryDeltaUnarchiver.h" -#import "SUBinaryDeltaApply.h" -#import "SUUnarchiver_Private.h" -#import "SUHost.h" -#import "NTSynchronousTask.h" - -@implementation SUBinaryDeltaUnarchiver - -+ (BOOL)canUnarchivePath:(NSString *)path -{ - return binaryDeltaSupported() && [[path pathExtension] isEqualToString:@"delta"]; -} - -- (void)applyBinaryDelta -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - NSString *sourcePath = [[updateHost bundle] bundlePath]; - NSString *targetPath = [[archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:[sourcePath lastPathComponent]]; - - int result = applyBinaryDelta(sourcePath, targetPath, archivePath); - if (!result) - [self performSelectorOnMainThread:@selector(notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; - else - [self performSelectorOnMainThread:@selector(notifyDelegateOfFailure) withObject:nil waitUntilDone:NO]; - - [pool drain]; -} - -- (void)start -{ - [NSThread detachNewThreadSelector:@selector(applyBinaryDelta) toTarget:self withObject:nil]; -} - -+ (void)load -{ - [self registerImplementation:self]; -} - -@end diff --git a/SUCodeSigningVerifier.m b/SUCodeSigningVerifier.m deleted file mode 100644 index d80e3f5a..00000000 --- a/SUCodeSigningVerifier.m +++ /dev/null @@ -1,115 +0,0 @@ -// -// SUCodeSigningVerifier.m -// Sparkle -// -// Created by Andy Matuschak on 7/5/12. -// -// - -#import -#import "SUCodeSigningVerifier.h" -#import "SULog.h" - -@implementation SUCodeSigningVerifier - -extern OSStatus SecCodeCopySelf(SecCSFlags flags, SecCodeRef *self) __attribute__((weak_import)); - -extern OSStatus SecCodeCopyDesignatedRequirement(SecStaticCodeRef code, SecCSFlags flags, SecRequirementRef *requirement) __attribute__((weak_import)); - -extern OSStatus SecStaticCodeCreateWithPath(CFURLRef path, SecCSFlags flags, SecStaticCodeRef *staticCode) __attribute__((weak_import)); - -extern OSStatus SecStaticCodeCheckValidityWithErrors(SecStaticCodeRef staticCode, SecCSFlags flags, SecRequirementRef requirement, CFErrorRef *errors) __attribute__((weak_import)); - - -+ (BOOL)codeSignatureIsValidAtPath:(NSString *)destinationPath error:(NSError **)error -{ - // This API didn't exist prior to 10.6. - if (SecCodeCopySelf == NULL) return NO; - - OSStatus result; - SecRequirementRef requirement = NULL; - SecStaticCodeRef staticCode = NULL; - SecCodeRef hostCode = NULL; - - result = SecCodeCopySelf(kSecCSDefaultFlags, &hostCode); - if (result != 0) { - SULog(@"Failed to copy host code %d", result); - goto finally; - } - - result = SecCodeCopyDesignatedRequirement(hostCode, kSecCSDefaultFlags, &requirement); - if (result != 0) { - SULog(@"Failed to copy designated requirement %d", result); - goto finally; - } - - NSBundle *newBundle = [NSBundle bundleWithPath:destinationPath]; - if (!newBundle) { - SULog(@"Failed to load NSBundle for update"); - result = -1; - goto finally; - } - - result = SecStaticCodeCreateWithPath((CFURLRef)[newBundle executableURL], kSecCSDefaultFlags, &staticCode); - if (result != 0) { - SULog(@"Failed to get static code %d", result); - goto finally; - } - - result = SecStaticCodeCheckValidityWithErrors(staticCode, kSecCSDefaultFlags | kSecCSCheckAllArchitectures, requirement, (CFErrorRef *)error); - if (result != 0 && error) { - if (result == errSecCSReqFailed) { - CFStringRef requirementString = nil; - if (SecRequirementCopyString(requirement, kSecCSDefaultFlags, &requirementString) == noErr) - SULog(@"Failed requirement %@", requirementString); - CFRelease(requirementString); - - [self logSigningInfoForCode:hostCode label:@"host info"]; - [self logSigningInfoForCode:staticCode label:@"new info"]; - } - - [*error autorelease]; - } - -finally: - if (hostCode) CFRelease(hostCode); - if (staticCode) CFRelease(staticCode); - if (requirement) CFRelease(requirement); - return (result == 0); -} - -+ (void)logSigningInfoForCode:(SecStaticCodeRef)code label:(NSString*)label { - CFDictionaryRef signingInfo = nil; - const SecCSFlags flags = kSecCSSigningInformation | kSecCSRequirementInformation | kSecCSDynamicInformation | kSecCSContentInformation; - if (SecCodeCopySigningInformation(code, flags, &signingInfo) == noErr) { - NSDictionary* signingDict = (NSDictionary*)signingInfo; - NSArray* keys = @[@"format", @"identifier", @"requirements", @"teamid", @"signing-time"]; - NSMutableDictionary* relevantInfo = [NSMutableDictionary new]; - for (NSString* key in keys) - [relevantInfo setObject:[signingDict objectForKey:key] forKey:key]; - NSDictionary* infoPlist = [signingDict objectForKey:@"info-plist"]; - [relevantInfo setObject:[infoPlist objectForKey:@"CFBundleShortVersionString"] forKey:@"version"]; - [relevantInfo setObject:[infoPlist objectForKey:@"CFBundleVersion"] forKey:@"build"]; - CFRelease(signingInfo); - SULog(@"%@: %@", label, relevantInfo); - } -} - -+ (BOOL)hostApplicationIsCodeSigned -{ - // This API didn't exist prior to 10.6. - if (SecCodeCopySelf == NULL) return NO; - - OSStatus result; - SecCodeRef hostCode = NULL; - result = SecCodeCopySelf(kSecCSDefaultFlags, &hostCode); - if (result != 0) return NO; - - SecRequirementRef requirement = NULL; - result = SecCodeCopyDesignatedRequirement(hostCode, kSecCSDefaultFlags, &requirement); - if (hostCode) CFRelease(hostCode); - if (requirement) CFRelease(requirement); - return (result == 0); -} - -@end diff --git a/SUConstants.h b/SUConstants.h deleted file mode 100644 index 0dcc6cfb..00000000 --- a/SUConstants.h +++ /dev/null @@ -1,113 +0,0 @@ -// -// SUConstants.h -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - - -#ifndef SUCONSTANTS_H -#define SUCONSTANTS_H - -// ----------------------------------------------------------------------------- -// Preprocessor flags: -// ----------------------------------------------------------------------------- - -// Turn off DSA signature check (practically invites man-in-the-middle attacks): -#define ENDANGER_USERS_WITH_INSECURE_UPDATES 0 - -// Sparkle usually doesn't allow downgrades as they're usually accidental, but -// if your app has a downgrade function or URL handler, turn this on: -#define PERMIT_AUTOMATED_DOWNGRADES 0 - -// 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 0 - - -#define TRY_TO_APPEND_VERSION_NUMBER 1 - -// ----------------------------------------------------------------------------- -// Notifications: -// ----------------------------------------------------------------------------- - -extern NSString *const SUUpdaterWillRestartNotification; - -extern NSString *const SUTechnicalErrorInformationKey; - -// ----------------------------------------------------------------------------- -// PList keys:: -// ----------------------------------------------------------------------------- - -extern NSString *const SUFeedURLKey; -extern NSString *const SUHasLaunchedBeforeKey; -extern NSString *const SUShowReleaseNotesKey; -extern NSString *const SUSkippedVersionKey; -extern NSString *const SUScheduledCheckIntervalKey; -extern NSString *const SULastCheckTimeKey; -extern NSString *const SUPublicDSAKeyKey; -extern NSString *const SUPublicDSAKeyFileKey; -extern NSString *const SUAutomaticallyUpdateKey; -extern NSString *const SUAllowsAutomaticUpdatesKey; -extern NSString *const SUEnableAutomaticChecksKey; -extern NSString *const SUEnableAutomaticChecksKeyOld; -extern NSString *const SUEnableSystemProfilingKey; -extern NSString *const SUSendProfileInfoKey; -extern NSString *const SULastProfileSubmitDateKey; -extern NSString *const SUPromptUserOnFirstLaunchKey; -extern NSString *const SUFixedHTMLDisplaySizeKey; -extern NSString *const SUKeepDownloadOnFailedInstallKey; -extern NSString *const SUDefaultsDomainKey; - -// ----------------------------------------------------------------------------- -// Errors: -// ----------------------------------------------------------------------------- - -extern NSString *const SUSparkleErrorDomain; -// Appcast phase errors. -extern OSStatus SUAppcastParseError; -extern OSStatus SUNoUpdateError; -extern OSStatus SUAppcastError; -extern OSStatus SURunningFromDiskImageError; - -// Downlaod phase errors. -extern OSStatus SUTemporaryDirectoryError; - -// Extraction phase errors. -extern OSStatus SUUnarchivingError; -extern OSStatus SUSignatureError; - -// Installation phase errors. -extern OSStatus SUFileCopyFailure; -extern OSStatus SUAuthenticationFailure; -extern OSStatus SUMissingUpdateError; -extern OSStatus SUMissingInstallerToolError; -extern OSStatus SURelaunchError; -extern OSStatus SUInstallationError; -extern OSStatus SUDowngradeError; - - -// ----------------------------------------------------------------------------- -// NSInteger fixer-upper: -// ----------------------------------------------------------------------------- - -// NSInteger is a type that was added to Leopard. -// Here is some glue to ensure that NSInteger will work with pre-10.5 SDKs: -#ifndef NSINTEGER_DEFINED - #ifdef NS_BUILD_32_LIKE_64 - typedef long NSInteger; - typedef unsigned long NSUInteger; - #else - typedef int NSInteger; - typedef unsigned int NSUInteger; - #endif - #define NSIntegerMax LONG_MAX - #define NSIntegerMin LONG_MIN - #define NSUIntegerMax ULONG_MAX - #define NSINTEGER_DEFINED 1 -#endif - - -#endif diff --git a/SUDSAVerifier.h b/SUDSAVerifier.h deleted file mode 100644 index 814e4c59..00000000 --- a/SUDSAVerifier.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// SUDSAVerifier.h -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#ifndef SUDSAVERIFIER_H -#define SUDSAVERIFIER_H - -#import - -@interface SUDSAVerifier : NSObject {} -+ (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature withPublicDSAKey:(NSString *)pkeyString; -@end - -#endif diff --git a/SUDSAVerifier.m b/SUDSAVerifier.m deleted file mode 100644 index eb4dd2ff..00000000 --- a/SUDSAVerifier.m +++ /dev/null @@ -1,357 +0,0 @@ -// -// SUDSAVerifier.m -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUDSAVerifier.h" -#import - -#import - -/* CDSA Specific */ -static CSSM_CSP_HANDLE cdsaInit( void ); -static void cdsaRelease( CSSM_CSP_HANDLE cspHandle ); -static CSSM_KEY_PTR cdsaCreateKey( CFDataRef rawKey ); -static void cdsaReleaseKey( CSSM_KEY_PTR key ); -static BOOL cdsaVerifyKey( CSSM_CSP_HANDLE cspHandle, const CSSM_KEY_PTR key ); -static BOOL cdsaVerifySignature( CSSM_CSP_HANDLE cspHandle, const CSSM_KEY_PTR key, const CFDataRef msg, const CFDataRef signature ); -static CFDataRef cdsaCreateSHA1Digest( CSSM_CSP_HANDLE cspHandle, const CFDataRef bytes ); - -/* Helper Functions */ -static NSData *b64decode( NSString *str ); -static NSData *rawKeyData( NSString *str ); - -@implementation SUDSAVerifier -#pragma mark - - -+ (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature withPublicDSAKey:(NSString *)pkeyString -{ - if ( !encodedSignature || !pkeyString || !path ) return NO; - BOOL result = NO; - NSData *pathData = nil, *sigData = nil; - CFDataRef hashData = NULL; - CSSM_KEY_PTR pubKey = cdsaCreateKey((CFDataRef)rawKeyData(pkeyString)); // Create the DSA key - CSSM_CSP_HANDLE cspHandle = CSSM_INVALID_HANDLE; - - if ( !pubKey ) return NO; - if ( (cspHandle = cdsaInit()) == CSSM_INVALID_HANDLE ) goto validate_end; // Init CDSA - if ( !cdsaVerifyKey(cspHandle, pubKey) ) goto validate_end; // Verify the key is valid - if ( (pathData = [NSData dataWithContentsOfFile:path]) == nil ) goto validate_end; // File data - if ( (hashData = cdsaCreateSHA1Digest(cspHandle, (CFDataRef)pathData)) == NULL ) goto validate_end; // Hash - - // Remove any line feeds from end of signature - // (Not likely needed, but the verify _can_ fail if there is, so...) - if ( [encodedSignature characterAtIndex:[encodedSignature length] - 1] == '\n' ) { - NSMutableString *sig = [[encodedSignature mutableCopy] autorelease]; - while ( [sig characterAtIndex:[sig length] - 1] == '\n' ) - [sig deleteCharactersInRange:NSMakeRange([sig length] - 1, 1)]; - encodedSignature = sig; - } - if ( (sigData = b64decode(encodedSignature)) == nil ) goto validate_end; // Decode signature - - // Verify the signature on the file - result = cdsaVerifySignature( cspHandle, pubKey, hashData, (CFDataRef)sigData ); - -validate_end: - cdsaReleaseKey( pubKey ); - cdsaRelease( cspHandle ); - if ( hashData ) CFRelease( hashData ); - - return result; -} - -@end - -#pragma mark - -#pragma mark Misc Helper Functions -#pragma mark - - -static NSData *b64decode( NSString *str ) -{ - if ( !str ) return nil; - NSMutableData *retval = nil; - NSData *input = [str dataUsingEncoding:NSUTF8StringEncoding]; - UInt8 *ibuf = (UInt8 *)[input bytes], *buf = NULL, *a = NULL; - size_t len = [input length], i = 0, j = 0, size = ((len + 3) / 4) * 3; - static UInt8 table[256] = { - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* 00-0F */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* 10-1F */ - 99,99,99,99,99,99,99,99,99,99,99,62,99,99,99,63, /* 20-2F */ - 52,53,54,55,56,57,58,59,60,61,99,99,99,99,99,99, /* 30-3F */ - 99, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14, /* 40-4F */ - 15,16,17,18,19,20,21,22,23,24,25,99,99,99,99,99, /* 50-5F */ - 99,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40, /* 60-6F */ - 41,42,43,44,45,46,47,48,49,50,51,99,99,99,99,99, /* 70-7F */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* 80-8F */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* 90-9F */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* A0-AF */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* B0-BF */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* C0-CF */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* D0-DF */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, /* E0-EF */ - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99 /* F0-FF */ - }; - - retval = [NSMutableData dataWithLength:size]; - buf = [retval mutableBytes]; - - if ( (a = calloc(4, sizeof(UInt8))) == NULL ) return nil; - - do { - size_t ai = 0; - a[0] = a[1] = a[2] = a[3] = 0; - do { - UInt8 d = table[ibuf[i++]]; - if ( d != 99 ) { - a[ai] = d; - ai++; - if ( ai == 4 ) break; - } - } while ( i < len ); - if ( ai >= 2 ) buf[j] = (a[0] << 2) | (a[1] >> 4); - if ( ai >= 3 ) buf[j+1] = (a[1] << 4) | (a[2] >> 2); - if ( ai >= 4 ) buf[j+2] = (a[2] << 6) | a[3]; - j += ai-1; - } while ( i < len ); - - free( a ); - if ( j < size ) [retval setLength:j]; - - return retval; -} - -static NSData *rawKeyData( NSString *key ) -{ - if ( (key == nil) || ([key length] == 0) ) return nil; - NSMutableString *t = [[key mutableCopy] autorelease]; - - // Remove the PEM guards (if present) - [t replaceOccurrencesOfString:@"-" withString:@"" options:NSLiteralSearch range:NSMakeRange(0, [t length])]; - [t replaceOccurrencesOfString:@"BEGIN PUBLIC KEY" withString:@"" options:NSLiteralSearch range:NSMakeRange(0, [t length])]; - [t replaceOccurrencesOfString:@"END PUBLIC KEY" withString:@"" options:NSLiteralSearch range:NSMakeRange(0, [t length])]; - - // Remove any line feeds from the beginning of the key - while ( [t characterAtIndex:0] == '\n' ) { - [t deleteCharactersInRange:NSMakeRange(0, 1)]; - } - - // Remove any line feeds at the end of the key - while ( [t characterAtIndex:[t length] - 1] == '\n' ) { - [t deleteCharactersInRange:NSMakeRange([t length] - 1, 1)]; - } - - // Remove whitespace around each line of the key. - NSMutableArray *pkeyTrimmedLines = [NSMutableArray array]; - NSEnumerator *pkeyLinesEnumerator = [[t componentsSeparatedByString:@"\n"] objectEnumerator]; - NSCharacterSet *whiteSet = [NSCharacterSet whitespaceCharacterSet]; - NSString *pkeyLine; - while ((pkeyLine = [pkeyLinesEnumerator nextObject]) != nil) - { - [pkeyTrimmedLines addObject:[pkeyLine stringByTrimmingCharactersInSet:whiteSet]]; - } - key = [pkeyTrimmedLines componentsJoinedByString:@"\n"]; // Put them back together. - - // Base64 decode to return the raw key bits (DER format rather than PEM) - return b64decode( key ); -} - -#pragma mark - -#pragma mark CDSA -#pragma mark - - -/* Helper Functions */ -static CSSM_DATA_PTR su_createData( CFDataRef bytes ); -static void su_freeData( CSSM_DATA_PTR data, Boolean freeData ); -static Boolean su_copyBytesToData( CSSM_DATA_PTR data, CSSM_SIZE size, const uint8 *bytes ); - -/* Memory functions */ -static void *su_malloc( CSSM_SIZE size, void *ref ); -static void su_free( void *ptr, void *ref ); -static void *su_realloc( void *ptr, CSSM_SIZE size, void *ref ); -static void *su_calloc( uint32 num, CSSM_SIZE size, void *ref ); - -/* Constants & Typedefs */ -static CSSM_VERSION vers = { 2, 0 }; -static const CSSM_GUID su_guid = { 'S', 'p', 'a', { 'r', 'k', 'l', 'e', 0, 0, 0, 0 } }; -static CSSM_BOOL cssmInited = CSSM_FALSE; - -static CSSM_API_MEMORY_FUNCS SU_MemFuncs = { - su_malloc, - su_free, - su_realloc, - su_calloc, - NULL -}; - -static CSSM_CSP_HANDLE cdsaInit( void ) -{ - CSSM_CSP_HANDLE cspHandle = CSSM_INVALID_HANDLE; - CSSM_RETURN crtn; - - if ( !cssmInited ) { - CSSM_PVC_MODE pvcPolicy = CSSM_PVC_NONE; - crtn = CSSM_Init( &vers, CSSM_PRIVILEGE_SCOPE_NONE, &su_guid, CSSM_KEY_HIERARCHY_NONE, &pvcPolicy, NULL ); - if ( crtn ) return CSSM_INVALID_HANDLE; - cssmInited = CSSM_TRUE; - } - - crtn = CSSM_ModuleLoad( &gGuidAppleCSP, CSSM_KEY_HIERARCHY_NONE, NULL, NULL ); - if ( crtn ) return CSSM_INVALID_HANDLE; - - crtn = CSSM_ModuleAttach( &gGuidAppleCSP, &vers, &SU_MemFuncs, 0, CSSM_SERVICE_CSP, 0, CSSM_KEY_HIERARCHY_NONE, NULL, 0, NULL, &cspHandle ); - if ( crtn ) return CSSM_INVALID_HANDLE; - - return cspHandle; -} - -static void cdsaRelease( CSSM_CSP_HANDLE cspHandle ) -{ - if ( CSSM_ModuleDetach(cspHandle) != CSSM_OK ) return; - CSSM_ModuleUnload( &gGuidAppleCSP, NULL, NULL ); -} - -static CSSM_KEY_PTR cdsaCreateKey( CFDataRef rawKey ) -{ - CSSM_KEY_PTR retval = NULL; - - if ( !rawKey || (CFDataGetLength(rawKey) == 0) ) return NULL; - - if ( (retval = su_malloc(sizeof(CSSM_KEY), NULL)) == NULL ) return NULL; - - if ( !su_copyBytesToData(&(retval->KeyData), CFDataGetLength(rawKey), CFDataGetBytePtr(rawKey)) ) { - su_free( retval, NULL ); - return NULL; - } - - CSSM_KEYHEADER_PTR hdr = &(retval->KeyHeader); - - memset( hdr, 0, sizeof(CSSM_KEYHEADER) ); - - hdr->HeaderVersion = CSSM_KEYHEADER_VERSION; - hdr->CspId = su_guid; - hdr->BlobType = CSSM_KEYBLOB_RAW; - hdr->Format = CSSM_KEYBLOB_RAW_FORMAT_X509; - hdr->AlgorithmId = CSSM_ALGID_DSA; - hdr->KeyClass = CSSM_KEYCLASS_PUBLIC_KEY; - hdr->KeyAttr = CSSM_KEYATTR_EXTRACTABLE; - hdr->KeyUsage = CSSM_KEYUSE_ANY; - - return retval; -} - -static void cdsaReleaseKey( CSSM_KEY_PTR key ) -{ - if ( key ) { - if ( key->KeyData.Data ) su_free( key->KeyData.Data, NULL ); - su_free( key, NULL ); - } -} - -BOOL cdsaVerifyKey( CSSM_CSP_HANDLE cspHandle, CSSM_KEY_PTR key ) -{ - if ( key->KeyHeader.LogicalKeySizeInBits == 0 ) { - CSSM_RETURN crtn; - CSSM_KEY_SIZE keySize; - - /* This will fail if the key isn't valid */ - crtn = CSSM_QueryKeySizeInBits( cspHandle, CSSM_INVALID_HANDLE, key, &keySize ); - if ( crtn ) return NO; - key->KeyHeader.LogicalKeySizeInBits = keySize.LogicalKeySizeInBits; - } - return YES; -} - -static BOOL cdsaVerifySignature( CSSM_CSP_HANDLE cspHandle, const CSSM_KEY_PTR key, const CFDataRef msg, const CFDataRef signature ) -{ - CSSM_CC_HANDLE ccHandle = CSSM_INVALID_HANDLE; - CSSM_DATA_PTR plain = su_createData( msg ), cipher = su_createData( signature ); - BOOL retval = NO; - - if ( !plain || !cipher || (CSSM_CSP_CreateSignatureContext(cspHandle, CSSM_ALGID_SHA1WithDSA, NULL, key, &ccHandle) != CSSM_OK) ) - goto verify_end; - - retval = ( CSSM_VerifyData(ccHandle, plain, 1, CSSM_ALGID_NONE, cipher) == CSSM_OK ); - -verify_end: - su_freeData( plain, true ); - su_freeData( cipher, true ); - if ( ccHandle ) CSSM_DeleteContext( ccHandle ); - - return retval; -} - -static CFDataRef cdsaCreateSHA1Digest( CSSM_CSP_HANDLE cspHandle, const CFDataRef bytes ) -{ - CSSM_CC_HANDLE ccHandle = CSSM_INVALID_HANDLE; - CSSM_DATA_PTR data = su_createData( bytes ), dgst = su_createData( NULL ); - CFDataRef retval = NULL; - - if ( !data || !dgst || (CSSM_CSP_CreateDigestContext(cspHandle, CSSM_ALGID_SHA1, &ccHandle) != CSSM_OK) ) - goto digest_end; - - if ( CSSM_DigestData(ccHandle, data, 1, dgst) == CSSM_OK ) - retval = CFDataCreate( kCFAllocatorDefault, (const UInt8 *)dgst->Data, (CFIndex)dgst->Length ); - -digest_end: - su_freeData( data, true ); - su_freeData( dgst, true ); - if ( ccHandle ) CSSM_DeleteContext( ccHandle ); - - return retval; -} - -/* Memory Functions */ -static void *su_malloc( CSSM_SIZE size, void *ref ) -{ - return malloc( size ); -} - -static void su_free( void *ptr, void *ref ) -{ - free( ptr ); -} - -static void *su_realloc( void *ptr, CSSM_SIZE size, void *ref ) -{ - return realloc( ptr, size ); -} - -static void *su_calloc( uint32 num, CSSM_SIZE size, void *ref ) -{ - return calloc( num, size ); -} - -/* Helper Functions */ -static CSSM_DATA_PTR su_createData( CFDataRef bytes ) -{ - CSSM_DATA_PTR data = su_malloc( sizeof(CSSM_DATA), NULL ); - if ( !data ) return NULL; - data->Data = NULL; - data->Length = 0; - if ( bytes ) su_copyBytesToData( data, CFDataGetLength(bytes), CFDataGetBytePtr(bytes) ); - return data; -} - -static void su_freeData( CSSM_DATA_PTR data, Boolean freeData ) -{ - if ( data ) { - if ( freeData && data->Data ) su_free( data->Data, NULL ); - su_free( data, NULL ); - } -} - -static Boolean su_copyBytesToData( CSSM_DATA_PTR data, CSSM_SIZE size, const uint8 *bytes ) -{ - Boolean retval = false; - if ( size && bytes ) { - if ( (data->Data = su_malloc(size, NULL)) ) { - memcpy( data->Data, bytes, size ); - data->Length = size; - retval = true; - } - } - return retval; -} diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m deleted file mode 100644 index 95531974..00000000 --- a/SUDiskImageUnarchiver.m +++ /dev/null @@ -1,206 +0,0 @@ -// -// SUDiskImageUnarchiver.m -// Sparkle -// -// Created by Andy Matuschak on 6/16/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUDiskImageUnarchiver.h" -#import "SUUnarchiver_Private.h" -#import "NTSynchronousTask.h" -#import "SULog.h" -#import - -@implementation SUDiskImageUnarchiver - -+ (BOOL)canUnarchivePath:(NSString *)path -{ - return [[path pathExtension] isEqualToString:@"dmg"]; -} - -// Called on a non-main thread. -- (void)extractDMG -{ - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:[NSArray arrayWithObjects: @"isencrypted", archivePath, nil] input:NULL]; - if([self isEncrypted:result] && [delegate respondsToSelector:@selector(unarchiver:requiresPasswordReturnedViaInvocation:)]) { - [self performSelectorOnMainThread:@selector(requestPasswordFromDelegate) withObject:nil waitUntilDone:NO]; - } else { - [self extractDMGWithPassword:nil]; - } - - [pool release]; -} - -// Called on a non-main thread. -- (void)extractDMGWithPassword:(NSString *)password -{ - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - BOOL mountedSuccessfully = NO; - - SULog(@"Extracting %@ as a DMG", archivePath); - - // get a unique mount point path - NSString *mountPointName = nil; - NSString *mountPoint = nil; - FSRef tmpRef; - do - { - CFUUIDRef uuid = CFUUIDCreate(NULL); - if (uuid) - { - CFStringRef uuidString = CFUUIDCreateString(NULL, uuid); - if (uuidString) - { - mountPoint = [@"/Volumes" stringByAppendingPathComponent:(NSString*)uuidString]; - CFRelease(uuidString); - } - CFRelease(uuid); - } - } - while (noErr == FSPathMakeRefWithOptions((UInt8 *)[mountPoint fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &tmpRef, NULL)); - - NSData *promptData = nil; - if (password) { - NSString *data = [NSString stringWithFormat:@"%@\nyes\n", password]; - const char *bytes = [data cStringUsingEncoding:NSUTF8StringEncoding]; - NSUInteger length = [data lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; - promptData = [NSData dataWithBytes:bytes length:length]; - } - else - promptData = [NSData dataWithBytes:"yes\n" length:4]; - - NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; - - NSData *output = nil; - NSInteger taskResult = -1; - @try - { - NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; - - [task run:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:promptData]; - - taskResult = [task result]; - output = [[[task output] copy] autorelease]; - [task release]; - } - @catch (NSException *localException) - { - goto reportError; - } - - if (taskResult != 0) - { - NSString* resultStr = output ? [[[NSString alloc] initWithData: output encoding: NSUTF8StringEncoding] autorelease] : nil; - if (password != nil && [resultStr rangeOfString:@"Authentication error"].location != NSNotFound && [delegate respondsToSelector:@selector(unarchiver:requiresPasswordReturnedViaInvocation:)]) { - [self performSelectorOnMainThread:@selector(requestPasswordFromDelegate) withObject:nil waitUntilDone:NO]; - goto finally; - } else { - SULog( @"hdiutil failed with code: %d data: <<%@>>", taskResult, resultStr ); - goto reportError; - } - } - mountedSuccessfully = YES; - - // Now that we've mounted it, we need to copy out its contents. - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) { - // On 10.7 and later we don't want to use the File Manager API and instead want to use NSFileManager (fixes #827357). - NSFileManager *manager = [[[NSFileManager alloc] init] autorelease]; - NSError *error = nil; - NSArray *contents = [manager contentsOfDirectoryAtPath:mountPoint error:&error]; - if (error) - { - SULog(@"Couldn't enumerate contents of archive mounted at %@: %@", mountPoint, error); - goto reportError; - } - - NSEnumerator *contentsEnumerator = [contents objectEnumerator]; - NSString *item; - while ((item = [contentsEnumerator nextObject])) - { - NSString *fromPath = [mountPoint stringByAppendingPathComponent:item]; - NSString *toPath = [[archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:item]; - - // We skip any files in the DMG which are not readable. - if (![manager isReadableFileAtPath:fromPath]) - continue; - - SULog(@"copyItemAtPath:%@ toPath:%@", fromPath, toPath); - - if (![manager copyItemAtPath:fromPath toPath:toPath error:&error]) - { - SULog(@"Couldn't copy item: %@ : %@", error, error.userInfo ? error.userInfo : @""); - goto reportError; - } - } - } - else { - FSRef srcRef, dstRef; - OSStatus err; - err = FSPathMakeRef((UInt8 *)[mountPoint fileSystemRepresentation], &srcRef, NULL); - if (err != noErr) goto reportError; - err = FSPathMakeRef((UInt8 *)[[archivePath stringByDeletingLastPathComponent] fileSystemRepresentation], &dstRef, NULL); - if (err != noErr) goto reportError; - - err = FSCopyObjectSync(&srcRef, &dstRef, (CFStringRef)mountPointName, NULL, kFSFileOperationSkipSourcePermissionErrors); - if (err != noErr) goto reportError; - } - - [self performSelectorOnMainThread:@selector(notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; - goto finally; - -reportError: - [self performSelectorOnMainThread:@selector(notifyDelegateOfFailure) withObject:nil waitUntilDone:NO]; - -finally: - if (mountedSuccessfully) - [NSTask launchedTaskWithLaunchPath:@"/usr/bin/hdiutil" arguments:[NSArray arrayWithObjects:@"detach", mountPoint, @"-force", nil]]; - else - SULog(@"Can't mount DMG %@",archivePath); - [pool drain]; -} - -- (void)start -{ - [NSThread detachNewThreadSelector:@selector(extractDMG) toTarget:self withObject:nil]; -} - -+ (void)load -{ - [self registerImplementation:self]; -} - -- (BOOL)isEncrypted:(NSData*)resultData -{ - BOOL result = NO; - if(resultData) - { - NSString *data = [NSString stringWithCString:(char*)[resultData bytes] encoding:NSUTF8StringEncoding]; - if (!NSEqualRanges([data rangeOfString:@"passphrase-count"], NSMakeRange(NSNotFound, 0))) - { - result = YES; - } - } - return result; -} - -- (void)requestPasswordFromDelegate -{ - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[self methodSignatureForSelector:@selector(continueWithPassword:)]]; - [invocation setSelector:@selector(continueWithPassword:)]; - [invocation setTarget:self]; - [invocation retainArguments]; - [delegate unarchiver:self requiresPasswordReturnedViaInvocation:invocation]; -} - -- (void)continueWithPassword:(NSString *)password -{ - [NSThread detachNewThreadSelector:@selector(extractDMGWithPassword:) toTarget:self withObject:password]; -} - -@end diff --git a/SUHost.h b/SUHost.h deleted file mode 100644 index 58244ecf..00000000 --- a/SUHost.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// SUHost.h -// Sparkle -// -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUUpdater.h" -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" - -@interface SUHost : NSObject -{ -@private - NSBundle *bundle; - NSString *defaultsDomain; - BOOL usesStandardUserDefaults; -} - -+ (NSString *)systemVersionString; - -- (id)initWithBundle:(NSBundle *)aBundle; -- (NSBundle *)bundle; -- (NSString *)bundlePath; -- (NSString *)appSupportPath; -- (NSString *)installationPath; -- (NSString *)name; -- (NSString *)version; -- (NSString *)displayVersion; -- (NSImage *)icon; -- (BOOL)isRunningOnReadOnlyVolume; -- (BOOL)isBackgroundApplication; -- (NSString *)publicDSAKey; -- (NSArray *)systemProfile; - -- (id)objectForInfoDictionaryKey:(NSString *)key; -- (BOOL)boolForInfoDictionaryKey:(NSString *)key; -- (id)objectForUserDefaultsKey:(NSString *)defaultName; -- (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName; -- (BOOL)boolForUserDefaultsKey:(NSString *)defaultName; -- (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName; -- (id)objectForKey:(NSString *)key; -- (BOOL)boolForKey:(NSString *)key; -@end diff --git a/SUHost.m b/SUHost.m deleted file mode 100644 index 71ba84d5..00000000 --- a/SUHost.m +++ /dev/null @@ -1,270 +0,0 @@ -// -// SUHost.m -// Sparkle -// -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUHost.h" - -#import "SUConstants.h" -#import "SUSystemProfiler.h" -#import // For statfs for isRunningOnReadOnlyVolume -#import "SULog.h" - - -@implementation SUHost - -- (id)initWithBundle:(NSBundle *)aBundle -{ - if ((self = [super init])) - { - if (aBundle == nil) aBundle = [NSBundle mainBundle]; - 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]; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self bundlePath], [self installationPath]]; } - -- (NSBundle *)bundle -{ - return bundle; -} - -- (NSString *)bundlePath -{ - return [bundle bundlePath]; -} - -- (NSString *)appSupportPath -{ - NSArray *appSupportPaths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES); - NSString *appSupportPath = nil; - if (!appSupportPaths || [appSupportPaths count] == 0) - { - SULog(@"Failed to find app support directory! Using ~/Library/Application Support..."); - appSupportPath = [@"~/Library/Application Support" stringByExpandingTildeInPath]; - } - else - appSupportPath = [appSupportPaths objectAtIndex:0]; - appSupportPath = [appSupportPath stringByAppendingPathComponent:[self name]]; - return appSupportPath; -} - -- (NSString *)installationPath -{ -#if NORMALIZE_INSTALLED_APP_NAME - // 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 -{ - NSString *name = [bundle objectForInfoDictionaryKey:@"CFBundleDisplayName"]; - if (name) return name; - - name = [self objectForInfoDictionaryKey:@"CFBundleName"]; - if (name) return name; - - return [[[NSFileManager defaultManager] displayNameAtPath:[bundle bundlePath]] stringByDeletingPathExtension]; -} - -- (NSString *)version -{ - NSString *version = [bundle objectForInfoDictionaryKey:@"CFBundleVersion"]; - if (!version || [version isEqualToString:@""]) - [NSException raise:@"SUNoVersionException" format:@"This host (%@) has no CFBundleVersion! This attribute is required.", [self bundlePath]]; - return version; -} - -- (NSString *)displayVersion -{ - NSString *shortVersionString = [bundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"]; - if (shortVersionString) - return shortVersionString; - else - return [self version]; // Fall back on the normal version string. -} - -- (NSImage *)icon -{ - // 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 - // 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: - if (!iconPath) - iconPath = [bundle pathForResource:[bundle objectForInfoDictionaryKey:@"CFBundleIconFile"] ofType: nil]; - NSImage *icon = [[[NSImage alloc] initWithContentsOfFile:iconPath] autorelease]; - // Use a default icon if none is defined. - if (!icon) { - BOOL isMainBundle = (bundle == [NSBundle mainBundle]); - - // Starting with 10.6, iconForFileType: accepts a UTI. - NSString *fileType = nil; - if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_5) - fileType = isMainBundle ? NSFileTypeForHFSTypeCode(kGenericApplicationIcon) : @".bundle"; - else - fileType = isMainBundle ? (NSString*)kUTTypeApplication : (NSString*)kUTTypeBundle; - icon = [[NSWorkspace sharedWorkspace] iconForFileType:fileType]; - } - return icon; -} - -- (BOOL)isRunningOnReadOnlyVolume -{ - struct statfs statfs_info; - statfs([[bundle bundlePath] fileSystemRepresentation], &statfs_info); - return (statfs_info.f_flags & MNT_RDONLY); -} - -- (BOOL)isBackgroundApplication -{ - ProcessSerialNumber PSN; - GetCurrentProcess(&PSN); - CFDictionaryRef processInfo = ProcessInformationCopyDictionary(&PSN, kProcessDictionaryIncludeAllInformationMask); - BOOL isElement = [[(NSDictionary *)processInfo objectForKey:@"LSUIElement"] boolValue]; - if (processInfo) - CFRelease(processInfo); - return isElement; -} - -- (NSString *)publicDSAKey -{ - // Maybe the key is just a string in the Info.plist. - NSString *key = [bundle objectForInfoDictionaryKey:SUPublicDSAKeyKey]; - if (key) { return key; } - - // More likely, we've got a reference to a Resources file by filename: - NSString *keyFilename = [self objectForInfoDictionaryKey:SUPublicDSAKeyFileKey]; - if (!keyFilename) { return nil; } - NSError *ignoreErr = nil; - return [NSString stringWithContentsOfFile:[bundle pathForResource:keyFilename ofType:nil] encoding:NSASCIIStringEncoding error: &ignoreErr]; -} - -- (NSArray *)systemProfile -{ - return [[SUSystemProfiler sharedSystemProfiler] systemProfileArrayForHost:self]; -} - -- (id)objectForInfoDictionaryKey:(NSString *)key -{ - return [bundle objectForInfoDictionaryKey:key]; -} - -- (BOOL)boolForInfoDictionaryKey:(NSString *)key -{ - return [[self objectForInfoDictionaryKey:key] boolValue]; -} - -- (id)objectForUserDefaultsKey:(NSString *)defaultName -{ - // 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 (usesStandardUserDefaults) - return [[NSUserDefaults standardUserDefaults] objectForKey:defaultName]; - - CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); - return [(id)CFMakeCollectable(obj) autorelease]; -} - -- (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName; -{ - if (usesStandardUserDefaults) - { - [[NSUserDefaults standardUserDefaults] setObject:value forKey:defaultName]; - } - else - { - CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - } -} - -- (BOOL)boolForUserDefaultsKey:(NSString *)defaultName -{ - if (usesStandardUserDefaults) - return [[NSUserDefaults standardUserDefaults] boolForKey:defaultName]; - - BOOL value; - CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); - if (plr == NULL) - value = NO; - else - { - value = (BOOL)CFBooleanGetValue((CFBooleanRef)plr); - CFRelease(plr); - } - return value; -} - -- (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName -{ - if (usesStandardUserDefaults) - { - [[NSUserDefaults standardUserDefaults] setBool:value forKey:defaultName]; - } - else - { - CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - } -} - -- (id)objectForKey:(NSString *)key { - return [self objectForUserDefaultsKey:key] ? [self objectForUserDefaultsKey:key] : [self objectForInfoDictionaryKey:key]; -} - -- (BOOL)boolForKey:(NSString *)key { - return [self objectForUserDefaultsKey:key] ? [self boolForUserDefaultsKey:key] : [self boolForInfoDictionaryKey:key]; -} - -+ (NSString *)systemVersionString -{ - // This returns a version string of the form X.Y.Z - // There may be a better way to deal with the problem that gestaltSystemVersionMajor - // et al. are not defined in 10.3, but this is probably good enough. - NSString* verStr = nil; -#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 - SInt32 major, minor, bugfix; - OSErr err1 = Gestalt(gestaltSystemVersionMajor, &major); - OSErr err2 = Gestalt(gestaltSystemVersionMinor, &minor); - OSErr err3 = Gestalt(gestaltSystemVersionBugFix, &bugfix); - if (!err1 && !err2 && !err3) - { - verStr = [NSString stringWithFormat:@"%ld.%ld.%ld", (long) major, (long) minor, (long) bugfix]; - } - else -#endif - { - NSString *versionPlistPath = @"/System/Library/CoreServices/SystemVersion.plist"; - verStr = [[NSDictionary dictionaryWithContentsOfFile:versionPlistPath] objectForKey:@"ProductVersion"]; - } - return verStr; -} - -@end diff --git a/SUInstaller.h b/SUInstaller.h deleted file mode 100644 index c62a6aa2..00000000 --- a/SUInstaller.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// SUInstaller.h -// Sparkle -// -// Created by Andy Matuschak on 4/10/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#ifndef SUINSTALLER_H -#define SUINSTALLER_H - -#import -#import "SUVersionComparisonProtocol.h" - -@class SUHost; -@interface SUInstaller : NSObject { } -+ (NSString *) appPathInUpdateFolder:(NSString *)updateFolder forHost:(SUHost *)host; -+ (void) installFromUpdateFolder:(NSString *)updateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; -+ (void) finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate; -+ (NSString*) updateFolder; -+ (void) notifyDelegateOfFailure: (NSDictionary*)dict; -@end - -@interface NSObject (SUInstallerDelegateInformalProtocol) -- (void)installerFinishedForHost:(SUHost *)host; -- (void)installerForHost:(SUHost *)host failedWithError:(NSError *)error; -@end - -#endif diff --git a/SUInstaller.m b/SUInstaller.m deleted file mode 100644 index 7294ce50..00000000 --- a/SUInstaller.m +++ /dev/null @@ -1,182 +0,0 @@ -// -// SUInstaller.m -// Sparkle -// -// Created by Andy Matuschak on 4/10/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUInstaller.h" -#import "SUPlainInstaller.h" -#import "SUPackageInstaller.h" -#import "SUHost.h" -#import "SUConstants.h" -#import "SULog.h" - - -@implementation SUInstaller - -static NSString* sUpdateFolder = nil; - -+(NSString*) updateFolder -{ - return sUpdateFolder; -} - -+ (BOOL)isAliasFolderAtPath:(NSString *)path -{ - FSRef fileRef; - OSStatus err = noErr; - Boolean aliasFileFlag, folderFlag; - NSURL *fileURL = [NSURL fileURLWithPath:path]; - - if (FALSE == CFURLGetFSRef((CFURLRef)fileURL, &fileRef)) - err = coreFoundationUnknownErr; - - if (noErr == err) - err = FSIsAliasFile(&fileRef, &aliasFileFlag, &folderFlag); - - if (noErr == err) - return (BOOL)(aliasFileFlag && folderFlag); - else - return NO; -} - -+ (NSString *)installSourcePathInUpdateFolder:(NSString *)inUpdateFolder forHost:(SUHost *)host isPackage:(BOOL *)isPackagePtr -{ - // Search subdirectories for the application - NSString *currentFile, - *newAppDownloadPath = nil, - *bundleFileName = [[host bundlePath] lastPathComponent], - *alternateBundleFileName = [[host name] stringByAppendingPathExtension:[[host bundlePath] pathExtension]]; - BOOL isPackage = NO; - NSString *fallbackPackagePath = nil; - NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath: inUpdateFolder]; - - [sUpdateFolder release]; - sUpdateFolder = [inUpdateFolder retain]; - - while ((currentFile = [dirEnum nextObject])) - { - NSString *currentPath = [inUpdateFolder stringByAppendingPathComponent:currentFile]; - if ([[currentFile lastPathComponent] isEqualToString:bundleFileName] || - [[currentFile lastPathComponent] isEqualToString:alternateBundleFileName]) // We found one! - { - isPackage = NO; - newAppDownloadPath = currentPath; - break; - } - else if ([[currentFile pathExtension] isEqualToString:@"pkg"] || - [[currentFile pathExtension] isEqualToString:@"mpkg"]) - { - if ([[[currentFile lastPathComponent] stringByDeletingPathExtension] isEqualToString:[bundleFileName stringByDeletingPathExtension]]) - { - isPackage = YES; - newAppDownloadPath = currentPath; - break; - } - else - { - // Remember any other non-matching packages we have seen should we need to use one of them as a fallback. - fallbackPackagePath = currentPath; - } - } - else - { - // Try matching on bundle identifiers in case the user has changed the name of the host app - NSBundle *incomingBundle = [NSBundle bundleWithPath:currentPath]; - if(incomingBundle && [[incomingBundle bundleIdentifier] isEqualToString:[[host bundle] bundleIdentifier]]) - { - isPackage = NO; - newAppDownloadPath = currentPath; - break; - } - } - - // Some DMGs have symlinks into /Applications! That's no good! - if ([self isAliasFolderAtPath:currentPath]) - [dirEnum skipDescendents]; - } - - // We don't have a valid path. Try to use the fallback package. - - if (newAppDownloadPath == nil && fallbackPackagePath != nil) - { - isPackage = YES; - newAppDownloadPath = fallbackPackagePath; - } - - if (isPackagePtr) *isPackagePtr = isPackage; - return newAppDownloadPath; -} - -+ (NSString *)appPathInUpdateFolder:(NSString *)updateFolder forHost:(SUHost *)host -{ - BOOL isPackage = NO; - NSString *path = [self installSourcePathInUpdateFolder:updateFolder forHost:host isPackage:&isPackage]; - return isPackage ? nil : path; -} - -+ (void)installFromUpdateFolder:(NSString *)inUpdateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator -{ - BOOL isPackage = NO; - NSString *newAppDownloadPath = [self installSourcePathInUpdateFolder:inUpdateFolder forHost:host isPackage:&isPackage]; - - if (newAppDownloadPath == nil) - { - [self finishInstallationToPath:installationPath withResult:NO host:host error:[NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingUpdateError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find an appropriate update in the downloaded package." forKey:NSLocalizedDescriptionKey]] delegate:delegate]; - } - else - { - [(isPackage ? [SUPackageInstaller class] : [SUPlainInstaller class]) performInstallationToPath:installationPath fromPath:newAppDownloadPath host:host delegate:delegate synchronously:synchronously versionComparator:comparator]; - } -} - -+ (void)mdimportInstallationPath:(NSString *)installationPath -{ - // *** GETS CALLED ON NON-MAIN THREAD! - - SULog( @"mdimporting" ); - - NSTask *mdimport = [[[NSTask alloc] init] autorelease]; - [mdimport setLaunchPath:@"/usr/bin/mdimport"]; - [mdimport setArguments:[NSArray arrayWithObject:installationPath]]; - @try - { - [mdimport launch]; - [mdimport waitUntilExit]; - } - @catch (NSException * launchException) - { - // No big deal. - SULog(@"Sparkle Error: %@", [launchException description]); - } -} - - -#define SUNotifyDictHostKey @"SUNotifyDictHost" -#define SUNotifyDictErrorKey @"SUNotifyDictError" -#define SUNotifyDictDelegateKey @"SUNotifyDictDelegate" - -+ (void)finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate -{ - if (result) - { - [self mdimportInstallationPath:installationPath]; - if ([delegate respondsToSelector:@selector(installerFinishedForHost:)]) - [delegate performSelectorOnMainThread: @selector(installerFinishedForHost:) withObject: host waitUntilDone: NO]; - } - else - { - if ([delegate respondsToSelector:@selector(installerForHost:failedWithError:)]) - [self performSelectorOnMainThread: @selector(notifyDelegateOfFailure:) withObject: [NSDictionary dictionaryWithObjectsAndKeys: host, SUNotifyDictHostKey, error, SUNotifyDictErrorKey, delegate, SUNotifyDictDelegateKey, nil] waitUntilDone: NO]; - } -} - - -+(void) notifyDelegateOfFailure: (NSDictionary*)dict -{ - [[dict objectForKey: SUNotifyDictDelegateKey] installerForHost: [dict objectForKey: SUNotifyDictHostKey] failedWithError: [dict objectForKey: SUNotifyDictErrorKey]]; -} - -@end diff --git a/SUPackageInstaller.m b/SUPackageInstaller.m deleted file mode 100644 index f754231f..00000000 --- a/SUPackageInstaller.m +++ /dev/null @@ -1,72 +0,0 @@ -// -// SUPackageInstaller.m -// Sparkle -// -// Created by Andy Matuschak on 4/10/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUPackageInstaller.h" -#import -#import "SUConstants.h" - -NSString *SUPackageInstallerCommandKey = @"SUPackageInstallerCommand"; -NSString *SUPackageInstallerArgumentsKey = @"SUPackageInstallerArguments"; -NSString *SUPackageInstallerHostKey = @"SUPackageInstallerHost"; -NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; -NSString *SUPackageInstallerInstallationPathKey = @"SUPackageInstallerInstallationPathKey"; - -@implementation SUPackageInstaller - -+ (void)finishInstallationWithInfo:(NSDictionary *)info -{ - [self finishInstallationToPath:[info objectForKey:SUPackageInstallerInstallationPathKey] withResult:YES host:[info objectForKey:SUPackageInstallerHostKey] error:nil delegate:[info objectForKey:SUPackageInstallerDelegateKey]]; -} - -+ (void)performInstallationWithInfo:(NSDictionary *)info -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - NSTask *installer = [NSTask launchedTaskWithLaunchPath:[info objectForKey:SUPackageInstallerCommandKey] arguments:[info objectForKey:SUPackageInstallerArgumentsKey]]; - [installer waitUntilExit]; - - // Known bug: if the installation fails or is canceled, Sparkle goes ahead and restarts, thinking everything is fine. - [self performSelectorOnMainThread:@selector(finishInstallationWithInfo:) withObject:info waitUntilDone:NO]; - - [pool drain]; -} - -+ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator -{ - NSString *command; - NSArray *args; - - if (floor(NSAppKitVersionNumber) == NSAppKitVersionNumber10_4) { - // 10.4 uses Installer.app because the "open" command in 10.4 doesn't support -W and -n - command = [[NSBundle bundleWithIdentifier:@"com.apple.installer"] executablePath]; - args = [NSArray arrayWithObjects:path, nil]; - } else { - // 10.5 and later. Run installer using the "open" command to ensure it is launched in front of current application. - // The -W and -n options were added to the 'open' command in 10.5 - // -W = wait until the app has quit. - // -n = Open another instance if already open. - // -b = app bundle identifier - command = @"/usr/bin/open"; - args = [NSArray arrayWithObjects:@"-W", @"-n", @"-b", @"com.apple.installer", path, nil]; - } - if (![[NSFileManager defaultManager] fileExistsAtPath:command]) - { - NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingInstallerToolError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find Apple's installer tool!" forKey:NSLocalizedDescriptionKey]]; - [self finishInstallationToPath:installationPath withResult:NO host:host error:error delegate:delegate]; - } - else - { - NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:command, SUPackageInstallerCommandKey, args, SUPackageInstallerArgumentsKey, host, SUPackageInstallerHostKey, delegate, SUPackageInstallerDelegateKey, installationPath, SUPackageInstallerInstallationPathKey, nil]; - if (synchronously) - [self performInstallationWithInfo:info]; - else - [NSThread detachNewThreadSelector:@selector(performInstallationWithInfo:) toTarget:self withObject:info]; - } -} - -@end diff --git a/SUPasswordPrompt.h b/SUPasswordPrompt.h deleted file mode 100644 index c70372a5..00000000 --- a/SUPasswordPrompt.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// SUPasswordPrompt.h -// Sparkle -// -// Created by rudy on 8/18/09. -// Copyright 2009 Ambrosia Software, Inc.. All rights reserved. -// - -#import -#import "Sparkle/SUWindowController.h" - -@interface SUPasswordPrompt : SUWindowController -{ - IBOutlet NSImageView *mIconView; - IBOutlet NSTextField *mTextDescription; - IBOutlet NSSecureTextField *mPasswordField; - NSString *mPassword; - NSString *mName; - NSImage *mIcon; -} - -- (id)initWithHost:(SUHost *)aHost; -- (NSInteger)run; -- (NSString *)password; - -@end diff --git a/SUPasswordPrompt.m b/SUPasswordPrompt.m deleted file mode 100644 index 4cff46dc..00000000 --- a/SUPasswordPrompt.m +++ /dev/null @@ -1,86 +0,0 @@ -// -// SUPasswordPrompt.m -// Sparkle -// -// Created by rudy on 8/18/09. -// Copyright 2009 Ambrosia Software, Inc.. All rights reserved. -// - -#import "SUPasswordPrompt.h" - - -@implementation SUPasswordPrompt - -- (id)initWithHost:(SUHost *)aHost -{ - self = [super initWithHost:aHost windowNibName:@"SUPasswordPrompt"]; - if (self) - { - [self setName:[aHost name]]; - [self setIcon:[aHost icon]]; - mPassword = nil; - [self setShouldCascadeWindows:NO]; - } - return self; -} - -- (void)awakeFromNib -{ - [mIconView setImage:[self icon]]; -} - -- (void)setName:(NSString*)name -{ - [mName release]; - mName = [name retain]; -} - -- (NSString*)name -{ - return mName; -} - -- (void)setIcon:(NSImage*)icon -{ - [mIcon release]; - mIcon = [icon retain]; -} - -- (NSImage*)icon -{ - return mIcon; -} - -- (NSString *)password -{ - return mPassword; -} - -- (void)setPassword:(NSString*)password -{ - [mPassword release]; - mPassword = [password retain]; -} - -- (NSInteger)run -{ - //modally run a password prompt - NSInteger result = [NSApp runModalForWindow:[self window]]; - if(result) - [self setPassword:[mPasswordField stringValue]]; - return result; -} - -- (IBAction)accept:(id)sender -{ - [[self window] orderOut:self]; - [NSApp stopModalWithCode:1]; -} - -- (IBAction)cancel:(id)sender -{ - [[self window] orderOut:self]; - [NSApp stopModalWithCode:0]; -} - -@end diff --git a/SUPipedUnarchiver.m b/SUPipedUnarchiver.m deleted file mode 100644 index 44160eaa..00000000 --- a/SUPipedUnarchiver.m +++ /dev/null @@ -1,145 +0,0 @@ -// -// SUPipedUnarchiver.m -// Sparkle -// -// Created by Andy Matuschak on 6/16/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUPipedUnarchiver.h" -#import "SUUnarchiver_Private.h" -#import "SULog.h" - - -@implementation SUPipedUnarchiver - -+ (SEL)selectorConformingToTypeOfPath:(NSString *)path -{ - static NSDictionary *typeSelectorDictionary; - if (!typeSelectorDictionary) - typeSelectorDictionary = [[NSDictionary dictionaryWithObjectsAndKeys:@"extractZIP", @".zip", @"extractTAR", @".tar", - @"extractTGZ", @".tar.gz", @"extractTGZ", @".tgz", - @"extractTBZ", @".tar.bz2", @"extractTBZ", @".tbz", nil] retain]; - - NSString *lastPathComponent = [path lastPathComponent]; - NSEnumerator *typeEnumerator = [typeSelectorDictionary keyEnumerator]; - id currentType; - while ((currentType = [typeEnumerator nextObject])) - { - if ([currentType length] > [lastPathComponent length]) continue; - if ([[lastPathComponent substringFromIndex:[lastPathComponent length] - [currentType length]] isEqualToString:currentType]) - return NSSelectorFromString([typeSelectorDictionary objectForKey:currentType]); - } - return NULL; -} - -- (void)start -{ - [NSThread detachNewThreadSelector:[[self class] selectorConformingToTypeOfPath:archivePath] toTarget:self withObject:nil]; -} - -+ (BOOL)canUnarchivePath:(NSString *)path -{ - return ([self selectorConformingToTypeOfPath:path] != nil); -} - -// This method abstracts the types that use a command line tool piping data from stdin. -- (void)extractArchivePipingDataToCommand:(NSString *)command -{ - // *** GETS CALLED ON NON-MAIN THREAD!!! - - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - FILE *fp = NULL, *cmdFP = NULL; - char *oldDestinationString = NULL; - - SULog(@"Extracting %@ using '%@'",archivePath,command); - - // Get the file size. -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - NSNumber *fs = [[[NSFileManager defaultManager] fileAttributesAtPath:archivePath traverseLink:NO] objectForKey:NSFileSize]; -#else - NSNumber *fs = [[[NSFileManager defaultManager] attributesOfItemAtPath:archivePath error:nil] objectForKey:NSFileSize]; -#endif - - if (fs == nil) goto reportError; - - // Thank you, Allan Odgaard! - // (who wrote the following extraction alg.) - fp = fopen([archivePath fileSystemRepresentation], "r"); - if (!fp) goto reportError; - - oldDestinationString = getenv("DESTINATION"); - setenv("DESTINATION", [[archivePath stringByDeletingLastPathComponent] fileSystemRepresentation], 1); - cmdFP = popen([command fileSystemRepresentation], "w"); - size_t written; - if (!cmdFP) goto reportError; - - char buf[32*1024]; - size_t len; - while((len = fread(buf, 1, 32*1024, fp))) - { - written = fwrite(buf, 1, len, cmdFP); - if( written < len ) - { - pclose(cmdFP); - goto reportError; - } - - [self performSelectorOnMainThread:@selector(notifyDelegateOfExtractedLength:) withObject:[NSNumber numberWithUnsignedLong:len] waitUntilDone:NO]; - } - pclose(cmdFP); - - if( ferror( fp ) ) - goto reportError; - - [self performSelectorOnMainThread:@selector(notifyDelegateOfSuccess) withObject:nil waitUntilDone:NO]; - goto finally; - -reportError: - [self performSelectorOnMainThread:@selector(notifyDelegateOfFailure) withObject:nil waitUntilDone:NO]; - -finally: - if (fp) - fclose(fp); - if (oldDestinationString) - setenv("DESTINATION", oldDestinationString, 1); - else - unsetenv("DESTINATION"); - [pool release]; -} - -- (void)extractTAR -{ - // *** GETS CALLED ON NON-MAIN THREAD!!! - - return [self extractArchivePipingDataToCommand:@"tar -xC \"$DESTINATION\""]; -} - -- (void)extractTGZ -{ - // *** GETS CALLED ON NON-MAIN THREAD!!! - - return [self extractArchivePipingDataToCommand:@"tar -zxC \"$DESTINATION\""]; -} - -- (void)extractTBZ -{ - // *** GETS CALLED ON NON-MAIN THREAD!!! - - return [self extractArchivePipingDataToCommand:@"tar -jxC \"$DESTINATION\""]; -} - -- (void)extractZIP -{ - // *** GETS CALLED ON NON-MAIN THREAD!!! - - return [self extractArchivePipingDataToCommand:@"ditto -x -k - \"$DESTINATION\""]; -} - -+ (void)load -{ - [self registerImplementation:self]; -} - -@end diff --git a/SUPlainInstaller.m b/SUPlainInstaller.m deleted file mode 100644 index 62675c8c..00000000 --- a/SUPlainInstaller.m +++ /dev/null @@ -1,83 +0,0 @@ -// -// SUPlainInstaller.m -// Sparkle -// -// Created by Andy Matuschak on 4/10/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUPlainInstaller.h" -#import "SUPlainInstallerInternals.h" -#import "SUConstants.h" -#import "SUHost.h" - -static NSString * const SUInstallerPathKey = @"SUInstallerPath"; -static NSString * const SUInstallerTargetPathKey = @"SUInstallerTargetPath"; -static NSString * const SUInstallerTempNameKey = @"SUInstallerTempName"; -static NSString * const SUInstallerHostKey = @"SUInstallerHost"; -static NSString * const SUInstallerDelegateKey = @"SUInstallerDelegate"; -static NSString * const SUInstallerResultKey = @"SUInstallerResult"; -static NSString * const SUInstallerErrorKey = @"SUInstallerError"; -static NSString * const SUInstallerInstallationPathKey = @"SUInstallerInstallationPath"; - -@implementation SUPlainInstaller - -+ (void)finishInstallationWithInfo:(NSDictionary *)info -{ - // *** GETS CALLED ON NON-MAIN THREAD! - - [self finishInstallationToPath:[info objectForKey:SUInstallerInstallationPathKey] withResult:[[info objectForKey:SUInstallerResultKey] boolValue] host:[info objectForKey:SUInstallerHostKey] error:[info objectForKey:SUInstallerErrorKey] delegate:[info objectForKey:SUInstallerDelegateKey]]; -} - -+ (void)performInstallationWithInfo:(NSDictionary *)info -{ - // *** GETS CALLED ON NON-MAIN THREAD! - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - NSError *error = nil; - - NSString * oldPath = [[info objectForKey:SUInstallerHostKey] bundlePath]; - NSString * installationPath = [info objectForKey:SUInstallerInstallationPathKey]; - BOOL result = [self copyPathWithAuthentication:[info objectForKey:SUInstallerPathKey] overPath: installationPath temporaryName:[info objectForKey:SUInstallerTempNameKey] error:&error]; - - if( result ) - { - BOOL haveOld = [[NSFileManager defaultManager] fileExistsAtPath: oldPath]; - BOOL differentFromNew = ![oldPath isEqualToString: installationPath]; - if( haveOld && differentFromNew ) - [self _movePathToTrash: oldPath]; // On success, trash old copy if there's still one due to renaming. - } - NSMutableDictionary *mutableInfo = [[info mutableCopy] autorelease]; - [mutableInfo setObject:[NSNumber numberWithBool:result] forKey:SUInstallerResultKey]; - [mutableInfo setObject:installationPath forKey:SUInstallerInstallationPathKey]; - if (!result && error) - [mutableInfo setObject:error forKey:SUInstallerErrorKey]; - [self performSelectorOnMainThread:@selector(finishInstallationWithInfo:) withObject:mutableInfo waitUntilDone:NO]; - - [pool drain]; -} - -+ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator -{ - // Prevent malicious downgrades: - #if !PERMIT_AUTOMATED_DOWNGRADES - if ([comparator compareVersion:[host version] toVersion:[[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:@"CFBundleVersion"]] == NSOrderedDescending) - { - NSString * errorMessage = [NSString stringWithFormat:@"Sparkle Updater: Possible attack in progress! Attempting to \"upgrade\" from %@ to %@. Aborting update.", [host version], [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:@"CFBundleVersion"]]; - NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUDowngradeError userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - [self finishInstallationToPath:installationPath withResult:NO host:host error:error delegate:delegate]; - return; - } - #endif - - NSString *targetPath = [host installationPath]; - NSString *tempName = [self temporaryNameForPath:targetPath]; - NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, SUInstallerPathKey, targetPath, SUInstallerTargetPathKey, tempName, SUInstallerTempNameKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, installationPath, SUInstallerInstallationPathKey, nil]; - if (synchronously) - [self performInstallationWithInfo:info]; - else - [NSThread detachNewThreadSelector:@selector(performInstallationWithInfo:) toTarget:self withObject:info]; -} - -@end diff --git a/SUPlainInstallerInternals.m b/SUPlainInstallerInternals.m deleted file mode 100644 index ffcd5059..00000000 --- a/SUPlainInstallerInternals.m +++ /dev/null @@ -1,621 +0,0 @@ -// -// SUPlainInstallerInternals.m -// Sparkle -// -// Created by Andy Matuschak on 3/9/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" -#import "SUPlainInstallerInternals.h" -#import "SUConstants.h" -#import "SULog.h" - -#import -#import -#import -#import -#import -#import -#import - - -@interface SUPlainInstaller (MMExtendedAttributes) -// Removes the directory tree rooted at |root| from the file quarantine. -// The quarantine was introduced on Mac OS X 10.5 and is described at: -// -// http://developer.apple.com/releasenotes/Carbon/RN-LaunchServices/index.html -//#apple_ref/doc/uid/TP40001369-DontLinkElementID_2 -// -// If |root| is not a directory, then it alone is removed from the quarantine. -// Symbolic links, including |root| if it is a symbolic link, will not be -// traversed. -// -// Ordinarily, the quarantine is managed by calling LSSetItemAttribute -// to set the kLSItemQuarantineProperties attribute to a dictionary specifying -// the quarantine properties to be applied. However, it does not appear to be -// possible to remove an item from the quarantine directly through any public -// Launch Services calls. Instead, this method takes advantage of the fact -// that the quarantine is implemented in part by setting an extended attribute, -// "com.apple.quarantine", on affected files. Removing this attribute is -// sufficient to remove files from the quarantine. -+ (void)releaseFromQuarantine:(NSString*)root; -@end - -// Authorization code based on generous contribution from Allan Odgaard. Thanks, Allan! - -static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authorization, const char* executablePath, AuthorizationFlags options, const char* const* arguments) -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - - sig_t oldSigChildHandler = signal(SIGCHLD, SIG_DFL); - BOOL returnValue = YES; - - if (AuthorizationExecuteWithPrivileges(authorization, executablePath, options, (char* const*)arguments, NULL) == errAuthorizationSuccess) - { - int status; - pid_t pid = wait(&status); - if (pid == -1 || !WIFEXITED(status) || WEXITSTATUS(status) != 0) - returnValue = NO; - } - else - returnValue = NO; - - signal(SIGCHLD, oldSigChildHandler); - return returnValue; -} - -@implementation SUPlainInstaller (Internals) - -+ (NSString *)temporaryNameForPath:(NSString *)path -{ - // Let's try to read the version number so the filename will be more meaningful. - NSString *postFix; - NSString *version; - if ((version = [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:@"CFBundleVersion"]) && ![version isEqualToString:@""]) - { - // We'll clean it up a little for safety. - // The cast is necessary because of a bug in the headers in pre-10.5 SDKs - NSMutableCharacterSet *validCharacters = (id)[NSMutableCharacterSet alphanumericCharacterSet]; - [validCharacters formUnionWithCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@".-()"]]; - postFix = [version stringByTrimmingCharactersInSet:[validCharacters invertedSet]]; - } - else - postFix = @"old"; - NSString *prefix = [[path stringByDeletingPathExtension] stringByAppendingFormat:@" (%@)", postFix]; - NSString *tempDir = [prefix stringByAppendingPathExtension:[path pathExtension]]; - // Now let's make sure we get a unique path. - unsigned int cnt=2; - while ([[NSFileManager defaultManager] fileExistsAtPath:tempDir] && cnt <= 999) - tempDir = [NSString stringWithFormat:@"%@ %u.%@", prefix, cnt++, [path pathExtension]]; - return [tempDir lastPathComponent]; -} - -+ (NSString *)_temporaryCopyNameForPath:(NSString *)path didFindTrash: (BOOL*)outDidFindTrash -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - NSString *tempDir = nil; - - UInt8 trashPath[MAXPATHLEN +1] = { 0 }; - FSRef trashRef, pathRef; - FSVolumeRefNum vSrcRefNum = kFSInvalidVolumeRefNum; - FSCatalogInfo catInfo; - memset( &catInfo, 0, sizeof(catInfo) ); - OSStatus err = FSPathMakeRef( (UInt8*) [path fileSystemRepresentation], &pathRef, NULL ); - if( err == noErr ) - { - err = FSGetCatalogInfo( &pathRef, kFSCatInfoVolume, &catInfo, NULL, NULL, NULL ); - vSrcRefNum = catInfo.volume; - } - if( err == noErr ) - err = FSFindFolder( vSrcRefNum, kTrashFolderType, kCreateFolder, &trashRef ); - if( err == noErr ) - err = FSGetCatalogInfo( &trashRef, kFSCatInfoVolume, &catInfo, NULL, NULL, NULL ); - if( err == noErr && vSrcRefNum != catInfo.volume ) - err = nsvErr; // Couldn't find a trash folder on same volume as given path. Docs say this may happen in the future. - if( err == noErr ) - err = FSRefMakePath( &trashRef, trashPath, MAXPATHLEN ); - if( err == noErr ) - tempDir = [[NSFileManager defaultManager] stringWithFileSystemRepresentation: (char*) trashPath length: strlen((char*) trashPath)]; - if( outDidFindTrash ) - *outDidFindTrash = (tempDir != nil); - if( !tempDir ) - tempDir = [path stringByDeletingLastPathComponent]; - - // Let's try to read the version number so the filename will be more meaningful. - #if TRY_TO_APPEND_VERSION_NUMBER - NSString *postFix = nil; - NSString *version = nil; - if ((version = [[NSBundle bundleWithPath: path] objectForInfoDictionaryKey:@"CFBundleVersion"]) && ![version isEqualToString:@""]) - { - // We'll clean it up a little for safety. - // The cast is necessary because of a bug in the headers in pre-10.5 SDKs - NSMutableCharacterSet *validCharacters = (id)[NSMutableCharacterSet alphanumericCharacterSet]; - [validCharacters formUnionWithCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@".-()"]]; - postFix = [version stringByTrimmingCharactersInSet:[validCharacters invertedSet]]; - } - else - postFix = @"old"; - NSString *prefix = [NSString stringWithFormat: @"%@ (%@)", [[path lastPathComponent] stringByDeletingPathExtension], postFix]; - #else - NSString *prefix = [[path lastPathComponent] stringByDeletingPathExtension]; - #endif - NSString *tempName = [prefix stringByAppendingPathExtension: [path pathExtension]]; - tempDir = [tempDir stringByAppendingPathComponent: tempName]; - - // Now let's make sure we get a unique path. - int cnt=2; - while ([[NSFileManager defaultManager] fileExistsAtPath:tempDir] && cnt <= 9999) - tempDir = [[tempDir stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat:@"%@ %d.%@", prefix, cnt++, [path pathExtension]]]; - - return tempDir; -} - -+ (BOOL)_copyPathWithForcedAuthentication:(NSString *)src toPath:(NSString *)dst temporaryPath:(NSString *)tmp error:(NSError **)error -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - - const char* srcPath = [src fileSystemRepresentation]; - const char* tmpPath = [tmp fileSystemRepresentation]; - const char* dstPath = [dst fileSystemRepresentation]; - - struct stat dstSB; - if( stat(dstPath, &dstSB) != 0 ) // Doesn't exist yet, try containing folder. - { - const char* dstDirPath = [[dst stringByDeletingLastPathComponent] fileSystemRepresentation]; - if( stat(dstDirPath, &dstSB) != 0 ) - { - NSString *errorMessage = [NSString stringWithFormat:@"Stat on %@ during authenticated file copy failed.", dst]; - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - return NO; - } - } - - AuthorizationRef auth = NULL; - OSStatus authStat = errAuthorizationDenied; - while (authStat == errAuthorizationDenied) { - authStat = AuthorizationCreate(NULL, - kAuthorizationEmptyEnvironment, - kAuthorizationFlagDefaults, - &auth); - } - - BOOL res = NO; - if (authStat == errAuthorizationSuccess) { - res = YES; - - char uidgid[42]; - snprintf(uidgid, sizeof(uidgid), "%u:%u", - dstSB.st_uid, dstSB.st_gid); - - // If the currently-running application is trusted, the new - // version should be trusted as well. Remove it from the - // quarantine to avoid a delay at launch, and to avoid - // presenting the user with a confusing trust dialog. - // - // This needs to be done before "chown" changes ownership, - // because the ownership change will fail if the file is quarantined. - if (res) - { - SULog(@"releaseFromQuarantine"); - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:src waitUntilDone:YES]; - } - - if( res ) // Set permissions while it's still in source, so we have it with working and correct perms when it arrives at destination. - { - const char* coParams[] = { "-R", uidgid, srcPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/usr/sbin/chown", kAuthorizationFlagDefaults, coParams ); - if( !res ) - SULog( @"chown -R %s %s failed.", uidgid, srcPath ); - } - - BOOL haveDst = [[NSFileManager defaultManager] fileExistsAtPath: dst]; - if( res && haveDst ) // If there's something at our tmp path (previous failed update or whatever) delete that first. - { - const char* rmParams[] = { "-rf", tmpPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams ); - if( !res ) - SULog( @"rm failed" ); - } - - if( res && haveDst ) // Move old exe to tmp path. - { - const char* mvParams[] = { "-f", dstPath, tmpPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/mv", kAuthorizationFlagDefaults, mvParams ); - if( !res ) - SULog( @"mv 1 failed" ); - } - - if( res ) // Move new exe to old exe's path. - { - const char* mvParams2[] = { "-f", srcPath, dstPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/mv", kAuthorizationFlagDefaults, mvParams2 ); - if( !res ) - SULog( @"mv 2 failed" ); - } - -// if( res && haveDst /*&& !foundTrash*/ ) // If we managed to put the old exe in the trash, leave it there for the user to delete or recover. -// { // ... Otherwise we better delete it, wouldn't want dozens of old versions lying around next to the new one. -// const char* rmParams2[] = { "-rf", tmpPath, NULL }; -// res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams2 ); -// } - - AuthorizationFree(auth, 0); - - // If the currently-running application is trusted, the new - // version should be trusted as well. Remove it from the - // quarantine to avoid a delay at launch, and to avoid - // presenting the user with a confusing trust dialog. - // - // This needs to be done after the application is moved to its - // new home with "mv" in case it's moved across filesystems: if - // that happens, "mv" actually performs a copy and may result - // in the application being quarantined. - if (res) - { - SULog(@"releaseFromQuarantine after installing"); - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; - } - - if (!res) - { - // Something went wrong somewhere along the way, but we're not sure exactly where. - NSString *errorMessage = [NSString stringWithFormat:@"Authenticated file copy from %@ to %@ failed.", src, dst]; - if (error != nil) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - } - } - else - { - if (error != nil) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:[NSDictionary dictionaryWithObject:@"Couldn't get permission to authenticate." forKey:NSLocalizedDescriptionKey]]; - } - return res; -} - -+ (BOOL)_movePathWithForcedAuthentication:(NSString *)src toPath:(NSString *)dst error:(NSError **)error -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - - const char* srcPath = [src fileSystemRepresentation]; - const char* dstPath = [dst fileSystemRepresentation]; - const char* dstContainerPath = [[dst stringByDeletingLastPathComponent] fileSystemRepresentation]; - - struct stat dstSB; - stat(dstContainerPath, &dstSB); - - AuthorizationRef auth = NULL; - OSStatus authStat = errAuthorizationDenied; - while( authStat == errAuthorizationDenied ) - { - authStat = AuthorizationCreate(NULL, - kAuthorizationEmptyEnvironment, - kAuthorizationFlagDefaults, - &auth); - } - - BOOL res = NO; - if (authStat == errAuthorizationSuccess) - { - res = YES; - - char uidgid[42]; - snprintf(uidgid, sizeof(uidgid), "%d:%d", - dstSB.st_uid, dstSB.st_gid); - - if( res ) // Set permissions while it's still in source, so we have it with working and correct perms when it arrives at destination. - { - const char* coParams[] = { "-R", uidgid, srcPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/usr/sbin/chown", kAuthorizationFlagDefaults, coParams ); - if( !res ) - SULog(@"Can't set permissions"); - } - - BOOL haveDst = [[NSFileManager defaultManager] fileExistsAtPath: dst]; - if( res && haveDst ) // If there's something at our tmp path (previous failed update or whatever) delete that first. - { - const char* rmParams[] = { "-rf", dstPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams ); - if( !res ) - SULog(@"Can't remove destination file"); - } - - if( res ) // Move!. - { - const char* mvParams[] = { "-f", srcPath, dstPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/mv", kAuthorizationFlagDefaults, mvParams ); - if( !res ) - SULog(@"Can't move source file"); - } - - AuthorizationFree(auth, 0); - - if (!res) - { - // Something went wrong somewhere along the way, but we're not sure exactly where. - NSString *errorMessage = [NSString stringWithFormat:@"Authenticated file move from %@ to %@ failed.", src, dst]; - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - } - } - else - { - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:[NSDictionary dictionaryWithObject:@"Couldn't get permission to authenticate." forKey:NSLocalizedDescriptionKey]]; - } - return res; -} - - -+ (BOOL)_removeFileAtPathWithForcedAuthentication:(NSString *)src error:(NSError **)error -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - - const char* srcPath = [src fileSystemRepresentation]; - - AuthorizationRef auth = NULL; - OSStatus authStat = errAuthorizationDenied; - while( authStat == errAuthorizationDenied ) - { - authStat = AuthorizationCreate(NULL, - kAuthorizationEmptyEnvironment, - kAuthorizationFlagDefaults, - &auth); - } - - BOOL res = NO; - if (authStat == errAuthorizationSuccess) - { - res = YES; - - if( res ) // If there's something at our tmp path (previous failed update or whatever) delete that first. - { - const char* rmParams[] = { "-rf", srcPath, NULL }; - res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams ); - if( !res ) - SULog(@"Can't remove destination file"); - } - - AuthorizationFree(auth, 0); - - if (!res) - { - // Something went wrong somewhere along the way, but we're not sure exactly where. - NSString *errorMessage = [NSString stringWithFormat:@"Authenticated file remove from %@ failed.", src]; - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - } - } - else - { - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:[NSDictionary dictionaryWithObject:@"Couldn't get permission to authenticate." forKey:NSLocalizedDescriptionKey]]; - } - return res; -} - -+ (BOOL)_removeFileAtPath:(NSString *)path error: (NSError**)error -{ - BOOL success = YES; -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - if( ![[NSFileManager defaultManager] removeFileAtPath: path handler: nil] ) -#else - if( ![[NSFileManager defaultManager] removeItemAtPath: path error: NULL] ) -#endif - { - success = [self _removeFileAtPathWithForcedAuthentication: path error: error]; - } - - return success; -} - -+ (void)_movePathToTrash:(NSString *)path -{ - //SULog(@"Moving %@ to the trash.", path); - NSInteger tag = 0; - if (![[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[path stringByDeletingLastPathComponent] destination:@"" files:[NSArray arrayWithObject:[path lastPathComponent]] tag:&tag]) - { - BOOL didFindTrash = NO; - NSString* trashPath = [self _temporaryCopyNameForPath: path didFindTrash: &didFindTrash]; - if( didFindTrash ) - { - NSError *err = nil; - if( ![self _movePathWithForcedAuthentication: path toPath: trashPath error: &err] ) - SULog(@"Sparkle error: couldn't move %@ to the trash (%@). %@", path, trashPath, err); - } - else - SULog(@"Sparkle error: couldn't move %@ to the trash. This is often a sign of a permissions error.", path); - } - else - ;//SULog(@"Moved %@ to the trash.", path); -} - -+ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error -{ - FSRef srcRef, dstRef, dstDirRef, movedRef, tmpDirRef; - OSStatus err; - BOOL hadFileAtDest = NO, didFindTrash = NO; - NSString *tmpPath = [self _temporaryCopyNameForPath: dst didFindTrash: &didFindTrash]; - - // Make FSRef for destination: - err = FSPathMakeRefWithOptions((UInt8 *)[dst fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &dstRef, NULL); - hadFileAtDest = (err == noErr); // There is a file at the destination, move it aside. If we normalized the name, we might not get here, so don't error. - if( hadFileAtDest ) - { - if (0 != access([dst fileSystemRepresentation], W_OK) || 0 != access([[dst stringByDeletingLastPathComponent] fileSystemRepresentation], W_OK)) - { - return [self _copyPathWithForcedAuthentication:src toPath:dst temporaryPath:tmpPath error:error]; - } - } - else - { - if (0 != access([[dst stringByDeletingLastPathComponent] fileSystemRepresentation], W_OK) - || 0 != access([[[dst stringByDeletingLastPathComponent] stringByDeletingLastPathComponent] fileSystemRepresentation], W_OK)) - { - return [self _copyPathWithForcedAuthentication:src toPath:dst temporaryPath:tmpPath error:error]; - } - } - - if( hadFileAtDest ) - { - err = FSPathMakeRef((UInt8 *)[[tmpPath stringByDeletingLastPathComponent] fileSystemRepresentation], &tmpDirRef, NULL); - if (err != noErr) - FSPathMakeRef((UInt8 *)[[dst stringByDeletingLastPathComponent] fileSystemRepresentation], &tmpDirRef, NULL); - } - - err = FSPathMakeRef((UInt8 *)[[dst stringByDeletingLastPathComponent] fileSystemRepresentation], &dstDirRef, NULL); - - if (err == noErr && hadFileAtDest) - { - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5) - { - NSFileManager *manager = [[[NSFileManager alloc] init] autorelease]; - BOOL success = [manager moveItemAtPath:dst toPath:tmpPath error:error]; - if (!success && hadFileAtDest) - { - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"Couldn't move %@ to %@.", dst, tmpPath] forKey:NSLocalizedDescriptionKey]]; - return NO; - } - - } else { - err = FSMoveObjectSync(&dstRef, &tmpDirRef, (CFStringRef)[tmpPath lastPathComponent], &movedRef, 0); - if (err != noErr && hadFileAtDest) - { - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"Couldn't move %@ to %@.", dst, tmpPath] forKey:NSLocalizedDescriptionKey]]; - return NO; - } - } - } - - err = FSPathMakeRef((UInt8 *)[src fileSystemRepresentation], &srcRef, NULL); - if (err == noErr) - { - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5) - { - NSFileManager *manager = [[[NSFileManager alloc] init] autorelease]; - BOOL success = [manager copyItemAtPath:src toPath:dst error:error]; - if (!success) - { - // We better move the old version back to its old location - if( hadFileAtDest ) - [manager moveItemAtPath:tmpPath toPath:dst error:error]; - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"Couldn't move %@ to %@.", dst, tmpPath] forKey:NSLocalizedDescriptionKey]]; - return NO; - - } - } else { - err = FSCopyObjectSync(&srcRef, &dstDirRef, (CFStringRef)[dst lastPathComponent], NULL, 0); - if (err != noErr) - { - // We better move the old version back to its old location - if( hadFileAtDest ) - FSMoveObjectSync(&movedRef, &dstDirRef, (CFStringRef)[dst lastPathComponent], &movedRef, 0); - if (error != NULL) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:@"Couldn't copy %@ to %@.", src, dst] forKey:NSLocalizedDescriptionKey]]; - return NO; - } - } - } - - // If the currently-running application is trusted, the new - // version should be trusted as well. Remove it from the - // quarantine to avoid a delay at launch, and to avoid - // presenting the user with a confusing trust dialog. - // - // This needs to be done after the application is moved to its - // new home in case it's moved across filesystems: if that - // happens, the move is actually a copy, and it may result - // in the application being quarantined. - if ([NSThread isMultiThreaded] == YES && [NSThread isMainThread] == NO) - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; - else - [self releaseFromQuarantine:dst]; - - return YES; -} - -@end - -#import -#import -#import - -@implementation SUPlainInstaller (MMExtendedAttributes) - -+ (int)removeXAttr:(const char*)name - fromFile:(NSString*)file - options:(int)options -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - - typedef int (*removexattr_type)(const char*, const char*, int); - // Reference removexattr directly, it's in the SDK. - static removexattr_type removexattr_func = removexattr; - - // Make sure that the symbol is present. This checks the deployment - // target instead of the SDK so that it's able to catch dlsym failures - // as well as the null symbol that would result from building with the - // 10.4 SDK and a lower deployment target, and running on 10.3. - if (!removexattr_func) { - errno = ENOSYS; - return -1; - } - - const char* path = NULL; - @try { - path = [file fileSystemRepresentation]; - } - @catch (id exception) { - // -[NSString fileSystemRepresentation] throws an exception if it's - // unable to convert the string to something suitable. Map that to - // EDOM, "argument out of domain", which sort of conveys that there - // was a conversion failure. - errno = EDOM; - return -1; - } - - return removexattr_func(path, name, options); -} - -+ (void)releaseFromQuarantine:(NSString*)root -{ - // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! - - const char* quarantineAttribute = "com.apple.quarantine"; - const int removeXAttrOptions = XATTR_NOFOLLOW; - - [self removeXAttr:quarantineAttribute - fromFile:root - options:removeXAttrOptions]; - - // Only recurse if it's actually a directory. Don't recurse into a - // root-level symbolic link. -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - NSDictionary* rootAttributes = [[NSFileManager defaultManager] fileAttributesAtPath:root traverseLink:NO]; -#else - NSDictionary* rootAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:root error:nil]; -#endif - NSString* rootType = [rootAttributes objectForKey:NSFileType]; - - if (rootType == NSFileTypeDirectory) { - // The NSDirectoryEnumerator will avoid recursing into any contained - // symbolic links, so no further type checks are needed. - NSDirectoryEnumerator* directoryEnumerator = [[NSFileManager defaultManager] enumeratorAtPath:root]; - NSString* file = nil; - while ((file = [directoryEnumerator nextObject])) { - [self removeXAttr:quarantineAttribute - fromFile:[root stringByAppendingPathComponent:file] - options:removeXAttrOptions]; - } - } -} - -@end diff --git a/SUProbingUpdateDriver.m b/SUProbingUpdateDriver.m deleted file mode 100644 index 28ed6a7a..00000000 --- a/SUProbingUpdateDriver.m +++ /dev/null @@ -1,34 +0,0 @@ -// -// SUProbingUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 5/7/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUProbingUpdateDriver.h" -#import "SUUpdater.h" - -@implementation SUProbingUpdateDriver - -// Stop as soon as we have an answer! Since the superclass implementations are not called, we are responsible for notifying the delegate. - -- (void)didFindValidUpdate -{ - if ([[updater delegate] respondsToSelector:@selector(updater:didFindValidUpdate:)]) - [[updater delegate] updater:updater didFindValidUpdate:updateItem]; - NSDictionary *userInfo = (updateItem != nil) ? @{SUUpdaterAppcastItemNotificationKey : updateItem} : nil; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFindValidUpdateNotification object:updater userInfo:userInfo]; - [self abortUpdate]; -} - -- (void)didNotFindUpdate -{ - if ([[updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) - [[updater delegate] updaterDidNotFindUpdate:updater]; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:updater]; - - [self abortUpdate]; -} - -@end diff --git a/SUScheduledUpdateDriver.m b/SUScheduledUpdateDriver.m deleted file mode 100644 index 2fc51a49..00000000 --- a/SUScheduledUpdateDriver.m +++ /dev/null @@ -1,41 +0,0 @@ -// -// SUScheduledUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 5/6/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUScheduledUpdateDriver.h" -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" - -@implementation SUScheduledUpdateDriver - -- (void)didFindValidUpdate -{ - showErrors = YES; // We only start showing errors after we present the UI for the first time. - [super didFindValidUpdate]; -} - -- (void)didNotFindUpdate -{ - if ([[updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) - [[updater delegate] updaterDidNotFindUpdate:updater]; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:updater]; - - [self abortUpdate]; // Don't tell the user that no update was found; this was a scheduled update. -} - -- (void)abortUpdateWithError:(NSError *)error -{ - if (showErrors) - [super abortUpdateWithError:error]; - else - [self abortUpdate]; -} - -@end diff --git a/SUStandardVersionComparator.h b/SUStandardVersionComparator.h deleted file mode 100644 index 0bc15706..00000000 --- a/SUStandardVersionComparator.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// 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 "SUVersionComparisonProtocol.h" - -/*! - @class - @abstract Sparkle's default version comparator. - @discussion 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. -*/ -@interface SUStandardVersionComparator : NSObject { } - -/*! - @method - @abstract Returns a singleton instance of the comparator. -*/ -+ (SUStandardVersionComparator *)defaultComparator; - -/*! - @method - @abstract Compares version strings through textual analysis. - @discussion See the implementation for more details. -*/ -- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; -@end - -#endif diff --git a/SUStatus.xib b/SUStatus.xib deleted file mode 100644 index d43394ca..00000000 --- a/SUStatus.xib +++ /dev/null @@ -1,589 +0,0 @@ - - - - 1050 - 10D573 - 762 - 1038.29 - 460.00 - - YES - - YES - - - YES - - - - YES - - - - - YES - - - YES - - - - YES - - SUStatusController - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{200, 222}, {400, 107}} - 1886912512 - Set in Code - - NSWindow - - - View - - {3.40282e+38, 3.40282e+38} - {213, 107} - - - 256 - - YES - - - 268 - - YES - - YES - 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, 28}, {64, 64}} - - YES - - 130560 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - NO - - YES - - - - 268 - {{106, 75}, {277, 17}} - - YES - - 67239424 - 272629760 - Status Text (set by loc. string in code) - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 1280 - - {{107, 47}, {275, 20}} - - 16394 - 100 - - - - 259 - {{272, 12}, {114, 32}} - - YES - - 67239424 - 134217728 - Button - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{106, 22}, {167, 17}} - - YES - - 67239424 - 272629760 - Small System Font Text - - - - - - - - {400, 107} - - - {{0, 0}, {1920, 1178}} - {213, 129} - {3.40282e+38, 3.40282e+38} - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - maxValue: maxProgressValue - - - - - - maxValue: maxProgressValue - maxValue - maxProgressValue - 2 - - - 13 - - - - value: statusText - - - - - - value: statusText - value - statusText - 2 - - - 17 - - - - title: buttonTitle - - - - - - title: buttonTitle - title - buttonTitle - 2 - - - 21 - - - - title: windowTitle - - - - - - title: windowTitle - title - windowTitle - 2 - - - 24 - - - - window - - - - 25 - - - - value: title - - - - - - value: title - value - title - 2 - - - 26 - - - - value: progressValue - - - - - - value: progressValue - value - progressValue - - 2 - - - 27 - - - - hidden: statusText - - - - - - hidden: statusText - hidden - statusText - - NSValueTransformerName - NSIsNil - - 2 - - - 33 - - - - actionButton - - - - 34 - - - - progressBar - - - - 49 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 11 - - - - - 12 - - - YES - - - - - - 16 - - - YES - - - - - - 53 - - - - - 54 - - - - - 55 - - - - - 56 - - - - - - - YES - - YES - -3.ImportedFromIB2 - 11.ImportedFromIB2 - 12.ImportedFromIB2 - 16.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.minSize - 6.ImportedFromIB2 - 7.ImportedFromIB2 - 8.ImportedFromIB2 - - - YES - - - - - {{294, 716}, {400, 107}} - {{294, 716}, {400, 107}} - - - {213, 107} - - - - - - - YES - - - YES - - - - - YES - - - YES - - - - 56 - - - - YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBUserSource - - - - - SUStatusController - SUWindowController - - YES - - YES - actionButton - progressBar - - - YES - NSButton - NSProgressIndicator - - - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/SUStatusController.m b/SUStatusController.m deleted file mode 100644 index 9b95ad66..00000000 --- a/SUStatusController.m +++ /dev/null @@ -1,144 +0,0 @@ -// -// SUStatusController.m -// Sparkle -// -// Created by Andy Matuschak on 3/14/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" -#import "SUStatusController.h" -#import "SUHost.h" - - -@implementation SUStatusController - -- (id)initWithHost:(SUHost *)aHost -{ - self = [super initWithHost:aHost windowNibName:@"SUStatus"]; - if (self) - { - host = [aHost retain]; - [self setShouldCascadeWindows:NO]; - } - return self; -} - -- (void)dealloc -{ - [host release]; - [title release]; - [statusText release]; - [buttonTitle release]; - [super dealloc]; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [host bundlePath], [host installationPath]]; } - -- (void)awakeFromNib -{ - if ([host isBackgroundApplication]) { - [[self window] setLevel:NSFloatingWindowLevel]; - } - - [[self window] center]; - [[self window] setFrameAutosaveName:@"SUStatusFrame"]; - [progressBar setUsesThreadedAnimation:YES]; -} - -- (NSString *)windowTitle -{ - return [NSString stringWithFormat:SULocalizedString(@"Updating %@", nil), [host name]]; -} - -- (NSImage *)applicationIcon -{ - return [host icon]; -} - -- (void)beginActionWithTitle:(NSString *)aTitle maxProgressValue:(double)aMaxProgressValue statusText:(NSString *)aStatusText -{ - [self willChangeValueForKey:@"title"]; - title = [aTitle copy]; - [self didChangeValueForKey:@"title"]; - - [self setMaxProgressValue:aMaxProgressValue]; - [self setStatusText:aStatusText]; -} - -- (void)setButtonTitle:(NSString *)aButtonTitle target: (id)target action:(SEL)action isDefault:(BOOL)isDefault -{ - [self willChangeValueForKey:@"buttonTitle"]; - if (buttonTitle != aButtonTitle) - { - [buttonTitle release]; - buttonTitle = [aButtonTitle copy]; - } - [self didChangeValueForKey:@"buttonTitle"]; - - (void)[self window]; - [actionButton sizeToFit]; - // Except we're going to add 15 px for padding. - [actionButton setFrameSize:NSMakeSize([actionButton frame].size.width + 15, [actionButton frame].size.height)]; - // Now we have to move it over so that it's always 15px from the side of the window. - [actionButton setFrameOrigin:NSMakePoint([[self window] frame].size.width - 15 - [actionButton frame].size.width, [actionButton frame].origin.y)]; - // Redisplay superview to clean up artifacts - [[actionButton superview] display]; - - [actionButton setTarget:target]; - [actionButton setAction:action]; - [actionButton setKeyEquivalent:isDefault ? @"\r" : @""]; - - // 06/05/2008 Alex: Avoid a crash when cancelling during the extraction - [self setButtonEnabled: (target != nil)]; -} - -- (BOOL)progressBarShouldAnimate -{ - return YES; -} - -- (void)setButtonEnabled:(BOOL)enabled -{ - [actionButton setEnabled:enabled]; -} - -- (double)progressValue -{ - return progressValue; -} - -- (void)setProgressValue:(double)value -{ - progressValue = value; -} - -- (double)maxProgressValue -{ - return maxProgressValue; -} - -- (void)setMaxProgressValue:(double)value -{ - if (value < 0.0) value = 0.0; - maxProgressValue = value; - [self setProgressValue:0.0]; - [progressBar setIndeterminate:(value == 0.0)]; - [progressBar startAnimation:self]; - [progressBar setUsesThreadedAnimation: YES]; -} - -- (void)setStatusText:(NSString *)aStatusText -{ - if (statusText != aStatusText) - { - [statusText release]; - statusText = [aStatusText copy]; - } -} - -@end diff --git a/SUSystemProfiler.m b/SUSystemProfiler.m deleted file mode 100644 index a4db3583..00000000 --- a/SUSystemProfiler.m +++ /dev/null @@ -1,140 +0,0 @@ -// -// SUSystemProfiler.m -// Sparkle -// -// Created by Andy Matuschak on 12/22/07. -// Copyright 2007 Andy Matuschak. All rights reserved. -// Adapted from Sparkle+, by Tom Harrington. -// - -#import "SUSystemProfiler.h" - -#import "SUHost.h" -#import - -@implementation SUSystemProfiler -+ (SUSystemProfiler *)sharedSystemProfiler -{ - static SUSystemProfiler *sharedSystemProfiler = nil; - if (!sharedSystemProfiler) - sharedSystemProfiler = [[self alloc] init]; - return sharedSystemProfiler; -} - -- (NSDictionary *)modelTranslationTable -{ - NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"SUModelTranslation" ofType:@"plist"]; - return [[[NSDictionary alloc] initWithContentsOfFile:path] autorelease]; -} - -- (NSMutableArray *)systemProfileArrayForHost:(SUHost *)host -{ - NSDictionary *modelTranslation = [self modelTranslationTable]; - - // Gather profile information and append it to the URL. - NSMutableArray *profileArray = [NSMutableArray array]; - NSArray *profileDictKeys = [NSArray arrayWithObjects:@"key", @"displayKey", @"value", @"displayValue", nil]; - int error = 0; - int value = 0; - size_t length = sizeof(value); - - // OS version - NSString *currentSystemVersion = [SUHost systemVersionString]; - if (currentSystemVersion != nil) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"osVersion",@"OS Version",currentSystemVersion,currentSystemVersion,nil] forKeys:profileDictKeys]]; - - // CPU type (decoder info for values found here is in mach/machine.h) - error = sysctlbyname("hw.cputype", &value, &length, NULL, 0); - int cpuType = -1; - if (error == 0) { - cpuType = value; - NSString *visibleCPUType; - switch(value) { - case CPU_TYPE_X86: visibleCPUType = @"Intel"; break; - case CPU_TYPE_POWERPC: visibleCPUType = @"PowerPC"; break; - default: visibleCPUType = @"Unknown"; break; - } - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"cputype",@"CPU Type", [NSNumber numberWithInt:value], visibleCPUType,nil] forKeys:profileDictKeys]]; - } - error = sysctlbyname("hw.cpu64bit_capable", &value, &length, NULL, 0); - if(error != 0) - error = sysctlbyname("hw.optional.x86_64", &value, &length, NULL, 0); //x86 specific - if(error != 0) - error = sysctlbyname("hw.optional.64bitops", &value, &length, NULL, 0); //PPC specific - - BOOL is64bit = NO; - - if (error == 0) { - is64bit = value == 1; - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"cpu64bit", @"CPU is 64-Bit?", [NSNumber numberWithBool:is64bit], is64bit ? @"Yes" : @"No", nil] forKeys:profileDictKeys]]; - } - error = sysctlbyname("hw.cpusubtype", &value, &length, NULL, 0); - if (error == 0) { - NSString *visibleCPUSubType; - if (cpuType == 7) { - // Intel - visibleCPUSubType = is64bit ? @"Intel Core 2" : @"Intel Core"; // If anyone knows how to tell a Core Duo from a Core Solo, please email tph@atomicbird.com - } else if (cpuType == 18) { - // PowerPC - switch(value) { - case 9: visibleCPUSubType=@"G3"; break; - case 10: case 11: visibleCPUSubType=@"G4"; break; - case 100: visibleCPUSubType=@"G5"; break; - default: visibleCPUSubType=@"Other"; break; - } - } else { - visibleCPUSubType = @"Other"; - } - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"cpusubtype",@"CPU Subtype", [NSNumber numberWithInt:value], visibleCPUSubType,nil] forKeys:profileDictKeys]]; - } - error = sysctlbyname("hw.model", NULL, &length, NULL, 0); - if (error == 0) { - char *cpuModel = (char *)malloc(sizeof(char) * length); - if (cpuModel != NULL) { - error = sysctlbyname("hw.model", cpuModel, &length, NULL, 0); - if (error == 0) { - NSString *rawModelName = [NSString stringWithUTF8String:cpuModel]; - NSString *visibleModelName = [modelTranslation objectForKey:rawModelName]; - if (visibleModelName == nil) - visibleModelName = rawModelName; - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"model",@"Mac Model", rawModelName, visibleModelName, nil] forKeys:profileDictKeys]]; - } - free(cpuModel); - } - } - - // Number of CPUs - error = sysctlbyname("hw.ncpu", &value, &length, NULL, 0); - if (error == 0) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"ncpu",@"Number of CPUs", [NSNumber numberWithInt:value], [NSNumber numberWithInt:value],nil] forKeys:profileDictKeys]]; - - // User preferred language - NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; - NSArray *languages = [defs objectForKey:@"AppleLanguages"]; - if ([languages count] > 0) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"lang",@"Preferred Language", [languages objectAtIndex:0], [languages objectAtIndex:0],nil] forKeys:profileDictKeys]]; - - // Application sending the request - NSString *appName = [host name]; - if (appName) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"appName",@"Application Name", appName, appName,nil] forKeys:profileDictKeys]]; - NSString *appVersion = [host version]; - if (appVersion) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"appVersion",@"Application Version", appVersion, appVersion,nil] forKeys:profileDictKeys]]; - - // Number of displays? - // CPU speed - SInt32 gestaltInfo; - OSErr err = Gestalt(gestaltProcClkSpeedMHz,&gestaltInfo); - if (err == noErr) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"cpuFreqMHz",@"CPU Speed (GHz)", [NSNumber numberWithInt:gestaltInfo], [NSNumber numberWithDouble:gestaltInfo/1000.0],nil] forKeys:profileDictKeys]]; - - // amount of RAM - err = Gestalt(gestaltPhysicalRAMSizeInMegabytes,&gestaltInfo); - if (err == noErr) - [profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"ramMB",@"Memory (MB)", [NSNumber numberWithInt:gestaltInfo], [NSNumber numberWithInt:gestaltInfo],nil] forKeys:profileDictKeys]]; - - return profileArray; -} - -@end diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m deleted file mode 100644 index 722bf523..00000000 --- a/SUUIBasedUpdateDriver.m +++ /dev/null @@ -1,237 +0,0 @@ -// -// SUUIBasedUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 5/5/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUUIBasedUpdateDriver.h" - -#import "SUUpdateAlert.h" -#import "SUUpdater_Private.h" -#import "SUHost.h" -#import "SUStatusController.h" -#import "SUConstants.h" -#import "SUPasswordPrompt.h" - -@implementation SUUIBasedUpdateDriver - -- (void)didFindValidUpdate -{ - updateAlert = [[SUUpdateAlert alloc] initWithAppcastItem:updateItem host:host]; - [updateAlert setDelegate:self]; - - id versDisp = nil; - if ([[updater delegate] respondsToSelector:@selector(versionDisplayerForUpdater:)]) - versDisp = [[updater delegate] versionDisplayerForUpdater: updater]; - [updateAlert setVersionDisplayer: versDisp]; - - if ([[updater delegate] respondsToSelector:@selector(updater:didFindValidUpdate:)]) - [[updater delegate] updater:updater didFindValidUpdate:updateItem]; - - // If the app is a menubar app or the like, we need to focus it first and alter the - // update prompt to behave like a normal window. Otherwise if the window were hidden - // there may be no way for the application to be activated to make it visible again. - if ([host isBackgroundApplication]) - { - [[updateAlert window] setHidesOnDeactivate:NO]; - [NSApp activateIgnoringOtherApps:YES]; - } - - // Only show the update alert if the app is active; otherwise, we'll wait until it is. - if ([NSApp isActive]) - [[updateAlert window] makeKeyAndOrderFront:self]; - else - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification object:NSApp]; -} - -- (void)didNotFindUpdate -{ - if ([[updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) - [[updater delegate] updaterDidNotFindUpdate:updater]; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:updater]; - - NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"You're up-to-date!", nil) defaultButton:SULocalizedString(@"OK", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:SULocalizedString(@"%@ %@ is currently the newest version available.", nil), [host name], [host displayVersion]]; - [self showModalAlert:alert]; - [self abortUpdate]; -} - -- (void)applicationDidBecomeActive:(NSNotification *)aNotification -{ - [[updateAlert window] makeKeyAndOrderFront:self]; - [[NSNotificationCenter defaultCenter] removeObserver:self name:@"NSApplicationDidBecomeActiveNotification" object:NSApp]; -} - -- (void)updateAlert:(SUUpdateAlert *)alert finishedWithChoice:(SUUpdateAlertChoice)choice -{ - [updateAlert release]; updateAlert = nil; - [host setObject:nil forUserDefaultsKey:SUSkippedVersionKey]; - switch (choice) - { - case SUInstallUpdateChoice: - statusController = [[SUStatusController alloc] initWithHost:host]; - [statusController beginActionWithTitle:SULocalizedString(@"Downloading update...", @"Take care not to overflow the status window.") maxProgressValue:0.0 statusText:nil]; - [statusController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelDownload:) isDefault:NO]; - [statusController showWindow:self]; - [self downloadUpdate]; - break; - - case SUOpenInfoURLChoice: - [[NSWorkspace sharedWorkspace] openURL: [updateItem infoURL]]; - [self abortUpdate]; - break; - - case SUSkipThisVersionChoice: - [host setObject:[updateItem versionString] forUserDefaultsKey:SUSkippedVersionKey]; - [self abortUpdate]; - break; - - case SURemindMeLaterChoice: - [self abortUpdate]; - break; - } -} - -- (void)download:(NSURLDownload *)download didReceiveResponse:(NSURLResponse *)response -{ - [statusController setMaxProgressValue:[response expectedContentLength]]; -} - -- (NSString *)humanReadableSizeFromDouble:(double)value -{ - if (value < 1000) - return [NSString stringWithFormat:@"%.0lf %@", value, SULocalizedString(@"B", @"the unit for bytes")]; - - if (value < 1000 * 1000) - return [NSString stringWithFormat:@"%.0lf %@", value / 1000.0, SULocalizedString(@"KB", @"the unit for kilobytes")]; - - if (value < 1000 * 1000 * 1000) - return [NSString stringWithFormat:@"%.1lf %@", value / 1000.0 / 1000.0, SULocalizedString(@"MB", @"the unit for megabytes")]; - - return [NSString stringWithFormat:@"%.2lf %@", value / 1000.0 / 1000.0 / 1000.0, SULocalizedString(@"GB", @"the unit for gigabytes")]; -} - -- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(NSUInteger)length -{ - [statusController setProgressValue:[statusController progressValue] + (double)length]; - if ([statusController maxProgressValue] > 0.0) - [statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ of %@", nil), [self humanReadableSizeFromDouble:[statusController progressValue]], [self humanReadableSizeFromDouble:[statusController maxProgressValue]]]]; - else - [statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ downloaded", nil), [self humanReadableSizeFromDouble:[statusController progressValue]]]]; -} - -- (IBAction)cancelDownload: (id)sender -{ - if (download) - [download cancel]; - [self abortUpdate]; -} - -- (void)extractUpdate -{ - // Now we have to extract the downloaded archive. - [statusController beginActionWithTitle:SULocalizedString(@"Extracting update...", @"Take care not to overflow the status window.") maxProgressValue:0.0 statusText:nil]; - [statusController setButtonEnabled:NO]; - [super extractUpdate]; -} - -- (void)unarchiver:(SUUnarchiver *)ua extractedLength:(unsigned long)length -{ - // We do this here instead of in extractUpdate so that we only have a determinate progress bar for archives with progress. - if ([statusController maxProgressValue] == 0.0) - { - NSDictionary * attributes; -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - attributes = [[NSFileManager defaultManager] fileAttributesAtPath:downloadPath traverseLink:NO]; -#else - attributes = [[NSFileManager defaultManager] attributesOfItemAtPath:downloadPath error:nil]; -#endif - [statusController setMaxProgressValue:[[attributes objectForKey:NSFileSize] doubleValue]]; - } - [statusController setProgressValue:[statusController progressValue] + (double)length]; -} - -- (void)unarchiverDidFinish:(SUUnarchiver *)ua -{ - [statusController beginActionWithTitle:SULocalizedString(@"Ready to Install", nil) maxProgressValue:1.0 statusText:nil]; - [statusController setProgressValue:1.0]; // Fill the bar. - [statusController setButtonEnabled:YES]; - [statusController setButtonTitle:SULocalizedString(@"Install and Relaunch", nil) target:self action:@selector(installAndRestart:) isDefault:YES]; - [[statusController window] makeKeyAndOrderFront: self]; - [NSApp requestUserAttention:NSInformationalRequest]; -} - -- (void)unarchiver:(SUUnarchiver *)unarchiver requiresPasswordReturnedViaInvocation:(NSInvocation *)invocation -{ - SUPasswordPrompt *prompt = [[SUPasswordPrompt alloc] initWithHost:host]; - NSString *password = nil; - if([prompt run]) - { - password = [prompt password]; - } - [prompt release]; - [invocation setArgument:&password atIndex:2]; - [invocation invoke]; -} - -- (void)installAndRestart: (id)sender -{ - [self installWithToolAndRelaunch:YES]; -} - -- (void)installWithToolAndRelaunch:(BOOL)relaunch -{ - [statusController beginActionWithTitle:SULocalizedString(@"Installing update...", @"Take care not to overflow the status window.") maxProgressValue:0.0 statusText:nil]; - [statusController setButtonEnabled:NO]; - [super installWithToolAndRelaunch:relaunch]; - - - // if a user chooses to NOT relaunch the app (as is the case with WebKit - // when it asks you if you are sure you want to close the app with multiple - // tabs open), the status window still stays on the screen and obscures - // other windows; with this fix, it doesn't - - if (statusController) - { - [statusController close]; - [statusController autorelease]; - statusController = nil; - } -} - -- (void)abortUpdateWithError:(NSError *)error -{ - NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]]; - [self showModalAlert:alert]; - [super abortUpdateWithError:error]; -} - -- (void)abortUpdate -{ - if (statusController) - { - [statusController close]; - [statusController autorelease]; - statusController = nil; - } - [super abortUpdate]; -} - -- (void)showModalAlert:(NSAlert *)alert -{ - if ([[updater delegate] respondsToSelector:@selector(updaterWillShowModalAlert:)]) - [[updater delegate] updaterWillShowModalAlert: updater]; - - // When showing a modal alert we need to ensure that background applications - // are focused to inform the user since there is no dock icon to notify them. - if ([host isBackgroundApplication]) { [NSApp activateIgnoringOtherApps:YES]; } - - [alert setIcon:[host icon]]; - [alert runModal]; - - if ([[updater delegate] respondsToSelector:@selector(updaterDidShowModalAlert:)]) - [[updater delegate] updaterDidShowModalAlert: updater]; -} - -@end diff --git a/SUUnarchiver.m b/SUUnarchiver.m deleted file mode 100644 index ca437b4a..00000000 --- a/SUUnarchiver.m +++ /dev/null @@ -1,44 +0,0 @@ -// -// SUUnarchiver.m -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - - -#import "SUUpdater.h" - -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUVersionComparisonProtocol.h" -#import "SUUnarchiver.h" -#import "SUUnarchiver_Private.h" - -@implementation SUUnarchiver - -+ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHost:(SUHost *)host -{ - NSEnumerator *implementationEnumerator = [[self unarchiverImplementations] objectEnumerator]; - id current; - while ((current = [implementationEnumerator nextObject])) - { - if ([current canUnarchivePath:path]) - return [[[current alloc] initWithPath:path host:host] autorelease]; - } - return nil; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], archivePath]; } - -- (void)setDelegate:del -{ - delegate = del; -} - -- (void)start -{ - // No-op -} - -@end diff --git a/SUUnarchiver_Private.m b/SUUnarchiver_Private.m deleted file mode 100644 index bad6f6f3..00000000 --- a/SUUnarchiver_Private.m +++ /dev/null @@ -1,67 +0,0 @@ -// -// SUUnarchiver_Private.m -// Sparkle -// -// Created by Andy Matuschak on 6/17/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUUnarchiver_Private.h" - -@implementation SUUnarchiver (Private) - -- (id)initWithPath:(NSString *)path host:(SUHost *)host -{ - if ((self = [super init])) - { - archivePath = [path copy]; - updateHost = [host retain]; - } - return self; -} - -- (void)dealloc -{ - [archivePath release]; - [updateHost release]; - [super dealloc]; -} - -+ (BOOL)canUnarchivePath:(NSString *)path -{ - return NO; -} - -- (void)notifyDelegateOfExtractedLength:(NSNumber *)length -{ - if ([delegate respondsToSelector:@selector(unarchiver:extractedLength:)]) - [delegate unarchiver:self extractedLength:[length unsignedLongValue]]; -} - -- (void)notifyDelegateOfSuccess -{ - if ([delegate respondsToSelector:@selector(unarchiverDidFinish:)]) - [delegate performSelector:@selector(unarchiverDidFinish:) withObject:self]; -} - -- (void)notifyDelegateOfFailure -{ - if ([delegate respondsToSelector:@selector(unarchiverDidFail:)]) - [delegate performSelector:@selector(unarchiverDidFail:) withObject:self]; -} - -static NSMutableArray *gUnarchiverImplementations; - -+ (void)registerImplementation:(Class)implementation -{ - if (!gUnarchiverImplementations) - gUnarchiverImplementations = [[NSMutableArray alloc] init]; - [gUnarchiverImplementations addObject:implementation]; -} - -+ (NSArray *)unarchiverImplementations -{ - return [NSArray arrayWithArray:gUnarchiverImplementations]; -} - -@end diff --git a/SUUpdateAlert.h b/SUUpdateAlert.h deleted file mode 100644 index 5bf9032d..00000000 --- a/SUUpdateAlert.h +++ /dev/null @@ -1,56 +0,0 @@ -// -// SUUpdateAlert.h -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#ifndef SUUPDATEALERT_H -#define SUUPDATEALERT_H - -#import "SUWindowController.h" -#import "SUVersionDisplayProtocol.h" - - -typedef enum -{ - SUInstallUpdateChoice, - SURemindMeLaterChoice, - SUSkipThisVersionChoice, - SUOpenInfoURLChoice -} SUUpdateAlertChoice; - -@class WebView, SUAppcastItem, SUHost; -@interface SUUpdateAlert : SUWindowController { - SUAppcastItem *updateItem; - SUHost *host; - id delegate; - id versionDisplayer; - - IBOutlet WebView *releaseNotesView; - IBOutlet NSTextField *description; - IBOutlet NSButton *installButton; // UK 2007-08-31. - IBOutlet NSButton *skipButton; - IBOutlet NSButton *laterButton; - NSProgressIndicator *releaseNotesSpinner; - BOOL webViewFinishedLoading; -} - -- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)host; -- (void)setDelegate:delegate; - -- (IBAction)installUpdate:sender; -- (IBAction)skipThisVersion:sender; -- (IBAction)remindMeLater:sender; - -- (void)setVersionDisplayer: (id)disp; - -@end - -@interface NSObject (SUUpdateAlertDelegate) -- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice; -- (void)updateAlert:(SUUpdateAlert *)updateAlert shouldAllowAutoUpdate: (BOOL*)shouldAllowAutoUpdate; -@end - -#endif diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m deleted file mode 100644 index 2ef5158b..00000000 --- a/SUUpdateAlert.m +++ /dev/null @@ -1,356 +0,0 @@ -// -// SUUpdateAlert.m -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -// ----------------------------------------------------------------------------- -// Headers: -// ----------------------------------------------------------------------------- - -#import "SUUpdateAlert.h" - -#import "SUHost.h" -#import - -#import "SUConstants.h" - - -@interface WebView (SUTenFiveProperty) - --(void) setDrawsBackground: (BOOL)state; - -@end - - -@implementation SUUpdateAlert - -- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost -{ - self = [super initWithHost:host windowNibName:@"SUUpdateAlert"]; - if (self) - { - host = [aHost retain]; - updateItem = [item retain]; - [self setShouldCascadeWindows:NO]; - - // Alex: This dummy line makes sure that the binary is linked against WebKit. - // The SUUpdateAlert.xib file contains a WebView and if we don't link against WebKit, - // we will get a runtime crash when decoding the NIB. It is better to get a link error. - [WebView MIMETypesShownAsHTML]; - } - return self; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; } - -- (void)dealloc -{ - [updateItem release]; - [host release]; - [super dealloc]; -} - -- (void)setVersionDisplayer: (id)disp -{ - versionDisplayer = disp; -} - -- (void)endWithSelection:(SUUpdateAlertChoice)choice -{ - [releaseNotesView stopLoading:self]; - [releaseNotesView setFrameLoadDelegate:nil]; - [releaseNotesView setPolicyDelegate:nil]; - [releaseNotesView removeFromSuperview]; // Otherwise it gets sent Esc presses (why?!) and gets very confused. - [self close]; - if ([delegate respondsToSelector:@selector(updateAlert:finishedWithChoice:)]) - [delegate updateAlert:self finishedWithChoice:choice]; -} - -- (IBAction)installUpdate: (id)sender -{ - [self endWithSelection:SUInstallUpdateChoice]; -} - -- (IBAction)openInfoURL: (id)sender -{ - [self endWithSelection:SUOpenInfoURLChoice]; -} - -- (IBAction)skipThisVersion: (id)sender -{ - [self endWithSelection:SUSkipThisVersionChoice]; -} - -- (IBAction)remindMeLater: (id)sender -{ - [self endWithSelection:SURemindMeLaterChoice]; -} - -- (void)displayReleaseNotes -{ - // Set the default font - [releaseNotesView setPreferencesIdentifier:[SPARKLE_BUNDLE bundleIdentifier]]; - [[releaseNotesView preferences] setStandardFontFamily:[[NSFont systemFontOfSize:8] familyName]]; - [[releaseNotesView preferences] setDefaultFontSize:(int)[NSFont systemFontSizeForControlSize:NSSmallControlSize]]; - [releaseNotesView setFrameLoadDelegate:self]; - [releaseNotesView setPolicyDelegate:self]; - - // Stick a nice big spinner in the middle of the web view until the page is loaded. - NSRect frame = [[releaseNotesView superview] frame]; - releaseNotesSpinner = [[[NSProgressIndicator alloc] initWithFrame:NSMakeRect(NSMidX(frame)-16, NSMidY(frame)-16, 32, 32)] autorelease]; - [releaseNotesSpinner setStyle:NSProgressIndicatorSpinningStyle]; - [releaseNotesSpinner startAnimation:self]; - webViewFinishedLoading = NO; - [[releaseNotesView superview] addSubview:releaseNotesSpinner]; - - // If there's a release notes URL, load it; otherwise, just stick the contents of the description into the web view. - if ([updateItem releaseNotesURL]) - { - if ([[updateItem releaseNotesURL] isFileURL]) - { - [[releaseNotesView mainFrame] loadHTMLString:@"Release notes with file:// URLs are not supported for security reasons—Javascript would be able to read files on your file system." baseURL:nil]; - } - else - { - [[releaseNotesView mainFrame] loadRequest:[NSURLRequest requestWithURL:[updateItem releaseNotesURL] cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:30]]; - } - } - else - { - [[releaseNotesView mainFrame] loadHTMLString:[updateItem itemDescription] baseURL:nil]; - } -} - -- (BOOL)showsReleaseNotes -{ - NSNumber *shouldShowReleaseNotes = [host objectForInfoDictionaryKey:SUShowReleaseNotesKey]; - if (shouldShowReleaseNotes == nil) - { - // UK 2007-09-18: Don't show release notes if RSS item contains no description and no release notes URL: - return( ([updateItem itemDescription] != nil - && [[[updateItem itemDescription] stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]] length] > 0) - || [updateItem releaseNotesURL] != nil ); - } - else - return [shouldShowReleaseNotes boolValue]; -} - -- (BOOL)allowsAutomaticUpdates -{ - BOOL allowAutoUpdates = YES; // Defaults to YES. - if( [host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] ) - allowAutoUpdates = [host boolForInfoDictionaryKey: SUAllowsAutomaticUpdatesKey]; - - // UK 2007-08-31: Give delegate a chance to modify this choice: - if( delegate && [delegate respondsToSelector: @selector(updateAlert:shouldAllowAutoUpdate:)] ) - [delegate updateAlert: self shouldAllowAutoUpdate: &allowAutoUpdates]; - - return allowAutoUpdates; -} - -- (void)awakeFromNib -{ - NSString* sizeStr = [host objectForInfoDictionaryKey:SUFixedHTMLDisplaySizeKey]; - - if( [host isBackgroundApplication] ) - [[self window] setLevel:NSFloatingWindowLevel]; // This means the window will float over all other apps, if our app is switched out ?! UK 2007-09-04 - [[self window] setFrameAutosaveName: sizeStr ? @"" : @"SUUpdateAlertFrame"]; - - // We're gonna do some frame magic to match the window's size to the description field and the presence of the release notes view. - NSRect frame = [[self window] frame]; - BOOL showReleaseNotes = [self showsReleaseNotes]; // UK 2007-09-18 - if (!showReleaseNotes) // UK 2007-09-18 - { - // Resize the window to be appropriate for not having a huge release notes view. - frame.size.height -= [releaseNotesView frame].size.height + 40; // Extra 40 is for the release notes label and margin. - - if ([self allowsAutomaticUpdates]) - frame.size.height += 10; // Make room for the check box. - - // Hiding the resize handles is not enough on 10.5, you can still click - // where they would be, so we set the min/max sizes to be equal to - // inhibit resizing completely: - [[self window] setShowsResizeIndicator: NO]; - [[self window] setMinSize: frame.size]; - [[self window] setMaxSize: frame.size]; - } - else if (![self allowsAutomaticUpdates]) - { - NSRect boxFrame = [[[releaseNotesView superview] superview] frame]; - boxFrame.origin.y -= 20; - boxFrame.size.height += 20; - [[[releaseNotesView superview] superview] setFrame:boxFrame]; - } - - if( [updateItem fileURL] == nil ) // UK 2007-08-31 (whole if clause) - { - [installButton setTitle: SULocalizedString( @"Learn More...", @"Alternate title for 'Install Update' button when there's no download in RSS feed." )]; - [installButton setAction: @selector(openInfoURL:)]; - } - - // Make sure button widths are OK: - #define DISTANCE_BETWEEN_BUTTONS 3 - #define DISTANCE_BETWEEN_BUTTON_GROUPS 12 - - CGFloat minimumWindowWidth = [[self window] frame].size.width -NSMaxX([installButton frame]) +NSMinX([skipButton frame]); // Distance between contents and left/right edge. - NSDictionary* attrs = [NSDictionary dictionaryWithObjectsAndKeys: [installButton font], NSFontAttributeName, nil]; - NSSize titleSize = [[installButton title] sizeWithAttributes: attrs]; - titleSize.width += (16 + 8) * 2; // 16 px for the end caps plus 8 px padding at each end or it'll look as ugly as calling -sizeToFit. - NSRect installBtnBox = [installButton frame]; - installBtnBox.origin.x += installBtnBox.size.width -titleSize.width; - installBtnBox.size.width = titleSize.width; - [installButton setFrame: installBtnBox]; - minimumWindowWidth += titleSize.width; - - titleSize = [[laterButton title] sizeWithAttributes: attrs]; - titleSize.width += (16 + 8) * 2; // 16 px for the end caps plus 8 px padding at each end or it'll look as ugly as calling -sizeToFit. - NSRect laterBtnBox = [installButton frame]; - laterBtnBox.origin.x = installBtnBox.origin.x -DISTANCE_BETWEEN_BUTTONS -titleSize.width; - laterBtnBox.size.width = titleSize.width; - [laterButton setFrame: laterBtnBox]; - minimumWindowWidth += DISTANCE_BETWEEN_BUTTONS +titleSize.width; - - titleSize = [[skipButton title] sizeWithAttributes: attrs]; - titleSize.width += (16 + 8) * 2; // 16 px for the end caps plus 8 px padding at each end or it'll look as ugly as calling -sizeToFit. - NSRect skipBtnBox = [skipButton frame]; - skipBtnBox.size.width = titleSize.width; - [skipButton setFrame: skipBtnBox]; - minimumWindowWidth += DISTANCE_BETWEEN_BUTTON_GROUPS +titleSize.width; - - if( showReleaseNotes ) // UK 2007-09-18 (whole block) - { - if( sizeStr ) - { - NSSize desiredSize = NSSizeFromString( sizeStr ); - NSSize sizeDiff = NSZeroSize; - // NSBox* boxView = (NSBox*)[[releaseNotesView superview] superview]; - - //[boxView setBorderType: NSNoBorder]; - [releaseNotesView setDrawsBackground: NO]; - - sizeDiff.width = desiredSize.width -[releaseNotesView frame].size.width; - sizeDiff.height = desiredSize.height -[releaseNotesView frame].size.height; - frame.size.width += sizeDiff.width; - frame.size.height += sizeDiff.height; - - // No resizing: - [[self window] setShowsResizeIndicator:NO]; - [[self window] setMinSize:frame.size]; - [[self window] setMaxSize:frame.size]; - } - } - - if( frame.size.width < minimumWindowWidth ) - frame.size.width = minimumWindowWidth; - - [[self window] setFrame: frame display: NO]; - [[self window] center]; - - if (showReleaseNotes) // UK 2007-09-18 - { - [self displayReleaseNotes]; - } - - [[[releaseNotesView superview] superview] setHidden: !showReleaseNotes]; // UK 2007-09-18 - -} - --(BOOL)showsReleaseNotesText -{ - return( [host objectForInfoDictionaryKey:SUFixedHTMLDisplaySizeKey] == nil ); -} - - -- (BOOL)windowShouldClose:note -{ - [self endWithSelection:SURemindMeLaterChoice]; - return YES; -} - -- (NSImage *)applicationIcon -{ - return [host icon]; -} - -- (NSString *)titleText -{ - return [NSString stringWithFormat:SULocalizedString(@"A new version of %@ is available!", nil), [host name]]; -} - -- (NSString *)descriptionText -{ - NSString *updateItemVersion = [updateItem displayVersionString]; - NSString *hostVersion = [host displayVersion]; - // Display more info if the version strings are the same; useful for betas. - if( !versionDisplayer && [updateItemVersion isEqualToString:hostVersion] ) - { - updateItemVersion = [updateItemVersion stringByAppendingFormat:@" (%@)", [updateItem versionString]]; - hostVersion = [hostVersion stringByAppendingFormat:@" (%@)", [host version]]; - } - else - [versionDisplayer formatVersion: &updateItemVersion andVersion: &hostVersion]; - return [NSString stringWithFormat:SULocalizedString(@"%@ %@ is now available--you have %@. Would you like to download it now?", nil), [host name], updateItemVersion, hostVersion]; -} - -- (void)webView:(WebView *)sender didFinishLoadForFrame:frame -{ - if ([frame parentFrame] == nil) { - webViewFinishedLoading = YES; - [releaseNotesSpinner setHidden:YES]; - [sender display]; // necessary to prevent weird scroll bar artifacting - } -} - -- (void)webView:sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:frame decisionListener:listener -{ - if (webViewFinishedLoading) { - [[NSWorkspace sharedWorkspace] openURL:[request URL]]; - - [listener ignore]; - } - else { - [listener use]; - } -} - -// Clean up the contextual menu. -- (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems -{ - NSMutableArray *webViewMenuItems = [[defaultMenuItems mutableCopy] autorelease]; - - if (webViewMenuItems) - { - NSEnumerator *itemEnumerator = [defaultMenuItems objectEnumerator]; - NSMenuItem *menuItem = nil; - while ((menuItem = [itemEnumerator nextObject])) - { - NSInteger tag = [menuItem tag]; - - switch (tag) - { - case WebMenuItemTagOpenLinkInNewWindow: - case WebMenuItemTagDownloadLinkToDisk: - case WebMenuItemTagOpenImageInNewWindow: - case WebMenuItemTagDownloadImageToDisk: - case WebMenuItemTagOpenFrameInNewWindow: - case WebMenuItemTagGoBack: - case WebMenuItemTagGoForward: - case WebMenuItemTagStop: - case WebMenuItemTagReload: - [webViewMenuItems removeObjectIdenticalTo: menuItem]; - } - } - } - - return webViewMenuItems; -} - -- (void)setDelegate:del -{ - delegate = del; -} - -@end diff --git a/SUUpdateDriver.h b/SUUpdateDriver.h deleted file mode 100644 index 9e8a73e2..00000000 --- a/SUUpdateDriver.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// SUUpdateDriver.h -// Sparkle -// -// Created by Andy Matuschak on 5/7/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#ifndef SUUPDATEDRIVER_H -#define SUUPDATEDRIVER_H - -#import - -extern NSString * const SUUpdateDriverFinishedNotification; - -@class SUHost, SUUpdater; -@interface SUUpdateDriver : NSObject -{ - SUHost *host; - SUUpdater *updater; - NSURL *appcastURL; - - BOOL finished; -} - -- initWithUpdater:(SUUpdater *)updater; -- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)host; -- (void)abortUpdate; -- (BOOL)finished; -- (SUHost*)host; -- (void)setHost:(SUHost*)newHost; - -@end - -#endif diff --git a/SUUpdateDriver.m b/SUUpdateDriver.m deleted file mode 100644 index e1bae4ee..00000000 --- a/SUUpdateDriver.m +++ /dev/null @@ -1,56 +0,0 @@ -// -// SUUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 5/7/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUUpdateDriver.h" -#import "SUHost.h" - -NSString * const SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished"; - -@implementation SUUpdateDriver -- initWithUpdater:(SUUpdater *)anUpdater -{ - if ((self = [super init])) - updater = anUpdater; - return self; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [host bundlePath], [host installationPath]]; } - -- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)h -{ - appcastURL = [URL copy]; - host = [h retain]; -} - -- (void)abortUpdate -{ - [self setValue:[NSNumber numberWithBool:YES] forKey:@"finished"]; - [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdateDriverFinishedNotification object:self]; -} - -- (BOOL)finished { return finished; } - -- (void)dealloc -{ - [host release]; - [appcastURL release]; - [super dealloc]; -} - -- (SUHost*)host -{ - return host; -} - -- (void)setHost:(SUHost*)newHost -{ - [host release]; - host = [newHost retain]; -} - -@end diff --git a/SUUpdatePermissionPrompt.h b/SUUpdatePermissionPrompt.h deleted file mode 100644 index 9ead535b..00000000 --- a/SUUpdatePermissionPrompt.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// SUUpdatePermissionPrompt.h -// Sparkle -// -// Created by Andy Matuschak on 1/24/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#ifndef SUUPDATEPERMISSIONPROMPT_H -#define SUUPDATEPERMISSIONPROMPT_H - -#import "SUWindowController.h" - -typedef enum { - SUAutomaticallyCheck, - SUDoNotAutomaticallyCheck -} SUPermissionPromptResult; - -@class SUHost; -@interface SUUpdatePermissionPrompt : SUWindowController { - SUHost *host; - NSArray *systemProfileInformationArray; - id delegate; - IBOutlet NSTextField *descriptionTextField; - IBOutlet NSView *moreInfoView; - IBOutlet NSButton *moreInfoButton; - IBOutlet NSTableView *profileTableView; - BOOL isShowingMoreInfo, shouldSendProfile; -} -+ (void)promptWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile delegate:(id)d; -- (IBAction)toggleMoreInfo:(id)sender; -- (IBAction)finishPrompt:(id)sender; -@end - -@interface NSObject (SUUpdatePermissionPromptDelegateInformalProtocol) -- (void)updatePermissionPromptFinishedWithResult:(SUPermissionPromptResult)result; -@end - -#endif diff --git a/SUUpdatePermissionPrompt.m b/SUUpdatePermissionPrompt.m deleted file mode 100644 index ad366103..00000000 --- a/SUUpdatePermissionPrompt.m +++ /dev/null @@ -1,136 +0,0 @@ -// -// SUUpdatePermissionPrompt.m -// Sparkle -// -// Created by Andy Matuschak on 1/24/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUUpdatePermissionPrompt.h" - -#import "SUHost.h" -#import "SUConstants.h" - -@implementation SUUpdatePermissionPrompt - -- (BOOL)shouldAskAboutProfile -{ - return [[host objectForInfoDictionaryKey:SUEnableSystemProfilingKey] boolValue]; -} - -- (id)initWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile delegate:(id)d -{ - self = [super initWithHost:aHost windowNibName:@"SUUpdatePermissionPrompt"]; - if (self) - { - host = [aHost retain]; - delegate = d; - isShowingMoreInfo = NO; - shouldSendProfile = [self shouldAskAboutProfile]; - systemProfileInformationArray = [profile retain]; - [self setShouldCascadeWindows:NO]; - } - return self; -} - -+ (void)promptWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile delegate:(id)d -{ - // If this is a background application we need to focus it in order to bring the prompt - // to the user's attention. Otherwise the prompt would be hidden behind other applications and - // the user would not know why the application was paused. - if ([aHost isBackgroundApplication]) { [NSApp activateIgnoringOtherApps:YES]; } - - id prompt = [[[[self class] alloc] initWithHost:aHost systemProfile:profile delegate:d] autorelease]; - [NSApp runModalForWindow:[prompt window]]; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; } - -- (void)awakeFromNib -{ - if (![self shouldAskAboutProfile]) - { - NSRect frame = [[self window] frame]; - frame.size.height -= [moreInfoButton frame].size.height; - [[self window] setFrame:frame display:YES]; - } else { - // Set the table view's delegate so we can disable row selection. - [profileTableView setDelegate:(id)self]; - } -} - -- (BOOL)tableView:(NSTableView *)tableView shouldSelectRow:(NSInteger)row { return NO; } - -- (void)dealloc -{ - [host release]; - [systemProfileInformationArray release]; - [super dealloc]; -} - -- (NSImage *)icon -{ - return [host icon]; -} - -- (NSString *)promptDescription -{ - return [NSString stringWithFormat:SULocalizedString(@"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu.", nil), [host name]]; -} - -- (IBAction)toggleMoreInfo:(id)sender -{ - [self willChangeValueForKey:@"isShowingMoreInfo"]; - isShowingMoreInfo = !isShowingMoreInfo; - [self didChangeValueForKey:@"isShowingMoreInfo"]; - - NSView *contentView = [[self window] contentView]; - NSRect contentViewFrame = [contentView frame]; - NSRect windowFrame = [[self window] frame]; - - NSRect profileMoreInfoViewFrame = [moreInfoView frame]; - NSRect profileMoreInfoButtonFrame = [moreInfoButton frame]; - NSRect descriptionFrame = [descriptionTextField frame]; - - if (isShowingMoreInfo) - { - // Add the subview - contentViewFrame.size.height += profileMoreInfoViewFrame.size.height; - profileMoreInfoViewFrame.origin.y = profileMoreInfoButtonFrame.origin.y - profileMoreInfoViewFrame.size.height; - profileMoreInfoViewFrame.origin.x = descriptionFrame.origin.x; - profileMoreInfoViewFrame.size.width = descriptionFrame.size.width; - - windowFrame.size.height += profileMoreInfoViewFrame.size.height; - windowFrame.origin.y -= profileMoreInfoViewFrame.size.height; - - [moreInfoView setFrame:profileMoreInfoViewFrame]; - [moreInfoView setHidden:YES]; - [contentView addSubview:moreInfoView - positioned:NSWindowBelow - relativeTo:moreInfoButton]; - } else { - // Remove the subview - [moreInfoView setHidden:NO]; - [moreInfoView removeFromSuperview]; - contentViewFrame.size.height -= profileMoreInfoViewFrame.size.height; - - windowFrame.size.height -= profileMoreInfoViewFrame.size.height; - windowFrame.origin.y += profileMoreInfoViewFrame.size.height; - } - [[self window] setFrame:windowFrame display:YES animate:YES]; - [contentView setFrame:contentViewFrame]; - [contentView setNeedsDisplay:YES]; - [moreInfoView setHidden:(!isShowingMoreInfo)]; -} - -- (IBAction)finishPrompt:(id)sender -{ - if (![delegate respondsToSelector:@selector(updatePermissionPromptFinishedWithResult:)]) - [NSException raise:@"SUInvalidDelegate" format:@"SUUpdatePermissionPrompt's delegate (%@) doesn't respond to updatePermissionPromptFinishedWithResult:!", delegate]; - [host setBool:shouldSendProfile forUserDefaultsKey:SUSendProfileInfoKey]; - [delegate updatePermissionPromptFinishedWithResult:([sender tag] == 1 ? SUAutomaticallyCheck : SUDoNotAutomaticallyCheck)]; - [[self window] close]; - [NSApp stopModal]; -} - -@end diff --git a/SUUpdater.h b/SUUpdater.h deleted file mode 100644 index 1d064d11..00000000 --- a/SUUpdater.h +++ /dev/null @@ -1,175 +0,0 @@ -// -// SUUpdater.h -// Sparkle -// -// Created by Andy Matuschak on 1/4/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#ifndef SUUPDATER_H -#define SUUPDATER_H - -#import "SUVersionComparisonProtocol.h" -#import "SUVersionDisplayProtocol.h" - -@class SUUpdateDriver, SUAppcastItem, SUHost, SUAppcast; - -@interface SUUpdater : NSObject -{ -@private - NSTimer *checkTimer; - SUUpdateDriver *driver; - - NSString *customUserAgentString; - SUHost *host; - IBOutlet id delegate; -} - -+ (SUUpdater *)sharedUpdater; -+ (SUUpdater *)updaterForBundle:(NSBundle *)bundle; -- (id)initForBundle:(NSBundle *)bundle; - -- (NSBundle *)hostBundle; - -- (void)setDelegate:(id)delegate; -- (id)delegate; - -- (void)setAutomaticallyChecksForUpdates:(BOOL)automaticallyChecks; -- (BOOL)automaticallyChecksForUpdates; - -- (void)setUpdateCheckInterval:(NSTimeInterval)interval; -- (NSTimeInterval)updateCheckInterval; - -- (void)setFeedURL:(NSURL *)feedURL; -- (NSURL *)feedURL; // *** MUST BE CALLED ON MAIN THREAD *** - -- (void)setUserAgentString:(NSString *)userAgent; -- (NSString *)userAgentString; - -- (void)setSendsSystemProfile:(BOOL)sendsSystemProfile; -- (BOOL)sendsSystemProfile; - -- (void)setAutomaticallyDownloadsUpdates:(BOOL)automaticallyDownloadsUpdates; -- (BOOL)automaticallyDownloadsUpdates; - -// This IBAction is meant for a main menu item. Hook up any menu item to this action, -// and Sparkle will check for updates and report back its findings verbosely. -- (IBAction)checkForUpdates:(id)sender; - -// This kicks off an update meant to be programmatically initiated. That is, it will display no UI unless it actually finds an update, -// in which case it proceeds as usual. If the fully automated updating is turned on, however, this will invoke that behavior, and if an -// update is found, it will be downloaded and prepped for installation. -- (void)checkForUpdatesInBackground; - -// Date of last update check. Returns nil if no check has been performed. -- (NSDate*)lastUpdateCheckDate; - -// This begins a "probing" check for updates which will not actually offer to update to that version. The delegate methods, though, -// (up to updater:didFindValidUpdate: and updaterDidNotFindUpdate:), are called, so you can use that information in your UI. -- (void)checkForUpdateInformation; - -// Call this to appropriately schedule or cancel the update checking timer according to the preferences for time interval and automatic checks. This call does not change the date of the next check, but only the internal NSTimer. -- (void)resetUpdateCycle; - -- (BOOL)updateInProgress; - -@end - -// ----------------------------------------------------------------------------- -// SUUpdater Notifications for events that might be interesting to more than just the delegate -// The updater will be the notification object -// ----------------------------------------------------------------------------- -extern NSString *const SUUpdaterDidFinishLoadingAppCastNotification; -extern NSString *const SUUpdaterDidFindValidUpdateNotification; -extern NSString *const SUUpdaterDidNotFindUpdateNotification; -extern NSString *const SUUpdaterWillInstallUpdateNotification; -extern NSString *const SUUpdaterWillRelaunchApplicationNotification; - -// Key for the SUAppcastItem object in the SUUpdaterDidFindValidUpdateNotification & SUUpdaterWillInstallUpdateNotification userInfos -extern NSString *const SUUpdaterAppcastItemNotificationKey; -// Key for the SUAppcast object in the SUUpdaterDidFinishLoadingAppCastNotification userInfo -extern NSString *const SUUpdaterAppcastNotificationKey; - -// ----------------------------------------------------------------------------- -// SUUpdater Delegate: -// ----------------------------------------------------------------------------- - -@interface NSObject (SUUpdaterDelegateInformalProtocol) - -// Use this to keep Sparkle from popping up e.g. while your setup assistant is showing: -- (BOOL)updaterMayCheckForUpdates:(SUUpdater *)bundle; - -// This method allows you to add extra parameters to the appcast URL, potentially based on whether or not Sparkle will also be sending along the system profile. This method should return an array of dictionaries with keys: "key", "value", "displayKey", "displayValue", the latter two being specifically for display to the user. -- (NSArray *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile; - -// Override this to dynamically specify the entire URL. -- (NSString*)feedURLStringForUpdater:(SUUpdater*)updater; - -// Use this to override the default behavior for Sparkle prompting the user about automatic update checks. -- (BOOL)updaterShouldPromptForPermissionToCheckForUpdates:(SUUpdater *)bundle; - -// Implement this if you want to do some special handling with the appcast once it finishes loading. -- (void)updater:(SUUpdater *)updater didFinishLoadingAppcast:(SUAppcast *)appcast; - -// If you're using special logic or extensions in your appcast, implement this to use your own logic for finding -// a valid update, if any, in the given appcast. -- (SUAppcastItem *)bestValidUpdateInAppcast:(SUAppcast *)appcast forUpdater:(SUUpdater *)bundle; - -// Sent when a valid update is found by the update driver. -- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)update; - -// Sent when a valid update is not found. -- (void)updaterDidNotFindUpdate:(SUUpdater *)update; - -// Sent immediately before installing the specified update. -- (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update; - -// Return YES to delay the relaunch until you do some processing; invoke the given NSInvocation to continue. -// This is not called if the user didn't relaunch on the previous update, in that case it will immediately -// restart. -- (BOOL)updater:(SUUpdater *)updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)update untilInvoking:(NSInvocation *)invocation; - -// Some apps *can not* be relaunched in certain circumstances. They can use this method -// to prevent a relaunch "hard": -- (BOOL)updaterShouldRelaunchApplication:(SUUpdater *)updater; - -// Called immediately before relaunching. -- (void)updaterWillRelaunchApplication:(SUUpdater *)updater; - -// This method allows you to provide a custom version comparator. -// If you don't implement this method or return nil, the standard version comparator will be used. -- (id )versionComparatorForUpdater:(SUUpdater *)updater; - -// This method allows you to provide a custom version comparator. -// If you don't implement this method or return nil, the standard version displayer will be used. -- (id )versionDisplayerForUpdater:(SUUpdater *)updater; - -// Returns the path which is used to relaunch the client after the update is installed. By default, the path of the host bundle. -- (NSString *)pathToRelaunchForUpdater:(SUUpdater *)updater; - -// Called before and after, respectively, an updater shows a modal alert window, to give the host -// the opportunity to hide attached windows etc. that may get in the way: --(void) updaterWillShowModalAlert:(SUUpdater *)updater; --(void) updaterDidShowModalAlert:(SUUpdater *)updater; - -@end - - -// ----------------------------------------------------------------------------- -// Constants: -// ----------------------------------------------------------------------------- - -// Define some minimum intervals to avoid DOS-like checking attacks. These are in seconds. -#if defined(DEBUG) && DEBUG && 0 -#define SU_MIN_CHECK_INTERVAL 60 -#else -#define SU_MIN_CHECK_INTERVAL 60*60 -#endif - -#if defined(DEBUG) && DEBUG && 0 -#define SU_DEFAULT_CHECK_INTERVAL 60 -#else -#define SU_DEFAULT_CHECK_INTERVAL 60*60*24 -#endif - -#endif diff --git a/SUUpdater.m b/SUUpdater.m deleted file mode 100644 index c40e9a2b..00000000 --- a/SUUpdater.m +++ /dev/null @@ -1,564 +0,0 @@ -// -// SUUpdater.m -// Sparkle -// -// Created by Andy Matuschak on 1/4/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import "SUUpdater.h" - -#import "SUHost.h" -#import "SUUpdatePermissionPrompt.h" - -#import "SUAutomaticUpdateDriver.h" -#import "SUProbingUpdateDriver.h" -#import "SUUserInitiatedUpdateDriver.h" -#import "SUScheduledUpdateDriver.h" -#import "SUConstants.h" -#import "SULog.h" -#import "SUCodeSigningVerifier.h" -#include - -NSString *const SUUpdaterDidFinishLoadingAppCastNotification = @"SUUpdaterDidFinishLoadingAppCastNotification"; -NSString *const SUUpdaterDidFindValidUpdateNotification = @"SUUpdaterDidFindValidUpdateNotification"; -NSString *const SUUpdaterDidNotFindUpdateNotification = @"SUUpdaterDidNotFindUpdateNotification"; -NSString *const SUUpdaterWillInstallUpdateNotification = @"SUUpdaterWillInstallUpdateNotification"; -NSString *const SUUpdaterWillRelaunchApplicationNotification = @"SUUpdaterWillRelaunchApplicationNotification"; -NSString *const SUUpdaterAppcastItemNotificationKey = @"SUUpdaterAppcastItemNotificationKey"; -NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotificationKey"; - -@interface SUUpdater (Private) -- (id)initForBundle:(NSBundle *)bundle; -- (void)startUpdateCycle; -- (void)checkForUpdatesWithDriver:(SUUpdateDriver *)updateDriver; -- (BOOL)automaticallyDownloadsUpdates; -- (void)scheduleNextUpdateCheck; -- (void)registerAsObserver; -- (void)unregisterAsObserver; -- (void)updateDriverDidFinish:(NSNotification *)note; -- (NSURL *)parameterizedFeedURL; - --(void) notifyWillShowModalAlert; --(void) notifyDidShowModalAlert; - -@end - -@implementation SUUpdater - -#pragma mark Initialization - -static NSMutableDictionary *sharedUpdaters = nil; -static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObservationContext"; - -+ (SUUpdater *)sharedUpdater -{ - return [self updaterForBundle:[NSBundle mainBundle]]; -} - -// SUUpdater has a singleton for each bundle. We use the fact that NSBundle instances are also singletons, so we can use them as keys. If you don't trust that you can also use the identifier as key -+ (SUUpdater *)updaterForBundle:(NSBundle *)bundle -{ - if (bundle == nil) bundle = [NSBundle mainBundle]; - id updater = [sharedUpdaters objectForKey:[NSValue valueWithNonretainedObject:bundle]]; - if (updater == nil) - updater = [[[[self class] alloc] initForBundle:bundle] autorelease]; - return updater; -} - -// This is the designated initializer for SUUpdater, important for subclasses -- (id)initForBundle:(NSBundle *)bundle -{ - self = [super init]; - if (bundle == nil) bundle = [NSBundle mainBundle]; - - // Register as observer straight away to avoid exceptions on -dealloc when -unregisterAsObserver is called: - if (self) - [self registerAsObserver]; - - id updater = [sharedUpdaters objectForKey:[NSValue valueWithNonretainedObject:bundle]]; - if (updater) - { - [self release]; - self = [updater retain]; - } - else if (self) - { - if (sharedUpdaters == nil) - sharedUpdaters = [[NSMutableDictionary alloc] init]; - [sharedUpdaters setObject:self forKey:[NSValue valueWithNonretainedObject:bundle]]; - host = [[SUHost alloc] initWithBundle:bundle]; - -#if !ENDANGER_USERS_WITH_INSECURE_UPDATES - // Saving-the-developer-from-a-stupid-mistake-check: - BOOL hasPublicDSAKey = [host publicDSAKey] != nil; - BOOL isMainBundle = [bundle isEqualTo:[NSBundle mainBundle]]; - BOOL hostIsCodeSigned = [SUCodeSigningVerifier hostApplicationIsCodeSigned]; - if (!isMainBundle && !hasPublicDSAKey) { - [self notifyWillShowModalAlert]; - NSRunAlertPanel(@"Insecure update error!", @"For security reasons, you need to sign your updates with a DSA key. See Sparkle's documentation for more information.", @"OK", nil, nil); - [self notifyDidShowModalAlert]; - } else if (isMainBundle && !(hasPublicDSAKey || hostIsCodeSigned)) { - [self notifyWillShowModalAlert]; - NSRunAlertPanel(@"Insecure update error!", @"For security reasons, you need to code sign your application or sign your updates with a DSA key. See Sparkle's documentation for more information.", @"OK", nil, nil); - [self notifyDidShowModalAlert]; - } -#endif - // This runs the permission prompt if needed, but never before the app has finished launching because the runloop won't run before that - [self performSelector:@selector(startUpdateCycle) withObject:nil afterDelay:0]; - } - return self; -} - - -// This will be used when the updater is instantiated in a nib such as MainMenu -- (id)init -{ - return [self initForBundle:[NSBundle mainBundle]]; -} - -- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [host bundlePath], [host installationPath]]; } - - --(void) notifyWillShowModalAlert -{ - if( [delegate respondsToSelector: @selector(updaterWillShowModalAlert:)] ) - [delegate updaterWillShowModalAlert: self]; -} - - --(void) notifyDidShowModalAlert -{ - if( [delegate respondsToSelector: @selector(updaterDidShowModalAlert:)] ) - [delegate updaterDidShowModalAlert: self]; -} - - -- (void)startUpdateCycle -{ - BOOL shouldPrompt = NO; - - // If the user has been asked about automatic checks, don't bother prompting - if ([host objectForUserDefaultsKey:SUEnableAutomaticChecksKey]) - { - shouldPrompt = NO; - } - // Does the delegate want to take care of the logic for when we should ask permission to update? - else if ([delegate respondsToSelector:@selector(updaterShouldPromptForPermissionToCheckForUpdates:)]) - { - shouldPrompt = [delegate updaterShouldPromptForPermissionToCheckForUpdates:self]; - } - // Has he been asked already? And don't ask if the host has a default value set in its Info.plist. - else if ([host objectForKey:SUEnableAutomaticChecksKey] == nil) - { - if ([host objectForUserDefaultsKey:SUEnableAutomaticChecksKeyOld]) - [self setAutomaticallyChecksForUpdates:[host boolForUserDefaultsKey:SUEnableAutomaticChecksKeyOld]]; - // Now, we don't want to ask the user for permission to do a weird thing on the first launch. - // We wait until the second launch, unless explicitly overridden via SUPromptUserOnFirstLaunchKey. - else if (![host objectForKey:SUPromptUserOnFirstLaunchKey]) - { - if ([host boolForUserDefaultsKey:SUHasLaunchedBeforeKey] == NO) - [host setBool:YES forUserDefaultsKey:SUHasLaunchedBeforeKey]; - else - shouldPrompt = YES; - } - else - shouldPrompt = YES; - } - - if (shouldPrompt) - { - NSArray *profileInfo = [host systemProfile]; - // Always say we're sending the system profile here so that the delegate displays the parameters it would send. - if ([delegate respondsToSelector:@selector(feedParametersForUpdater:sendingSystemProfile:)]) - profileInfo = [profileInfo arrayByAddingObjectsFromArray:[delegate feedParametersForUpdater:self sendingSystemProfile:YES]]; - [SUUpdatePermissionPrompt promptWithHost:host systemProfile:profileInfo delegate:self]; - // We start the update checks and register as observer for changes after the prompt finishes - } - else - { - // We check if the user's said they want updates, or they haven't said anything, and the default is set to checking. - [self scheduleNextUpdateCheck]; - } -} - -- (void)updatePermissionPromptFinishedWithResult:(SUPermissionPromptResult)result -{ - [self setAutomaticallyChecksForUpdates:(result == SUAutomaticallyCheck)]; - // Schedule checks, but make sure we ignore the delayed call from KVO - [self resetUpdateCycle]; -} - -- (void)updateDriverDidFinish:(NSNotification *)note -{ - if ([note object] == driver && [driver finished]) - { - [driver release]; driver = nil; - [self scheduleNextUpdateCheck]; - } -} - -- (NSDate *)lastUpdateCheckDate -{ - return [host objectForUserDefaultsKey:SULastCheckTimeKey]; -} - -- (void)scheduleNextUpdateCheck -{ - if (checkTimer) - { - [checkTimer invalidate]; - [checkTimer release]; // UK 2009-03-16 Timer is non-repeating, may have invalidated itself, so we had to retain it. - checkTimer = nil; - } - if (![self automaticallyChecksForUpdates]) return; - - // How long has it been since last we checked for an update? - NSDate *lastCheckDate = [self lastUpdateCheckDate]; - if (!lastCheckDate) { lastCheckDate = [NSDate distantPast]; } - NSTimeInterval intervalSinceCheck = [[NSDate date] timeIntervalSinceDate:lastCheckDate]; - - // Now we want to figure out how long until we check again. - NSTimeInterval delayUntilCheck, updateCheckInterval = [self updateCheckInterval]; - if (updateCheckInterval < SU_MIN_CHECK_INTERVAL) - updateCheckInterval = SU_MIN_CHECK_INTERVAL; - if (intervalSinceCheck < updateCheckInterval) - delayUntilCheck = (updateCheckInterval - intervalSinceCheck); // It hasn't been long enough. - else - delayUntilCheck = 0; // We're overdue! Run one now. - checkTimer = [[NSTimer scheduledTimerWithTimeInterval:delayUntilCheck target:self selector:@selector(checkForUpdatesInBackground) userInfo:nil repeats:NO] retain]; // UK 2009-03-16 Timer is non-repeating, may have invalidated itself, so we had to retain it. -} - - --(void) putFeedURLIntoDictionary: (NSMutableDictionary*)theDict // You release this. -{ - [theDict setObject: [self feedURL] forKey: @"feedURL"]; -} - --(void) checkForUpdatesInBgReachabilityCheckWithDriver: (SUUpdateDriver*)inDriver /* RUNS ON ITS OWN THREAD */ -{ - NS_DURING - // This method *must* be called on its own thread. SCNetworkReachabilityCheckByName - // can block, and it can be waiting a long time on slow networks, and we - // wouldn't want to beachball the main thread for a background operation. - // We could use asynchronous reachability callbacks, but those aren't - // reliable enough and can 'get lost' sometimes, which we don't want. - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - SCNetworkConnectionFlags flags = 0; - BOOL isNetworkReachable = YES; - - // Don't perform automatic checks on unconnected laptops or dial-up connections that aren't online: - NSMutableDictionary* theDict = [NSMutableDictionary dictionary]; - [self performSelectorOnMainThread: @selector(putFeedURLIntoDictionary:) withObject: theDict waitUntilDone: YES]; // Get feed URL on main thread, it's not safe to call elsewhere. - - const char *hostname = [[[theDict objectForKey: @"feedURL"] host] cStringUsingEncoding: NSUTF8StringEncoding]; - SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(NULL, hostname); - Boolean reachabilityResult = NO; - // If the feed's using a file:// URL, we won't be able to use reachability. - if (reachability != NULL) { - SCNetworkReachabilityGetFlags(reachability, &flags); - CFRelease(reachability); - } - - if( reachabilityResult ) - { - BOOL reachable = (flags & kSCNetworkFlagsReachable) == kSCNetworkFlagsReachable; - BOOL automatic = (flags & kSCNetworkFlagsConnectionAutomatic) == kSCNetworkFlagsConnectionAutomatic; - BOOL local = (flags & kSCNetworkFlagsIsLocalAddress) == kSCNetworkFlagsIsLocalAddress; - - //NSLog(@"reachable = %s, automatic = %s, local = %s", (reachable?"YES":"NO"), (automatic?"YES":"NO"), (local?"YES":"NO")); - - if( !(reachable || automatic || local) ) - isNetworkReachable = NO; - } - - // If the network's not reachable, we pass a nil driver into checkForUpdatesWithDriver, which will then reschedule the next update so we try again later. - [self performSelectorOnMainThread: @selector(checkForUpdatesWithDriver:) withObject: isNetworkReachable ? inDriver : nil waitUntilDone: NO]; - - [pool release]; - NS_HANDLER - SULog(@"UNCAUGHT EXCEPTION IN UPDATE CHECK TIMER: %@",[localException reason]); - // Don't propagate the exception beyond here. In Carbon apps that would trash the stack. - NS_ENDHANDLER -} - - -- (void)checkForUpdatesInBackground -{ - // Background update checks should only happen if we have a network connection. - // Wouldn't want to annoy users on dial-up by establishing a connection every - // hour or so: - SUUpdateDriver * theUpdateDriver = [[[([self automaticallyDownloadsUpdates] ? [SUAutomaticUpdateDriver class] : [SUScheduledUpdateDriver class]) alloc] initWithUpdater:self] autorelease]; - - [NSThread detachNewThreadSelector: @selector(checkForUpdatesInBgReachabilityCheckWithDriver:) toTarget: self withObject: theUpdateDriver]; -} - - -- (BOOL)mayUpdateAndRestart -{ - return( !delegate || ![delegate respondsToSelector: @selector(updaterShouldRelaunchApplication:)] || [delegate updaterShouldRelaunchApplication: self] ); -} - -- (IBAction)checkForUpdates: (id)sender -{ - [self checkForUpdatesWithDriver:[[[SUUserInitiatedUpdateDriver alloc] initWithUpdater:self] autorelease]]; -} - -- (void)checkForUpdateInformation -{ - [self checkForUpdatesWithDriver:[[[SUProbingUpdateDriver alloc] initWithUpdater:self] autorelease]]; -} - -- (void)checkForUpdatesWithDriver:(SUUpdateDriver *)d -{ - if ([self updateInProgress]) { return; } - if (checkTimer) { [checkTimer invalidate]; [checkTimer release]; checkTimer = nil; } // UK 2009-03-16 Timer is non-repeating, may have invalidated itself, so we had to retain it. - - SUClearLog(); - SULog( @"===== %@ =====", [[NSFileManager defaultManager] displayNameAtPath: [[NSBundle mainBundle] bundlePath]] ); - - [self willChangeValueForKey:@"lastUpdateCheckDate"]; - [host setObject:[NSDate date] forUserDefaultsKey:SULastCheckTimeKey]; - [self didChangeValueForKey:@"lastUpdateCheckDate"]; - - if( [delegate respondsToSelector: @selector(updaterMayCheckForUpdates:)] && ![delegate updaterMayCheckForUpdates: self] ) - { - [self scheduleNextUpdateCheck]; - return; - } - - driver = [d retain]; - - // If we're not given a driver at all, just schedule the next update check and bail. - if (!driver) - { - [self scheduleNextUpdateCheck]; - return; - } - - NSURL* theFeedURL = [self parameterizedFeedURL]; - if( theFeedURL ) // Use a NIL URL to cancel quietly. - [driver checkForUpdatesAtURL: theFeedURL host:host]; - else - [driver abortUpdate]; -} - -- (void)registerAsObserver -{ - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateDriverDidFinish:) name:SUUpdateDriverFinishedNotification object:nil]; - [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:[@"values." stringByAppendingString:SUScheduledCheckIntervalKey] options:0 context:SUUpdaterDefaultsObservationContext]; - [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:[@"values." stringByAppendingString:SUEnableAutomaticChecksKey] options:0 context:SUUpdaterDefaultsObservationContext]; -} - -- (void)unregisterAsObserver -{ - @try - { - [[NSNotificationCenter defaultCenter] removeObserver:self]; - [[NSUserDefaultsController sharedUserDefaultsController] removeObserver:self forKeyPath:[@"values." stringByAppendingString:SUScheduledCheckIntervalKey]]; - [[NSUserDefaultsController sharedUserDefaultsController] removeObserver:self forKeyPath:[@"values." stringByAppendingString:SUEnableAutomaticChecksKey]]; - } - @catch (NSException *e) - { - NSLog(@"Sparkle Error: [SUUpdater unregisterAsObserver] called, but the updater wasn't registered as an observer."); - } -} - -- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context -{ - if (context == SUUpdaterDefaultsObservationContext) - { - // Allow a small delay, because perhaps the user or developer wants to change both preferences. This allows the developer to interpret a zero check interval as a sign to disable automatic checking. - // Or we may get this from the developer and from our own KVO observation, this will effectively coalesce them. - [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; - [self performSelector:@selector(resetUpdateCycle) withObject:nil afterDelay:1]; - } - else - { - [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; - } -} - -- (void)resetUpdateCycle -{ - [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; - [self scheduleNextUpdateCheck]; -} - -- (void)setAutomaticallyChecksForUpdates:(BOOL)automaticallyCheckForUpdates -{ - [host setBool:automaticallyCheckForUpdates forUserDefaultsKey:SUEnableAutomaticChecksKey]; - // Hack to support backwards compatibility with older Sparkle versions, which supported - // disabling updates by setting the check interval to 0. - if (automaticallyCheckForUpdates && [self updateCheckInterval] == 0) - [self setUpdateCheckInterval:SU_DEFAULT_CHECK_INTERVAL]; - [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; - // Provide a small delay in case multiple preferences are being updated simultaneously. - [self performSelector:@selector(resetUpdateCycle) withObject:nil afterDelay:1]; -} - -- (BOOL)automaticallyChecksForUpdates -{ - // Don't automatically update when the check interval is 0, to be compatible with 1.1 settings. - if ([self updateCheckInterval] == 0) - return NO; - return [host boolForKey:SUEnableAutomaticChecksKey]; -} - -- (void)setAutomaticallyDownloadsUpdates:(BOOL)automaticallyUpdates -{ - [host setBool:automaticallyUpdates forUserDefaultsKey:SUAutomaticallyUpdateKey]; -} - -- (BOOL)automaticallyDownloadsUpdates -{ - // If the SUAllowsAutomaticUpdatesKey exists and is set to NO, return NO. - if ([host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] && [host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] == NO) - return NO; - - // Otherwise, automatically downloading updates is allowed. Does the user want it? - return [host boolForUserDefaultsKey:SUAutomaticallyUpdateKey]; -} - -- (void)setFeedURL:(NSURL *)feedURL -{ - [host setObject:[feedURL absoluteString] forUserDefaultsKey:SUFeedURLKey]; -} - -- (NSURL *)feedURL // *** MUST BE CALLED ON MAIN THREAD *** -{ - // A value in the user defaults overrides one in the Info.plist (so preferences panels can be created wherein users choose between beta / release feeds). - NSString *appcastString = [host objectForKey:SUFeedURLKey]; - if( [delegate respondsToSelector: @selector(feedURLStringForUpdater:)] ) - appcastString = [delegate feedURLStringForUpdater: self]; - if (!appcastString) // Can't find an appcast string! - [NSException raise:@"SUNoFeedURL" format:@"You must specify the URL of the appcast as the SUFeedURL key in either the Info.plist or the user defaults!"]; - NSCharacterSet* quoteSet = [NSCharacterSet characterSetWithCharactersInString: @"\"\'"]; // Some feed publishers add quotes; strip 'em. - NSString* castUrlStr = [appcastString stringByTrimmingCharactersInSet:quoteSet]; - if( !castUrlStr || [castUrlStr length] == 0 ) - return nil; - else - return [NSURL URLWithString: castUrlStr]; -} - -- (void)setUserAgentString:(NSString *)userAgent -{ - if (customUserAgentString == userAgent) - return; - - [customUserAgentString release]; - customUserAgentString = [userAgent copy]; -} - -- (NSString *)userAgentString -{ - if (customUserAgentString) - return customUserAgentString; - - NSString *version = [SPARKLE_BUNDLE objectForInfoDictionaryKey:@"CFBundleVersion"]; - NSString *userAgent = [NSString stringWithFormat:@"%@/%@ Sparkle/%@", [host name], [host displayVersion], version ? version : @"?"]; - NSData *cleanedAgent = [userAgent dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]; - return [[[NSString alloc] initWithData:cleanedAgent encoding:NSASCIIStringEncoding] autorelease]; -} - -- (void)setSendsSystemProfile:(BOOL)sendsSystemProfile -{ - [host setBool:sendsSystemProfile forUserDefaultsKey:SUSendProfileInfoKey]; -} - -- (BOOL)sendsSystemProfile -{ - return [host boolForKey:SUSendProfileInfoKey]; -} - -- (NSURL *)parameterizedFeedURL -{ - NSURL *baseFeedURL = [self feedURL]; - - // Determine all the parameters we're attaching to the base feed URL. - BOOL sendingSystemProfile = [self sendsSystemProfile]; - - // Let's only send the system profiling information once per week at most, so we normalize daily-checkers vs. biweekly-checkers and the such. - NSDate *lastSubmitDate = [host objectForUserDefaultsKey:SULastProfileSubmitDateKey]; - if(!lastSubmitDate) - lastSubmitDate = [NSDate distantPast]; - const NSTimeInterval oneWeek = 60 * 60 * 24 * 7; - sendingSystemProfile &= (-[lastSubmitDate timeIntervalSinceNow] >= oneWeek); - - NSArray *parameters = [NSArray array]; - if ([delegate respondsToSelector:@selector(feedParametersForUpdater:sendingSystemProfile:)]) - parameters = [parameters arrayByAddingObjectsFromArray:[delegate feedParametersForUpdater:self sendingSystemProfile:sendingSystemProfile]]; - if (sendingSystemProfile) - { - parameters = [parameters arrayByAddingObjectsFromArray:[host systemProfile]]; - [host setObject:[NSDate date] forUserDefaultsKey:SULastProfileSubmitDateKey]; - } - if ([parameters count] == 0) { return baseFeedURL; } - - // Build up the parameterized URL. - NSMutableArray *parameterStrings = [NSMutableArray array]; - NSEnumerator *profileInfoEnumerator = [parameters objectEnumerator]; - NSDictionary *currentProfileInfo; - while ((currentProfileInfo = [profileInfoEnumerator nextObject])) - [parameterStrings addObject:[NSString stringWithFormat:@"%@=%@", [[[currentProfileInfo objectForKey:@"key"] description] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding], [[[currentProfileInfo objectForKey:@"value"] description] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]]; - - NSString *separatorCharacter = @"?"; - if ([baseFeedURL query]) - separatorCharacter = @"&"; // In case the URL is already http://foo.org/baz.xml?bat=4 - NSString *appcastStringWithProfile = [NSString stringWithFormat:@"%@%@%@", [baseFeedURL absoluteString], separatorCharacter, [parameterStrings componentsJoinedByString:@"&"]]; - - // Clean it up so it's a valid URL - return [NSURL URLWithString:appcastStringWithProfile]; -} - -- (void)setUpdateCheckInterval:(NSTimeInterval)updateCheckInterval -{ - [host setObject:[NSNumber numberWithDouble:updateCheckInterval] forUserDefaultsKey:SUScheduledCheckIntervalKey]; - if (updateCheckInterval == 0) // For compatibility with 1.1's settings. - [self setAutomaticallyChecksForUpdates:NO]; - [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; - - // Provide a small delay in case multiple preferences are being updated simultaneously. - [self performSelector:@selector(resetUpdateCycle) withObject:nil afterDelay:1]; -} - -- (NSTimeInterval)updateCheckInterval -{ - // Find the stored check interval. User defaults override Info.plist. - NSNumber *intervalValue = [host objectForKey:SUScheduledCheckIntervalKey]; - if (intervalValue) - return [intervalValue doubleValue]; - else - return SU_DEFAULT_CHECK_INTERVAL; -} - -- (void)dealloc -{ - [self unregisterAsObserver]; - [host release]; - if (checkTimer) { [checkTimer invalidate]; [checkTimer release]; checkTimer = nil; } // UK 2009-03-16 Timer is non-repeating, may have invalidated itself, so we had to retain it. - [super dealloc]; -} - -- (BOOL)validateMenuItem:(NSMenuItem *)item -{ - if ([item action] == @selector(checkForUpdates:)) - return ![self updateInProgress]; - return YES; -} - -- (void)setDelegate:aDelegate -{ - delegate = aDelegate; -} - -- (BOOL)updateInProgress -{ - return driver && ([driver finished] == NO); -} - -- (id)delegate { return delegate; } -- (NSBundle *)hostBundle { return [host bundle]; } - -@end diff --git a/SUUserInitiatedUpdateDriver.m b/SUUserInitiatedUpdateDriver.m deleted file mode 100644 index 276b032b..00000000 --- a/SUUserInitiatedUpdateDriver.m +++ /dev/null @@ -1,88 +0,0 @@ -// -// SUUserInitiatedUpdateDriver.m -// Sparkle -// -// Created by Andy Matuschak on 5/30/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUUserInitiatedUpdateDriver.h" - -#import "SUStatusController.h" -#import "SUHost.h" - -@implementation SUUserInitiatedUpdateDriver - -- (void)closeCheckingWindow -{ - if (checkingController) - { - [[checkingController window] close]; - [checkingController release]; - checkingController = nil; - } -} - -- (void)cancelCheckForUpdates:sender -{ - [self closeCheckingWindow]; - isCanceled = YES; -} - -- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)aHost -{ - checkingController = [[SUStatusController alloc] initWithHost:aHost]; - [[checkingController window] center]; // Force the checking controller to load its window. - [checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates...", nil) maxProgressValue:0.0 statusText:nil]; - [checkingController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelCheckForUpdates:) isDefault:NO]; - [checkingController showWindow:self]; - [super checkForUpdatesAtURL:URL host:aHost]; - - // For background applications, obtain focus. - // Useful if the update check is requested from another app like System Preferences. - if ([aHost isBackgroundApplication]) - { - [NSApp activateIgnoringOtherApps:YES]; - } -} - -- (void)appcastDidFinishLoading:(SUAppcast *)ac -{ - if (isCanceled) - { - [self abortUpdate]; - return; - } - [self closeCheckingWindow]; - [super appcastDidFinishLoading:ac]; -} - -- (void)abortUpdateWithError:(NSError *)error -{ - [self closeCheckingWindow]; - [super abortUpdateWithError:error]; -} - -- (void)abortUpdate -{ - [self closeCheckingWindow]; - [super abortUpdate]; -} - -- (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error -{ - if (isCanceled) - { - [self abortUpdate]; - return; - } - [super appcast:ac failedToLoadWithError:error]; -} - -- (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui -{ - // We don't check to see if this update's been skipped, because the user explicitly *asked* if he had the latest version. - return [self hostSupportsItem:ui] && [self isItemNewer:ui]; -} - -@end diff --git a/SUVersionComparisonProtocol.h b/SUVersionComparisonProtocol.h deleted file mode 100644 index 6c65ea45..00000000 --- a/SUVersionComparisonProtocol.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// SUVersionComparisonProtocol.h -// Sparkle -// -// Created by Andy Matuschak on 12/21/07. -// Copyright 2007 Andy Matuschak. All rights reserved. -// - -#ifndef SUVERSIONCOMPARISONPROTOCOL_H -#define SUVERSIONCOMPARISONPROTOCOL_H - -#import - -/*! - @protocol - @abstract Implement this protocol to provide version comparison facilities for Sparkle. -*/ -@protocol SUVersionComparison - -/*! - @method - @abstract An abstract method to compare two version strings. - @discussion Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent. -*/ -- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; // *** MAY BE CALLED ON NON-MAIN THREAD! - -@end - -#endif diff --git a/SUVersionDisplayProtocol.h b/SUVersionDisplayProtocol.h deleted file mode 100644 index 368b9c9f..00000000 --- a/SUVersionDisplayProtocol.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// SUVersionDisplayProtocol.h -// EyeTV -// -// Created by Uli Kusterer on 08.12.09. -// Copyright 2009 Elgato Systems GmbH. All rights reserved. -// - -#import - - -/*! - @protocol - @abstract Implement this protocol to apply special formatting to the two - version numbers. -*/ -@protocol SUVersionDisplay - -/*! - @method - @abstract An abstract method to format two version strings. - @discussion You get both so you can display important distinguishing - information, but leave out unnecessary/confusing parts. -*/ --(void) formatVersion: (NSString**)inOutVersionA andVersion: (NSString**)inOutVersionB; - -@end diff --git a/SUWindowController.m b/SUWindowController.m deleted file mode 100644 index 038900ac..00000000 --- a/SUWindowController.m +++ /dev/null @@ -1,27 +0,0 @@ -// -// SUWindowController.m -// Sparkle -// -// Created by Andy Matuschak on 2/13/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import "SUWindowController.h" -#import "SUHost.h" - -@implementation SUWindowController - -- (id)initWithHost:(SUHost *)host windowNibName:(NSString *)nibName -{ - NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:nibName ofType:@"nib"]; - if (path == nil) // Slight hack to resolve issues with running Sparkle in debug configurations. - { - NSString *frameworkPath = [[[host bundle] sharedFrameworksPath] stringByAppendingPathComponent:@"Sparkle.framework"]; - NSBundle *framework = [NSBundle bundleWithPath:frameworkPath]; - path = [framework pathForResource:nibName ofType:@"nib"]; - } - self = [super initWithWindowNibPath:path owner:self]; - return self; -} - -@end diff --git a/Sample Appcast.xml b/Sample Appcast.xml deleted file mode 100755 index 04d25559..00000000 --- a/Sample Appcast.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - Your Great App's Changelog - http://you.com/app/appcast.xml - Most recent changes with links to updates. - en - - Version 2.0 (2 bugs fixed; 3 new features) - - http://you.com/app/2.0.html - - Wed, 09 Jan 2006 19:20:11 +0000 - - - - - Version 1.5 (8 bugs fixed; 2 new features) - - http://you.com/app/1.5.html - - Wed, 01 Jan 2006 12:20:11 +0000 - - - - - - Version 1.4 (5 bugs fixed; 2 new features) - - http://you.com/app/1.4.html - - Wed, 25 Dec 2005 12:20:11 +0000 - - - - \ No newline at end of file diff --git a/Sparkle.icns b/Sparkle.icns deleted file mode 100644 index e690be2a..00000000 Binary files a/Sparkle.icns and /dev/null differ diff --git a/Sparkle.pch b/Sparkle.pch deleted file mode 100644 index 9bd4777f..00000000 --- a/Sparkle.pch +++ /dev/null @@ -1,30 +0,0 @@ -// -// Sparkle.pch -// Sparkle -// -// Created by Andy Matuschak on 7/23/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#ifndef NSAppKitVersionNumber10_4 -#define NSAppKitVersionNumber10_4 824 -#endif - -#ifndef NSAppKitVersionNumber10_5 -#define NSAppKitVersionNumber10_5 949 -#endif - -#ifndef NSAppKitVersionNumber10_6 -#define NSAppKitVersionNumber10_6 1038 -#endif - -#ifdef __OBJC__ - -#define SPARKLE_BUNDLE [NSBundle bundleWithIdentifier:@"org.andymatuschak.Sparkle"] -#define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", SPARKLE_BUNDLE, comment) -#define SUAbstractFail() NSAssert2(nil, @"Can't call %@ on an instance of %@; this is an abstract method!", __PRETTY_FUNCTION__, [self class]); - -#import -#import "SUConstants.h" - -#endif diff --git a/Sparkle.podspec b/Sparkle.podspec new file mode 100644 index 00000000..be51c944 --- /dev/null +++ b/Sparkle.podspec @@ -0,0 +1,26 @@ +Pod::Spec.new do |s| + s.name = "Sparkle" + s.version = "1.9.0" + s.summary = "A software update framework for OS X" + s.description = "Sparkle is an easy-to-use software update framework for Cocoa developers." + s.homepage = "http://sparkle-project.org" + s.license = { + :type => 'MIT', + :file => 'LICENSE' + } + s.authors = { + 'Andy Matuschak' => 'andy@andymatuschak.org', + 'Kornel Lesiński' => 'pornel@pornel.net', + 'C.W. Betts' => 'computers57@hotmail.com', + 'Jake Petroules' => 'jake.petroules@petroules.com', + } + + s.platform = :osx, '10.7' + s.source = { :http => "https://github.com/sparkle-project/Sparkle/releases/download/#{s.version}/Sparkle-#{s.version}.tar.bz2" } + + s.public_header_files = 'Sparkle.framework/Headers/*.h' + s.vendored_framework = 'Sparkle.framework' + s.resources = 'Sparkle.framework' + s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/Sparkle"' } + s.requires_arc = true +end diff --git a/Sparkle.xcodeproj/.gitignore b/Sparkle.xcodeproj/.gitignore deleted file mode 100644 index 9c4f6f50..00000000 --- a/Sparkle.xcodeproj/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.pbxuser -*.perspectivev3 -*.mode1v3 -project.xcworkspace/ -xcuserdata/ diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 4db23d2c..b84c79ed 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -6,20 +6,62 @@ objectVersion = 46; objects = { +/* Begin PBXAggregateTarget section */ + 1495005F195FB89400BC5B5B /* All */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 14950060195FB89500BC5B5B /* Build configuration list for PBXAggregateTarget "All" */; + buildPhases = ( + ); + dependencies = ( + 14950064195FB8A600BC5B5B /* PBXTargetDependency */, + 14950066195FB8A600BC5B5B /* PBXTargetDependency */, + 14950068195FB8A600BC5B5B /* PBXTargetDependency */, + 1495006A195FB8A600BC5B5B /* PBXTargetDependency */, + 1495006C195FB8A600BC5B5B /* PBXTargetDependency */, + ); + name = All; + productName = All; + }; +/* End PBXAggregateTarget section */ + /* Begin PBXBuildFile section */ - 22760C6E183F5EC70047AABB /* com.andymatuschak.Sparkle.SandboxService.xpc in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; + 1420DF50196247F900203BB0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1420DF4F196247F900203BB0 /* Images.xcassets */; }; + 1420DF51196247F900203BB0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1420DF4F196247F900203BB0 /* Images.xcassets */; }; + 142E0E0019A6954400E4312B /* Sparkle.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 142E0E0219A6A14700E4312B /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 142E0E0419A6A26F00E4312B /* Autoupdate.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 55C14BB7136EEF1500649790 /* Autoupdate.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + 142E0E0919A83AAC00E4312B /* SUBinaryDeltaTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 142E0E0819A83AAC00E4312B /* SUBinaryDeltaTest.m */; }; + 14652F7C19A9725300959E44 /* SUBinaryDeltaCommon.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E20FD68CC7005AE3F6 /* SUBinaryDeltaCommon.m */; }; + 14652F7D19A9726700959E44 /* SUBinaryDeltaApply.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E00FD68CC7005AE3F6 /* SUBinaryDeltaApply.m */; }; + 14652F7E19A9728A00959E44 /* bspatch.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */; settings = {COMPILER_FLAGS = "-w"; }; }; + 14652F8019A9740F00959E44 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; + 14652F8219A9746000959E44 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; + 14652F8419A978C200959E44 /* SUExport.h in Headers */ = {isa = PBXBuildFile; fileRef = 14652F8319A9759F00959E44 /* SUExport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 14732BC01960F2C200593899 /* test_app_only_dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 14732BBF1960F0AC00593899 /* test_app_only_dsa_pub.pem */; }; + 14732BD019610A0D00593899 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + 14732BD119610A1200593899 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 14732BD319610A1800593899 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14732BD219610A1800593899 /* XCTest.framework */; }; + 1495006E195FCE1100BC5B5B /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 1495006F195FCE1800BC5B5B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + 14950070195FCE3A00BC5B5B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + 14950071195FCE3D00BC5B5B /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 14950072195FCE4B00BC5B5B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + 14950073195FCE4E00BC5B5B /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 14958C6E19AEBC950061B14F /* signed-test-file.txt in Resources */ = {isa = PBXBuildFile; fileRef = 14958C6B19AEBC530061B14F /* signed-test-file.txt */; }; + 14958C6F19AEBC980061B14F /* test-pubkey.pem in Resources */ = {isa = PBXBuildFile; fileRef = 14958C6C19AEBC610061B14F /* test-pubkey.pem */; }; 3772FEA913DE0B6B00F79537 /* SUVersionDisplayProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 525A2790133D6AE900FD8D70 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; - 525A27A0133D6B9700FD8D70 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; - 55C14BD4136EEFCE00649790 /* finish_installation.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14BD3136EEFCE00649790 /* finish_installation.m */; }; - 55C14EE8136EF61D00649790 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; + 55C14BD4136EEFCE00649790 /* Autoupdate.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14BD3136EEFCE00649790 /* Autoupdate.m */; }; + 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; + 55C14BEE136EF20D00649790 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; + 55C14BEF136EF21700649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; + 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; 55C14F00136EF6B700649790 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; 55C14F06136EF6DB00649790 /* SULog.h in Headers */ = {isa = PBXBuildFile; fileRef = 55C14F04136EF6DB00649790 /* SULog.h */; }; 55C14F07136EF6DB00649790 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; 55C14F08136EF6DB00649790 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; 55C14F0C136EF6EA00649790 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 55C14F0D136EF6F200649790 /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; - 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */ = {isa = PBXBuildFile; fileRef = 55C14F0E136EF73600649790 /* finish_installation.pch */; }; 55C14F20136EF84300649790 /* SUStatusController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6196CFE409C71ADE000DC222 /* SUStatusController.m */; }; 55C14F21136EF84D00649790 /* SUPlainInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */; }; 55C14F22136EF86000649790 /* SUStandardVersionComparator.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */; }; @@ -29,10 +71,16 @@ 55C14F32136EFC2400649790 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; 55C14F7E136F005000649790 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; 55C14F9A136F045400649790 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; - 5D06E8D80FD68C8E005AE3F6 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; - 5D06E8E90FD68CDB005AE3F6 /* bsdiff.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */; settings = {COMPILER_FLAGS = "-Wno-shorten-64-to-32"; }; }; + 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 55E6F33319EC9F6C00005E76 /* SUErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = 55E6F33219EC9F6C00005E76 /* SUErrors.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5AF6C1E51AE86A410014A3AB /* SUPipedUnarchiverTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5AF6C1EA1AE870A90014A3AB /* SUPipedUnarchiverTest.m */; }; + 5AF6C1E91AE86E270014A3AB /* test archive.zip in Resources */ = {isa = PBXBuildFile; fileRef = 5AF6C1E81AE86E270014A3AB /* test archive.zip */; }; + 5AF6C74F1AEA46D10014A3AB /* test.sparkle_guided.pkg in Resources */ = {isa = PBXBuildFile; fileRef = 5AF6C74E1AEA46D10014A3AB /* test.sparkle_guided.pkg */; }; + 5AF6C7541AEA49840014A3AB /* SUInstallerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5AF6C74C1AEA40760014A3AB /* SUInstallerTest.m */; }; + 5AF9DC3C1981DBEE001EA135 /* SUDSAVerifierTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5AF9DC3B1981DBEE001EA135 /* SUDSAVerifierTest.m */; }; + 5D06E8E90FD68CDB005AE3F6 /* bsdiff.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */; settings = {COMPILER_FLAGS = "-w"; }; }; 5D06E8EA0FD68CDB005AE3F6 /* SUBinaryDeltaTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E30FD68CC7005AE3F6 /* SUBinaryDeltaTool.m */; }; - 5D06E8EB0FD68CE4005AE3F6 /* bspatch.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */; settings = {COMPILER_FLAGS = "-Wno-shorten-64-to-32"; }; }; + 5D06E8EB0FD68CE4005AE3F6 /* bspatch.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */; settings = {COMPILER_FLAGS = "-w"; }; }; 5D06E8EC0FD68CE4005AE3F6 /* SUBinaryDeltaApply.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E00FD68CC7005AE3F6 /* SUBinaryDeltaApply.m */; }; 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E20FD68CC7005AE3F6 /* SUBinaryDeltaCommon.m */; }; 5D06E8FD0FD68D6B005AE3F6 /* libbz2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D06E8FB0FD68D61005AE3F6 /* libbz2.dylib */; }; @@ -40,7 +88,7 @@ 5D06E9050FD68D7D005AE3F6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; 5D06E9390FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D06E9370FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.h */; }; 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E9380FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m */; }; - 5D1AF58A0FD7678C0065DB48 /* libxar.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */; settings = {ATTRIBUTES = (Weak, ); }; }; + 5D1AF58A0FD7678C0065DB48 /* libxar.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */; }; 5D1AF58B0FD7678C0065DB48 /* libxar.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */; }; 5D1AF5900FD767AD0065DB48 /* libxml2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D1AF58F0FD767AD0065DB48 /* libxml2.dylib */; }; 5D1AF59A0FD767E50065DB48 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D1AF5990FD767E50065DB48 /* libz.dylib */; }; @@ -53,7 +101,6 @@ 6102FE4A0E07803800F85D09 /* SUDiskImageUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */; settings = {ATTRIBUTES = (); }; }; 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */; }; 6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */; settings = {ATTRIBUTES = (); }; }; - 6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */ = {isa = PBXBuildFile; fileRef = 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */; }; 610EC1E00CF3A5FE00AE239E /* NTSynchronousTask.m in Sources */ = {isa = PBXBuildFile; fileRef = 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */; }; 611142E910FB1BE5009810AA /* bspatch.h in Headers */ = {isa = PBXBuildFile; fileRef = 611142E810FB1BE5009810AA /* bspatch.h */; }; 61177A1F0D1112E900749C97 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6117796E0D1112E000749C97 /* IOKit.framework */; }; @@ -61,22 +108,19 @@ 61180BCB0D64138900B4E0D1 /* SUWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 61180BC90D64138900B4E0D1 /* SUWindowController.m */; }; 6120721209CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h in Headers */ = {isa = PBXBuildFile; fileRef = 6120721009CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h */; settings = {ATTRIBUTES = (); }; }; 6120721309CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m in Sources */ = {isa = PBXBuildFile; fileRef = 6120721109CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m */; }; - 61227A160DB548B800AB99EA /* SUVersionComparisonTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 61227A150DB548B800AB99EA /* SUVersionComparisonTest.m */; }; 61299A2F09CA2DAB00B7442F /* SUDSAVerifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299A2D09CA2DAB00B7442F /* SUDSAVerifier.h */; settings = {ATTRIBUTES = (); }; }; - 61299A3009CA2DAB00B7442F /* SUDSAVerifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A2E09CA2DAB00B7442F /* SUDSAVerifier.m */; }; + 61299A3009CA2DAB00B7442F /* SUDSAVerifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A2E09CA2DAB00B7442F /* SUDSAVerifier.m */; settings = {COMPILER_FLAGS = "-Wno-deprecated-declarations"; }; }; 61299A4A09CA2DD000B7442F /* SUPlainInstallerInternals.h in Headers */ = {isa = PBXBuildFile; fileRef = 6129984309C9E2DA00B7442F /* SUPlainInstallerInternals.h */; settings = {ATTRIBUTES = (); }; }; 61299A5C09CA6D4500B7442F /* SUConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299A5B09CA6D4500B7442F /* SUConstants.h */; settings = {ATTRIBUTES = (); }; }; 61299A6009CA6EB100B7442F /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; - 61299A8D09CA790200B7442F /* SUUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299A8B09CA790200B7442F /* SUUnarchiver.h */; settings = {ATTRIBUTES = (); }; }; + 61299A8D09CA790200B7442F /* SUUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299A8B09CA790200B7442F /* SUUnarchiver.h */; settings = {ATTRIBUTES = (Private, ); }; }; 61299A8E09CA790200B7442F /* SUUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A8C09CA790200B7442F /* SUUnarchiver.m */; }; 61299B3609CB04E000B7442F /* Sparkle.h in Headers */ = {isa = PBXBuildFile; fileRef = 61299B3509CB04E000B7442F /* Sparkle.h */; settings = {ATTRIBUTES = (Public, ); }; }; 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; - 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */; }; + 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */; settings = {ATTRIBUTES = (); }; }; - 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 61227A140DB548B800AB99EA /* SUVersionComparisonTest.h */; settings = {ATTRIBUTES = (); }; }; - 618E9CFD0E7328F1004646D8 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */; }; 618FA5010DAE88B40026945C /* SUInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA4FF0DAE88B40026945C /* SUInstaller.h */; settings = {ATTRIBUTES = (); }; }; 618FA5020DAE88B40026945C /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; 618FA5050DAE8AB80026945C /* SUPlainInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */; settings = {ATTRIBUTES = (); }; }; @@ -86,12 +130,13 @@ 6196CFF909C72148000DC222 /* SUStatusController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6196CFE309C71ADE000DC222 /* SUStatusController.h */; settings = {ATTRIBUTES = (); }; }; 6196CFFA09C72149000DC222 /* SUStatusController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6196CFE409C71ADE000DC222 /* SUStatusController.m */; }; 61A2259E0D1C495D00430CCD /* SUVersionComparisonProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A2259C0D1C495D00430CCD /* SUVersionComparisonProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 61A225A40D1C4AC000430CCD /* SUStandardVersionComparator.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */; settings = {ATTRIBUTES = (); }; }; + 61A225A40D1C4AC000430CCD /* SUStandardVersionComparator.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61A225A50D1C4AC000430CCD /* SUStandardVersionComparator.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */; }; 61A2279C0D1CEE7600430CCD /* SUSystemProfiler.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A2279A0D1CEE7600430CCD /* SUSystemProfiler.h */; settings = {ATTRIBUTES = (); }; }; 61A2279D0D1CEE7600430CCD /* SUSystemProfiler.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */; }; 61A354550DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */; }; + 61AAE8280A321A7F00D8810D /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; 61B078CE15A5FB6100600039 /* SUCodeSigningVerifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B078CC15A5FB6100600039 /* SUCodeSigningVerifier.h */; }; 61B078CF15A5FB6100600039 /* SUCodeSigningVerifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B078CD15A5FB6100600039 /* SUCodeSigningVerifier.m */; }; 61B5F8ED09C4CE3C00B25A18 /* SUUpdater.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -100,7 +145,7 @@ 61B5F8F709C4CEB300B25A18 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; 61B5F90F09C4CF3A00B25A18 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 61B5F92E09C4CFD800B25A18 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */; }; - 61B5F92F09C4CFD800B25A18 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 61B5F92C09C4CFD800B25A18 /* MainMenu.nib */; }; + 61B5F92F09C4CFD800B25A18 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 61B5F92C09C4CFD800B25A18 /* MainMenu.xib */; }; 61B5F93009C4CFDC00B25A18 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F92409C4CFC900B25A18 /* main.m */; }; 61B5FBB709C4FAFF00B25A18 /* SUAppcast.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5FB9509C4F04600B25A18 /* SUAppcast.m */; }; 61B5FC0D09C4FC8200B25A18 /* SUAppcast.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5FB9409C4F04600B25A18 /* SUAppcast.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -115,7 +160,6 @@ 61B93B280DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */; }; 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */; }; - 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; @@ -123,43 +167,92 @@ 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; - 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B887B601517F3AC000BB292 /* Foundation.framework */; }; - 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B887B7C1517F888000BB292 /* SUXPC.h */; }; - 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B7D1517F888000BB292 /* SUXPC.m */; }; - 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; - 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */; }; - 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; - 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6117796E0D1112E000749C97 /* IOKit.framework */; }; - 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; - 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; - 8B887B891517FB3E000BB292 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; - 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; - 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; - 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; - 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B8D15180767000BB292 /* sandbox_service.m */; }; - 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */; }; - 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */; }; - 94059A911648D5880094BDCF /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; - 94059A921648D5880094BDCF /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; - 94059A931648D5880094BDCF /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; - 94059A941648D5880094BDCF /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 94059A951648D5880094BDCF /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 94059A961648D5880094BDCF /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 94059A971648D5880094BDCF /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; - 94059A981648D5880094BDCF /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; - 94059A991648D58D0094BDCF /* finish_installation.app in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BB7136EEF1500649790 /* finish_installation.app */; }; - 94059A9B1648D5A70094BDCF /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; - 94059A9C1648D5AA0094BDCF /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; - 94059A9D1648D5AC0094BDCF /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 550347001370023A00AE7681 /* Sparkle.icns */; }; + 721CF1A71AD7643600D9AC09 /* bsdiff.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */; }; + 721CF1A81AD7644100D9AC09 /* bspatch.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */; }; + 721CF1A91AD7644C00D9AC09 /* sais.c in Sources */ = {isa = PBXBuildFile; fileRef = 7223E7611AD1AEFF008E3161 /* sais.c */; }; + 721CF1AA1AD7647000D9AC09 /* libxar.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */; }; + 721CF1AB1AD764EB00D9AC09 /* libbz2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D06E8FB0FD68D61005AE3F6 /* libbz2.dylib */; }; + 7223E7631AD1AEFF008E3161 /* sais.c in Sources */ = {isa = PBXBuildFile; fileRef = 7223E7611AD1AEFF008E3161 /* sais.c */; }; + 7268AC631AD634C200C3E0C1 /* SUBinaryDeltaCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */; }; + 72D4DAA11AD7632900B211E2 /* SUBinaryDeltaCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */; }; + 767B61AC1972D488004E0C3C /* SUGuidedPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 767B61AA1972D488004E0C3C /* SUGuidedPackageInstaller.h */; }; + 767B61AD1972D488004E0C3C /* SUGuidedPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */; }; + 767B61AE1972D488004E0C3C /* SUGuidedPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */; }; + F8761EB11ADC5068000C9034 /* SUCodeSigningVerifierTest.m in Sources */ = {isa = PBXBuildFile; fileRef = F8761EB01ADC5068000C9034 /* SUCodeSigningVerifierTest.m */; }; + F8761EB31ADC50EB000C9034 /* SparkleTestCodeSignApp.zip in Resources */ = {isa = PBXBuildFile; fileRef = F8761EB21ADC50EB000C9034 /* SparkleTestCodeSignApp.zip */; }; + F8761EB61ADC5E7A000C9034 /* SUCodeSigningVerifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B078CD15A5FB6100600039 /* SUCodeSigningVerifier.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 1454BA1519637EDB00344E57 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 61B5F90109C4CEE200B25A18; + remoteInfo = "Sparkle Test App"; + }; + 1454BA1719637EE900344E57 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1420DF491962329200203BB0; + remoteInfo = Documentation; + }; + 14732BCA1960F73500593899 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8DC2EF4F0486A6940098B216; + remoteInfo = Sparkle; + }; + 14732BCE1960F73500593899 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5D06E8CF0FD68C7C005AE3F6; + remoteInfo = BinaryDelta; + }; + 14950063195FB8A600BC5B5B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8DC2EF4F0486A6940098B216; + remoteInfo = Sparkle; + }; + 14950065195FB8A600BC5B5B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 61B5F90109C4CEE200B25A18; + remoteInfo = "Sparkle Test App"; + }; + 14950067195FB8A600BC5B5B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 612279D80DB5470200AB99EA; + remoteInfo = "Sparkle Unit Tests"; + }; + 14950069195FB8A600BC5B5B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5D06E8CF0FD68C7C005AE3F6; + remoteInfo = BinaryDelta; + }; + 1495006B195FB8A600BC5B5B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 55C14BB6136EEF1500649790; + remoteInfo = Autoupdate; + }; 55C14F96136F044100649790 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; proxyType = 1; remoteGlobalIDString = 55C14BB6136EEF1500649790; - remoteInfo = finish_installation; + remoteInfo = Autoupdate; }; 5D06E8D50FD68C86005AE3F6 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -182,51 +275,86 @@ remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = Sparkle; }; - 8B887B731517F472000BB292 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8B887B5D1517F3AB000BB292; - remoteInfo = Service; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ - 22760C6C183F5EB90047AABB /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "$(CONTENTS_FOLDER_PATH)/XPCServices"; - dstSubfolderSpec = 16; - files = ( - 22760C6E183F5EC70047AABB /* com.andymatuschak.Sparkle.SandboxService.xpc in CopyFiles */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 61B5FB4D09C4E9FA00B25A18 /* CopyFiles */ = { + 142E0E0119A6A13300E4312B /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 10; files = ( - 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */, + 142E0E0219A6A14700E4312B /* Sparkle.framework in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; + 142E0E0319A6A24100E4312B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 12; + files = ( + 142E0E0419A6A26F00E4312B /* Autoupdate.app in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 61B5FB4D09C4E9FA00B25A18 /* Copy Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 142E0E0019A6954400E4312B /* Sparkle.framework in Copy Frameworks */, + ); + name = "Copy Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 004A8652192A492B00C9730D /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; + 004A8653192A492B00C9730D /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 004A8654192A492B00C9730D /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 004A8655192A492B00C9730D /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; + 0263187214FEBB31005EBF43 /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; 0263187514FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 0263187614FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; - 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 22760C70183F7D520047AABB /* Sparkle Test App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Sparkle Test App.entitlements"; sourceTree = ""; }; + 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 1420DF4D196247B500203BB0 /* build-docs.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "build-docs.sh"; sourceTree = ""; }; + 1420DF4E196247B500203BB0 /* Doxyfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Doxyfile; sourceTree = ""; }; + 1420DF4F196247F900203BB0 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 142E0E0819A83AAC00E4312B /* SUBinaryDeltaTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaTest.m; sourceTree = ""; }; + 14652F7919A93E5F00959E44 /* set-git-version-info.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "set-git-version-info.sh"; sourceTree = ""; }; + 14652F8319A9759F00959E44 /* SUExport.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SUExport.h; sourceTree = ""; }; + 146EC84E19A68CF8004A50C5 /* Sparkle.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = Sparkle.podspec; sourceTree = SOURCE_ROOT; }; + 14732BB1195FF6B700593899 /* .clang-format */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".clang-format"; sourceTree = SOURCE_ROOT; }; + 14732BB91960EEEE00593899 /* SampleAppcast.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = SampleAppcast.xml; sourceTree = ""; }; + 14732BBA1960EF7100593899 /* CHANGELOG */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CHANGELOG; sourceTree = SOURCE_ROOT; }; + 14732BBC1960EFB500593899 /* README.markdown */ = {isa = PBXFileReference; lastKnownFileType = text; path = README.markdown; sourceTree = SOURCE_ROOT; }; + 14732BBF1960F0AC00593899 /* test_app_only_dsa_pub.pem */ = {isa = PBXFileReference; lastKnownFileType = text; path = test_app_only_dsa_pub.pem; sourceTree = ""; }; + 14732BC11960F3B200593899 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = SOURCE_ROOT; usesTabs = 1; }; + 14732BC31960F3FF00593899 /* generate_keys.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = generate_keys.sh; sourceTree = ""; }; + 14732BC41960F3FF00593899 /* sign_update.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = sign_update.sh; sourceTree = ""; }; + 14732BC91960F70A00593899 /* make-release-package.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "make-release-package.sh"; sourceTree = ""; }; + 14732BD219610A1800593899 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 14950074195FDF5900BC5B5B /* SUUpdaterTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdaterTest.m; sourceTree = ""; usesTabs = 0; }; + 14958C6B19AEBC530061B14F /* signed-test-file.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "signed-test-file.txt"; sourceTree = ""; }; + 14958C6C19AEBC610061B14F /* test-pubkey.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "test-pubkey.pem"; sourceTree = ""; }; 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionDisplayProtocol.h; sourceTree = ""; }; - 525A278F133D6AE900FD8D70 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 550347001370023A00AE7681 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; - 55C14BB7136EEF1500649790 /* finish_installation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = finish_installation.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 55C14BB9136EEF1500649790 /* finish_installation-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "finish_installation-Info.plist"; sourceTree = ""; }; - 55C14BD3136EEFCE00649790 /* finish_installation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = finish_installation.m; sourceTree = ""; }; + 4607BEA21948443800EF8DA4 /* nb */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nb; path = nb.lproj/Sparkle.strings; sourceTree = ""; }; + 4607BEA31948443800EF8DA4 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 4607BEA41948443800EF8DA4 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 4607BEA51948443800EF8DA4 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; + 525A278F133D6AE900FD8D70 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + 555CF29A196C52330000B31E /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = el.lproj/Sparkle.strings; sourceTree = ""; }; + 555CF29B196C523E0000B31E /* el */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = el; path = el.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 555CF29C196C52460000B31E /* el */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = el; path = el.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 555CF29D196C524C0000B31E /* el */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = el; path = el.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; + 55C14BB7136EEF1500649790 /* Autoupdate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Autoupdate.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 55C14BB9136EEF1500649790 /* Autoupdate-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Autoupdate-Info.plist"; sourceTree = ""; }; + 55C14BD3136EEFCE00649790 /* Autoupdate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Autoupdate.m; sourceTree = ""; }; 55C14BD8136EF00C00649790 /* SUStatus.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SUStatus.xib; sourceTree = ""; }; 55C14BDB136EF20D00649790 /* cs */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = cs; path = cs.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 55C14BDC136EF20D00649790 /* da */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = da; path = da.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; @@ -284,8 +412,14 @@ 55C14C18136EF2C700649790 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_TW; path = zh_TW.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 55C14F04136EF6DB00649790 /* SULog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SULog.h; sourceTree = ""; }; 55C14F05136EF6DB00649790 /* SULog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SULog.m; sourceTree = ""; }; - 55C14F0E136EF73600649790 /* finish_installation.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = finish_installation.pch; sourceTree = ""; }; 55C14F31136EFC2400649790 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; + 55E6F33219EC9F6C00005E76 /* SUErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUErrors.h; sourceTree = ""; }; + 5AEF45D9189D1CC90030D7DC /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; + 5AF6C1E81AE86E270014A3AB /* test archive.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = "test archive.zip"; sourceTree = ""; }; + 5AF6C1EA1AE870A90014A3AB /* SUPipedUnarchiverTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiverTest.m; sourceTree = ""; }; + 5AF6C74C1AEA40760014A3AB /* SUInstallerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstallerTest.m; sourceTree = ""; }; + 5AF6C74E1AEA46D10014A3AB /* test.sparkle_guided.pkg */ = {isa = PBXFileReference; lastKnownFileType = file; path = test.sparkle_guided.pkg; sourceTree = ""; }; + 5AF9DC3B1981DBEE001EA135 /* SUDSAVerifierTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUDSAVerifierTest.m; sourceTree = ""; }; 5D06E8D00FD68C7C005AE3F6 /* BinaryDelta */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = BinaryDelta; sourceTree = BUILT_PRODUCTS_DIR; }; 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */ = {isa = PBXFileReference; comments = "-Wno-shorten-64-to-32"; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bsdiff.c; sourceTree = ""; }; 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bspatch.c; sourceTree = ""; }; @@ -293,16 +427,16 @@ 5D06E8E00FD68CC7005AE3F6 /* SUBinaryDeltaApply.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaApply.m; sourceTree = ""; }; 5D06E8E10FD68CC7005AE3F6 /* SUBinaryDeltaCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBinaryDeltaCommon.h; sourceTree = ""; }; 5D06E8E20FD68CC7005AE3F6 /* SUBinaryDeltaCommon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaCommon.m; sourceTree = ""; }; - 5D06E8E30FD68CC7005AE3F6 /* SUBinaryDeltaTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaTool.m; sourceTree = ""; }; + 5D06E8E30FD68CC7005AE3F6 /* SUBinaryDeltaTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaTool.m; sourceTree = ""; usesTabs = 0; }; 5D06E8F10FD68D21005AE3F6 /* ConfigBinaryDelta.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigBinaryDelta.xcconfig; sourceTree = ""; }; 5D06E8F20FD68D21005AE3F6 /* ConfigBinaryDeltaDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigBinaryDeltaDebug.xcconfig; sourceTree = ""; }; 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigBinaryDeltaRelease.xcconfig; sourceTree = ""; }; - 5D06E8FB0FD68D61005AE3F6 /* libbz2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbz2.dylib; path = /usr/lib/libbz2.dylib; sourceTree = ""; }; + 5D06E8FB0FD68D61005AE3F6 /* libbz2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbz2.dylib; path = usr/lib/libbz2.dylib; sourceTree = SDKROOT; }; 5D06E9370FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBinaryDeltaUnarchiver.h; sourceTree = ""; }; 5D06E9380FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaUnarchiver.m; sourceTree = ""; }; - 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxar.1.dylib; path = /usr/lib/libxar.1.dylib; sourceTree = ""; }; - 5D1AF58F0FD767AD0065DB48 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = /usr/lib/libxml2.dylib; sourceTree = ""; }; - 5D1AF5990FD767E50065DB48 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = /usr/lib/libz.dylib; sourceTree = ""; }; + 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxar.1.dylib; path = usr/lib/libxar.1.dylib; sourceTree = SDKROOT; }; + 5D1AF58F0FD767AD0065DB48 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; }; + 5D1AF5990FD767E50065DB48 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; 610134710DD250470049ACDF /* SUUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdateDriver.h; sourceTree = ""; }; 610134720DD250470049ACDF /* SUUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdateDriver.m; sourceTree = ""; }; 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUProbingUpdateDriver.h; sourceTree = ""; }; @@ -311,20 +445,22 @@ 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUDiskImageUnarchiver.h; sourceTree = ""; }; 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUDiskImageUnarchiver.m; sourceTree = ""; }; 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUnarchiver_Private.h; sourceTree = ""; }; - 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUnarchiver_Private.m; sourceTree = ""; }; 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NTSynchronousTask.m; sourceTree = ""; }; 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NTSynchronousTask.h; sourceTree = ""; }; 611142E810FB1BE5009810AA /* bspatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bspatch.h; sourceTree = ""; }; - 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_BR; path = pt_BR.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; - 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; + 61131A050F846CE600E97AF6 /* da */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; + 61131A090F846D0A00E97AF6 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; + 61131A0A0F846D1100E97AF6 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; + 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; }; 61180BC80D64138900B4E0D1 /* SUWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUWindowController.h; sourceTree = ""; }; 61180BC90D64138900B4E0D1 /* SUWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUWindowController.m; sourceTree = ""; }; + 611A904210240DD300CC659E /* pl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; + 611A904610240DF700CC659E /* ja */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; 6120721009CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAutomaticUpdateAlert.h; sourceTree = ""; }; 6120721109CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateAlert.m; sourceTree = ""; }; - 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Sparkle Unit Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 612279DA0DB5470200AB99EA /* Sparkle Unit Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Sparkle Unit Tests-Info.plist"; path = "Tests/Sparkle Unit Tests-Info.plist"; sourceTree = ""; }; - 61227A140DB548B800AB99EA /* SUVersionComparisonTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SUVersionComparisonTest.h; path = Tests/SUVersionComparisonTest.h; sourceTree = ""; }; - 61227A150DB548B800AB99EA /* SUVersionComparisonTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SUVersionComparisonTest.m; path = Tests/SUVersionComparisonTest.m; sourceTree = ""; }; + 612279D90DB5470200AB99EA /* Sparkle Unit Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Sparkle Unit Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 612279DA0DB5470200AB99EA /* SparkleTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SparkleTests-Info.plist"; sourceTree = ""; }; + 61227A150DB548B800AB99EA /* SUVersionComparisonTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUVersionComparisonTest.m; sourceTree = ""; }; 6129984309C9E2DA00B7442F /* SUPlainInstallerInternals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPlainInstallerInternals.h; sourceTree = ""; }; 61299A2D09CA2DAB00B7442F /* SUDSAVerifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUDSAVerifier.h; sourceTree = ""; }; 61299A2E09CA2DAB00B7442F /* SUDSAVerifier.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUDSAVerifier.m; sourceTree = ""; }; @@ -336,11 +472,12 @@ 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiver.m; sourceTree = ""; }; 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdatePermissionPrompt.h; sourceTree = ""; }; 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdatePermissionPrompt.m; sourceTree = ""; }; + 613151B20FB4946A000DCD59 /* is */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; + 6149E6EA1601ABAC008A351E /* ar */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; 6149E6ED1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; - 6149E6EE1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6149E6EF1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 6149E6F01601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; - 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppReleaseGCSupport.xcconfig; sourceTree = ""; }; + 615409C4103BBC4000125AF1 /* cs */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; 6158A1B81378F64700487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 6158A1BA1378F68100487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 6158A1BB1378F68100487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdateAlert.xib; sourceTree = ""; }; @@ -349,15 +486,18 @@ 6158A1C01378F8BB00487EC1 /* tr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = tr; path = tr.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdater_Private.h; sourceTree = ""; }; 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = SUModelTranslation.plist; sourceTree = ""; }; - 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = "Test Application/dsa_pub.pem"; sourceTree = ""; }; + 6186554310D7484E00B1E074 /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; + 618915730E35937600B5E981 /* sv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; 618FA4FF0DAE88B40026945C /* SUInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUInstaller.h; sourceTree = ""; }; 618FA5000DAE88B40026945C /* SUInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstaller.m; sourceTree = ""; }; 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPlainInstaller.h; sourceTree = ""; }; 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPlainInstaller.m; sourceTree = ""; }; 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPackageInstaller.h; sourceTree = ""; }; 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPackageInstaller.m; sourceTree = ""; }; + 6195D4920E404AD700D41A50 /* ru */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; 6196CFE309C71ADE000DC222 /* SUStatusController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStatusController.h; sourceTree = ""; }; 6196CFE409C71ADE000DC222 /* SUStatusController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStatusController.m; sourceTree = ""; }; + 619B17200E1E9D0800E72754 /* de */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; 61A2259C0D1C495D00430CCD /* SUVersionComparisonProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionComparisonProtocol.h; sourceTree = ""; }; 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStandardVersionComparator.h; sourceTree = ""; }; 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStandardVersionComparator.m; sourceTree = ""; }; @@ -365,21 +505,24 @@ 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUSystemProfiler.m; sourceTree = ""; }; 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUserInitiatedUpdateDriver.h; sourceTree = ""; }; 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUserInitiatedUpdateDriver.m; sourceTree = ""; }; + 61AAE8230A321A7F00D8810D /* en */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; + 61AAE84F0A321AF700D8810D /* es */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; + 61AAE8590A321B0400D8810D /* fr */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; + 61AAE8710A321F7700D8810D /* nl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; 61B078CC15A5FB6100600039 /* SUCodeSigningVerifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUCodeSigningVerifier.h; sourceTree = ""; }; 61B078CD15A5FB6100600039 /* SUCodeSigningVerifier.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUCodeSigningVerifier.m; sourceTree = ""; }; - 61B26BF817B2F76600F99C77 /* da */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = da; path = da.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SUUpdater.h; sourceTree = ""; }; 61B5F8E409C4CE3C00B25A18 /* SUUpdater.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SUUpdater.m; sourceTree = ""; }; 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SUPlainInstallerInternals.m; sourceTree = ""; }; - 61B5F8F609C4CEB300B25A18 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = ""; }; + 61B5F8F609C4CEB300B25A18 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sparkle Test App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 61B5F90409C4CEE200B25A18 /* Test Application-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Test Application-Info.plist"; path = "Test Application/Test Application-Info.plist"; sourceTree = ""; }; - 61B5F92409C4CFC900B25A18 /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = main.m; path = "Test Application/main.m"; sourceTree = ""; }; - 61B5F92B09C4CFD800B25A18 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = "Test Application/English.lproj/InfoPlist.strings"; sourceTree = ""; }; - 61B5F92D09C4CFD800B25A18 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = "Test Application/English.lproj/MainMenu.nib"; sourceTree = ""; }; + 61B5F90409C4CEE200B25A18 /* TestApplication-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TestApplication-Info.plist"; sourceTree = ""; }; + 61B5F92409C4CFC900B25A18 /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 61B5F92B09C4CFD800B25A18 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 61B5F92D09C4CFD800B25A18 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = ""; }; 61B5FB9409C4F04600B25A18 /* SUAppcast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAppcast.h; sourceTree = ""; }; 61B5FB9509C4F04600B25A18 /* SUAppcast.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAppcast.m; sourceTree = ""; }; - 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = ""; }; + 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; 61B5FC5309C5182000B25A18 /* SUAppcastItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAppcastItem.h; sourceTree = ""; }; 61B5FC5409C5182000B25A18 /* SUAppcastItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAppcastItem.m; sourceTree = ""; }; 61B5FCA009C5228F00B25A18 /* SUUpdateAlert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdateAlert.h; sourceTree = ""; }; @@ -390,70 +533,32 @@ 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 = ""; }; + 61C268090E2DB5D000175E6C /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = SOURCE_ROOT; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; 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 = ""; }; + 61E31A80103299500051D188 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; 61EF67550E25B58D00F754E0 /* SUHost.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUHost.m; sourceTree = ""; }; 61EF67580E25C5B400F754E0 /* SUHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUHost.h; sourceTree = ""; }; + 61F3AC1215C22D4A00260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; 61F3AC1415C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; - 61F3AC1515C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 61F3AC1615C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61F3AC1715C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; + 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; - 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = com.andymatuschak.Sparkle.SandboxService.xpc; sourceTree = BUILT_PRODUCTS_DIR; }; - 8B887B601517F3AC000BB292 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 8B887B701517F447000BB292 /* ConfigService.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigService.xcconfig; sourceTree = ""; }; - 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceDebug.xcconfig; sourceTree = ""; }; - 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceRelease.xcconfig; sourceTree = ""; }; - 8B887B7C1517F888000BB292 /* SUXPC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUXPC.h; sourceTree = SOURCE_ROOT; }; - 8B887B7D1517F888000BB292 /* SUXPC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUXPC.m; sourceTree = SOURCE_ROOT; }; - 8B887B8D15180767000BB292 /* sandbox_service.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = sandbox_service.m; sourceTree = SOURCE_ROOT; }; - 8B887B8F15180773000BB292 /* SandboxService.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = SandboxService.plist; sourceTree = SOURCE_ROOT; }; - 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 7223E7611AD1AEFF008E3161 /* sais.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sais.c; sourceTree = ""; }; + 7223E7621AD1AEFF008E3161 /* sais.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sais.h; sourceTree = ""; }; + 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaCreate.m; sourceTree = ""; }; + 7268AC641AD634E400C3E0C1 /* SUBinaryDeltaCreate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBinaryDeltaCreate.h; sourceTree = ""; }; + 767B61AA1972D488004E0C3C /* SUGuidedPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUGuidedPackageInstaller.h; sourceTree = ""; }; + 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUGuidedPackageInstaller.m; sourceTree = ""; }; + 8DC2EF5A0486A6940098B216 /* Sparkle-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Sparkle-Info.plist"; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPasswordPrompt.h; sourceTree = ""; }; - 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPasswordPrompt.m; sourceTree = ""; }; - 93FB277E156BD826001937C7 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; - 94059A9E1648D6530094BDCF /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; - 94059AA01648D9BC0094BDCF /* ar */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D69164870E7001E5600 /* nl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6A164870E7001E5600 /* no */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = no; path = no.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6C164870EE001E5600 /* pl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6D164870F3001E5600 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6E16487104001E5600 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6F1648710A001E5600 /* ru */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7016487113001E5600 /* sk */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7116487113001E5600 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D721648711D001E5600 /* sv */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D731648711D001E5600 /* th */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7416487125001E5600 /* tr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7516487125001E5600 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7616487125001E5600 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7716487125001E5600 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; - 946D99631648709900145DA7 /* ca */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9965164870AA00145DA7 /* cs */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9966164870AA00145DA7 /* cy */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cy; path = cy.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9967164870AA00145DA7 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996A164870BC00145DA7 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996B164870BC00145DA7 /* el */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = el; path = el.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996C164870BC00145DA7 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996D164870C900145DA7 /* es */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996E164870C900145DA7 /* fi */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996F164870C900145DA7 /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9970164870C900145DA7 /* he */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9971164870C900145DA7 /* hu */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9973164870D400145DA7 /* id */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = id; path = id.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9974164870D500145DA7 /* is */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9975164870D500145DA7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9976164870D500145DA7 /* ja */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9977164870D500145DA7 /* ko */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Sparkle.strings; sourceTree = ""; }; + F8761EB01ADC5068000C9034 /* SUCodeSigningVerifierTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUCodeSigningVerifierTest.m; sourceTree = ""; }; + F8761EB21ADC50EB000C9034 /* SparkleTestCodeSignApp.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = SparkleTestCodeSignApp.zip; sourceTree = ""; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppDebug.xcconfig; sourceTree = ""; }; FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonRelease.xcconfig; sourceTree = ""; }; @@ -466,10 +571,11 @@ FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigRelaunchDebug.xcconfig; sourceTree = ""; }; FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigRelaunchRelease.xcconfig; sourceTree = ""; }; FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkRelease.xcconfig; sourceTree = ""; }; - FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTestReleaseGCSupport.xcconfig; sourceTree = ""; }; FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTestRelease.xcconfig; sourceTree = ""; }; FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTestDebug.xcconfig; sourceTree = ""; }; FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTest.xcconfig; sourceTree = ""; }; + FE5536F517A2C6A7007CB333 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Sparkle.strings; sourceTree = ""; }; + FE5536F617A2C6AB007CB333 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Sparkle.strings; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -477,7 +583,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 55C14EE8136EF61D00649790 /* Cocoa.framework in Frameworks */, + 14950071195FCE3D00BC5B5B /* AppKit.framework in Frameworks */, + 14950070195FCE3A00BC5B5B /* Foundation.framework in Frameworks */, 55C14F9A136F045400649790 /* Security.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -486,9 +593,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 5D06E8D80FD68C8E005AE3F6 /* Sparkle.framework in Frameworks */, - 5D06E8FF0FD68D6D005AE3F6 /* libbz2.dylib in Frameworks */, 5D06E9050FD68D7D005AE3F6 /* Foundation.framework in Frameworks */, + 5D06E8FF0FD68D6D005AE3F6 /* libbz2.dylib in Frameworks */, 5D1AF58B0FD7678C0065DB48 /* libxar.1.dylib in Frameworks */, 5D1AF5900FD767AD0065DB48 /* libxml2.dylib in Frameworks */, 5D1AF59A0FD767E50065DB48 /* libz.dylib in Frameworks */, @@ -499,7 +605,13 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 14732BD119610A1200593899 /* AppKit.framework in Frameworks */, + 14732BD019610A0D00593899 /* Foundation.framework in Frameworks */, + 721CF1AB1AD764EB00D9AC09 /* libbz2.dylib in Frameworks */, + 721CF1AA1AD7647000D9AC09 /* libxar.1.dylib in Frameworks */, + 14652F8019A9740F00959E44 /* Security.framework in Frameworks */, 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */, + 14732BD319610A1800593899 /* XCTest.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -507,20 +619,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 14950073195FCE4E00BC5B5B /* AppKit.framework in Frameworks */, + 14950072195FCE4B00BC5B5B /* Foundation.framework in Frameworks */, 61B5F90F09C4CF3A00B25A18 /* Sparkle.framework in Frameworks */, - 525A27A0133D6B9700FD8D70 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8B887B5B1517F3AB000BB292 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */, - 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */, - 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */, - 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */, - 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -528,14 +629,15 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 61B5F8F709C4CEB300B25A18 /* Security.framework in Frameworks */, - 61B5FC4C09C4FD5E00B25A18 /* WebKit.framework in Frameworks */, + 1495006E195FCE1100BC5B5B /* AppKit.framework in Frameworks */, + 1495006F195FCE1800BC5B5B /* Foundation.framework in Frameworks */, 61177A1F0D1112E900749C97 /* IOKit.framework in Frameworks */, 5D06E8FD0FD68D6B005AE3F6 /* libbz2.dylib in Frameworks */, 5D1AF58A0FD7678C0065DB48 /* libxar.1.dylib in Frameworks */, 5D1AF82B0FD768180065DB48 /* libz.dylib in Frameworks */, - 525A2790133D6AE900FD8D70 /* Cocoa.framework in Frameworks */, + 61B5F8F709C4CEB300B25A18 /* Security.framework in Frameworks */, 55C14F32136EFC2400649790 /* SystemConfiguration.framework in Frameworks */, + 61B5FC4C09C4FD5E00B25A18 /* WebKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -545,12 +647,11 @@ 034768DFFF38A50411DB9C8B /* Products */ = { isa = PBXGroup; children = ( - 8DC2EF5B0486A6940098B216 /* Sparkle.framework */, - 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */, - 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */, 5D06E8D00FD68C7C005AE3F6 /* BinaryDelta */, - 55C14BB7136EEF1500649790 /* finish_installation.app */, - 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */, + 55C14BB7136EEF1500649790 /* Autoupdate.app */, + 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */, + 612279D90DB5470200AB99EA /* Sparkle Unit Tests.xctest */, + 8DC2EF5B0486A6940098B216 /* Sparkle.framework */, ); name = Products; sourceTree = ""; @@ -558,84 +659,164 @@ 0867D691FE84028FC02AAC07 /* Sparkle */ = { isa = PBXGroup; children = ( - 22760C70183F7D520047AABB /* Sparkle Test App.entitlements */, - 61F83F6E0DBFE07A006FDD30 /* Update Control */, - 61299B3909CB055000B7442F /* Appcast Support */, - 618FA6DB0DB485440026945C /* Installation */, - 55C14BD5136EEFD000649790 /* finish_installation tool */, - 6101354A0DD25B7F0049ACDF /* Unarchiving */, - 61299B3A09CB056100B7442F /* User Interface */, - 8B887B621517F3AC000BB292 /* Sandbox Service */, - 61B5F8F309C4CE5900B25A18 /* Other Sources */, - 089C1665FE841158C02AAC07 /* Framework Resources */, + 1495006D195FBBBD00BC5B5B /* Sparkle */, + 14732BB81960EEB600593899 /* Resources */, 61227A100DB5484000AB99EA /* Tests */, - 61B5F91D09C4CF7F00B25A18 /* Test Application Sources */, - 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */, + 61B5F91D09C4CF7F00B25A18 /* Test Application */, + 14732BB51960ECBA00593899 /* Third Party */, + 1420DE391962322200203BB0 /* Documentation */, FA1941C40D94A6EA00DD942E /* Configurations */, - 8B887B5F1517F3AB000BB292 /* Frameworks */, + 0867D69AFE84028FC02AAC07 /* Frameworks */, 034768DFFF38A50411DB9C8B /* Products */, ); name = Sparkle; sourceTree = ""; + usesTabs = 0; }; - 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */ = { + 0867D69AFE84028FC02AAC07 /* Frameworks */ = { isa = PBXGroup; children = ( - 6117796E0D1112E000749C97 /* IOKit.framework */, - 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */, - 61B5F8F609C4CEB300B25A18 /* Security.framework */, 0867D6A5FE840307C02AAC07 /* AppKit.framework */, - 0867D69BFE84028FC02AAC07 /* Foundation.framework */, - 5D06E8FB0FD68D61005AE3F6 /* libbz2.dylib */, - 5D1AF58F0FD767AD0065DB48 /* libxml2.dylib */, - 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */, - 5D1AF5990FD767E50065DB48 /* libz.dylib */, 525A278F133D6AE900FD8D70 /* Cocoa.framework */, + 0867D69BFE84028FC02AAC07 /* Foundation.framework */, + 6117796E0D1112E000749C97 /* IOKit.framework */, + 5D06E8FB0FD68D61005AE3F6 /* libbz2.dylib */, + 5D1AF5890FD7678C0065DB48 /* libxar.1.dylib */, + 5D1AF58F0FD767AD0065DB48 /* libxml2.dylib */, + 5D1AF5990FD767E50065DB48 /* libz.dylib */, + 61B5F8F609C4CEB300B25A18 /* Security.framework */, 55C14F31136EFC2400649790 /* SystemConfiguration.framework */, + 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */, + 14732BD219610A1800593899 /* XCTest.framework */, ); - name = "Apple Frameworks and Libraries"; + name = Frameworks; sourceTree = ""; }; 089C1665FE841158C02AAC07 /* Framework Resources */ = { isa = PBXGroup; children = ( - 8DC2EF5A0486A6940098B216 /* Info.plist */, - 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */, - 61C268090E2DB5D000175E6C /* License.txt */, - 946D995E1648708C00145DA7 /* Sparkle.strings */, - 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */, - 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */, + 8DC2EF5A0486A6940098B216 /* Sparkle-Info.plist */, + 61AAE8220A321A7F00D8810D /* Sparkle.strings */, 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */, 55C14BD8136EF00C00649790 /* SUStatus.xib */, - 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */, + 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */, + 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */, ); name = "Framework Resources"; sourceTree = ""; }; - 55C14BD5136EEFD000649790 /* finish_installation tool */ = { + 1420DE391962322200203BB0 /* Documentation */ = { isa = PBXGroup; children = ( - 55C14BB9136EEF1500649790 /* finish_installation-Info.plist */, - 55C14BD3136EEFCE00649790 /* finish_installation.m */, - 55C14F0E136EF73600649790 /* finish_installation.pch */, - 550347001370023A00AE7681 /* Sparkle.icns */, + 1420DF4E196247B500203BB0 /* Doxyfile */, + 1420DF4D196247B500203BB0 /* build-docs.sh */, ); - name = "finish_installation tool"; + path = Documentation; + sourceTree = ""; + }; + 14732BB51960ECBA00593899 /* Third Party */ = { + isa = PBXGroup; + children = ( + 14732BB61960ECE800593899 /* bsdiff */, + 14732BB71960ECF000593899 /* CocoatechCore */, + ); + name = "Third Party"; + path = Vendor; + sourceTree = ""; + }; + 14732BB61960ECE800593899 /* bsdiff */ = { + isa = PBXGroup; + children = ( + 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */, + 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */, + 611142E810FB1BE5009810AA /* bspatch.h */, + 7223E7611AD1AEFF008E3161 /* sais.c */, + 7223E7621AD1AEFF008E3161 /* sais.h */, + ); + path = bsdiff; + sourceTree = ""; + }; + 14732BB71960ECF000593899 /* CocoatechCore */ = { + isa = PBXGroup; + children = ( + 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */, + 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */, + ); + path = CocoatechCore; + sourceTree = ""; + }; + 14732BB81960EEB600593899 /* Resources */ = { + isa = PBXGroup; + children = ( + 14732BC21960F3FF00593899 /* bin */, + 14732BBA1960EF7100593899 /* CHANGELOG */, + 61C268090E2DB5D000175E6C /* LICENSE */, + 14732BC11960F3B200593899 /* Makefile */, + 1420DF4F196247F900203BB0 /* Images.xcassets */, + 14732BBC1960EFB500593899 /* README.markdown */, + 14732BB91960EEEE00593899 /* SampleAppcast.xml */, + 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */, + ); + path = Resources; + sourceTree = ""; + }; + 14732BC21960F3FF00593899 /* bin */ = { + isa = PBXGroup; + children = ( + 14732BC31960F3FF00593899 /* generate_keys.sh */, + 14732BC41960F3FF00593899 /* sign_update.sh */, + ); + path = bin; + sourceTree = SOURCE_ROOT; + }; + 1495006D195FBBBD00BC5B5B /* Sparkle */ = { + isa = PBXGroup; + children = ( + 61299B3909CB055000B7442F /* Appcast Support */, + 55C14BD5136EEFD000649790 /* Autoupdate */, + 089C1665FE841158C02AAC07 /* Framework Resources */, + 618FA6DB0DB485440026945C /* Installation */, + 61B5F8F309C4CE5900B25A18 /* Other Sources */, + 6101354A0DD25B7F0049ACDF /* Unarchiving */, + 61F83F6E0DBFE07A006FDD30 /* Update Control */, + 61299B3A09CB056100B7442F /* User Interface */, + ); + path = Sparkle; + sourceTree = ""; + }; + 14958C7019AEBE350061B14F /* Resources */ = { + isa = PBXGroup; + children = ( + 14958C6B19AEBC530061B14F /* signed-test-file.txt */, + F8761EB21ADC50EB000C9034 /* SparkleTestCodeSignApp.zip */, + 5AF6C1E81AE86E270014A3AB /* test archive.zip */, + 14958C6C19AEBC610061B14F /* test-pubkey.pem */, + 5AF6C74E1AEA46D10014A3AB /* test.sparkle_guided.pkg */, + ); + path = Resources; + sourceTree = ""; + }; + 55C14BD5136EEFD000649790 /* Autoupdate */ = { + isa = PBXGroup; + children = ( + 55C14BB9136EEF1500649790 /* Autoupdate-Info.plist */, + 55C14BD3136EEFCE00649790 /* Autoupdate.m */, + ); + path = Autoupdate; sourceTree = ""; }; 5D06E8D90FD68C95005AE3F6 /* Binary Delta */ = { isa = PBXGroup; children = ( - 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */, - 5D06E8DC0FD68CB9005AE3F6 /* bspatch.c */, 5D06E8DF0FD68CC7005AE3F6 /* SUBinaryDeltaApply.h */, 5D06E8E00FD68CC7005AE3F6 /* SUBinaryDeltaApply.m */, 5D06E8E10FD68CC7005AE3F6 /* SUBinaryDeltaCommon.h */, 5D06E8E20FD68CC7005AE3F6 /* SUBinaryDeltaCommon.m */, + 7268AC641AD634E400C3E0C1 /* SUBinaryDeltaCreate.h */, + 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */, 5D06E8E30FD68CC7005AE3F6 /* SUBinaryDeltaTool.m */, 5D06E9370FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.h */, 5D06E9380FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m */, - 611142E810FB1BE5009810AA /* bspatch.h */, ); name = "Binary Delta"; sourceTree = ""; @@ -644,16 +825,13 @@ isa = PBXGroup; children = ( 5D06E8D90FD68C95005AE3F6 /* Binary Delta */, + 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */, + 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */, + 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */, + 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */, 61299A8B09CA790200B7442F /* SUUnarchiver.h */, 61299A8C09CA790200B7442F /* SUUnarchiver.m */, 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */, - 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */, - 6102FE440E077FCE00F85D09 /* SUPipedUnarchiver.h */, - 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */, - 6102FE480E07803800F85D09 /* SUDiskImageUnarchiver.h */, - 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */, - 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */, - 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */, ); name = Unarchiving; sourceTree = ""; @@ -661,11 +839,17 @@ 61227A100DB5484000AB99EA /* Tests */ = { isa = PBXGroup; children = ( - 61227A140DB548B800AB99EA /* SUVersionComparisonTest.h */, + 14958C7019AEBE350061B14F /* Resources */, + 612279DA0DB5470200AB99EA /* SparkleTests-Info.plist */, + 142E0E0819A83AAC00E4312B /* SUBinaryDeltaTest.m */, + F8761EB01ADC5068000C9034 /* SUCodeSigningVerifierTest.m */, + 5AF9DC3B1981DBEE001EA135 /* SUDSAVerifierTest.m */, + 5AF6C74C1AEA40760014A3AB /* SUInstallerTest.m */, + 5AF6C1EA1AE870A90014A3AB /* SUPipedUnarchiverTest.m */, + 14950074195FDF5900BC5B5B /* SUUpdaterTest.m */, 61227A150DB548B800AB99EA /* SUVersionComparisonTest.m */, - 612279DA0DB5470200AB99EA /* Sparkle Unit Tests-Info.plist */, ); - name = Tests; + path = Tests; sourceTree = ""; }; 61299B3909CB055000B7442F /* Appcast Support */ = { @@ -675,12 +859,12 @@ 61B5FB9509C4F04600B25A18 /* SUAppcast.m */, 61B5FC5309C5182000B25A18 /* SUAppcastItem.h */, 61B5FC5409C5182000B25A18 /* SUAppcastItem.m */, + 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */, + 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */, 61A2279A0D1CEE7600430CCD /* SUSystemProfiler.h */, 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */, 61A2259C0D1C495D00430CCD /* SUVersionComparisonProtocol.h */, 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */, - 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */, - 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */, ); name = "Appcast Support"; sourceTree = ""; @@ -688,18 +872,16 @@ 61299B3A09CB056100B7442F /* User Interface */ = { isa = PBXGroup; children = ( - 61B5FCA009C5228F00B25A18 /* SUUpdateAlert.h */, - 61B5FCA109C5228F00B25A18 /* SUUpdateAlert.m */, 6120721009CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h */, 6120721109CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m */, 6196CFE309C71ADE000DC222 /* SUStatusController.h */, 6196CFE409C71ADE000DC222 /* SUStatusController.m */, + 61B5FCA009C5228F00B25A18 /* SUUpdateAlert.h */, + 61B5FCA109C5228F00B25A18 /* SUUpdateAlert.m */, 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */, 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */, 61180BC80D64138900B4E0D1 /* SUWindowController.h */, 61180BC90D64138900B4E0D1 /* SUWindowController.m */, - 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */, - 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */, ); name = "User Interface"; sourceTree = ""; @@ -707,14 +889,16 @@ 618FA6DB0DB485440026945C /* Installation */ = { isa = PBXGroup; children = ( + 767B61AA1972D488004E0C3C /* SUGuidedPackageInstaller.h */, + 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */, 618FA4FF0DAE88B40026945C /* SUInstaller.h */, 618FA5000DAE88B40026945C /* SUInstaller.m */, + 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */, + 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */, 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */, 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */, 6129984309C9E2DA00B7442F /* SUPlainInstallerInternals.h */, 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */, - 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */, - 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */, ); name = Installation; sourceTree = ""; @@ -722,12 +906,14 @@ 61B5F8F309C4CE5900B25A18 /* Other Sources */ = { isa = PBXGroup; children = ( - 61EF67580E25C5B400F754E0 /* SUHost.h */, - 61EF67550E25B58D00F754E0 /* SUHost.m */, 61299B3509CB04E000B7442F /* Sparkle.h */, 61CFB3280E385186007A1735 /* Sparkle.pch */, 61299A5B09CA6D4500B7442F /* SUConstants.h */, 61299A5F09CA6EB100B7442F /* SUConstants.m */, + 55E6F33219EC9F6C00005E76 /* SUErrors.h */, + 14652F8319A9759F00959E44 /* SUExport.h */, + 61EF67580E25C5B400F754E0 /* SUHost.h */, + 61EF67550E25B58D00F754E0 /* SUHost.m */, 55C14F04136EF6DB00649790 /* SULog.h */, 55C14F05136EF6DB00649790 /* SULog.m */, ); @@ -735,26 +921,26 @@ name = "Other Sources"; sourceTree = ""; }; - 61B5F91D09C4CF7F00B25A18 /* Test Application Sources */ = { + 61B5F91D09C4CF7F00B25A18 /* Test Application */ = { isa = PBXGroup; children = ( - 61BBDF810A49220C00378739 /* Sparkle.icns */, 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */, - 61B5F92C09C4CFD800B25A18 /* MainMenu.nib */, 61B5F92409C4CFC900B25A18 /* main.m */, - 61B5F90409C4CEE200B25A18 /* Test Application-Info.plist */, - 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */, + 61B5F92C09C4CFD800B25A18 /* MainMenu.xib */, + 14732BBF1960F0AC00593899 /* test_app_only_dsa_pub.pem */, + 61B5F90409C4CEE200B25A18 /* TestApplication-Info.plist */, ); - name = "Test Application Sources"; + name = "Test Application"; + path = TestApplication; sourceTree = ""; }; 61CFB2C10E384958007A1735 /* Support */ = { isa = PBXGroup; children = ( - 61299A2D09CA2DAB00B7442F /* SUDSAVerifier.h */, - 61299A2E09CA2DAB00B7442F /* SUDSAVerifier.m */, 61B078CC15A5FB6100600039 /* SUCodeSigningVerifier.h */, 61B078CD15A5FB6100600039 /* SUCodeSigningVerifier.m */, + 61299A2D09CA2DAB00B7442F /* SUDSAVerifier.h */, + 61299A2E09CA2DAB00B7442F /* SUDSAVerifier.m */, ); name = Support; sourceTree = ""; @@ -762,18 +948,18 @@ 61CFB2C20E38496B007A1735 /* Drivers */ = { isa = PBXGroup; children = ( - 610134710DD250470049ACDF /* SUUpdateDriver.h */, - 610134720DD250470049ACDF /* SUUpdateDriver.m */, - 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */, - 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */, - 61B93A390DD02D6400DCD2F8 /* SUUIBasedUpdateDriver.h */, - 61B93A3A0DD02D6400DCD2F8 /* SUUIBasedUpdateDriver.m */, 61B93B250DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.h */, 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */, - 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */, - 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */, + 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */, + 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */, 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */, 6101347A0DD2541A0049ACDF /* SUProbingUpdateDriver.m */, + 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */, + 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */, + 61B93A390DD02D6400DCD2F8 /* SUUIBasedUpdateDriver.h */, + 61B93A3A0DD02D6400DCD2F8 /* SUUIBasedUpdateDriver.m */, + 610134710DD250470049ACDF /* SUUpdateDriver.h */, + 610134720DD250470049ACDF /* SUUpdateDriver.m */, 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */, 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */, ); @@ -783,54 +969,19 @@ 61F83F6E0DBFE07A006FDD30 /* Update Control */ = { isa = PBXGroup; children = ( - 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */, - 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */, - 61B5F8E409C4CE3C00B25A18 /* SUUpdater.m */, 61CFB2C20E38496B007A1735 /* Drivers */, 61CFB2C10E384958007A1735 /* Support */, + 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */, + 61B5F8E409C4CE3C00B25A18 /* SUUpdater.m */, + 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */, ); name = "Update Control"; sourceTree = ""; }; - 8B887B5F1517F3AB000BB292 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 8B887B601517F3AC000BB292 /* Foundation.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 8B887B621517F3AC000BB292 /* Sandbox Service */ = { - isa = PBXGroup; - children = ( - 8B887B801517F8B4000BB292 /* Service */, - 8B887B631517F3AC000BB292 /* Interface */, - ); - name = "Sandbox Service"; - path = Update; - sourceTree = ""; - }; - 8B887B631517F3AC000BB292 /* Interface */ = { - isa = PBXGroup; - children = ( - 8B887B7C1517F888000BB292 /* SUXPC.h */, - 8B887B7D1517F888000BB292 /* SUXPC.m */, - ); - name = Interface; - sourceTree = ""; - }; - 8B887B801517F8B4000BB292 /* Service */ = { - isa = PBXGroup; - children = ( - 8B887B8D15180767000BB292 /* sandbox_service.m */, - 8B887B8F15180773000BB292 /* SandboxService.plist */, - ); - name = Service; - sourceTree = ""; - }; FA1941C40D94A6EA00DD942E /* Configurations */ = { isa = PBXGroup; children = ( + 14732BB1195FF6B700593899 /* .clang-format */, 5D06E8F10FD68D21005AE3F6 /* ConfigBinaryDelta.xcconfig */, 5D06E8F20FD68D21005AE3F6 /* ConfigBinaryDeltaDebug.xcconfig */, 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */, @@ -840,20 +991,18 @@ FA1941D10D94A70100DD942E /* ConfigFramework.xcconfig */, FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */, FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */, - FA1941CD0D94A70100DD942E /* ConfigTestApp.xcconfig */, - FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */, - FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */, - 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */, FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */, FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */, FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */, - 8B887B701517F447000BB292 /* ConfigService.xcconfig */, - 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */, - 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */, + FA1941CD0D94A70100DD942E /* ConfigTestApp.xcconfig */, + FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */, + FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */, FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */, FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */, FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */, - FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */, + 14732BC91960F70A00593899 /* make-release-package.sh */, + 14652F7919A93E5F00959E44 /* set-git-version-info.sh */, + 146EC84E19A68CF8004A50C5 /* Sparkle.podspec */, ); path = Configurations; sourceTree = ""; @@ -865,69 +1014,104 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 61B5F8ED09C4CE3C00B25A18 /* SUUpdater.h in Headers */, - 3772FEA913DE0B6B00F79537 /* SUVersionDisplayProtocol.h in Headers */, + 611142E910FB1BE5009810AA /* bspatch.h in Headers */, + 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */, + 61299B3609CB04E000B7442F /* Sparkle.h in Headers */, + 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */, 61B5FC0D09C4FC8200B25A18 /* SUAppcast.h in Headers */, 61B5FC7009C51F4A00B25A18 /* SUAppcastItem.h in Headers */, - 61B5FCDF09C52A9F00B25A18 /* SUUpdateAlert.h in Headers */, - 6196CFF909C72148000DC222 /* SUStatusController.h in Headers */, - 61299A2F09CA2DAB00B7442F /* SUDSAVerifier.h in Headers */, - 61299A4A09CA2DD000B7442F /* SUPlainInstallerInternals.h in Headers */, - 61299A5C09CA6D4500B7442F /* SUConstants.h in Headers */, - 61299A8D09CA790200B7442F /* SUUnarchiver.h in Headers */, - 61299B3609CB04E000B7442F /* Sparkle.h in Headers */, 6120721209CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h in Headers */, - 61A2259E0D1C495D00430CCD /* SUVersionComparisonProtocol.h in Headers */, - 61A225A40D1C4AC000430CCD /* SUStandardVersionComparator.h in Headers */, - 61A2279C0D1CEE7600430CCD /* SUSystemProfiler.h in Headers */, - 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */, - 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */, - 61180BCA0D64138900B4E0D1 /* SUWindowController.h in Headers */, - 618FA5010DAE88B40026945C /* SUInstaller.h in Headers */, - 618FA5050DAE8AB80026945C /* SUPlainInstaller.h in Headers */, - 618FA5220DAE8E8A0026945C /* SUPackageInstaller.h in Headers */, - 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */, - 61B93A3C0DD02D7000DCD2F8 /* SUUIBasedUpdateDriver.h in Headers */, 61B93B270DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.h in Headers */, - 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */, - 610134730DD250470049ACDF /* SUUpdateDriver.h in Headers */, - 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */, - 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */, - 61A354550DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h in Headers */, - 6102FE460E077FCE00F85D09 /* SUPipedUnarchiver.h in Headers */, - 6102FE4A0E07803800F85D09 /* SUDiskImageUnarchiver.h in Headers */, - 6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */, - 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */, - 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */, + 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */, 5D06E9390FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.h in Headers */, - 611142E910FB1BE5009810AA /* bspatch.h in Headers */, - 55C14F06136EF6DB00649790 /* SULog.h in Headers */, - 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */, - 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, - 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */, - 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */, 61B078CE15A5FB6100600039 /* SUCodeSigningVerifier.h in Headers */, + 61299A5C09CA6D4500B7442F /* SUConstants.h in Headers */, + 6102FE4A0E07803800F85D09 /* SUDiskImageUnarchiver.h in Headers */, + 61299A2F09CA2DAB00B7442F /* SUDSAVerifier.h in Headers */, + 55E6F33319EC9F6C00005E76 /* SUErrors.h in Headers */, + 14652F8419A978C200959E44 /* SUExport.h in Headers */, + 767B61AC1972D488004E0C3C /* SUGuidedPackageInstaller.h in Headers */, + 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */, + 618FA5010DAE88B40026945C /* SUInstaller.h in Headers */, + 55C14F06136EF6DB00649790 /* SULog.h in Headers */, + 618FA5220DAE8E8A0026945C /* SUPackageInstaller.h in Headers */, + 6102FE460E077FCE00F85D09 /* SUPipedUnarchiver.h in Headers */, + 618FA5050DAE8AB80026945C /* SUPlainInstaller.h in Headers */, + 61299A4A09CA2DD000B7442F /* SUPlainInstallerInternals.h in Headers */, + 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */, + 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */, + 61A225A40D1C4AC000430CCD /* SUStandardVersionComparator.h in Headers */, + 6196CFF909C72148000DC222 /* SUStatusController.h in Headers */, + 61A2279C0D1CEE7600430CCD /* SUSystemProfiler.h in Headers */, + 61B93A3C0DD02D7000DCD2F8 /* SUUIBasedUpdateDriver.h in Headers */, + 61299A8D09CA790200B7442F /* SUUnarchiver.h in Headers */, + 6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */, + 61B5FCDF09C52A9F00B25A18 /* SUUpdateAlert.h in Headers */, + 610134730DD250470049ACDF /* SUUpdateDriver.h in Headers */, + 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */, + 61B5F8ED09C4CE3C00B25A18 /* SUUpdater.h in Headers */, + 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, + 61A354550DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h in Headers */, + 61A2259E0D1C495D00430CCD /* SUVersionComparisonProtocol.h in Headers */, + 3772FEA913DE0B6B00F79537 /* SUVersionDisplayProtocol.h in Headers */, + 61180BCA0D64138900B4E0D1 /* SUWindowController.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ -/* Begin PBXNativeTarget section */ - 55C14BB6136EEF1500649790 /* finish_installation */ = { - isa = PBXNativeTarget; - buildConfigurationList = 55C14BBE136EEF1500649790 /* Build configuration list for PBXNativeTarget "finish_installation" */; +/* Begin PBXLegacyTarget section */ + 1420DF491962329200203BB0 /* Documentation */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "\"$(SRCROOT)/Documentation/build-docs.sh\" $(ACTION)"; + buildConfigurationList = 1420DF4A1962329200203BB0 /* Build configuration list for PBXLegacyTarget "Documentation" */; buildPhases = ( - 94059A9A1648D5960094BDCF /* Resources */, + ); + buildToolPath = bash; + buildWorkingDirectory = ""; + dependencies = ( + ); + name = Documentation; + passBuildSettingsInEnvironment = 1; + productName = Documentation; + }; + 14732BC51960F69300593899 /* Distribution */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(SRCROOT)/Configurations/make-release-package.sh $(ACTION)"; + buildConfigurationList = 14732BC61960F69300593899 /* Build configuration list for PBXLegacyTarget "Distribution" */; + buildPhases = ( + ); + buildToolPath = bash; + buildWorkingDirectory = ""; + dependencies = ( + 14732BCB1960F73500593899 /* PBXTargetDependency */, + 1454BA1619637EDB00344E57 /* PBXTargetDependency */, + 14732BCF1960F73500593899 /* PBXTargetDependency */, + 1454BA1819637EE900344E57 /* PBXTargetDependency */, + ); + name = Distribution; + passBuildSettingsInEnvironment = 1; + productName = Distribution; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXNativeTarget section */ + 55C14BB6136EEF1500649790 /* Autoupdate */ = { + isa = PBXNativeTarget; + buildConfigurationList = 55C14BBE136EEF1500649790 /* Build configuration list for PBXNativeTarget "Autoupdate" */; + buildPhases = ( + 55C14BB3136EEF1500649790 /* Resources */, 55C14BB4136EEF1500649790 /* Sources */, 55C14BB5136EEF1500649790 /* Frameworks */, + 14652F7B19A945D600959E44 /* Run Script: Set Git Version Info */, ); buildRules = ( ); dependencies = ( ); - name = finish_installation; - productName = finish_installation; - productReference = 55C14BB7136EEF1500649790 /* finish_installation.app */; + name = Autoupdate; + productName = Autoupdate; + productReference = 55C14BB7136EEF1500649790 /* Autoupdate.app */; productType = "com.apple.product-type.application"; }; 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */ = { @@ -936,7 +1120,6 @@ buildPhases = ( 5D06E8CD0FD68C7C005AE3F6 /* Sources */, 5D06E8CE0FD68C7C005AE3F6 /* Frameworks */, - 5D06E90D0FD68DA3005AE3F6 /* Fix Install Name */, ); buildRules = ( ); @@ -952,9 +1135,10 @@ isa = PBXNativeTarget; buildConfigurationList = 612279DD0DB5470300AB99EA /* Build configuration list for PBXNativeTarget "Sparkle Unit Tests" */; buildPhases = ( - 612279D40DB5470200AB99EA /* Resources */, 612279D50DB5470200AB99EA /* Sources */, 612279D60DB5470200AB99EA /* Frameworks */, + 14958C6D19AEBC890061B14F /* Resources */, + 142E0E0119A6A13300E4312B /* CopyFiles */, 612279D70DB5470200AB99EA /* ShellScript */, ); buildRules = ( @@ -964,8 +1148,8 @@ ); name = "Sparkle Unit Tests"; productName = "Sparkle Unit Tests"; - productReference = 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */; - productType = "com.apple.product-type.bundle.ocunit-test"; + productReference = 612279D90DB5470200AB99EA /* Sparkle Unit Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; }; 61B5F90109C4CEE200B25A18 /* Sparkle Test App */ = { isa = PBXNativeTarget; @@ -974,9 +1158,7 @@ 61B5F8FE09C4CEE200B25A18 /* Resources */, 61B5F8FF09C4CEE200B25A18 /* Sources */, 61B5F90009C4CEE200B25A18 /* Frameworks */, - 61B5FB4D09C4E9FA00B25A18 /* CopyFiles */, - 22760C6C183F5EB90047AABB /* CopyFiles */, - 22760C6F183F78AB0047AABB /* Sign framework and XPC service */, + 61B5FB4D09C4E9FA00B25A18 /* Copy Frameworks */, ); buildRules = ( ); @@ -988,32 +1170,16 @@ productReference = 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */; productType = "com.apple.product-type.application"; }; - 8B887B5D1517F3AB000BB292 /* sandbox_service */ = { - isa = PBXNativeTarget; - buildConfigurationList = 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */; - buildPhases = ( - 8B887B5A1517F3AB000BB292 /* Sources */, - 8B887B5B1517F3AB000BB292 /* Frameworks */, - 8B887B5C1517F3AB000BB292 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = sandbox_service; - productName = Update; - productReference = 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */; - productType = "com.apple.product-type.bundle"; - }; 8DC2EF4F0486A6940098B216 /* Sparkle */ = { isa = PBXNativeTarget; buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "Sparkle" */; buildPhases = ( 8DC2EF500486A6940098B216 /* Headers */, - 94059A901648D5660094BDCF /* Resources */, + 8DC2EF520486A6940098B216 /* Resources */, + 142E0E0319A6A24100E4312B /* CopyFiles */, 8DC2EF540486A6940098B216 /* Sources */, 8DC2EF560486A6940098B216 /* Frameworks */, - 6131B1910DDCDE32005215F0 /* Run Script: Set git Version Info */, + 6131B1910DDCDE32005215F0 /* Run Script: Set Git Version Info */, 6195D4B40E40505A00D41A50 /* Run Script: Link fr_CA to fr */, 61E31A85103299750051D188 /* Run Script: Link pt to pt_BR */, ); @@ -1021,7 +1187,6 @@ ); dependencies = ( 55C14F97136F044100649790 /* PBXTargetDependency */, - 8B887B741517F472000BB292 /* PBXTargetDependency */, ); name = Sparkle; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -1035,14 +1200,12 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0610; + CLASSPREFIX = SU; + LastUpgradeCheck = 0630; + ORGANIZATIONNAME = "Sparkle Project"; TargetAttributes = { - 61B5F90109C4CEE200B25A18 = { - SystemCapabilities = { - com.apple.Sandbox = { - enabled = 1; - }; - }; + 612279D80DB5470200AB99EA = { + TestTargetID = 8DC2EF4F0486A6940098B216; }; }; }; @@ -1090,10 +1253,8 @@ sl, uk, ar, + nb, el, - "pt-PT", - "zh-Hant", - "zh-Hans", ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -1104,17 +1265,34 @@ 61B5F90109C4CEE200B25A18 /* Sparkle Test App */, 612279D80DB5470200AB99EA /* Sparkle Unit Tests */, 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */, - 55C14BB6136EEF1500649790 /* finish_installation */, - 8B887B5D1517F3AB000BB292 /* sandbox_service */, + 55C14BB6136EEF1500649790 /* Autoupdate */, + 14732BC51960F69300593899 /* Distribution */, + 1420DF491962329200203BB0 /* Documentation */, + 1495005F195FB89400BC5B5B /* All */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 612279D40DB5470200AB99EA /* Resources */ = { + 14958C6D19AEBC890061B14F /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 14958C6E19AEBC950061B14F /* signed-test-file.txt in Resources */, + F8761EB31ADC50EB000C9034 /* SparkleTestCodeSignApp.zip in Resources */, + 5AF6C1E91AE86E270014A3AB /* test archive.zip in Resources */, + 14958C6F19AEBC980061B14F /* test-pubkey.pem in Resources */, + 5AF6C74F1AEA46D10014A3AB /* test.sparkle_guided.pkg in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 55C14BB3136EEF1500649790 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1420DF51196247F900203BB0 /* Images.xcassets in Resources */, + 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */, + 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1122,77 +1300,43 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 1420DF50196247F900203BB0 /* Images.xcassets in Resources */, 61B5F92E09C4CFD800B25A18 /* InfoPlist.strings in Resources */, - 61B5F92F09C4CFD800B25A18 /* MainMenu.nib in Resources */, - 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */, - 618E9CFD0E7328F1004646D8 /* dsa_pub.pem in Resources */, + 61B5F92F09C4CFD800B25A18 /* MainMenu.xib in Resources */, + 14732BC01960F2C200593899 /* test_app_only_dsa_pub.pem in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 8B887B5C1517F3AB000BB292 /* Resources */ = { + 8DC2EF520486A6940098B216 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 94059A901648D5660094BDCF /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 94059A991648D58D0094BDCF /* finish_installation.app in Resources */, - 94059A911648D5880094BDCF /* SUModelTranslation.plist in Resources */, - 94059A921648D5880094BDCF /* License.txt in Resources */, - 94059A931648D5880094BDCF /* Sparkle.strings in Resources */, - 94059A941648D5880094BDCF /* SUUpdatePermissionPrompt.xib in Resources */, - 94059A951648D5880094BDCF /* SUUpdateAlert.xib in Resources */, - 94059A961648D5880094BDCF /* SUAutomaticUpdateAlert.xib in Resources */, - 94059A971648D5880094BDCF /* SUStatus.xib in Resources */, - 94059A981648D5880094BDCF /* SUPasswordPrompt.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 94059A9A1648D5960094BDCF /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 94059A9D1648D5AC0094BDCF /* Sparkle.icns in Resources */, - 94059A9C1648D5AA0094BDCF /* Sparkle.strings in Resources */, - 94059A9B1648D5A70094BDCF /* SUStatus.xib in Resources */, + 61AAE8280A321A7F00D8810D /* Sparkle.strings in Resources */, + 55C14BEE136EF20D00649790 /* SUAutomaticUpdateAlert.xib in Resources */, + 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */, + 55C14BEF136EF21700649790 /* SUStatus.xib in Resources */, + 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, + 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 22760C6F183F78AB0047AABB /* Sign framework and XPC service */ = { + 14652F7B19A945D600959E44 /* Run Script: Set Git Version Info */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Sign framework and XPC service"; + name = "Run Script: Set Git Version Info"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "codesign --verbose=2 --deep --force --identifier org.andymatuschak.Sparkle $OTHER_CODE_SIGN_FLAGS --sign \"$CODE_SIGN_IDENTITY\" \"$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/Sparkle.framework\"\n\ncodesign --verbose=2 --deep --force --identifier com.andymatuschak.Sparkle.SandboxService $OTHER_CODE_SIGN_FLAGS --sign \"$CODE_SIGN_IDENTITY\" \"$BUILT_PRODUCTS_DIR/$XPCSERVICES_FOLDER_PATH/com.andymatuschak.Sparkle.SandboxService.xpc\"\n\n\n"; - }; - 5D06E90D0FD68DA3005AE3F6 /* Fix Install Name */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Fix Install Name"; - outputPaths = ( - "$(CONFIGURATION_BUILD_DIR)/BinaryDelta", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "install_name_tool -change \"@loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle\" \"@loader_path/Sparkle.framework/Versions/A/Sparkle\" \"${CONFIGURATION_BUILD_DIR}/BinaryDelta\""; + shellScript = "\"$SRCROOT/Configurations/set-git-version-info.sh\""; + showEnvVarsInLog = 0; }; 612279D70DB5470200AB99EA /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -1208,19 +1352,19 @@ shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; showEnvVarsInLog = 0; }; - 6131B1910DDCDE32005215F0 /* Run Script: Set git Version Info */ = { + 6131B1910DDCDE32005215F0 /* Run Script: Set Git Version Info */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 12; files = ( ); inputPaths = ( ); - name = "Run Script: Set git Version Info"; + name = "Run Script: Set Git Version Info"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; - shellPath = "/usr/bin/env ruby"; - shellScript = "# Xcode auto-versioning script for Subversion\n# by Axel Andersson, modified by Daniel Jalkut to add\n# \"--revision HEAD\" to the svn info line, which allows\n# the latest revision to always be used.\n\nif ENV[\"BUILT_PRODUCTS_DIR\"].nil?\n\tSTDERR.print \"#{$0}: Must be run from Xcode!\"\n\texit(1)\nend\n\n# Get the current Git master hash and use it to set the CFBundleVersion value\nENV[\"PATH\"] = \"/bin:/sw/bin:/usr/local/git/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/local/bin\"\nexit(0) if `type git` == \"\"\nrev = `/usr/bin/env git show-ref --abbrev heads/master`\ninfo = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources/Info.plist\"\nversion = rev.split(\" \")[0]\n\nif version.nil?\n\tSTDERR.print \"#{$0}: Can't find a Git hash!\"\n\texit(0)\nend\n\ninfo_contents = File.read(info)\nif info_contents.nil?\n\tSTDERR.print \"#{$0}: Can't read in the Info.plist file!\"\n\texit(1)\nend\n\ninfo_contents.sub!(/([\\t ]+CFBundleVersion<\\/key>\\n[\\t ]+).*?(<\\/string>)/, '\\1' + version + '\\2')\nSTDERR.print info_contents\nf = File.open(info, \"w\")\nf.write(info_contents)\nf.close"; + shellPath = /bin/sh; + shellScript = "\"$SRCROOT/Configurations/set-git-version-info.sh\""; showEnvVarsInLog = 0; }; 6195D4B40E40505A00D41A50 /* Run Script: Link fr_CA to fr */ = { @@ -1229,13 +1373,16 @@ files = ( ); inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/fr.lproj", ); name = "Run Script: Link fr_CA to fr"; outputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/fr_CA.lproj", ); runOnlyForDeploymentPostprocessing = 0; - shellPath = "/usr/bin/env ruby"; - shellScript = "resources = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources\"\n`ln -sfh \"fr.lproj\" \"#{resources}/fr_CA.lproj\"`"; + shellPath = "/usr/bin/env sh"; + shellScript = "ln -sfh \"fr.lproj\" \"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/fr_CA.lproj\""; + showEnvVarsInLog = 0; }; 61E31A85103299750051D188 /* Run Script: Link pt to pt_BR */ = { isa = PBXShellScriptBuildPhase; @@ -1243,13 +1390,16 @@ files = ( ); inputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/pt_BR.lproj", ); name = "Run Script: Link pt to pt_BR"; outputPaths = ( + "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/pt.lproj", ); runOnlyForDeploymentPostprocessing = 0; - shellPath = "/usr/bin/env ruby"; - shellScript = "resources = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"WRAPPER_NAME\"]}/Resources\"\n`ln -sfh \"pt_BR.lproj\" \"#{resources}/pt.lproj\"`"; + shellPath = "/usr/bin/env sh"; + shellScript = "ln -sfh \"pt_BR.lproj\" \"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/pt.lproj\""; + showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -1258,18 +1408,20 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 55C14BD4136EEFCE00649790 /* finish_installation.m in Sources */, + 55C14BD4136EEFCE00649790 /* Autoupdate.m in Sources */, + F8761EB61ADC5E7A000C9034 /* SUCodeSigningVerifier.m in Sources */, 55C14F00136EF6B700649790 /* SUConstants.m in Sources */, - 55C14F08136EF6DB00649790 /* SULog.m in Sources */, + 767B61AE1972D488004E0C3C /* SUGuidedPackageInstaller.m in Sources */, 55C14F0C136EF6EA00649790 /* SUHost.m in Sources */, 55C14F0D136EF6F200649790 /* SUInstaller.m in Sources */, - 55C14F20136EF84300649790 /* SUStatusController.m in Sources */, - 55C14F21136EF84D00649790 /* SUPlainInstaller.m in Sources */, - 55C14F22136EF86000649790 /* SUStandardVersionComparator.m in Sources */, - 55C14F23136EF86700649790 /* SUSystemProfiler.m in Sources */, + 55C14F08136EF6DB00649790 /* SULog.m in Sources */, 55C14F24136EF86F00649790 /* SUPackageInstaller.m in Sources */, - 55C14F2A136EF9A900649790 /* SUWindowController.m in Sources */, + 55C14F21136EF84D00649790 /* SUPlainInstaller.m in Sources */, 55C14F7E136F005000649790 /* SUPlainInstallerInternals.m in Sources */, + 55C14F22136EF86000649790 /* SUStandardVersionComparator.m in Sources */, + 55C14F20136EF84300649790 /* SUStatusController.m in Sources */, + 55C14F23136EF86700649790 /* SUSystemProfiler.m in Sources */, + 55C14F2A136EF9A900649790 /* SUWindowController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1278,6 +1430,11 @@ buildActionMask = 2147483647; files = ( 5D06E8E90FD68CDB005AE3F6 /* bsdiff.c in Sources */, + 14652F7E19A9728A00959E44 /* bspatch.c in Sources */, + 7223E7631AD1AEFF008E3161 /* sais.c in Sources */, + 14652F7D19A9726700959E44 /* SUBinaryDeltaApply.m in Sources */, + 14652F7C19A9725300959E44 /* SUBinaryDeltaCommon.m in Sources */, + 7268AC631AD634C200C3E0C1 /* SUBinaryDeltaCreate.m in Sources */, 5D06E8EA0FD68CDB005AE3F6 /* SUBinaryDeltaTool.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1286,7 +1443,16 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 61227A160DB548B800AB99EA /* SUVersionComparisonTest.m in Sources */, + 721CF1A71AD7643600D9AC09 /* bsdiff.c in Sources */, + 721CF1A81AD7644100D9AC09 /* bspatch.c in Sources */, + 721CF1A91AD7644C00D9AC09 /* sais.c in Sources */, + 72D4DAA11AD7632900B211E2 /* SUBinaryDeltaCreate.m in Sources */, + 142E0E0919A83AAC00E4312B /* SUBinaryDeltaTest.m in Sources */, + F8761EB11ADC5068000C9034 /* SUCodeSigningVerifierTest.m in Sources */, + 5AF9DC3C1981DBEE001EA135 /* SUDSAVerifierTest.m in Sources */, + 5AF6C7541AEA49840014A3AB /* SUInstallerTest.m in Sources */, + 14652F8219A9746000959E44 /* SULog.m in Sources */, + 5AF6C1E51AE86A410014A3AB /* SUPipedUnarchiverTest.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1298,70 +1464,99 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 8B887B5A1517F3AB000BB292 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */, - 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */, - 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */, - 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */, - 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */, - 8B887B891517FB3E000BB292 /* SULog.m in Sources */, - 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 8DC2EF540486A6940098B216 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 61B5F8EE09C4CE3C00B25A18 /* SUUpdater.m in Sources */, - 61B5F8EF09C4CE3C00B25A18 /* SUPlainInstallerInternals.m in Sources */, + 5D06E8EB0FD68CE4005AE3F6 /* bspatch.c in Sources */, + 610EC1E00CF3A5FE00AE239E /* NTSynchronousTask.m in Sources */, 61B5FBB709C4FAFF00B25A18 /* SUAppcast.m in Sources */, 61B5FC6F09C51F4900B25A18 /* SUAppcastItem.m in Sources */, - 61B5FCDE09C52A9F00B25A18 /* SUUpdateAlert.m in Sources */, - 6196CFFA09C72149000DC222 /* SUStatusController.m in Sources */, - 61299A3009CA2DAB00B7442F /* SUDSAVerifier.m in Sources */, - 61299A6009CA6EB100B7442F /* SUConstants.m in Sources */, - 61299A8E09CA790200B7442F /* SUUnarchiver.m in Sources */, 6120721309CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m in Sources */, - 610EC1E00CF3A5FE00AE239E /* NTSynchronousTask.m in Sources */, - 61A225A50D1C4AC000430CCD /* SUStandardVersionComparator.m in Sources */, - 61A2279D0D1CEE7600430CCD /* SUSystemProfiler.m in Sources */, - 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */, - 61180BCB0D64138900B4E0D1 /* SUWindowController.m in Sources */, - 618FA5020DAE88B40026945C /* SUInstaller.m in Sources */, - 618FA5060DAE8AB80026945C /* SUPlainInstaller.m in Sources */, - 618FA5230DAE8E8A0026945C /* SUPackageInstaller.m in Sources */, - 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */, - 61B93A3D0DD02D7000DCD2F8 /* SUUIBasedUpdateDriver.m in Sources */, 61B93B280DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m in Sources */, - 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */, - 610134740DD250470049ACDF /* SUUpdateDriver.m in Sources */, - 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */, - 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */, - 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */, - 6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */, - 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */, - 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */, - 5D06E8EB0FD68CE4005AE3F6 /* bspatch.c in Sources */, + 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */, 5D06E8EC0FD68CE4005AE3F6 /* SUBinaryDeltaApply.m in Sources */, 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */, 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */, - 55C14F07136EF6DB00649790 /* SULog.m in Sources */, - 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */, - 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */, 61B078CF15A5FB6100600039 /* SUCodeSigningVerifier.m in Sources */, + 61299A6009CA6EB100B7442F /* SUConstants.m in Sources */, + 6102FE4B0E07803800F85D09 /* SUDiskImageUnarchiver.m in Sources */, + 61299A3009CA2DAB00B7442F /* SUDSAVerifier.m in Sources */, + 767B61AD1972D488004E0C3C /* SUGuidedPackageInstaller.m in Sources */, + 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */, + 618FA5020DAE88B40026945C /* SUInstaller.m in Sources */, + 55C14F07136EF6DB00649790 /* SULog.m in Sources */, + 618FA5230DAE8E8A0026945C /* SUPackageInstaller.m in Sources */, + 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */, + 618FA5060DAE8AB80026945C /* SUPlainInstaller.m in Sources */, + 61B5F8EF09C4CE3C00B25A18 /* SUPlainInstallerInternals.m in Sources */, + 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */, + 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */, + 61A225A50D1C4AC000430CCD /* SUStandardVersionComparator.m in Sources */, + 6196CFFA09C72149000DC222 /* SUStatusController.m in Sources */, + 61A2279D0D1CEE7600430CCD /* SUSystemProfiler.m in Sources */, + 61B93A3D0DD02D7000DCD2F8 /* SUUIBasedUpdateDriver.m in Sources */, + 61299A8E09CA790200B7442F /* SUUnarchiver.m in Sources */, + 61B5FCDE09C52A9F00B25A18 /* SUUpdateAlert.m in Sources */, + 610134740DD250470049ACDF /* SUUpdateDriver.m in Sources */, + 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */, + 61B5F8EE09C4CE3C00B25A18 /* SUUpdater.m in Sources */, + 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */, + 61180BCB0D64138900B4E0D1 /* SUWindowController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 1454BA1619637EDB00344E57 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 61B5F90109C4CEE200B25A18 /* Sparkle Test App */; + targetProxy = 1454BA1519637EDB00344E57 /* PBXContainerItemProxy */; + }; + 1454BA1819637EE900344E57 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1420DF491962329200203BB0 /* Documentation */; + targetProxy = 1454BA1719637EE900344E57 /* PBXContainerItemProxy */; + }; + 14732BCB1960F73500593899 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8DC2EF4F0486A6940098B216 /* Sparkle */; + targetProxy = 14732BCA1960F73500593899 /* PBXContainerItemProxy */; + }; + 14732BCF1960F73500593899 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */; + targetProxy = 14732BCE1960F73500593899 /* PBXContainerItemProxy */; + }; + 14950064195FB8A600BC5B5B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8DC2EF4F0486A6940098B216 /* Sparkle */; + targetProxy = 14950063195FB8A600BC5B5B /* PBXContainerItemProxy */; + }; + 14950066195FB8A600BC5B5B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 61B5F90109C4CEE200B25A18 /* Sparkle Test App */; + targetProxy = 14950065195FB8A600BC5B5B /* PBXContainerItemProxy */; + }; + 14950068195FB8A600BC5B5B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 612279D80DB5470200AB99EA /* Sparkle Unit Tests */; + targetProxy = 14950067195FB8A600BC5B5B /* PBXContainerItemProxy */; + }; + 1495006A195FB8A600BC5B5B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */; + targetProxy = 14950069195FB8A600BC5B5B /* PBXContainerItemProxy */; + }; + 1495006C195FB8A600BC5B5B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 55C14BB6136EEF1500649790 /* Autoupdate */; + targetProxy = 1495006B195FB8A600BC5B5B /* PBXContainerItemProxy */; + }; 55C14F97136F044100649790 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 55C14BB6136EEF1500649790 /* finish_installation */; + target = 55C14BB6136EEF1500649790 /* Autoupdate */; targetProxy = 55C14F96136F044100649790 /* PBXContainerItemProxy */; }; 5D06E8D60FD68C86005AE3F6 /* PBXTargetDependency */ = { @@ -1379,20 +1574,17 @@ target = 8DC2EF4F0486A6940098B216 /* Sparkle */; targetProxy = 61FA528C0E2D9EB200EF58AD /* PBXContainerItemProxy */; }; - 8B887B741517F472000BB292 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8B887B5D1517F3AB000BB292 /* sandbox_service */; - targetProxy = 8B887B731517F472000BB292 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */ = { isa = PBXVariantGroup; children = ( + 6149E6ED1601ABAC008A351E /* ar */, 55C14BDB136EF20D00649790 /* cs */, 55C14BDC136EF20D00649790 /* da */, 55C14BDD136EF20D00649790 /* de */, + 555CF29B196C523E0000B31E /* el */, 55C14BDE136EF20D00649790 /* en */, 55C14BDF136EF20D00649790 /* es */, 55C14BE0136EF20D00649790 /* fr */, @@ -1400,21 +1592,21 @@ 55C14BE2136EF20D00649790 /* it */, 55C14BE3136EF20D00649790 /* ja */, 55C14BE4136EF20D00649790 /* ko */, + 4607BEA31948443800EF8DA4 /* nb */, 55C14BE5136EF20D00649790 /* nl */, 55C14BE6136EF20D00649790 /* pl */, 55C14BE7136EF20D00649790 /* pt_BR */, + 6158A1BA1378F68100487EC1 /* pt_PT */, + 004A8653192A492B00C9730D /* ro */, 55C14BE9136EF20D00649790 /* ru */, 55C14BEA136EF20D00649790 /* sk */, + 61BA66DA14BDFC5500D02D86 /* sl */, 55C14BEB136EF20D00649790 /* sv */, + 61F3AC1415C22D5900260CA2 /* th */, + 6158A1BE1378F8BB00487EC1 /* tr */, + 0263187514FEBB42005EBF43 /* uk */, 55C14BEC136EF20D00649790 /* zh_CN */, 55C14BED136EF20D00649790 /* zh_TW */, - 6158A1BA1378F68100487EC1 /* pt_PT */, - 6158A1BE1378F8BB00487EC1 /* tr */, - 61DEC11C1477568300931268 /* ro */, - 61BA66DA14BDFC5500D02D86 /* sl */, - 0263187514FEBB42005EBF43 /* uk */, - 61F3AC1415C22D5900260CA2 /* th */, - 6149E6ED1601ABAC008A351E /* ar */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1422,9 +1614,11 @@ 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */ = { isa = PBXVariantGroup; children = ( + 6149E6EF1601ABAC008A351E /* ar */, 55C14BF1136EF26100649790 /* cs */, 55C14BF2136EF26100649790 /* da */, 55C14BF3136EF26100649790 /* de */, + 555CF29C196C52460000B31E /* el */, 55C14BF4136EF26100649790 /* en */, 55C14BF5136EF26100649790 /* es */, 55C14BF6136EF26100649790 /* fr */, @@ -1432,21 +1626,21 @@ 55C14BF8136EF26100649790 /* it */, 55C14BF9136EF26100649790 /* ja */, 55C14BFA136EF26100649790 /* ko */, + 4607BEA41948443800EF8DA4 /* nb */, 55C14BFB136EF26100649790 /* nl */, 55C14BFC136EF26100649790 /* pl */, 55C14BFD136EF26100649790 /* pt_BR */, + 6158A1BB1378F68100487EC1 /* pt_PT */, + 004A8654192A492B00C9730D /* ro */, 55C14BFF136EF26100649790 /* ru */, 55C14C00136EF26100649790 /* sk */, + 61BA66DB14BDFC5500D02D86 /* sl */, 55C14C01136EF26100649790 /* sv */, + 61F3AC1615C22D5900260CA2 /* th */, + 6158A1BF1378F8BB00487EC1 /* tr */, + 0263187614FEBB42005EBF43 /* uk */, 55C14C02136EF26100649790 /* zh_CN */, 55C14C03136EF26100649790 /* zh_TW */, - 6158A1BB1378F68100487EC1 /* pt_PT */, - 6158A1BF1378F8BB00487EC1 /* tr */, - 61DEC11A1477567800931268 /* ro */, - 61BA66DB14BDFC5500D02D86 /* sl */, - 0263187614FEBB42005EBF43 /* uk */, - 61F3AC1615C22D5900260CA2 /* th */, - 6149E6EF1601ABAC008A351E /* ar */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1454,9 +1648,11 @@ 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */ = { isa = PBXVariantGroup; children = ( + 6149E6F01601ABAC008A351E /* ar */, 55C14C06136EF2C700649790 /* cs */, 55C14C07136EF2C700649790 /* da */, 55C14C08136EF2C700649790 /* de */, + 555CF29D196C524C0000B31E /* el */, 55C14C09136EF2C700649790 /* en */, 55C14C0A136EF2C700649790 /* es */, 55C14C0B136EF2C700649790 /* fr */, @@ -1464,25 +1660,59 @@ 55C14C0D136EF2C700649790 /* it */, 55C14C0E136EF2C700649790 /* ja */, 55C14C0F136EF2C700649790 /* ko */, + 4607BEA51948443800EF8DA4 /* nb */, 55C14C10136EF2C700649790 /* nl */, 55C14C11136EF2C700649790 /* pl */, 55C14C12136EF2C700649790 /* pt_BR */, + 6158A1B81378F64700487EC1 /* pt_PT */, + 004A8655192A492B00C9730D /* ro */, 55C14C14136EF2C700649790 /* ru */, 55C14C15136EF2C700649790 /* sk */, + 61BA66DC14BDFC5500D02D86 /* sl */, 55C14C16136EF2C700649790 /* sv */, + 61F3AC1715C22D5900260CA2 /* th */, + 6158A1C01378F8BB00487EC1 /* tr */, + 0263187714FEBB42005EBF43 /* uk */, 55C14C17136EF2C700649790 /* zh_CN */, 55C14C18136EF2C700649790 /* zh_TW */, - 6158A1B81378F64700487EC1 /* pt_PT */, - 6158A1C01378F8BB00487EC1 /* tr */, - 61DEC1181477566800931268 /* ro */, - 61BA66DC14BDFC5500D02D86 /* sl */, - 0263187714FEBB42005EBF43 /* uk */, - 61F3AC1715C22D5900260CA2 /* th */, - 6149E6F01601ABAC008A351E /* ar */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; }; + 61AAE8220A321A7F00D8810D /* Sparkle.strings */ = { + isa = PBXVariantGroup; + children = ( + 6149E6EA1601ABAC008A351E /* ar */, + 615409C4103BBC4000125AF1 /* cs */, + 61131A050F846CE600E97AF6 /* da */, + 619B17200E1E9D0800E72754 /* de */, + 555CF29A196C52330000B31E /* el */, + 61AAE8230A321A7F00D8810D /* en */, + 61AAE84F0A321AF700D8810D /* es */, + 61AAE8590A321B0400D8810D /* fr */, + 613151B20FB4946A000DCD59 /* is */, + 61F614540E24A12D009F47E7 /* it */, + 611A904610240DF700CC659E /* ja */, + FE5536F517A2C6A7007CB333 /* ko */, + 4607BEA21948443800EF8DA4 /* nb */, + 61AAE8710A321F7700D8810D /* nl */, + 611A904210240DD300CC659E /* pl */, + 61E31A80103299500051D188 /* pt_BR */, + 6186554310D7484E00B1E074 /* pt_PT */, + 004A8652192A492B00C9730D /* ro */, + 6195D4920E404AD700D41A50 /* ru */, + FE5536F617A2C6AB007CB333 /* sk */, + 61BA66CC14BDFA0400D02D86 /* sl */, + 618915730E35937600B5E981 /* sv */, + 61F3AC1215C22D4A00260CA2 /* th */, + 5AEF45D9189D1CC90030D7DC /* tr */, + 0263187214FEBB31005EBF43 /* uk */, + 61131A090F846D0A00E97AF6 /* zh_CN */, + 61131A0A0F846D1100E97AF6 /* zh_TW */, + ); + name = Sparkle.strings; + sourceTree = ""; + }; 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( @@ -1491,76 +1721,59 @@ name = InfoPlist.strings; sourceTree = ""; }; - 61B5F92C09C4CFD800B25A18 /* MainMenu.nib */ = { + 61B5F92C09C4CFD800B25A18 /* MainMenu.xib */ = { isa = PBXVariantGroup; children = ( 61B5F92D09C4CFD800B25A18 /* English */, ); - name = MainMenu.nib; - sourceTree = ""; - }; - 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */ = { - isa = PBXVariantGroup; - children = ( - 93FB277E156BD826001937C7 /* en */, - 6113C9D315BE1D3600C303E7 /* pt_BR */, - 61F3AC1515C22D5900260CA2 /* th */, - 6149E6EE1601ABAC008A351E /* ar */, - 61B26BF817B2F76600F99C77 /* da */, - ); - name = SUPasswordPrompt.xib; - sourceTree = ""; - }; - 946D995E1648708C00145DA7 /* Sparkle.strings */ = { - isa = PBXVariantGroup; - children = ( - 946D99631648709900145DA7 /* ca */, - 946D9965164870AA00145DA7 /* cs */, - 946D9966164870AA00145DA7 /* cy */, - 946D9967164870AA00145DA7 /* da */, - 946D996A164870BC00145DA7 /* de */, - 946D996B164870BC00145DA7 /* el */, - 946D996C164870BC00145DA7 /* en */, - 946D996D164870C900145DA7 /* es */, - 946D996E164870C900145DA7 /* fi */, - 946D996F164870C900145DA7 /* fr */, - 946D9970164870C900145DA7 /* he */, - 946D9971164870C900145DA7 /* hu */, - 946D9973164870D400145DA7 /* id */, - 946D9974164870D500145DA7 /* is */, - 946D9975164870D500145DA7 /* it */, - 946D9976164870D500145DA7 /* ja */, - 946D9977164870D500145DA7 /* ko */, - 945F7D69164870E7001E5600 /* nl */, - 945F7D6A164870E7001E5600 /* no */, - 945F7D6C164870EE001E5600 /* pl */, - 945F7D6D164870F3001E5600 /* pt_BR */, - 945F7D6E16487104001E5600 /* ro */, - 945F7D6F1648710A001E5600 /* ru */, - 945F7D7016487113001E5600 /* sk */, - 945F7D7116487113001E5600 /* sl */, - 945F7D721648711D001E5600 /* sv */, - 945F7D731648711D001E5600 /* th */, - 945F7D7416487125001E5600 /* tr */, - 945F7D7516487125001E5600 /* uk */, - 945F7D7616487125001E5600 /* zh_CN */, - 945F7D7716487125001E5600 /* zh_TW */, - 94059A9E1648D6530094BDCF /* pt_PT */, - 94059AA01648D9BC0094BDCF /* ar */, - ); - name = Sparkle.strings; + name = MainMenu.xib; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 1420DF4B1962329200203BB0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Debug; + }; + 1420DF4C1962329200203BB0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Release; + }; + 14732BC71960F69300593899 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Debug; + }; + 14732BC81960F69300593899 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Release; + }; + 14950061195FB89500BC5B5B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 14950062195FB89500BC5B5B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; 1DEB91AE08733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INSTALL_PATH = "@rpath"; - SKIP_INSTALL = YES; }; name = Debug; }; @@ -1568,22 +1781,19 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - INSTALL_PATH = "@rpath"; - SKIP_INSTALL = YES; }; name = Release; }; 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941CF0D94A70100DD942E /* ConfigCommonDebug.xcconfig */; buildSettings = { - ONLY_ACTIVE_ARCH = YES; }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */; buildSettings = { }; name = Release; @@ -1592,23 +1802,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = finish_installation.pch; - INFOPLIST_FILE = "finish_installation-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = finish_installation; }; name = Debug; }; @@ -1616,23 +1809,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = finish_installation.pch; - INFOPLIST_FILE = "finish_installation-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = finish_installation; - ZERO_LINK = NO; }; name = Release; }; @@ -1654,7 +1830,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */; buildSettings = { - COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1662,7 +1837,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; buildSettings = { - COMBINE_HIDPI_IMAGES = YES; }; name = Release; }; @@ -1670,9 +1844,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */; buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Sparkle Test App.entitlements"; - CODE_SIGN_IDENTITY = "Developer ID Application"; - COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1680,38 +1851,39 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Sparkle Test App.entitlements"; - CODE_SIGN_IDENTITY = "Developer ID Application"; - COMBINE_HIDPI_IMAGES = YES; - }; - name = Release; - }; - 8B887B6B1517F3AC000BB292 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - INFOPLIST_FILE = SandboxService.plist; - OTHER_CFLAGS = "-DDEBUG"; - VALID_ARCHS = x86_64; - }; - name = Debug; - }; - 8B887B6C1517F3AC000BB292 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - INFOPLIST_FILE = SandboxService.plist; - VALID_ARCHS = x86_64; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 1420DF4A1962329200203BB0 /* Build configuration list for PBXLegacyTarget "Documentation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1420DF4B1962329200203BB0 /* Debug */, + 1420DF4C1962329200203BB0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 14732BC61960F69300593899 /* Build configuration list for PBXLegacyTarget "Distribution" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 14732BC71960F69300593899 /* Debug */, + 14732BC81960F69300593899 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 14950060195FB89500BC5B5B /* Build configuration list for PBXAggregateTarget "All" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 14950061195FB89500BC5B5B /* Debug */, + 14950062195FB89500BC5B5B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "Sparkle" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1730,7 +1902,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 55C14BBE136EEF1500649790 /* Build configuration list for PBXNativeTarget "finish_installation" */ = { + 55C14BBE136EEF1500649790 /* Build configuration list for PBXNativeTarget "Autoupdate" */ = { isa = XCConfigurationList; buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, @@ -1766,15 +1938,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8B887B6B1517F3AC000BB292 /* Debug */, - 8B887B6C1517F3AC000BB292 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 0867D690FE84028FC02AAC07 /* Project object */; diff --git a/Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..192f7326 --- /dev/null +++ b/Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Distribution.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Distribution.xcscheme new file mode 100644 index 00000000..d7da85d7 --- /dev/null +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Distribution.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme index ca315116..88c31579 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme @@ -33,7 +33,7 @@ diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Release).xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Release).xcscheme index f2bf146c..11a3ffe1 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Release).xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Release).xcscheme @@ -1,7 +1,7 @@ + version = "2.0"> @@ -20,34 +20,6 @@ ReferencedContainer = "container:Sparkle.xcodeproj"> - - - - - - - - @@ -70,28 +42,29 @@ @@ -103,8 +76,16 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" buildConfiguration = "Release" - ignoresPersistentStateOnLaunch = "YES" debugDocumentVersioning = "YES"> + + + + diff --git a/finish_installation-Info.plist b/Sparkle/Autoupdate/Autoupdate-Info.plist similarity index 79% rename from finish_installation-Info.plist rename to Sparkle/Autoupdate/Autoupdate-Info.plist index 966f0a34..dee39c1b 100644 --- a/finish_installation-Info.plist +++ b/Sparkle/Autoupdate/Autoupdate-Info.plist @@ -6,24 +6,22 @@ English CFBundleExecutable ${EXECUTABLE_NAME} - CFBundleIconFile - Sparkle CFBundleIdentifier - org.andymatuschak.sparkle.${PRODUCT_NAME:rfc1034identifier} + org.sparkle-project.Sparkle.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + ${CURRENT_PROJECT_VERSION} CFBundleSignature ???? CFBundleVersion - 1 + ${CURRENT_PROJECT_VERSION} LSBackgroundOnly 1 LSMinimumSystemVersion - 10.4 + ${MACOSX_DEPLOYMENT_TARGET} LSUIElement 1 NSMainNibFile diff --git a/Sparkle/Autoupdate/Autoupdate.m b/Sparkle/Autoupdate/Autoupdate.m new file mode 100644 index 00000000..11887adf --- /dev/null +++ b/Sparkle/Autoupdate/Autoupdate.m @@ -0,0 +1,210 @@ +#import +#import "SUInstaller.h" +#import "SUHost.h" +#import "SUStandardVersionComparator.h" +#import "SUStatusController.h" +#import "SUPlainInstallerInternals.h" +#import "SULog.h" + +#include + +/*! + * If the Installation takes longer than this time the Application Icon is shown in the Dock so that the user has some feedback. + */ +static const NSTimeInterval SUInstallationTimeLimit = 5; + +/*! + * Time this app uses to recheck if the parent has already died. + */ +static const NSTimeInterval SUParentQuitCheckInterval = .25; + +@interface TerminationListener : NSObject + +@property (copy) NSString *hostpath; +@property (copy) NSString *executablepath; +@property (assign) pid_t parentprocessid; +@property (copy) NSString *folderpath; + +@property (copy) NSString *selfPath; +@property (copy) NSString *installationPath; +@property (strong) NSTimer *watchdogTimer; +@property (strong) NSTimer *longInstallationTimer; +@property (strong) SUHost *host; +@property (assign) BOOL shouldRelaunch; +@property (assign) BOOL shouldShowUI; +@property (strong) SUStatusController *statusController; + +- (void)parentHasQuit; + +- (void)relaunch; +- (void)install; + +- (void)showAppIconInDock:(NSTimer *)aTimer; +- (void)watchdog:(NSTimer *)aTimer; + +@end + +@implementation TerminationListener + +@synthesize hostpath; +@synthesize executablepath; +@synthesize parentprocessid; +@synthesize folderpath; + +@synthesize selfPath; +@synthesize installationPath; +@synthesize watchdogTimer; +@synthesize longInstallationTimer; +@synthesize host; +@synthesize shouldRelaunch; +@synthesize shouldShowUI; +@synthesize statusController; + +- (instancetype)initWithHostPath:(NSString *)inhostpath executablePath:(NSString *)execpath parentProcessId:(pid_t)ppid folderPath:(NSString *)infolderpath shouldRelaunch:(BOOL)relaunch shouldShowUI:(BOOL)showUI selfPath:(NSString *)inSelfPath +{ + if (!(self = [super init])) { + return nil; + } + + self.hostpath = inhostpath; + self.executablepath = execpath; + self.parentprocessid = ppid; + self.folderpath = infolderpath; + self.selfPath = inSelfPath; + self.shouldRelaunch = relaunch; + self.shouldShowUI = showUI; + + BOOL alreadyTerminated = (getppid() == 1); // ppid is launchd (1) => parent terminated already + + if (alreadyTerminated) + [self parentHasQuit]; + else + self.watchdogTimer = [NSTimer scheduledTimerWithTimeInterval:SUParentQuitCheckInterval target:self selector:@selector(watchdog:) userInfo:nil repeats:YES]; + + return self; +} + + +- (void)dealloc +{ + [self.longInstallationTimer invalidate]; + [self.statusController close]; +} + + +- (void)parentHasQuit +{ + [self.watchdogTimer invalidate]; + self.longInstallationTimer = [NSTimer scheduledTimerWithTimeInterval:SUInstallationTimeLimit + target: self selector: @selector(showAppIconInDock:) + userInfo:nil repeats:NO]; + + if (self.folderpath) + [self install]; + else + [self relaunch]; +} + +- (void)watchdog:(NSTimer *)__unused aTimer +{ + if (![NSRunningApplication runningApplicationWithProcessIdentifier:self.parentprocessid]) { + [self parentHasQuit]; + } +} + +- (void)showAppIconInDock:(NSTimer *)__unused aTimer +{ + ProcessSerialNumber psn = { 0, kCurrentProcess }; + TransformProcessType(&psn, kProcessTransformToForegroundApplication); +} + + +- (void)relaunch __attribute__((noreturn)) +{ + if (self.shouldRelaunch) + { + NSString *appPath = nil; + if (!self.folderpath || ![self.executablepath isEqualToString:self.hostpath]) + appPath = self.executablepath; + else + appPath = self.installationPath; + [[NSWorkspace sharedWorkspace] openFile:appPath]; + } + + if (self.folderpath) + { + NSError *theError = nil; + if (![SUPlainInstaller _removeFileAtPath:[SUInstaller updateFolder] error:&theError]) + SULog(@"Couldn't remove update folder: %@.", theError); + } + [[NSFileManager defaultManager] removeItemAtPath:self.selfPath error:NULL]; + + exit(EXIT_SUCCESS); +} + + +- (void)install +{ + NSBundle *theBundle = [NSBundle bundleWithPath:self.hostpath]; + self.host = [[SUHost alloc] initWithBundle:theBundle]; + self.installationPath = [[self.host installationPath] copy]; + + if (self.shouldShowUI) { + SUStatusController *statusCtl = [[SUStatusController alloc] initWithHost:self.host]; // We quit anyway after we've installed, so leak this for now. + [statusCtl setButtonTitle:SULocalizedString(@"Cancel Update", @"") target:nil action:Nil isDefault:NO]; + [statusCtl beginActionWithTitle:SULocalizedString(@"Installing update...", @"") + maxProgressValue: 0 statusText: @""]; + [statusCtl showWindow:self]; + + [self.statusController close]; // If there's an existing status controller, close it before we release our strong reference to it. + self.statusController = statusCtl; // Keep a strong reference to the status controller, or else it might get prematurely deallocated. + } + + [SUInstaller installFromUpdateFolder:self.folderpath + overHost:self.host + installationPath:self.installationPath + versionComparator:[SUStandardVersionComparator defaultComparator] + completionHandler:^(NSError *error) { + if (error) { + if (self.shouldShowUI) { + NSRunAlertPanel(@"", @"%@", @"OK", @"", @"", [error localizedDescription]); + } + exit(EXIT_FAILURE); + } else { + [self relaunch]; + } + }]; +} + +@end + +int main(int __unused argc, const char __unused *argv[]) +{ + @autoreleasepool + { + NSArray *args = [[NSProcessInfo processInfo] arguments]; + if (args.count < 5 || args.count > 7) { + return EXIT_FAILURE; + } + + BOOL shouldShowUI = (args.count > 6) ? [args[6] boolValue] : YES; + if (shouldShowUI) { + [[NSApplication sharedApplication] activateIgnoringOtherApps:YES]; + } + + [NSApplication sharedApplication]; + TerminationListener *termListen = [[TerminationListener alloc] initWithHostPath:args[1] + executablePath:args[2] + parentProcessId:[args[3] intValue] + folderPath:args[4] + shouldRelaunch:(args.count > 5) ? [args[5] boolValue] : YES + shouldShowUI:shouldShowUI + selfPath:[[NSBundle mainBundle] bundlePath]]; + + [[NSApplication sharedApplication] run]; + // Ensure termListen is not deallocated by ARC before caling -[NSApplication run] + [termListen class]; + } + + return EXIT_SUCCESS; +} diff --git a/Sparkle/SUAppcast.h b/Sparkle/SUAppcast.h new file mode 100644 index 00000000..9e9acd5d --- /dev/null +++ b/Sparkle/SUAppcast.h @@ -0,0 +1,26 @@ +// +// SUAppcast.h +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAPPCAST_H +#define SUAPPCAST_H + +#import +#import "SUExport.h" + +@class SUAppcastItem; +SU_EXPORT @interface SUAppcast : NSObject + +@property (copy) NSString *userAgentString; +@property (copy) NSDictionary *httpHeaders; + +- (void)fetchAppcastFromURL:(NSURL *)url completionBlock:(void (^)(NSError *))err; + +@property (readonly, copy) NSArray *items; +@end + +#endif diff --git a/Sparkle/SUAppcast.m b/Sparkle/SUAppcast.m new file mode 100644 index 00000000..061aad52 --- /dev/null +++ b/Sparkle/SUAppcast.m @@ -0,0 +1,278 @@ +// +// SUAppcast.m +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" +#import "SUAppcast.h" +#import "SUConstants.h" +#import "SULog.h" + +@interface NSXMLElement (SUAppcastExtensions) +@property (readonly, copy) NSDictionary *attributesAsDictionary; +@end + +@implementation NSXMLElement (SUAppcastExtensions) +- (NSDictionary *)attributesAsDictionary +{ + NSEnumerator *attributeEnum = [[self attributes] objectEnumerator]; + NSMutableDictionary *dictionary = [NSMutableDictionary dictionary]; + + for (NSXMLNode *attribute in attributeEnum) { + dictionary[[attribute name]] = [attribute stringValue]; + } + return dictionary; +} +@end + +@interface SUAppcast () +@property (strong) void (^completionBlock)(NSError *); +@property (copy) NSString *downloadFilename; +@property (strong) NSURLDownload *download; +@property (copy) NSArray *items; +- (void)reportError:(NSError *)error; +- (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes; +@end + +@implementation SUAppcast + +@synthesize downloadFilename; +@synthesize completionBlock; +@synthesize userAgentString; +@synthesize httpHeaders; +@synthesize download; +@synthesize items; + +- (void)fetchAppcastFromURL:(NSURL *)url completionBlock:(void (^)(NSError *))block +{ + self.completionBlock = block; + + NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:30.0]; + if (self.userAgentString) { + [request setValue:self.userAgentString forHTTPHeaderField:@"User-Agent"]; + } + + if (self.httpHeaders) { + for (NSString *key in self.httpHeaders) { + id value = [self.httpHeaders objectForKey:key]; + [request setValue:value forHTTPHeaderField:key]; + } + } + + [request setValue:@"application/rss+xml,*/*;q=0.1" forHTTPHeaderField:@"Accept"]; + + self.download = [[NSURLDownload alloc] initWithRequest:request delegate:self]; +} + +- (void)download:(NSURLDownload *)__unused aDownload decideDestinationWithSuggestedFilename:(NSString *)filename +{ + NSString *destinationFilename = NSTemporaryDirectory(); + if (destinationFilename) + { + destinationFilename = [destinationFilename stringByAppendingPathComponent:filename]; + [self.download setDestination:destinationFilename allowOverwrite:NO]; + } +} + +- (void)download:(NSURLDownload *)__unused aDownload didCreateDestination:(NSString *)path +{ + self.downloadFilename = path; +} + +- (void)downloadDidFinish:(NSURLDownload *)__unused aDownload +{ + NSError *error = nil; + + NSXMLDocument *document = nil; + BOOL failed = NO; + NSArray *xmlItems = nil; + NSMutableArray *appcastItems = [NSMutableArray array]; + + if (self.downloadFilename) + { + NSUInteger options = 0; + options = NSXMLNodeLoadExternalEntitiesSameOriginOnly; + document = [[NSXMLDocument alloc] initWithContentsOfURL:[NSURL fileURLWithPath:self.downloadFilename] options:options error:&error]; + + [[NSFileManager defaultManager] removeItemAtPath:self.downloadFilename error:nil]; + self.downloadFilename = nil; + } + else + { + failed = YES; + } + + if (nil == document) + { + failed = YES; + } + else + { + xmlItems = [document nodesForXPath:@"/rss/channel/item" error:&error]; + if (nil == xmlItems) + { + failed = YES; + } + } + + if (failed == NO) + { + + NSEnumerator *nodeEnum = [xmlItems objectEnumerator]; + NSXMLNode *node; + NSMutableDictionary *nodesDict = [NSMutableDictionary dictionary]; + NSMutableDictionary *dict = [NSMutableDictionary dictionary]; + + while (failed == NO && (node = [nodeEnum nextObject])) + { + // First, we'll "index" all the first-level children of this appcast item so we can pick them out by language later. + if ([[node children] count]) + { + node = [node childAtIndex:0]; + while (nil != node) + { + NSString *name = [node name]; + if (name) + { + NSMutableArray *nodes = nodesDict[name]; + if (nodes == nil) + { + nodes = [NSMutableArray array]; + nodesDict[name] = nodes; + } + [nodes addObject:node]; + } + node = [node nextSibling]; + } + } + + for (NSString *name in nodesDict) + { + node = [self bestNodeInNodes:nodesDict[name]]; + if ([name isEqualToString:SURSSElementEnclosure]) + { + // enclosure is flattened as a separate dictionary for some reason + NSDictionary *encDict = [(NSXMLElement *)node attributesAsDictionary]; + dict[name] = encDict; + + } + else if ([name isEqualToString:SURSSElementPubDate]) + { + // pubDate is expected to be an NSDate by SUAppcastItem, but the RSS class was returning an NSString + NSDate *date = [NSDate dateWithNaturalLanguageString:[node stringValue]]; + if (date) + dict[name] = date; + } + else if ([name isEqualToString:SUAppcastElementDeltas]) + { + NSMutableArray *deltas = [NSMutableArray array]; + NSEnumerator *childEnum = [[node children] objectEnumerator]; + for (NSXMLNode *child in childEnum) { + if ([[child name] isEqualToString:SURSSElementEnclosure]) + [deltas addObject:[(NSXMLElement *)child attributesAsDictionary]]; + } + dict[name] = deltas; + } + else if ([name isEqualToString:SUAppcastElementTags]) { + NSMutableArray *tags = [NSMutableArray array]; + NSEnumerator *childEnum = [[node children] objectEnumerator]; + for (NSXMLNode *child in childEnum) { + [tags addObject:[child name]]; + } + dict[name] = tags; + } + else if (name != nil) + { + // add all other values as strings + NSString *theValue = [[node stringValue] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; + if (theValue != nil) { + dict[name] = theValue; + } + } + } + + NSString *errString; + SUAppcastItem *anItem = [[SUAppcastItem alloc] initWithDictionary:dict failureReason:&errString]; + if (anItem) + { + [appcastItems addObject:anItem]; + } + else + { + SULog(@"Sparkle Updater: Failed to parse appcast item: %@.\nAppcast dictionary was: %@", errString, dict); + } + [nodesDict removeAllObjects]; + [dict removeAllObjects]; + } + } + + if ([appcastItems count]) { + NSSortDescriptor *sort = [[NSSortDescriptor alloc] initWithKey:@"date" ascending:NO]; + [appcastItems sortUsingDescriptors:@[sort]]; + self.items = appcastItems; + } + + if (failed) { + [self reportError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:@{ NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while parsing the update feed.", nil) }]]; + } else { + self.completionBlock(nil); + self.completionBlock = nil; + } +} + +- (void)download:(NSURLDownload *)__unused aDownload didFailWithError:(NSError *)error +{ + if (self.downloadFilename) { + [[NSFileManager defaultManager] removeItemAtPath:self.downloadFilename error:nil]; + } + self.downloadFilename = nil; + + [self reportError:error]; +} + +- (NSURLRequest *)download:(NSURLDownload *)__unused aDownload willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)__unused redirectResponse +{ + return request; +} + +- (void)reportError:(NSError *)error +{ + self.completionBlock([NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastError userInfo:@{ + NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred in retrieving update information. Please try again later.", nil), + NSLocalizedFailureReasonErrorKey: [error localizedDescription], + NSUnderlyingErrorKey: error, + }]); + self.completionBlock = nil; +} + +- (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes +{ + // We use this method to pick out the localized version of a node when one's available. + if ([nodes count] == 1) + return nodes[0]; + else if ([nodes count] == 0) + return nil; + + NSMutableArray *languages = [NSMutableArray array]; + NSString *lang; + NSUInteger i; + for (NSXMLElement *node in nodes) { + lang = [[node attributeForName:@"xml:lang"] stringValue]; + [languages addObject:(lang ? lang : @"")]; + } + lang = [NSBundle preferredLocalizationsFromArray:languages][0]; + i = [languages indexOfObject:([languages containsObject:lang] ? lang : @"")]; + if (i == NSNotFound) { + i = 0; + } + return nodes[i]; +} + +@end diff --git a/Sparkle/SUAppcastItem.h b/Sparkle/SUAppcastItem.h new file mode 100644 index 00000000..551d389b --- /dev/null +++ b/Sparkle/SUAppcastItem.h @@ -0,0 +1,42 @@ +// +// SUAppcastItem.h +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAPPCASTITEM_H +#define SUAPPCASTITEM_H + +#include "SUExport.h" + +SU_EXPORT @interface SUAppcastItem : NSObject +@property (copy, readonly) NSString *title; +@property (copy, readonly) NSDate *date; +@property (copy, readonly) NSString *itemDescription; +@property (strong, readonly) NSURL *releaseNotesURL; +@property (copy, readonly) NSString *DSASignature; +@property (copy, readonly) NSString *minimumSystemVersion; +@property (copy, readonly) NSString *maximumSystemVersion; +@property (strong, readonly) NSURL *fileURL; +@property (copy, readonly) NSString *versionString; +@property (copy, readonly) NSString *displayVersionString; +@property (copy, readonly) NSDictionary *deltaUpdates; +@property (strong, readonly) NSURL *infoURL; + +// Initializes with data from a dictionary provided by the RSS class. +- (instancetype)initWithDictionary:(NSDictionary *)dict; +- (instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString **)error; + +@property (getter=isDeltaUpdate, readonly) BOOL deltaUpdate; +@property (getter=isCriticalUpdate, readonly) BOOL criticalUpdate; + +// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions. +@property (readonly, copy) NSDictionary *propertiesDictionary; + +- (NSURL *)infoURL; + +@end + +#endif diff --git a/Sparkle/SUAppcastItem.m b/Sparkle/SUAppcastItem.m new file mode 100644 index 00000000..0f5b7920 --- /dev/null +++ b/Sparkle/SUAppcastItem.m @@ -0,0 +1,180 @@ +// +// SUAppcastItem.m +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" +#import "SUAppcastItem.h" +#import "SULog.h" + +@interface SUAppcastItem () +@property (copy, readwrite) NSString *title; +@property (copy, readwrite) NSDate *date; +@property (copy, readwrite) NSString *itemDescription; +@property (strong, readwrite) NSURL *releaseNotesURL; +@property (copy, readwrite) NSString *DSASignature; +@property (copy, readwrite) NSString *minimumSystemVersion; +@property (copy, readwrite) NSString *maximumSystemVersion; +@property (strong, readwrite) NSURL *fileURL; +@property (copy, readwrite) NSString *versionString; +@property (copy, readwrite) NSString *displayVersionString; +@property (copy, readwrite) NSDictionary *deltaUpdates; +@property (strong, readwrite) NSURL *infoURL; +@property (readwrite, copy) NSDictionary *propertiesDictionary; +@end + +@implementation SUAppcastItem +@synthesize date; +@synthesize deltaUpdates; +@synthesize displayVersionString; +@synthesize DSASignature; +@synthesize fileURL; +@synthesize infoURL; +@synthesize itemDescription; +@synthesize maximumSystemVersion; +@synthesize minimumSystemVersion; +@synthesize releaseNotesURL; +@synthesize title; +@synthesize versionString; +@synthesize propertiesDictionary; + +- (BOOL)isDeltaUpdate +{ + return self.propertiesDictionary[SURSSElementEnclosure][SUAppcastAttributeDeltaFrom] != nil; +} + +- (BOOL)isCriticalUpdate +{ + return [self.propertiesDictionary[SUAppcastElementTags] containsObject:SUAppcastElementCriticalUpdate]; +} + +- (instancetype)initWithDictionary:(NSDictionary *)dict +{ + return [self initWithDictionary:dict failureReason:nil]; +} + +- (instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString *__autoreleasing *)error +{ + self = [super init]; + if (self) { + id enclosure = dict[SURSSElementEnclosure]; + + // Try to find a version string. + // Finding the new version number from the RSS feed is a little bit hacky. There are two ways: + // 1. A "sparkle:version" attribute on the enclosure tag, an extension from the RSS spec. + // 2. If there isn't a version attribute, Sparkle will parse the path in the enclosure, expecting + // that it will look like this: http://something.com/YourApp_0.5.zip. It'll read whatever's between the last + // underscore and the last period as the version number. So name your packages like this: APPNAME_VERSION.extension. + // The big caveat with this is that you can't have underscores in your version strings, as that'll confuse Sparkle. + // Feel free to change the separator string to a hyphen or something more suited to your needs if you like. + NSString *newVersion = enclosure[SUAppcastAttributeVersion]; + if (newVersion == nil) { + newVersion = dict[SUAppcastAttributeVersion]; // Get version from the item, in case it's a download-less item (i.e. paid upgrade). + } + if (newVersion == nil) // no sparkle:version attribute anywhere? + { + SULog(@"warning: <%@> for URL '%@' is missing %@ attribute. Version comparison may be unreliable. Please always specify %@", SURSSElementEnclosure, enclosure[SURSSAttributeURL], SUAppcastAttributeVersion, SUAppcastAttributeVersion); + + // Separate the url by underscores and take the last component, as that'll be closest to the end, + // then we remove the extension. Hopefully, this will be the version. + NSArray *fileComponents = [enclosure[SURSSAttributeURL] componentsSeparatedByString:@"_"]; + if ([fileComponents count] > 1) { + newVersion = [[fileComponents lastObject] stringByDeletingPathExtension]; + } + } + + if (!newVersion) { + if (error) { + *error = [NSString stringWithFormat:@"Feed item lacks %@ attribute, and version couldn't be deduced from file name (would have used last component of a file name like AppName_1.3.4.zip)", SUAppcastAttributeVersion]; + } + return nil; + } + + propertiesDictionary = [[NSMutableDictionary alloc] initWithDictionary:dict]; + self.title = dict[SURSSElementTitle]; + self.date = dict[SURSSElementPubDate]; + self.itemDescription = dict[SURSSElementDescription]; + + NSString *theInfoURL = dict[SURSSElementLink]; + if (theInfoURL) { + if (![theInfoURL isKindOfClass:[NSString class]]) { + SULog(@"%@ -%@ Info URL is not of valid type.", NSStringFromClass([self class]), NSStringFromSelector(_cmd)); + } else { + self.infoURL = [NSURL URLWithString:theInfoURL]; + } + } + + // Need an info URL or an enclosure URL. Former to show "More Info" + // page, latter to download & install: + if (!enclosure && !theInfoURL) { + if (error) { + *error = @"No enclosure in feed item"; + } + return nil; + } + + NSString *enclosureURLString = enclosure[SURSSAttributeURL]; + if (!enclosureURLString && !theInfoURL) { + if (error) { + *error = @"Feed item's enclosure lacks URL"; + } + return nil; + } + + if (enclosureURLString) { + NSString *fileURLString = [[enclosureURLString stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; + self.fileURL = [NSURL URLWithString:fileURLString]; + } + if (enclosure) { + self.DSASignature = enclosure[SUAppcastAttributeDSASignature]; + } + + self.versionString = newVersion; + self.minimumSystemVersion = dict[SUAppcastElementMinimumSystemVersion]; + self.maximumSystemVersion = dict[SUAppcastElementMaximumSystemVersion]; + + NSString *shortVersionString = enclosure[SUAppcastAttributeShortVersionString]; + if (nil == shortVersionString) { + shortVersionString = dict[SUAppcastAttributeShortVersionString]; // fall back on the + } + + if (shortVersionString) { + self.displayVersionString = shortVersionString; + } else { + self.displayVersionString = self.versionString; + } + + // Find the appropriate release notes URL. + if (dict[SUAppcastElementReleaseNotesLink]) { + self.releaseNotesURL = [NSURL URLWithString:dict[SUAppcastElementReleaseNotesLink]]; + } else if ([self.itemDescription hasPrefix:@"http://"] || [self.itemDescription hasPrefix:@"https://"]) { // if the description starts with http:// or https:// use that. + self.releaseNotesURL = [NSURL URLWithString:self.itemDescription]; + } else { + self.releaseNotesURL = nil; + } + + NSArray *deltaDictionaries = dict[SUAppcastElementDeltas]; + if (deltaDictionaries) { + NSMutableDictionary *deltas = [NSMutableDictionary dictionary]; + for (NSDictionary *deltaDictionary in deltaDictionaries) { + NSMutableDictionary *fakeAppCastDict = [dict mutableCopy]; + [fakeAppCastDict removeObjectForKey:SUAppcastElementDeltas]; + fakeAppCastDict[SURSSElementEnclosure] = deltaDictionary; + SUAppcastItem *deltaItem = [[[self class] alloc] initWithDictionary:fakeAppCastDict]; + + deltas[deltaDictionary[SUAppcastAttributeDeltaFrom]] = deltaItem; + } + self.deltaUpdates = deltas; + } + } + return self; +} + +@end diff --git a/Sparkle/SUAutomaticUpdateAlert.h b/Sparkle/SUAutomaticUpdateAlert.h new file mode 100644 index 00000000..1fcfcfb7 --- /dev/null +++ b/Sparkle/SUAutomaticUpdateAlert.h @@ -0,0 +1,30 @@ +// +// SUAutomaticUpdateAlert.h +// Sparkle +// +// Created by Andy Matuschak on 3/18/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAUTOMATICUPDATEALERT_H +#define SUAUTOMATICUPDATEALERT_H + +#import "SUWindowController.h" + +typedef NS_ENUM(NSInteger, SUAutomaticInstallationChoice) { + SUInstallNowChoice, + SUInstallLaterChoice, + SUDoNotInstallChoice +}; + +@class SUAppcastItem, SUHost; +@interface SUAutomaticUpdateAlert : SUWindowController + +- (instancetype)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)hostBundle completionBlock:(void (^)(SUAutomaticInstallationChoice))c; +- (IBAction)installNow:sender; +- (IBAction)installLater:sender; +- (IBAction)doNotInstall:sender; + +@end + +#endif diff --git a/Sparkle/SUAutomaticUpdateAlert.m b/Sparkle/SUAutomaticUpdateAlert.m new file mode 100644 index 00000000..4271e608 --- /dev/null +++ b/Sparkle/SUAutomaticUpdateAlert.m @@ -0,0 +1,89 @@ +// +// SUAutomaticUpdateAlert.m +// Sparkle +// +// Created by Andy Matuschak on 3/18/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#import "SUAutomaticUpdateAlert.h" + +#import "SUHost.h" + +@interface SUAutomaticUpdateAlert () +@property (strong) void(^completionBlock)(SUAutomaticInstallationChoice); +@property (strong) SUAppcastItem *updateItem; +@property (strong) SUHost *host; +@end + +@implementation SUAutomaticUpdateAlert +@synthesize host; +@synthesize updateItem; +@synthesize completionBlock; + +- (instancetype)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost completionBlock:(void (^)(SUAutomaticInstallationChoice))block +{ + self = [super initWithWindowNibName:@"SUAutomaticUpdateAlert"]; + if (self) { + self.updateItem = item; + self.completionBlock = block; + self.host = aHost; + [self setShouldCascadeWindows:NO]; + [[self window] center]; + } + return self; +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self.host bundlePath], [self.host installationPath]]; } + +- (IBAction)installNow:(id)__unused sender +{ + [self close]; + self.completionBlock(SUInstallNowChoice); + self.completionBlock = nil; +} + +- (IBAction)installLater:(id)__unused sender +{ + [self close]; + self.completionBlock(SUInstallLaterChoice); + self.completionBlock = nil; +} + +- (IBAction)doNotInstall:(id)__unused sender +{ + [self close]; + self.completionBlock(SUDoNotInstallChoice); + self.completionBlock = nil; +} + +- (NSImage *)applicationIcon +{ + return [self.host icon]; +} + +- (NSString *)titleText +{ + if ([self.updateItem isCriticalUpdate]) + { + return [NSString stringWithFormat:SULocalizedString(@"An important update to %@ is ready to install", nil), [self.host name]]; + } + else + { + return [NSString stringWithFormat:SULocalizedString(@"A new version of %@ is ready to install!", nil), [self.host name]]; + } +} + +- (NSString *)descriptionText +{ + if ([self.updateItem isCriticalUpdate]) + { + return [NSString stringWithFormat:SULocalizedString(@"%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?", nil), [self.host name], [self.updateItem displayVersionString]]; + } + else + { + return [NSString stringWithFormat:SULocalizedString(@"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?", nil), [self.host name], [self.updateItem displayVersionString]]; + } +} + +@end diff --git a/SUAutomaticUpdateDriver.h b/Sparkle/SUAutomaticUpdateDriver.h similarity index 62% rename from SUAutomaticUpdateDriver.h rename to Sparkle/SUAutomaticUpdateDriver.h index 266f6b69..4dd90e8f 100644 --- a/SUAutomaticUpdateDriver.h +++ b/Sparkle/SUAutomaticUpdateDriver.h @@ -11,14 +11,9 @@ #import #import "SUBasicUpdateDriver.h" +#import "SUAutomaticUpdateAlert.h" -@class SUAutomaticUpdateAlert; -@interface SUAutomaticUpdateDriver : SUBasicUpdateDriver -{ -@private - BOOL postponingInstallation, showErrors; - SUAutomaticUpdateAlert *alert; -} +@interface SUAutomaticUpdateDriver : SUBasicUpdateDriver @end diff --git a/Sparkle/SUAutomaticUpdateDriver.m b/Sparkle/SUAutomaticUpdateDriver.m new file mode 100644 index 00000000..45b3d546 --- /dev/null +++ b/Sparkle/SUAutomaticUpdateDriver.m @@ -0,0 +1,196 @@ +// +// SUAutomaticUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 5/6/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUAutomaticUpdateDriver.h" + +#import "SUAutomaticUpdateAlert.h" +#import "SUHost.h" +#import "SUConstants.h" + +// If the user hasn't quit in a week, ask them if they want to relaunch to get the latest bits. It doesn't matter that this measure of "one day" is imprecise. +static const NSTimeInterval SUAutomaticUpdatePromptImpatienceTimer = 60 * 60 * 24 * 7; + +@interface SUUpdateDriver () + +@property (getter=isInterruptible) BOOL interruptible; + +@end + +@interface SUAutomaticUpdateDriver () + +@property (assign) BOOL postponingInstallation; +@property (assign) BOOL showErrors; +@property (assign) BOOL willUpdateOnTermination; +@property (strong) SUAutomaticUpdateAlert *alert; +@property (strong) NSTimer *showUpdateAlertTimer; + +@end + +@implementation SUAutomaticUpdateDriver + +@synthesize postponingInstallation; +@synthesize showErrors; +@synthesize willUpdateOnTermination; +@synthesize alert; +@synthesize showUpdateAlertTimer; + +- (void)showUpdateAlert +{ + self.interruptible = NO; + self.alert = [[SUAutomaticUpdateAlert alloc] initWithAppcastItem:self.updateItem host:self.host completionBlock:^(SUAutomaticInstallationChoice choice) { + [self automaticUpdateAlertFinishedWithChoice:choice]; + }]; + + // If the app is a menubar app or the like, we need to focus it first and alter the + // update prompt to behave like a normal window. Otherwise if the window were hidden + // there may be no way for the application to be activated to make it visible again. + if ([self.host isBackgroundApplication]) { + [[self.alert window] setHidesOnDeactivate:NO]; + [NSApp activateIgnoringOtherApps:YES]; + } + + if ([NSApp isActive]) + [[self.alert window] makeKeyAndOrderFront:self]; + else + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification object:NSApp]; +} + +- (void)unarchiverDidFinish:(SUUnarchiver *)__unused ua +{ + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:NSApplicationWillTerminateNotification object:nil]; + + // Sudden termination is available on 10.6+ + NSProcessInfo *processInfo = [NSProcessInfo processInfo]; + [processInfo disableSuddenTermination]; + + self.willUpdateOnTermination = YES; + + id updaterDelegate = [self.updater delegate]; + if ([updaterDelegate respondsToSelector:@selector(updater:willInstallUpdateOnQuit:immediateInstallationInvocation:)]) + { + BOOL relaunch = YES; + BOOL showUI = NO; + NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:displayingUserInterface:)]]; + [invocation setSelector:@selector(installWithToolAndRelaunch:displayingUserInterface:)]; + [invocation setArgument:&relaunch atIndex:2]; + [invocation setArgument:&showUI atIndex:3]; + [invocation setTarget:self]; + + [updaterDelegate updater:self.updater willInstallUpdateOnQuit:self.updateItem immediateInstallationInvocation:invocation]; + } + + // If this is marked as a critical update, we'll prompt the user to install it right away. + if ([self.updateItem isCriticalUpdate]) + { + [self showUpdateAlert]; + } + else + { + self.showUpdateAlertTimer = [NSTimer scheduledTimerWithTimeInterval:SUAutomaticUpdatePromptImpatienceTimer target:self selector:@selector(showUpdateAlert) userInfo:nil repeats:NO]; + + // At this point the driver is idle, allow it to be interrupted for user-initiated update checks. + self.interruptible = YES; + } +} + +- (void)stopUpdatingOnTermination +{ + if (self.willUpdateOnTermination) + { + [[NSNotificationCenter defaultCenter] removeObserver:self name:NSApplicationWillTerminateNotification object:nil]; + NSProcessInfo *processInfo = [NSProcessInfo processInfo]; + [processInfo enableSuddenTermination]; + + self.willUpdateOnTermination = NO; + + id updaterDelegate = [self.updater delegate]; + if ([updaterDelegate respondsToSelector:@selector(updater:didCancelInstallUpdateOnQuit:)]) + [updaterDelegate updater:self.updater didCancelInstallUpdateOnQuit:self.updateItem]; + } +} + +- (void)invalidateShowUpdateAlertTimer +{ + [self.showUpdateAlertTimer invalidate]; + self.showUpdateAlertTimer = nil; +} + +- (void)dealloc +{ + [self stopUpdatingOnTermination]; + [self invalidateShowUpdateAlertTimer]; +} + +- (void)abortUpdate +{ + [self stopUpdatingOnTermination]; + [self invalidateShowUpdateAlertTimer]; + [super abortUpdate]; +} + +- (void)applicationDidBecomeActive:(NSNotification *)__unused aNotification +{ + [[self.alert window] makeKeyAndOrderFront:self]; + [[NSNotificationCenter defaultCenter] removeObserver:self name:NSApplicationDidBecomeActiveNotification object:NSApp]; +} + +- (void)automaticUpdateAlertFinishedWithChoice:(SUAutomaticInstallationChoice)choice +{ + switch (choice) + { + case SUInstallNowChoice: + [self stopUpdatingOnTermination]; + [self installWithToolAndRelaunch:YES]; + break; + + case SUInstallLaterChoice: + self.postponingInstallation = YES; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:NSApplicationWillTerminateNotification object:nil]; + // We're already waiting on quit, just indicate that we're idle. + self.interruptible = YES; + break; + + case SUDoNotInstallChoice: + [self.host setObject:[self.updateItem versionString] forUserDefaultsKey:SUSkippedVersionKey]; + [self abortUpdate]; + break; + } +} + +- (void)installWithToolAndRelaunch:(BOOL)relaunch displayingUserInterface:(BOOL)showUI +{ + if (relaunch) { + [self stopUpdatingOnTermination]; + } + + self.showErrors = YES; + [super installWithToolAndRelaunch:relaunch displayingUserInterface:showUI]; +} + +- (void)applicationWillTerminate:(NSNotification *)__unused note +{ + [self installWithToolAndRelaunch:NO]; +} + +- (void)abortUpdateWithError:(NSError *)error +{ + if (self.showErrors) { + [super abortUpdateWithError:error]; + } else { + // Call delegate separately here because otherwise it won't know we stopped. + // Normally this gets called by the superclass + id updaterDelegate = [self.updater delegate]; + if ([updaterDelegate respondsToSelector:@selector(updater:didAbortWithError:)]) { + [updaterDelegate updater:self.updater didAbortWithError:error]; + } + + [self abortUpdate]; + } +} + +@end diff --git a/SUBasicUpdateDriver.h b/Sparkle/SUBasicUpdateDriver.h similarity index 73% rename from SUBasicUpdateDriver.h rename to Sparkle/SUBasicUpdateDriver.h index 21fe7171..cc11ce8a 100644 --- a/SUBasicUpdateDriver.h +++ b/Sparkle/SUBasicUpdateDriver.h @@ -11,24 +11,18 @@ #import #import "SUUpdateDriver.h" +#import "SUUnarchiver.h" +#import "SUAppcast.h" -@class SUAppcastItem, SUUnarchiver, SUAppcast, SUUnarchiver, SUHost; -@interface SUBasicUpdateDriver : SUUpdateDriver { - SUAppcastItem *updateItem; - SUAppcastItem *nonDeltaUpdateItem; - - NSURLDownload *download; - NSString *downloadPath; - NSString *tempDir; - - NSString *relaunchPath; -} +@class SUAppcastItem, SUHost; +@interface SUBasicUpdateDriver : SUUpdateDriver + +@property (strong, readonly) SUAppcastItem *updateItem; +@property (strong, readonly) NSURLDownload *download; +@property (copy, readonly) NSString *downloadPath; - (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)host; -- (void)appcastDidFinishLoading:(SUAppcast *)ac; -- (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error; - - (BOOL)isItemNewer:(SUAppcastItem *)ui; - (BOOL)hostSupportsItem:(SUAppcastItem *)ui; - (BOOL)itemContainsSkippedVersion:(SUAppcastItem *)ui; @@ -47,13 +41,16 @@ - (void)failedToApplyDeltaUpdate; - (void)installWithToolAndRelaunch:(BOOL)relaunch; +- (void)installWithToolAndRelaunch:(BOOL)relaunch displayingUserInterface:(BOOL)showUI; - (void)installerForHost:(SUHost *)host failedWithError:(NSError *)error; -- (void)installWithToolAndRelaunch:(BOOL)relaunch; - (void)cleanUpDownload; - (void)abortUpdate; - (void)abortUpdateWithError:(NSError *)error; +- (void)terminateApp; + +- (void)appcastDidFinishLoading:(SUAppcast *)ac; @end diff --git a/Sparkle/SUBasicUpdateDriver.m b/Sparkle/SUBasicUpdateDriver.m new file mode 100644 index 00000000..1b7242f1 --- /dev/null +++ b/Sparkle/SUBasicUpdateDriver.m @@ -0,0 +1,459 @@ +// +// SUBasicUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 4/23/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUBasicUpdateDriver.h" + +#import "SUHost.h" +#import "SUDSAVerifier.h" +#import "SUInstaller.h" +#import "SUStandardVersionComparator.h" +#import "SUUnarchiver.h" +#import "SUConstants.h" +#import "SULog.h" +#import "SUPlainInstaller.h" +#import "SUPlainInstallerInternals.h" +#import "SUBinaryDeltaCommon.h" +#import "SUCodeSigningVerifier.h" +#import "SUUpdater_Private.h" + +@interface SUBasicUpdateDriver () + +@property (strong) SUAppcastItem *updateItem; +@property (strong) NSURLDownload *download; +@property (copy) NSString *downloadPath; + +@property (strong) SUAppcastItem *nonDeltaUpdateItem; +@property (copy) NSString *tempDir; +@property (copy) NSString *relaunchPath; + +@end + +@implementation SUBasicUpdateDriver + +@synthesize updateItem; +@synthesize download; +@synthesize downloadPath; + +@synthesize nonDeltaUpdateItem; +@synthesize tempDir; +@synthesize relaunchPath; + +- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)aHost +{ + [super checkForUpdatesAtURL:URL host:aHost]; + if ([aHost isRunningOnReadOnlyVolume]) + { + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURunningFromDiskImageError userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:SULocalizedString(@"%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.", nil), [aHost name]] }]]; + return; + } + + SUAppcast *appcast = [[SUAppcast alloc] init]; + + [appcast setUserAgentString:[self.updater userAgentString]]; + [appcast setHttpHeaders:[self.updater httpHeaders]]; + [appcast fetchAppcastFromURL:URL completionBlock:^(NSError *error) { + if (error) { + [self abortUpdateWithError:error]; + } else { + [self appcastDidFinishLoading:appcast]; + } + }]; +} + +- (id)versionComparator +{ + id comparator = nil; + + // Give the delegate a chance to provide a custom version comparator + if ([[self.updater delegate] respondsToSelector:@selector(versionComparatorForUpdater:)]) { + comparator = [[self.updater delegate] versionComparatorForUpdater:self.updater]; + } + + // If we don't get a comparator from the delegate, use the default comparator + if (!comparator) { + comparator = [SUStandardVersionComparator defaultComparator]; + } + + return comparator; +} + +- (BOOL)isItemNewer:(SUAppcastItem *)ui +{ + return [[self versionComparator] compareVersion:[self.host version] toVersion:[ui versionString]] == NSOrderedAscending; +} + +- (BOOL)hostSupportsItem:(SUAppcastItem *)ui +{ + if (([ui minimumSystemVersion] == nil || [[ui minimumSystemVersion] isEqualToString:@""]) && + ([ui maximumSystemVersion] == nil || [[ui maximumSystemVersion] isEqualToString:@""])) { return YES; } + + BOOL minimumVersionOK = TRUE; + BOOL maximumVersionOK = TRUE; + + // Check minimum and maximum System Version + if ([ui minimumSystemVersion] != nil && ![[ui minimumSystemVersion] isEqualToString:@""]) { + minimumVersionOK = [[SUStandardVersionComparator defaultComparator] compareVersion:[ui minimumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedDescending; + } + if ([ui maximumSystemVersion] != nil && ![[ui maximumSystemVersion] isEqualToString:@""]) { + maximumVersionOK = [[SUStandardVersionComparator defaultComparator] compareVersion:[ui maximumSystemVersion] toVersion:[SUHost systemVersionString]] != NSOrderedAscending; + } + + return minimumVersionOK && maximumVersionOK; +} + +- (BOOL)itemContainsSkippedVersion:(SUAppcastItem *)ui +{ + NSString *skippedVersion = [self.host objectForUserDefaultsKey:SUSkippedVersionKey]; + if (skippedVersion == nil) { return NO; } + return [[self versionComparator] compareVersion:[ui versionString] toVersion:skippedVersion] != NSOrderedDescending; +} + +- (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui +{ + return ui && [self hostSupportsItem:ui] && [self isItemNewer:ui] && ![self itemContainsSkippedVersion:ui]; +} + +- (void)appcastDidFinishLoading:(SUAppcast *)ac +{ + if ([[self.updater delegate] respondsToSelector:@selector(updater:didFinishLoadingAppcast:)]) { + [[self.updater delegate] updater:self.updater didFinishLoadingAppcast:ac]; + } + + NSDictionary *userInfo = (ac != nil) ? @{ SUUpdaterAppcastNotificationKey: ac } : nil; + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFinishLoadingAppCastNotification object:self.updater userInfo:userInfo]; + + SUAppcastItem *item = nil; + + // Now we have to find the best valid update in the appcast. + if ([[self.updater delegate] respondsToSelector:@selector(bestValidUpdateInAppcast:forUpdater:)]) // Does the delegate want to handle it? + { + item = [[self.updater delegate] bestValidUpdateInAppcast:ac forUpdater:self.updater]; + } + else // If not, we'll take care of it ourselves. + { + // Find the first update we can actually use. + NSEnumerator *updateEnumerator = [[ac items] objectEnumerator]; + do { + item = [updateEnumerator nextObject]; + } while (item && ![self hostSupportsItem:item]); + + SUAppcastItem *deltaUpdateItem = [item deltaUpdates][[self.host version]]; + if (deltaUpdateItem && [self hostSupportsItem:deltaUpdateItem]) { + self.nonDeltaUpdateItem = item; + item = deltaUpdateItem; + } + } + + if ([self itemContainsValidUpdate:item]) { + self.updateItem = item; + [self didFindValidUpdate]; + } else { + self.updateItem = nil; + [self didNotFindUpdate]; + } +} + +- (void)didFindValidUpdate +{ + assert(self.updateItem); + + if ([[self.updater delegate] respondsToSelector:@selector(updater:didFindValidUpdate:)]) { + [[self.updater delegate] updater:self.updater didFindValidUpdate:self.updateItem]; + } + + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFindValidUpdateNotification + object:self.updater + userInfo:@{ SUUpdaterAppcastItemNotificationKey: self.updateItem }]; + [self downloadUpdate]; +} + +- (void)didNotFindUpdate +{ + if ([[self.updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) { + [[self.updater delegate] updaterDidNotFindUpdate:self.updater]; + } + + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:self.updater]; + + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain + code:SUNoUpdateError + userInfo:@{ + NSLocalizedDescriptionKey: [NSString stringWithFormat:SULocalizedString(@"You already have the newest version of %@.", "'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI)"), self.host.name] + }]]; +} + +- (void)downloadUpdate +{ + NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[self.updateItem fileURL]]; + [request setValue:[self.updater userAgentString] forHTTPHeaderField:@"User-Agent"]; + self.download = [[NSURLDownload alloc] initWithRequest:request delegate:self]; +} + +- (void)download:(NSURLDownload *)__unused d decideDestinationWithSuggestedFilename:(NSString *)name +{ + NSString *downloadFileName = [NSString stringWithFormat:@"%@ %@", [self.host name], [self.updateItem versionString]]; + + + self.tempDir = [self.host.appCachePath stringByAppendingPathComponent:downloadFileName]; + int cnt = 1; + while ([[NSFileManager defaultManager] fileExistsAtPath:self.tempDir] && cnt <= 999) + { + self.tempDir = [self.host.appCachePath stringByAppendingPathComponent:[NSString stringWithFormat:@"%@ %d", downloadFileName, cnt++]]; + } + + // Create the temporary directory if necessary. + BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:self.tempDir withIntermediateDirectories:YES attributes:nil error:NULL]; + if (!success) + { + // Okay, something's really broken with this user's file structure. + [self.download cancel]; + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUTemporaryDirectoryError userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Can't make a temporary directory for the update download at %@.", self.tempDir] }]]; + } + + self.downloadPath = [self.tempDir stringByAppendingPathComponent:name]; + [self.download setDestination:self.downloadPath allowOverwrite:YES]; +} + +- (BOOL)validateUpdateDownloadedToPath:(NSString *)downloadedPath extractedToPath:(NSString *)extractedPath DSASignature:(NSString *)DSASignature publicDSAKey:(NSString *)publicDSAKey +{ + NSString *newBundlePath = [SUInstaller appPathInUpdateFolder:extractedPath forHost:self.host]; + + if (newBundlePath) { + if ([SUCodeSigningVerifier hostApplicationIsCodeSigned]) { + NSError *error = nil; + if ([SUCodeSigningVerifier codeSignatureMatchesHostAndIsValidAtPath:newBundlePath error:&error]) { + return YES; + } else { + SULog(@"Code signature check on update failed: %@. Sparkle will use DSA signature instead.", error); + } + } else { + SULog(@"The host app is not signed using Apple Code Signing, and therefore cannot verify updates this way. Sparkle will use DSA signature instead."); + } + } + + if (DSASignature) { + return [SUDSAVerifier validatePath:downloadedPath withEncodedDSASignature:DSASignature withPublicDSAKey:publicDSAKey]; + } else { + SULog(@"The appcast item for the update has no DSA signature. The update will be rejected, because both DSA and Apple Code Signing verification failed."); + return NO; + } +} + +- (void)downloadDidFinish:(NSURLDownload *)__unused d +{ + assert(self.updateItem); + + [self extractUpdate]; +} + +- (void)download:(NSURLDownload *)__unused download didFailWithError:(NSError *)error +{ + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:@{ + NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while downloading the update. Please try again later.", nil), + NSUnderlyingErrorKey: error, + }]]; +} + +- (BOOL)download:(NSURLDownload *)__unused download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType +{ + // We don't want the download system to extract our gzips. + // Note that we use a substring matching here instead of direct comparison because the docs say "application/gzip" but the system *uses* "application/x-gzip". This is a documentation bug. + return ([encodingType rangeOfString:@"gzip"].location == NSNotFound); +} + +- (void)extractUpdate +{ + SUUnarchiver *unarchiver = [SUUnarchiver unarchiverForPath:self.downloadPath updatingHostBundlePath:[[self.host bundle] bundlePath]]; + if (!unarchiver) { + SULog(@"Error: No valid unarchiver for %@!", self.downloadPath); + [self unarchiverDidFail:nil]; + return; + } + unarchiver.delegate = self; + [unarchiver start]; +} + +- (void)failedToApplyDeltaUpdate +{ + // When a delta update fails to apply we fall back on updating via a full install. + self.updateItem = self.nonDeltaUpdateItem; + self.nonDeltaUpdateItem = nil; + + [self downloadUpdate]; +} + +- (void)unarchiverDidFinish:(SUUnarchiver *)__unused ua +{ + assert(self.updateItem); + + [self installWithToolAndRelaunch:YES]; +} + +- (void)unarchiverDidFail:(SUUnarchiver *)__unused ua +{ + if ([self.updateItem isDeltaUpdate]) { + [self failedToApplyDeltaUpdate]; + return; + } + + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUUnarchivingError userInfo:@{ NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil) }]]; +} + +- (void)installWithToolAndRelaunch:(BOOL)relaunch +{ + // 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. + [self installWithToolAndRelaunch:relaunch displayingUserInterface:relaunch]; +} + +- (void)installWithToolAndRelaunch:(BOOL)relaunch displayingUserInterface:(BOOL)showUI +{ + assert(self.updateItem); + + if (![self validateUpdateDownloadedToPath:self.downloadPath extractedToPath:self.tempDir DSASignature:self.updateItem.DSASignature publicDSAKey:self.host.publicDSAKey]) + { + NSDictionary *userInfo = @{ + NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), + NSLocalizedFailureReasonErrorKey: SULocalizedString(@"The update is improperly signed.", nil), + }; + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUSignatureError userInfo:userInfo]]; + return; + } + + if (![self.updater mayUpdateAndRestart]) + { + [self abortUpdate]; + return; + } + + // Give the host app an opportunity to postpone the install and relaunch. + static BOOL postponedOnce = NO; + id updaterDelegate = [self.updater delegate]; + if (!postponedOnce && [updaterDelegate respondsToSelector:@selector(updater:shouldPostponeRelaunchForUpdate:untilInvoking:)]) + { + NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]]; + [invocation setSelector:@selector(installWithToolAndRelaunch:)]; + [invocation setArgument:&relaunch atIndex:2]; + [invocation setTarget:self]; + postponedOnce = YES; + if ([updaterDelegate updater:self.updater shouldPostponeRelaunchForUpdate:self.updateItem untilInvoking:invocation]) { + return; + } + } + + + if ([updaterDelegate respondsToSelector:@selector(updater:willInstallUpdate:)]) { + [updaterDelegate updater:self.updater willInstallUpdate:self.updateItem]; + } + + NSBundle *sparkleBundle = [NSBundle bundleWithIdentifier:SUBundleIdentifier]; + + // Copy the relauncher into a temporary directory so we can get to it after the new version's installed. + // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. + NSString *const relaunchPathToCopy = [sparkleBundle pathForResource:[[sparkleBundle infoDictionary] objectForKey:SURelaunchToolNameKey] ofType:@"app"]; + if (relaunchPathToCopy != nil) { + NSString *targetPath = [self.host.appCachePath stringByAppendingPathComponent:[relaunchPathToCopy lastPathComponent]]; + // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. + NSError *error = nil; + [[NSFileManager defaultManager] createDirectoryAtPath:[targetPath stringByDeletingLastPathComponent] withIntermediateDirectories:YES attributes:@{} error:&error]; + + if ([SUPlainInstaller copyPathWithAuthentication:relaunchPathToCopy overPath:targetPath temporaryName:nil error:&error]) { + self.relaunchPath = targetPath; + } else { + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:@{ + NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), + NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:@"Couldn't copy relauncher (%@) to temporary path (%@)! %@", relaunchPathToCopy, targetPath, (error ? [error localizedDescription] : @"")] + }]]; + } + } + + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterWillRestartNotification object:self]; + if ([updaterDelegate respondsToSelector:@selector(updaterWillRelaunchApplication:)]) + [updaterDelegate updaterWillRelaunchApplication:self.updater]; + + if (!self.relaunchPath || ![[NSFileManager defaultManager] fileExistsAtPath:self.relaunchPath]) { + // Note that we explicitly use the host app's name here, since updating plugin for Mail relaunches Mail, not just the plugin. + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:@{ + NSLocalizedDescriptionKey: [NSString stringWithFormat:SULocalizedString(@"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@.", nil), [self.host name]], + NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:@"Couldn't find the relauncher (expected to find it at %@)", self.relaunchPath] + }]]; + // We intentionally don't abandon the update here so that the host won't initiate another. + return; + } + + NSString *pathToRelaunch = [self.host bundlePath]; + if ([updaterDelegate respondsToSelector:@selector(pathToRelaunchForUpdater:)]) { + pathToRelaunch = [updaterDelegate pathToRelaunchForUpdater:self.updater]; + } + NSString *relaunchToolPath = [[NSBundle bundleWithPath:self.relaunchPath] executablePath]; + [NSTask launchedTaskWithLaunchPath:relaunchToolPath arguments:@[[self.host bundlePath], + pathToRelaunch, + [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], + self.tempDir, + relaunch ? @"1" : @"0", + showUI ? @"1" : @"0"]]; + [self terminateApp]; +} + +- (void)terminateApp +{ + [NSApp terminate:self]; +} + +- (void)cleanUpDownload +{ + if (self.tempDir != nil) // tempDir contains downloadPath, so we implicitly delete both here. + { + BOOL success = NO; + NSError *error = nil; + success = [[NSFileManager defaultManager] removeItemAtPath:self.tempDir error:&error]; // Clean up the copied relauncher + if (!success) + [[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[self.tempDir stringByDeletingLastPathComponent] destination:@"" files:@[[self.tempDir lastPathComponent]] tag:NULL]; + } +} + +- (void)installerForHost:(SUHost *)aHost failedWithError:(NSError *)error +{ + if (aHost != self.host) { + return; + } + NSError *dontThrow = nil; + [[NSFileManager defaultManager] removeItemAtPath:self.relaunchPath error:&dontThrow]; // Clean up the copied relauncher + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUInstallationError userInfo:@{ + NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while installing the update. Please try again later.", nil), + NSLocalizedFailureReasonErrorKey: [error localizedDescription], + NSUnderlyingErrorKey: error, + }]]; +} + +- (void)abortUpdate +{ + [self cleanUpDownload]; + [[NSNotificationCenter defaultCenter] removeObserver:self]; + self.updateItem = nil; + [super abortUpdate]; +} + +- (void)abortUpdateWithError:(NSError *)error +{ + if ([error code] != SUNoUpdateError) { // Let's not bother logging this. + SULog(@"Error: %@ %@", [error localizedDescription], [error localizedFailureReason]); + } + if (self.download) { + [self.download cancel]; + } + + // Notify host app that update has aborted + id updaterDelegate = [self.updater delegate]; + if ([updaterDelegate respondsToSelector:@selector(updater:didAbortWithError:)]) { + [updaterDelegate updater:self.updater didAbortWithError:error]; + } + + [self abortUpdate]; +} + +@end diff --git a/SUBinaryDeltaApply.h b/Sparkle/SUBinaryDeltaApply.h similarity index 89% rename from SUBinaryDeltaApply.h rename to Sparkle/SUBinaryDeltaApply.h index d4450109..293c1e11 100644 --- a/SUBinaryDeltaApply.h +++ b/Sparkle/SUBinaryDeltaApply.h @@ -10,6 +10,6 @@ #define SUBINARYDELTAAPPLY_H @class NSString; -int applyBinaryDelta(NSString *source, NSString *destination, NSString *patchFile); +int applyBinaryDelta(NSString *source, NSString *destination, NSString *patchFile, BOOL verbose); #endif diff --git a/Sparkle/SUBinaryDeltaApply.m b/Sparkle/SUBinaryDeltaApply.m new file mode 100644 index 00000000..43952df9 --- /dev/null +++ b/Sparkle/SUBinaryDeltaApply.m @@ -0,0 +1,226 @@ +// +// SUBinaryDeltaApply.m +// Sparkle +// +// Created by Mark Rowe on 2009-06-01. +// Copyright 2009 Mark Rowe. All rights reserved. +// + +#import "SUBinaryDeltaApply.h" +#import "SUBinaryDeltaCommon.h" +#include +#import +#include "bspatch.h" +#include +#include +#include + +static BOOL applyBinaryDeltaToFile(xar_t x, xar_file_t file, NSString *sourceFilePath, NSString *destinationFilePath) +{ + NSString *patchFile = temporaryFilename(@"apply-binary-delta"); + xar_extract_tofile(x, file, [patchFile fileSystemRepresentation]); + const char *argv[] = {"/usr/bin/bspatch", [sourceFilePath fileSystemRepresentation], [destinationFilePath fileSystemRepresentation], [patchFile fileSystemRepresentation]}; + BOOL success = (bspatch(4, (char **)argv) == 0); + unlink([patchFile fileSystemRepresentation]); + return success; +} + +int applyBinaryDelta(NSString *source, NSString *destination, NSString *patchFile, BOOL verbose) +{ + xar_t x = xar_open([patchFile fileSystemRepresentation], READ); + if (!x) { + fprintf(stderr, "Unable to open %s. Giving up.\n", [patchFile fileSystemRepresentation]); + return 1; + } + + SUBinaryDeltaMajorVersion majorDiffVersion = FIRST_DELTA_DIFF_MAJOR_VERSION; + SUBinaryDeltaMinorVersion minorDiffVersion = FIRST_DELTA_DIFF_MINOR_VERSION; + + NSString *expectedBeforeHashv1 = nil; + NSString *expectedAfterHashv1 = nil; + + NSString *expectedNewBeforeHash = nil; + NSString *expectedNewAfterHash = nil; + + xar_subdoc_t subdoc; + for (subdoc = xar_subdoc_first(x); subdoc; subdoc = xar_subdoc_next(subdoc)) { + if (!strcmp(xar_subdoc_name(subdoc), BINARY_DELTA_ATTRIBUTES_KEY)) { + const char *value = 0; + + // available in version 2.0 or later + xar_subdoc_prop_get(subdoc, MAJOR_DIFF_VERSION_KEY, &value); + if (value) + majorDiffVersion = (SUBinaryDeltaMajorVersion)[@(value) intValue]; + + // available in version 2.0 or later + xar_subdoc_prop_get(subdoc, MINOR_DIFF_VERSION_KEY, &value); + if (value) + minorDiffVersion = (SUBinaryDeltaMinorVersion)[@(value) intValue]; + + // available in version 2.0 or later + xar_subdoc_prop_get(subdoc, BEFORE_TREE_SHA1_KEY, &value); + if (value) + expectedNewBeforeHash = @(value); + + // available in version 2.0 or later + xar_subdoc_prop_get(subdoc, AFTER_TREE_SHA1_KEY, &value); + if (value) + expectedNewAfterHash = @(value); + + // only available in version 1.0 + xar_subdoc_prop_get(subdoc, BEFORE_TREE_SHA1_OLD_KEY, &value); + if (value) + expectedBeforeHashv1 = @(value); + + // only available in version 1.0 + xar_subdoc_prop_get(subdoc, AFTER_TREE_SHA1_OLD_KEY, &value); + if (value) + expectedAfterHashv1 = @(value); + } + } + + if (majorDiffVersion < FIRST_DELTA_DIFF_MAJOR_VERSION) { + fprintf(stderr, "Unable to identify diff-version %u in delta. Giving up.\n", majorDiffVersion); + return 1; + } + + if (majorDiffVersion > LATEST_DELTA_DIFF_MAJOR_VERSION) { + fprintf(stderr, "A later version is needed to apply this patch (on major version %u, but patch requests version %u).\n", LATEST_DELTA_DIFF_MAJOR_VERSION, majorDiffVersion); + return 1; + } + + BOOL usesNewTreeHash = MAJOR_VERSION_IS_AT_LEAST(majorDiffVersion, SUBeigeMajorVersion); + + NSString *expectedBeforeHash = usesNewTreeHash ? expectedNewBeforeHash : expectedBeforeHashv1; + NSString *expectedAfterHash = usesNewTreeHash ? expectedNewAfterHash : expectedAfterHashv1; + + if (!expectedBeforeHash || !expectedAfterHash) { + fprintf(stderr, "Unable to find before-sha1 or after-sha1 metadata in delta. Giving up.\n"); + return 1; + } + + if (verbose) { + fprintf(stderr, "Applying version %u.%u patch...\n", majorDiffVersion, minorDiffVersion); + fprintf(stderr, "Verifying source..."); + } + + NSString *beforeHash = hashOfTreeWithVersion(source, majorDiffVersion); + if (!beforeHash) { + fprintf(stderr, "\nUnable to calculate hash of tree %s\n", [source fileSystemRepresentation]); + return 1; + } + + if (![beforeHash isEqualToString:expectedBeforeHash]) { + fprintf(stderr, "\nSource doesn't have expected hash (%s != %s). Giving up.\n", [expectedBeforeHash UTF8String], [beforeHash UTF8String]); + return 1; + } + + if (verbose) { + fprintf(stderr, "\nCopying files..."); + } + + if (!removeTree(destination)) { + fprintf(stderr, "\nFailed to remove %s\n", [destination fileSystemRepresentation]); + return 1; + } + if (!copyTree(source, destination)) { + fprintf(stderr, "\nFailed to copy %s to %s\n", [source fileSystemRepresentation], [destination fileSystemRepresentation]); + return 1; + } + + BOOL hasExtractKeyAvailable = MAJOR_VERSION_IS_AT_LEAST(majorDiffVersion, SUBeigeMajorVersion); + + if (verbose) { + fprintf(stderr, "\nPatching..."); + } + NSFileManager *fileManager = [[NSFileManager alloc] init]; + xar_file_t file; + xar_iter_t iter = xar_iter_new(); + for (file = xar_file_first(x, iter); file; file = xar_file_next(iter)) { + NSString *path = @(xar_get_path(file)); + NSString *sourceFilePath = [source stringByAppendingPathComponent:path]; + NSString *destinationFilePath = [destination stringByAppendingPathComponent:path]; + + // Don't use -[NSFileManager fileExistsAtPath:] because it will follow symbolic links + BOOL fileExisted = verbose && [fileManager attributesOfItemAtPath:destinationFilePath error:nil]; + BOOL removedFile = NO; + + const char *value; + if (!xar_prop_get(file, DELETE_KEY, &value) || + (!hasExtractKeyAvailable && !xar_prop_get(file, DELETE_THEN_EXTRACT_OLD_KEY, &value))) { + if (!removeTree(destinationFilePath)) { + fprintf(stderr, "\n%s or %s: failed to remove %s\n", DELETE_KEY, DELETE_THEN_EXTRACT_OLD_KEY, [destination fileSystemRepresentation]); + return 1; + } + if (!hasExtractKeyAvailable && !xar_prop_get(file, DELETE_KEY, &value)) { + if (verbose) { + fprintf(stderr, "\n❌ %s %s", VERBOSE_DELETED, [path fileSystemRepresentation]); + } + continue; + } + + removedFile = YES; + } + + if (!xar_prop_get(file, BINARY_DELTA_KEY, &value)) { + if (!applyBinaryDeltaToFile(x, file, sourceFilePath, destinationFilePath)) { + fprintf(stderr, "\nUnable to patch %s to destination %s\n", [sourceFilePath fileSystemRepresentation], [destinationFilePath fileSystemRepresentation]); + return 1; + } + + if (verbose) { + fprintf(stderr, "\n🔨 %s %s", VERBOSE_PATCHED, [path fileSystemRepresentation]); + } + } else if ((hasExtractKeyAvailable && !xar_prop_get(file, EXTRACT_KEY, &value)) || + (!hasExtractKeyAvailable && xar_prop_get(file, MODIFY_PERMISSIONS_KEY, &value))) { // extract and permission modifications don't coexist + + if (xar_extract_tofile(x, file, [destinationFilePath fileSystemRepresentation]) != 0) { + fprintf(stderr, "\nUnable to extract file to %s\n", [destinationFilePath fileSystemRepresentation]); + return 1; + } + + if (verbose) { + if (fileExisted) { + fprintf(stderr, "\n✏️ %s %s", VERBOSE_UPDATED, [path fileSystemRepresentation]); + } else { + fprintf(stderr, "\n✅ %s %s", VERBOSE_ADDED, [path fileSystemRepresentation]); + } + } + } else if (verbose && removedFile) { + fprintf(stderr, "\n❌ %s %s", VERBOSE_DELETED, [path fileSystemRepresentation]); + } + + if (!xar_prop_get(file, MODIFY_PERMISSIONS_KEY, &value)) { + mode_t mode = (mode_t)[[NSString stringWithUTF8String:value] intValue]; + if (!modifyPermissions(destinationFilePath, mode)) { + fprintf(stderr, "\nUnable to modify permissions (%s) on file %s\n", value, [destinationFilePath fileSystemRepresentation]); + return 1; + } + + if (verbose) { + fprintf(stderr, "\n👮 %s %s (0%o)", VERBOSE_MODIFIED, [path fileSystemRepresentation], mode); + } + } + } + xar_close(x); + + if (verbose) { + fprintf(stderr, "\nVerifying destination..."); + } + NSString *afterHash = hashOfTreeWithVersion(destination, majorDiffVersion); + if (!afterHash) { + fprintf(stderr, "\nUnable to calculate hash of tree %s\n", [destination fileSystemRepresentation]); + return 1; + } + + if (![afterHash isEqualToString:expectedAfterHash]) { + fprintf(stderr, "\nDestination doesn't have expected hash (%s != %s). Giving up.\n", [expectedAfterHash UTF8String], [afterHash UTF8String]); + removeTree(destination); + return 1; + } + + if (verbose) { + fprintf(stderr, "\nDone!\n"); + } + return 0; +} diff --git a/Sparkle/SUBinaryDeltaCommon.h b/Sparkle/SUBinaryDeltaCommon.h new file mode 100644 index 00000000..44a5d04e --- /dev/null +++ b/Sparkle/SUBinaryDeltaCommon.h @@ -0,0 +1,81 @@ +// +// SUBinaryDeltaCommon.h +// Sparkle +// +// Created by Mark Rowe on 2009-06-01. +// Copyright 2009 Mark Rowe. All rights reserved. +// + +#ifndef SUBINARYDELTACOMMON_H +#define SUBINARYDELTACOMMON_H + +#include + +#define PERMISSION_FLAGS (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX) + +#define IS_VALID_PERMISSIONS(mode) \ + (((mode & PERMISSION_FLAGS) == 0755) || ((mode & PERMISSION_FLAGS) == 0644)) + +#define BINARY_DELTA_ATTRIBUTES_KEY "binary-delta-attributes" +#define MAJOR_DIFF_VERSION_KEY "major-version" +#define MINOR_DIFF_VERSION_KEY "minor-version" +#define BEFORE_TREE_SHA1_KEY "before-tree-sha1" +#define AFTER_TREE_SHA1_KEY "after-tree-sha1" +#define DELETE_KEY "delete" +#define EXTRACT_KEY "extract" +#define BINARY_DELTA_KEY "binary-delta" +#define MODIFY_PERMISSIONS_KEY "mod-permissions" + +// Properties no longer used in new patches +#define DELETE_THEN_EXTRACT_OLD_KEY "delete-then-extract" +#define BEFORE_TREE_SHA1_OLD_KEY "before-sha1" +#define AFTER_TREE_SHA1_OLD_KEY "after-sha1" + +#define VERBOSE_DELETED "Deleted" // file is deleted from the file system when applying a patch +#define VERBOSE_REMOVED "Removed" // file is set to be removed when creating a patch +#define VERBOSE_ADDED "Added" // file is added to the patch or file system +#define VERBOSE_DIFFED "Diffed" // file is diffed when creating a patch +#define VERBOSE_PATCHED "Patched" // file is patched when applying a patch +#define VERBOSE_UPDATED "Updated" // file's contents are updated +#define VERBOSE_MODIFIED "Modified" // file's metadata is modified + +#define MAJOR_VERSION_IS_AT_LEAST(actualMajor, expectedMajor) (actualMajor >= expectedMajor) + +// Each major version will be assigned a name of a color +// Changes that break backwards compatibility will have different major versions +// Changes that affect creating but not applying patches will have different minor versions + +typedef NS_ENUM(uint16_t, SUBinaryDeltaMajorVersion) +{ + SUAzureMajorVersion = 1, + SUBeigeMajorVersion = 2 +}; + +// Only keep track of the latest minor version for each major version +typedef NS_ENUM(uint16_t, SUBinaryDeltaMinorVersion) +{ + SUAzureMinorVersion = 1, + SUBeigeMinorVersion = 0, +}; + +#define FIRST_DELTA_DIFF_MAJOR_VERSION SUAzureMajorVersion +#define FIRST_DELTA_DIFF_MINOR_VERSION 0 + +#define LATEST_DELTA_DIFF_MAJOR_VERSION SUBeigeMajorVersion + +@class NSString; +@class NSData; + +extern int compareFiles(const FTSENT **a, const FTSENT **b); +extern NSData *hashOfFileContents(FTSENT *ent); +extern NSString *hashOfTreeWithVersion(NSString *path, uint16_t majorVersion); +extern NSString *hashOfTree(NSString *path); +extern BOOL removeTree(NSString *path); +extern BOOL copyTree(NSString *source, NSString *dest); +extern BOOL modifyPermissions(NSString *path, mode_t desiredPermissions); +extern NSString *pathRelativeToDirectory(NSString *directory, NSString *path); +NSString *temporaryFilename(NSString *base); +NSString *temporaryDirectory(NSString *base); +NSString *stringWithFileSystemRepresentation(const char*); +SUBinaryDeltaMinorVersion latestMinorVersionForMajorVersion(SUBinaryDeltaMajorVersion majorVersion); +#endif diff --git a/Sparkle/SUBinaryDeltaCommon.m b/Sparkle/SUBinaryDeltaCommon.m new file mode 100644 index 00000000..9bde20c3 --- /dev/null +++ b/Sparkle/SUBinaryDeltaCommon.m @@ -0,0 +1,238 @@ +// +// SUBinaryDeltaCommon.m +// Sparkle +// +// Created by Mark Rowe on 2009-06-01. +// Copyright 2009 Mark Rowe. All rights reserved. +// + +#include "SUBinaryDeltaCommon.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +int compareFiles(const FTSENT **a, const FTSENT **b) +{ + return strcoll((*a)->fts_name, (*b)->fts_name); +} + +NSString *pathRelativeToDirectory(NSString *directory, NSString *path) +{ + NSUInteger directoryLength = [directory length]; + if ([path hasPrefix:directory]) + return [path substringFromIndex:directoryLength]; + + return path; +} + +NSString *stringWithFileSystemRepresentation(const char *input) { + return [[NSFileManager defaultManager] stringWithFileSystemRepresentation:input length:strlen(input)]; +} + +SUBinaryDeltaMinorVersion latestMinorVersionForMajorVersion(SUBinaryDeltaMajorVersion majorVersion) +{ + switch (majorVersion) { + case SUAzureMajorVersion: + return SUAzureMinorVersion; + case SUBeigeMajorVersion: + return SUBeigeMinorVersion; + } + return 0; +} + +NSString *temporaryFilename(NSString *base) +{ + NSString *template = [NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.XXXXXXXXXX", base]]; + NSMutableData *data = [NSMutableData data]; + [data appendBytes:template.fileSystemRepresentation length:strlen(template.fileSystemRepresentation) + 1]; + + char *buffer = data.mutableBytes; + int fd = mkstemp(buffer); + if (fd == -1) { + perror("mkstemp"); + return nil; + } + + if (close(fd) != 0) { + perror("close"); + return nil; + } + + return stringWithFileSystemRepresentation(buffer); +} + +NSString *temporaryDirectory(NSString *base) +{ + NSString *template = [NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.XXXXXXXXXX", base]]; + NSMutableData *data = [NSMutableData data]; + [data appendBytes:template.fileSystemRepresentation length:strlen(template.fileSystemRepresentation) + 1]; + + char *buffer = data.mutableBytes; + char *templateResult = mkdtemp(buffer); + if (templateResult == NULL) { + perror("mkdtemp"); + return nil; + } + + return stringWithFileSystemRepresentation(templateResult); +} + +static void _hashOfBuffer(unsigned char *hash, const char* buffer, ssize_t bufferLength) +{ + assert(bufferLength >= 0 && bufferLength <= UINT32_MAX); + CC_SHA1_CTX hashContext; + CC_SHA1_Init(&hashContext); + CC_SHA1_Update(&hashContext, buffer, (CC_LONG)bufferLength); + CC_SHA1_Final(hash, &hashContext); +} + +static BOOL _hashOfFileContents(unsigned char* hash, FTSENT *ent) +{ + if (ent->fts_info == FTS_SL) { + char linkDestination[MAXPATHLEN + 1]; + ssize_t linkDestinationLength = readlink(ent->fts_path, linkDestination, MAXPATHLEN); + if (linkDestinationLength < 0) { + perror("readlink"); + return NO; + } + + _hashOfBuffer(hash, linkDestination, linkDestinationLength); + } else if (ent->fts_info == FTS_F) { + int fileDescriptor = open(ent->fts_path, O_RDONLY); + if (fileDescriptor == -1) { + perror("open"); + return NO; + } + + ssize_t fileSize = ent->fts_statp->st_size; + if (fileSize == 0) { + _hashOfBuffer(hash, NULL, 0); + } else { + void *buffer = mmap(0, (size_t)fileSize, PROT_READ, MAP_FILE | MAP_PRIVATE, fileDescriptor, 0); + if (buffer == (void*)-1) { + close(fileDescriptor); + perror("mmap"); + return NO; + } + + _hashOfBuffer(hash, buffer, fileSize); + munmap(buffer, (size_t)fileSize); + } + close(fileDescriptor); + } else if (ent->fts_info == FTS_D) { + memset(hash, 0xdd, CC_SHA1_DIGEST_LENGTH); + } else { + return NO; + } + return YES; +} + +NSData *hashOfFileContents(FTSENT *ent) +{ + unsigned char fileHash[CC_SHA1_DIGEST_LENGTH]; + if (!_hashOfFileContents(fileHash, ent)) { + return nil; + } + return [NSData dataWithBytes:fileHash length:CC_SHA1_DIGEST_LENGTH]; +} + +NSString *hashOfTreeWithVersion(NSString *path, uint16_t majorVersion) +{ + const char *sourcePaths[] = {[path fileSystemRepresentation], 0}; + FTS *fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles); + if (!fts) { + perror("fts_open"); + return nil; + } + + CC_SHA1_CTX hashContext; + CC_SHA1_Init(&hashContext); + + FTSENT *ent = 0; + while ((ent = fts_read(fts))) { + if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL && ent->fts_info != FTS_D) + continue; + + if (ent->fts_info == FTS_D && !MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion)) { + continue; + } + + NSString *relativePath = pathRelativeToDirectory(path, stringWithFileSystemRepresentation(ent->fts_path)); + if (relativePath.length == 0) + continue; + + unsigned char fileHash[CC_SHA1_DIGEST_LENGTH]; + if (!_hashOfFileContents(fileHash, ent)) { + return nil; + } + CC_SHA1_Update(&hashContext, fileHash, sizeof(fileHash)); + + const char *relativePathBytes = [relativePath fileSystemRepresentation]; + CC_SHA1_Update(&hashContext, relativePathBytes, (CC_LONG)strlen(relativePathBytes)); + + if (MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion)) { + uint16_t mode = ent->fts_statp->st_mode; + uint16_t type = ent->fts_info; + uint16_t permissions = mode & PERMISSION_FLAGS; + + CC_SHA1_Update(&hashContext, &type, sizeof(type)); + CC_SHA1_Update(&hashContext, &permissions, sizeof(permissions)); + } + } + fts_close(fts); + + unsigned char hash[CC_SHA1_DIGEST_LENGTH]; + CC_SHA1_Final(hash, &hashContext); + + char hexHash[CC_SHA1_DIGEST_LENGTH * 2 + 1]; + size_t i; + for (i = 0; i < CC_SHA1_DIGEST_LENGTH; i++) + sprintf(hexHash + i * 2, "%02x", hash[i]); + + return @(hexHash); +} + +extern NSString *hashOfTree(NSString *path) +{ + return hashOfTreeWithVersion(path, LATEST_DELTA_DIFF_MAJOR_VERSION); +} + +BOOL removeTree(NSString *path) +{ + NSFileManager *fileManager = [NSFileManager defaultManager]; + // Don't use fileExistsForPath: because it will try to follow symbolic links + if (![fileManager attributesOfItemAtPath:path error:nil]) { + return YES; + } + return [fileManager removeItemAtPath:path error:nil]; +} + +BOOL copyTree(NSString *source, NSString *dest) +{ + return [[NSFileManager defaultManager] copyItemAtPath:source toPath:dest error:nil]; +} + +BOOL modifyPermissions(NSString *path, mode_t desiredPermissions) +{ + NSFileManager *fileManager = [NSFileManager defaultManager]; + NSDictionary *attributes = [fileManager attributesOfItemAtPath:path error:nil]; + if (!attributes) { + return NO; + } + NSNumber *permissions = attributes[NSFilePosixPermissions]; + if (!permissions) { + return NO; + } + mode_t newMode = ([permissions unsignedShortValue] & ~PERMISSION_FLAGS) | desiredPermissions; + int (*changeModeFunc)(const char *, mode_t) = [attributes[NSFileType] isEqualToString:NSFileTypeSymbolicLink] ? lchmod : chmod; + if (changeModeFunc([path fileSystemRepresentation], newMode) != 0) { + return NO; + } + return YES; +} diff --git a/Sparkle/SUBinaryDeltaCreate.h b/Sparkle/SUBinaryDeltaCreate.h new file mode 100644 index 00000000..4afc2281 --- /dev/null +++ b/Sparkle/SUBinaryDeltaCreate.h @@ -0,0 +1,17 @@ +// +// SUBinaryDeltaCreate.m +// Sparkle +// +// Created by Mayur Pawashe on 4/9/15. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#ifndef SUBINARYDELTACREATE_H +#define SUBINARYDELTACREATE_H + +#import "SUBinaryDeltaCommon.h" + +@class NSString; +int createBinaryDelta(NSString *source, NSString *destination, NSString *patchFile, SUBinaryDeltaMajorVersion majorVersion, BOOL verbose); + +#endif diff --git a/Sparkle/SUBinaryDeltaCreate.m b/Sparkle/SUBinaryDeltaCreate.m new file mode 100644 index 00000000..a477d674 --- /dev/null +++ b/Sparkle/SUBinaryDeltaCreate.m @@ -0,0 +1,462 @@ +// +// SUBinaryDeltaCreate.m +// Sparkle +// +// Created by Mayur Pawashe on 4/9/15. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import "SUBinaryDeltaCreate.h" +#import +#include "SUBinaryDeltaCommon.h" +#import +#include +#include +#include +#include +#include +#include +#include +#include +#include + +extern int bsdiff(int argc, const char **argv); + +@interface CreateBinaryDeltaOperation : NSOperation +@property (copy) NSString *relativePath; +@property (strong) NSString *resultPath; +@property (strong) NSNumber *oldPermissions; +@property (strong) NSNumber *permissions; +@property (strong) NSString *_fromPath; +@property (strong) NSString *_toPath; +- (id)initWithRelativePath:(NSString *)relativePath oldTree:(NSString *)oldTree newTree:(NSString *)newTree oldPermissions:(NSNumber *)oldPermissions newPermissions:(NSNumber *)permissions; +@end + +@implementation CreateBinaryDeltaOperation +@synthesize relativePath = _relativePath; +@synthesize resultPath = _resultPath; +@synthesize oldPermissions = _oldPermissions; +@synthesize permissions = _permissions; +@synthesize _fromPath = _fromPath; +@synthesize _toPath = _toPath; + +- (id)initWithRelativePath:(NSString *)relativePath oldTree:(NSString *)oldTree newTree:(NSString *)newTree oldPermissions:(NSNumber *)oldPermissions newPermissions:(NSNumber *)permissions +{ + if ((self = [super init])) { + self.relativePath = relativePath; + self.oldPermissions = oldPermissions; + self.permissions = permissions; + self._fromPath = [oldTree stringByAppendingPathComponent:relativePath]; + self._toPath = [newTree stringByAppendingPathComponent:relativePath]; + } + return self; +} + +- (void)main +{ + NSString *temporaryFile = temporaryFilename(@"BinaryDelta"); + const char *argv[] = {"/usr/bin/bsdiff", [self._fromPath fileSystemRepresentation], [self._toPath fileSystemRepresentation], [temporaryFile fileSystemRepresentation]}; + int result = bsdiff(4, argv); + if (!result) + self.resultPath = temporaryFile; +} + +@end + +#define INFO_HASH_KEY @"hash" +#define INFO_TYPE_KEY @"type" +#define INFO_PERMISSIONS_KEY @"permissions" +#define INFO_SIZE_KEY @"size" + +static NSDictionary *infoForFile(FTSENT *ent) +{ + NSData *hash = hashOfFileContents(ent); + if (!hash) { + return nil; + } + + off_t size = (ent->fts_info != FTS_D) ? ent->fts_statp->st_size : 0; + + assert(ent->fts_statp != NULL); + + mode_t permissions = ent->fts_statp->st_mode & PERMISSION_FLAGS; + + return @{INFO_HASH_KEY: hash, INFO_TYPE_KEY: @(ent->fts_info), INFO_PERMISSIONS_KEY : @(permissions), INFO_SIZE_KEY: @(size)}; +} + +static bool aclExists(const FTSENT *ent) +{ + // OS X does not currently support ACLs for symlinks + if (ent->fts_info == FTS_SL) { + return NO; + } + + acl_t acl = acl_get_link_np(ent->fts_path, ACL_TYPE_EXTENDED); + if (acl != NULL) { + acl_entry_t entry; + int result = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry); + assert(acl_free((void *)acl) == 0); + return (result == 0); + } + return false; +} + +static NSString *absolutePath(NSString *path) +{ + NSURL *url = [[NSURL alloc] initFileURLWithPath:path]; + return [[url absoluteURL] path]; +} + +static NSString *temporaryPatchFile(NSString *patchFile) +{ + NSString *path = absolutePath(patchFile); + NSString *directory = [path stringByDeletingLastPathComponent]; + NSString *file = [path lastPathComponent]; + return [NSString stringWithFormat:@"%@/.%@.tmp", directory, file]; +} + +#define MIN_FILE_SIZE_FOR_CREATING_DELTA 4096 + +static BOOL shouldSkipDeltaCompression(NSDictionary* originalInfo, NSDictionary *newInfo) +{ + unsigned long long fileSize = [newInfo[INFO_SIZE_KEY] unsignedLongLongValue]; + if (fileSize < MIN_FILE_SIZE_FOR_CREATING_DELTA) { + return YES; + } + + if (!originalInfo) { + return YES; + } + + if ([originalInfo[INFO_TYPE_KEY] unsignedShortValue] != [newInfo[INFO_TYPE_KEY] unsignedShortValue]) { + return YES; + } + + if ([originalInfo[INFO_HASH_KEY] isEqual:newInfo[INFO_HASH_KEY]]) { + // this is possible if just the permissions have changed + return YES; + } + + return NO; +} + +static BOOL shouldDeleteThenExtract(NSDictionary* originalInfo, NSDictionary *newInfo) +{ + if (!originalInfo) { + return NO; + } + + if ([originalInfo[INFO_TYPE_KEY] unsignedShortValue] != [newInfo[INFO_TYPE_KEY] unsignedShortValue]) { + return YES; + } + + return NO; +} + +static BOOL shouldSkipExtracting(NSDictionary *originalInfo, NSDictionary *newInfo) +{ + if (!originalInfo) { + return NO; + } + + if ([originalInfo[INFO_TYPE_KEY] unsignedShortValue] != [newInfo[INFO_TYPE_KEY] unsignedShortValue]) { + return NO; + } + + if (![originalInfo[INFO_HASH_KEY] isEqual:newInfo[INFO_HASH_KEY]]) { + return NO; + } + + return YES; +} + +static BOOL shouldChangePermissions(NSDictionary *originalInfo, NSDictionary *newInfo) +{ + if (!originalInfo) { + return NO; + } + + if ([originalInfo[INFO_TYPE_KEY] unsignedShortValue] != [newInfo[INFO_TYPE_KEY] unsignedShortValue]) { + return NO; + } + + if ([originalInfo[INFO_PERMISSIONS_KEY] unsignedShortValue] == [newInfo[INFO_PERMISSIONS_KEY] unsignedShortValue]) { + return NO; + } + + return YES; +} + +int createBinaryDelta(NSString *source, NSString *destination, NSString *patchFile, SUBinaryDeltaMajorVersion majorVersion, BOOL verbose) +{ + if (majorVersion < FIRST_DELTA_DIFF_MAJOR_VERSION) { + fprintf(stderr, "Version provided (%u) is not valid\n", majorVersion); + return 1; + } + + if (majorVersion > LATEST_DELTA_DIFF_MAJOR_VERSION) { + fprintf(stderr, "This program is too old to create a version %u patch, or the version number provided is invalid\n", majorVersion); + return 1; + } + + SUBinaryDeltaMinorVersion minorVersion = latestMinorVersionForMajorVersion(majorVersion); + + NSMutableDictionary *originalTreeState = [NSMutableDictionary dictionary]; + + const char *sourcePaths[] = {[source fileSystemRepresentation], 0}; + FTS *fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles); + if (!fts) { + perror("fts_open"); + return 1; + } + + if (verbose) { + fprintf(stderr, "Creating version %u.%u patch...\n", majorVersion, minorVersion); + fprintf(stderr, "Processing %s...", [source fileSystemRepresentation]); + } + + FTSENT *ent = 0; + while ((ent = fts_read(fts))) { + if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL && ent->fts_info != FTS_D) { + continue; + } + + NSString *key = pathRelativeToDirectory(source, stringWithFileSystemRepresentation(ent->fts_path)); + if (![key length]) { + continue; + } + + NSDictionary *info = infoForFile(ent); + if (!info) { + fprintf(stderr, "\nFailed to retrieve info for file %s\n", ent->fts_path); + return 1; + } + originalTreeState[key] = info; + + if (aclExists(ent)) { + fprintf(stderr, "\nDiffing ACLs are not supported. Detected ACL in before-tree on file %s\n", ent->fts_path); + return 1; + } + } + fts_close(fts); + + NSString *beforeHash = hashOfTreeWithVersion(source, majorVersion); + + if (!beforeHash) { + fprintf(stderr, "\nFailed to generate hash for tree %s\n", [source fileSystemRepresentation]); + return 1; + } + + NSMutableDictionary *newTreeState = [NSMutableDictionary dictionary]; + for (NSString *key in originalTreeState) + { + newTreeState[key] = [NSNull null]; + } + + if (verbose) { + fprintf(stderr, "\nProcessing %s...", [destination fileSystemRepresentation]); + } + + sourcePaths[0] = [destination fileSystemRepresentation]; + fts = fts_open((char* const*)sourcePaths, FTS_PHYSICAL | FTS_NOCHDIR, compareFiles); + if (!fts) { + perror("fts_open"); + return 1; + } + + + while ((ent = fts_read(fts))) { + if (ent->fts_info != FTS_F && ent->fts_info != FTS_SL && ent->fts_info != FTS_D) { + continue; + } + + NSString *key = pathRelativeToDirectory(destination, stringWithFileSystemRepresentation(ent->fts_path)); + if (![key length]) { + continue; + } + + NSDictionary *info = infoForFile(ent); + if (!info) { + fprintf(stderr, "\nFailed to retrieve info from file %s\n", ent->fts_path); + return 1; + } + + // We should validate permissions and ACLs even if we don't store the info in the diff in the case of ACLs, + // or in the case of permissions if the patch version is 1 + + mode_t permissions = [info[INFO_PERMISSIONS_KEY] unsignedShortValue]; + if (!IS_VALID_PERMISSIONS(permissions)) { + fprintf(stderr, "\nInvalid file permissions after-tree on file %s\nOnly permissions with modes 0755 and 0644 are supported\n", ent->fts_path); + return 1; + } + + if (aclExists(ent)) { + fprintf(stderr, "\nDiffing ACLs are not supported. Detected ACL in after-tree on file %s\n", ent->fts_path); + return 1; + } + + NSDictionary *oldInfo = originalTreeState[key]; + + if ([info isEqual:oldInfo]) { + [newTreeState removeObjectForKey:key]; + } else { + newTreeState[key] = info; + + if (oldInfo && [oldInfo[INFO_TYPE_KEY] unsignedShortValue] == FTS_D && [info[INFO_TYPE_KEY] unsignedShortValue] != FTS_D) { + NSArray *parentPathComponents = key.pathComponents; + + for (NSString *childPath in originalTreeState) { + NSArray *childPathComponents = childPath.pathComponents; + if (childPathComponents.count > parentPathComponents.count && + [parentPathComponents isEqualToArray:[childPathComponents subarrayWithRange:NSMakeRange(0, parentPathComponents.count)]]) { + [newTreeState removeObjectForKey:childPath]; + } + } + } + } + } + fts_close(fts); + + NSString *afterHash = hashOfTreeWithVersion(destination, majorVersion); + if (!afterHash) { + fprintf(stderr, "\nFailed to generate hash for tree %s\n", [destination fileSystemRepresentation]); + return 1; + } + + if (verbose) { + fprintf(stderr, "\nGenerating delta..."); + } + + NSString *temporaryFile = temporaryPatchFile(patchFile); + xar_t x = xar_open([temporaryFile fileSystemRepresentation], WRITE); + xar_opt_set(x, XAR_OPT_COMPRESSION, "bzip2"); + + xar_subdoc_t attributes = xar_subdoc_new(x, BINARY_DELTA_ATTRIBUTES_KEY); + + xar_subdoc_prop_set(attributes, MAJOR_DIFF_VERSION_KEY, [[NSString stringWithFormat:@"%u", majorVersion] UTF8String]); + xar_subdoc_prop_set(attributes, MINOR_DIFF_VERSION_KEY, [[NSString stringWithFormat:@"%u", minorVersion] UTF8String]); + + // Version 1 patches don't have a major or minor version field, so we need to differentiate between the hash keys + const char *beforeHashKey = + MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion) ? BEFORE_TREE_SHA1_KEY : BEFORE_TREE_SHA1_OLD_KEY; + const char *afterHashKey = + MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion) ? AFTER_TREE_SHA1_KEY : AFTER_TREE_SHA1_OLD_KEY; + + xar_subdoc_prop_set(attributes, beforeHashKey, [beforeHash UTF8String]); + xar_subdoc_prop_set(attributes, afterHashKey, [afterHash UTF8String]); + + NSOperationQueue *deltaQueue = [[NSOperationQueue alloc] init]; + NSMutableArray *deltaOperations = [NSMutableArray array]; + + // Sort the keys by preferring the ones from the original tree to appear first + // We want to enforce deleting before extracting in the case paths differ only by case + NSArray *keys = [[newTreeState allKeys] sortedArrayUsingComparator:^NSComparisonResult(NSString *key1, NSString *key2) { + NSComparisonResult insensitiveCompareResult = [key1 caseInsensitiveCompare:key2]; + if (insensitiveCompareResult != NSOrderedSame) { + return insensitiveCompareResult; + } + + return originalTreeState[key1] ? NSOrderedAscending : NSOrderedDescending; + }]; + for (NSString* key in keys) { + id value = [newTreeState valueForKey:key]; + + if ([value isEqual:[NSNull null]]) { + xar_file_t newFile = xar_add_frombuffer(x, 0, [key fileSystemRepresentation], (char *)"", 1); + assert(newFile); + xar_prop_set(newFile, DELETE_KEY, "true"); + + if (verbose) { + fprintf(stderr, "\n❌ %s %s", VERBOSE_REMOVED, [key fileSystemRepresentation]); + } + continue; + } + + NSDictionary *originalInfo = originalTreeState[key]; + NSDictionary *newInfo = newTreeState[key]; + if (shouldSkipDeltaCompression(originalInfo, newInfo)) { + if (MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion) && shouldSkipExtracting(originalInfo, newInfo)) { + if (shouldChangePermissions(originalInfo, newInfo)) { + xar_file_t newFile = xar_add_frombuffer(x, 0, [key fileSystemRepresentation], (char *)"", 1); + assert(newFile); + xar_prop_set(newFile, MODIFY_PERMISSIONS_KEY, [[NSString stringWithFormat:@"%u", [newInfo[INFO_PERMISSIONS_KEY] unsignedShortValue]] UTF8String]); + + if (verbose) { + fprintf(stderr, "\n👮 %s %s (0%o -> 0%o)", VERBOSE_MODIFIED, [key fileSystemRepresentation], [originalInfo[INFO_PERMISSIONS_KEY] unsignedShortValue], [newInfo[INFO_PERMISSIONS_KEY] unsignedShortValue]); + } + } + } else { + NSString *path = [destination stringByAppendingPathComponent:key]; + xar_file_t newFile = xar_add_frompath(x, 0, [key fileSystemRepresentation], [path fileSystemRepresentation]); + assert(newFile); + + if (shouldDeleteThenExtract(originalInfo, newInfo)) { + if (MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion)) { + xar_prop_set(newFile, DELETE_KEY, "true"); + } else { + xar_prop_set(newFile, DELETE_THEN_EXTRACT_OLD_KEY, "true"); + } + } + + if (MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion)) { + xar_prop_set(newFile, EXTRACT_KEY, "true"); + } + + if (verbose) { + if (originalInfo) { + fprintf(stderr, "\n✏️ %s %s", VERBOSE_UPDATED, [key fileSystemRepresentation]); + } else { + fprintf(stderr, "\n✅ %s %s", VERBOSE_ADDED, [key fileSystemRepresentation]); + } + } + } + } else { + NSNumber *permissions = + (MAJOR_VERSION_IS_AT_LEAST(majorVersion, SUBeigeMajorVersion) && shouldChangePermissions(originalInfo, newInfo)) ? + newInfo[INFO_PERMISSIONS_KEY] : + nil; + CreateBinaryDeltaOperation *operation = [[CreateBinaryDeltaOperation alloc] initWithRelativePath:key oldTree:source newTree:destination oldPermissions:originalInfo[INFO_PERMISSIONS_KEY] newPermissions:permissions]; + [deltaQueue addOperation:operation]; + [deltaOperations addObject:operation]; + } + } + + [deltaQueue waitUntilAllOperationsAreFinished]; + + for (CreateBinaryDeltaOperation *operation in deltaOperations) { + NSString *resultPath = [operation resultPath]; + if (!resultPath) { + fprintf(stderr, "\nFailed to create patch from source %s and destination %s\n", [[operation relativePath] fileSystemRepresentation], [resultPath fileSystemRepresentation]); + return 1; + } + + if (verbose) { + fprintf(stderr, "\n🔨 %s %s", VERBOSE_DIFFED, [[operation relativePath] fileSystemRepresentation]); + } + + xar_file_t newFile = xar_add_frompath(x, 0, [[operation relativePath] fileSystemRepresentation], [resultPath fileSystemRepresentation]); + assert(newFile); + xar_prop_set(newFile, BINARY_DELTA_KEY, "true"); + unlink([resultPath fileSystemRepresentation]); + + if (operation.permissions) { + xar_prop_set(newFile, MODIFY_PERMISSIONS_KEY, [[NSString stringWithFormat:@"%u", [operation.permissions unsignedShortValue]] UTF8String]); + + if (verbose) { + fprintf(stderr, "\n👮 %s %s (0%o -> 0%o)", VERBOSE_MODIFIED, [[operation relativePath] fileSystemRepresentation], operation.oldPermissions.unsignedShortValue, operation.permissions.unsignedShortValue); + } + } + } + + xar_close(x); + + unlink([patchFile fileSystemRepresentation]); + link([temporaryFile fileSystemRepresentation], [patchFile fileSystemRepresentation]); + unlink([temporaryFile fileSystemRepresentation]); + + if (verbose) { + fprintf(stderr, "\nDone!\n"); + } + + return 0; +} diff --git a/Sparkle/SUBinaryDeltaTool.m b/Sparkle/SUBinaryDeltaTool.m new file mode 100644 index 00000000..804663dd --- /dev/null +++ b/Sparkle/SUBinaryDeltaTool.m @@ -0,0 +1,218 @@ +// +// SUBinaryDeltaTool.m +// Sparkle +// +// Created by Mark Rowe on 2009-06-01. +// Copyright 2009 Mark Rowe. All rights reserved. +// + +#include "SUBinaryDeltaApply.h" +#include "SUBinaryDeltaCreate.h" +#import "SUBinaryDeltaCommon.h" +#include +#include + +#define VERBOSE_FLAG @"--verbose" +#define VERSION_FLAG @"--version" + +#define CREATE_COMMAND @"create" +#define APPLY_COMMAND @"apply" +#define VERSION_COMMAND @"version" +#define VERSION_ALTERNATE_COMMAND @"--version" + +static void printUsage(NSString *programName) +{ + fprintf(stderr, "Usage:\n"); + fprintf(stderr, "%s create [--verbose] [--version=] \n", [programName UTF8String]); + fprintf(stderr, "%s apply [--verbose] \n", [programName UTF8String]); + fprintf(stderr, "%s version []\n", [programName UTF8String]); +} + +static int runCreateCommand(NSString *programName, NSArray *args) +{ + if (args.count < 3 || args.count > 5) { + printUsage(programName); + return 1; + } + + NSUInteger numberOflagsFound = 0; + NSUInteger verboseIndex = [args indexOfObject:VERBOSE_FLAG]; + NSUInteger versionIndex = NSNotFound; + for (NSUInteger argumentIndex = 0; argumentIndex < args.count; ++argumentIndex) { + if ([args[argumentIndex] hasPrefix:VERSION_FLAG]) { + versionIndex = argumentIndex; + break; + } + } + + if (verboseIndex != NSNotFound) { + ++numberOflagsFound; + } + if (versionIndex != NSNotFound) { + ++numberOflagsFound; + } + + if (args.count - numberOflagsFound < 3) { + printUsage(programName); + return 1; + } + + BOOL verbose = (verboseIndex != NSNotFound); + NSString *versionField = (versionIndex != NSNotFound) ? args[versionIndex] : nil; + + NSArray *versionComponents = nil; + if (versionField) { + versionComponents = [versionField componentsSeparatedByString:@"="]; + if (versionComponents.count != 2) { + printUsage(programName); + return 1; + } + } + + SUBinaryDeltaMajorVersion patchVersion = + !versionComponents ? + LATEST_DELTA_DIFF_MAJOR_VERSION : + (SUBinaryDeltaMajorVersion)[[versionComponents[1] componentsSeparatedByString:@"."][0] intValue]; // ignore minor version if provided + + NSMutableArray *fileArgs = [NSMutableArray array]; + for (NSString *argument in args) { + if (![argument hasPrefix:VERSION_FLAG] && ![argument isEqualToString:VERBOSE_FLAG]) { + [fileArgs addObject:argument]; + } + } + + if (fileArgs.count != 3) { + printUsage(programName); + return 1; + } + + BOOL isDirectory; + if (![[NSFileManager defaultManager] fileExistsAtPath:fileArgs[0] isDirectory:&isDirectory] || !isDirectory) { + printUsage(programName); + fprintf(stderr, "Error: before-tree must be a directory\n"); + return 1; + } + + if (![[NSFileManager defaultManager] fileExistsAtPath:fileArgs[1] isDirectory:&isDirectory] || !isDirectory) { + printUsage(programName); + fprintf(stderr, "Error: after-tree must be a directory\n"); + return 1; + } + + return createBinaryDelta(fileArgs[0], fileArgs[1], fileArgs[2], patchVersion, verbose); +} + +static int runApplyCommand(NSString *programName, NSArray *args) +{ + if (args.count < 3 || args.count > 4) { + printUsage(programName); + return 1; + } + + BOOL verbose = [args containsObject:VERBOSE_FLAG]; + + if (args.count == 4 && !verbose) { + printUsage(programName); + return 1; + } + + NSMutableArray *fileArgs = [NSMutableArray array]; + for (NSString *argument in args) { + if (![argument isEqualToString:VERBOSE_FLAG]) { + [fileArgs addObject:argument]; + } + } + + if (fileArgs.count != 3) { + printUsage(programName); + return 1; + } + + BOOL isDirectory; + if (![[NSFileManager defaultManager] fileExistsAtPath:fileArgs[0] isDirectory:&isDirectory] || !isDirectory) { + printUsage(programName); + fprintf(stderr, "Error: before-tree must be a directory\n"); + return 1; + } + + if (![[NSFileManager defaultManager] fileExistsAtPath:fileArgs[2] isDirectory:&isDirectory] || isDirectory) { + printUsage(programName); + fprintf(stderr, "Error: patch-file must be a file %d\n", isDirectory); + return 1; + } + + return applyBinaryDelta(fileArgs[0], fileArgs[1], fileArgs[2], verbose); +} + +static int runVersionCommand(NSString *programName, NSArray *args) +{ + if (args.count > 1) { + printUsage(programName); + return 1; + } + + if (args.count == 0) { + fprintf(stdout, "%u.%u\n", LATEST_DELTA_DIFF_MAJOR_VERSION, latestMinorVersionForMajorVersion(LATEST_DELTA_DIFF_MAJOR_VERSION)); + } else { + NSString *patchFile = args[0]; + xar_t x = xar_open([patchFile fileSystemRepresentation], READ); + if (!x) { + fprintf(stderr, "Unable to open patch %s\n", [patchFile fileSystemRepresentation]); + return 1; + } + + SUBinaryDeltaMajorVersion majorDiffVersion = FIRST_DELTA_DIFF_MAJOR_VERSION; + SUBinaryDeltaMinorVersion minorDiffVersion = FIRST_DELTA_DIFF_MINOR_VERSION; + + xar_subdoc_t subdoc; + for (subdoc = xar_subdoc_first(x); subdoc; subdoc = xar_subdoc_next(subdoc)) { + if (!strcmp(xar_subdoc_name(subdoc), BINARY_DELTA_ATTRIBUTES_KEY)) { + const char *value = 0; + + // available in version 2.0 or later + xar_subdoc_prop_get(subdoc, MAJOR_DIFF_VERSION_KEY, &value); + if (value) + majorDiffVersion = (SUBinaryDeltaMajorVersion)[@(value) intValue]; + + // available in version 2.0 or later + xar_subdoc_prop_get(subdoc, MINOR_DIFF_VERSION_KEY, &value); + if (value) + minorDiffVersion = (SUBinaryDeltaMinorVersion)[@(value) intValue]; + } + } + + fprintf(stdout, "%u.%u\n", majorDiffVersion, minorDiffVersion); + } + + return 0; +} + +int main(int __unused argc, char __unused *argv[]) +{ + @autoreleasepool { + NSArray *args = [[NSProcessInfo processInfo] arguments]; + NSString *programName = [args[0] lastPathComponent]; + + if (args.count < 2) { + printUsage(programName); + return 1; + } + + NSString *command = args[1]; + NSArray *commandArguments = [args subarrayWithRange:NSMakeRange(2, args.count - 2)]; + + int result; + if ([command isEqualToString:CREATE_COMMAND]) { + result = runCreateCommand(programName, commandArguments); + } else if ([command isEqualToString:APPLY_COMMAND]) { + result = runApplyCommand(programName, commandArguments); + } else if ([command isEqualToString:VERSION_COMMAND] || [command isEqualToString:VERSION_ALTERNATE_COMMAND]) { + result = runVersionCommand(programName, commandArguments); + } else { + result = 1; + printUsage(programName); + } + + return result; + } +} diff --git a/SUBinaryDeltaUnarchiver.h b/Sparkle/SUBinaryDeltaUnarchiver.h similarity index 83% rename from SUBinaryDeltaUnarchiver.h rename to Sparkle/SUBinaryDeltaUnarchiver.h index 2f2e7651..1e71cbe4 100644 --- a/SUBinaryDeltaUnarchiver.h +++ b/Sparkle/SUBinaryDeltaUnarchiver.h @@ -12,8 +12,7 @@ #import #import "SUUnarchiver.h" -@interface SUBinaryDeltaUnarchiver : SUUnarchiver { -} +@interface SUBinaryDeltaUnarchiver : SUUnarchiver @end diff --git a/Sparkle/SUBinaryDeltaUnarchiver.m b/Sparkle/SUBinaryDeltaUnarchiver.m new file mode 100644 index 00000000..0c238df7 --- /dev/null +++ b/Sparkle/SUBinaryDeltaUnarchiver.m @@ -0,0 +1,55 @@ +// +// SUBinaryDeltaUnarchiver.m +// Sparkle +// +// Created by Mark Rowe on 2009-06-03. +// Copyright 2009 Mark Rowe. All rights reserved. +// + +#import "SUBinaryDeltaCommon.h" +#import "SUBinaryDeltaUnarchiver.h" +#import "SUBinaryDeltaApply.h" +#import "SUUnarchiver_Private.h" +#import "SUHost.h" +#import "NTSynchronousTask.h" + +@implementation SUBinaryDeltaUnarchiver + ++ (BOOL)canUnarchivePath:(NSString *)path +{ + return [[path pathExtension] isEqualToString:@"delta"]; +} + +- (void)applyBinaryDelta +{ + @autoreleasepool { + NSString *sourcePath = self.updateHostBundlePath; + NSString *targetPath = [[self.archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:[sourcePath lastPathComponent]]; + + int result = applyBinaryDelta(sourcePath, targetPath, self.archivePath, NO); + if (!result) { + dispatch_async(dispatch_get_main_queue(), ^{ + [self notifyDelegateOfSuccess]; + }); + } + else { + dispatch_async(dispatch_get_main_queue(), ^{ + [self notifyDelegateOfFailure]; + }); + } + } +} + +- (void)start +{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + [self applyBinaryDelta]; + }); +} + ++ (void)load +{ + [self registerImplementation:self]; +} + +@end diff --git a/SUCodeSigningVerifier.h b/Sparkle/SUCodeSigningVerifier.h similarity index 57% rename from SUCodeSigningVerifier.h rename to Sparkle/SUCodeSigningVerifier.h index 1f01d1b5..eddd1b26 100644 --- a/SUCodeSigningVerifier.h +++ b/Sparkle/SUCodeSigningVerifier.h @@ -12,8 +12,10 @@ #import @interface SUCodeSigningVerifier : NSObject -+ (BOOL)codeSignatureIsValidAtPath:(NSString *)destinationPath error:(NSError **)error; ++ (BOOL)codeSignatureMatchesHostAndIsValidAtPath:(NSString *)applicationPath error:(NSError **)error; ++ (BOOL)codeSignatureIsValidAtPath:(NSString *)applicationPath error:(NSError **)error; + (BOOL)hostApplicationIsCodeSigned; ++ (BOOL)applicationAtPathIsCodeSigned:(NSString *)applicationPath; @end #endif diff --git a/Sparkle/SUCodeSigningVerifier.m b/Sparkle/SUCodeSigningVerifier.m new file mode 100644 index 00000000..73efc6c1 --- /dev/null +++ b/Sparkle/SUCodeSigningVerifier.m @@ -0,0 +1,198 @@ +// +// SUCodeSigningVerifier.m +// Sparkle +// +// Created by Andy Matuschak on 7/5/12. +// +// + +#include +#include +#import "SUCodeSigningVerifier.h" +#import "SULog.h" + +@implementation SUCodeSigningVerifier + ++ (BOOL)codeSignatureMatchesHostAndIsValidAtPath:(NSString *)applicationPath error:(NSError *__autoreleasing *)error +{ + OSStatus result; + SecRequirementRef requirement = NULL; + SecStaticCodeRef staticCode = NULL; + SecCodeRef hostCode = NULL; + NSBundle *newBundle; + CFErrorRef cfError = NULL; + if (error) { + *error = nil; + } + + result = SecCodeCopySelf(kSecCSDefaultFlags, &hostCode); + if (result != noErr) { + SULog(@"Failed to copy host code %d", result); + goto finally; + } + + result = SecCodeCopyDesignatedRequirement(hostCode, kSecCSDefaultFlags, &requirement); + if (result != noErr) { + SULog(@"Failed to copy designated requirement. Code Signing OSStatus code: %d", result); + goto finally; + } + + newBundle = [NSBundle bundleWithPath:applicationPath]; + if (!newBundle) { + SULog(@"Failed to load NSBundle for update"); + result = -1; + goto finally; + } + + result = SecStaticCodeCreateWithPath((__bridge CFURLRef)[newBundle bundleURL], kSecCSDefaultFlags, &staticCode); + if (result != noErr) { + SULog(@"Failed to get static code %d", result); + goto finally; + } + + // Note that kSecCSCheckNestedCode may not work with pre-Mavericks code signing. + // See https://github.com/sparkle-project/Sparkle/issues/376#issuecomment-48824267 and https://developer.apple.com/library/mac/technotes/tn2206 + SecCSFlags flags = kSecCSDefaultFlags | kSecCSCheckAllArchitectures; + result = SecStaticCodeCheckValidityWithErrors(staticCode, flags, requirement, &cfError); + + if (cfError) { + NSError *tmpError = CFBridgingRelease(cfError); + if (error) *error = tmpError; + } + + if (result != noErr) { + if (result == errSecCSUnsigned) { + SULog(@"The host app is signed, but the new version of the app is not signed using Apple Code Signing. Please ensure that the new app is signed and that archiving did not corrupt the signature."); + } + if (result == errSecCSReqFailed) { + CFStringRef requirementString = nil; + if (SecRequirementCopyString(requirement, kSecCSDefaultFlags, &requirementString) == noErr) { + SULog(@"Code signature of the new version doesn't match the old version: %@. Please ensure that old and new app is signed using exactly the same certificate.", requirementString); + CFRelease(requirementString); + } + + [self logSigningInfoForCode:hostCode label:@"host info"]; + [self logSigningInfoForCode:staticCode label:@"new info"]; + } + } + +finally: + if (hostCode) CFRelease(hostCode); + if (staticCode) CFRelease(staticCode); + if (requirement) CFRelease(requirement); + return (result == noErr); +} + ++ (BOOL)codeSignatureIsValidAtPath:(NSString *)applicationPath error:(NSError *__autoreleasing *)error +{ + OSStatus result; + SecStaticCodeRef staticCode = NULL; + NSBundle *newBundle; + CFErrorRef cfError = NULL; + if (error) { + *error = nil; + } + + newBundle = [NSBundle bundleWithPath:applicationPath]; + if (!newBundle) { + SULog(@"Failed to load NSBundle"); + result = -1; + goto finally; + } + + result = SecStaticCodeCreateWithPath((__bridge CFURLRef)[newBundle bundleURL], kSecCSDefaultFlags, &staticCode); + if (result != noErr) { + SULog(@"Failed to get static code %d", result); + goto finally; + } + + // Note that kSecCSCheckNestedCode may not work with pre-Mavericks code signing. + // See https://github.com/sparkle-project/Sparkle/issues/376#issuecomment-48824267 and https://developer.apple.com/library/mac/technotes/tn2206 + SecCSFlags flags = kSecCSDefaultFlags | kSecCSCheckAllArchitectures; + result = SecStaticCodeCheckValidityWithErrors(staticCode, flags, NULL, &cfError); + + if (cfError) { + NSError *tmpError = CFBridgingRelease(cfError); + if (error) *error = tmpError; + } + + if (result != noErr) { + if (result == errSecCSUnsigned) { + SULog(@"Error: The app is not signed using Apple Code Signing. %@", applicationPath); + } + if (result == errSecCSReqFailed) { + [self logSigningInfoForCode:staticCode label:@"new info"]; + } + } + +finally: + if (staticCode) CFRelease(staticCode); + return (result == noErr); +} + +static id valueOrNSNull(id value) { + return value ? value : [NSNull null]; +} + ++ (void)logSigningInfoForCode:(SecStaticCodeRef)code label:(NSString*)label { + CFDictionaryRef signingInfo = nil; + const SecCSFlags flags = kSecCSSigningInformation | kSecCSRequirementInformation | kSecCSDynamicInformation | kSecCSContentInformation; + if (SecCodeCopySigningInformation(code, flags, &signingInfo) == noErr) { + NSDictionary *signingDict = CFBridgingRelease(signingInfo); + NSMutableDictionary *relevantInfo = [NSMutableDictionary dictionary]; + for (NSString *key in @[@"format", @"identifier", @"requirements", @"teamid", @"signing-time"]) { + relevantInfo[key] = valueOrNSNull(signingDict[key]); + } + NSDictionary *infoPlist = signingDict[@"info-plist"]; + relevantInfo[@"version"] = valueOrNSNull(infoPlist[@"CFBundleShortVersionString"]); + relevantInfo[@"build"] = valueOrNSNull(infoPlist[(__bridge NSString *)kCFBundleVersionKey]); + SULog(@"%@: %@", label, relevantInfo); + } +} + ++ (BOOL)hostApplicationIsCodeSigned +{ + OSStatus result; + SecCodeRef hostCode = NULL; + result = SecCodeCopySelf(kSecCSDefaultFlags, &hostCode); + if (result != 0) return NO; + + SecRequirementRef requirement = NULL; + result = SecCodeCopyDesignatedRequirement(hostCode, kSecCSDefaultFlags, &requirement); + if (hostCode) CFRelease(hostCode); + if (requirement) CFRelease(requirement); + return (result == 0); +} + ++ (BOOL)applicationAtPathIsCodeSigned:(NSString *)applicationPath +{ + OSStatus result; + SecStaticCodeRef staticCode = NULL; + NSBundle *newBundle; + + newBundle = [NSBundle bundleWithPath:applicationPath]; + if (!newBundle) { + SULog(@"Failed to load NSBundle"); + return NO; + } + + result = SecStaticCodeCreateWithPath((__bridge CFURLRef)[newBundle bundleURL], kSecCSDefaultFlags, &staticCode); + if (result == errSecCSUnsigned) { + return NO; + } + + SecRequirementRef requirement = NULL; + result = SecCodeCopyDesignatedRequirement(staticCode, kSecCSDefaultFlags, &requirement); + if (staticCode) { + CFRelease(staticCode); + } + if (requirement) { + CFRelease(requirement); + } + if (result == errSecCSUnsigned) { + return NO; + } + return (result == 0); +} + +@end diff --git a/Sparkle/SUConstants.h b/Sparkle/SUConstants.h new file mode 100644 index 00000000..e6bfcb31 --- /dev/null +++ b/Sparkle/SUConstants.h @@ -0,0 +1,82 @@ +// +// SUConstants.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + + +#ifndef SUCONSTANTS_H +#define SUCONSTANTS_H + +// ----------------------------------------------------------------------------- +// Misc: +// ----------------------------------------------------------------------------- + +extern const NSTimeInterval SUMinimumUpdateCheckInterval; +extern const NSTimeInterval SUDefaultUpdateCheckInterval; + +extern NSString *const SUBundleIdentifier; + +// ----------------------------------------------------------------------------- +// Notifications: +// ----------------------------------------------------------------------------- + +extern NSString *const SUTechnicalErrorInformationKey; + +// ----------------------------------------------------------------------------- +// PList keys:: +// ----------------------------------------------------------------------------- + +extern NSString *const SUFeedURLKey; +extern NSString *const SUHasLaunchedBeforeKey; +extern NSString *const SUShowReleaseNotesKey; +extern NSString *const SUSkippedVersionKey; +extern NSString *const SUScheduledCheckIntervalKey; +extern NSString *const SULastCheckTimeKey; +extern NSString *const SUExpectsDSASignatureKey; +extern NSString *const SUPublicDSAKeyKey; +extern NSString *const SUPublicDSAKeyFileKey; +extern NSString *const SUAutomaticallyUpdateKey; +extern NSString *const SUAllowsAutomaticUpdatesKey; +extern NSString *const SUEnableAutomaticChecksKey; +extern NSString *const SUEnableAutomaticChecksKeyOld; +extern NSString *const SUEnableSystemProfilingKey; +extern NSString *const SUSendProfileInfoKey; +extern NSString *const SULastProfileSubmitDateKey; +extern NSString *const SUPromptUserOnFirstLaunchKey; +extern NSString *const SUKeepDownloadOnFailedInstallKey; +extern NSString *const SUDefaultsDomainKey; +extern NSString *const SUFixedHTMLDisplaySizeKey __attribute__((deprecated("This key is obsolete and has no effect."))); + +extern NSString *const SUAppendVersionNumberKey; +extern NSString *const SUEnableAutomatedDowngradesKey; +extern NSString *const SUNormalizeInstalledApplicationNameKey; +extern NSString *const SURelaunchToolNameKey; + +// ----------------------------------------------------------------------------- +// Appcast keys:: +// ----------------------------------------------------------------------------- + +extern NSString *const SUAppcastAttributeDeltaFrom; +extern NSString *const SUAppcastAttributeDSASignature; +extern NSString *const SUAppcastAttributeShortVersionString; +extern NSString *const SUAppcastAttributeVersion; + +extern NSString *const SUAppcastElementCriticalUpdate; +extern NSString *const SUAppcastElementDeltas; +extern NSString *const SUAppcastElementMinimumSystemVersion; +extern NSString *const SUAppcastElementMaximumSystemVersion; +extern NSString *const SUAppcastElementReleaseNotesLink; +extern NSString *const SUAppcastElementTags; + +extern NSString *const SURSSAttributeURL; + +extern NSString *const SURSSElementDescription; +extern NSString *const SURSSElementEnclosure; +extern NSString *const SURSSElementLink; +extern NSString *const SURSSElementPubDate; +extern NSString *const SURSSElementTitle; + +#endif diff --git a/SUConstants.m b/Sparkle/SUConstants.m similarity index 51% rename from SUConstants.m rename to Sparkle/SUConstants.m index d08b3c2a..31c80ca3 100644 --- a/SUConstants.m +++ b/Sparkle/SUConstants.m @@ -13,7 +13,16 @@ #import "SUVersionComparisonProtocol.h" #import "SUConstants.h" -NSString *const SUUpdaterWillRestartNotification = @"SUUpdaterWillRestartNotificationName"; +#ifndef DEBUG +#define DEBUG 0 +#endif + +// Define some minimum intervals to avoid DoS-like checking attacks +const NSTimeInterval SUMinimumUpdateCheckInterval = DEBUG ? 60 : (60 * 60); +const NSTimeInterval SUDefaultUpdateCheckInterval = DEBUG ? 60 : (60 * 60 * 24); + +NSString *const SUBundleIdentifier = @SPARKLE_BUNDLE_IDENTIFIER; + NSString *const SUTechnicalErrorInformationKey = @"SUTechnicalErrorInformation"; NSString *const SUHasLaunchedBeforeKey = @"SUHasLaunchedBefore"; @@ -36,22 +45,29 @@ NSString *const SUPromptUserOnFirstLaunchKey = @"SUPromptUserOnFirstLaunch"; NSString *const SUFixedHTMLDisplaySizeKey = @"SUFixedHTMLDisplaySize"; NSString *const SUKeepDownloadOnFailedInstallKey = @"SUKeepDownloadOnFailedInstall"; NSString *const SUDefaultsDomainKey = @"SUDefaultsDomain"; - NSString *const SUSparkleErrorDomain = @"SUSparkleErrorDomain"; -OSStatus SUAppcastParseError = 1000; -OSStatus SUNoUpdateError = 1001; -OSStatus SUAppcastError = 1002; -OSStatus SURunningFromDiskImageError = 1003; -OSStatus SUTemporaryDirectoryError = 2000; +NSString *const SUAppendVersionNumberKey = @"SUAppendVersionNumber"; +NSString *const SUEnableAutomatedDowngradesKey = @"SUEnableAutomatedDowngrades"; +NSString *const SUNormalizeInstalledApplicationNameKey = @"SUNormalizeInstalledApplicationName"; +NSString *const SURelaunchToolNameKey = @"SURelaunchToolName"; -OSStatus SUUnarchivingError = 3000; -OSStatus SUSignatureError = 3001; +NSString *const SUAppcastAttributeDeltaFrom = @"sparkle:deltaFrom"; +NSString *const SUAppcastAttributeDSASignature = @"sparkle:dsaSignature"; +NSString *const SUAppcastAttributeShortVersionString = @"sparkle:shortVersionString"; +NSString *const SUAppcastAttributeVersion = @"sparkle:version"; -OSStatus SUFileCopyFailure = 4000; -OSStatus SUAuthenticationFailure = 4001; -OSStatus SUMissingUpdateError = 4002; -OSStatus SUMissingInstallerToolError = 4003; -OSStatus SURelaunchError = 4004; -OSStatus SUInstallationError = 4005; -OSStatus SUDowngradeError = 4006; +NSString *const SUAppcastElementCriticalUpdate = @"sparkle:criticalUpdate"; +NSString *const SUAppcastElementDeltas = @"sparkle:deltas"; +NSString *const SUAppcastElementMinimumSystemVersion = @"sparkle:minimumSystemVersion"; +NSString *const SUAppcastElementMaximumSystemVersion = @"sparkle:maximumSystemVersion"; +NSString *const SUAppcastElementReleaseNotesLink = @"sparkle:releaseNotesLink"; +NSString *const SUAppcastElementTags = @"sparkle:tags"; + +NSString *const SURSSAttributeURL = @"url"; + +NSString *const SURSSElementDescription = @"description"; +NSString *const SURSSElementEnclosure = @"enclosure"; +NSString *const SURSSElementLink = @"link"; +NSString *const SURSSElementPubDate = @"pubDate"; +NSString *const SURSSElementTitle = @"title"; diff --git a/Sparkle/SUDSAVerifier.h b/Sparkle/SUDSAVerifier.h new file mode 100644 index 00000000..3e876e19 --- /dev/null +++ b/Sparkle/SUDSAVerifier.h @@ -0,0 +1,29 @@ +// +// SUDSAVerifier.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// +// Includes code by Zach Waldowski on 10/18/13. +// Copyright 2014 Big Nerd Ranch. Licensed under MIT. +// +// Includes code from Plop by Mark Hamlin. +// Copyright 2011 Mark Hamlin. Licensed under BSD. +// + +#ifndef SUDSAVERIFIER_H +#define SUDSAVERIFIER_H + +@interface SUDSAVerifier : NSObject + ++ (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature withPublicDSAKey:(NSString *)pkeyString; + +- (instancetype)initWithPublicKeyData:(NSData *)data; + +- (BOOL)verifyFileAtPath:(NSString *)path signature:(NSData *)signature; +- (BOOL)verifyStream:(NSInputStream *)stream signature:(NSData *)signature; + +@end + +#endif diff --git a/Sparkle/SUDSAVerifier.m b/Sparkle/SUDSAVerifier.m new file mode 100644 index 00000000..4789327e --- /dev/null +++ b/Sparkle/SUDSAVerifier.m @@ -0,0 +1,159 @@ +// +// SUDSAVerifier.m +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// +// Includes code by Zach Waldowski on 10/18/13. +// Copyright 2014 Big Nerd Ranch. Licensed under MIT. +// +// Includes code from Plop by Mark Hamlin. +// Copyright 2011 Mark Hamlin. Licensed under BSD. +// + +#import "SUDSAVerifier.h" +#import "SULog.h" +#include + +@implementation SUDSAVerifier { + SecKeyRef _secKey; +} + ++ (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature withPublicDSAKey:(NSString *)pkeyString +{ + if (!encodedSignature) { + SULog(@"There is no DSA signature to check"); + return NO; + } + + if (!path) { + return NO; + } + + SUDSAVerifier *verifier = [[self alloc] initWithPublicKeyData:[pkeyString dataUsingEncoding:NSUTF8StringEncoding]]; + + if (!verifier) { + return NO; + } + + NSString *strippedSignature = [encodedSignature stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet]; + NSData *signature = [[NSData alloc] initWithBase64Encoding:strippedSignature]; + return [verifier verifyFileAtPath:path signature:signature]; +} + +- (instancetype)initWithPublicKeyData:(NSData *)data +{ + self = [super init]; + + if (!self || !data.length) { + SULog(@"Could not read public DSA key"); + return nil; + } + + SecExternalFormat format = kSecFormatOpenSSL; + SecExternalItemType itemType = kSecItemTypePublicKey; + CFArrayRef items = NULL; + + OSStatus status = SecItemImport((__bridge CFDataRef)data, NULL, &format, &itemType, 0, NULL, NULL, &items); + if (status != errSecSuccess || !items) { + if (items) { + CFRelease(items); + } + SULog(@"Public DSA key could not be imported: %d", status); + return nil; + } + + if (format == kSecFormatOpenSSL && itemType == kSecItemTypePublicKey && CFArrayGetCount(items) == 1) { + _secKey = (SecKeyRef)CFRetain(CFArrayGetValueAtIndex(items, 0)); + } + + CFRelease(items); + + return self; +} + +- (void)dealloc +{ + if (_secKey) { + CFRelease(_secKey); + } +} + +- (BOOL)verifyFileAtPath:(NSString *)path signature:(NSData *)signature +{ + if (!path.length) { + return NO; + } + NSInputStream *dataInputStream = [NSInputStream inputStreamWithFileAtPath:path]; + return [self verifyStream:dataInputStream signature:signature]; +} + +- (BOOL)verifyStream:(NSInputStream *)stream signature:(NSData *)signature +{ + if (!stream || !signature) { + return NO; + } + + __block SecGroupTransformRef group = SecTransformCreateGroupTransform(); + __block SecTransformRef dataReadTransform = NULL; + __block SecTransformRef dataDigestTransform = NULL; + __block SecTransformRef dataVerifyTransform = NULL; + __block CFErrorRef error = NULL; + + BOOL (^cleanup)(void) = ^{ + if (group) CFRelease(group); + if (dataReadTransform) CFRelease(dataReadTransform); + if (dataDigestTransform) CFRelease(dataDigestTransform); + if (dataVerifyTransform) CFRelease(dataVerifyTransform); + if (error) CFRelease(error); + return NO; + }; + + dataReadTransform = SecTransformCreateReadTransformWithReadStream((__bridge CFReadStreamRef)stream); + if (!dataReadTransform) { + SULog(@"File containing update archive could not be read (failed to create SecTransform for input stream)"); + return cleanup(); + } + + dataDigestTransform = SecDigestTransformCreate(kSecDigestSHA1, CC_SHA1_DIGEST_LENGTH, NULL); + if (!dataDigestTransform) { + return cleanup(); + } + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdirect-ivar-access" + dataVerifyTransform = SecVerifyTransformCreate(_secKey, (__bridge CFDataRef)signature, &error); +#pragma clang diagnostic pop + if (!dataVerifyTransform || error) { + SULog(@"Could not understand format of the signature: %@; Signature data: %@", error, signature); + return cleanup(); + } + + SecTransformConnectTransforms(dataReadTransform, kSecTransformOutputAttributeName, dataDigestTransform, kSecTransformInputAttributeName, group, &error); + if (error) { + SULog(@"%@", error); + return cleanup(); + } + + SecTransformConnectTransforms(dataDigestTransform, kSecTransformOutputAttributeName, dataVerifyTransform, kSecTransformInputAttributeName, group, &error); + if (error) { + SULog(@"%@", error); + return cleanup(); + } + + NSNumber *result = CFBridgingRelease(SecTransformExecute(group, &error)); + if (error) { + SULog(@"DSA signature verification failed: %@", error); + return cleanup(); + } + + if (!result.boolValue) { + SULog(@"DSA signature does not match. Data of the update file being checked is different than data that has been signed, or the public key and the private key are not from the same set."); + } + + cleanup(); + return result.boolValue; +} + +@end diff --git a/SUDiskImageUnarchiver.h b/Sparkle/SUDiskImageUnarchiver.h similarity index 84% rename from SUDiskImageUnarchiver.h rename to Sparkle/SUDiskImageUnarchiver.h index 44c71504..7a8e9167 100644 --- a/SUDiskImageUnarchiver.h +++ b/Sparkle/SUDiskImageUnarchiver.h @@ -12,8 +12,7 @@ #import #import "SUUnarchiver.h" -@interface SUDiskImageUnarchiver : SUUnarchiver { -} +@interface SUDiskImageUnarchiver : SUUnarchiver @end diff --git a/Sparkle/SUDiskImageUnarchiver.m b/Sparkle/SUDiskImageUnarchiver.m new file mode 100644 index 00000000..f5d39fd9 --- /dev/null +++ b/Sparkle/SUDiskImageUnarchiver.m @@ -0,0 +1,168 @@ +// +// SUDiskImageUnarchiver.m +// Sparkle +// +// Created by Andy Matuschak on 6/16/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUDiskImageUnarchiver.h" +#import "SUUnarchiver_Private.h" +#import "NTSynchronousTask.h" +#import "SULog.h" +#include + +@implementation SUDiskImageUnarchiver + ++ (BOOL)canUnarchivePath:(NSString *)path +{ + return [[path pathExtension] isEqualToString:@"dmg"]; +} + +// Called on a non-main thread. +- (void)extractDMG +{ + @autoreleasepool { + [self extractDMGWithPassword:nil]; + } +} + +// Called on a non-main thread. +- (void)extractDMGWithPassword:(NSString *)__unused password +{ + @autoreleasepool { + BOOL mountedSuccessfully = NO; + + SULog(@"Extracting %@ as a DMG", self.archivePath); + + // get a unique mount point path + NSString *mountPoint = nil; + FSRef tmpRef; + NSFileManager *manager; + NSError *error; + NSArray *contents; + // We have to declare these before a goto to prevent an error under ARC. + // No, we cannot have them in the dispatch_async calls, as the goto "jump enters + // lifetime of block which strongly captures a variable" + dispatch_block_t delegateFailure = ^{ + [self notifyDelegateOfFailure]; + }; + dispatch_block_t delegateSuccess = ^{ + [self notifyDelegateOfSuccess]; + }; + do + { + // Using NSUUID would make creating UUIDs be done in Cocoa, + // and thus managed under ARC. Sadly, the class is in 10.8 and later. + CFUUIDRef uuid = CFUUIDCreate(NULL); + if (uuid) + { + NSString *uuidString = CFBridgingRelease(CFUUIDCreateString(NULL, uuid)); + if (uuidString) + { + mountPoint = [@"/Volumes" stringByAppendingPathComponent:uuidString]; + } + CFRelease(uuid); + } + } + while (noErr == FSPathMakeRefWithOptions((UInt8 *)[mountPoint fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &tmpRef, NULL)); + + NSData *promptData = nil; + promptData = [NSData dataWithBytes:"yes\n" length:4]; + + NSArray *arguments = @[@"attach", self.archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen"]; + + NSData *output = nil; + NSInteger taskResult = -1; + @try + { + NTSynchronousTask *task = [[NTSynchronousTask alloc] init]; + + [task run:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:promptData]; + + taskResult = [task result]; + output = [[task output] copy]; + } + @catch (NSException *) + { + goto reportError; + } + + if (taskResult != 0) + { + NSString *resultStr = output ? [[NSString alloc] initWithData:output encoding:NSUTF8StringEncoding] : nil; + SULog(@"hdiutil failed with code: %ld data: <<%@>>", (long)taskResult, resultStr); + goto reportError; + } + mountedSuccessfully = YES; + + // Now that we've mounted it, we need to copy out its contents. + manager = [[NSFileManager alloc] init]; + contents = [manager contentsOfDirectoryAtPath:mountPoint error:&error]; + if (error) + { + SULog(@"Couldn't enumerate contents of archive mounted at %@: %@", mountPoint, error); + goto reportError; + } + + for (NSString *item in contents) + { + NSString *fromPath = [mountPoint stringByAppendingPathComponent:item]; + NSString *toPath = [[self.archivePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:item]; + + // We skip any files in the DMG which are not readable. + if (![manager isReadableFileAtPath:fromPath]) { + continue; + } + + SULog(@"copyItemAtPath:%@ toPath:%@", fromPath, toPath); + + if (![manager copyItemAtPath:fromPath toPath:toPath error:&error]) + { + SULog(@"Couldn't copy item: %@ : %@", error, error.userInfo ? error.userInfo : @""); + goto reportError; + } + } + + dispatch_async(dispatch_get_main_queue(), delegateSuccess); + goto finally; + + reportError: + dispatch_async(dispatch_get_main_queue(), delegateFailure); + + finally: + if (mountedSuccessfully) + [NSTask launchedTaskWithLaunchPath:@"/usr/bin/hdiutil" arguments:@[@"detach", mountPoint, @"-force"]]; + else + SULog(@"Can't mount DMG %@", self.archivePath); + } +} + +- (void)start +{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + [self extractDMG]; + }); +} + ++ (void)load +{ + [self registerImplementation:self]; +} + +- (BOOL)isEncrypted:(NSData *)resultData +{ + BOOL result = NO; + if(resultData) + { + NSString *data = [[NSString alloc] initWithData:resultData encoding:NSUTF8StringEncoding]; + + if ((data != nil) && !NSEqualRanges([data rangeOfString:@"passphrase-count"], NSMakeRange(NSNotFound, 0))) + { + result = YES; + } + } + return result; +} + +@end diff --git a/Sparkle/SUErrors.h b/Sparkle/SUErrors.h new file mode 100644 index 00000000..e624bb05 --- /dev/null +++ b/Sparkle/SUErrors.h @@ -0,0 +1,44 @@ +// +// 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 +#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 +}; + +#endif diff --git a/Sparkle/SUExport.h b/Sparkle/SUExport.h new file mode 100644 index 00000000..3e3f8a16 --- /dev/null +++ b/Sparkle/SUExport.h @@ -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 diff --git a/Sparkle/SUGuidedPackageInstaller.h b/Sparkle/SUGuidedPackageInstaller.h new file mode 100644 index 00000000..92082a34 --- /dev/null +++ b/Sparkle/SUGuidedPackageInstaller.h @@ -0,0 +1,35 @@ +// +// SUGuidedPackageInstaller.h +// Sparkle +// +// Created by Graham Miln on 14/05/2010. +// Copyright 2010 Dragon Systems Software Limited. All rights reserved. +// + +/*! +# Sparkle Guided Installations + +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. + +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. + +## To Do +- Replace the use of `AuthorizationExecuteWithPrivilegesAndWait`. This method remains because it is well supported and tested. Ideally a helper tool or XPC would be used. +*/ + +#ifndef SUGUIDEDPACKAGEINSTALLER_H +#define SUGUIDEDPACKAGEINSTALLER_H + +#import "Sparkle.h" +#import "SUInstaller.h" + +@interface SUGuidedPackageInstaller : SUInstaller { +} + +/*! Perform the guided installation */ ++ (void)performInstallationToPath:(NSString *)path fromPath:(NSString *)installerGuide host:(SUHost *)host versionComparator:(id)comparator completionHandler:(void (^)(NSError *))completionHandler; +@end + +#endif diff --git a/Sparkle/SUGuidedPackageInstaller.m b/Sparkle/SUGuidedPackageInstaller.m new file mode 100644 index 00000000..bc83d42b --- /dev/null +++ b/Sparkle/SUGuidedPackageInstaller.m @@ -0,0 +1,139 @@ +// +// SUGuidedPackageInstaller.m +// Sparkle +// +// Created by Graham Miln on 14/05/2010. +// Copyright 2010 Dragon Systems Software Limited. All rights reserved. +// + +#import +#import + +#import "SUGuidedPackageInstaller.h" + +static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authorization, const char* executablePath, AuthorizationFlags options, const char* const* arguments) +{ + sig_t oldSigChildHandler = signal(SIGCHLD, SIG_DFL); + BOOL returnValue = YES; + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + /* AuthorizationExecuteWithPrivileges used to support 10.4+; should be replaced with XPC or external process */ + if (AuthorizationExecuteWithPrivileges(authorization, executablePath, options, (char* const*)arguments, NULL) == errAuthorizationSuccess) +#pragma clang diagnostic pop + { + int status = 0; + pid_t pid = wait(&status); + if (pid == -1 || !WIFEXITED(status) || WEXITSTATUS(status) != 0) + returnValue = NO; + } + else + returnValue = NO; + + signal(SIGCHLD, oldSigChildHandler); + return returnValue; +} + +@implementation SUGuidedPackageInstaller (SUGuidedPackageInstallerAuthentication) + ++ (AuthorizationRef)authorizationForExecutable:(NSString*)executablePath +{ + NSParameterAssert(executablePath); + + // Get authorization using advice in Apple's Technical Q&A1172 + + // ...create authorization without specific rights + AuthorizationRef auth = NULL; + OSStatus validAuth = AuthorizationCreate(NULL, + kAuthorizationEmptyEnvironment, + kAuthorizationFlagDefaults, + &auth); + // ...then extend authorization with desired rights + if ((validAuth == errAuthorizationSuccess) && + (auth != NULL)) + { + const char* executableFileSystemRepresentation = [executablePath fileSystemRepresentation]; + + // Prepare a right allowing script to execute with privileges + AuthorizationItem right; + memset(&right,0,sizeof(right)); + right.name = kAuthorizationRightExecute; + right.value = (void*) executableFileSystemRepresentation; + right.valueLength = strlen(executableFileSystemRepresentation); + + // Package up the single right + AuthorizationRights rights; + memset(&rights,0,sizeof(rights)); + rights.count = 1; + rights.items = &right; + + // Extend rights to run script + validAuth = AuthorizationCopyRights(auth, + &rights, + kAuthorizationEmptyEnvironment, + kAuthorizationFlagPreAuthorize | + kAuthorizationFlagExtendRights | + kAuthorizationFlagInteractionAllowed, + NULL); + if (validAuth != errAuthorizationSuccess) + { + // Error, clean up authorization + (void) AuthorizationFree(auth,kAuthorizationFlagDefaults); + auth = NULL; + } + } + + return auth; +} + +@end + +@implementation SUGuidedPackageInstaller + ++ (void)performInstallationToPath:(NSString *)destinationPath fromPath:(NSString *)packagePath host:(SUHost *)__unused host versionComparator:(id)__unused comparator completionHandler:(void (^)(NSError *))completionHandler +{ + NSParameterAssert(packagePath); + + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + + // Preflight + NSString* installerPath = @"/usr/sbin/installer"; // Mac OS X 10.2+ command line installer tool + NSError* error = nil; + + // Create authorization for installer executable + BOOL validInstallation = NO; + AuthorizationRef auth = [self authorizationForExecutable:installerPath]; + if (auth != NULL) + { + // Permission was granted to execute the installer with privileges + const char* const arguments[] = { + "-pkg", + [packagePath fileSystemRepresentation], + "-target", + "/", + NULL + }; + validInstallation = AuthorizationExecuteWithPrivilegesAndWait(auth, + [installerPath fileSystemRepresentation], + kAuthorizationFlagDefaults, + arguments); + // TODO: wait for communications pipe to close via fileno & CFSocketCreateWithNative + AuthorizationFree(auth,kAuthorizationFlagDefaults); + } + else + { + NSString* errorMessage = [NSString stringWithFormat:@"Sparkle Updater: Script authorization denied."]; + error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUInstallationError userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; + } + + dispatch_async(dispatch_get_main_queue(), ^{ + [self finishInstallationToPath:destinationPath + withResult:validInstallation + error:error + completionHandler:completionHandler]; + + }); + }); +} + +@end diff --git a/Sparkle/SUHost.h b/Sparkle/SUHost.h new file mode 100644 index 00000000..4ec13286 --- /dev/null +++ b/Sparkle/SUHost.h @@ -0,0 +1,40 @@ +// +// SUHost.h +// Sparkle +// +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUUpdater.h" +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" + +@interface SUHost : NSObject + +@property (strong, readonly) NSBundle *bundle; + ++ (NSString *)systemVersionString; + +- (instancetype)initWithBundle:(NSBundle *)aBundle; +@property (readonly, copy) NSString *bundlePath; +@property (readonly, copy) NSString *appCachePath; +@property (readonly, copy) NSString *installationPath; +@property (readonly, copy) NSString *name; +@property (readonly, copy) NSString *version; +@property (readonly, copy) NSString *displayVersion; +@property (readonly, copy) NSImage *icon; +@property (getter=isRunningOnReadOnlyVolume, readonly) BOOL runningOnReadOnlyVolume; +@property (getter=isBackgroundApplication, readonly) BOOL backgroundApplication; +@property (readonly, copy) NSString *publicDSAKey; +@property (readonly, copy) NSArray *systemProfile; + +- (id)objectForInfoDictionaryKey:(NSString *)key; +- (BOOL)boolForInfoDictionaryKey:(NSString *)key; +- (id)objectForUserDefaultsKey:(NSString *)defaultName; +- (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName; +- (BOOL)boolForUserDefaultsKey:(NSString *)defaultName; +- (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName; +- (id)objectForKey:(NSString *)key; +- (BOOL)boolForKey:(NSString *)key; +@end diff --git a/Sparkle/SUHost.m b/Sparkle/SUHost.m new file mode 100644 index 00000000..8f559a87 --- /dev/null +++ b/Sparkle/SUHost.m @@ -0,0 +1,287 @@ +// +// SUHost.m +// Sparkle +// +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUHost.h" + +#import "SUConstants.h" +#import "SUSystemProfiler.h" +#include // For statfs for isRunningOnReadOnlyVolume +#import "SULog.h" + +#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101000 +typedef struct { + NSInteger majorVersion; + NSInteger minorVersion; + NSInteger patchVersion; +} NSOperatingSystemVersion; +@interface NSProcessInfo () +- (NSOperatingSystemVersion)operatingSystemVersion; +@end +#endif + +@interface SUHost () + +@property (strong, readwrite) NSBundle *bundle; +@property (copy) NSString *defaultsDomain; +@property (assign) BOOL usesStandardUserDefaults; + +@end + +@implementation SUHost + +@synthesize bundle; +@synthesize defaultsDomain; +@synthesize usesStandardUserDefaults; + +- (instancetype)initWithBundle:(NSBundle *)aBundle +{ + if ((self = [super init])) + { + if (aBundle == nil) aBundle = [NSBundle mainBundle]; + self.bundle = aBundle; + if (![self.bundle bundleIdentifier]) { + SULog(@"Error: the bundle being updated at %@ has no %@! This will cause preference read/write to not work properly.", self.bundle, kCFBundleIdentifierKey); + } + + self.defaultsDomain = [self.bundle objectForInfoDictionaryKey:SUDefaultsDomainKey]; + if (!self.defaultsDomain) { + self.defaultsDomain = [self.bundle bundleIdentifier]; + } + + // 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 = !self.defaultsDomain || [self.defaultsDomain isEqualToString:[[NSBundle mainBundle] bundleIdentifier]]; + } + return self; +} + + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self bundlePath], [self installationPath]]; } + +- (NSString *)bundlePath +{ + return [self.bundle bundlePath]; +} + +- (NSString *)appCachePath +{ + NSArray *cachePaths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); + NSString *cachePath = nil; + if ([cachePaths count]) { + cachePath = cachePaths[0]; + } + if (!cachePath) { + SULog(@"Failed to find user's cache directory! Using system default"); + cachePath = NSTemporaryDirectory(); + } + + NSString *name = [self.bundle bundleIdentifier]; + if (!name) { + name = [self name]; + } + + cachePath = [cachePath stringByAppendingPathComponent:name]; + cachePath = [cachePath stringByAppendingPathComponent:@"Sparkle"]; + return cachePath; +} + +- (NSString *)installationPath +{ + if ([[[NSBundle bundleWithIdentifier:SUBundleIdentifier] infoDictionary][SUNormalizeInstalledApplicationNameKey] boolValue]) { + // 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 = [[[self.bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.%@", [self.bundle objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleNameKey], [[self.bundle bundlePath] pathExtension]]]; + if (![[NSFileManager defaultManager] fileExistsAtPath:[[[self.bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.%@", [self.bundle objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleNameKey], [[self.bundle bundlePath] pathExtension]]]]) { + return normalizedAppPath; + } + } + return [self.bundle bundlePath]; +} + +- (NSString *)name +{ + NSString *name; + + // Allow host bundle to provide a custom name + name = [self objectForInfoDictionaryKey:@"SUBundleName"]; + if (name) return name; + + name = [self.bundle objectForInfoDictionaryKey:@"CFBundleDisplayName"]; + if (name) return name; + + name = [self objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleNameKey]; + if (name) return name; + + return [[[NSFileManager defaultManager] displayNameAtPath:[self.bundle bundlePath]] stringByDeletingPathExtension]; +} + +- (NSString *)version +{ + NSString *version = [self.bundle objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]; + if (!version || [version isEqualToString:@""]) + [NSException raise:@"SUNoVersionException" format:@"This host (%@) has no %@! This attribute is required.", [self bundlePath], (__bridge NSString *)kCFBundleVersionKey]; + return version; +} + +- (NSString *)displayVersion +{ + NSString *shortVersionString = [self.bundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"]; + if (shortVersionString) + return shortVersionString; + else + return [self version]; // Fall back on the normal version string. +} + +- (NSImage *)icon +{ + // Cache the application icon. + NSString *iconPath = [self.bundle pathForResource:[self.bundle objectForInfoDictionaryKey:@"CFBundleIconFile"] ofType:@"icns"]; + // According to the OS X 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: + if (!iconPath) { + iconPath = [self.bundle pathForResource:[self.bundle objectForInfoDictionaryKey:@"CFBundleIconFile"] ofType:nil]; + } + NSImage *icon = [[NSImage alloc] initWithContentsOfFile:iconPath]; + // Use a default icon if none is defined. + if (!icon) { + BOOL isMainBundle = (self.bundle == [NSBundle mainBundle]); + + NSString *fileType = isMainBundle ? (NSString *)kUTTypeApplication : (NSString *)kUTTypeBundle; + icon = [[NSWorkspace sharedWorkspace] iconForFileType:fileType]; + } + return icon; +} + +- (BOOL)isRunningOnReadOnlyVolume +{ + struct statfs statfs_info; + statfs([[self.bundle bundlePath] fileSystemRepresentation], &statfs_info); + return (statfs_info.f_flags & MNT_RDONLY); +} + +- (BOOL)isBackgroundApplication +{ + return ([[NSApplication sharedApplication] activationPolicy] == NSApplicationActivationPolicyAccessory); +} + +- (NSString *)publicDSAKey +{ + // Maybe the key is just a string in the Info.plist. + NSString *key = [self.bundle objectForInfoDictionaryKey:SUPublicDSAKeyKey]; + if (key) { return key; } + + // More likely, we've got a reference to a Resources file by filename: + NSString *keyFilename = [self objectForInfoDictionaryKey:SUPublicDSAKeyFileKey]; + if (!keyFilename) { return nil; } + NSError *ignoreErr = nil; + return [NSString stringWithContentsOfFile:[self.bundle pathForResource:keyFilename ofType:nil] encoding:NSASCIIStringEncoding error:&ignoreErr]; +} + +- (NSArray *)systemProfile +{ + return [[SUSystemProfiler sharedSystemProfiler] systemProfileArrayForHost:self]; +} + +- (id)objectForInfoDictionaryKey:(NSString *)key +{ + return [self.bundle objectForInfoDictionaryKey:key]; +} + +- (BOOL)boolForInfoDictionaryKey:(NSString *)key +{ + return [[self objectForInfoDictionaryKey:key] boolValue]; +} + +- (id)objectForUserDefaultsKey:(NSString *)defaultName +{ + if (!defaultName || !self.defaultsDomain) { + return nil; + } + + // 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 (self.usesStandardUserDefaults) { + return [[NSUserDefaults standardUserDefaults] objectForKey:defaultName]; + } + + CFPropertyListRef obj = CFPreferencesCopyAppValue((__bridge CFStringRef)defaultName, (__bridge CFStringRef)self.defaultsDomain); + return CFBridgingRelease(obj); +} + +- (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName +{ + if (self.usesStandardUserDefaults) + { + [[NSUserDefaults standardUserDefaults] setObject:value forKey:defaultName]; + } + else + { + CFPreferencesSetValue((__bridge CFStringRef)defaultName, (__bridge CFPropertyListRef)(value), (__bridge CFStringRef)self.defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((__bridge CFStringRef)self.defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + } +} + +- (BOOL)boolForUserDefaultsKey:(NSString *)defaultName +{ + if (self.usesStandardUserDefaults) { + return [[NSUserDefaults standardUserDefaults] boolForKey:defaultName]; + } + + BOOL value; + CFPropertyListRef plr = CFPreferencesCopyAppValue((__bridge CFStringRef)defaultName, (__bridge CFStringRef)self.defaultsDomain); + if (plr == NULL) { + value = NO; + } + else + { + value = (BOOL)CFBooleanGetValue((CFBooleanRef)plr); + CFRelease(plr); + } + return value; +} + +- (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName +{ + if (self.usesStandardUserDefaults) + { + [[NSUserDefaults standardUserDefaults] setBool:value forKey:defaultName]; + } + else + { + CFPreferencesSetValue((__bridge CFStringRef)defaultName, (__bridge CFBooleanRef) @(value), (__bridge CFStringRef)self.defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((__bridge CFStringRef)self.defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + } +} + +- (id)objectForKey:(NSString *)key { + return [self objectForUserDefaultsKey:key] ? [self objectForUserDefaultsKey:key] : [self objectForInfoDictionaryKey:key]; +} + +- (BOOL)boolForKey:(NSString *)key { + return [self objectForUserDefaultsKey:key] ? [self boolForUserDefaultsKey:key] : [self boolForInfoDictionaryKey:key]; +} + ++ (NSString *)systemVersionString +{ +#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1090 // Present in 10.9 despite NS_AVAILABLE's claims +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wselector" + // Xcode 5.1.1: operatingSystemVersion is clearly declared, must warn due to a compiler bug? + if (![NSProcessInfo instancesRespondToSelector:@selector(operatingSystemVersion)]) +#pragma clang diagnostic pop + { + NSURL *coreServices = [[NSFileManager defaultManager] URLForDirectory:NSCoreServiceDirectory inDomain:NSSystemDomainMask appropriateForURL:nil create:NO error:nil]; + return [NSDictionary dictionaryWithContentsOfURL:[coreServices URLByAppendingPathComponent:@"SystemVersion.plist"]][@"ProductVersion"]; + } +#endif + NSOperatingSystemVersion version = [[NSProcessInfo processInfo] operatingSystemVersion]; + return [NSString stringWithFormat:@"%ld.%ld.%ld", (long)version.majorVersion, (long)version.minorVersion, (long)version.patchVersion]; +} + +@end diff --git a/Sparkle/SUInstaller.h b/Sparkle/SUInstaller.h new file mode 100644 index 00000000..fe82f885 --- /dev/null +++ b/Sparkle/SUInstaller.h @@ -0,0 +1,25 @@ +// +// SUInstaller.h +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUINSTALLER_H +#define SUINSTALLER_H + +#import +#import "SUVersionComparisonProtocol.h" + +@class SUHost; +@interface SUInstaller : NSObject + ++ (NSString *)appPathInUpdateFolder:(NSString *)updateFolder forHost:(SUHost *)host; ++ (void)installFromUpdateFolder:(NSString *)updateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath versionComparator:(id)comparator completionHandler:(void (^)(NSError *))completionHandler; ++ (void)finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result error:(NSError *)error completionHandler:(void (^)(NSError *))completionHandler; ++ (NSString *)updateFolder; + +@end + +#endif diff --git a/Sparkle/SUInstaller.m b/Sparkle/SUInstaller.m new file mode 100644 index 00000000..2513973a --- /dev/null +++ b/Sparkle/SUInstaller.m @@ -0,0 +1,187 @@ +// +// SUInstaller.m +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUInstaller.h" +#import "SUPlainInstaller.h" +#import "SUPackageInstaller.h" +#import "SUGuidedPackageInstaller.h" +#import "SUHost.h" +#import "SUConstants.h" +#import "SULog.h" + +@implementation SUInstaller + +static NSString *sUpdateFolder = nil; + ++ (NSString *)updateFolder +{ + return sUpdateFolder; +} + ++ (BOOL)isAliasFolderAtPath:(NSString *)path +{ + FSRef fileRef; + OSStatus err = noErr; + Boolean aliasFileFlag = false, folderFlag = false; + NSURL *fileURL = [NSURL fileURLWithPath:path]; + + if (FALSE == CFURLGetFSRef((CFURLRef)fileURL, &fileRef)) + err = coreFoundationUnknownErr; + + if (noErr == err) + err = FSIsAliasFile(&fileRef, &aliasFileFlag, &folderFlag); + + if (noErr == err) + return !!(aliasFileFlag && folderFlag); + else + return NO; +} + ++ (NSString *)installSourcePathInUpdateFolder:(NSString *)inUpdateFolder forHost:(SUHost *)host isPackage:(BOOL *)isPackagePtr isGuided:(BOOL *)isGuidedPtr +{ + NSParameterAssert(inUpdateFolder); + NSParameterAssert(host); + + // Search subdirectories for the application + NSString *currentFile, + *newAppDownloadPath = nil, + *bundleFileName = [[host bundlePath] lastPathComponent], + *alternateBundleFileName = [[host name] stringByAppendingPathExtension:[[host bundlePath] pathExtension]]; + BOOL isPackage = NO; + BOOL isGuided = NO; + NSString *fallbackPackagePath = nil; + NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath:inUpdateFolder]; + NSString *bundleFileNameNoExtension = [bundleFileName stringByDeletingPathExtension]; + + sUpdateFolder = inUpdateFolder; + + while ((currentFile = [dirEnum nextObject])) { + NSString *currentPath = [inUpdateFolder stringByAppendingPathComponent:currentFile]; + NSString *currentFilename = [currentFile lastPathComponent]; + NSString *currentExtension = [currentFile pathExtension]; + NSString *currentFilenameNoExtension = [currentFilename stringByDeletingPathExtension]; + if ([currentFilename isEqualToString:bundleFileName] || + [currentFilename isEqualToString:alternateBundleFileName]) // We found one! + { + isPackage = NO; + newAppDownloadPath = currentPath; + break; + } else if ([currentExtension isEqualToString:@"pkg"] || + [currentExtension isEqualToString:@"mpkg"]) { + if ([currentFilenameNoExtension isEqualToString:bundleFileNameNoExtension]) { + isPackage = YES; + newAppDownloadPath = currentPath; + break; + } else { + // Remember any other non-matching packages we have seen should we need to use one of them as a fallback. + fallbackPackagePath = currentPath; + } + } else { + // Try matching on bundle identifiers in case the user has changed the name of the host app + NSBundle *incomingBundle = [NSBundle bundleWithPath:currentPath]; + if (incomingBundle && [[incomingBundle bundleIdentifier] isEqualToString:[[host bundle] bundleIdentifier]]) { + isPackage = NO; + newAppDownloadPath = currentPath; + break; + } + } + + // Some DMGs have symlinks into /Applications! That's no good! + if ([self isAliasFolderAtPath:currentPath]) + [dirEnum skipDescendents]; + } + + // We don't have a valid path. Try to use the fallback package. + + if (newAppDownloadPath == nil && fallbackPackagePath != nil) { + isPackage = YES; + newAppDownloadPath = fallbackPackagePath; + } + + if (isPackage) { + // foo.app -> foo.sparkle_guided.pkg or foo.sparkle_guided.mpkg + if ([[[newAppDownloadPath stringByDeletingPathExtension] pathExtension] isEqualToString:@"sparkle_guided"]) { + isGuided = YES; + } + } + + if (isPackagePtr) + *isPackagePtr = isPackage; + if (isGuidedPtr) + *isGuidedPtr = isGuided; + + if (!newAppDownloadPath) { + SULog(@"Searched %@ for %@.(app|pkg)", inUpdateFolder, bundleFileNameNoExtension); + } + return newAppDownloadPath; +} + ++ (NSString *)appPathInUpdateFolder:(NSString *)updateFolder forHost:(SUHost *)host +{ + BOOL isPackage = NO; + NSString *path = [self installSourcePathInUpdateFolder:updateFolder forHost:host isPackage:&isPackage isGuided:nil]; + return isPackage ? nil : path; +} + ++ (void)installFromUpdateFolder:(NSString *)inUpdateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath versionComparator:(id)comparator completionHandler:(void (^)(NSError *))completionHandler +{ + BOOL isPackage = NO; + BOOL isGuided = NO; + NSString *newAppDownloadPath = [self installSourcePathInUpdateFolder:inUpdateFolder forHost:host isPackage:&isPackage isGuided:&isGuided]; + + if (newAppDownloadPath == nil) { + [self finishInstallationToPath:installationPath withResult:NO error:[NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingUpdateError userInfo:@{ NSLocalizedDescriptionKey: @"Couldn't find an appropriate update in the downloaded package." }] completionHandler:completionHandler]; + } else { + if (isPackage && isGuided) { + [SUGuidedPackageInstaller performInstallationToPath:installationPath fromPath:newAppDownloadPath host:host versionComparator:comparator completionHandler:completionHandler]; + } else if (isPackage) { + [SUPackageInstaller performInstallationToPath:installationPath fromPath:newAppDownloadPath host:host versionComparator:comparator completionHandler:completionHandler]; + } else { + [SUPlainInstaller performInstallationToPath:installationPath fromPath:newAppDownloadPath host:host versionComparator:comparator completionHandler:completionHandler]; + } + } +} + ++ (void)mdimportInstallationPath:(NSString *)installationPath +{ + // *** GETS CALLED ON NON-MAIN THREAD! + + SULog(@"mdimporting"); + + NSTask *mdimport = [[NSTask alloc] init]; + [mdimport setLaunchPath:@"/usr/bin/mdimport"]; + [mdimport setArguments:@[installationPath]]; + @try { + [mdimport launch]; + [mdimport waitUntilExit]; + } + @catch (NSException *launchException) + { + // No big deal. + SULog(@"Error: %@", [launchException description]); + } +} + ++ (void)finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result error:(NSError *)error completionHandler:(void (^)(NSError *))completionHandler +{ + if (result) { + [self mdimportInstallationPath:installationPath]; + dispatch_async(dispatch_get_main_queue(), ^{ + completionHandler(nil); + }); + } else { + if (!error) { + error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUInstallationError userInfo:nil]; + } + dispatch_async(dispatch_get_main_queue(), ^{ + completionHandler(error); + }); + } +} + +@end diff --git a/SULog.h b/Sparkle/SULog.h similarity index 84% rename from SULog.h rename to Sparkle/SULog.h index 7631f95e..1693f535 100644 --- a/SULog.h +++ b/Sparkle/SULog.h @@ -12,7 +12,8 @@ Your tech support will hug you if you tell them about this. */ -#pragma once +#ifndef SULOG_H +#define SULOG_H // ----------------------------------------------------------------------------- // Headers: @@ -25,7 +26,7 @@ // Prototypes: // ----------------------------------------------------------------------------- -void SUClearLog( void ); -void SULog( NSString* format, ... ); - +void SUClearLog(void); +void SULog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2); +#endif diff --git a/SULog.m b/Sparkle/SULog.m similarity index 57% rename from SULog.m rename to Sparkle/SULog.m index b58235aa..5941aac7 100644 --- a/SULog.m +++ b/Sparkle/SULog.m @@ -18,7 +18,7 @@ // Constants: // ----------------------------------------------------------------------------- -#define LOG_FILE_PATH @"~/Library/Logs/SparkleUpdateLog.log" +static NSString *const SULogFilePath = @"~/Library/Logs/SparkleUpdateLog.log"; // ----------------------------------------------------------------------------- @@ -30,19 +30,15 @@ // // TAKES: // sender - Object that sent this message, typically of type X. -// -// GIVES: -// param - who owns the returned value? -// result - same here. // ----------------------------------------------------------------------------- -void SUClearLog( void ) +void SUClearLog(void) { - FILE* logfile = fopen([[LOG_FILE_PATH stringByExpandingTildeInPath] fileSystemRepresentation],"w"); - if( logfile ) - fclose(logfile); - else - NSLog(@"----- Sparkle Log -----"); + FILE *logfile = fopen([[SULogFilePath stringByExpandingTildeInPath] fileSystemRepresentation], "w"); + if (logfile) { + fclose(logfile); + SULog(@"===== %@ =====", [[NSFileManager defaultManager] displayNameAtPath:[[NSBundle mainBundle] bundlePath]]); + } } @@ -56,25 +52,27 @@ void SUClearLog( void ) // ... - More parameters depending on format string's contents. // ----------------------------------------------------------------------------- -void SULog( NSString* format, ... ) +void SULog(NSString *format, ...) { - va_list ap; - va_start(ap, format); - NSString* theStr = [[[NSString alloc] initWithFormat: format arguments: ap] autorelease]; - FILE* logfile = fopen([[LOG_FILE_PATH stringByExpandingTildeInPath] fileSystemRepresentation],"a"); - if( !logfile ) - NSLog( @"%@",theStr ); - else - { - theStr = [NSString stringWithFormat: @"%@: %@", [NSDate date], theStr]; - NSData* theData = [theStr dataUsingEncoding: NSUTF8StringEncoding]; - char newlineChar = '\n'; - fwrite( [theData bytes], 1, [theData length], logfile ); - fwrite( &newlineChar, 1, 1, logfile ); // Append a newline. - fclose( logfile ); - logfile = NULL; - } - va_end(ap); + static BOOL loggedYet = NO; + if (!loggedYet) { + loggedYet = YES; + SUClearLog(); + } + + va_list ap; + va_start(ap, format); + NSString *theStr = [[NSString alloc] initWithFormat:format arguments:ap]; + NSLog(@"Sparkle: %@", theStr); + + FILE *logfile = fopen([[SULogFilePath stringByExpandingTildeInPath] fileSystemRepresentation], "a"); + if (logfile) { + theStr = [NSString stringWithFormat:@"%@: %@\n", [NSDate date], theStr]; + NSData *theData = [theStr dataUsingEncoding:NSUTF8StringEncoding]; + fwrite([theData bytes], 1, [theData length], logfile); + fclose(logfile); + } + va_end(ap); } diff --git a/SUPackageInstaller.h b/Sparkle/SUPackageInstaller.h similarity index 87% rename from SUPackageInstaller.h rename to Sparkle/SUPackageInstaller.h index 5b69095f..04b500ee 100644 --- a/SUPackageInstaller.h +++ b/Sparkle/SUPackageInstaller.h @@ -16,7 +16,7 @@ #import "SUVersionComparisonProtocol.h" #import "SUPlainInstaller.h" -@interface SUPackageInstaller : SUPlainInstaller { } +@interface SUPackageInstaller : SUPlainInstaller @end #endif diff --git a/Sparkle/SUPackageInstaller.m b/Sparkle/SUPackageInstaller.m new file mode 100644 index 00000000..64637433 --- /dev/null +++ b/Sparkle/SUPackageInstaller.m @@ -0,0 +1,41 @@ +// +// SUPackageInstaller.m +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUPackageInstaller.h" +#import +#import "SUConstants.h" + +@implementation SUPackageInstaller + ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)__unused host versionComparator:(id)__unused comparator completionHandler:(void (^)(NSError *))completionHandler +{ + // Run installer using the "open" command to ensure it is launched in front of current application. + // -W = wait until the app has quit. + // -n = Open another instance if already open. + // -b = app bundle identifier + NSString *command = @"/usr/bin/open"; + NSArray *args = @[@"-W", @"-n", @"-b", @"com.apple.installer", path]; + + if (![[NSFileManager defaultManager] fileExistsAtPath:command]) { + NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingInstallerToolError userInfo:@{ NSLocalizedDescriptionKey: @"Couldn't find Apple's installer tool!" }]; + [self finishInstallationToPath:installationPath withResult:NO error:error completionHandler:completionHandler]; + return; + } + + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + NSTask *installer = [NSTask launchedTaskWithLaunchPath:command arguments:args]; + [installer waitUntilExit]; + + // Known bug: if the installation fails or is canceled, Sparkle goes ahead and restarts, thinking everything is fine. + dispatch_async(dispatch_get_main_queue(), ^{ + [self finishInstallationToPath:installationPath withResult:YES error:nil completionHandler:completionHandler]; + }); + }); +} + +@end diff --git a/SUPipedUnarchiver.h b/Sparkle/SUPipedUnarchiver.h similarity index 84% rename from SUPipedUnarchiver.h rename to Sparkle/SUPipedUnarchiver.h index b13a0b3a..7304ba0a 100644 --- a/SUPipedUnarchiver.h +++ b/Sparkle/SUPipedUnarchiver.h @@ -12,9 +12,7 @@ #import #import "SUUnarchiver.h" -@interface SUPipedUnarchiver : SUUnarchiver { - -} +@interface SUPipedUnarchiver : SUUnarchiver @end diff --git a/Sparkle/SUPipedUnarchiver.m b/Sparkle/SUPipedUnarchiver.m new file mode 100644 index 00000000..7a65054c --- /dev/null +++ b/Sparkle/SUPipedUnarchiver.m @@ -0,0 +1,157 @@ +// +// SUPipedUnarchiver.m +// Sparkle +// +// Created by Andy Matuschak on 6/16/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUPipedUnarchiver.h" +#import "SUUnarchiver_Private.h" +#import "SULog.h" + + +@implementation SUPipedUnarchiver + ++ (SEL)selectorConformingToTypeOfPath:(NSString *)path +{ + static NSDictionary *typeSelectorDictionary; + if (!typeSelectorDictionary) + typeSelectorDictionary = @{ @".zip": @"extractZIP", + @".tar": @"extractTAR", + @".tar.gz": @"extractTGZ", + @".tgz": @"extractTGZ", + @".tar.bz2": @"extractTBZ", + @".tbz": @"extractTBZ", + @".tar.xz": @"extractTXZ", + @".txz": @"extractTXZ", + @".tar.lzma": @"extractTXZ"}; + + NSString *lastPathComponent = [path lastPathComponent]; + for (NSString *currentType in typeSelectorDictionary) + { + if ([currentType length] > [lastPathComponent length]) continue; + if ([[lastPathComponent substringFromIndex:[lastPathComponent length] - [currentType length]] isEqualToString:currentType]) + return NSSelectorFromString(typeSelectorDictionary[currentType]); + } + return NULL; +} + +- (void)start +{ + [NSThread detachNewThreadSelector:[[self class] selectorConformingToTypeOfPath:self.archivePath] toTarget:self withObject:nil]; +} + ++ (BOOL)canUnarchivePath:(NSString *)path +{ + return ([self selectorConformingToTypeOfPath:path] != nil); +} + +// This method abstracts the types that use a command line tool piping data from stdin. +- (void)extractArchivePipingDataToCommand:(NSString *)command args:(NSArray*)args +{ + // *** GETS CALLED ON NON-MAIN THREAD!!! + @autoreleasepool { + + NSString *destination = [self.archivePath stringByDeletingLastPathComponent]; + + SULog(@"Extracting using '%@' '%@' < '%@' '%@'", command, [args componentsJoinedByString:@"' '"], self.archivePath, destination); + + // Get the file size. + NSUInteger expectedLength = [[[NSFileManager defaultManager] attributesOfItemAtPath:self.archivePath error:nil][NSFileSize] unsignedIntegerValue]; + if (expectedLength > 0) { + NSFileHandle *archiveInput = [NSFileHandle fileHandleForReadingAtPath:self.archivePath]; + + NSPipe *pipe = [NSPipe pipe]; + NSFileHandle *archiveOutput = [pipe fileHandleForWriting]; + + NSTask *task = [[NSTask alloc] init]; + [task setStandardInput:[pipe fileHandleForReading]]; + [task setStandardError:[NSFileHandle fileHandleWithStandardError]]; + [task setStandardOutput:[NSFileHandle fileHandleWithStandardOutput]]; + [task setLaunchPath:command]; + [task setArguments:[args arrayByAddingObject:destination]]; + [task launch]; + + NSUInteger bytesRead = 0; + do { + NSData *data = [archiveInput readDataOfLength:256*1024]; + NSUInteger len = [data length]; + if (!len) { + break; + } + bytesRead += len; + [archiveOutput writeData:data]; + dispatch_async(dispatch_get_main_queue(), ^{ + [self notifyDelegateOfProgress:(double)bytesRead / (double)expectedLength]; + }); + } + while(bytesRead < expectedLength); + + [archiveOutput closeFile]; + + [task waitUntilExit]; + + if ([task terminationStatus] == 0) { + if (bytesRead == expectedLength) { + dispatch_async(dispatch_get_main_queue(), ^{ + [self notifyDelegateOfSuccess]; + }); + return; + } else { + SULog(@"Extraction failed, command '%@' got only %ld of %ld bytes", command, (long)bytesRead, (long)expectedLength); + } + } else { + SULog(@"Extraction failed, command '%@' returned %d", command, [task terminationStatus]); + } + } else { + SULog(@"Extraction failed, archive '%@' is empty", self.archivePath); + } + + dispatch_async(dispatch_get_main_queue(), ^{ + [self notifyDelegateOfFailure]; + }); + } +} + +- (void)extractTAR +{ + // *** GETS CALLED ON NON-MAIN THREAD!!! + + [self extractArchivePipingDataToCommand:@"/usr/bin/tar" args:@[@"-xC"]]; +} + +- (void)extractTGZ +{ + // *** GETS CALLED ON NON-MAIN THREAD!!! + + [self extractArchivePipingDataToCommand:@"/usr/bin/tar" args:@[@"-zxC"]]; +} + +- (void)extractTBZ +{ + // *** GETS CALLED ON NON-MAIN THREAD!!! + + [self extractArchivePipingDataToCommand:@"/usr/bin/tar" args:@[@"-jxC"]]; +} + +- (void)extractZIP +{ + // *** GETS CALLED ON NON-MAIN THREAD!!! + + [self extractArchivePipingDataToCommand:@"/usr/bin/ditto" args:@[@"-x",@"-k",@"-"]]; +} + +- (void)extractTXZ +{ + // *** GETS CALLED ON NON-MAIN THREAD!!! + + [self extractArchivePipingDataToCommand:@"/usr/bin/tar" args:@[@"-zxC"]]; +} + ++ (void)load +{ + [self registerImplementation:self]; +} + +@end diff --git a/SUPlainInstaller.h b/Sparkle/SUPlainInstaller.h similarity index 69% rename from SUPlainInstaller.h rename to Sparkle/SUPlainInstaller.h index e75f0401..9fd78f6f 100644 --- a/SUPlainInstaller.h +++ b/Sparkle/SUPlainInstaller.h @@ -19,8 +19,10 @@ @class SUHost; -@interface SUPlainInstaller : SUInstaller { } -+ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; +@interface SUPlainInstaller : SUInstaller + ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host versionComparator:(id)comparator completionHandler:(void (^)(NSError *))completionHandler; + @end #endif diff --git a/Sparkle/SUPlainInstaller.m b/Sparkle/SUPlainInstaller.m new file mode 100644 index 00000000..1aeb6317 --- /dev/null +++ b/Sparkle/SUPlainInstaller.m @@ -0,0 +1,61 @@ +// +// SUPlainInstaller.m +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUPlainInstaller.h" +#import "SUPlainInstallerInternals.h" +#import "SUCodeSigningVerifier.h" +#import "SUConstants.h" +#import "SUHost.h" + +@implementation SUPlainInstaller + ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host versionComparator:(id)comparator completionHandler:(void (^)(NSError *))completionHandler +{ + NSParameterAssert(host); + + // Prevent malicious downgrades + if (![[[NSBundle bundleWithIdentifier:SUBundleIdentifier] infoDictionary][SUEnableAutomatedDowngradesKey] boolValue]) { + if ([comparator compareVersion:[host version] toVersion:[[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]] == NSOrderedDescending) { + NSString *errorMessage = [NSString stringWithFormat:@"Sparkle Updater: Possible attack in progress! Attempting to \"upgrade\" from %@ to %@. Aborting update.", [host version], [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]]; + NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUDowngradeError userInfo:@{ NSLocalizedDescriptionKey: errorMessage }]; + [self finishInstallationToPath:installationPath withResult:NO error:error completionHandler:completionHandler]; + return; + } + } + + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + NSError *error = nil; + NSString *oldPath = [host bundlePath]; + NSString *tempName = [self temporaryNameForPath:[host installationPath]]; + BOOL hostIsCodeSigned = [SUCodeSigningVerifier applicationAtPathIsCodeSigned:oldPath]; + + BOOL result = [self copyPathWithAuthentication:path overPath:installationPath temporaryName:tempName error:&error]; + + if (result) { + // If the host is code signed, then the replacement should be be too (and the signature should be valid). + BOOL needToCheckCodeSignature = (hostIsCodeSigned || [SUCodeSigningVerifier applicationAtPathIsCodeSigned:installationPath]); + if (needToCheckCodeSignature) { + result = [SUCodeSigningVerifier codeSignatureIsValidAtPath:installationPath error:&error]; + } + } + + if (result) { + BOOL haveOld = [[NSFileManager defaultManager] fileExistsAtPath:oldPath]; + BOOL differentFromNew = ![oldPath isEqualToString:installationPath]; + if (haveOld && differentFromNew) { + [self _movePathToTrash:oldPath]; // On success, trash old copy if there's still one due to renaming. + } + } + + dispatch_async(dispatch_get_main_queue(), ^{ + [self finishInstallationToPath:installationPath withResult:result error:error completionHandler:completionHandler]; + }); + }); +} + +@end diff --git a/SUPlainInstallerInternals.h b/Sparkle/SUPlainInstallerInternals.h similarity index 90% rename from SUPlainInstallerInternals.h rename to Sparkle/SUPlainInstallerInternals.h index 24cd49a2..1bb645d4 100644 --- a/SUPlainInstallerInternals.h +++ b/Sparkle/SUPlainInstallerInternals.h @@ -15,7 +15,7 @@ + (NSString *)temporaryNameForPath:(NSString *)path; + (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error; + (void)_movePathToTrash:(NSString *)path; -+ (BOOL)_removeFileAtPath:(NSString *)path error: (NSError**)error; ++ (BOOL)_removeFileAtPath:(NSString *)path error:(NSError **)error; + (BOOL)_removeFileAtPathWithForcedAuthentication:(NSString *)src error:(NSError **)error; @end diff --git a/Sparkle/SUPlainInstallerInternals.m b/Sparkle/SUPlainInstallerInternals.m new file mode 100644 index 00000000..e06e5bdf --- /dev/null +++ b/Sparkle/SUPlainInstallerInternals.m @@ -0,0 +1,620 @@ +// +// SUPlainInstallerInternals.m +// Sparkle +// +// Created by Andy Matuschak on 3/9/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" +#import "SUPlainInstallerInternals.h" +#import "SUConstants.h" +#import "SULog.h" + +#include +#include +#include +#include +#include +#include +#include + +#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101000 +extern NSString *const NSURLQuarantinePropertiesKey WEAK_IMPORT_ATTRIBUTE; +#endif + +static inline void PerformOnMainThreadSync(dispatch_block_t theBlock) +{ + if ([NSThread isMainThread]) { + theBlock(); + } else { + dispatch_sync(dispatch_get_main_queue(), theBlock); + } +} + +@interface SUPlainInstaller (MMExtendedAttributes) +// Removes the directory tree rooted at |root| from the file quarantine. +// The quarantine was introduced on OS X 10.5 and is described at: +// +// http://developer.apple.com/releasenotes/Carbon/RN-LaunchServices/index.html +//#apple_ref/doc/uid/TP40001369-DontLinkElementID_2 +// +// If |root| is not a directory, then it alone is removed from the quarantine. +// Symbolic links, including |root| if it is a symbolic link, will not be +// traversed. +// +// Ordinarily, the quarantine is managed by calling LSSetItemAttribute +// to set the kLSItemQuarantineProperties attribute to a dictionary specifying +// the quarantine properties to be applied. However, it does not appear to be +// possible to remove an item from the quarantine directly through any public +// Launch Services calls. Instead, this method takes advantage of the fact +// that the quarantine is implemented in part by setting an extended attribute, +// "com.apple.quarantine", on affected files. Removing this attribute is +// sufficient to remove files from the quarantine. ++ (void)releaseFromQuarantine:(NSString *)root; +@end + +// Authorization code based on generous contribution from Allan Odgaard. Thanks, Allan! +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" // this is terrible; will fix later probably +static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authorization, const char *executablePath, AuthorizationFlags options, const char *const *arguments) +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + + sig_t oldSigChildHandler = signal(SIGCHLD, SIG_DFL); + BOOL returnValue = YES; + + if (AuthorizationExecuteWithPrivileges(authorization, executablePath, options, (char* const*)arguments, NULL) == errAuthorizationSuccess) + { + int status; + pid_t pid = wait(&status); + if (pid == -1 || !WIFEXITED(status) || WEXITSTATUS(status) != 0) + returnValue = NO; + } + else + returnValue = NO; + + signal(SIGCHLD, oldSigChildHandler); + return returnValue; +} +#pragma clang diagnostic pop + +@implementation SUPlainInstaller (Internals) + ++ (NSString *)temporaryNameForPath:(NSString *)path +{ + // Let's try to read the version number so the filename will be more meaningful. + NSString *postFix; + NSString *version; + if ((version = [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]) && ![version isEqualToString:@""]) + { + NSMutableCharacterSet *validCharacters = [NSMutableCharacterSet alphanumericCharacterSet]; + [validCharacters formUnionWithCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@".-()"]]; + postFix = [version stringByTrimmingCharactersInSet:[validCharacters invertedSet]]; + } + else + postFix = @"old"; + NSString *prefix = [[path stringByDeletingPathExtension] stringByAppendingFormat:@" (%@)", postFix]; + NSString *tempDir = [prefix stringByAppendingPathExtension:[path pathExtension]]; + // Now let's make sure we get a unique path. + unsigned int cnt = 2; + while ([[NSFileManager defaultManager] fileExistsAtPath:tempDir] && cnt <= 999) + tempDir = [NSString stringWithFormat:@"%@ %u.%@", prefix, cnt++, [path pathExtension]]; + return [tempDir lastPathComponent]; +} + ++ (NSString *)_temporaryCopyNameForPath:(NSString *)path didFindTrash:(BOOL *)outDidFindTrash +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + NSString *tempDir = nil; + + UInt8 trashPath[MAXPATHLEN + 1] = { 0 }; + FSRef trashRef, pathRef; + FSVolumeRefNum vSrcRefNum = kFSInvalidVolumeRefNum; + FSCatalogInfo catInfo; + memset(&catInfo, 0, sizeof(catInfo)); + OSStatus err = FSPathMakeRef((UInt8 *)[path fileSystemRepresentation], &pathRef, NULL); + if( err == noErr ) + { + err = FSGetCatalogInfo(&pathRef, kFSCatInfoVolume, &catInfo, NULL, NULL, NULL); + vSrcRefNum = catInfo.volume; + } + if (err == noErr) + err = FSFindFolder(vSrcRefNum, kTrashFolderType, kCreateFolder, &trashRef); + if (err == noErr) + err = FSGetCatalogInfo(&trashRef, kFSCatInfoVolume, &catInfo, NULL, NULL, NULL); + if (err == noErr && vSrcRefNum != catInfo.volume) + err = nsvErr; // Couldn't find a trash folder on same volume as given path. Docs say this may happen in the future. + if (err == noErr) + err = FSRefMakePath(&trashRef, trashPath, MAXPATHLEN); + if (err == noErr) + tempDir = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:(char *)trashPath length:strlen((char *)trashPath)]; + if (outDidFindTrash) + *outDidFindTrash = (tempDir != nil); + if (!tempDir) + tempDir = [path stringByDeletingLastPathComponent]; + + // Let's try to read the version number so the filename will be more meaningful + NSString *prefix; + if ([[[NSBundle bundleWithIdentifier:SUBundleIdentifier] infoDictionary][SUAppendVersionNumberKey] boolValue]) { + NSString *postFix = nil; + NSString *version = nil; + if ((version = [[NSBundle bundleWithPath: path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]) && ![version isEqualToString:@""]) + { + NSMutableCharacterSet *validCharacters = [NSMutableCharacterSet alphanumericCharacterSet]; + [validCharacters formUnionWithCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@".-()"]]; + postFix = [version stringByTrimmingCharactersInSet:[validCharacters invertedSet]]; + } + else { + postFix = @"old"; + } + prefix = [NSString stringWithFormat:@"%@ (%@)", [[path lastPathComponent] stringByDeletingPathExtension], postFix]; + } else { + prefix = [[path lastPathComponent] stringByDeletingPathExtension]; + } + NSString *tempName = [prefix stringByAppendingPathExtension:[path pathExtension]]; + tempDir = [tempDir stringByAppendingPathComponent:tempName]; + + // Now let's make sure we get a unique path. + int cnt = 2; + while ([[NSFileManager defaultManager] fileExistsAtPath:tempDir] && cnt <= 9999) { + tempDir = [[tempDir stringByDeletingLastPathComponent] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@ %d.%@", prefix, cnt++, [path pathExtension]]]; + } + + return tempDir; +} + ++ (BOOL)_copyPathWithForcedAuthentication:(NSString *)src toPath:(NSString *)dst temporaryPath:(NSString *)tmp error:(NSError *__autoreleasing *)error +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + + const char *srcPath = [src fileSystemRepresentation]; + const char *tmpPath = [tmp fileSystemRepresentation]; + const char *dstPath = [dst fileSystemRepresentation]; + + struct stat dstSB; + if (stat(dstPath, &dstSB) != 0) // Doesn't exist yet, try containing folder. + { + const char *dstDirPath = [[dst stringByDeletingLastPathComponent] fileSystemRepresentation]; + if( stat(dstDirPath, &dstSB) != 0 ) + { + NSString *errorMessage = [NSString stringWithFormat:@"Stat on %@ during authenticated file copy failed.", dst]; + if (error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:@{ NSLocalizedDescriptionKey: errorMessage }]; + return NO; + } + } + + AuthorizationRef auth = NULL; + OSStatus authStat = errAuthorizationDenied; + while (authStat == errAuthorizationDenied) { + authStat = AuthorizationCreate(NULL, + kAuthorizationEmptyEnvironment, + kAuthorizationFlagDefaults, + &auth); + } + + BOOL res = NO; + if (authStat == errAuthorizationSuccess) { + res = YES; + + char uidgid[42]; + snprintf(uidgid, sizeof(uidgid), "%u:%u", + dstSB.st_uid, dstSB.st_gid); + + // If the currently-running application is trusted, the new + // version should be trusted as well. Remove it from the + // quarantine to avoid a delay at launch, and to avoid + // presenting the user with a confusing trust dialog. + // + // This needs to be done after the application is moved to its + // new home with "mv" in case it's moved across filesystems: if + // that happens, "mv" actually performs a copy and may result + // in the application being quarantined. It also needs to be + // done before "chown" changes ownership, because the ownership + // change will almost certainly make it impossible to change + // attributes to release the files from the quarantine. + if (res) + { + SULog(@"releaseFromQuarantine"); + PerformOnMainThreadSync(^{ + [self releaseFromQuarantine:src]; + }); + } + + if (res) // Set permissions while it's still in source, so we have it with working and correct perms when it arrives at destination. + { + const char *coParams[] = { "-R", uidgid, srcPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/usr/sbin/chown", kAuthorizationFlagDefaults, coParams); + if (!res) + SULog(@"chown -R %s %s failed.", uidgid, srcPath); + } + + BOOL haveDst = [[NSFileManager defaultManager] fileExistsAtPath:dst]; + if (res && haveDst) // If there's something at our tmp path (previous failed update or whatever) delete that first. + { + const char *rmParams[] = { "-rf", tmpPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams); + if (!res) + SULog(@"rm failed"); + } + + if (res && haveDst) // Move old exe to tmp path. + { + const char *mvParams[] = { "-f", dstPath, tmpPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/bin/mv", kAuthorizationFlagDefaults, mvParams); + if (!res) + SULog(@"mv 1 failed"); + } + + if (res) // Move new exe to old exe's path. + { + const char *mvParams2[] = { "-f", srcPath, dstPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/bin/mv", kAuthorizationFlagDefaults, mvParams2); + if (!res) + SULog(@"mv 2 failed"); + } + + // if( res && haveDst /*&& !foundTrash*/ ) // If we managed to put the old exe in the trash, leave it there for the user to delete or recover. + // { // ... Otherwise we better delete it, wouldn't want dozens of old versions lying around next to the new one. + // const char* rmParams2[] = { "-rf", tmpPath, NULL }; + // res = AuthorizationExecuteWithPrivilegesAndWait( auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams2 ); + // } + + AuthorizationFree(auth, 0); + + // If the currently-running application is trusted, the new + // version should be trusted as well. Remove it from the + // quarantine to avoid a delay at launch, and to avoid + // presenting the user with a confusing trust dialog. + // + // This needs to be done after the application is moved to its + // new home with "mv" in case it's moved across filesystems: if + // that happens, "mv" actually performs a copy and may result + // in the application being quarantined. + if (res) + { + SULog(@"releaseFromQuarantine after installing"); + PerformOnMainThreadSync(^{ + [self releaseFromQuarantine:dst]; + }); + } + + if (!res) + { + // Something went wrong somewhere along the way, but we're not sure exactly where. + NSString *errorMessage = [NSString stringWithFormat:@"Authenticated file copy from %@ to %@ failed.", src, dst]; + if (error != nil) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:@{ NSLocalizedDescriptionKey: errorMessage }]; + } + } + else + { + if (error != nil) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:@{ NSLocalizedDescriptionKey: @"Couldn't get permission to authenticate." }]; + } + return res; +} + ++ (BOOL)_movePathWithForcedAuthentication:(NSString *)src toPath:(NSString *)dst error:(NSError *__autoreleasing *)error +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + + const char *srcPath = [src fileSystemRepresentation]; + const char *dstPath = [dst fileSystemRepresentation]; + const char *dstContainerPath = [[dst stringByDeletingLastPathComponent] fileSystemRepresentation]; + + struct stat dstSB; + stat(dstContainerPath, &dstSB); + + AuthorizationRef auth = NULL; + OSStatus authStat = errAuthorizationDenied; + while( authStat == errAuthorizationDenied ) + { + authStat = AuthorizationCreate(NULL, + kAuthorizationEmptyEnvironment, + kAuthorizationFlagDefaults, + &auth); + } + + BOOL res = NO; + if (authStat == errAuthorizationSuccess) + { + res = YES; + + char uidgid[42]; + snprintf(uidgid, sizeof(uidgid), "%d:%d", + dstSB.st_uid, dstSB.st_gid); + + if (res) // Set permissions while it's still in source, so we have it with working and correct perms when it arrives at destination. + { + const char *coParams[] = { "-R", uidgid, srcPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/usr/sbin/chown", kAuthorizationFlagDefaults, coParams); + if (!res) + SULog(@"Can't set permissions"); + } + + BOOL haveDst = [[NSFileManager defaultManager] fileExistsAtPath:dst]; + if (res && haveDst) // If there's something at our tmp path (previous failed update or whatever) delete that first. + { + const char *rmParams[] = { "-rf", dstPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams); + if (!res) + SULog(@"Can't remove destination file"); + } + + if (res) // Move!. + { + const char *mvParams[] = { "-f", srcPath, dstPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/bin/mv", kAuthorizationFlagDefaults, mvParams); + if (!res) + SULog(@"Can't move source file"); + } + + AuthorizationFree(auth, 0); + + if (!res) + { + // Something went wrong somewhere along the way, but we're not sure exactly where. + NSString *errorMessage = [NSString stringWithFormat:@"Authenticated file move from %@ to %@ failed.", src, dst]; + if (error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:@{ NSLocalizedDescriptionKey: errorMessage }]; + } + } + else + { + if (error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:@{ NSLocalizedDescriptionKey: @"Couldn't get permission to authenticate." }]; + } + return res; +} + + ++ (BOOL)_removeFileAtPathWithForcedAuthentication:(NSString *)src error:(NSError *__autoreleasing *)error +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + + const char *srcPath = [src fileSystemRepresentation]; + + AuthorizationRef auth = NULL; + OSStatus authStat = errAuthorizationDenied; + while( authStat == errAuthorizationDenied ) + { + authStat = AuthorizationCreate(NULL, + kAuthorizationEmptyEnvironment, + kAuthorizationFlagDefaults, + &auth); + } + + BOOL res = NO; + if (authStat == errAuthorizationSuccess) + { + res = YES; + + if (res) // If there's something at our tmp path (previous failed update or whatever) delete that first. + { + const char *rmParams[] = { "-rf", srcPath, NULL }; + res = AuthorizationExecuteWithPrivilegesAndWait(auth, "/bin/rm", kAuthorizationFlagDefaults, rmParams); + if (!res) + SULog(@"Can't remove destination file"); + } + + AuthorizationFree(auth, 0); + + if (!res) + { + // Something went wrong somewhere along the way, but we're not sure exactly where. + NSString *errorMessage = [NSString stringWithFormat:@"Authenticated file remove from %@ failed.", src]; + if (error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:@{ NSLocalizedDescriptionKey: errorMessage }]; + } + } + else + { + if (error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAuthenticationFailure userInfo:@{ NSLocalizedDescriptionKey: @"Couldn't get permission to authenticate." }]; + } + return res; +} + ++ (BOOL)_removeFileAtPath:(NSString *)path error:(NSError *__autoreleasing *)error +{ + BOOL success = YES; + if( ![[NSFileManager defaultManager] removeItemAtPath: path error: NULL] ) + { + success = [self _removeFileAtPathWithForcedAuthentication:path error:error]; + } + + return success; +} + ++ (void)_movePathToTrash:(NSString *)path +{ + //SULog(@"Moving %@ to the trash.", path); + NSInteger tag = 0; + if (![[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[path stringByDeletingLastPathComponent] destination:@"" files:@[[path lastPathComponent]] tag:&tag]) + { + BOOL didFindTrash = NO; + NSString *trashPath = [self _temporaryCopyNameForPath:path didFindTrash:&didFindTrash]; + if( didFindTrash ) + { + NSError *err = nil; + if (![self _movePathWithForcedAuthentication:path toPath:trashPath error:&err]) { + SULog(@"Error: couldn't move %@ to the trash (%@). %@", path, trashPath, err); + } + } + else { + SULog(@"Error: couldn't move %@ to the trash. This is often a sign of a permissions error.", path); + } + } +} + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)__unused tmp error:(NSError *__autoreleasing *)error +{ + FSRef srcRef, dstRef, dstDirRef, tmpDirRef; + OSStatus err; + BOOL hadFileAtDest = NO, didFindTrash = NO; + NSString *tmpPath = [self _temporaryCopyNameForPath:dst didFindTrash:&didFindTrash]; + + // Make FSRef for destination: + err = FSPathMakeRefWithOptions((UInt8 *)[dst fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &dstRef, NULL); + hadFileAtDest = (err == noErr); // There is a file at the destination, move it aside. If we normalized the name, we might not get here, so don't error. + if( hadFileAtDest ) + { + if (0 != access([dst fileSystemRepresentation], W_OK) || 0 != access([[dst stringByDeletingLastPathComponent] fileSystemRepresentation], W_OK)) + { + return [self _copyPathWithForcedAuthentication:src toPath:dst temporaryPath:tmpPath error:error]; + } + } + else + { + if (0 != access([[dst stringByDeletingLastPathComponent] fileSystemRepresentation], W_OK) + || 0 != access([[[dst stringByDeletingLastPathComponent] stringByDeletingLastPathComponent] fileSystemRepresentation], W_OK)) + { + return [self _copyPathWithForcedAuthentication:src toPath:dst temporaryPath:tmpPath error:error]; + } + } + + if( hadFileAtDest ) + { + err = FSPathMakeRef((UInt8 *)[[tmpPath stringByDeletingLastPathComponent] fileSystemRepresentation], &tmpDirRef, NULL); + if (err != noErr) + FSPathMakeRef((UInt8 *)[[dst stringByDeletingLastPathComponent] fileSystemRepresentation], &tmpDirRef, NULL); + } + + err = FSPathMakeRef((UInt8 *)[[dst stringByDeletingLastPathComponent] fileSystemRepresentation], &dstDirRef, NULL); + + if (err == noErr && hadFileAtDest) + { + NSFileManager *manager = [[NSFileManager alloc] init]; + BOOL success = [manager moveItemAtPath:dst toPath:tmpPath error:error]; + if (!success && hadFileAtDest) + { + if (error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Couldn't move %@ to %@.", dst, tmpPath] }]; + return NO; + } + } + + err = FSPathMakeRef((UInt8 *)[src fileSystemRepresentation], &srcRef, NULL); + if (err == noErr) + { + NSFileManager *manager = [[NSFileManager alloc] init]; + BOOL success = [manager copyItemAtPath:src toPath:dst error:error]; + if (!success) + { + // We better move the old version back to its old location + if (hadFileAtDest) { + success = [manager moveItemAtPath:tmpPath toPath:dst error:error]; + } + if (!success && error != NULL) + *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUFileCopyFailure userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Couldn't move %@ to %@.", dst, tmpPath] }]; + return NO; + + } + } + + // If the currently-running application is trusted, the new + // version should be trusted as well. Remove it from the + // quarantine to avoid a delay at launch, and to avoid + // presenting the user with a confusing trust dialog. + // + // This needs to be done after the application is moved to its + // new home in case it's moved across filesystems: if that + // happens, the move is actually a copy, and it may result + // in the application being quarantined. + PerformOnMainThreadSync(^{ + [self releaseFromQuarantine:dst]; + }); + + return YES; +} + +@end + +#include +#include +#include + +@implementation SUPlainInstaller (MMExtendedAttributes) + ++ (int)removeXAttr:(NSString *)name + fromFile:(NSString *)file + options:(int)options +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + + const char *path = NULL; + const char *attr = [name cStringUsingEncoding:NSASCIIStringEncoding]; + @try { + path = [file fileSystemRepresentation]; + } + @catch (id) { + // -[NSString fileSystemRepresentation] throws an exception if it's + // unable to convert the string to something suitable. Map that to + // EDOM, "argument out of domain", which sort of conveys that there + // was a conversion failure. + errno = EDOM; + return -1; + } + + return removexattr(path, attr, options); +} + ++ (void)releaseFromQuarantine:(NSString *)root +{ + // *** MUST BE SAFE TO CALL ON NON-MAIN THREAD! + + NSFileManager *manager = [NSFileManager defaultManager]; +#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101000 + if (!&NSURLQuarantinePropertiesKey) { + NSString *const quarantineAttribute = (NSString*)kLSItemQuarantineProperties; + const int removeXAttrOptions = XATTR_NOFOLLOW; + + [self removeXAttr:quarantineAttribute + fromFile:root + options:removeXAttrOptions]; + + // Only recurse if it's actually a directory. Don't recurse into a + // root-level symbolic link. + NSDictionary *rootAttributes = [manager attributesOfItemAtPath:root error:nil]; + NSString *rootType = rootAttributes[NSFileType]; + + if (rootType == NSFileTypeDirectory) { + // The NSDirectoryEnumerator will avoid recursing into any contained + // symbolic links, so no further type checks are needed. + NSDirectoryEnumerator *directoryEnumerator = [manager enumeratorAtPath:root]; + NSString *file = nil; + while ((file = [directoryEnumerator nextObject])) { + [self removeXAttr:quarantineAttribute + fromFile:[root stringByAppendingPathComponent:file] + options:removeXAttrOptions]; + } + } + return; + } +#endif + NSURL *rootURL = [NSURL fileURLWithPath:root]; + [rootURL setResourceValue:[NSNull null] forKey:NSURLQuarantinePropertiesKey error:NULL]; + + // Only recurse if it's actually a directory. Don't recurse into a + // root-level symbolic link. + NSDictionary *rootAttributes = [manager attributesOfItemAtPath:root error:nil]; + NSString *rootType = rootAttributes[NSFileType]; + + if (rootType == NSFileTypeDirectory) { + // The NSDirectoryEnumerator will avoid recursing into any contained + // symbolic links, so no further type checks are needed. + NSDirectoryEnumerator *directoryEnumerator = [manager enumeratorAtURL:rootURL includingPropertiesForKeys:nil options:(NSDirectoryEnumerationOptions)0 errorHandler:nil]; + + for (NSURL *file in directoryEnumerator) { + [file setResourceValue:[NSNull null] forKey:NSURLQuarantinePropertiesKey error:NULL]; + } + } +} + +@end diff --git a/SUProbingUpdateDriver.h b/Sparkle/SUProbingUpdateDriver.h similarity index 84% rename from SUProbingUpdateDriver.h rename to Sparkle/SUProbingUpdateDriver.h index e2165f44..bf897c8c 100644 --- a/SUProbingUpdateDriver.h +++ b/Sparkle/SUProbingUpdateDriver.h @@ -13,7 +13,7 @@ #import "SUBasicUpdateDriver.h" // This replaces the old SUStatusChecker. -@interface SUProbingUpdateDriver : SUBasicUpdateDriver { } +@interface SUProbingUpdateDriver : SUBasicUpdateDriver @end #endif diff --git a/Sparkle/SUProbingUpdateDriver.m b/Sparkle/SUProbingUpdateDriver.m new file mode 100644 index 00000000..1fde6c6d --- /dev/null +++ b/Sparkle/SUProbingUpdateDriver.m @@ -0,0 +1,39 @@ +// +// SUProbingUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 5/7/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUProbingUpdateDriver.h" +#import "SUUpdater.h" + +@implementation SUProbingUpdateDriver + +// Stop as soon as we have an answer! Since the superclass implementations are not called, we are responsible for notifying the delegate. + +- (void)didFindValidUpdate +{ + id updaterDelegate = [self.updater delegate]; + + if ([updaterDelegate respondsToSelector:@selector(updater:didFindValidUpdate:)]) + [updaterDelegate updater:self.updater didFindValidUpdate:self.updateItem]; + NSDictionary *userInfo = (self.updateItem != nil) ? @{ SUUpdaterAppcastItemNotificationKey: self.updateItem } : nil; + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFindValidUpdateNotification object:self.updater userInfo:userInfo]; + [self abortUpdate]; +} + +- (void)didNotFindUpdate +{ + id updaterDelegate = [self.updater delegate]; + + if ([updaterDelegate respondsToSelector:@selector(updaterDidNotFindUpdate:)]) { + [updaterDelegate updaterDidNotFindUpdate:self.updater]; + } + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:self.updater]; + + [self abortUpdate]; +} + +@end diff --git a/SUScheduledUpdateDriver.h b/Sparkle/SUScheduledUpdateDriver.h similarity index 91% rename from SUScheduledUpdateDriver.h rename to Sparkle/SUScheduledUpdateDriver.h index 64b8022d..dfdde51f 100644 --- a/SUScheduledUpdateDriver.h +++ b/Sparkle/SUScheduledUpdateDriver.h @@ -13,10 +13,6 @@ #import "SUUIBasedUpdateDriver.h" @interface SUScheduledUpdateDriver : SUUIBasedUpdateDriver -{ -@private - BOOL showErrors; -} @end diff --git a/Sparkle/SUScheduledUpdateDriver.m b/Sparkle/SUScheduledUpdateDriver.m new file mode 100644 index 00000000..9d6bf141 --- /dev/null +++ b/Sparkle/SUScheduledUpdateDriver.m @@ -0,0 +1,60 @@ +// +// SUScheduledUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 5/6/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUScheduledUpdateDriver.h" +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" + +@interface SUScheduledUpdateDriver () + +@property (assign) BOOL showErrors; + +@end + +@implementation SUScheduledUpdateDriver + +@synthesize showErrors; + +- (void)didFindValidUpdate +{ + self.showErrors = YES; // We only start showing errors after we present the UI for the first time. + [super didFindValidUpdate]; +} + +- (void)didNotFindUpdate +{ + id updaterDelegate = [self.updater delegate]; + + if ([updaterDelegate respondsToSelector:@selector(updaterDidNotFindUpdate:)]) { + [updaterDelegate updaterDidNotFindUpdate:self.updater]; + } + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:self.updater]; + + [self abortUpdate]; // Don't tell the user that no update was found; this was a scheduled update. +} + +- (void)abortUpdateWithError:(NSError *)error +{ + if (self.showErrors) { + [super abortUpdateWithError:error]; + } else { + // Call delegate separately here because otherwise it won't know we stopped. + // Normally this gets called by the superclass + id updaterDelegate = [self.updater delegate]; + if ([updaterDelegate respondsToSelector:@selector(updater:didAbortWithError:)]) { + [updaterDelegate updater:self.updater didAbortWithError:error]; + } + + [self abortUpdate]; + } +} + +@end diff --git a/Sparkle/SUStandardVersionComparator.h b/Sparkle/SUStandardVersionComparator.h new file mode 100644 index 00000000..73ac968b --- /dev/null +++ b/Sparkle/SUStandardVersionComparator.h @@ -0,0 +1,37 @@ +// +// 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 "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 + +/*! + 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 diff --git a/SUStandardVersionComparator.m b/Sparkle/SUStandardVersionComparator.m similarity index 85% rename from SUStandardVersionComparator.m rename to Sparkle/SUStandardVersionComparator.m index f6f894c3..b7c876a5 100644 --- a/SUStandardVersionComparator.m +++ b/Sparkle/SUStandardVersionComparator.m @@ -17,17 +17,18 @@ + (SUStandardVersionComparator *)defaultComparator { - static SUStandardVersionComparator *defaultComparator = nil; - if (defaultComparator == nil) - defaultComparator = [[SUStandardVersionComparator alloc] init]; - return defaultComparator; + static SUStandardVersionComparator *defaultComparator = nil; + if (defaultComparator == nil) { + defaultComparator = [[SUStandardVersionComparator alloc] init]; + } + return defaultComparator; } -typedef enum { +typedef NS_ENUM(NSInteger, SUCharacterType) { kNumberType, kStringType, kSeparatorType, -} SUCharacterType; +}; - (SUCharacterType)typeOfCharacter:(NSString *)character { @@ -41,7 +42,7 @@ typedef enum { return kSeparatorType; } else { return kStringType; - } + } } - (NSArray *)splitVersionString:(NSString *)version @@ -49,13 +50,13 @@ typedef enum { NSString *character; NSMutableString *s; NSUInteger i, n; - SUCharacterType oldType, newType; + SUCharacterType oldType, newType; NSMutableArray *parts = [NSMutableArray array]; if ([version length] == 0) { // Nothing to do here return parts; } - s = [[[version substringToIndex:1] mutableCopy] autorelease]; + s = [[version substringToIndex:1] mutableCopy]; oldType = [self typeOfCharacter:s]; n = [version length] - 1; for (i = 1; i <= n; ++i) { @@ -63,7 +64,7 @@ typedef enum { newType = [self typeOfCharacter:character]; if (oldType != newType || oldType == kSeparatorType) { // We've reached a new segment - NSString *aPart = [[[NSString alloc] initWithString:s] autorelease]; + NSString *aPart = [[NSString alloc] initWithString:s]; [parts addObject:aPart]; [s setString:character]; } else { @@ -72,30 +73,30 @@ typedef enum { } oldType = newType; } - + // Add the last part onto the array [parts addObject:[NSString stringWithString:s]]; return parts; } -- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; +- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB { - NSArray *partsA = [self splitVersionString:versionA]; + NSArray *partsA = [self splitVersionString:versionA]; NSArray *partsB = [self splitVersionString:versionB]; - + NSString *partA, *partB; NSUInteger i, n; - long long valueA, valueB; + long long valueA, valueB; SUCharacterType typeA, typeB; - + n = MIN([partsA count], [partsB count]); for (i = 0; i < n; ++i) { - partA = [partsA objectAtIndex:i]; - partB = [partsB objectAtIndex:i]; - + partA = partsA[i]; + partB = partsB[i]; + typeA = [self typeOfCharacter:partA]; typeB = [self typeOfCharacter:partB]; - + // Compare types if (typeA == typeB) { // Same type; we can compare @@ -138,18 +139,18 @@ typedef enum { // n holds the index of the part we want. NSString *missingPart; SUCharacterType missingType; - NSComparisonResult shorterResult, largerResult; - + NSComparisonResult shorterResult, largerResult; + if ([partsA count] > [partsB count]) { - missingPart = [partsA objectAtIndex:n]; + missingPart = partsA[n]; shorterResult = NSOrderedAscending; largerResult = NSOrderedDescending; } else { - missingPart = [partsB objectAtIndex:n]; + missingPart = partsB[n]; shorterResult = NSOrderedDescending; largerResult = NSOrderedAscending; } - + missingType = [self typeOfCharacter:missingPart]; // Check the type if (missingType == kStringType) { @@ -160,7 +161,7 @@ typedef enum { return largerResult; } } - + // The 2 strings are identical return NSOrderedSame; } diff --git a/Sparkle/SUStatus.xib b/Sparkle/SUStatus.xib new file mode 100644 index 00000000..fca3d15d --- /dev/null +++ b/Sparkle/SUStatus.xib @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSIsNil + + + + + + + + + + + + + + + + diff --git a/SUStatusController.h b/Sparkle/SUStatusController.h similarity index 53% rename from SUStatusController.h rename to Sparkle/SUStatusController.h index 5dfd9775..8a279258 100644 --- a/SUStatusController.h +++ b/Sparkle/SUStatusController.h @@ -13,31 +13,22 @@ @class SUHost; @interface SUStatusController : SUWindowController -{ -@private - double progressValue, maxProgressValue; - NSString *title, *statusText, *buttonTitle; - IBOutlet NSButton *actionButton; - IBOutlet NSProgressIndicator* progressBar; - SUHost *host; -} +@property (weak) IBOutlet NSButton *actionButton; +@property (weak) IBOutlet NSProgressIndicator *progressBar; -- (id)initWithHost:(SUHost *)host; +@property (copy) NSString *statusText; +@property double progressValue; +@property (nonatomic) double maxProgressValue; +@property (getter=isButtonEnabled) BOOL buttonEnabled; + +- (instancetype)initWithHost:(SUHost *)host; // Pass 0 for the max progress value to get an indeterminate progress bar. // Pass nil for the status text to not show it. - (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText; // If isDefault is YES, the button's key equivalent will be \r. -- (void)setButtonTitle:(NSString *)buttonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault; -- (void)setButtonEnabled:(BOOL)enabled; - -- (double)progressValue; -- (void)setProgressValue:(double)value; -- (double)maxProgressValue; -- (void)setMaxProgressValue:(double)value; - -- (void)setStatusText:(NSString *)statusText; +- (void)setButtonTitle:(NSString *)buttonTitle target:(id)target action:(SEL)action isDefault:(BOOL)isDefault; @end diff --git a/Sparkle/SUStatusController.m b/Sparkle/SUStatusController.m new file mode 100644 index 00000000..c7def5d5 --- /dev/null +++ b/Sparkle/SUStatusController.m @@ -0,0 +1,120 @@ +// +// SUStatusController.m +// Sparkle +// +// Created by Andy Matuschak on 3/14/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" +#import "SUStatusController.h" +#import "SUHost.h" + +@interface SUStatusController () +@property (copy) NSString *title, *buttonTitle; +@property (strong) SUHost *host; +@end + +@implementation SUStatusController +@synthesize progressValue; +@synthesize maxProgressValue; +@synthesize statusText; +@synthesize title; +@synthesize buttonTitle; +@synthesize host; +@synthesize actionButton; +@synthesize progressBar; + +- (instancetype)initWithHost:(SUHost *)aHost +{ + self = [super initWithWindowNibName:@"SUStatus"]; + if (self) + { + self.host = aHost; + [self setShouldCascadeWindows:NO]; + } + return self; +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self.host bundlePath], [self.host installationPath]]; } + +- (void)awakeFromNib +{ + if ([self.host isBackgroundApplication]) { + [[self window] setLevel:NSFloatingWindowLevel]; + } + + [[self window] center]; + [[self window] setFrameAutosaveName:@"SUStatusFrame"]; + [self.progressBar setUsesThreadedAnimation:YES]; +} + +- (NSString *)windowTitle +{ + return [NSString stringWithFormat:SULocalizedString(@"Updating %@", nil), [self.host name]]; +} + +- (NSImage *)applicationIcon +{ + return [self.host icon]; +} + +- (void)beginActionWithTitle:(NSString *)aTitle maxProgressValue:(double)aMaxProgressValue statusText:(NSString *)aStatusText +{ + self.title = aTitle; + + self.maxProgressValue = aMaxProgressValue; + self.statusText = aStatusText; +} + +- (void)setButtonTitle:(NSString *)aButtonTitle target:(id)target action:(SEL)action isDefault:(BOOL)isDefault +{ + self.buttonTitle = aButtonTitle; + + [self window]; + [self.actionButton sizeToFit]; + // Except we're going to add 15 px for padding. + [self.actionButton setFrameSize:NSMakeSize([self.actionButton frame].size.width + 15, [self.actionButton frame].size.height)]; + // Now we have to move it over so that it's always 15px from the side of the window. + [self.actionButton setFrameOrigin:NSMakePoint([[self window] frame].size.width - 15 - [self.actionButton frame].size.width, [self.actionButton frame].origin.y)]; + // Redisplay superview to clean up artifacts + [[self.actionButton superview] display]; + + [self.actionButton setTarget:target]; + [self.actionButton setAction:action]; + [self.actionButton setKeyEquivalent:isDefault ? @"\r" : @""]; + + // 06/05/2008 Alex: Avoid a crash when cancelling during the extraction + [self setButtonEnabled:(target != nil)]; +} + +- (BOOL)progressBarShouldAnimate +{ + return YES; +} + +- (void)setButtonEnabled:(BOOL)enabled +{ + [self.actionButton setEnabled:enabled]; +} + +- (BOOL)isButtonEnabled +{ + return [self.actionButton isEnabled]; +} + +- (void)setMaxProgressValue:(double)value +{ + if (value < 0.0) value = 0.0; + maxProgressValue = value; + [self setProgressValue:0.0]; + [self.progressBar setIndeterminate:(value == 0.0)]; + [self.progressBar startAnimation:self]; + [self.progressBar setUsesThreadedAnimation:YES]; +} + +@end diff --git a/SUSystemProfiler.h b/Sparkle/SUSystemProfiler.h similarity index 89% rename from SUSystemProfiler.h rename to Sparkle/SUSystemProfiler.h index 0835087d..124f6691 100644 --- a/SUSystemProfiler.h +++ b/Sparkle/SUSystemProfiler.h @@ -12,7 +12,7 @@ #import @class SUHost; -@interface SUSystemProfiler : NSObject {} +@interface SUSystemProfiler : NSObject + (SUSystemProfiler *)sharedSystemProfiler; - (NSMutableArray *)systemProfileArrayForHost:(SUHost *)host; @end diff --git a/Sparkle/SUSystemProfiler.m b/Sparkle/SUSystemProfiler.m new file mode 100644 index 00000000..9176606e --- /dev/null +++ b/Sparkle/SUSystemProfiler.m @@ -0,0 +1,169 @@ +// +// SUSystemProfiler.m +// Sparkle +// +// Created by Andy Matuschak on 12/22/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// Adapted from Sparkle+, by Tom Harrington. +// + +#import "SUSystemProfiler.h" + +#import "SUHost.h" +#include + +static NSString *const SUSystemProfilerApplicationNameKey = @"appName"; +static NSString *const SUSystemProfilerApplicationVersionKey = @"appVersion"; +static NSString *const SUSystemProfilerCPU64bitKey = @"cpu64bit"; +static NSString *const SUSystemProfilerCPUCountKey = @"ncpu"; +static NSString *const SUSystemProfilerCPUFrequencyKey = @"cpuFreqMHz"; +static NSString *const SUSystemProfilerCPUTypeKey = @"cputype"; +static NSString *const SUSystemProfilerCPUSubtypeKey = @"cpusubtype"; +static NSString *const SUSystemProfilerHardwareModelKey = @"model"; +static NSString *const SUSystemProfilerMemoryKey = @"ramMB"; +static NSString *const SUSystemProfilerOperatingSystemVersionKey = @"osVersion"; +static NSString *const SUSystemProfilerPreferredLanguageKey = @"lang"; + +@implementation SUSystemProfiler ++ (SUSystemProfiler *)sharedSystemProfiler +{ + static SUSystemProfiler *sharedSystemProfiler = nil; + if (!sharedSystemProfiler) { + sharedSystemProfiler = [[self alloc] init]; + } + return sharedSystemProfiler; +} + +- (NSDictionary *)modelTranslationTable +{ + NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"SUModelTranslation" ofType:@"plist"]; + return [[NSDictionary alloc] initWithContentsOfFile:path]; +} + +- (NSMutableArray *)systemProfileArrayForHost:(SUHost *)host +{ + NSDictionary *modelTranslation = [self modelTranslationTable]; + + // Gather profile information and append it to the URL. + NSMutableArray *profileArray = [NSMutableArray array]; + NSArray *profileDictKeys = @[@"key", @"displayKey", @"value", @"displayValue"]; + int error = 0; + int value = 0; + size_t length = sizeof(value); + + // OS version + NSString *currentSystemVersion = [SUHost systemVersionString]; + if (currentSystemVersion != nil) { + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerOperatingSystemVersionKey, @"OS Version", currentSystemVersion, currentSystemVersion] forKeys:profileDictKeys]]; + } + + // CPU type (decoder info for values found here is in mach/machine.h) + error = sysctlbyname("hw.cputype", &value, &length, NULL, 0); + int cpuType = -1; + if (error == 0) { + cpuType = value; + NSString *visibleCPUType; + switch (value) { + case CPU_TYPE_ARM: visibleCPUType = @"ARM"; break; + case CPU_TYPE_X86: visibleCPUType = @"Intel"; break; + case CPU_TYPE_POWERPC: visibleCPUType = @"PowerPC"; break; + default: visibleCPUType = @"Unknown"; break; + } + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerCPUTypeKey, @"CPU Type", @(value), visibleCPUType] forKeys:profileDictKeys]]; + } + error = sysctlbyname("hw.cpu64bit_capable", &value, &length, NULL, 0); + if (error != 0) { + error = sysctlbyname("hw.optional.x86_64", &value, &length, NULL, 0); //x86 specific + } + if (error != 0) { + error = sysctlbyname("hw.optional.64bitops", &value, &length, NULL, 0); //PPC specific + } + + BOOL is64bit = NO; + + if (error == 0) { + is64bit = value == 1; + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerCPU64bitKey, @"CPU is 64-Bit?", @(is64bit), is64bit ? @"Yes" : @"No"] forKeys:profileDictKeys]]; + } + error = sysctlbyname("hw.cpusubtype", &value, &length, NULL, 0); + if (error == 0) { + NSString *visibleCPUSubType; + if (cpuType == 7) { + // Intel + // TODO: other Intel processors, like Core i7, i5, i3, Xeon? + visibleCPUSubType = is64bit ? @"Intel Core 2" : @"Intel Core"; // If anyone knows how to tell a Core Duo from a Core Solo, please email tph@atomicbird.com + } else if (cpuType == 18) { + // PowerPC + switch (value) { + case 9: visibleCPUSubType=@"G3"; break; + case 10: case 11: visibleCPUSubType=@"G4"; break; + case 100: visibleCPUSubType=@"G5"; break; + default: visibleCPUSubType=@"Other"; break; + } + } else { + visibleCPUSubType = @"Other"; + } + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerCPUSubtypeKey, @"CPU Subtype", @(value), visibleCPUSubType] forKeys:profileDictKeys]]; + } + error = sysctlbyname("hw.model", NULL, &length, NULL, 0); + if (error == 0) { + char *cpuModel = (char *)malloc(sizeof(char) * length); + if (cpuModel != NULL) { + error = sysctlbyname("hw.model", cpuModel, &length, NULL, 0); + if (error == 0) { + NSString *rawModelName = @(cpuModel); + NSString *visibleModelName = modelTranslation[rawModelName]; + if (visibleModelName == nil) { + visibleModelName = rawModelName; + } + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerHardwareModelKey, @"Mac Model", rawModelName, visibleModelName] forKeys:profileDictKeys]]; + } + free(cpuModel); + } + } + + // Number of CPUs + error = sysctlbyname("hw.ncpu", &value, &length, NULL, 0); + if (error == 0) { + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerCPUCountKey, @"Number of CPUs", @(value), @(value)] forKeys:profileDictKeys]]; + } + + // User preferred language + NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; + NSArray *languages = [defs objectForKey:@"AppleLanguages"]; + if ([languages count] > 0) { + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerPreferredLanguageKey, @"Preferred Language", languages[0], languages[0]] forKeys:profileDictKeys]]; + } + + // Application sending the request + NSString *appName = [host name]; + if (appName) { + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerApplicationNameKey, @"Application Name", appName, appName] forKeys:profileDictKeys]]; + } + NSString *appVersion = [host version]; + if (appVersion) { + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerApplicationVersionKey, @"Application Version", appVersion, appVersion] forKeys:profileDictKeys]]; + } + + // Number of displays? + + // CPU speed + unsigned long hz; + size_t hz_size = sizeof(unsigned long); + if (sysctlbyname("hw.cpufrequency", &hz, &hz_size, NULL, 0) == 0) { + unsigned long mhz = hz / 1000000; + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerCPUFrequencyKey, @"CPU Speed (MHz)", @(mhz), @(mhz / 1000.)] forKeys:profileDictKeys]]; + } + + // amount of RAM + unsigned long bytes; + size_t bytes_size = sizeof(unsigned long); + if (sysctlbyname("hw.memsize", &bytes, &bytes_size, NULL, 0) == 0) { + double megabytes = bytes / (1024. * 1024.); + [profileArray addObject:[NSDictionary dictionaryWithObjects:@[SUSystemProfilerMemoryKey, @"Memory (MB)", @(megabytes), @(megabytes)] forKeys:profileDictKeys]]; + } + + return profileArray; +} + +@end diff --git a/SUUIBasedUpdateDriver.h b/Sparkle/SUUIBasedUpdateDriver.h similarity index 56% rename from SUUIBasedUpdateDriver.h rename to Sparkle/SUUIBasedUpdateDriver.h index c324c6ad..65f37443 100644 --- a/SUUIBasedUpdateDriver.h +++ b/Sparkle/SUUIBasedUpdateDriver.h @@ -11,18 +11,15 @@ #import #import "SUBasicUpdateDriver.h" +#import "SUUpdateAlert.h" -@class SUStatusController, SUUpdateAlert; +@class SUStatusController; -@interface SUUIBasedUpdateDriver : SUBasicUpdateDriver -{ - SUStatusController *statusController; - SUUpdateAlert *updateAlert; -} +@interface SUUIBasedUpdateDriver : SUBasicUpdateDriver - (void)showModalAlert:(NSAlert *)alert; -- (IBAction)cancelDownload: (id)sender; -- (void)installAndRestart: (id)sender; +- (IBAction)cancelDownload:(id)sender; +- (void)installAndRestart:(id)sender; @end diff --git a/Sparkle/SUUIBasedUpdateDriver.m b/Sparkle/SUUIBasedUpdateDriver.m new file mode 100644 index 00000000..7875dadd --- /dev/null +++ b/Sparkle/SUUIBasedUpdateDriver.m @@ -0,0 +1,236 @@ +// +// SUUIBasedUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 5/5/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUUIBasedUpdateDriver.h" + +#import "SUUpdateAlert.h" +#import "SUUpdater_Private.h" +#import "SUHost.h" +#import "SUStatusController.h" +#import "SUConstants.h" + +@interface SUUIBasedUpdateDriver () + +@property (strong) SUStatusController *statusController; +@property (strong) SUUpdateAlert *updateAlert; + +@end + +@implementation SUUIBasedUpdateDriver + +@synthesize statusController; +@synthesize updateAlert; + +- (void)didFindValidUpdate +{ + self.updateAlert = [[SUUpdateAlert alloc] initWithAppcastItem:self.updateItem host:self.host completionBlock:^(SUUpdateAlertChoice choice) { + [self updateAlertFinishedWithChoice:choice]; + }]; + + id versDisp = nil; + if ([[self.updater delegate] respondsToSelector:@selector(versionDisplayerForUpdater:)]) { + versDisp = [[self.updater delegate] versionDisplayerForUpdater:self.updater]; + } + [self.updateAlert setVersionDisplayer:versDisp]; + + if ([[self.updater delegate] respondsToSelector:@selector(updater:didFindValidUpdate:)]) { + [[self.updater delegate] updater:self.updater didFindValidUpdate:self.updateItem]; + } + + // If the app is a menubar app or the like, we need to focus it first and alter the + // update prompt to behave like a normal window. Otherwise if the window were hidden + // there may be no way for the application to be activated to make it visible again. + if ([self.host isBackgroundApplication]) { + [[self.updateAlert window] setHidesOnDeactivate:NO]; + [NSApp activateIgnoringOtherApps:YES]; + } + + // Only show the update alert if the app is active; otherwise, we'll wait until it is. + if ([NSApp isActive]) + [[self.updateAlert window] makeKeyAndOrderFront:self]; + else + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification object:NSApp]; +} + +- (void)didNotFindUpdate +{ + if ([[self.updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) + [[self.updater delegate] updaterDidNotFindUpdate:self.updater]; + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidNotFindUpdateNotification object:self.updater]; + + NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"You're up-to-date!", "Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates.") + defaultButton:SULocalizedString(@"OK", nil) + alternateButton:nil + otherButton:nil + informativeTextWithFormat:SULocalizedString(@"%@ %@ is currently the newest version available.", nil), [self.host name], [self.host displayVersion]]; + [self showModalAlert:alert]; + [self abortUpdate]; +} + +- (void)applicationDidBecomeActive:(NSNotification *)__unused aNotification +{ + [[self.updateAlert window] makeKeyAndOrderFront:self]; + [[NSNotificationCenter defaultCenter] removeObserver:self name:NSApplicationDidBecomeActiveNotification object:NSApp]; +} + +- (void)updateAlertFinishedWithChoice:(SUUpdateAlertChoice)choice +{ + self.updateAlert = nil; + [self.host setObject:nil forUserDefaultsKey:SUSkippedVersionKey]; + switch (choice) { + case SUInstallUpdateChoice: + self.statusController = [[SUStatusController alloc] initWithHost:self.host]; + [self.statusController beginActionWithTitle:SULocalizedString(@"Downloading update...", @"Take care not to overflow the status window.") maxProgressValue:0.0 statusText:nil]; + [self.statusController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelDownload:) isDefault:NO]; + [self.statusController showWindow:self]; + [self downloadUpdate]; + break; + + case SUOpenInfoURLChoice: + [[NSWorkspace sharedWorkspace] openURL:[self.updateItem infoURL]]; + [self abortUpdate]; + break; + + case SUSkipThisVersionChoice: + [self.host setObject:[self.updateItem versionString] forUserDefaultsKey:SUSkippedVersionKey]; + [self abortUpdate]; + break; + + case SURemindMeLaterChoice: + [self abortUpdate]; + break; + } +} + +- (void)download:(NSURLDownload *)__unused download didReceiveResponse:(NSURLResponse *)response +{ + [self.statusController setMaxProgressValue:[response expectedContentLength]]; +} + +- (NSString *)humanReadableSizeFromDouble:(double)value +{ + if (value < 1000) { + return [NSString stringWithFormat:@"%.0lf %@", value, SULocalizedString(@"B", @"the unit for bytes")]; + } + + if (value < 1000 * 1000) { + return [NSString stringWithFormat:@"%.0lf %@", value / 1000.0, SULocalizedString(@"KB", @"the unit for kilobytes")]; + } + + if (value < 1000 * 1000 * 1000) { + return [NSString stringWithFormat:@"%.1lf %@", value / 1000.0 / 1000.0, SULocalizedString(@"MB", @"the unit for megabytes")]; + } + + return [NSString stringWithFormat:@"%.2lf %@", value / 1000.0 / 1000.0 / 1000.0, SULocalizedString(@"GB", @"the unit for gigabytes")]; +} + +- (void)download:(NSURLDownload *)__unused download didReceiveDataOfLength:(NSUInteger)length +{ + [self.statusController setProgressValue:[self.statusController progressValue] + (double)length]; + if ([self.statusController maxProgressValue] > 0.0) + [self.statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ of %@", nil), [self humanReadableSizeFromDouble:[self.statusController progressValue]], [self humanReadableSizeFromDouble:[self.statusController maxProgressValue]]]]; + else + [self.statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ downloaded", nil), [self humanReadableSizeFromDouble:[self.statusController progressValue]]]]; +} + +- (IBAction)cancelDownload:(id)__unused sender +{ + if (self.download) + [self.download cancel]; + [self abortUpdate]; +} + +- (void)extractUpdate +{ + // Now we have to extract the downloaded archive. + [self.statusController beginActionWithTitle:SULocalizedString(@"Extracting update...", @"Take care not to overflow the status window.") maxProgressValue:0.0 statusText:nil]; + [self.statusController setButtonEnabled:NO]; + [super extractUpdate]; +} + +- (void)unarchiver:(SUUnarchiver *)__unused ua extractedProgress:(double)progress +{ + // We do this here instead of in extractUpdate so that we only have a determinate progress bar for archives with progress. + if ([self.statusController maxProgressValue] == 0.0) { + [self.statusController setMaxProgressValue:1]; + } + [self.statusController setProgressValue:progress]; +} + +- (void)unarchiverDidFinish:(SUUnarchiver *)__unused ua +{ + [self.statusController beginActionWithTitle:SULocalizedString(@"Ready to Install", nil) maxProgressValue:1.0 statusText:nil]; + [self.statusController setProgressValue:1.0]; // Fill the bar. + [self.statusController setButtonEnabled:YES]; + [self.statusController setButtonTitle:SULocalizedString(@"Install and Relaunch", nil) target:self action:@selector(installAndRestart:) isDefault:YES]; + [[self.statusController window] makeKeyAndOrderFront:self]; + [NSApp requestUserAttention:NSInformationalRequest]; +} + +- (void)installAndRestart:(id)__unused sender +{ + [self installWithToolAndRelaunch:YES]; +} + +- (void)installWithToolAndRelaunch:(BOOL)relaunch +{ + [self.statusController beginActionWithTitle:SULocalizedString(@"Installing update...", @"Take care not to overflow the status window.") maxProgressValue:0.0 statusText:nil]; + [self.statusController setButtonEnabled:NO]; + [super installWithToolAndRelaunch:relaunch]; +} + +- (void)terminateApp +{ + // if a user chooses to NOT relaunch the app (as is the case with WebKit + // when it asks you if you are sure you want to close the app with multiple + // tabs open), the status window still stays on the screen and obscures + // other windows; with this fix, it doesn't + + if (self.statusController) { + [self.statusController close]; + self.statusController = nil; + } + + [super terminateApp]; +} + +- (void)abortUpdateWithError:(NSError *)error +{ + NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]]; + [self showModalAlert:alert]; + [super abortUpdateWithError:error]; +} + +- (void)abortUpdate +{ + if (self.statusController) + { + [self.statusController close]; + self.statusController = nil; + } + [super abortUpdate]; +} + +- (void)showModalAlert:(NSAlert *)alert +{ + if ([[self.updater delegate] respondsToSelector:@selector(updaterWillShowModalAlert:)]) { + [[self.updater delegate] updaterWillShowModalAlert:self.updater]; + } + + // When showing a modal alert we need to ensure that background applications + // are focused to inform the user since there is no dock icon to notify them. + if ([self.host isBackgroundApplication]) { [NSApp activateIgnoringOtherApps:YES]; } + + [alert setIcon:[self.host icon]]; + [alert runModal]; + + if ([[self.updater delegate] respondsToSelector:@selector(updaterDidShowModalAlert:)]) + [[self.updater delegate] updaterDidShowModalAlert:self.updater]; +} + +@end diff --git a/SUUnarchiver.h b/Sparkle/SUUnarchiver.h similarity index 51% rename from SUUnarchiver.h rename to Sparkle/SUUnarchiver.h index c726d174..136484bd 100644 --- a/SUUnarchiver.h +++ b/Sparkle/SUUnarchiver.h @@ -10,25 +10,24 @@ #define SUUNARCHIVER_H @class SUHost; +@protocol SUUnarchiverDelegate; -@interface SUUnarchiver : NSObject { - id delegate; - NSString *archivePath; - SUHost *updateHost; -} +@interface SUUnarchiver : NSObject -+ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHost:(SUHost *)host; -- (void)setDelegate:delegate; +@property (copy, readonly) NSString *archivePath; +@property (weak, readonly) NSString *updateHostBundlePath; +@property (weak) id delegate; + ++ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHostBundlePath:(NSString *)host; - (void)start; - @end -@interface NSObject (SUUnarchiverDelegate) -- (void)unarchiver:(SUUnarchiver *)unarchiver extractedLength:(unsigned long)length; +@protocol SUUnarchiverDelegate - (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; - (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; -- (void)unarchiver:(SUUnarchiver *)unarchiver requiresPasswordReturnedViaInvocation:(NSInvocation *)invocation; +@optional +- (void)unarchiver:(SUUnarchiver *)unarchiver extractedProgress:(double)progress; @end #endif diff --git a/Sparkle/SUUnarchiver.m b/Sparkle/SUUnarchiver.m new file mode 100644 index 00000000..fefa840b --- /dev/null +++ b/Sparkle/SUUnarchiver.m @@ -0,0 +1,93 @@ +// +// SUUnarchiver.m +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + + +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" +#import "SUUnarchiver.h" +#import "SUUnarchiver_Private.h" + +@implementation SUUnarchiver + +@synthesize archivePath; +@synthesize updateHostBundlePath; +@synthesize delegate; + ++ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHostBundlePath:(NSString *)hostPath +{ + for (id current in [self unarchiverImplementations]) + { + if ([current canUnarchivePath:path]) { + return [[current alloc] initWithPath:path hostBundlePath:hostPath]; + } + } + return nil; +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], self.archivePath]; } + +- (void)start +{ + // No-op +} + +- (instancetype)initWithPath:(NSString *)path hostBundlePath:(NSString *)hostPath +{ + if ((self = [super init])) + { + archivePath = [path copy]; + updateHostBundlePath = hostPath; + } + return self; +} + ++ (BOOL)canUnarchivePath:(NSString *)__unused path +{ + return NO; +} + +- (void)notifyDelegateOfProgress:(double)progress +{ + if ([self.delegate respondsToSelector:@selector(unarchiver:extractedProgress:)]) { + [self.delegate unarchiver:self extractedProgress:progress]; + } +} + +- (void)notifyDelegateOfSuccess +{ + if ([self.delegate respondsToSelector:@selector(unarchiverDidFinish:)]) { + [self.delegate unarchiverDidFinish:self]; + } +} + +- (void)notifyDelegateOfFailure +{ + if ([self.delegate respondsToSelector:@selector(unarchiverDidFail:)]) { + [self.delegate unarchiverDidFail:self]; + } +} + +static NSMutableArray *gUnarchiverImplementations; + ++ (void)registerImplementation:(Class)implementation +{ + if (!gUnarchiverImplementations) { + gUnarchiverImplementations = [[NSMutableArray alloc] init]; + } + [gUnarchiverImplementations addObject:implementation]; +} + ++ (NSArray *)unarchiverImplementations +{ + return [NSArray arrayWithArray:gUnarchiverImplementations]; +} + +@end diff --git a/SUUnarchiver_Private.h b/Sparkle/SUUnarchiver_Private.h similarity index 79% rename from SUUnarchiver_Private.h rename to Sparkle/SUUnarchiver_Private.h index 00cb008e..c29d68cf 100644 --- a/SUUnarchiver_Private.h +++ b/Sparkle/SUUnarchiver_Private.h @@ -16,9 +16,9 @@ + (void)registerImplementation:(Class)implementation; + (NSArray *)unarchiverImplementations; + (BOOL)canUnarchivePath:(NSString *)path; -- (id)initWithPath:(NSString *)path host:(SUHost *)host;; +- (instancetype)initWithPath:(NSString *)archive hostBundlePath:(NSString *)host; -- (void)notifyDelegateOfExtractedLength:(NSNumber *)length; +- (void)notifyDelegateOfProgress:(double)progress; - (void)notifyDelegateOfSuccess; - (void)notifyDelegateOfFailure; @end diff --git a/Sparkle/SUUpdateAlert.h b/Sparkle/SUUpdateAlert.h new file mode 100644 index 00000000..2db57bf4 --- /dev/null +++ b/Sparkle/SUUpdateAlert.h @@ -0,0 +1,37 @@ +// +// SUUpdateAlert.h +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATEALERT_H +#define SUUPDATEALERT_H + +#import "SUWindowController.h" +#import "SUVersionDisplayProtocol.h" + +@protocol SUUpdateAlertDelegate; + +typedef NS_ENUM(NSInteger, SUUpdateAlertChoice) { + SUInstallUpdateChoice, + SURemindMeLaterChoice, + SUSkipThisVersionChoice, + SUOpenInfoURLChoice +}; + +@class WebView, SUAppcastItem, SUHost; +@interface SUUpdateAlert : SUWindowController + +@property (weak) id versionDisplayer; + +- (instancetype)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)host completionBlock:(void(^)(SUUpdateAlertChoice))c; + +- (IBAction)installUpdate:sender; +- (IBAction)skipThisVersion:sender; +- (IBAction)remindMeLater:sender; + +@end + +#endif diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m new file mode 100644 index 00000000..0b361038 --- /dev/null +++ b/Sparkle/SUUpdateAlert.m @@ -0,0 +1,281 @@ +// +// SUUpdateAlert.m +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +// ----------------------------------------------------------------------------- +// Headers: +// ----------------------------------------------------------------------------- + +#import "SUUpdateAlert.h" + +#import "SUHost.h" +#import + +#import "SUConstants.h" + +@interface SUUpdateAlert () + +@property (strong) SUAppcastItem *updateItem; +@property (strong) SUHost *host; +@property (strong) void(^completionBlock)(SUUpdateAlertChoice); + +@property (strong) NSProgressIndicator *releaseNotesSpinner; +@property (assign) BOOL webViewFinishedLoading; + +@property (weak) IBOutlet WebView *releaseNotesView; +@property (weak) IBOutlet NSView *releaseNotesContainerView; +@property (weak) IBOutlet NSTextField *descriptionField; +@property (weak) IBOutlet NSButton *installButton; +@property (weak) IBOutlet NSButton *skipButton; +@property (weak) IBOutlet NSButton *laterButton; + +@end + +@implementation SUUpdateAlert + +@synthesize completionBlock; +@synthesize versionDisplayer; + +@synthesize updateItem; +@synthesize host; + +@synthesize releaseNotesSpinner; +@synthesize webViewFinishedLoading; + +@synthesize releaseNotesView; +@synthesize releaseNotesContainerView; +@synthesize descriptionField; +@synthesize installButton; +@synthesize skipButton; +@synthesize laterButton; + +- (instancetype)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost completionBlock:(void (^)(SUUpdateAlertChoice))block +{ + self = [super initWithWindowNibName:@"SUUpdateAlert"]; + if (self) + { + self.completionBlock = block; + host = aHost; + updateItem = item; + [self setShouldCascadeWindows:NO]; + + // Alex: This dummy line makes sure that the binary is linked against WebKit. + // The SUUpdateAlert.xib file contains a WebView and if we don't link against WebKit, + // we will get a runtime crash when decoding the NIB. It is better to get a link error. + [WebView MIMETypesShownAsHTML]; + } + return self; +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [self.host bundlePath]]; } + + +- (void)endWithSelection:(SUUpdateAlertChoice)choice +{ + [self.releaseNotesView stopLoading:self]; + [self.releaseNotesView setFrameLoadDelegate:nil]; + [self.releaseNotesView setPolicyDelegate:nil]; + [self.releaseNotesView removeFromSuperview]; // Otherwise it gets sent Esc presses (why?!) and gets very confused. + [self close]; + self.completionBlock(choice); + self.completionBlock = nil; +} + +- (IBAction)installUpdate:(id)__unused sender +{ + [self endWithSelection:SUInstallUpdateChoice]; +} + +- (IBAction)openInfoURL:(id)__unused sender +{ + [self endWithSelection:SUOpenInfoURLChoice]; +} + +- (IBAction)skipThisVersion:(id)__unused sender +{ + [self endWithSelection:SUSkipThisVersionChoice]; +} + +- (IBAction)remindMeLater:(id)__unused sender +{ + [self endWithSelection:SURemindMeLaterChoice]; +} + +- (void)displayReleaseNotes +{ + // Set the default font + [self.releaseNotesView setPreferencesIdentifier:SUBundleIdentifier]; + WebPreferences *prefs = [self.releaseNotesView preferences]; + NSString *familyName = [[NSFont systemFontOfSize:8] familyName]; + if ([familyName hasPrefix:@"."]) { // 10.9 returns ".Lucida Grande UI", which isn't a valid name for the WebView + familyName = @"Lucida Grande"; + } + [prefs setStandardFontFamily:familyName]; + [prefs setDefaultFontSize:(int)[NSFont systemFontSizeForControlSize:NSSmallControlSize]]; + [prefs setPlugInsEnabled:NO]; + [self.releaseNotesView setFrameLoadDelegate:self]; + [self.releaseNotesView setPolicyDelegate:self]; + + // Stick a nice big spinner in the middle of the web view until the page is loaded. + NSRect frame = [[self.releaseNotesView superview] frame]; + self.releaseNotesSpinner = [[NSProgressIndicator alloc] initWithFrame:NSMakeRect(NSMidX(frame) - 16, NSMidY(frame) - 16, 32, 32)]; + [self.releaseNotesSpinner setStyle:NSProgressIndicatorSpinningStyle]; + [self.releaseNotesSpinner startAnimation:self]; + self.webViewFinishedLoading = NO; + [[self.releaseNotesView superview] addSubview:self.releaseNotesSpinner]; + + // If there's a release notes URL, load it; otherwise, just stick the contents of the description into the web view. + if ([self.updateItem releaseNotesURL]) + { + if ([[self.updateItem releaseNotesURL] isFileURL]) + { + [[self.releaseNotesView mainFrame] loadHTMLString:@"Release notes with file:// URLs are not supported for security reasons—Javascript would be able to read files on your file system." baseURL:nil]; + } + else + { + [[self.releaseNotesView mainFrame] loadRequest:[NSURLRequest requestWithURL:[self.updateItem releaseNotesURL] cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:30]]; + } + } + else + { + [[self.releaseNotesView mainFrame] loadHTMLString:[self.updateItem itemDescription] baseURL:nil]; + } +} + +- (BOOL)showsReleaseNotes +{ + NSNumber *shouldShowReleaseNotes = [self.host objectForInfoDictionaryKey:SUShowReleaseNotesKey]; + if (shouldShowReleaseNotes == nil) + { + // Don't show release notes if RSS item contains no description and no release notes URL: + return (([self.updateItem itemDescription] != nil + && [[[self.updateItem itemDescription] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] > 0) + || [self.updateItem releaseNotesURL] != nil); + } + else + return [shouldShowReleaseNotes boolValue]; +} + +- (BOOL)allowsAutomaticUpdates +{ + BOOL allowAutoUpdates = YES; // Defaults to YES. + if ([self.host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey]) + allowAutoUpdates = [self.host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey]; + + return allowAutoUpdates; +} + +- (void)awakeFromNib +{ + BOOL showReleaseNotes = [self showsReleaseNotes]; + + [self.window setFrameAutosaveName: showReleaseNotes ? @"SUUpdateAlert" : @"SUUpdateAlertSmall" ]; + + if ([self.host isBackgroundApplication]) { + [self.window setLevel:NSFloatingWindowLevel]; // This means the window will float over all other apps, if our app is switched out ?! + } + + if ([self.updateItem fileURL] == nil) { + [self.installButton setTitle:SULocalizedString(@"Learn More...", @"Alternate title for 'Install Update' button when there's no download in RSS feed.")]; + [self.installButton setAction:@selector(openInfoURL:)]; + } + + if (showReleaseNotes) { + [self displayReleaseNotes]; + } else { + [self.releaseNotesContainerView removeFromSuperview]; + } + + [self.window.contentView setNeedsLayout:YES]; // Prod autolayout to place everything + + [self.window center]; +} + +- (BOOL)windowShouldClose:(NSNotification *) __unused note +{ + [self endWithSelection:SURemindMeLaterChoice]; + return YES; +} + +- (NSImage *)applicationIcon +{ + return [self.host icon]; +} + +- (NSString *)titleText +{ + return [NSString stringWithFormat:SULocalizedString(@"A new version of %@ is available!", nil), [self.host name]]; +} + +- (NSString *)descriptionText +{ + NSString *updateItemVersion = [self.updateItem displayVersionString]; + NSString *hostVersion = [self.host displayVersion]; + // Display more info if the version strings are the same; useful for betas. + if (!self.versionDisplayer && [updateItemVersion isEqualToString:hostVersion] ) + { + updateItemVersion = [updateItemVersion stringByAppendingFormat:@" (%@)", [self.updateItem versionString]]; + hostVersion = [hostVersion stringByAppendingFormat:@" (%@)", [self.host version]]; + } + else { + [self.versionDisplayer formatVersion:&updateItemVersion andVersion:&hostVersion]; + } + return [NSString stringWithFormat:SULocalizedString(@"%@ %@ is now available--you have %@. Would you like to download it now?", nil), [self.host name], updateItemVersion, hostVersion]; +} + +- (void)webView:(WebView *)sender didFinishLoadForFrame:frame +{ + if ([frame parentFrame] == nil) { + self.webViewFinishedLoading = YES; + [self.releaseNotesSpinner setHidden:YES]; + [sender display]; // necessary to prevent weird scroll bar artifacting + } +} + +- (void)webView:(WebView *)__unused sender decidePolicyForNavigationAction:(NSDictionary *)__unused actionInformation request:(NSURLRequest *)request frame:(WebFrame *)__unused frame decisionListener:(id)listener +{ + if (self.webViewFinishedLoading) { + [[NSWorkspace sharedWorkspace] openURL:[request URL]]; + + [listener ignore]; + } + else { + [listener use]; + } +} + +// Clean up the contextual menu. +- (NSArray *)webView:(WebView *)__unused sender contextMenuItemsForElement:(NSDictionary *)__unused element defaultMenuItems:(NSArray *)defaultMenuItems +{ + NSMutableArray *webViewMenuItems = [defaultMenuItems mutableCopy]; + + if (webViewMenuItems) + { + for (NSMenuItem *menuItem in defaultMenuItems) + { + NSInteger tag = [menuItem tag]; + + switch (tag) + { + case WebMenuItemTagOpenLinkInNewWindow: + case WebMenuItemTagDownloadLinkToDisk: + case WebMenuItemTagOpenImageInNewWindow: + case WebMenuItemTagDownloadImageToDisk: + case WebMenuItemTagOpenFrameInNewWindow: + case WebMenuItemTagGoBack: + case WebMenuItemTagGoForward: + case WebMenuItemTagStop: + case WebMenuItemTagReload: + [webViewMenuItems removeObjectIdenticalTo:menuItem]; + } + } + } + + return webViewMenuItems; +} + +@end diff --git a/Sparkle/SUUpdateDriver.h b/Sparkle/SUUpdateDriver.h new file mode 100644 index 00000000..5575994d --- /dev/null +++ b/Sparkle/SUUpdateDriver.h @@ -0,0 +1,30 @@ +// +// SUUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/7/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATEDRIVER_H +#define SUUPDATEDRIVER_H + +#import + +extern NSString *const SUUpdateDriverFinishedNotification; + +@class SUHost, SUUpdater; +@interface SUUpdateDriver : NSObject + +@property (readonly, weak) SUUpdater *updater; +@property (strong) SUHost *host; + +- (instancetype)initWithUpdater:(SUUpdater *)updater; +- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)host; +- (void)abortUpdate; +@property (getter=isInterruptible, readonly) BOOL interruptible; +@property (readonly) BOOL finished; + +@end + +#endif diff --git a/Sparkle/SUUpdateDriver.m b/Sparkle/SUUpdateDriver.m new file mode 100644 index 00000000..cee31648 --- /dev/null +++ b/Sparkle/SUUpdateDriver.m @@ -0,0 +1,52 @@ +// +// SUUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 5/7/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUUpdateDriver.h" +#import "SUHost.h" + +NSString *const SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished"; + +@interface SUUpdateDriver () + +@property (weak) SUUpdater *updater; +@property (copy) NSURL *appcastURL; +@property (getter=isInterruptible) BOOL interruptible; + +@end + +@implementation SUUpdateDriver + +@synthesize updater; +@synthesize host; +@synthesize interruptible; +@synthesize finished; +@synthesize appcastURL; + +- (instancetype)initWithUpdater:(SUUpdater *)anUpdater +{ + if ((self = [super init])) { + self.updater = anUpdater; + } + return self; +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self.host bundlePath], [self.host installationPath]]; } + +- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)h +{ + self.appcastURL = URL; + self.host = h; +} + +- (void)abortUpdate +{ + [self setValue:@YES forKey:@"finished"]; + [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdateDriverFinishedNotification object:self]; +} + +@end diff --git a/Sparkle/SUUpdatePermissionPrompt.h b/Sparkle/SUUpdatePermissionPrompt.h new file mode 100644 index 00000000..2320df88 --- /dev/null +++ b/Sparkle/SUUpdatePermissionPrompt.h @@ -0,0 +1,33 @@ +// +// SUUpdatePermissionPrompt.h +// Sparkle +// +// Created by Andy Matuschak on 1/24/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATEPERMISSIONPROMPT_H +#define SUUPDATEPERMISSIONPROMPT_H + +#import "SUWindowController.h" + +typedef NS_ENUM(NSInteger, SUPermissionPromptResult) { + SUAutomaticallyCheck, + SUDoNotAutomaticallyCheck +}; + +@protocol SUUpdatePermissionPromptDelegate; + +@class SUHost; +@interface SUUpdatePermissionPrompt : SUWindowController + ++ (void)promptWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile delegate:(id)d; +- (IBAction)toggleMoreInfo:(id)sender; +- (IBAction)finishPrompt:(id)sender; +@end + +@protocol SUUpdatePermissionPromptDelegate +- (void)updatePermissionPromptFinishedWithResult:(SUPermissionPromptResult)result; +@end + +#endif diff --git a/Sparkle/SUUpdatePermissionPrompt.m b/Sparkle/SUUpdatePermissionPrompt.m new file mode 100644 index 00000000..6aef7bd2 --- /dev/null +++ b/Sparkle/SUUpdatePermissionPrompt.m @@ -0,0 +1,157 @@ +// +// SUUpdatePermissionPrompt.m +// Sparkle +// +// Created by Andy Matuschak on 1/24/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUUpdatePermissionPrompt.h" + +#import "SUHost.h" +#import "SUConstants.h" + +@interface SUUpdatePermissionPrompt () + +@property (assign) BOOL isShowingMoreInfo; +@property (assign) BOOL shouldSendProfile; + +@property (strong) SUHost *host; +@property (strong) NSArray *systemProfileInformationArray; +@property (weak) id delegate; +@property (weak) IBOutlet NSTextField *descriptionTextField; +@property (weak) IBOutlet NSView *moreInfoView; +@property (weak) IBOutlet NSButton *moreInfoButton; +@property (weak) IBOutlet NSTableView *profileTableView; + +@end + +@implementation SUUpdatePermissionPrompt + +@synthesize isShowingMoreInfo = _isShowingMoreInfo; +@synthesize shouldSendProfile = _shouldSendProfile; +@synthesize host; +@synthesize systemProfileInformationArray; +@synthesize delegate; +@synthesize descriptionTextField; +@synthesize moreInfoView; +@synthesize moreInfoButton; +@synthesize profileTableView; + +- (BOOL)shouldAskAboutProfile +{ + return [[self.host objectForInfoDictionaryKey:SUEnableSystemProfilingKey] boolValue]; +} + +- (instancetype)initWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile delegate:(id)d +{ + self = [super initWithWindowNibName:@"SUUpdatePermissionPrompt"]; + if (self) + { + host = aHost; + delegate = d; + self.isShowingMoreInfo = NO; + self.shouldSendProfile = [self shouldAskAboutProfile]; + systemProfileInformationArray = profile; + [self setShouldCascadeWindows:NO]; + } + return self; +} + ++ (void)promptWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile delegate:(id)d +{ + // If this is a background application we need to focus it in order to bring the prompt + // to the user's attention. Otherwise the prompt would be hidden behind other applications and + // the user would not know why the application was paused. + if ([aHost isBackgroundApplication]) { [[NSApplication sharedApplication] activateIgnoringOtherApps:YES]; } + + if( ![NSApp modalWindow]) // do not prompt if there is is another modal window on screen + { + SUUpdatePermissionPrompt *prompt = [[[self class] alloc] initWithHost:aHost systemProfile:profile delegate:d]; + [NSApp runModalForWindow:[prompt window]]; + } +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [self.host bundlePath]]; } + +- (void)awakeFromNib +{ + if (![self shouldAskAboutProfile]) + { + NSRect frame = [[self window] frame]; + frame.size.height -= [self.moreInfoButton frame].size.height; + [[self window] setFrame:frame display:YES]; + } else { + // Set the table view's delegate so we can disable row selection. + [self.profileTableView setDelegate:(id)self]; + } +} + +- (BOOL)tableView:(NSTableView *) __unused tableView shouldSelectRow:(NSInteger) __unused row { return NO; } + + +- (NSImage *)icon +{ + return [self.host icon]; +} + +- (NSString *)promptDescription +{ + return [NSString stringWithFormat:SULocalizedString(@"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu.", nil), [self.host name]]; +} + +- (IBAction)toggleMoreInfo:(id)__unused sender +{ + self.isShowingMoreInfo = !self.isShowingMoreInfo; + + NSView *contentView = [[self window] contentView]; + NSRect contentViewFrame = [contentView frame]; + NSRect windowFrame = [[self window] frame]; + + NSRect profileMoreInfoViewFrame = [self.moreInfoView frame]; + NSRect profileMoreInfoButtonFrame = [self.moreInfoButton frame]; + NSRect descriptionFrame = [self.descriptionTextField frame]; + + if (self.isShowingMoreInfo) + { + // Add the subview + contentViewFrame.size.height += profileMoreInfoViewFrame.size.height; + profileMoreInfoViewFrame.origin.y = profileMoreInfoButtonFrame.origin.y - profileMoreInfoViewFrame.size.height; + profileMoreInfoViewFrame.origin.x = descriptionFrame.origin.x; + profileMoreInfoViewFrame.size.width = descriptionFrame.size.width; + + windowFrame.size.height += profileMoreInfoViewFrame.size.height; + windowFrame.origin.y -= profileMoreInfoViewFrame.size.height; + + [self.moreInfoView setFrame:profileMoreInfoViewFrame]; + [self.moreInfoView setHidden:YES]; + [contentView addSubview:self.moreInfoView + positioned:NSWindowBelow + relativeTo:self.moreInfoButton]; + } else { + // Remove the subview + [self.moreInfoView setHidden:NO]; + [self.moreInfoView removeFromSuperview]; + contentViewFrame.size.height -= profileMoreInfoViewFrame.size.height; + + windowFrame.size.height -= profileMoreInfoViewFrame.size.height; + windowFrame.origin.y += profileMoreInfoViewFrame.size.height; + } + [[self window] setFrame:windowFrame display:YES animate:YES]; + [contentView setFrame:contentViewFrame]; + [contentView setNeedsDisplay:YES]; + [self.moreInfoView setHidden:!self.isShowingMoreInfo]; +} + +- (IBAction)finishPrompt:(id)sender +{ + if (![self.delegate respondsToSelector:@selector(updatePermissionPromptFinishedWithResult:)]) { + [NSException raise:@"SUInvalidDelegate" format:@"SUUpdatePermissionPrompt's delegate (%@) doesn't respond to updatePermissionPromptFinishedWithResult:!", self.delegate]; + } + [self.host setBool:self.shouldSendProfile forUserDefaultsKey:SUSendProfileInfoKey]; + [self.delegate updatePermissionPromptFinishedWithResult:([sender tag] == 1 ? SUAutomaticallyCheck : SUDoNotAutomaticallyCheck)]; + [[self window] close]; + [NSApp stopModal]; +} + +@end diff --git a/Sparkle/SUUpdater.h b/Sparkle/SUUpdater.h new file mode 100644 index 00000000..90d606fa --- /dev/null +++ b/Sparkle/SUUpdater.h @@ -0,0 +1,327 @@ +// +// SUUpdater.h +// Sparkle +// +// Created by Andy Matuschak on 1/4/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATER_H +#define SUUPDATER_H + +#import "SUExport.h" +#import "SUVersionComparisonProtocol.h" +#import "SUVersionDisplayProtocol.h" + +@class SUUpdateDriver, SUAppcastItem, SUHost, SUAppcast; + +@protocol SUUpdaterDelegate; + +/*! + The main API in Sparkle for controlling the update mechanism. + + This class is used to configure the update paramters as well as manually + and automatically schedule and control checks for updates. + */ +SU_EXPORT @interface SUUpdater : NSObject + +@property (unsafe_unretained) IBOutlet id delegate; + ++ (SUUpdater *)sharedUpdater; ++ (SUUpdater *)updaterForBundle:(NSBundle *)bundle; +- (instancetype)initForBundle:(NSBundle *)bundle; + +@property (readonly, strong) NSBundle *hostBundle; + +@property BOOL automaticallyChecksForUpdates; + +@property NSTimeInterval updateCheckInterval; + +/*! + * The URL of the appcast used to download update information. + * + * This property must be called on the main thread. + */ +@property (copy) NSURL *feedURL; + +@property (nonatomic, copy) NSString *userAgentString; + +@property (copy) NSDictionary *httpHeaders; + +@property BOOL sendsSystemProfile; + +@property BOOL automaticallyDownloadsUpdates; + +/*! + Explicitly checks for updates and displays a progress dialog while doing so. + + This method is meant for a main menu item. + Connect any menu item to this action in Interface Builder, + and Sparkle will check for updates and report back its findings verbosely + when it is invoked. + */ +- (IBAction)checkForUpdates:(id)sender; + +/*! + Checks for updates, but does not display any UI unless an update is found. + + This is meant for programmatically initating a check for updates. That is, + it will display no UI unless it actually finds an update, in which case it + proceeds as usual. + + If the fully automated updating is turned on, however, this will invoke that + behavior, and if an update is found, it will be downloaded and prepped for + installation. + */ +- (void)checkForUpdatesInBackground; + +/*! + Returns the date of last update check. + + \returns \c nil if no check has been performed. + */ +@property (readonly, copy) NSDate *lastUpdateCheckDate; + +/*! + Begins a "probing" check for updates which will not actually offer to + update to that version. + + However, the delegate methods + SUUpdaterDelegate::updater:didFindValidUpdate: and + SUUpdaterDelegate::updaterDidNotFindUpdate: will be called, + so you can use that information in your UI. + */ +- (void)checkForUpdateInformation; + +/*! + Appropriately schedules or cancels the update checking timer according to + the preferences for time interval and automatic checks. + + This call does not change the date of the next check, + but only the internal NSTimer. + */ +- (void)resetUpdateCycle; + +@property (readonly) BOOL updateInProgress; + +@end + +// ----------------------------------------------------------------------------- +// SUUpdater Notifications for events that might be interesting to more than just the delegate +// The updater will be the notification object +// ----------------------------------------------------------------------------- +SU_EXPORT extern NSString *const SUUpdaterDidFinishLoadingAppCastNotification; +SU_EXPORT extern NSString *const SUUpdaterDidFindValidUpdateNotification; +SU_EXPORT extern NSString *const SUUpdaterDidNotFindUpdateNotification; +SU_EXPORT extern NSString *const SUUpdaterWillRestartNotification; +#define SUUpdaterWillRelaunchApplicationNotification SUUpdaterWillRestartNotification; +#define SUUpdaterWillInstallUpdateNotification SUUpdaterWillRestartNotification; + +// Key for the SUAppcastItem object in the SUUpdaterDidFindValidUpdateNotification userInfo +SU_EXPORT extern NSString *const SUUpdaterAppcastItemNotificationKey; +// Key for the SUAppcast object in the SUUpdaterDidFinishLoadingAppCastNotification userInfo +SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey; + +// ----------------------------------------------------------------------------- +// SUUpdater Delegate: +// ----------------------------------------------------------------------------- + +/*! + Provides methods to control the behavior of an SUUpdater object. + */ +@protocol SUUpdaterDelegate +@optional + +/*! + Returns whether to allow Sparkle to pop up. + + For example, this may be used to prevent Sparkle from interrupting a setup assistant. + + \param updater The SUUpdater instance. + */ +- (BOOL)updaterMayCheckForUpdates:(SUUpdater *)updater; + +/*! + Returns additional parameters to append to the appcast URL's query string. + + This is potentially based on whether or not Sparkle will also be sending along the system profile. + + \param updater The SUUpdater instance. + \param sendingProfile Whether the system profile will also be sent. + + \return An array of dictionaries with keys: "key", "value", "displayKey", "displayValue", the latter two being specifically for display to the user. + */ +- (NSArray *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile; + +/*! + Returns a custom appcast URL. + + Override this to dynamically specify the entire URL. + + \param updater The SUUpdater instance. + */ +- (NSString *)feedURLStringForUpdater:(SUUpdater *)updater; + +/*! + Returns whether Sparkle should prompt the user about automatic update checks. + + Use this to override the default behavior. + + \param updater The SUUpdater instance. + */ +- (BOOL)updaterShouldPromptForPermissionToCheckForUpdates:(SUUpdater *)updater; + +/*! + Called after Sparkle has downloaded the appcast from the remote server. + + Implement this if you want to do some special handling with the appcast once it finishes loading. + + \param updater The SUUpdater instance. + \param appcast The appcast that was downloaded from the remote server. + */ +- (void)updater:(SUUpdater *)updater didFinishLoadingAppcast:(SUAppcast *)appcast; + +/*! + Returns the item in the appcast corresponding to the update that should be installed. + + If you're using special logic or extensions in your appcast, + implement this to use your own logic for finding a valid update, if any, + in the given appcast. + + \param appcast The appcast that was downloaded from the remote server. + \param updater The SUUpdater instance. + */ +- (SUAppcastItem *)bestValidUpdateInAppcast:(SUAppcast *)appcast forUpdater:(SUUpdater *)updater; + +/*! + Called when a valid update is found by the update driver. + + \param updater The SUUpdater instance. + \param item The appcast item corresponding to the update that is proposed to be installed. + */ +- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)item; + +/*! + Called when a valid update is not found. + + \param updater The SUUpdater instance. + */ +- (void)updaterDidNotFindUpdate:(SUUpdater *)updater; + +/*! + Called immediately before installing the specified update. + + \param updater The SUUpdater instance. + \param item The appcast item corresponding to the update that is proposed to be installed. + */ +- (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)item; + +/*! + Returns whether the relaunch should be delayed in order to perform other tasks. + + This is not called if the user didn't relaunch on the previous update, + in that case it will immediately restart. + + \param updater The SUUpdater instance. + \param item The appcast item corresponding to the update that is proposed to be installed. + \param invocation The invocation that must be completed before continuing with the relaunch. + + \return \c YES to delay the relaunch until \p invocation is invoked. + */ +- (BOOL)updater:(SUUpdater *)updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)item untilInvoking:(NSInvocation *)invocation; + +/*! + Returns whether the application should be relaunched at all. + + Some apps \b cannot be relaunched under certain circumstances. + This method can be used to explicitly prevent a relaunch. + + \param updater The SUUpdater instance. + */ +- (BOOL)updaterShouldRelaunchApplication:(SUUpdater *)updater; + +/*! + Called immediately before relaunching. + + \param updater The SUUpdater instance. + */ +- (void)updaterWillRelaunchApplication:(SUUpdater *)updater; + +/*! + Returns an object that compares version numbers to determine their arithmetic relation to each other. + + This method allows you to provide a custom version comparator. + If you don't implement this method or return \c nil, + the standard version comparator will be used. + + \sa SUStandardVersionComparator + + \param updater The SUUpdater instance. + */ +- (id)versionComparatorForUpdater:(SUUpdater *)updater; + +/*! + Returns an object that formats version numbers for display to the user. + + If you don't implement this method or return \c nil, + the standard version formatter will be used. + + \sa SUUpdateAlert + + \param updater The SUUpdater instance. + */ +- (id)versionDisplayerForUpdater:(SUUpdater *)updater; + +/*! + Returns the path which is used to relaunch the client after the update is installed. + + The default is the path of the host bundle. + + \param updater The SUUpdater instance. + */ +- (NSString *)pathToRelaunchForUpdater:(SUUpdater *)updater; + +/*! + Called before an updater shows a modal alert window, + to give the host the opportunity to hide attached windows that may get in the way. + + \param updater The SUUpdater instance. + */ +- (void)updaterWillShowModalAlert:(SUUpdater *)updater; + +/*! + Called after an updater shows a modal alert window, + to give the host the opportunity to hide attached windows that may get in the way. + + \param updater The SUUpdater instance. + */ +- (void)updaterDidShowModalAlert:(SUUpdater *)updater; + +/*! + Called when an update is scheduled to be silently installed on quit. + + \param updater The SUUpdater instance. + \param item The appcast item corresponding to the update that is proposed to be installed. + \param invocation Can be used to trigger an immediate silent install and relaunch. + */ +- (void)updater:(SUUpdater *)updater willInstallUpdateOnQuit:(SUAppcastItem *)item immediateInstallationInvocation:(NSInvocation *)invocation; + +/*! + Calls after an update that was scheduled to be silently installed on quit has been canceled. + + \param updater The SUUpdater instance. + \param item The appcast item corresponding to the update that was proposed to be installed. + */ +- (void)updater:(SUUpdater *)updater didCancelInstallUpdateOnQuit:(SUAppcastItem *)item; + +/*! + Called after an update is aborted due to an error. + + \param updater The SUUpdater instance. + \param error The error that caused the abort + */ +- (void)updater:(SUUpdater *)updater didAbortWithError:(NSError *)error; + +@end + +#endif diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m new file mode 100644 index 00000000..ee26656c --- /dev/null +++ b/Sparkle/SUUpdater.m @@ -0,0 +1,563 @@ +// +// SUUpdater.m +// Sparkle +// +// Created by Andy Matuschak on 1/4/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#import "SUUpdater.h" + +#import "SUHost.h" +#import "SUUpdatePermissionPrompt.h" + +#import "SUAutomaticUpdateDriver.h" +#import "SUProbingUpdateDriver.h" +#import "SUUserInitiatedUpdateDriver.h" +#import "SUScheduledUpdateDriver.h" +#import "SUConstants.h" +#import "SULog.h" +#import "SUCodeSigningVerifier.h" +#include + +NSString *const SUUpdaterDidFinishLoadingAppCastNotification = @"SUUpdaterDidFinishLoadingAppCastNotification"; +NSString *const SUUpdaterDidFindValidUpdateNotification = @"SUUpdaterDidFindValidUpdateNotification"; +NSString *const SUUpdaterDidNotFindUpdateNotification = @"SUUpdaterDidNotFindUpdateNotification"; +NSString *const SUUpdaterWillRestartNotification = @"SUUpdaterWillRestartNotificationName"; +NSString *const SUUpdaterAppcastItemNotificationKey = @"SUUpdaterAppcastItemNotificationKey"; +NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotificationKey"; + +@interface SUUpdater () +@property (strong) NSTimer *checkTimer; +- (instancetype)initForBundle:(NSBundle *)bundle; +- (void)startUpdateCycle; +- (void)checkForUpdatesWithDriver:(SUUpdateDriver *)updateDriver; +- (void)scheduleNextUpdateCheck; +- (void)registerAsObserver; +- (void)unregisterAsObserver; +- (void)updateDriverDidFinish:(NSNotification *)note; +@property (readonly, copy) NSURL *parameterizedFeedURL; + +- (void)notifyWillShowModalAlert; +- (void)notifyDidShowModalAlert; + +@property (strong) SUUpdateDriver *driver; +@property (strong) SUHost *host; + +@end + +@implementation SUUpdater + +@synthesize delegate; +@synthesize checkTimer; +@synthesize userAgentString = customUserAgentString; +@synthesize httpHeaders; +@synthesize driver; +@synthesize host; + +static NSMutableDictionary *sharedUpdaters = nil; +static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObservationContext"; + ++ (SUUpdater *)sharedUpdater +{ + return [self updaterForBundle:[NSBundle mainBundle]]; +} + +// SUUpdater has a singleton for each bundle. We use the fact that NSBundle instances are also singletons, so we can use them as keys. If you don't trust that you can also use the identifier as key ++ (SUUpdater *)updaterForBundle:(NSBundle *)bundle +{ + if (bundle == nil) bundle = [NSBundle mainBundle]; + id updater = sharedUpdaters[[NSValue valueWithNonretainedObject:bundle]]; + if (updater == nil) { + updater = [[[self class] alloc] initForBundle:bundle]; + } + return updater; +} + +// This is the designated initializer for SUUpdater, important for subclasses +- (instancetype)initForBundle:(NSBundle *)bundle +{ + self = [super init]; + if (bundle == nil) bundle = [NSBundle mainBundle]; + + // Register as observer straight away to avoid exceptions on -dealloc when -unregisterAsObserver is called: + if (self) { + [self registerAsObserver]; + } + + id updater = sharedUpdaters[[NSValue valueWithNonretainedObject:bundle]]; + if (updater) + { + self = updater; + } + else if (self) + { + if (sharedUpdaters == nil) { + sharedUpdaters = [[NSMutableDictionary alloc] init]; + } + sharedUpdaters[[NSValue valueWithNonretainedObject:bundle]] = self; + host = [[SUHost alloc] initWithBundle:bundle]; + + // Saving-the-developer-from-a-stupid-mistake-check: + BOOL hasPublicDSAKey = [host publicDSAKey] != nil; + BOOL isMainBundle = [bundle isEqualTo:[NSBundle mainBundle]]; + BOOL hostIsCodeSigned = [SUCodeSigningVerifier hostApplicationIsCodeSigned]; + if (!isMainBundle && !hasPublicDSAKey) { + [self notifyWillShowModalAlert]; + NSRunAlertPanel(@"Insecure update error!", @"For security reasons, you need to sign your updates with a DSA key. See Sparkle's documentation for more information.", @"OK", nil, nil); + [self notifyDidShowModalAlert]; + } else if (isMainBundle && !(hasPublicDSAKey || hostIsCodeSigned)) { + [self notifyWillShowModalAlert]; + NSRunAlertPanel(@"Insecure update error!", @"For security reasons, you need to code sign your application or sign your updates with a DSA key. See Sparkle's documentation for more information.", @"OK", nil, nil); + [self notifyDidShowModalAlert]; + } + + // This runs the permission prompt if needed, but never before the app has finished launching because the runloop won't run before that + [self performSelector:@selector(startUpdateCycle) withObject:nil afterDelay:0]; + } + return self; +} + + +// This will be used when the updater is instantiated in a nib such as MainMenu +- (instancetype)init +{ + return [self initForBundle:[NSBundle mainBundle]]; +} + +- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self.host bundlePath], [self.host installationPath]]; } + + +- (void)notifyWillShowModalAlert +{ + if ([self.delegate respondsToSelector:@selector(updaterWillShowModalAlert:)]) + [self.delegate updaterWillShowModalAlert:self]; +} + + +- (void)notifyDidShowModalAlert +{ + if ([self.delegate respondsToSelector:@selector(updaterDidShowModalAlert:)]) + [self.delegate updaterDidShowModalAlert:self]; +} + + +- (void)startUpdateCycle +{ + BOOL shouldPrompt = NO; + BOOL hasLaunchedBefore = [self.host boolForUserDefaultsKey:SUHasLaunchedBeforeKey]; + + // If the user has been asked about automatic checks, don't bother prompting + if ([self.host objectForUserDefaultsKey:SUEnableAutomaticChecksKey]) { + shouldPrompt = NO; + } + // Does the delegate want to take care of the logic for when we should ask permission to update? + else if ([self.delegate respondsToSelector:@selector(updaterShouldPromptForPermissionToCheckForUpdates:)]) { + shouldPrompt = [self.delegate updaterShouldPromptForPermissionToCheckForUpdates:self]; + } + // Has he been asked already? And don't ask if the host has a default value set in its Info.plist. + else if ([self.host objectForKey:SUEnableAutomaticChecksKey] == nil) { + // Now, we don't want to ask the user for permission to do a weird thing on the first launch. + // We wait until the second launch, unless explicitly overridden via SUPromptUserOnFirstLaunchKey. + shouldPrompt = [self.host objectForKey:SUPromptUserOnFirstLaunchKey] || hasLaunchedBefore; + } + + if (!hasLaunchedBefore) { + [self.host setBool:YES forUserDefaultsKey:SUHasLaunchedBeforeKey]; + } + + if (shouldPrompt) { + NSArray *profileInfo = [self.host systemProfile]; + // Always say we're sending the system profile here so that the delegate displays the parameters it would send. + if ([self.delegate respondsToSelector:@selector(feedParametersForUpdater:sendingSystemProfile:)]) { + profileInfo = [profileInfo arrayByAddingObjectsFromArray:[self.delegate feedParametersForUpdater:self sendingSystemProfile:YES]]; + } + [SUUpdatePermissionPrompt promptWithHost:self.host systemProfile:profileInfo delegate:self]; + // We start the update checks and register as observer for changes after the prompt finishes + } else { + // We check if the user's said they want updates, or they haven't said anything, and the default is set to checking. + [self scheduleNextUpdateCheck]; + } +} + +- (void)updatePermissionPromptFinishedWithResult:(SUPermissionPromptResult)result +{ + [self setAutomaticallyChecksForUpdates:(result == SUAutomaticallyCheck)]; + // Schedule checks, but make sure we ignore the delayed call from KVO + [self resetUpdateCycle]; +} + +- (void)updateDriverDidFinish:(NSNotification *)note +{ + if ([note object] == self.driver && [self.driver finished]) + { + self.driver = nil; + [self scheduleNextUpdateCheck]; + } +} + +- (NSDate *)lastUpdateCheckDate +{ + return [self.host objectForUserDefaultsKey:SULastCheckTimeKey]; +} + +- (void)scheduleNextUpdateCheck +{ + if (self.checkTimer) + { + [self.checkTimer invalidate]; + self.checkTimer = nil; // Timer is non-repeating, may have invalidated itself, so we had to retain it. + } + if (![self automaticallyChecksForUpdates]) return; + + // How long has it been since last we checked for an update? + NSDate *lastCheckDate = [self lastUpdateCheckDate]; + if (!lastCheckDate) { lastCheckDate = [NSDate distantPast]; } + NSTimeInterval intervalSinceCheck = [[NSDate date] timeIntervalSinceDate:lastCheckDate]; + + // Now we want to figure out how long until we check again. + NSTimeInterval delayUntilCheck, updateCheckInterval = [self updateCheckInterval]; + if (updateCheckInterval < SUMinimumUpdateCheckInterval) + updateCheckInterval = SUMinimumUpdateCheckInterval; + if (intervalSinceCheck < updateCheckInterval) + delayUntilCheck = (updateCheckInterval - intervalSinceCheck); // It hasn't been long enough. + else + delayUntilCheck = 0; // We're overdue! Run one now. + self.checkTimer = [NSTimer scheduledTimerWithTimeInterval:delayUntilCheck target:self selector:@selector(checkForUpdatesInBackground) userInfo:nil repeats:NO]; // Timer is non-repeating, may have invalidated itself, so we had to retain it. +} + + +- (void)putFeedURLIntoDictionary:(NSMutableDictionary *)theDict // You release this. +{ + theDict[@"feedURL"] = [self feedURL]; +} + +- (void)checkForUpdatesInBgReachabilityCheckWithDriver:(SUUpdateDriver *)inDriver /* RUNS ON ITS OWN THREAD */ +{ + @try { + // This method *must* be called on its own thread. SCNetworkReachabilityCheckByName + // can block, and it can be waiting a long time on slow networks, and we + // wouldn't want to beachball the main thread for a background operation. + // We could use asynchronous reachability callbacks, but those aren't + // reliable enough and can 'get lost' sometimes, which we don't want. + + @autoreleasepool { + SCNetworkConnectionFlags flags = 0; + BOOL isNetworkReachable = YES; + + // Don't perform automatic checks on unconnected laptops or dial-up connections that aren't online: + NSMutableDictionary *theDict = [NSMutableDictionary dictionary]; + dispatch_sync(dispatch_get_main_queue(), ^{ + [self putFeedURLIntoDictionary:theDict]; // Get feed URL on main thread, it's not safe to call elsewhere. + }); + + const char *hostname = [[(NSURL *)theDict[@"feedURL"] host] cStringUsingEncoding:NSUTF8StringEncoding]; + SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(NULL, hostname); + Boolean reachabilityResult = NO; + // If the feed's using a file:// URL, we won't be able to use reachability. + if (reachability != NULL) { + SCNetworkReachabilityGetFlags(reachability, &flags); + CFRelease(reachability); + } + + if( reachabilityResult ) + { + BOOL reachable = (flags & kSCNetworkFlagsReachable) == kSCNetworkFlagsReachable; + BOOL automatic = (flags & kSCNetworkFlagsConnectionAutomatic) == kSCNetworkFlagsConnectionAutomatic; + BOOL local = (flags & kSCNetworkFlagsIsLocalAddress) == kSCNetworkFlagsIsLocalAddress; + + if (!(reachable || automatic || local)) + isNetworkReachable = NO; + } + + // If the network's not reachable, we pass a nil driver into checkForUpdatesWithDriver, which will then reschedule the next update so we try again later. + dispatch_async(dispatch_get_main_queue(), ^{ + [self checkForUpdatesWithDriver: isNetworkReachable ? inDriver : nil]; + }); + + } + } @catch (NSException *localException) { + SULog(@"UNCAUGHT EXCEPTION IN UPDATE CHECK TIMER: %@", [localException reason]); + // Don't propagate the exception beyond here. In Carbon apps that would trash the stack. + } +} + + +- (void)checkForUpdatesInBackground +{ + // Background update checks should only happen if we have a network connection. + // Wouldn't want to annoy users on dial-up by establishing a connection every + // hour or so: + SUUpdateDriver *theUpdateDriver = [[([self automaticallyDownloadsUpdates] ? [SUAutomaticUpdateDriver class] : [SUScheduledUpdateDriver class])alloc] initWithUpdater:self]; + + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + [self checkForUpdatesInBgReachabilityCheckWithDriver:theUpdateDriver]; + }); +} + + +- (BOOL)mayUpdateAndRestart +{ + return (!self.delegate || ![self.delegate respondsToSelector:@selector(updaterShouldRelaunchApplication:)] || [self.delegate updaterShouldRelaunchApplication:self]); +} + +- (IBAction)checkForUpdates:(id)__unused sender +{ + if (self.driver && [self.driver isInterruptible]) { + [self.driver abortUpdate]; + } + + [self checkForUpdatesWithDriver:[[SUUserInitiatedUpdateDriver alloc] initWithUpdater:self]]; +} + +- (void)checkForUpdateInformation +{ + [self checkForUpdatesWithDriver:[[SUProbingUpdateDriver alloc] initWithUpdater:self]]; +} + +- (void)checkForUpdatesWithDriver:(SUUpdateDriver *)d +{ + if ([self updateInProgress]) { return; } + if (self.checkTimer) { [self.checkTimer invalidate]; self.checkTimer = nil; } // Timer is non-repeating, may have invalidated itself, so we had to retain it. + + [self willChangeValueForKey:@"lastUpdateCheckDate"]; + [self.host setObject:[NSDate date] forUserDefaultsKey:SULastCheckTimeKey]; + [self didChangeValueForKey:@"lastUpdateCheckDate"]; + + if( [self.delegate respondsToSelector: @selector(updaterMayCheckForUpdates:)] && ![self.delegate updaterMayCheckForUpdates: self] ) + { + [self scheduleNextUpdateCheck]; + return; + } + + self.driver = d; + + // If we're not given a driver at all, just schedule the next update check and bail. + if (!self.driver) + { + [self scheduleNextUpdateCheck]; + return; + } + + NSURL *theFeedURL = [self parameterizedFeedURL]; + if (theFeedURL) // Use a NIL URL to cancel quietly. + [self.driver checkForUpdatesAtURL:theFeedURL host:self.host]; + else + [self.driver abortUpdate]; +} + +- (void)registerAsObserver +{ + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateDriverDidFinish:) name:SUUpdateDriverFinishedNotification object:nil]; + [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:[@"values." stringByAppendingString:SUScheduledCheckIntervalKey] options:(NSKeyValueObservingOptions)0 context:(__bridge void *)(SUUpdaterDefaultsObservationContext)]; + [[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:[@"values." stringByAppendingString:SUEnableAutomaticChecksKey] options:(NSKeyValueObservingOptions)0 context:(__bridge void *)(SUUpdaterDefaultsObservationContext)]; +} + +- (void)unregisterAsObserver +{ + @try + { + [[NSNotificationCenter defaultCenter] removeObserver:self]; + [[NSUserDefaultsController sharedUserDefaultsController] removeObserver:self forKeyPath:[@"values." stringByAppendingString:SUScheduledCheckIntervalKey]]; + [[NSUserDefaultsController sharedUserDefaultsController] removeObserver:self forKeyPath:[@"values." stringByAppendingString:SUEnableAutomaticChecksKey]]; + } + @catch (NSException *) + { + SULog(@"Error: [SUUpdater unregisterAsObserver] called, but the updater wasn't registered as an observer."); + } +} + +- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context +{ + if (context == (__bridge void *)(SUUpdaterDefaultsObservationContext)) + { + // Allow a small delay, because perhaps the user or developer wants to change both preferences. This allows the developer to interpret a zero check interval as a sign to disable automatic checking. + // Or we may get this from the developer and from our own KVO observation, this will effectively coalesce them. + [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; + [self performSelector:@selector(resetUpdateCycle) withObject:nil afterDelay:1]; + } + else + { + [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; + } +} + +- (void)resetUpdateCycle +{ + [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; + [self scheduleNextUpdateCheck]; +} + +- (void)setAutomaticallyChecksForUpdates:(BOOL)automaticallyCheckForUpdates +{ + [self.host setBool:automaticallyCheckForUpdates forUserDefaultsKey:SUEnableAutomaticChecksKey]; + // Hack to support backwards compatibility with older Sparkle versions, which supported + // disabling updates by setting the check interval to 0. + if (automaticallyCheckForUpdates && (NSInteger)[self updateCheckInterval] == 0) { + [self setUpdateCheckInterval:SUDefaultUpdateCheckInterval]; + } + [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; + // Provide a small delay in case multiple preferences are being updated simultaneously. + [self performSelector:@selector(resetUpdateCycle) withObject:nil afterDelay:1]; +} + +- (BOOL)automaticallyChecksForUpdates +{ + // Don't automatically update when the check interval is 0, to be compatible with 1.1 settings. + if ((NSInteger)[self updateCheckInterval] == 0) { + return NO; + } + return [self.host boolForKey:SUEnableAutomaticChecksKey]; +} + +- (void)setAutomaticallyDownloadsUpdates:(BOOL)automaticallyUpdates +{ + [self.host setBool:automaticallyUpdates forUserDefaultsKey:SUAutomaticallyUpdateKey]; +} + +- (BOOL)automaticallyDownloadsUpdates +{ + // If the SUAllowsAutomaticUpdatesKey exists and is set to NO, return NO. + if ([self.host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] && [self.host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] == NO) { + return NO; + } + + // Otherwise, automatically downloading updates is allowed. Does the user want it? + return [self.host boolForUserDefaultsKey:SUAutomaticallyUpdateKey]; +} + +- (void)setFeedURL:(NSURL *)feedURL +{ + if (![NSThread isMainThread]) + [NSException raise:@"SUThreadException" format:@"This method must be called on the main thread"]; + + [self.host setObject:[feedURL absoluteString] forUserDefaultsKey:SUFeedURLKey]; +} + +- (NSURL *)feedURL +{ + if (![NSThread isMainThread]) + [NSException raise:@"SUThreadException" format:@"This method must be called on the main thread"]; + + // A value in the user defaults overrides one in the Info.plist (so preferences panels can be created wherein users choose between beta / release feeds). + NSString *appcastString = [self.host objectForKey:SUFeedURLKey]; + if ([self.delegate respondsToSelector:@selector(feedURLStringForUpdater:)]) + appcastString = [self.delegate feedURLStringForUpdater:self]; + if (!appcastString) // Can't find an appcast string! + [NSException raise:@"SUNoFeedURL" format:@"You must specify the URL of the appcast as the %@ key in either the Info.plist or the user defaults!", SUFeedURLKey]; + NSCharacterSet *quoteSet = [NSCharacterSet characterSetWithCharactersInString:@"\"\'"]; // Some feed publishers add quotes; strip 'em. + NSString *castUrlStr = [appcastString stringByTrimmingCharactersInSet:quoteSet]; + if (!castUrlStr || [castUrlStr length] == 0) + return nil; + else + return [NSURL URLWithString:castUrlStr]; +} + +- (NSString *)userAgentString +{ + if (customUserAgentString) { + return customUserAgentString; + } + + NSString *version = [[NSBundle bundleWithIdentifier:SUBundleIdentifier] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]; + NSString *userAgent = [NSString stringWithFormat:@"%@/%@ Sparkle/%@", [self.host name], [self.host displayVersion], version ? version : @"?"]; + NSData *cleanedAgent = [userAgent dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]; + return [[NSString alloc] initWithData:cleanedAgent encoding:NSASCIIStringEncoding]; +} + +- (void)setSendsSystemProfile:(BOOL)sendsSystemProfile +{ + [self.host setBool:sendsSystemProfile forUserDefaultsKey:SUSendProfileInfoKey]; +} + +- (BOOL)sendsSystemProfile +{ + return [self.host boolForKey:SUSendProfileInfoKey]; +} + +- (NSURL *)parameterizedFeedURL +{ + NSURL *baseFeedURL = [self feedURL]; + + // Determine all the parameters we're attaching to the base feed URL. + BOOL sendingSystemProfile = [self sendsSystemProfile]; + + // Let's only send the system profiling information once per week at most, so we normalize daily-checkers vs. biweekly-checkers and the such. + NSDate *lastSubmitDate = [self.host objectForUserDefaultsKey:SULastProfileSubmitDateKey]; + if (!lastSubmitDate) { + lastSubmitDate = [NSDate distantPast]; + } + const NSTimeInterval oneWeek = 60 * 60 * 24 * 7; + sendingSystemProfile &= (-[lastSubmitDate timeIntervalSinceNow] >= oneWeek); + + NSArray *parameters = @[]; + if ([self.delegate respondsToSelector:@selector(feedParametersForUpdater:sendingSystemProfile:)]) { + parameters = [parameters arrayByAddingObjectsFromArray:[self.delegate feedParametersForUpdater:self sendingSystemProfile:sendingSystemProfile]]; + } + if (sendingSystemProfile) + { + parameters = [parameters arrayByAddingObjectsFromArray:[self.host systemProfile]]; + [self.host setObject:[NSDate date] forUserDefaultsKey:SULastProfileSubmitDateKey]; + } + if ([parameters count] == 0) { return baseFeedURL; } + + // Build up the parameterized URL. + NSMutableArray *parameterStrings = [NSMutableArray array]; + for (NSDictionary *currentProfileInfo in parameters) { + [parameterStrings addObject:[NSString stringWithFormat:@"%@=%@", [[currentProfileInfo[@"key"] description] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding], [[currentProfileInfo[@"value"] description] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]]; + } + + NSString *separatorCharacter = @"?"; + if ([baseFeedURL query]) { + separatorCharacter = @"&"; // In case the URL is already http://foo.org/baz.xml?bat=4 + } + NSString *appcastStringWithProfile = [NSString stringWithFormat:@"%@%@%@", [baseFeedURL absoluteString], separatorCharacter, [parameterStrings componentsJoinedByString:@"&"]]; + + // Clean it up so it's a valid URL + return [NSURL URLWithString:appcastStringWithProfile]; +} + +- (void)setUpdateCheckInterval:(NSTimeInterval)updateCheckInterval +{ + [self.host setObject:@(updateCheckInterval) forUserDefaultsKey:SUScheduledCheckIntervalKey]; + if ((NSInteger)updateCheckInterval == 0) { // For compatibility with 1.1's settings. + [self setAutomaticallyChecksForUpdates:NO]; + } + [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetUpdateCycle) object:nil]; + + // Provide a small delay in case multiple preferences are being updated simultaneously. + [self performSelector:@selector(resetUpdateCycle) withObject:nil afterDelay:1]; +} + +- (NSTimeInterval)updateCheckInterval +{ + // Find the stored check interval. User defaults override Info.plist. + NSNumber *intervalValue = [self.host objectForKey:SUScheduledCheckIntervalKey]; + if (intervalValue) + return [intervalValue doubleValue]; + else + return SUDefaultUpdateCheckInterval; +} + +- (void)dealloc +{ + [self unregisterAsObserver]; + if (checkTimer) { [checkTimer invalidate]; } // Timer is non-repeating, may have invalidated itself, so we had to retain it. +} + +- (BOOL)validateMenuItem:(NSMenuItem *)item +{ + if ([item action] == @selector(checkForUpdates:)) { + return ![self updateInProgress]; + } + return YES; +} + +- (BOOL)updateInProgress +{ + return self.driver && ([self.driver finished] == NO); +} + +- (NSBundle *)hostBundle { return [self.host bundle]; } + +@end diff --git a/SUUpdater_Private.h b/Sparkle/SUUpdater_Private.h similarity index 81% rename from SUUpdater_Private.h rename to Sparkle/SUUpdater_Private.h index 599ddfcd..40091549 100644 --- a/SUUpdater_Private.h +++ b/Sparkle/SUUpdater_Private.h @@ -10,6 +10,6 @@ @interface SUUpdater (Private) -- (BOOL)mayUpdateAndRestart; +@property (readonly) BOOL mayUpdateAndRestart; @end diff --git a/SUUserInitiatedUpdateDriver.h b/Sparkle/SUUserInitiatedUpdateDriver.h similarity index 83% rename from SUUserInitiatedUpdateDriver.h rename to Sparkle/SUUserInitiatedUpdateDriver.h index 8df5f89d..079d2fea 100644 --- a/SUUserInitiatedUpdateDriver.h +++ b/Sparkle/SUUserInitiatedUpdateDriver.h @@ -13,11 +13,6 @@ #import "SUUIBasedUpdateDriver.h" @interface SUUserInitiatedUpdateDriver : SUUIBasedUpdateDriver -{ -@private - SUStatusController *checkingController; - BOOL isCanceled; -} @end diff --git a/Sparkle/SUUserInitiatedUpdateDriver.m b/Sparkle/SUUserInitiatedUpdateDriver.m new file mode 100644 index 00000000..d1e0c9a6 --- /dev/null +++ b/Sparkle/SUUserInitiatedUpdateDriver.m @@ -0,0 +1,87 @@ +// +// SUUserInitiatedUpdateDriver.m +// Sparkle +// +// Created by Andy Matuschak on 5/30/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUUserInitiatedUpdateDriver.h" + +#import "SUStatusController.h" +#import "SUHost.h" + +@interface SUUserInitiatedUpdateDriver () + +@property (strong) SUStatusController *checkingController; +@property (assign, getter=isCanceled) BOOL canceled; + +@end + +@implementation SUUserInitiatedUpdateDriver + +@synthesize checkingController; +@synthesize canceled; + +- (void)closeCheckingWindow +{ + if (self.checkingController) + { + [[self.checkingController window] close]; + self.checkingController = nil; + } +} + +- (void)cancelCheckForUpdates:(id)__unused sender +{ + [self closeCheckingWindow]; + self.canceled = YES; +} + +- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)aHost +{ + self.checkingController = [[SUStatusController alloc] initWithHost:aHost]; + [[self.checkingController window] center]; // Force the checking controller to load its window. + [self.checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates...", nil) maxProgressValue:0.0 statusText:nil]; + [self.checkingController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelCheckForUpdates:) isDefault:NO]; + [self.checkingController showWindow:self]; + [super checkForUpdatesAtURL:URL host:aHost]; + + // For background applications, obtain focus. + // Useful if the update check is requested from another app like System Preferences. + if ([aHost isBackgroundApplication]) + { + [NSApp activateIgnoringOtherApps:YES]; + } +} + +- (void)appcastDidFinishLoading:(SUAppcast *)ac +{ + if (self.isCanceled) + { + [self abortUpdate]; + return; + } + [self closeCheckingWindow]; + [super appcastDidFinishLoading:ac]; +} + +- (void)abortUpdateWithError:(NSError *)error +{ + [self closeCheckingWindow]; + [super abortUpdateWithError:error]; +} + +- (void)abortUpdate +{ + [self closeCheckingWindow]; + [super abortUpdate]; +} + +- (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui +{ + // We don't check to see if this update's been skipped, because the user explicitly *asked* if he had the latest version. + return [self hostSupportsItem:ui] && [self isItemNewer:ui]; +} + +@end diff --git a/Sparkle/SUVersionComparisonProtocol.h b/Sparkle/SUVersionComparisonProtocol.h new file mode 100644 index 00000000..10c42669 --- /dev/null +++ b/Sparkle/SUVersionComparisonProtocol.h @@ -0,0 +1,30 @@ +// +// SUVersionComparisonProtocol.h +// Sparkle +// +// Created by Andy Matuschak on 12/21/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef SUVERSIONCOMPARISONPROTOCOL_H +#define SUVERSIONCOMPARISONPROTOCOL_H + +#import +#import "SUExport.h" + +/*! + Provides version comparison facilities for Sparkle. +*/ +@protocol SUVersionComparison + +/*! + An abstract method to compare two version strings. + + Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, + and NSOrderedSame if they are equivalent. +*/ +- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; // *** MAY BE CALLED ON NON-MAIN THREAD! + +@end + +#endif diff --git a/Sparkle/SUVersionDisplayProtocol.h b/Sparkle/SUVersionDisplayProtocol.h new file mode 100644 index 00000000..97fae4c9 --- /dev/null +++ b/Sparkle/SUVersionDisplayProtocol.h @@ -0,0 +1,25 @@ +// +// SUVersionDisplayProtocol.h +// EyeTV +// +// Created by Uli Kusterer on 08.12.09. +// Copyright 2009 Elgato Systems GmbH. All rights reserved. +// + +#import +#import "SUExport.h" + +/*! + Applies special display formatting to version numbers. +*/ +@protocol SUVersionDisplay + +/*! + Formats two version strings. + + Both versions are provided so that important distinguishing information + can be displayed while also leaving out unnecessary/confusing parts. +*/ +- (void)formatVersion:(NSString **)inOutVersionA andVersion:(NSString **)inOutVersionB; + +@end diff --git a/SUWindowController.h b/Sparkle/SUWindowController.h similarity index 77% rename from SUWindowController.h rename to Sparkle/SUWindowController.h index fc50ba18..f6af6fae 100644 --- a/SUWindowController.h +++ b/Sparkle/SUWindowController.h @@ -12,9 +12,9 @@ #import @class SUHost; -@interface SUWindowController : NSWindowController { } +@interface SUWindowController : NSWindowController // We use this instead of plain old NSWindowController initWithWindowNibName so that we'll be able to find the right path when running in a bundle loaded from another app. -- (id)initWithHost:(SUHost *)host windowNibName:(NSString *)nibName; +- (instancetype)initWithWindowNibName:(NSString *)nibName; @end #endif diff --git a/Sparkle/SUWindowController.m b/Sparkle/SUWindowController.m new file mode 100644 index 00000000..55323113 --- /dev/null +++ b/Sparkle/SUWindowController.m @@ -0,0 +1,20 @@ +// +// SUWindowController.m +// Sparkle +// +// Created by Andy Matuschak on 2/13/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import "SUWindowController.h" +#import "SUHost.h" + +@implementation SUWindowController + +- (instancetype)initWithWindowNibName:(NSString *)nibName +{ + self = [super initWithWindowNibName:nibName owner:self]; + return self; +} + +@end diff --git a/Info.plist b/Sparkle/Sparkle-Info.plist similarity index 59% rename from Info.plist rename to Sparkle/Sparkle-Info.plist index 56b417a0..3d5c7f18 100644 --- a/Info.plist +++ b/Sparkle/Sparkle-Info.plist @@ -6,23 +6,31 @@ en CFBundleExecutable ${EXECUTABLE_NAME} - CFBundleName - ${PRODUCT_NAME} CFBundleIconFile CFBundleIdentifier - org.andymatuschak.Sparkle + ${SPARKLE_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 + CFBundleName + ${PRODUCT_NAME} CFBundlePackageType FMWK + CFBundleShortVersionString + ${CURRENT_PROJECT_VERSION} CFBundleSignature ???? CFBundleVersion - 1.5 - CFBundleShortVersionString - 1.5 Beta (git) + ${CURRENT_PROJECT_VERSION} NSPrincipalClass + SUAppendVersionNumber + ${SPARKLE_APPEND_VERSION_NUMBER} + SUEnableAutomatedDowngrades + ${SPARKLE_AUTOMATED_DOWNGRADES} + SUNormalizeInstalledApplicationName + ${SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME} + SURelaunchToolName + ${SPARKLE_RELAUNCH_TOOL_NAME} diff --git a/Sparkle.h b/Sparkle/Sparkle.h similarity index 81% rename from Sparkle.h rename to Sparkle/Sparkle.h index 08dd5777..fe97bae1 100644 --- a/Sparkle.h +++ b/Sparkle/Sparkle.h @@ -12,10 +12,12 @@ // This list should include the shared headers. It doesn't matter if some of them aren't shared (unless // there are name-space collisions) so we can list all of them to start with: -#import - #import #import +#import +#import #import +#import +#import #endif diff --git a/Sparkle/Sparkle.pch b/Sparkle/Sparkle.pch new file mode 100644 index 00000000..0f7013f2 --- /dev/null +++ b/Sparkle/Sparkle.pch @@ -0,0 +1,18 @@ +// +// Sparkle.pch +// Sparkle +// +// Created by Andy Matuschak on 7/23/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifdef __OBJC__ + +#import + +#import "SUConstants.h" +#import "SUErrors.h" + +#define SULocalizedString(key, comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", [NSBundle bundleWithIdentifier:SUBundleIdentifier] ? [NSBundle bundleWithIdentifier:SUBundleIdentifier] : [NSBundle mainBundle], comment) + +#endif diff --git a/Sparkle/ar.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/ar.lproj/SUAutomaticUpdateAlert.xib new file mode 100755 index 00000000..ffd6fc0a --- /dev/null +++ b/Sparkle/ar.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ar.lproj/SUUpdateAlert.xib b/Sparkle/ar.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..71173bce --- /dev/null +++ b/Sparkle/ar.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ar.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/ar.lproj/SUUpdatePermissionPrompt.xib new file mode 100755 index 00000000..d3e44c86 --- /dev/null +++ b/Sparkle/ar.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this. + +This is the information that would be sent: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/ar.lproj/Sparkle.strings b/Sparkle/ar.lproj/Sparkle.strings new file mode 100644 index 00000000..ce77b652 --- /dev/null +++ b/Sparkle/ar.lproj/Sparkle.strings @@ -0,0 +1,79 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "تم تنزيل %1$@ %2$@ وهو جاهز للاستخدام، هل ترغب بتثبيت التحديث وإعادة تشغيل %1$@ الآن؟"; + +"%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." = "لا يمكن تحديث %1$@ إذا شُغّل من وحدة تخزين للقراءة فقط كصورة قرص أو قارئ الأقراص الضوئية. انقل %1$@ إلى مجلد التطبيقات وأعد تشغيله من هناك ثم حاول مجددًا."; + +"%@ %@ is currently the newest version available." = "الإصدار %2$@ هو أحدث إصدار متوفر حاليًا لتطبيق %1$@"; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "لديك الإصدار %3$@ من تطبيق %1$@، هل ترغب بتزيل الإصدار %2$@ الآن"; + +"%@ downloaded" = "تم تنزيل %@"; + +"%@ of %@" = "%1$@ من %2$@"; + +"A new version of %@ is available!" = "يتوفر إصدار جديد من تطبيق %@"; + +"A new version of %@ is ready to install!" = "الإصدار الجديد من تطبيق %@ جاهز للتثبيت"; + +"An error occurred in retrieving update information. Please try again later." = "حال خطأ دون الحصول على معلومات حول التحديث، الرجاء المحاولة لاحقًا."; + +"An error occurred while downloading the update. Please try again later." = "حدث خطأ أثناء تنزيل التحديث، الرجاء المحاولة لاحقًا."; + +"An error occurred while extracting the archive. Please try again later." = "حدث خطأ أثناء استخراج الأرشيف، الرجاء المحاولة لاحقًا."; + +"An error occurred while installing the update. Please try again later." = "حدث خطأ أثناء تثبيت التحديث، الرجاء المحاولة لاحقًا."; + +"An error occurred while parsing the update feed." = "حدث خطأ أثناء تحليل المعلومات المزوّدَة حول التحديث."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "حدث خطأ أثناء إعادة تشغيل %1$@، إلا أن الإصدار الجديد سيكون متوفرًا في المرة القادمة التي تشغل فيها %1$@"; + +/* the unit for bytes */ +"B" = "بايت"; + +"Cancel" = "إلغاء"; + +"Cancel Update" = "إلغاء التحديث"; + +"Checking for updates..." = "يجري التحقق من وجود تحديثات..."; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "يجري تنزيل التحديث..."; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "يجري استخراج التحديث..."; + +/* the unit for gigabytes */ +"GB" = "غيغا بايت"; + +"Install and Relaunch" = "تثبيت وإعادة تشغيل التطبيق"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "يجري تثبيت التحديث..."; + +/* the unit for kilobytes */ +"KB" = "كيلو بايت"; + +/* the unit for megabytes */ +"MB" = "ميغا بايت"; + +/* OK button. */ +"OK" = "موافق"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "جاهز للتثبيت"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "هل ترغب في أن يتحقق %1$@ من وجود تحديثات تلقائيًا؟ يمكنك التحقق من وجود تحديثات يدويًا في أي وقت من قائمة %1$@."; + +"Update Error!" = "حدث خطأ أثناء التحديث"; + +"Updating %@" = "تحديث %@"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." ="لديك أحدث إصدار من تطبيق %@"; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "لديك أحدث إصدار"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "مزيد من التفاصيل..."; diff --git a/Sparkle/ca.lproj/SUAutomaticUpdateAlert.strings b/Sparkle/ca.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 00000000..8d3ab4ee --- /dev/null +++ b/Sparkle/ca.lproj/SUAutomaticUpdateAlert.strings @@ -0,0 +1,12 @@ +/* NSWindow () : (oid:5) */ +"" = ""; + +/* NSButton (Automatically download and install updates in the future) : (oid:17) */ +"Automatically download and install updates in the future" = "Baixa i instal·la les actualitzacions automàticament en el futur"; + +/* NSButton (Relaunch Later) : (oid:16) */ +"Relaunch Later" = "Reinicia el programa més tard"; + +/* NSButton (Relaunch Now) : (oid:15) */ +"Relaunch Now" = "Reinicia el programa ara"; + diff --git a/Sparkle/ca.lproj/SUUpdateAlert.strings b/Sparkle/ca.lproj/SUUpdateAlert.strings new file mode 100644 index 00000000..d02d071e --- /dev/null +++ b/Sparkle/ca.lproj/SUUpdateAlert.strings @@ -0,0 +1,18 @@ +/* NSButton (Automatically download and install updates in the future) : (oid:92) */ +"Automatically download and install updates in the future" = "Descarrega i instal·la les actualitzacions automàticament en el futur"; + +/* NSButton (Install Update) : (oid:76) */ +"Install Update" = "Instal·la l'actualització"; + +/* NSTextField (Release Notes:) : (oid:17) */ +"Release Notes:" = "Notes d'aquesta versió:"; + +/* NSButton (Remind Me Later) : (oid:22) */ +"Remind Me Later" = "Recorda-m'ho més tard"; + +/* NSButton (Skip This Version) : (oid:23) */ +"Skip This Version" = "Omet aquesta versió"; + +/* NSWindow (Software Update) : (oid:5) */ +"Software Update" = "Actualització del programari"; + diff --git a/Sparkle/ca.lproj/Sparkle.strings b/Sparkle/ca.lproj/Sparkle.strings new file mode 100644 index 00000000..d0ab278c --- /dev/null +++ b/Sparkle/ca.lproj/Sparkle.strings @@ -0,0 +1,54 @@ +"%@ of %@" = "%1$@ de %2$@"; + +"%1$@ can't be updated when it's running from a disk image. Move %1$@ to your Applications folder, relaunch it, and try again." = "%1$@ no es pot actualitzar quan funciona des d'un disc d'imatge. Moveu %1$@ al vostre directori Aplicacions, reinicieu-lo, i torneu a provar-ho."; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%@ %@ ha estat instal·lat i estarà llest per a ser utilitzat la propera vegada que s'iniciï %@! Voleu reiniciar ara?"; + +"%@ %@ is currently the newest version available." = "%@ %@ és la versió disponible més actual."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%@ %@ està disponible (ara teniu %@). Voleu actualitzar?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "%@ no té permís per escriure al directori d'aplicacions! Esteu executant el programa des d'un disc d'imatge? Si no és així, demaneu ajuda al vostre administrador."; + +"A new version of %@ has been installed!" = "S'ha instal·lat una nova versió de %@!"; + +"A new version of %@ is available!" = "Hi ha una nova versió de %@ disponible!"; + +"An error occurred during installation. Please try again later." = "Hi ha hagut un error durant la instal·lació. Torneu-ho a provar més tard."; + +"An error occurred in retrieving update information. Please try again later." = "Hi ha hagut un error obtenint la informació d'actualització. Torneu a provar-ho més tard."; + +"An error occurred while extracting the archive. Please try again later." = "Hi ha hagut un error al extreure l'arxiu? Torneu a provar-ho més tard."; + +"An error occurred while trying to download the file. Please try again later." = "Hi ha hagut un error al intentar descarregar el fitxer. Torneu a provar-ho més tard."; + +"An update is already in progress!" = "Ja hi ha una actualització en progrés!"; + +"Cancel" = "Cancel·la"; + +"Check for updates on startup?" = "Comprovar si hi ha actualitzacions a l'inici?"; + +"Downloading update..." = "Descarregant l'actualització…"; + +"Extracting update..." = "Extraient l'actualització…"; + +"Install and Relaunch" = "Instal·la i reinicia"; + +"Installing update..." = "Instal·lant l'actualització…"; + +"No" = "No"; + +"OK" = "D'acord"; + +"Ready to Install" = "A punt per instal·lar"; + +"Update Error!" = "Error d'actualització!"; + +"Updating %@" = "Actualitzant %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the %@ menu." = "Voleu que %@ comprovi si hi ha noves actualitzacions al iniciar? Si no, podeu inciar la comprovació manualment des del menú @."; + +"Yes" = "Sí"; + +"You're up to date!" = "Ja esteu al dia!"; + diff --git a/Sparkle/cs.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/cs.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..f383c339 --- /dev/null +++ b/Sparkle/cs.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/cs.lproj/SUUpdateAlert.xib b/Sparkle/cs.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..e1ed9f80 --- /dev/null +++ b/Sparkle/cs.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/cs.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/cs.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..38286999 --- /dev/null +++ b/Sparkle/cs.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Informace z anonymního systémového profilu pomáhají vývojářům lépe plánovat budoucí vývoj aplikace +Obraťte se na nás v případě, že budete mít k němu nějaký dotaz. + +Tyto informace by měli být odeslány: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/cs.lproj/Sparkle.strings b/Sparkle/cs.lproj/Sparkle.strings new file mode 100644 index 00000000..843f0b2f --- /dev/null +++ b/Sparkle/cs.lproj/Sparkle.strings @@ -0,0 +1,71 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ byl instalován a je připraven k použití po příštím spuštění. Přejete si aplikaci %1$@ nyní nainstalovat a znovu spustit?"; + +"%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." = "Aplikace %1$@ nemůže být aktualizována, protože je spuštěna z nezapisovatelného média. Může to být CD/DVD-ROM, obraz disku nebo jen nemáte právo zápisu na disk. Přesuňte aplikaci %1$@ do vaší složky Aplikace, spusťte ji z tohoto umístěni znovu."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ je nejnovější dostupná verze"; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Je k dispozici %1$@ %2$@ - máte %3$@. Přejete si nyní zkopírovat aktualizaci?"; + +"%@ downloaded" = "zkopírováno %@"; + +"%@ of %@" = "%1$@ z %2$@"; + +"A new version of %@ is available!" = "Je dostupná nová verze aplikace %@!"; + +"A new version of %@ is ready to install!" = "Nová verze %@ je připravena k instalaci!"; + +"An error occurred in retrieving update information. Please try again later." = "Při získávání údajů o aktualizaci se vyskytla chyba. Zkuste to prosím později."; + +"An error occurred while downloading the update. Please try again later." = "Při kopírování souboru se vyskytla chyba. Zkuste to prosím později."; + +"An error occurred while extracting the archive. Please try again later." = "Při rozbalování archivu se vyskytla chyba. Zkuste to prosím později."; + +"An error occurred while installing the update. Please try again later." = "Při instalování aktualizace se vyskytla chyba. Zkuste to prosím později."; + +"An error occurred while parsing the update feed." = "Při zpracovávání údajů o aktualizaci se vyskytla chyba. Zkuste to prosím později."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Vyskytla se chyba při novém spouštění aplikace %1$@, ale nová verze bude dostupná při dalším spuštění %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Zrušit"; + +"Cancel Update" = "Zrušit aktualizaci"; + +"Checking for updates..." = "Ověřuje se dostupnost aktualizací…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Kopíruje se aktualizace…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Rozbaluje se aktualizace…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Instalovat a znovu spustit"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Instaluje se aktualizace…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "Budiž"; + +"Ready to Install" = "Připraveno k instalaci"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Přejete si, aby aplikace %1$@ automaticky ověřovala dostupnost aktualizací? Tuto volbu můžete kdykoliv změnit v nabídce %1$@."; + +"Update Error!" = "Chyba při aktualizaci!"; + +"Updating %@" = "Aktualizuje se %@"; + +"You already have the newest version of %@." = "Máte nainstalovanou nejnovější verzi aplikace @."; + +"You're up to date!" = "Vaše verze je aktuální!"; + diff --git a/Sparkle/cy.lproj/Sparkle.strings b/Sparkle/cy.lproj/Sparkle.strings new file mode 100644 index 00000000..a9b47b25 --- /dev/null +++ b/Sparkle/cy.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%1$@ of %2$@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%1$@ %2$@ has been installed and will be ready to use next time %3$@ starts! Would you like to relaunch now?"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ is currently the newest version available."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%1$@ %2$@ is now available (you have %3$@). Would you like to download it now?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help."; + +"A new version of %@ has been installed!" = "A new version of %@ has been installed!"; + +"A new version of %@ is available!" = "A new version of %@ is available!"; + +"An error occurred during installation. Please try again later." = "An error occurred during installation. Please try again later."; + +"An error occurred in retrieving update information. Please try again later." = "An error occurred in retrieving update information. Please try again later."; + +"An error occurred while extracting the archive. Please try again later." = "An error occurred while extracting the archive. Please try again later."; + +"An error occurred while trying to download the file. Please try again later." = "An error occurred while trying to download the file. Please try again later."; + +"An update is already in progress!" = "An update is already in progress!"; + +"Cancel" = "Cancel"; + +"Check for updates on startup?" = "Check for updates on startup?"; + +"Downloading update..." = "Downloading update…"; + +"Extracting update..." = "Extracting update…"; + +"Install and Relaunch" = "Install and Relaunch"; + +"Installing update..." = "Installing update…"; + +"No" = "No"; + +"OK" = "OK"; + +"Ready to Install" = "Ready to Install"; + +"Update Error!" = "Update Error!"; + +"Updating %@" = "Updating %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu." = "Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu."; + +"Yes" = "Yes"; + +"You're up to date!" = "You're up to date!"; + diff --git a/Sparkle/da.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/da.lproj/SUAutomaticUpdateAlert.xib new file mode 100755 index 00000000..e306261a --- /dev/null +++ b/Sparkle/da.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/da.lproj/SUUpdateAlert.xib b/Sparkle/da.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..78ab21b5 --- /dev/null +++ b/Sparkle/da.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/da.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/da.lproj/SUUpdatePermissionPrompt.xib new file mode 100755 index 00000000..1be6db56 --- /dev/null +++ b/Sparkle/da.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this. + +This is the information that would be sent: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/da.lproj/Sparkle.strings b/Sparkle/da.lproj/Sparkle.strings new file mode 100644 index 00000000..f098528d --- /dev/null +++ b/Sparkle/da.lproj/Sparkle.strings @@ -0,0 +1,80 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ er hentet og klar til brug! Vil du installere og genstarte %1$@ nu?"; + +"%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." = "%1$@ kan ikke opdateres når det køres fra en kun læsbar enhed. Flyt %1$@ til mappen Programmer, genstart derfra og prøv igen."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ er den aktuelle version."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ er tilgængelig! Du har %3$@. Skal den hentes nu?"; + +"%@ downloaded" = "%@ hentet"; + +"%@ of %@" = "%1$@ af %2$@"; + +"A new version of %@ is available!" = "En ny version af %@ er tilgængelig!"; + +"A new version of %@ is ready to install!" = "En ny version af %@ er klar til installering!"; + +"An error occurred in retrieving update information. Please try again later." = "Kunne ikke modtage informationer om opdateringer. Kontroller at du har forbindelse til internettet eller prøv igen senere."; + +"An error occurred while downloading the update. Please try again later." = "Opdateringen kunne ikke hentes. Prøv igen senere."; + +"An error occurred while extracting the archive. Please try again later." = "Arkivet kunne ikke udpakkes. Prøv igen senere."; + +"An error occurred while installing the update. Please try again later." = "Opdateringen kunne ikke installeres. Prøv igen senere."; + +"An error occurred while parsing the update feed." = "An error occurred while parsing the update feed."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "%1$@ kunne ikke genstartes. Den nye version vil være tilgængelig, næste gang %1$@ startes."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Annuller"; + +"Cancel Update" = "Annuller opdatering"; + +"Checking for updates..." = "Søger efter opdateringer…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Henter opdatering…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Udpakker arkiver…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Installer og genstart"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Installerer opdatering…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "OK"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "Klar til installering"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Skal %1$@ søge efter opdateringer automatisk? Du kan altid søge efter opdateringer manuelt fra programmets menu."; + +"Update Error!" = "Der opstod en fejl!"; + +"Updating %@" = "Opdaterer %@"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "Du har den seneste version af %@."; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "Der er ingen opdateringer"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "Læs mere…"; + diff --git a/Sparkle/de.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/de.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..0bc4fc97 --- /dev/null +++ b/Sparkle/de.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/de.lproj/SUUpdateAlert.xib b/Sparkle/de.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..0b661de8 --- /dev/null +++ b/Sparkle/de.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/de.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/de.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..5c108c35 --- /dev/null +++ b/Sparkle/de.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Das anonymisierte Systemprofil unterstützt uns bei der zukünftigen Entwicklung. Bitte kontaktieren Sie uns, wenn Sie Fragen hierzu haben. + +Diese Informationen würden an uns gesendet: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/de.lproj/Sparkle.strings b/Sparkle/de.lproj/Sparkle.strings new file mode 100644 index 00000000..05674190 --- /dev/null +++ b/Sparkle/de.lproj/Sparkle.strings @@ -0,0 +1,75 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ wurde heruntergeladen und steht zur Verwendung bereit! Möchten Sie %1$@ jetzt durch die neue Version ersetzen und neu starten?"; + +"%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." = "%1$@ kann nicht aktualisiert werden, wenn es von einem Volumen ohne Schreibzugriff (z.B. Disk Image oder CD/DVD) gestartet wurde. Kopieren Sie %1$@ in den Programme Ordner, aktualisieren Sie es von dort."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ ist zur Zeit die neueste verfügbare Version."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ ist verfügbar (Sie verwenden Version %3$@). Möchten Sie die neue Version jetzt herunterladen?"; + +"%@ downloaded" = "%@ heruntergeladen"; + +"%@ of %@" = "%1$@ von %2$@"; + +"A new version of %@ is available!" = "Eine neue Version von %@ ist verfügbar!"; + +"A new version of %@ is ready to install!" = "Eine neue Version von %@ ist zur Installation bereit!"; + +"An error occurred in retrieving update information. Please try again later." = "Bei der Aktualisierung trat ein Fehler auf. Bitte versuchen Sie es später erneut."; + +"An error occurred while downloading the update. Please try again later." = "Beim Herunterladen ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut."; + +"An error occurred while extracting the archive. Please try again later." = "Beim Entpacken der Daten ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut."; + +"An error occurred while installing the update. Please try again later." = "Bei der Installation der Aktualisierung ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut."; + +"An error occurred while parsing the update feed." = "Beim Lesen der Aktualisierungsinformationen ist ein Fehler aufgetreten."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Beim erneuten Starten von %1$@ ist ein Fehler aufgetreten. Die neue Version von %1$@ steht beim nächsten Programmstart zur Verfügung."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Abbrechen"; + +"Cancel Update" = "Aktualisierung abbrechen"; + +"Checking for updates..." = "Suche nach Aktualisierungen…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Aktualisierung wird heruntergeladen…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Aktualisierung entpacken…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Installieren und erneut starten"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Aktualisierung installieren…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Bereit zum Installieren"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Soll %1$@ automatisch nach Aktualisierungen suchen? Sie können im %1$@-Menü auch manuell nach Aktualisierungen suchen."; + +"Update Error!" = "Fehler beim Aktualisieren!"; + +"Updating %@" = "Aktualisierung von %@"; + +"You already have the newest version of %@." = "Sie haben bereits die neueste Version von %@."; + +"You're up-to-date!" = "Sie sind auf dem neuesten Stand!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Mehr über…"; diff --git a/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..634566a2 --- /dev/null +++ b/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/el.lproj/SUUpdateAlert.xib b/Sparkle/el.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..83fe668c --- /dev/null +++ b/Sparkle/el.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..832b7112 --- /dev/null +++ b/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Το ανώνυμο προφίλ συστήματος χρησιμοποιείται για να μας βοηθήσει σε μελλοντική ανάπτυξη του προγράμματος. Παρακαλώ επικοινωνήστε μαζί μας άν έχετε ερωτήσεις. + +Αυτές είναι οι πληροφορίες που θα σταλούν: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/el.lproj/Sparkle.strings b/Sparkle/el.lproj/Sparkle.strings new file mode 100644 index 00000000..dca6fa5c --- /dev/null +++ b/Sparkle/el.lproj/Sparkle.strings @@ -0,0 +1,71 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "Το %1$@ %2$@ έχει ληφθεί και είναι έτοιμο προς χρήση! Θα θέλατε να το εγκαταστήσετε και να επανεκκινήσετε το %1$@ τώρα;"; + +"%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." = "Το %1$@ δεν μπορεί να ενημερωθεί όσο τρέχει από έναν δίσκο ανάγνωσης-μόνο ή έναν οπτικό δίσκο. Μεταφέρετε το %1$@ στον φάκελο εφαρμογών σας, επανεκκινήστε το από εκεί, και ξαναδοκιμάστε."; + +"%@ %@ is currently the newest version available." = "Το %1$@ %2$@ είναι η τελευταία διαθέσιμη έκδοση."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Το %1$@ %2$@ είναι πλέον διαθέσιμο--έχετε το %3$@. Θέλετε να το κατεβάσετε τώρα;"; + +"%@ downloaded" = "%@ λήφθησαν"; + +"%@ of %@" = "%1$@ από %2$@"; + +"A new version of %@ is available!" = "Μία νέα έκδοση του %@ είναι διαθέσιμη!"; + +"A new version of %@ is ready to install!" = "Μία νέα έκδοση του %@ είναι έτοιμη για εγκατάσταση!"; + +"An error occurred in retrieving update information. Please try again later." = "Υπήρξε ένα σφάλμα κατά την ανάκτηση των πληροφοριών ενημέρωσης. Παρακαλώ δοκιμάστε αργότερα."; + +"An error occurred while downloading the update. Please try again later." = "Υπήρξε ένα σφάλμα κατά την λήψη της ενημέρωσης. Παρακαλώ δοκιμάστε αργότερα."; + +"An error occurred while extracting the archive. Please try again later." = "Υπήρξε ένα σφάλμα κατά την εξαγωγή του αρχείου. Παρακαλώ δοκιμάστε αργότερα."; + +"An error occurred while installing the update. Please try again later." = "Υπήρξε ένα σφάλμα κατά την εγκατάσταση της ενημέρωσης. Παρακαλώ δοκιμάστε αργότερα."; + +"An error occurred while parsing the update feed." = "Υπήρξε ένα σφάλμα κατά την ανάλυση του feed ενημερώσεων."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Υπήρξε ένα σφάλμα κατά την επανεκκίνηση του %1$@, αλλά η νέα έκδοση θα είναι διαθέσιμη την επόμενη φορά που θα τρέξετε το %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Ακύρωση"; + +"Cancel Update" = "Ακύρωση Ενημέρωσης"; + +"Checking for updates..." = "Έλεγχος για ενημερώσεις..."; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Λήψη ενημέρωσης..."; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Εξαγωγή ενημέρωσης..."; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Εγκατάσταση και Επανεκκίνηση"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Εγκατάσταση ενημέρωσης..."; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Έτοιμο προς Εγκατάσταση"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Θέλετε το %1$@ να ελέγχει αυτόματα για ενημερώσεις; Μπορείτε πάντα να ελέγχετε για ενημερώσεις χειροκίνητα από το μενού %1$@."; + +"Update Error!" = "Σφάλμα Ενημέρωσης!"; + +"Updating %@" = "Ενημέρωση %@"; + +"You already have the newest version of %@." = "Έχετε ήδη την τελευταία έκδοση του %@."; + +"You're up-to-date!" = "Είστε ενημερωμένοι!"; + diff --git a/Sparkle/en.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/en.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..c707f6c3 --- /dev/null +++ b/Sparkle/en.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/en.lproj/SUUpdateAlert.xib b/Sparkle/en.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..c1178be9 --- /dev/null +++ b/Sparkle/en.lproj/SUUpdateAlert.xib @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/en.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/en.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..c110598f --- /dev/null +++ b/Sparkle/en.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this. + +This is the information that would be sent: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/en.lproj/Sparkle.strings b/Sparkle/en.lproj/Sparkle.strings new file mode 100644 index 00000000..50c54b02 --- /dev/null +++ b/Sparkle/en.lproj/Sparkle.strings @@ -0,0 +1,85 @@ +"%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?"; + +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?"; + +"%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." = "%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."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ is currently the newest version available."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ is now available—you have %3$@. Would you like to download it now?"; + +"%@ downloaded" = "%@ downloaded"; + +"%@ of %@" = "%1$@ of %2$@"; + +"A new version of %@ is available!" = "A new version of %@ is available!"; + +"A new version of %@ is ready to install!" = "A new version of %@ is ready to install!"; + +"An error occurred in retrieving update information. Please try again later." = "An error occurred in retrieving update information. Please try again later."; + +"An error occurred while downloading the update. Please try again later." = "An error occurred while downloading the update. Please try again later."; + +"An error occurred while extracting the archive. Please try again later." = "An error occurred while extracting the archive. Please try again later."; + +"An error occurred while installing the update. Please try again later." = "An error occurred while installing the update. Please try again later."; + +"An error occurred while parsing the update feed." = "An error occurred while parsing the update feed."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@."; + +"An important update to %@ is ready to install" = "An important update to %@ is ready to install"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Cancel"; + +"Cancel Update" = "Cancel Update"; + +"Checking for updates..." = "Checking for updates…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Downloading update…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Extracting update…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Install and Relaunch"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Installing update…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "Learn More…"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "OK"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "Ready to Install"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu."; + +"The update is improperly signed." = "The update is improperly signed."; + +"Update Error!" = "Update Error!"; + +"Updating %@" = "Updating %@"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "You already have the newest version of %@."; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "You’re up-to-date!"; diff --git a/Sparkle/es.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/es.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..98a58ab8 --- /dev/null +++ b/Sparkle/es.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/es.lproj/SUUpdateAlert.xib b/Sparkle/es.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..551ac126 --- /dev/null +++ b/Sparkle/es.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/es.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/es.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..9c0f5ae8 --- /dev/null +++ b/Sparkle/es.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + La información de perfil de sistema anónimo se usa para ayudarnos a planear el trabajo de desarrollo futuro. Por favor, póngase en cantacto con nosotros si tiene preguntas sobre esto. + +Esta es la información que se nos enviaría: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/es.lproj/Sparkle.strings b/Sparkle/es.lproj/Sparkle.strings new file mode 100644 index 00000000..12eb5b46 --- /dev/null +++ b/Sparkle/es.lproj/Sparkle.strings @@ -0,0 +1,75 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ se han descargado y están listos para utilizar. ¿Le gustaría instalar e iniciar %1$@ ahora?"; + +"%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." = "%1$@ no se puede actualizar cuando se ejecuta desde un volumen de sólo lectura como imagen de disco o medio óptico. Mueva %1$@ a su carpeta de Aplicaciones y trate de iniciarlo desde allí."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ es la última versión disponible."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ está disponible (usted tiene la %3$@). ¿Desea descargarla ahora?"; + +"%@ downloaded" = "%@ descargado"; + +"%@ of %@" = "%1$@ de %2$@"; + +"A new version of %@ is available!" = "¡Hay una nueva versión de %@ !"; + +"A new version of %@ is ready to install!" = "¡Una versión nueva de %@ está lista para instalar!"; + +"An error occurred in retrieving update information. Please try again later." = "Ocurrió un error al recopilar información sobre la actualización. Por favor, inténtelo de nuevo más tarde."; + +"An error occurred while downloading the update. Please try again later." = "Ocurrió un error mientras se descargaba la actualización. Por favor intente de nuevo más tarde."; + +"An error occurred while extracting the archive. Please try again later." = "Ocurrió un error al extraer el archivo. Por favor, inténtelo de nuevo más tarde."; + +"An error occurred while installing the update. Please try again later." = "Ocurrió un error mientras se instalaba la actualización. Por favor intente de nuevo más tarde."; + +"An error occurred while parsing the update feed." = "Ocurrió un error mientras se analizaba la entrada de la actualización."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Ocurrió un error mientras se re-iniciaba %1$@, pero la nueva versión estará disponible la próxima vez que ejecute %1$@."; + +/* the unit for bytes */ +"B" = "O"; + +"Cancel" = "Cancelar"; + +"Cancel Update" = "Cancelar actualización"; + +"Checking for updates..." = "Buscando actualizaciones …"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Descargando actualización…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Extrayendo actualización…"; + +/* the unit for gigabytes */ +"GB" = "GO"; + +"Install and Relaunch" = "Instalar y volver a arrancar"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Instalando actualización…"; + +/* the unit for kilobytes */ +"KB" = "KO"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Preparado para instalar"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "¿Debería automáticamente %1$@ buscar las actualizaciones? Puede hacerlo también manualmente desde el menú %1$@."; + +"Update Error!" = "¡Error de actualización!"; + +"Updating %@" = "Actualizando %@"; + +"You already have the newest version of %@." = "Ya tiene la versión más reciente de %@."; + +"You're up-to-date!" = "Ya tiene la versión más reciente"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Más información…"; diff --git a/Sparkle/fi.lproj/SUAutomaticUpdateAlert.strings b/Sparkle/fi.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 00000000..76e07e10 --- /dev/null +++ b/Sparkle/fi.lproj/SUAutomaticUpdateAlert.strings @@ -0,0 +1,12 @@ +/* NSWindow () : (oid:5) */ +"" = ""; + +/* NSButton (Automatically download and install updates in the future) : (oid:17) */ +"Automatically download and install updates in the future" = "Hae ja asenna päivitykset jatkossa automaattisesti"; + +/* NSButton (Relaunch Later) : (oid:16) */ +"Relaunch Later" = "Käynnistä uudelleen myöhemmin"; + +/* NSButton (Relaunch Now) : (oid:15) */ +"Relaunch Now" = "Käynnistä uudelleen nyt"; + diff --git a/Sparkle/fi.lproj/SUUpdateAlert.strings b/Sparkle/fi.lproj/SUUpdateAlert.strings new file mode 100644 index 00000000..471de4aa --- /dev/null +++ b/Sparkle/fi.lproj/SUUpdateAlert.strings @@ -0,0 +1,18 @@ +/* NSButton (Automatically download and install updates in the future) : (oid:92) */ +"Automatically download and install updates in the future" = "Hae ja asenna päivitykset jatkossa automaattisesti"; + +/* NSButton (Install Update) : (oid:76) */ +"Install Update" = "Asenna päivitys"; + +/* NSTextField (Release Notes:) : (oid:17) */ +"Release Notes:" = "Tietoa päivityksestä:"; + +/* NSButton (Remind Me Later) : (oid:22) */ +"Remind Me Later" = "Muistuta myöhemmin"; + +/* NSButton (Skip This Version) : (oid:23) */ +"Skip This Version" = "Ohita tämä versio"; + +/* NSWindow (Software Update) : (oid:5) */ +"Software Update" = "Ohjelmiston pävitys"; + diff --git a/Sparkle/fi.lproj/Sparkle.strings b/Sparkle/fi.lproj/Sparkle.strings new file mode 100644 index 00000000..f57a8b5a --- /dev/null +++ b/Sparkle/fi.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%1$@ / %2$@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%1$@ %2$@ on asennettu ja on valmiina käyttöön seuraavan kerran kun %3$@ käynnistetään! Haluatko käynnistää ohjelman uudelleen?"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ on uusin saatavilla oleva versio."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%1$@ %2$@ on nyt saatavilla (sinulla on %3$@). Haluatko ladata sen nyt?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "Käyttäjällä %@ ei ole oikeuksia ohjelman kansioon! Ajatko ohjelmaa levytiedostosta? Jos et, kysy apua järjestelmän ylläpitäjältä."; + +"A new version of %@ has been installed!" = "Uusi versio ohjelmasta %@ on asennettu!"; + +"A new version of %@ is available!" = "Uusi versio ohjelmasta %@ on saatavilla!"; + +"An error occurred during installation. Please try again later." = "Asennuksen yhteydessä tapahtui virhe. Yritä myöhemmin uudelleen."; + +"An error occurred in retrieving update information. Please try again later." = "Päivitystietojen haussa tapahtui virhe. Yritä myöhemmin uudelleen."; + +"An error occurred while extracting the archive. Please try again later." = "Pakkauksen purkamisen yhteydessä tapahtui virhe. Yritä myöhemmin uudelleen."; + +"An error occurred while trying to download the file. Please try again later." = "Tiedoston haussa tapahtui virhe. Yritä myöhemmin uudelleen."; + +"An update is already in progress!" = "Päivitys on jo menossa!"; + +"Cancel" = "Kumoa"; + +"Check for updates on startup?" = "Tarkista päivityksiä käynnistyksen yhteydessä?"; + +"Downloading update..." = "Haen päivitystä…"; + +"Extracting update..." = "Puran päivitystä…"; + +"Install and Relaunch" = "Asenna ja käynnistä ohjelma uudelleen"; + +"Installing update..." = "Asennan päivityksen…"; + +"No" = "Ei"; + +"OK" = "OK"; + +"Ready to Install" = "Valmiina asentamaan"; + +"Update Error!" = "Virhe päivityksessä!"; + +"Updating %@" = "Päivitän %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu." = "Haluatko tarkistaa päivitykset ohjelmaan %@ käynnistyksen yhteydessä? Jos et, voit käynnnistää tarkistuksen käsin ohjelmavalikosta."; + +"Yes" = "Kyllä"; + +"You're up to date!" = "Sinulla on viimeisin versio!"; + diff --git a/Sparkle/fr.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/fr.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..eb32a008 --- /dev/null +++ b/Sparkle/fr.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/fr.lproj/SUUpdateAlert.xib b/Sparkle/fr.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..60a7add4 --- /dev/null +++ b/Sparkle/fr.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/fr.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/fr.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..347ec9a8 --- /dev/null +++ b/Sparkle/fr.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Les informations anonymes de profil système nous aident à planifier les futurs développements. Contactez-nous pour toute question à ce sujet. + +Ci-dessous figurent les informations qui seront transmises : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/fr.lproj/Sparkle.strings b/Sparkle/fr.lproj/Sparkle.strings new file mode 100644 index 00000000..7ab704c3 --- /dev/null +++ b/Sparkle/fr.lproj/Sparkle.strings @@ -0,0 +1,77 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ a été téléchargé. Voulez-vous l’installer et relancer %1$@ maintenant ?"; + +"%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." = "%1$@ ne peut pas être mis à jour quand il fonctionne à partir d’un volume en lecture seule, comme une image disque ou un lecteur optique. Déplacez %1$@ dans votre dossier Applications, relancez-le à partir de là et réessayez."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ est la version la plus récente disponible."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ est disponible ; vous utilisez la version %3$@. Voulez-vous le télécharger maintenant ?"; + +"%@ downloaded" = "%@ téléchargé"; + +"%@ of %@" = "%1$@ sur %2$@"; + +"A new version of %@ is available!" = "Une nouvelle version de %@ est disponible !"; + +"A new version of %@ is ready to install!" = "Une nouvelle version de %@ est prête à être installée !"; + +"An error occurred in retrieving update information. Please try again later." = "Une erreur est survenue en récupérant les informations de mise à jour. Veuillez réessayer plus tard."; + +"An error occurred while downloading the update. Please try again later." = "Une erreur est survenue pendant le téléchargement de la mise à jour. Veuillez réessayer plus tard."; + +"An error occurred while extracting the archive. Please try again later." = "Une erreur est survenue pendant l’extraction des données de l’archive. Veuillez réessayer plus tard."; + +"An error occurred while installing the update. Please try again later." = "Une erreur est survenue pendant l’installation de la mise à jour. Veuillez réessayer plus tard."; + +"An error occurred while parsing the update feed." = "Une erreur est survenue pendant l’analyse de la mise à jour."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Une erreur est survenue en relançant %1$@, mais la nouvelle version sera disponible à la prochaine ouverture de %1$@."; + +/* the unit for bytes */ +"B" = "octets"; + +"Cancel" = "Annuler"; + +"Cancel Update" = "Annuler la mise à jour"; + +"Checking for updates..." = "Recherche de mises à jour…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Téléchargement de la mise à jour…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Extraction de la mise à jour…"; + +/* the unit for gigabytes */ +"GB" = "Go"; + +"Install and Relaunch" = "Installer et relancer"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Installation de la mise à jour…"; + +/* the unit for kilobytes */ +"KB" = "ko"; + +/* the unit for megabytes */ +"MB" = "Mo"; + +"OK" = "OK"; + +"Ready to Install" = "Prêt pour l’installation"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "%1$@ doit-il rechercher automatiquement les mises à jour ? La mise à jour est toujours possible manuellement depuis le menu %1$@."; + +"Update Error!" = "Erreur pendant la mise à jour !"; + +"Updating %@" = "Mise à jour de %@"; + +"You already have the newest version of %@." = "Vous possédez déjà la version la plus récente de %@."; + +"You're up-to-date!" = "Votre logiciel est à jour !"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "En savoir plus…"; + +"The update is improperly signed." = "La signature numérique de la mise à jour est incorrecte"; diff --git a/Sparkle/he.lproj/SUAutomaticUpdateAlert.strings b/Sparkle/he.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 00000000..5b3391b2 --- /dev/null +++ b/Sparkle/he.lproj/SUAutomaticUpdateAlert.strings @@ -0,0 +1,12 @@ +/* NSWindow () : (oid:5) */ +"" = ""; + +/* NSButton (Automatically download and install updates in the future) : (oid:17) */ +"Automatically download and install updates in the future" = "הורד והתקן עדכונים אוטומטית גם בעתיד"; + +/* NSButton (Relaunch Later) : (oid:16) */ +"Relaunch Later" = "אתחל מאוחר יותר"; + +/* NSButton (Relaunch Now) : (oid:15) */ +"Relaunch Now" = "אתחל עכשיו"; + diff --git a/Sparkle/he.lproj/SUUpdateAlert.strings b/Sparkle/he.lproj/SUUpdateAlert.strings new file mode 100644 index 00000000..f6debba9 --- /dev/null +++ b/Sparkle/he.lproj/SUUpdateAlert.strings @@ -0,0 +1,18 @@ +/* NSButton (Automatically download and install updates in the future) : (oid:92) */ +"Automatically download and install updates in the future" = "הורד והתקן עדכונים אוטומטית גם בעתיד"; + +/* NSButton (Install Update) : (oid:76) */ +"Install Update" = "התקן עדכון"; + +/* NSTextField (Release Notes:) : (oid:17) */ +"Release Notes:" = "פרטי גרסה:"; + +/* NSButton (Remind Me Later) : (oid:22) */ +"Remind Me Later" = "הזכר לי מאוחר יותר"; + +/* NSButton (Skip This Version) : (oid:23) */ +"Skip This Version" = "דלג על גרסה זו"; + +/* NSWindow (Software Update) : (oid:5) */ +"Software Update" = "עדכון תכנה"; + diff --git a/Sparkle/he.lproj/Sparkle.strings b/Sparkle/he.lproj/Sparkle.strings new file mode 100644 index 00000000..0d2aa275 --- /dev/null +++ b/Sparkle/he.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%1$@ of %2$@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%1$@ %2$@ הותקנה ותהיה מוכנה לפעולה בפעם הבאה שתריץ את %3$@ ! ברצונך לאתחל?"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ היא הגרסה האחונה הזמינה."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%1$@ %2$@ זמין כעת (לך יש %3$@). ברצונך להוריד כעת?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "ל %@ אין הרשאה לכתוב לתקיית התוכניות! האם אתה פועל מ- disc image? אם לא, בקש עזרה ממנהל הרשת."; + +"A new version of %@ has been installed!" = "גרסה חדשה של %@ הותקנה!"; + +"A new version of %@ is available!" = "גרסה חדשה של %@ זמינה!"; + +"An error occurred during installation. Please try again later." = "שגיאה בהתקנה. אנא נסה שנית במועד מרוחר יותר."; + +"An error occurred in retrieving update information. Please try again later." = "שגיאה בקבלת מידע על עדכונים. אנא נסה שנית במועד מרוחר יותר."; + +"An error occurred while extracting the archive. Please try again later." = "שגיאה בפתיחת הקובת המקווץ. אנא נסה שנית במועד מרוחר יותר."; + +"An error occurred while trying to download the file. Please try again later." = "שגיאה בהורדת הקובץ. אנא נסה שנית במועד מאוחר יותר."; + +"An update is already in progress!" = "עדכון כבר מתבצע"; + +"Cancel" = "ביטול"; + +"Check for updates on startup?" = "לבדוק עדכונים באתחול?"; + +"Downloading update..." = "מוריד עדכון…"; + +"Extracting update..." = "פותח עדכון…"; + +"Install and Relaunch" = "התקן ואתחל"; + +"Installing update..." = "מתקין עידכון…"; + +"No" = "לא"; + +"OK" = "אישור"; + +"Ready to Install" = "מוכן להתקנה!"; + +"Update Error!" = "שגיאה בעדכון!"; + +"Updating %@" = "מעדכן %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu." = "האם ברצונך ש%@ יבדוק עדכונים באתחול? אם לא, תוכל לבדוק ידנית מתפריט התכנה."; + +"Yes" = "כן"; + +"You're up to date!" = "התכנה עדכנית!"; + diff --git a/Sparkle/hu.lproj/Sparkle.strings b/Sparkle/hu.lproj/Sparkle.strings new file mode 100644 index 00000000..a9b47b25 --- /dev/null +++ b/Sparkle/hu.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%1$@ of %2$@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%1$@ %2$@ has been installed and will be ready to use next time %3$@ starts! Would you like to relaunch now?"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ is currently the newest version available."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%1$@ %2$@ is now available (you have %3$@). Would you like to download it now?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help."; + +"A new version of %@ has been installed!" = "A new version of %@ has been installed!"; + +"A new version of %@ is available!" = "A new version of %@ is available!"; + +"An error occurred during installation. Please try again later." = "An error occurred during installation. Please try again later."; + +"An error occurred in retrieving update information. Please try again later." = "An error occurred in retrieving update information. Please try again later."; + +"An error occurred while extracting the archive. Please try again later." = "An error occurred while extracting the archive. Please try again later."; + +"An error occurred while trying to download the file. Please try again later." = "An error occurred while trying to download the file. Please try again later."; + +"An update is already in progress!" = "An update is already in progress!"; + +"Cancel" = "Cancel"; + +"Check for updates on startup?" = "Check for updates on startup?"; + +"Downloading update..." = "Downloading update…"; + +"Extracting update..." = "Extracting update…"; + +"Install and Relaunch" = "Install and Relaunch"; + +"Installing update..." = "Installing update…"; + +"No" = "No"; + +"OK" = "OK"; + +"Ready to Install" = "Ready to Install"; + +"Update Error!" = "Update Error!"; + +"Updating %@" = "Updating %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu." = "Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu."; + +"Yes" = "Yes"; + +"You're up to date!" = "You're up to date!"; + diff --git a/Sparkle/id.lproj/Sparkle.strings b/Sparkle/id.lproj/Sparkle.strings new file mode 100644 index 00000000..a9b47b25 --- /dev/null +++ b/Sparkle/id.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%1$@ of %2$@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%1$@ %2$@ has been installed and will be ready to use next time %3$@ starts! Would you like to relaunch now?"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ is currently the newest version available."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%1$@ %2$@ is now available (you have %3$@). Would you like to download it now?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help."; + +"A new version of %@ has been installed!" = "A new version of %@ has been installed!"; + +"A new version of %@ is available!" = "A new version of %@ is available!"; + +"An error occurred during installation. Please try again later." = "An error occurred during installation. Please try again later."; + +"An error occurred in retrieving update information. Please try again later." = "An error occurred in retrieving update information. Please try again later."; + +"An error occurred while extracting the archive. Please try again later." = "An error occurred while extracting the archive. Please try again later."; + +"An error occurred while trying to download the file. Please try again later." = "An error occurred while trying to download the file. Please try again later."; + +"An update is already in progress!" = "An update is already in progress!"; + +"Cancel" = "Cancel"; + +"Check for updates on startup?" = "Check for updates on startup?"; + +"Downloading update..." = "Downloading update…"; + +"Extracting update..." = "Extracting update…"; + +"Install and Relaunch" = "Install and Relaunch"; + +"Installing update..." = "Installing update…"; + +"No" = "No"; + +"OK" = "OK"; + +"Ready to Install" = "Ready to Install"; + +"Update Error!" = "Update Error!"; + +"Updating %@" = "Updating %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu." = "Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu."; + +"Yes" = "Yes"; + +"You're up to date!" = "You're up to date!"; + diff --git a/Sparkle/is.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/is.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..1e8542ec --- /dev/null +++ b/Sparkle/is.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/is.lproj/SUUpdateAlert.xib b/Sparkle/is.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..6dba3438 --- /dev/null +++ b/Sparkle/is.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/is.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/is.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..af4e9524 --- /dev/null +++ b/Sparkle/is.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Upplýsingar úr nafnlausum kerfisskýrslum eru notaðar til að hjálpa okkur við framtíðarþróun hugbúnaðarins. Ekki hika við að hafa samband ef spurningar vakna um þetta. + +Þetta eru upplýsingarnar sem yrðu sendar: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/is.lproj/Sparkle.strings b/Sparkle/is.lproj/Sparkle.strings new file mode 100644 index 00000000..da6f2c63 --- /dev/null +++ b/Sparkle/is.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%@ af %@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%@ %@ hefur verið sett inn og verður tiltækt við næstu ræsingu %@. Viltu endurræsa núna?"; + +"%@ %@ is currently the newest version available." = "%@ %@ er nýjasta útgáfan sem er fáanleg þessa stundina."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Útgafa %2$@ af %1$@ er nú fáanlegt en þú ert með %3$@. Viltu sækja hana núna?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "%@ hefur ekki heimild til að skrifa í möppu forritsins! Ertu að keyra forritið af diskmynd? Ef ekki skaltu ráðfæra þig við kerfisstjórann."; + +"A new version of %@ has been installed!" = "Ný útgáfa af %@ hefur verið sett inn!"; + +"A new version of %@ is available!" = "Ný útgáfa af %@ er fáanleg!"; + +"An error occurred during installation. Please try again later." = "Villa kom upp við innsetningu. Vinsamlegast reynið síðar."; + +"An error occurred in retrieving update information. Please try again later." = "Villa kom upp við að sækja uppfærsluupplýsingar. Vinsamlegast reynið síðar."; + +"An error occurred while extracting the archive. Please try again later." = "Villa kom upp við afþjöppun skráarsafns. Vinsamlegast reynið síðar."; + +"An error occurred while trying to download the file. Please try again later." = "Villa kom upp þegar reynt var að sækja skrána. Vinsamlegast reynið síðar"; + +"An update is already in progress!" = "Uppfærsla er þegar í gangi!"; + +"Cancel" = "Hætta við"; + +"Check for updates on startup?" = "Athuga með uppfærslur í ræsingu?"; + +"Downloading update..." = "Sækja nýja útgáfu…"; + +"Extracting update..." = "Afþjappa uppfærslu…"; + +"Install and Relaunch" = "Setja upp og ræsa aftur"; + +"Installing update..." = "Set inn uppfærslu…"; + +"Ready to Install" = "Innsetning reiðubúin"; + +"No" = "Nei"; + +"OK" = "Í lagi"; + +"Update Error!" = "Villa við uppfærslu!"; + +"Updating %@" = "Uppfæri %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the %@ menu." = "Viltu að forritið %@ athugi með uppfærslur þegar það er ræst? Ef ekki getur þú athugað handvirkt af %@-valblaðinu."; + +"Yes" = "Já"; + +"You're up to date!" = "Það er allt uppfært hjá þér!"; + diff --git a/Sparkle/it.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/it.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..30f0c866 --- /dev/null +++ b/Sparkle/it.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/it.lproj/SUUpdateAlert.xib b/Sparkle/it.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..79b06d5b --- /dev/null +++ b/Sparkle/it.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/it.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/it.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..582aa13c --- /dev/null +++ b/Sparkle/it.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Le informazioni del profilo di sistema anomino sono utilizzate per aiutarci in futuri lavori di sviluppo. Contattaci se hai dei quesiti sull’argomento. + +Queste sono le informazioni che verrebbero inviate: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/it.lproj/Sparkle.strings b/Sparkle/it.lproj/Sparkle.strings new file mode 100644 index 00000000..096e6caa --- /dev/null +++ b/Sparkle/it.lproj/Sparkle.strings @@ -0,0 +1,75 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ è stato scaricato ed è pronto per essere utilizzato! Desideri installare e riavviare %1$@ ora?"; + +"%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." = "Impossibile aggiornare %1$@ quando viene eseguito da un volume di sola lettura come un’immagine disco o un’unità ottica. Spostare %1$@ nella Cartella Applicazioni, riavviarlo e riprovare."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ è la versione più recente attualmente disponibile."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ è disponbile; disponi della versione %3$@. Desideri eseguire l’aggiornamento ora?"; + +"%@ downloaded" = "%@ scaricato"; + +"%@ of %@" = "%1$@ di %2$@"; + +"A new version of %@ is available!" = "E’ disponibile una nuova versione di %@!"; + +"A new version of %@ is ready to install!" = "Una nuova versione di %@ è pronta per essere installata!"; + +"An error occurred in retrieving update information. Please try again later." = "Si è verificato un errore durante il recupero delle informazioni sull’aggiornamento. Riprova in seguito."; + +"An error occurred while downloading the update. Please try again later." = "Si è verificato un errore durante lo scaricamento dell’aggiornamento. Riprova in seguito."; + +"An error occurred while extracting the archive. Please try again later." = "Si è verificato un errore durante l’estrazione dell’archivio. Riprova in seguito."; + +"An error occurred while installing the update. Please try again later." = "Si è verificato un errore durante l’installazione dell’aggiornamento. Riprova in seguito."; + +"An error occurred while parsing the update feed." = "Si è verificato un errore durante la lettura del feed di aggiornamento."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Si è verificato un errore al riavvio di %1$@. La nuova versione sarà comunque disponibile alla prossima esecuzione di %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Annulla"; + +"Cancel Update" = "Annulla Aggiornamento"; + +"Checking for updates..." = "Controllo aggiornamenti in corso…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Scaricamento dell’aggiornamento…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Estrazione dell’aggiornamento…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Installa e Riavvia"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Installazione aggiornamento in corso…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Pronto per l’installazione"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Desideri che %1$@ verifichi gli aggiornamenti automaticamente? Puoi effettuare la verifica manualmente dal menu di %1$@."; + +"Update Error!" = "Errore di Aggiornamento!"; + +"Updating %@" = "Aggiornamento di %@"; + +"You already have the newest version of %@." = "Disponi della versione più recente di %@."; + +"You're up-to-date!" = "La tua applicazione è aggiornata!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Ulteriori informazioni…"; diff --git a/Sparkle/ja.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/ja.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..b9afe24a --- /dev/null +++ b/Sparkle/ja.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ja.lproj/SUUpdateAlert.xib b/Sparkle/ja.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..675fd050 --- /dev/null +++ b/Sparkle/ja.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ja.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/ja.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..0648c96b --- /dev/null +++ b/Sparkle/ja.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + 匿名のシステムプロファイル情報は、今後我が社の企画開発を計画する上で参考にさせていただきます。この件に関してご質問があれば、ご連絡下さい。 + +以下の情報を送信してください: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/ja.lproj/Sparkle.strings b/Sparkle/ja.lproj/Sparkle.strings new file mode 100644 index 00000000..dfe98bee --- /dev/null +++ b/Sparkle/ja.lproj/Sparkle.strings @@ -0,0 +1,85 @@ +"%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ がダウンロードされました! これは重要なアップデートです。今すぐ %1$@ をインストールして再起動しますか?"; + +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ がダウンロードされました! 今すぐ %1$@ をインストールして再起動しますか?"; + +"%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." = "%1$@ は、ディスクイメージや光学式ドライブなどの読み出し専用ボリュームから起動している場合アップデートできません。%1$@ をアプリケーションフォルダに移動し、そこから再起動したあとやり直してください。"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ は現在入手できる最新バージョンです。"; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ が入手できます(使用中のバージョンは %3$@ です)。今すぐダウンロードしますか?"; + +"%@ downloaded" = "%@ ダウンロード済み"; + +"%@ of %@" = "%1$@ / %2$@"; + +"A new version of %@ is available!" = "新しいバージョンの %@ が入手できます!"; + +"A new version of %@ is ready to install!" = "新しいバージョンの %@ が今すぐインストールできます!"; + +"An error occurred in retrieving update information. Please try again later." = "アップデート情報の取得中にエラーが発生しました。あとでやり直してください。"; + +"An error occurred while downloading the update. Please try again later." = "アップデートをダウンロード中にエラーが発生しました。あとでやり直してください。"; + +"An error occurred while extracting the archive. Please try again later." = "アーカイブの展開中にエラーが発生しました。あとでやり直してください。"; + +"An error occurred while installing the update. Please try again later." = "アップデートをインストール中にエラーが発生しました。あとでやり直してください。"; + +"An error occurred while parsing the update feed." = "アップデートフィードを解析中にエラーが発生しました。"; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "%1$@ を再起動中にエラーが発生しましたが、次回 %1$@ の実行時に新しいバージョンが利用できます。"; + +"An important update to %@ is ready to install" = "%@ の重要なアップデートがインストールできます。"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "キャンセル"; + +"Cancel Update" = "アップデートを中止"; + +"Checking for updates..." = "アップデートを確認しています…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "アップデートをダウンロードしています…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "アップデートを展開しています…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "インストールして再起動"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "アップデートをインストールしています…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "詳しい情報…"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "OK"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "インストールできます"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = " %1$@ のアップデートを自動で確認しますか? アップデートは %1$@ メニューから手動でいつでも確認することができます。"; + +"The update is improperly signed." = "このアップデートは無効な署名が含まれています。"; + +"Update Error!" = "アップデートエラー!"; + +"Updating %@" = "%@ をアップデート中"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "すでに最新バージョンの %@ を使用しています。"; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "最新版を使用しています!"; diff --git a/Sparkle/ko.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/ko.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..8797c38a --- /dev/null +++ b/Sparkle/ko.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ko.lproj/SUUpdateAlert.xib b/Sparkle/ko.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..4cddbc2a --- /dev/null +++ b/Sparkle/ko.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ko.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/ko.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..9c8d5110 --- /dev/null +++ b/Sparkle/ko.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + 익명으로 보내지는 시스템 정보로 차후 프로그램 개발에 도움이 될 수 있습니다. 질문이 있으시면 연락 주십시오. + +아래 정보가 전송될 것입니다. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/ko.lproj/Sparkle.strings b/Sparkle/ko.lproj/Sparkle.strings new file mode 100644 index 00000000..50a93997 --- /dev/null +++ b/Sparkle/ko.lproj/Sparkle.strings @@ -0,0 +1,71 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@이(가) 다운로드 되었습니다. 프로그램을 업데이트하고 재실행 하시겠습니까?"; + +"%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." = "%1$@이(가) 디스크 이미지나 CD 드라이브 같은 읽기 전용 볼륨에서 실행되고 있으므로 업데이트 할 수 없습니다. %1$@을(를) 응용프로그램 폴더로 이동하여 다시 실행해 주십시오."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@이(가) 현재 최신 버전입니다."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@이(가) 업데이트 되었습니다. (현재 버전 : %3$@) 다운로드 하시겠습니까?"; + +"%@ downloaded" = "%@ 다운로드 완료"; + +"%@ of %@" = "%1$@ / %2$@"; + +"A new version of %@ is available!" = "%@ 새 버전이 있습니다."; + +"A new version of %@ is ready to install!" = "%@ 새 버전을 설치할 준비가 되었습니다."; + +"An error occurred in retrieving update information. Please try again later." = "업데이트 정보를 수집하는 중 오류가 발생하였습니다. 나중에 다시 시도해 주십시오."; + +"An error occurred while downloading the update. Please try again later." = "업데이트를 다운로드 하는 중 오류가 발생하였습니다. 나중에 다시 시도해 주십시오."; + +"An error occurred while extracting the archive. Please try again later." = "압축 파일을 푸는 중 오류가 발생하였습니다. 나중에 다시 시도해 주십시오."; + +"An error occurred while installing the update. Please try again later." = "업데이트를 설치하는 중 오류가 발생하였습니다. 나중에 다시 시도해 주십시오."; + +"An error occurred while parsing the update feed." = "업데이트 피드를 분석하는 중 오류가 발생하였습니다."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "%1$@을(를) 재실행하는 중 오류가 발생하였습니다. 업데이트는 완료되었으므로 다음 실행시에는 새 버전으로 실행됩니다."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "취소"; + +"Cancel Update" = "업데이트 취소"; + +"Checking for updates..." = "업데이트 확인 중…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "다운로드 중…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "압축 푸는 중…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "설치 & 재실행"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "설치 중…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "확인"; + +"Ready to Install" = "설치 준비 완료"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "%1$@ 업데이트 확인을 자동으로 할까요? %1$@ 메뉴에서 수동 설정을 할 수 있습니다."; + +"Update Error!" = "업데이트 오류!"; + +"Updating %@" = "%@ 업데이트 중"; + +"You already have the newest version of %@." = "이미 %@ 최신 버전입니다."; + +"You're up to date!" = "최신 버전입니다."; + diff --git a/Sparkle/nb.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/nb.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..aa23477e --- /dev/null +++ b/Sparkle/nb.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/nb.lproj/SUUpdateAlert.xib b/Sparkle/nb.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..46dc0feb --- /dev/null +++ b/Sparkle/nb.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/nb.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/nb.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..54c7c1ac --- /dev/null +++ b/Sparkle/nb.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Den anonyme systemprofilen hjelper oss med å planlegge fremtidig utviklingsarbeid. Ta gjerne kontakt med oss hvis du har spørsmål om dette.
 +Følgende innhold vil bli sendt: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/nb.lproj/Sparkle.strings b/Sparkle/nb.lproj/Sparkle.strings new file mode 100644 index 00000000..db8a6c36 --- /dev/null +++ b/Sparkle/nb.lproj/Sparkle.strings @@ -0,0 +1,84 @@ +"%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ er lastet ned og er klar til bruk! Dette er en viktig oppdatering; ønsker du å installere og restarte %1$@ nå?"; + +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ er lastet ned og er klar til bruk! Ønsker du å installere og restarte %1$@ nå?"; + +"%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." = "%1$@ kan ikke oppdateres fra en 'bare lesbar' enhet som f.eks. en cd. Flytt %1$@ til Programmer-katalogen, start på ny og prøv igjen."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ er nyeste versjon."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ er nå tilgjengelig—du har %3$@. Ønsker du å laste ned og installere nå?"; + +"%@ downloaded" = "%@ lastet ned"; + +"%@ of %@" = "%1$@ av %2$@"; + +"A new version of %@ is available!" = "En ny versjon av %@ er tilgjengelig!"; + +"A new version of %@ is ready to install!" = "En ny versjon av %@ er klar for installering!"; + +"An error occurred in retrieving update information. Please try again later." = "En feil oppstod ved henting av oppdateringsinformasjon. Vennligst prøv igjen senere."; + +"An error occurred while downloading the update. Please try again later." = "En feil oppstod under nedlasting av oppdateringen. Vennligst prøv igjen senere."; + +"An error occurred while extracting the archive. Please try again later." = "En feil oppstod under utpakking av oppdateringen. Vennligst prøv igjen senere."; + +"An error occurred while installing the update. Please try again later." = "En feil oppstod under installering av opddateringen. Vennligst prøv igjen senere."; + +"An error occurred while parsing the update feed." = "En feil oppstod under lesing av oppdateringsstrømmen."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "En feil oppstod under omstart av %1$@, men den nyeste versjonen vil være tilgjengelig neste gang du starter %1$@."; + +"An important update to %@ is ready to install" = "En viktig oppdatering for %@ er klar til å installeres"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Avbryt"; + +"Cancel Update" = "Avbryt oppdateringen"; + +"Checking for updates..." = "Søker etter oppdateringer…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Laster ned oppdateringen…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Pakker ut oppdateringen…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Installer og start på ny"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Installerer oppdateringen…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "OK"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "Klar til å installere"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Skal %1$@ søke automatisk etter oppdateringer? Du kan når som helst søke manuelt fra %1$@-menyen."; + +"Update Error!" = "Feil ved oppdateringen!"; + +"Updating %@" = "Oppdaterer %@"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "Du har allerede nyeste versjon av %@."; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "Ingen nye oppdateringer"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "Mer info…"; + diff --git a/Sparkle/nl.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/nl.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..cc4b4589 --- /dev/null +++ b/Sparkle/nl.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/nl.lproj/SUUpdateAlert.xib b/Sparkle/nl.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..b730298f --- /dev/null +++ b/Sparkle/nl.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/nl.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/nl.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..a8585c6a --- /dev/null +++ b/Sparkle/nl.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Aan de hand van anonieme informatie over het systeemprofiel kunnen wij toekomstige ontwikkelingswerkzaamheden beter plannen. Neem contact met ons op als u hierover vragen hebt. + +Dit is de informatie die wordt verzonden: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/nl.lproj/Sparkle.strings b/Sparkle/nl.lproj/Sparkle.strings new file mode 100644 index 00000000..ffa3f0b8 --- /dev/null +++ b/Sparkle/nl.lproj/Sparkle.strings @@ -0,0 +1,80 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ is gedownload en is klaar voor gebruik! Wilt u %1$@ nu installeren en herstarten?"; + +"%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." = "%1$@ kan niet worden geupdate als het van een alleen-lezen volume, zoals een schijfkopie of CD, geopend is. Verplaats %1$@ naar de Map ’Programma’s’, herstart van daar, en probeer opnieuw."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ is momenteel de recentste versie."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ is nu beschikbaar—u heeft %3$@. Wilt u het nu downloaden?"; + +"%@ downloaded" = "%@ gedownload"; + +"%@ of %@" = "%1$@ van %2$@"; + +"A new version of %@ is available!" = "Een nieuwe versie van %@ is beschikbaar!"; + +"A new version of %@ is ready to install!" = "Een nieuwe versie van %@ is klaar om te installeren!"; + +"An error occurred in retrieving update information. Please try again later." = "Bij het ophalen van update-informatie deed zich een fout voor. Probeer alstublieft later opnieuw."; + +"An error occurred while downloading the update. Please try again later." = "Bij het downloaden deed zich een fout voor. Probeer alstublieft later opnieuw."; + +"An error occurred while extracting the archive. Please try again later." = "Bij het uitpakken van het archief deed zich een fout voor. Probeer alstublieft later opnieuw."; + +"An error occurred while installing the update. Please try again later." = "Bij het installeren van de update deed zich een fout voor. Probeer alstublieft later opnieuw."; + +"An error occurred while parsing the update feed." = "Bij het afhandelen van de update feed deed zich een fout voor."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Bij het herstarten van %1$@ deed zich een fout voor. Maar de nieuwe versie is beschikbaar de volgende keer u %1$@ opstart."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Annuleren"; + +"Cancel Update" = "Updaten annuleren"; + +"Checking for updates..." = "Controleren op updates …"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Downloaden update …"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Bezig met uitpakken van de update …"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Installeer en herstart"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Update installeren …"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "OK"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "Klaar om te installeren"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Zou %1$@ automatisch op updates moeten controleren? U kunt altijd nog handmatig controleren op updates via het %1$@ menu."; + +"Update Error!" = "Update-fout!"; + +"Updating %@" = "%@ updaten"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "U heeft al de nieuwste versie van %@."; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "U heeft de nieuwste versie!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Meer informatie …"; diff --git a/Sparkle/no.lproj/SUAutomaticUpdateAlert.strings b/Sparkle/no.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 00000000..56e7c661 --- /dev/null +++ b/Sparkle/no.lproj/SUAutomaticUpdateAlert.strings @@ -0,0 +1,12 @@ +/* NSWindow () : (oid:5) */ +"" = ""; + +/* NSButton (Automatically download and install updates in the future) : (oid:17) */ +"Automatically download and install updates in the future" = "Last ned og installer oppdateringer automatisk i fremtiden"; + +/* NSButton (Relaunch Later) : (oid:16) */ +"Relaunch Later" = "Omstart senere"; + +/* NSButton (Relaunch Now) : (oid:15) */ +"Relaunch Now" = "Omstart nå"; + diff --git a/Sparkle/no.lproj/SUUpdateAlert.strings b/Sparkle/no.lproj/SUUpdateAlert.strings new file mode 100644 index 00000000..0b412a5c --- /dev/null +++ b/Sparkle/no.lproj/SUUpdateAlert.strings @@ -0,0 +1,18 @@ +/* NSButton (Automatically download and install updates in the future) : (oid:92) */ +"Automatically download and install updates in the future" = "Automatisk nedlastning og installering i fremtiden"; + +/* NSButton (Install Update) : (oid:76) */ +"Install Update" = "Installer oppdatering"; + +/* NSTextField (Release Notes:) : (oid:17) */ +"Release Notes:" = "Vedrørende utgivelsen:"; + +/* NSButton (Remind Me Later) : (oid:22) */ +"Remind Me Later" = "Påminn meg senere"; + +/* NSButton (Skip This Version) : (oid:23) */ +"Skip This Version" = "Hopp over denne versjonen"; + +/* NSWindow (Software Update) : (oid:5) */ +"Software Update" = "Programvareoppdatering"; + diff --git a/Sparkle/no.lproj/Sparkle.strings b/Sparkle/no.lproj/Sparkle.strings new file mode 100644 index 00000000..866607cb --- /dev/null +++ b/Sparkle/no.lproj/Sparkle.strings @@ -0,0 +1,52 @@ +"%@ of %@" = "%1$@ of %2$@"; + +"%@ %@ has been installed and will be ready to use next time %@ starts! Would you like to relaunch now?" = "%1$@ %2$@ har blitt installert og er klar til bruk neste gang %3$@ starter opp! Vil du starte på nytt nå?"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ er den nyeste tilgjengelige versjonen."; + +"%@ %@ is now available (you have %@). Would you like to download it now?" = "%1$@ %2$@ er nå tilgjengelig (du har %3$@). Ønsker du å laste den ned nå?"; + +"%@ does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." = "%@ har ikke tilgangsrettigheter til å skrive til programmets filbane! Starter du fra en diskfil? Hvis ikke, spør din systemadministrator om hjelp."; + +"A new version of %@ has been installed!" = "En ny versjon av %@ har blitt installert!"; + +"A new version of %@ is available!" = "En ny versjon av %@ er tilgjengelig!"; + +"An error occurred during installation. Please try again later." = "Det skjedde en feil under installasjonen. Vennligst prøv igjen senere."; + +"An error occurred in retrieving update information. Please try again later." = "Det skjedde en feil ved henting av oppdateringsinformasjon. Vennligst prøv igjen senere."; + +"An error occurred while extracting the archive. Please try again later." = "Det skjedde en feil ved utpakking av filarkivet. Vennligst prøv igjen senere."; + +"An error occurred while trying to download the file. Please try again later." = "Det skjedde en feil under forsøket på å laste ned filen. Vennligst prøv igjen senere."; + +"An update is already in progress!" = "Oppdateringen er allerede igang!"; + +"Cancel" = "Avbryt"; + +"Check for updates on startup?" = "Vil du se etter oppdateringer ved oppstart?"; + +"Downloading update..." = "Laster ned oppdatering..."; + +"Extracting update..." = "Pakker ut oppdatering..."; + +"Install and Relaunch" = "Installer og start på nytt"; + +"Installing update..." = "Installerer oppdatering..."; + +"No" = "Nei"; + +"OK" = "OK"; + +"Ready to Install" = "Klar til å installere"; + +"Update Error!" = "Oppdateringsfeil!"; + +"Updating %@" = "Oppdaterer %@"; + +"Would you like %@ to check for updates on startup? If not, you can initiate the check manually from the application menu." = "Ønsker du at %@ skal se etter oppdateringer under oppstart? Hvis ikke kan du sette igang sjekkingen manuelt ifra programmenyen."; + +"Yes" = "Ja"; + +"You're up to date!" = "Du er oppdatert!"; + diff --git a/Sparkle/pl.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/pl.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..aa9cdc29 --- /dev/null +++ b/Sparkle/pl.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/pl.lproj/SUUpdateAlert.xib b/Sparkle/pl.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..5836777d --- /dev/null +++ b/Sparkle/pl.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/pl.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/pl.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..667e888c --- /dev/null +++ b/Sparkle/pl.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this. + +This is the information that would be sent: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/pl.lproj/Sparkle.strings b/Sparkle/pl.lproj/Sparkle.strings new file mode 100644 index 00000000..e8bc35c2 --- /dev/null +++ b/Sparkle/pl.lproj/Sparkle.strings @@ -0,0 +1,73 @@ +/* "%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?"; */ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ został pobrany i jest gotowy do użycia! Czy chciałbyś teraz zainstalować i ponownie uruchomić %1$@?"; + +/* "%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." = "%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."; */ +"%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." = "%1$@ nie może zostać zaktualizowany gdy jest uruchomiony z woluminu tylko do odczytu w stylu obraz dysku lub napęd optyczny. Przenieś %1$@ do teczki Programy, uruchom z nowej lokalizacji i spróbuj ponownie."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ jest najbardziej aktualną dostępną wersją."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ jest już dostępny (aktualnie posiadasz %3$@). Chciałbyś go teraz pobrać?"; + +"%@ downloaded" = "Pobrano %@"; + +"%@ of %@" = "%1$@ z %2$@"; + +"A new version of %@ is available!" = "Dostępna jest nowa wersja %@!"; + +"A new version of %@ is ready to install!" = "Nowa wersja %@ gotowa do zainstalowania!"; + +"An error occurred in retrieving update information. Please try again later." = "Błąd podczas pobierania informacji o uaktualnieniach. Spróbuj ponownie później."; + +"An error occurred while downloading the update. Please try again later." = "Błąd podczas pobierania uaktualnienia. Spróbuj ponownie później."; + +"An error occurred while extracting the archive. Please try again later." = "Błąd podczas rozpakowywania archiwum. Spróbuj ponownie później"; + +"An error occurred while installing the update. Please try again later." = "Błąd podczas instalowania uaktualnienia. Spróbuj ponownie później"; + +"An error occurred while parsing the update feed." = "Błąd podczas analizowania danych o uaktualnieniu."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Błąd podczas ponownego uruchomienia %1$@, ale nowa wersja będzie dostępna przy ponownym ręcznym uruchomieniu %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Anuluj"; + +"Cancel Update" = "Anuluj uaktualnianie"; + +"Checking for updates..." = "Sprawdzam uaktualnienia…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Pobieram uaktualnienia…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Rozpakowuję uaktualnienia…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Zainstaluj i uruchom ponownie"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Instalowanie uaktualnienia…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Gotowy do instalacji"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Czy %1$@ powinien automatycznie sprawdzać uaktualnienia? Zawsze możesz to samemu sprawdzić z menu %1$@."; + +"Update Error!" = "Błąd uaktualniania!"; + +"Updating %@" = "Uaktualniam %@"; + +"You already have the newest version of %@." = "Posiadasz najnowszą wersję %@."; + +"You're up to date!" = "Jesteś na bieżąco!"; + diff --git a/Sparkle/pt_BR.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/pt_BR.lproj/SUAutomaticUpdateAlert.xib new file mode 100755 index 00000000..3660b403 --- /dev/null +++ b/Sparkle/pt_BR.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/pt_BR.lproj/SUUpdateAlert.xib b/Sparkle/pt_BR.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..2031b20f --- /dev/null +++ b/Sparkle/pt_BR.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/pt_BR.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/pt_BR.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..5ab699bb --- /dev/null +++ b/Sparkle/pt_BR.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Informações anônimas do sistema são utilizadas para nos ajudar a planejar o desenvolvimento futuro do aplicativo. Caso você tenha dúvidas sobre esse procedimento, por favor contate-nos. + +A seguinte informação seria enviada: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/pt_BR.lproj/Sparkle.strings b/Sparkle/pt_BR.lproj/Sparkle.strings new file mode 100755 index 00000000..a8c80f4b --- /dev/null +++ b/Sparkle/pt_BR.lproj/Sparkle.strings @@ -0,0 +1,71 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ foi baixado e está pronto para uso! Gostaria de instalar e reiniciar o %1$@ agora?"; + +"%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." = "%1$@ não pode ser atualizado enquanto for executado a partir de um volume somente de leitura, como uma imagem de disco ou CD/DVD. Mova %1$@ para a pasta Aplicativos, reinicie-o e tente novamente."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ é a versão mais recente disponível."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ está disponível--sua versão é %3$@. Gostaria de baixá-lo agora?"; + +"%@ downloaded" = "%@ baixado"; + +"%@ of %@" = "%1$@ de %2$@"; + +"A new version of %@ is available!" = "Uma nova versão do %@ está disponível!"; + +"A new version of %@ is ready to install!" = "Uma nova versão do %@ está pronta para ser instalada!"; + +"An error occurred in retrieving update information. Please try again later." = "Ocorreu um erro ao buscar atualizações. Tente novamente mais tarde."; + +"An error occurred while downloading the update. Please try again later." = "Ocorreu um erro ao baixar a atualização. Tente novamente mais tarde."; + +"An error occurred while extracting the archive. Please try again later." = "Ocorreu um erro ao extrair o arquivo. Tente novamente mais tarde."; + +"An error occurred while installing the update. Please try again later." = "Ocorreu um erro ao instalar a atualização. Tente novamente mais tarde."; + +"An error occurred while parsing the update feed." = "Ocorreu um erro ao analisar a fonte de atualização."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Ocorreu um erro ao reiniciar o %1$@. A nova versão estará disponível da próxima vez que você abrir o %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Cancelar"; + +"Cancel Update" = "Cancelar Atualização"; + +"Checking for updates..." = "Buscando atualizações…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Baixando atualização…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Extraindo atualização…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Instalar e Reiniciar"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Instalando atualização…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Pronto para Instalar"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Gostaria que %1$@ buscasse atualizações automaticamente? Você pode buscar por atualizações manualmente, através do menu %1$@."; + +"Update Error!" = "Erro na Atualização!"; + +"Updating %@" = "Atualizando %@"; + +"You already have the newest version of %@." = "Você já possui a versão mais recente do %@."; + +"You're up to date!" = "Você está atualizado!"; + diff --git a/Sparkle/pt_PT.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/pt_PT.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..3aa21b7d --- /dev/null +++ b/Sparkle/pt_PT.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/pt_PT.lproj/SUUpdateAlert.xib b/Sparkle/pt_PT.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..865cdbf1 --- /dev/null +++ b/Sparkle/pt_PT.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/pt_PT.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/pt_PT.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..258fed2f --- /dev/null +++ b/Sparkle/pt_PT.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + A informação anónima do perfil de sistema é usada para no futuro nos ajudar a planear o trabalho de desenvolvimento. Por favor contacte-nos se tiver alguma questão acerca deste assunto. + +Esta é a informação que seria enviada: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/pt_PT.lproj/Sparkle.strings b/Sparkle/pt_PT.lproj/Sparkle.strings new file mode 100644 index 00000000..725628cd --- /dev/null +++ b/Sparkle/pt_PT.lproj/Sparkle.strings @@ -0,0 +1,71 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "O %1$@ %2$@ foi transferido e está pronto a instalar! Gostaria de o fazer agora e reiniciar o %1$@ posteriormente?"; + +"%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." = "O %1$@ não pode ser actualizado quando estiver a ser executado a partir de um volume apenas de leitura como uma imagem de disco ou disco óptico. Mova o %1$@ para a sua pasta Aplicações, reinicie-o aí e tente novamente."; + +"%@ %@ is currently the newest version available." = "O %1$@ %2$@ é neste momento a versão mais recente disponível."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "O %1$@ %2$@ está agora disponível e tem a versão %3$@. Gostaria de o transferir agora?"; + +"%@ downloaded" = "%@ transferido"; + +"%@ of %@" = "%1$@ de %2$@"; + +"A new version of %@ is available!" = "Uma nova versão do %@ está dísponível!"; + +"A new version of %@ is ready to install!" = "Uma nova versão do %@ está pronta a instalar!"; + +"An error occurred in retrieving update information. Please try again later." = "Ocorreu um erro ao recolher informação sobre as actualizações disponíveis. Por favor tente novamente mais tarde."; + +"An error occurred while downloading the update. Please try again later." = "Ocorreu um erro ao transferir a actualização. Por favor novamente tente mais tarde."; + +"An error occurred while extracting the archive. Please try again later." = "Ocorreu um erro ao extrair o arquivo. Por favor novamente tente mais tarde."; + +"An error occurred while installing the update. Please try again later." = "Ocorreu um erro ao instalar a actualização. Por favor novamente tente mais tarde."; + +"An error occurred while parsing the update feed." = "Ocorrer um erro ao processar o feed de actualização."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Ocorreu um erro ao reiniciar o %1$@, mas a nova versão estará disponível na próxima vez que iniciar o %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Cancelar"; + +"Cancel Update" = "Cancelar actualização"; + +"Checking for updates..." = "A procurar actualizações…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "A transferir actualização…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "A extrair actualização…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Instalar e reiniciar"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "A instalar actualização…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Pronto para instalar"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Deverá o %1$@ procurar por actualizações automaticamente? Pode sempre procurar actualizações manualmente a partir do menu do %1$@."; + +"Update Error!" = "Erro na actualização!"; + +"Updating %@" = "A actualizar o %@"; + +"You already have the newest version of %@." = "Já tem a versão mais recente do %@."; + +"You're up-to-date!" = "Está actualizado!"; + diff --git a/Sparkle/ro.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/ro.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..82772f84 --- /dev/null +++ b/Sparkle/ro.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ro.lproj/SUUpdateAlert.xib b/Sparkle/ro.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..3f652c77 --- /dev/null +++ b/Sparkle/ro.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ro.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/ro.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..21712d37 --- /dev/null +++ b/Sparkle/ro.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this. + +This is the information that would be sent: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/ro.lproj/Sparkle.strings b/Sparkle/ro.lproj/Sparkle.strings new file mode 100644 index 00000000..648000f7 --- /dev/null +++ b/Sparkle/ro.lproj/Sparkle.strings @@ -0,0 +1,85 @@ + + +"%1$@ %2$@ has been downloaded and is ready to use! This is an important update; would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ a fost descărcată și este gata de utilizare! Aceasta este o actualizare importantă; dorești să o instalezi și să relansați %1$@ acum?"; + +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ a fost descărcată și este gata de utilizare! Dorești să o instalezi și să relansați %1$@ acum?"; + +"%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." = "%1$@ nu poate fi actualizată atunci când a fost pornită de pe un volum read-only ca o imagine disc sau o unitate optică. Mută %1$@ în directorul Aplicații, repornește-o de acolo și încearcă din nou."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ este cea ultima versiune disponibilă."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ este disponibilă—tu ai %3$@. Dorești să o descărcarci acum?"; + +"%@ downloaded" = "%@ descărcat"; + +"%@ of %@" = "%1$@ din %2$@"; + +"A new version of %@ is available!" = "O nouă versiune pentru %@ este disponibilă!"; + +"A new version of %@ is ready to install!" = "O nouă versiune pentru %@ este gata de instalare!"; + +"An error occurred in retrieving update information. Please try again later." = "A apărut o eroare în timpul preluari informaţiilor pentru actualizare. Te rog încercă din nou mai târziu."; + +"An error occurred while downloading the update. Please try again later." = "A apărut o eroare în timp ce se descărca actualizărea. Te rog încercă din nou mai târziu."; + +"An error occurred while extracting the archive. Please try again later." = "A apărut o eroare în timpul dezarhivării. Te rog încercă din nou mai târziu."; + +"An error occurred while installing the update. Please try again later." = "A apărut o eroare în timpul instalări actualizări. Te rog încercă din nou mai târziu."; + +"An error occurred while parsing the update feed." = "A apărut o eroare în timpul citiri feed-ului de actualizare."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "A apărut o eroare în timpul relansării aplicației %1$@, dar noua versiune va fii disponibilă data viitoare când vei reporni %1$@."; + +"An important update to %@ is ready to install" = "O actualizare importantă pentru %@ este gata pentru a fi instalată"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Anulează"; + +"Cancel Update" = "Anulează actualizarea"; + +"Checking for updates..." = "Verifică de actualizări…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Descarcă actualizarea…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Dezarhivează actualizarea…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Instalează și Redeschide"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Instalează actualizarea…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "OK"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "Pregatit pentru a instala"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "%1$@ ar trebui ca să caute în mod automat pentru actualizări? Puteți verifica mereu pentru actualizări din meniul %1$@."; + +"Update Error!" = "Eroare Actualizare!"; + +"Updating %@" = "Actualizează %@"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "Ai cea mai nouă versiune de %@."; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "Ai ultima versiune!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "Află mai multe…"; diff --git a/Sparkle/ru.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/ru.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..250e3344 --- /dev/null +++ b/Sparkle/ru.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ru.lproj/SUUpdateAlert.xib b/Sparkle/ru.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..6f36ee82 --- /dev/null +++ b/Sparkle/ru.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/ru.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/ru.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..5217d7b8 --- /dev/null +++ b/Sparkle/ru.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Использование анонимного профиля системы помогает нам в планировании будущей работы по разработке. Если у вас есть какие-либо вопросы по этой теме, обращайтесь к нам. + +Это информация, предназначенная для отправления: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/ru.lproj/Sparkle.strings b/Sparkle/ru.lproj/Sparkle.strings new file mode 100644 index 00000000..80ba0f6c --- /dev/null +++ b/Sparkle/ru.lproj/Sparkle.strings @@ -0,0 +1,75 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ загружен и готов к использованию! Хотите установить и перезапустить %1$@?"; + +"%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." = "Во время работы %1$@ с тома, предназначенного только для чтения, как например, образа диска или накопителя на оптических дисках, его невозможно обновить. Переместите %1$@ в Папку приложений, перезапустите его оттуда и повторите попытку."; + +"%@ %@ is currently the newest version available." = "В настоящий момент %1$@ %2$@ является новейшей версией."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ теперь доступен – вы имеете %3$@. Хотите загрузить его сейчас?"; + +"%@ downloaded" = "%@ загружено"; + +"%@ of %@" = "%1$@ из %2$@"; + +"A new version of %@ is available!" = "Имеется новая версия %@!"; + +"A new version of %@ is ready to install!" = "Новая версия %@ готова к установке!"; + +"An error occurred in retrieving update information. Please try again later." = "Произошла ошибка при извлечении информации обновления. Повторите попытку позже."; + +"An error occurred while downloading the update. Please try again later." = "Произошла ошибка при загрузке обновления. Повторите попытку позже."; + +"An error occurred while extracting the archive. Please try again later." = "Произошла ошибка при извлечении архива. Повторите попытку позже."; + +"An error occurred while installing the update. Please try again later." = "Произошла ошибка при установке обновления. Повторите попытку позже."; + +"An error occurred while parsing the update feed." = "Ошибка произошла при извлечении канала обновления."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Произошла ошибка при перезапуске %1$@, но при последующем запуске %1$@ будет доступна новая версия."; + +/* the unit for bytes */ +"B" = "Б"; + +"Cancel" = "Отменить"; + +"Cancel Update" = "Отменить обновление"; + +"Checking for updates..." = "Проверяю наличие обновлений…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Загружаю обновление…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Извлекаю обновление…"; + +/* the unit for gigabytes */ +"GB" = "ГБ"; + +"Install and Relaunch" = "Установить и перезапустить"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Устанавливаю обновление…"; + +/* the unit for kilobytes */ +"KB" = "КБ"; + +/* the unit for megabytes */ +"MB" = "МБ"; + +"OK" = "OK"; + +"Ready to Install" = "Готов к установке"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Должен ли %1$@ выполнять автоматическую проверку обновлений? Вы всегда можете выполнять проверку обновлений вручную в меню %1$@."; + +"Update Error!" = "Ошибка при обновлении!"; + +"Updating %@" = "Обновляю %@"; + +"You already have the newest version of %@." = "Вы уже имеете самую новую версию %@."; + +"You're up-to-date!" = "У вас все обновлено!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Узнать больше…"; diff --git a/Sparkle/sk.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/sk.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..c999eaab --- /dev/null +++ b/Sparkle/sk.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/sk.lproj/SUUpdateAlert.xib b/Sparkle/sk.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..c047f054 --- /dev/null +++ b/Sparkle/sk.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/sk.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/sk.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..3f95cb61 --- /dev/null +++ b/Sparkle/sk.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonymný profil systému nám umožní zlepšiť plánovanie budúceho vývoja aplikácie. Ak máte ohľadom tohto akékoľvek otázky, neváhajte a kontaktujte nás. + +Odosielané budú nasledujúce informácie: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/sk.lproj/Sparkle.strings b/Sparkle/sk.lproj/Sparkle.strings new file mode 100644 index 00000000..4efb5311 --- /dev/null +++ b/Sparkle/sk.lproj/Sparkle.strings @@ -0,0 +1,71 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "Aplikácia %1$@ %2$@ bola prevzatá a je pripravená na použitie! Chcete teraz nainštalovať a následne znovu spustiť %1$@?"; + +"%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." = "Aplikáciu %1$@ nemožno aktualizovať, ak je spustená zo zväzku s právami len na čítanie (napríklad z obrazu disku alebo optického disku). Presuňte aplikáciu %1$@ do priečinka Applications, spustite ju odtiaľ a potom znova skúste aktualizáciu."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@\nje najnovšia dostupná verzia."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Je dostupná aplikácia %1$@ %2$@ — máte %3$@. Chcete ju prevziať teraz?"; + +"%@ downloaded" = "%@ prevzaté"; + +"%@ of %@" = "%1$@ z %2$@"; + +"A new version of %@ is available!" = "Je dostupná nová verzia aplikácie %@!"; + +"A new version of %@ is ready to install!" = "Nová verzia aplikácie %@ je pripravená na inštaláciu!"; + +"An error occurred in retrieving update information. Please try again later." = "Pri získavaní informácie o aktualizácii sa vyskytla chyba. Skúste neskôr."; + +"An error occurred while downloading the update. Please try again later." = "Pri preberaní aktualizácie sa vyskytla chyba. Skúste neskôr."; + +"An error occurred while extracting the archive. Please try again later." = "Pri rozbaľovaní archívu sa vyskytla chyba. Skúste neskôr."; + +"An error occurred while installing the update. Please try again later." = "Pri inštalácii aktualizácie sa vyskytla chyba. Skúste neskôr."; + +"An error occurred while parsing the update feed." = "Pri analyzovaní aktualizácie sa vyskytla chyba."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Pri spustení %1$@ sa vyskytla chyba, avšak nová verzia bude dostupná pri opätovnom štarte %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Zrušiť"; + +"Cancel Update" = "Zrušiť aktualizáciu"; + +"Checking for updates..." = "Kontrolujú sa aktualizácie…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Preberá sa aktualizácia…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Rozbaľuje sa aktualizácia…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Inštalovať a znovu spustiť"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Inštaluje sa aktualizácia…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Pripravené na inštaláciu"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Môže %1$@ automaticky kontrolovať aktualizácie? Kedykoľvek ich môžete z ponuky %1$@ skontrolovať aj manuálne."; + +"Update Error!" = "Chyba aktualizácie!"; + +"Updating %@" = "Aktualizuje sa %@"; + +"You already have the newest version of %@." = "Máte aktuálnu verziu aplikácie %@."; + +"You're up to date!" = "Máte aktuálnu verziu!"; +"You're up-to-date!" = "Máte aktuálnu verziu!"; diff --git a/Sparkle/sl.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/sl.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..605ee9ae --- /dev/null +++ b/Sparkle/sl.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/sl.lproj/SUUpdateAlert.xib b/Sparkle/sl.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..0021bda7 --- /dev/null +++ b/Sparkle/sl.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/sl.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/sl.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..4694fee9 --- /dev/null +++ b/Sparkle/sl.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonimni profil sistema se uporablja za načrtovanje nadaljnega razvoja programa. V primeru vprašanj nas lahko kontaktirate. + +Pošljejo se sledeče informacije: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/sl.lproj/Sparkle.strings b/Sparkle/sl.lproj/Sparkle.strings similarity index 76% rename from sl.lproj/Sparkle.strings rename to Sparkle/sl.lproj/Sparkle.strings index 13f89cda..13d790b0 100644 --- a/sl.lproj/Sparkle.strings +++ b/Sparkle/sl.lproj/Sparkle.strings @@ -1,55 +1,38 @@ -/* 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. */ @@ -61,7 +44,6 @@ /* 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. */ @@ -73,23 +55,16 @@ /* 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 +"You're up-to-date!" = "Uporabljate zadnjo verzijo."; diff --git a/Sparkle/sv.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/sv.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..4d402724 --- /dev/null +++ b/Sparkle/sv.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/sv.lproj/SUUpdateAlert.xib b/Sparkle/sv.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..5e55383e --- /dev/null +++ b/Sparkle/sv.lproj/SUUpdateAlert.xib @@ -0,0 +1,233 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/sv.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/sv.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..5f058e21 --- /dev/null +++ b/Sparkle/sv.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Leta efter uppdateringar automatiskt? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Anonym systemprofilinformation används för att hjälpa oss att planera framtida utvecklingsarbete. Vänligen kontakta oss ifall du har några frågot om detta. + +Detta är informationen som skulle sändas: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/sv.lproj/Sparkle.strings b/Sparkle/sv.lproj/Sparkle.strings new file mode 100644 index 00000000..ab47f40a --- /dev/null +++ b/Sparkle/sv.lproj/Sparkle.strings @@ -0,0 +1,75 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ har hämtats och är klar att använda! Vill du installera det och starta om %1$@ nu?"; + +"%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." = "%1$@ kan inte uppdateras när det körs från en skrivskyddad volym som en skivavbild eller en optisk enhet. Flytta %1$@ till mappen Program, starta om det därifrån, och försök igen."; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ är för närvarande den senaste tillgängliga versionen."; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ finns nu tillgänglig—du har %3$@. Vill hämta uppdateringen nu?"; + +"%@ downloaded" = "%@ hämtat"; + +"%@ of %@" = "%1$@ av %2$@"; + +"A new version of %@ is available!" = "En ny version av %@ finns tillgänglig!"; + +"A new version of %@ is ready to install!" = "En ny version av %@ är redo att installeras!"; + +"An error occurred in retrieving update information. Please try again later." = "Ett fel uppstod vid hämtning av information om uppdateringar. Försök igen senare."; + +"An error occurred while downloading the update. Please try again later." = "Ett fel uppstod vid hämtning av uppdateringen. Försök igen senare."; + +"An error occurred while extracting the archive. Please try again later." = "Ett fel uppstod vid extrahering av arkivet. Försök igen senare."; + +"An error occurred while installing the update. Please try again later." = "Ett fel uppstod vid installationen av uppdateringen. Försök igen senare."; + +"An error occurred while parsing the update feed." = "Ett fel uppstod vid tolkning av uppdateringslänken."; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Ett fel uppstod när %1$@ skulle startas om, men den nya versionen kommer att finnas tillgänglig nästa gång du kör %1$@."; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "Avbryt"; + +"Cancel Update" = "Avbryt uppdatering"; + +"Checking for updates..." = "Letar efter uppdateringar…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Hämtar uppdatering…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Extraherar uppdatering…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "Installera och starta om"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Installerar uppdatering…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "OK"; + +"Ready to Install" = "Redo att installera"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Ska %1$@ leta efter uppdateringar automatiskt? Du kan alltid leta efter uppdateringar manuellt från %1$@-menyn."; + +"Update Error!" = "Uppdateringsfel!"; + +"Updating %@" = "Uppdaterar %@"; + +"You already have the newest version of %@." = "Du har redan den senaste versionen av %@."; + +"You're up-to-date!" = "Du är uppdaterad!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Mer info…"; diff --git a/Sparkle/th.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/th.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..e1724b95 --- /dev/null +++ b/Sparkle/th.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/th.lproj/SUUpdateAlert.xib b/Sparkle/th.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..cf450047 --- /dev/null +++ b/Sparkle/th.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/th.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/th.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..607c4006 --- /dev/null +++ b/Sparkle/th.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + ข้อมูลระบบแบบนิรนามช่วยในการวางแผนพัฒนาแอปพลิเคชันของเราในอนาคต กรุณาติดต่อเราถ้าคุณมีข้อสงสัยในเรื่องนี้ + +นี่คือข้อมูลที่จะถูกส่งไป: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/th.lproj/Sparkle.strings b/Sparkle/th.lproj/Sparkle.strings new file mode 100644 index 00000000..e58bdaef --- /dev/null +++ b/Sparkle/th.lproj/Sparkle.strings @@ -0,0 +1,80 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ ได้ถูกดาวน์โหลดและพร้อมใช้งานแล้ว คุณต้องการติดตั้งและเริ่ม %1$@ ใหม่เดี๋ยวนี้หรือไม่"; + +"%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." = "%1$@ ไม่สามารถรับการอัพเดทได้เมื่อถูกเรียกจากดิสก์แบบอ่านอย่างเดียวหรือซีดีรอม ย้าย %1$@ ไปยังโฟลเดอร์แอปพลิเคชัน และเรียกใช้งาน จากนั้นลองใหม่อีกครั้ง"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ เป็นเวอร์ชั่นใหม่ล่าสุดแล้ว"; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ พร้อมให้ดาวน์โหลดแล้ว (คุณมีเวอร์ชั่น %3$@) ต้องการดาวน์โหลดเลยหรือไม่"; + +"%@ downloaded" = "ดาวน์โหลด %@ เสร็จสิ้น"; + +"%@ of %@" = "%1$@ จาก %2$@"; + +"A new version of %@ is available!" = "%@ มีเวอร์ชั่นใหม่!"; + +"A new version of %@ is ready to install!" = "เวอร์ชั่นใหม่ของ %@ พร้อมสำหรับการติดตั้งแล้ว"; + +"An error occurred in retrieving update information. Please try again later." = "เกิดข้อผิดพลาดระหว่างการรับข้อมูลอัพเดท กรุณาลองใหม่ในภายหลัง"; + +"An error occurred while downloading the update. Please try again later." = "เกิดข้อผิดพลาดระหว่างพยายามดาวน์โหลดอัพเดท กรุณาลองใหม่ในภายหลัง"; + +"An error occurred while extracting the archive. Please try again later." = "เกิดข้อผิดพลาดระหว่างการแตกไฟล์ที่ถูกบีบอัด กรุณาลองใหม่ในภายหลัง"; + +"An error occurred while installing the update. Please try again later." = "เกิดข้อผิดพลาดระหว่างการติดตั้งอัพเดท กรุณาลองใหม่ในภายหลัง"; + +"An error occurred while parsing the update feed." = "เกิดข้อผิดพลาดระหว่างการประมวลผลฟีดอัพเดท กรุณาลองใหม่ในภายหลัง"; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "เกิดข้อผิดพลาดระหว่างการเริ่ม %1$@ ใหม่ อย่างไรก็ตามเวอร์ชั่นใหม่จะใช้ได้เมื่อคุณเรียก %1$@ ครั้งถัดไป"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "ยกเลิก"; + +"Cancel Update" = "ยกเลิกอัพเดท"; + +"Checking for updates..." = "ตรวจสอบอัพเดท…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "กำลังดาวน์โหลดอัพเดท…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "กำลังแตกไฟล์อัพเดท…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "ติดตั้งและเริ่มแอปพลิเคชันใหม่"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "กำลังติดตั้งอัพเดท…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* OK button. */ +"OK" = "ตกลง"; + +/* Status message on progress window once download has finished. */ +"Ready to Install" = "พร้อมติดตั้ง"; + +/* Message that is optionally shown at startup to allow users to turn on/off update checks. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "คุณต้องการให้ %1$@ ตรวจสอบอัพเดทโดยอัตโนมัติหรือไม่ คุณสามารถเริ่มการตรวจสอบอัพเดทด้วยตนเองได้ทุกเมื่อจากเมนูของ %1$@"; + +"Update Error!" = "อัพเดทผิดพลาด!"; + +"Updating %@" = "กำลังอัพเดท %@"; + +/* 'Error' message when the user checks for updates but is already current or the feed doesn't contain any updates. (not necessarily shown in UI) */ +"You already have the newest version of %@." = "คุณมีเวอร์ชั่นล่าสุดของ %@ แล้ว"; + +/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */ +"You're up-to-date!" = "คุณมีเวอร์ชั่นล่าสุดแล้ว!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ +"Learn More..." = "เรียนรู้เพิ่มเติม…"; + diff --git a/Sparkle/tr.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/tr.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..7a875283 --- /dev/null +++ b/Sparkle/tr.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/tr.lproj/SUUpdateAlert.xib b/Sparkle/tr.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..4f58b04a --- /dev/null +++ b/Sparkle/tr.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/tr.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/tr.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..1548d2e6 --- /dev/null +++ b/Sparkle/tr.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,222 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + + + + + + + + + + + + + + + Gönderdiğiniz anonim sistem bilgileri bu yazılımın geliştirilmesi için kullanılacaktır. Konu ile ilgili ayrıntılı bilgi için lütfen bizimle bağlantıya geçiniz. Göndereceğiniz Bilgiler: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/tr.lproj/Sparkle.strings b/Sparkle/tr.lproj/Sparkle.strings new file mode 100644 index 00000000..b394c64c --- /dev/null +++ b/Sparkle/tr.lproj/Sparkle.strings @@ -0,0 +1,123 @@ +/* de_DE v0.1 - 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$@ indirildi ve kullanıma hazır! Şimdi yüklemek istiyor musunuz? Uygulama yeniden başlatılacaktır."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"%1$@ can't be updated when it's running from a disk image. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "%1$@ uygulaması disk kalıbı içerisindeyken güncellenemez. Lütfen %1$@ uygulamasını Uygulamalar dizinine kopyalayıp yeniden başlatınız."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ mevcut en yeni sürümdür."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ çıktı (Kullandığınız Sürüm: %3$@). Şimdi yeni sürümü indirmek ister misiniz?"; + + +"%@ downloaded" = "%@ indirildi"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"%@ of %@" = "%1$@ / %2$@"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"A new version of %@ is available!" = "%@ uygulaması için yeni bir sürüm var!"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"A new version of %@ is ready to install!" = "%@ uygulamasının yeni bir sürümü yüklemeye hazır!"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred in retrieving update information. Please try again later." = "Güncelleme bilgilerini alırken bir hata oluştu. Lütfen daha sonra tekrar deneyiniz."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred while downloading the update. Please try again later." = "Güncelleme indirilirken bir hata oluştu. Lütfen sonra tekrar deneyiniz."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred while extracting the archive. Please try again later." = "İndirilen arşivi açarken bir hata oluştu. Lütfen daha sonra tekrar deneyiniz."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred while installing the update. Please try again later." = "Güncellemeyi yüklerken bir hata oluştu. Lütfen daha sonra tekrar deneyiniz."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred while parsing the update feed." = "Güncelleme kaynağını incelerken bir hata oluştu."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred while parsing the update feed: %@" = "Güncelleme kaynağını incelerken bir hata oluştu: %@"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "%1$@ uygulamasını açarken bir hata oluştu; ancak güncelleme %1$@ uygulamasını yeniden başlattığınızda hazır olacaktır."; + +/* de_DE v0.1 - the unit for bytes */ + +"B" = "B"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"Cancel" = "Vazgeç"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"Cancel Update" = "Güncellemeyi iptal et"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"Checking for updates..." = "Güncellemelere bakılıyor..."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"Downloading update..." = "Güncelleme indiriliyor..."; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"Extracting update..." = "Güncelleme ayıklanıyor..."; + +/* de_DE v0.1 - the unit for gigabytes */ + +"GB" = "GB"; + +/* de_DE v0.1 - No comment provided by engineer. */ + +"Install and Relaunch" = "Kur ve yeniden başlat"; + + +"Installing update..." = "Güncelleme kuruluyor..."; + +/* the unit for kilobytes */ + +"KB" = "KB"; + +/* the unit for megabytes */ + +"MB" = "MB"; + + +"OK" = "Tamam"; + + +"Ready to Install" = "Kuruluma hazır"; + + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "%1$@ uygulaması için güncellemeler otomatik olarak aransın mı? Güncelleme işlemini el ile uygulama menüsünden de başlatabilirsiniz."; + + +"Update Error!" = "Güncelleme hatası."; + + +"Updating %@" = "%@ güncelleniyor"; + + +"You already have the newest version of %@." = "%@ uygulamasının en güncel sürümü sizde mevcut."; + + +"You're up to date!" = "Uygulama güncel!"; + diff --git a/Sparkle/uk.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/uk.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..865d7d5d --- /dev/null +++ b/Sparkle/uk.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/uk.lproj/SUUpdateAlert.xib b/Sparkle/uk.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..e130c93e --- /dev/null +++ b/Sparkle/uk.lproj/SUUpdateAlert.xib @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/uk.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/uk.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..fb9b9c7d --- /dev/null +++ b/Sparkle/uk.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + Використання анонімного профілю системи допомагає нам у планування майбутньої розробки. Якщо у вас виникли питання щодо цього, звертайтесь до нас. + +Інформація, що буде надіслано: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/uk.lproj/Sparkle.strings b/Sparkle/uk.lproj/Sparkle.strings similarity index 70% rename from uk.lproj/Sparkle.strings rename to Sparkle/uk.lproj/Sparkle.strings index 0f92ac4b..63c3812f 100644 --- a/uk.lproj/Sparkle.strings +++ b/Sparkle/uk.lproj/Sparkle.strings @@ -1,56 +1,39 @@ -/* 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$@ завантажений і готовий до використання! Бажаєте встановити і перезавантажити %1$@?"; -/* 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." = "Під час роботи з %1$@ з тому, що призначений лише для читання, наприклад, образу диска чи оптичного диску, його неможливо оновити. Перемістіть %1$@ у папку з програмами, перезавантажте його звідти і спробуйте ще раз."; -/* No comment provided by engineer. */ "%@ %@ is currently the newest version available." = "У данний момент %1$@ %2$@ є останньою версією."; -/* No comment provided by engineer. */ "%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ доступна – ви маєте %3$@. Бажаєте завантажити її зараз?"; -/* No comment provided by engineer. */ "%@ downloaded" = "%@ завантажено"; -/* No comment provided by engineer. */ "%@ of %@" = "%1$@ із %2$@"; -/* No comment provided by engineer. */ "A new version of %@ is available!" = "Доступна нова версія %@!"; -/* No comment provided by engineer. */ "A new version of %@ is ready to install!" = "Нова версія %@ готова до встановлення!"; -/* No comment provided by engineer. */ -"An error occurred in retrieving update information. Please try again later." = "Виникла помилка при отриманні інформації про оновлення. Спробуйте ще пізніше."; +"An error occurred in retrieving update information. Please try again later." = "Виникла помилка при отриманні інформації про оновлення. Спробуйте ще раз пізніше."; -/* No comment provided by engineer. */ -"An error occurred while downloading the update. Please try again later." = "Виникла помилка при завантаження оновлення. Спробуйте ще пізніше."; +"An error occurred while downloading the update. Please try again later." = "Виникла помилка при завантаження оновлення. Спробуйте ще раз пізніше."; -/* No comment provided by engineer. */ -"An error occurred while extracting the archive. Please try again later." = "Виникла помилка при розпаковуванні архіву. Спробуйте ще пізніше."; +"An error occurred while extracting the archive. Please try again later." = "Виникла помилка при розпаковуванні архіву. Спробуйте ще раз пізніше."; -/* No comment provided by engineer. */ -"An error occurred while installing the update. Please try again later." = "Виникла помилка при встановленні оновлення. Спробуйте ще пізніше."; +"An error occurred while installing the update. Please try again later." = "Виникла помилка при встановленні оновлення. Спробуйте ще раз пізніше."; -/* No comment provided by engineer. */ -"An error occurred while parsing the update feed." = "Виникла помилка при розборі фіду оновлень."; +"An error occurred while parsing the update feed." = "Виникла помилка розбору каналу оновлень."; -/* No comment provided by engineer. */ "An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Виникла помилка при перезавантаженні %1$@, але наступного разу при завантаження %1$@ буде доступна нова версія."; /* the unit for bytes */ "B" = "Б"; -/* No comment provided by engineer. */ "Cancel" = "Відмінити"; -/* No comment provided by engineer. */ "Cancel Update" = "Відмінити оновлення"; -/* No comment provided by engineer. */ -"Checking for updates..." = "Перевіря наявність оновлень…"; +"Checking for updates..." = "Перевіряю наявність оновлень…"; /* Take care not to overflow the status window. */ "Downloading update..." = "Завантажую оновлення…"; @@ -61,7 +44,6 @@ /* the unit for gigabytes */ "GB" = "ГБ"; -/* No comment provided by engineer. */ "Install and Relaunch" = "Встановити та перезавантажити"; /* Take care not to overflow the status window. */ @@ -73,28 +55,21 @@ /* the unit for megabytes */ "MB" = "МБ"; -/* No comment provided by engineer. */ "OK" = "OK"; -/* No comment provided by engineer. */ "Ready to Install" = "Готовий до встановлення"; -/* No comment provided by engineer. */ "Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Чи повинен %1$@ автоматично виконувати перевірку на оновлення? Ви завжди можете самостійно перевірити оновлення у меню %1$@."; -/* No comment provided by engineer. */ "Update Error!" = "Помилка оновлення!"; -/* No comment provided by engineer. */ "Updating %@" = "Оновлюю %@"; -/* No comment provided by engineer. */ -"You already have the newest version of %@." = "Ви вже маєте саму останню версію программи %@."; +"You already have the newest version of %@." = "Ви вже користуєтесь останньою версією програми %@."; -/* No comment provided by engineer. */ "You're up-to-date!" = "У вас остання версія!"; /* Alternative name for "Install" button if we have a paid update or other update without a download but with a URL. */ -"Learn More..." = "Дізнатись більше…"; \ No newline at end of file +"Learn More..." = "Дізнатись більше…"; diff --git a/Sparkle/zh_CN.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/zh_CN.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..f0040bc5 --- /dev/null +++ b/Sparkle/zh_CN.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/zh_CN.lproj/SUUpdateAlert.xib b/Sparkle/zh_CN.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..6503aebc --- /dev/null +++ b/Sparkle/zh_CN.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/zh_CN.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/zh_CN.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..419b0928 --- /dev/null +++ b/Sparkle/zh_CN.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + 无记名系统概况信息被用于帮助我们安排将来的开发工作。如果对此存在疑问请联系我们。 + +这是将要被发送的信息:: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/zh_CN.lproj/Sparkle.strings b/Sparkle/zh_CN.lproj/Sparkle.strings new file mode 100644 index 00000000..091ac8cb --- /dev/null +++ b/Sparkle/zh_CN.lproj/Sparkle.strings @@ -0,0 +1,75 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ 已下载完毕并可以使用!您想要现在安装 %1$@ 吗?"; + +"%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." = "%1$@ 不能被更新,当它运行于一个只读性宗卷如磁盘映像、软盘等上面时。移动 %1$@ 到应用程序文件夹并再试一次。"; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ 是当前的最新版本。"; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ 已经可供下载—你现在的版本是 %3$@。您要现在下载它吗?"; + +"%@ downloaded" = "%@ 已下载"; + +"%@ of %@" = "%1$@ / %2$@"; + +"A new version of %@ is available!" = "新版本的 %@ 已经提供下载了!"; + +"A new version of %@ is ready to install!" = "新版本的 %@ 可以安装了!"; + +"An error occurred in retrieving update information. Please try again later." = "接收升级信息时出现错误。请稍后再试。"; + +"An error occurred while downloading the update. Please try again later." = "下载过程中出现错误。请稍后再试。"; + +"An error occurred while extracting the archive. Please try again later." = "提取过程中出现错误。请稍后再试。"; + +"An error occurred while installing the update. Please try again later." = "安装更新的过程中出现错误。请稍后再试。"; + +"An error occurred while parsing the update feed." = "在分析更新流语法时出现错误。请稍后再试。"; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "重新启动 %1$@ 时发生了一个错误,但在您下次运行 %1$@ 时新版本将可使用。"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "取消"; + +"Cancel Update" = "取消更新"; + +"Checking for updates..." = "正在核查更新…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "正在下载更新…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "正在抽出更新…"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "安装并重新启动"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "正在安装更新…"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "好"; + +"Ready to Install" = "可以开始安装了"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "您想让 %1$@ 在启动时自动检查更新么?您也可以在程序菜单 %1$@ 中进行手动检查。"; + +"Update Error!" = "更新错误!"; + +"Updating %@" = "正在更新 %@"; + +"You already have the newest version of %@." = "您已经在使用最新版本的 %@。"; + +"You're up-to-date!" = "你使用的就是最新版!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "下载更新包"; diff --git a/Sparkle/zh_TW.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/zh_TW.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..6f05efa5 --- /dev/null +++ b/Sparkle/zh_TW.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/zh_TW.lproj/SUUpdateAlert.xib b/Sparkle/zh_TW.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..afd653ca --- /dev/null +++ b/Sparkle/zh_TW.lproj/SUUpdateAlert.xib @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sparkle/zh_TW.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/zh_TW.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..4fdeb663 --- /dev/null +++ b/Sparkle/zh_TW.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visibleKey + visibleValue + displayValue + displayKey + + + + + + + + + + + + + + + 匿名系統描述資訊可用來協助我們計畫未來的開發工作。若您有任何相關問題,請與我們聯繫。 + +以下是會傳送的資訊: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SUIncludeProfile + SUSendProfileInfo + + + + + + + diff --git a/Sparkle/zh_TW.lproj/Sparkle.strings b/Sparkle/zh_TW.lproj/Sparkle.strings new file mode 100644 index 00000000..8f67b4f9 --- /dev/null +++ b/Sparkle/zh_TW.lproj/Sparkle.strings @@ -0,0 +1,70 @@ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ 已下載且可供使用!您是否要現在安裝並重新啟動%1$@?"; + +"%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." = "當 %1$@ 正從唯讀卷宗(如磁碟映像檔或光碟機)執行時,無法進行更新。請將 %1$@ 移至您的“應用程式”檔案夾,從該處重新啟動,然後再試一次。 "; + +"%@ %@ is currently the newest version available." = "%1$@ %2$@ 已是目前最新的版本。"; + +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ 現在已可取得,您的版本則是 %3$@。您要現在下載嗎?"; + +"%@ downloaded" = "%@ 已下載"; + +"%@ of %@" = "%1$@ / %2$@"; + +"A new version of %@ is available!" = "已有新版本的 %@ 可供下載!"; + +"A new version of %@ is ready to install!" = "新版本的 %@ 已準備安裝!"; + +"An error occurred in retrieving update information. Please try again later." = "擷取更新資訊時發生錯誤。請稍後再試一次。"; + +"An error occurred while downloading the update. Please try again later." = "下載更新項目時發生錯誤。請稍後再試一次。"; + +"An error occurred while extracting the archive. Please try again later." = "解壓縮封存檔時發生錯誤。請稍後再試一次。"; + +"An error occurred while installing the update. Please try again later." = "安裝更新項目時發生錯誤。請稍後再試一次。"; + +"An error occurred while parsing the update feed." = "解析更新 feed 時發生錯誤。"; + +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "重新啟動 %1$@ 時發生錯誤,但下次您執行 %1$@ 時將可使用新版本。"; + +/* the unit for bytes */ +"B" = "B"; + +"Cancel" = "取消"; + +"Cancel Update" = "取消更新"; + +"Checking for updates..." = "正在檢查更新項目⋯"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "正在下載更新項目⋯"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "正在解壓縮更新項目⋯"; + +/* the unit for gigabytes */ +"GB" = "GB"; + +"Install and Relaunch" = "安裝與重新啟動"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "正在安裝更新項目⋯"; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +"OK" = "好"; + +"Ready to Install" = "準備安裝"; + +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "%1$@ 是否應自動檢查更新項目?您可隨時從 %1$@ 選單手動檢查更新項目。"; + +"Update Error!" = "更新發生錯誤!"; + +"Updating %@" = "正在更新 %@"; + +"You already have the newest version of %@." = "您已有最新版本的 %@。"; + +"You're up-to-date!" = "你已有最新版本!"; diff --git a/Test Application/English.lproj/InfoPlist.strings b/Test Application/English.lproj/InfoPlist.strings deleted file mode 100644 index cd67fb78..00000000 Binary files a/Test Application/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/Test Application/English.lproj/MainMenu.nib/classes.nib b/Test Application/English.lproj/MainMenu.nib/classes.nib deleted file mode 100644 index 14196291..00000000 --- a/Test Application/English.lproj/MainMenu.nib/classes.nib +++ /dev/null @@ -1,43 +0,0 @@ - - - - - IBClasses - - - CLASS - FirstResponder - LANGUAGE - ObjC - SUPERCLASS - NSObject - - - CLASS - NSObject - LANGUAGE - ObjC - - - ACTIONS - - checkForUpdates - id - - CLASS - SUUpdater - LANGUAGE - ObjC - OUTLETS - - delegate - id - - SUPERCLASS - NSObject - - - IBVersion - 1 - - diff --git a/Test Application/English.lproj/MainMenu.nib/designable.nib b/Test Application/English.lproj/MainMenu.nib/designable.nib deleted file mode 100644 index 72437679..00000000 --- a/Test Application/English.lproj/MainMenu.nib/designable.nib +++ /dev/null @@ -1,2636 +0,0 @@ - - - - 1050 - 10A432 - 732 - 1038 - 437.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 732 - - - - - - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - - NSApplication - - - - FirstResponder - - - NSApplication - - - 7 - 2 - {{447, 824}, {313, 173}} - 1886912512 - Window - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {213, 107} - - - 256 - - - - 268 - {{21, 112}, {225, 18}} - - YES - - -2080244224 - 0 - Automatically check for updates - - LucidaGrande - 13 - 1044 - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - - 268 - {{21, 92}, {228, 18}} - - YES - - -2080244224 - 0 - Automatically download updates - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{21, 72}, {224, 18}} - - YES - - -2080244224 - 0 - Send system profile information - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{21, 52}, {152, 18}} - - YES - - -2080244224 - 0 - Has launched before - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{20, 136}, {106, 17}} - - YES - - 67239488 - 272630784 - Debug options: - - LucidaGrande-Bold - 13 - 16 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{17, 20}, {157, 17}} - - YES - - 68288064 - 272630784 - Check for updates every - - - - - - - - - 268 - {{240, 20}, {56, 17}} - - YES - - 68288064 - 272630784 - seconds - - - - - - - - - 268 - {{179, 18}, {56, 22}} - - YES - - -1804468671 - 272630784 - - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - - - - - {313, 173} - - - {{0, 0}, {1680, 1028}} - {213, 129} - {1.79769e+308, 1.79769e+308} - - - MainMenu - - - - NewApplication - - 1048576 - 2147483647 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - - submenuAction: - - NewApplication - - - - About NewApplication - - 2147483647 - - - - - - Check for Updates... - u - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Preferences… - , - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Services - - 1048576 - 2147483647 - - - submenuAction: - - - Services - - - _NSServicesMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Hide NewApplication - h - 1048576 - 2147483647 - - - - - - Hide Others - h - 1572864 - 2147483647 - - - - - - Show All - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Quit NewApplication - q - 1048576 - 2147483647 - - - - - _NSAppleMenu - - - - - File - - 1048576 - 2147483647 - - - submenuAction: - - - File - - - - - New - n - 1048576 - 2147483647 - - - - - - Open... - o - 1048576 - 2147483647 - - - - - - Open Recent - - 1048576 - 2147483647 - - - submenuAction: - - - Open Recent - - - - - Clear Menu - - 1048576 - 2147483647 - - - - - _NSRecentDocumentsMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Close - w - 1048576 - 2147483647 - - - - - - Save - s - 1048576 - 2147483647 - - - - - - Save As… - S - 1048576 - 2147483647 - - - - - - Revert - - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Page Setup… - P - 1048576 - 2147483647 - - - - - - Print… - p - 1048576 - 2147483647 - - - - - - - - - Edit - - 1048576 - 2147483647 - - - submenuAction: - - - Edit - - - - - Undo - z - 1048576 - 2147483647 - - - - - - Redo - Z - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Cut - x - 1048576 - 2147483647 - - - - - - Copy - c - 1048576 - 2147483647 - - - - - - Paste - v - 1048576 - 2147483647 - - - - - - Paste and Match Style - V - 1572864 - 2147483647 - - - - - - Delete - - 1048576 - 2147483647 - - - - - - Select All - a - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Find - - 1048576 - 2147483647 - - - submenuAction: - - - Find - - - - - Find… - f - 1048576 - 2147483647 - - - 1 - - - - Find Next - g - 1048576 - 2147483647 - - - 2 - - - - Find Previous - G - 1048576 - 2147483647 - - - 3 - - - - Use Selection for Find - e - 1048576 - 2147483647 - - - 7 - - - - Jump to Selection - j - 1048576 - 2147483647 - - - - - - - - - Spelling - - 1048576 - 2147483647 - - - submenuAction: - - Spelling - - - - Spelling… - : - 1048576 - 2147483647 - - - - - - Check Spelling - ; - 1048576 - 2147483647 - - - - - - Check Spelling as You Type - - 1048576 - 2147483647 - - - - - - - - - - - - Window - - 1048576 - 2147483647 - - - submenuAction: - - - Window - - - - - Minimize - m - 1048576 - 2147483647 - - - - - - Zoom - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Bring All to Front - - 1048576 - 2147483647 - - - - - _NSWindowsMenu - - - - - Help - - 1048576 - 2147483647 - - - submenuAction: - - Help - - - - NewApplication Help - ? - 1048576 - 2147483647 - - - - - - - - _NSMainMenu - - - SUUpdater - - - YES - - - - - - - performMiniaturize: - - - - 37 - - - - arrangeInFront: - - - - 39 - - - - print: - - - - 86 - - - - runPageLayout: - - - - 87 - - - - showHelp: - - - - 122 - - - - clearRecentDocuments: - - - - 127 - - - - terminate: - - - - 139 - - - - orderFrontStandardAboutPanel: - - - - 142 - - - - hideOtherApplications: - - - - 146 - - - - hide: - - - - 152 - - - - unhideAllApplications: - - - - 153 - - - - cut: - - - - 175 - - - - paste: - - - - 176 - - - - redo: - - - - 178 - - - - selectAll: - - - - 179 - - - - undo: - - - - 180 - - - - copy: - - - - 181 - - - - showGuessPanel: - - - - 188 - - - - checkSpelling: - - - - 190 - - - - toggleContinuousSpellChecking: - - - - 192 - - - - performClose: - - - - 193 - - - - delete: - - - - 195 - - - - performZoom: - - - - 198 - - - - performFindPanelAction: - - - - 199 - - - - performFindPanelAction: - - - - 200 - - - - performFindPanelAction: - - - - 201 - - - - performFindPanelAction: - - - - 202 - - - - centerSelectionInVisibleArea: - - - - 203 - - - - pasteAsPlainText: - - - - 205 - - - - checkForUpdates: - - - - 208 - - - - value: values.SUHasLaunchedBefore - - - - - - value: values.SUHasLaunchedBefore - value - values.SUHasLaunchedBefore - 2 - - - 225 - - - - value: automaticallyChecksForUpdates - - - - - - value: automaticallyChecksForUpdates - value - automaticallyChecksForUpdates - 2 - - - 257 - - - - value: automaticallyDownloadsUpdates - - - - - - value: automaticallyDownloadsUpdates - value - automaticallyDownloadsUpdates - 2 - - - 259 - - - - value: sendsSystemProfile - - - - - - value: sendsSystemProfile - value - sendsSystemProfile - 2 - - - 261 - - - - value: updateCheckInterval - - - - - - value: updateCheckInterval - value - updateCheckInterval - 2 - - - 263 - - - - - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 21 - - - - - - Window - - - 2 - - - - - - - - - - - - - - - 210 - - - - - - - - 216 - - - - - - - - 220 - - - - - - - - 222 - - - - - - - - 227 - - - - - - - - 238 - - - - - - - - 240 - - - - - - - - 242 - - - - - - - - 29 - - - - - - - - - - MainMenu - - - 19 - - - - - - - - 24 - - - - - - - - - - - 5 - - - - - 23 - - - - - 92 - - - - - 197 - - - - - 56 - - - - - - - - 57 - - - - - - - - - - - - - - - - - - - 58 - - - - - 129 - - - - - 131 - - - - - - - - 130 - - - - - 134 - - - - - 136 - - - - - 143 - - - - - 144 - - - - - 145 - - - - - 149 - - - - - 150 - - - - - 196 - - - - - 207 - - - - - 83 - - - - - - - - 81 - - - - - - - - - - - - - - - - - - 72 - - - - - 73 - - - - - 74 - - - - - 75 - - - - - 77 - - - - - 78 - - - - - 79 - - - - - 80 - - - - - 82 - - - - - 112 - - - - - 124 - - - - - - - - 125 - - - - - - - - 126 - - - - - 103 - - - - - - - - 106 - - - - - - - - 111 - - - - - 163 - - - - - - - - 169 - - - - - - - - - - - - - - - - - - - 156 - - - - - 157 - - - - - 158 - - - - - 160 - - - - - 164 - - - - - 168 - - - - - - - - 159 - - - - - - - - - - - - 154 - - - - - 155 - - - - - 161 - - - - - 162 - - - - - 167 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 184 - - - - - - - - 185 - - - - - - - - - - 187 - - - - - 189 - - - - - 191 - - - - - 204 - - - - - 206 - - - SUUpdater - - - 212 - - - Shared User Defaults Controller - - - 248 - - - - - 249 - - - - - 250 - - - - - 251 - - - - - 252 - - - - - 253 - - - - - 254 - - - - - 255 - - - - - - - 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 - - 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 - - {{0, 672}, {313, 173}} - com.apple.InterfaceBuilder.CocoaPlugin - {{0, 672}, {313, 173}} - - - - {213, 107} - 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 - - {{258, 684}, {362, 20}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{270, 481}, {242, 203}} - 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 - - - - - - - 263 - - - - - FirstResponder - - 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 - - - - - SUUpdater - NSObject - - checkForUpdates: - id - - - delegate - id - - - - - SUUpdater - NSObject - - IBUserSource - - - - - - - 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 - - - - NSBrowser - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSBrowser.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 - - - - NSDocument - NSObject - - id - id - id - id - id - id - - - IBFrameworkSource - AppKit.framework/Headers/NSDocument.h - - - - NSDocument - - IBFrameworkSource - AppKit.framework/Headers/NSDocumentScripting.h - - - - NSDocumentController - NSObject - - id - id - id - id - - - IBFrameworkSource - AppKit.framework/Headers/NSDocumentController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSMatrix - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSMatrix.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSMenuItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSMovieView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMovieView.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 - - - - 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 - - - - NSTableView - NSControl - - - - NSText - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSText.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 - - - - 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 - - - - WebView - NSView - - id - id - id - id - id - id - id - id - id - id - id - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - YES - ../../Sparkle.xcodeproj - 3 - - diff --git a/Test Application/English.lproj/MainMenu.nib/info.nib b/Test Application/English.lproj/MainMenu.nib/info.nib deleted file mode 100644 index 09d03620..00000000 --- a/Test Application/English.lproj/MainMenu.nib/info.nib +++ /dev/null @@ -1,21 +0,0 @@ - - - - - IBFramework Version - 667 - IBLastKnownRelativeProjectPath - ../../Sparkle.xcodeproj - IBOldestOS - 5 - IBOpenObjects - - 2 - 57 - - IBSystem Version - 9D34 - targetFramework - IBCocoaFramework - - diff --git a/Test Application/English.lproj/MainMenu.nib/keyedobjects.nib b/Test Application/English.lproj/MainMenu.nib/keyedobjects.nib deleted file mode 100644 index bd3d4a2e..00000000 Binary files a/Test Application/English.lproj/MainMenu.nib/keyedobjects.nib and /dev/null differ diff --git a/Test Application/dsa_priv.pem b/Test Application/dsa_priv.pem deleted file mode 100644 index b2719584..00000000 --- a/Test Application/dsa_priv.pem +++ /dev/null @@ -1,20 +0,0 @@ ------BEGIN DSA PRIVATE KEY----- -MIIDPgIBAAKCAQEA9lmy8fAXdW9b6fBXQ6Us5B2dLZV+cR685tFlhPSKJDpicP1F -pNRkGESZwPFJbnxUyVeHWVS9yLeMcKqllhcjd+i1oEFKX7LPXk5+zO745OwVWHIe -0DLOIxhJ0mJHm7mH1YVGZYOVVYkPt+0Y/hDbQVK5DycSGAhgDiCZ+Obl+aDSD2xJ -RZGnVOpu83dYJ/CoUYCHqWtpN4gW5Bbgm8Uz0/2qiyPjFvJEeI1yE04AZA3sOg1y -1S/UrCbqeC3gBIs0xsskwWOW3zCWjvDWgfPrj65At0mVfq/yyGgXJlN71X5sONxR -swZSbRn5T2i/BJPZUStWks5Nxq+7T3WmnaPbTwIVAJp+BByoy95V3x8wZg0q66eR -ufiJAoIBABbxkX6C9Lt8zeDvvIpk8X4kmHBVIwVJcuICJTVzOAIBZsvFhPnYmUYe -v93oPgjtAdYqPrYZlNrExQG1e7B1bhmgaT8hbXL6whxhqRHKlsJsboVHNQs3qAbx -sOLvJnwgb3FD4xX4ZZSSRXSIGk62FxcaoLG+mSlirGM/SY4yZDpURSJUX6MHdUZa -qHWWGL3b31pz3d9h6SPYv6H4T3ZReVtn+dXYh/41SWkQqEyhAsHGBvqpDwuYJCCI -Mwuvwz0U/KcwiydDaFo900MC9S33zEpk/YUxgA9YsiY5+UvWSy5M/yvkKBkvkb+I -G6DAMWtApWu0fDcLV6jA9JKXmcAwAIECggEBAPC0OJEnLkOwU1Ehop7o2XJbWDKN -giFt44IO3l9gx1fu05HrieDbwAJTkRK7qNEA0yk1iMT2hMHHbwLRNddEsOJuUd7o -iyKwqwkmCQ2Q1zYPBR09wag9NEr8xLSTQJCw9CpxTRSH+9hc1DeuwkwAnTEn7JiW -WbcxVCRtmtaUlN7+dTozxqGJHpYF6WsqHMeuG7Ixnyf6he8Fz8mjxnrc7/l73gFL -Q+IZvUSjzh2zqtqaejtcmlNcT+fGmEFKxpcLB3JP3uu8PN8MbS/R6j191f1ovuM9 -U4MO3RuT4xJF0OlwyWAnOEik1S1p+tNQciQ/Ipv8Ff3DDBct9YZPPlNGi+ICFHHD -tP5yX7hMTJIykGaMuM44KJMM ------END DSA PRIVATE KEY----- diff --git a/TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj b/TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj new file mode 100644 index 00000000..963e475f --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj @@ -0,0 +1,283 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 5A195FB01983E85D000BE570 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A195FAF1983E85D000BE570 /* main.m */; }; + 5A195FB31983E85D000BE570 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A195FB21983E85D000BE570 /* AppDelegate.m */; }; + 5A195FB51983E85D000BE570 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A195FB41983E85D000BE570 /* Images.xcassets */; }; + 5A195FB81983E85D000BE570 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5A195FB61983E85D000BE570 /* MainMenu.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 5A195FAA1983E85D000BE570 /* Sparkle Updated Test App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sparkle Updated Test App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 5A195FAE1983E85D000BE570 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5A195FAF1983E85D000BE570 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 5A195FB11983E85D000BE570 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 5A195FB21983E85D000BE570 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 5A195FB41983E85D000BE570 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 5A195FB71983E85D000BE570 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 5A195FA71983E85D000BE570 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 5A195FA11983E85D000BE570 = { + isa = PBXGroup; + children = ( + 5A195FAC1983E85D000BE570 /* Sparkle Updated Test App */, + 5A195FAB1983E85D000BE570 /* Products */, + ); + sourceTree = ""; + }; + 5A195FAB1983E85D000BE570 /* Products */ = { + isa = PBXGroup; + children = ( + 5A195FAA1983E85D000BE570 /* Sparkle Updated Test App.app */, + ); + name = Products; + sourceTree = ""; + }; + 5A195FAC1983E85D000BE570 /* Sparkle Updated Test App */ = { + isa = PBXGroup; + children = ( + 5A195FB11983E85D000BE570 /* AppDelegate.h */, + 5A195FB21983E85D000BE570 /* AppDelegate.m */, + 5A195FB61983E85D000BE570 /* MainMenu.xib */, + 5A195FAD1983E85D000BE570 /* Supporting Files */, + ); + path = "Sparkle Updated Test App"; + sourceTree = ""; + }; + 5A195FAD1983E85D000BE570 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 5A195FB41983E85D000BE570 /* Images.xcassets */, + 5A195FAE1983E85D000BE570 /* Info.plist */, + 5A195FAF1983E85D000BE570 /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 5A195FA91983E85D000BE570 /* Sparkle Updated Test App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5A195FC71983E85D000BE570 /* Build configuration list for PBXNativeTarget "Sparkle Updated Test App" */; + buildPhases = ( + 5A195FA61983E85D000BE570 /* Sources */, + 5A195FA71983E85D000BE570 /* Frameworks */, + 5A195FA81983E85D000BE570 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Sparkle Updated Test App"; + productName = "Sparkle Updated Test App"; + productReference = 5A195FAA1983E85D000BE570 /* Sparkle Updated Test App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 5A195FA21983E85D000BE570 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0600; + ORGANIZATIONNAME = "Sparkle-project"; + TargetAttributes = { + 5A195FA91983E85D000BE570 = { + CreatedOnToolsVersion = 6.0; + }; + }; + }; + buildConfigurationList = 5A195FA51983E85D000BE570 /* Build configuration list for PBXProject "Sparkle Updated Test App" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 5A195FA11983E85D000BE570; + productRefGroup = 5A195FAB1983E85D000BE570 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 5A195FA91983E85D000BE570 /* Sparkle Updated Test App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 5A195FA81983E85D000BE570 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5A195FB51983E85D000BE570 /* Images.xcassets in Resources */, + 5A195FB81983E85D000BE570 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 5A195FA61983E85D000BE570 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5A195FB31983E85D000BE570 /* AppDelegate.m in Sources */, + 5A195FB01983E85D000BE570 /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 5A195FB61983E85D000BE570 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 5A195FB71983E85D000BE570 /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 5A195FC51983E85D000BE570 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 5A195FC61983E85D000BE570 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + 5A195FC81983E85D000BE570 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = Sparkle; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = "Sparkle Updated Test App/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 5A195FC91983E85D000BE570 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = Sparkle; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = "Sparkle Updated Test App/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 5A195FA51983E85D000BE570 /* Build configuration list for PBXProject "Sparkle Updated Test App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5A195FC51983E85D000BE570 /* Debug */, + 5A195FC61983E85D000BE570 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5A195FC71983E85D000BE570 /* Build configuration list for PBXNativeTarget "Sparkle Updated Test App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5A195FC81983E85D000BE570 /* Debug */, + 5A195FC91983E85D000BE570 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 5A195FA21983E85D000BE570 /* Project object */; +} diff --git a/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h b/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h new file mode 100644 index 00000000..ac12a211 --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// Sparkle Updated Test App +// +// Created by Kornel on 26/07/2014. +// Copyright (c) 2014 Sparkle-project. All rights reserved. +// + +#import + +@interface AppDelegate : NSObject + + +@end + diff --git a/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m b/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m new file mode 100644 index 00000000..54538ff5 --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m @@ -0,0 +1,27 @@ +// +// AppDelegate.m +// Sparkle Updated Test App +// +// Created by Kornel on 26/07/2014. +// Copyright (c) 2014 Sparkle-project. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () +@end + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { + NSRunAlertPanel(@"Update succeeded!", @"This is the updated version of Sparkle Test App.\n\nDelete and rebuild the app to test updates again.", @"OK", nil, nil); + + NSURL *bundleURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]]; + if (bundleURL) { + [[NSWorkspace sharedWorkspace] activateFileViewerSelectingURLs: @[bundleURL]]; + } + + [NSApp terminate:self]; +} + +@end diff --git a/TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib b/TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib new file mode 100644 index 00000000..86e35280 --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json new file mode 100644 index 00000000..2e9df94b --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json @@ -0,0 +1,64 @@ +{ + "images" : [ + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "icon_16x16.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "icon_16x16@2x.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "icon_32x32.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "icon_32x32@2x.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "icon_128x128.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "icon_128x128@2x.png", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png new file mode 100644 index 00000000..4d798520 Binary files /dev/null and b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png new file mode 100644 index 00000000..2bf2b0b8 Binary files /dev/null and b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png new file mode 100644 index 00000000..23eada4e Binary files /dev/null and b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png new file mode 100644 index 00000000..7ab394c6 Binary files /dev/null and b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png new file mode 100644 index 00000000..fa1e0dac Binary files /dev/null and b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png new file mode 100644 index 00000000..f44f9779 Binary files /dev/null and b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Info.plist b/TestApplication/After Update/Sparkle Updated Test App/Info.plist new file mode 100644 index 00000000..6b1edff0 --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + org.sparkle-project.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 2.0 + CFBundleSignature + ???? + CFBundleVersion + 2 + LSApplicationCategoryType + public.app-category.developer-tools + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2014 Sparkle-project. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/TestApplication/After Update/Sparkle Updated Test App/main.m b/TestApplication/After Update/Sparkle Updated Test App/main.m new file mode 100644 index 00000000..6aafcfc3 --- /dev/null +++ b/TestApplication/After Update/Sparkle Updated Test App/main.m @@ -0,0 +1,6 @@ + +#import + +int main(int argc, const char * argv[]) { + return NSApplicationMain(argc, argv); +} diff --git a/TestApplication/English.lproj/InfoPlist.strings b/TestApplication/English.lproj/InfoPlist.strings new file mode 100644 index 00000000..e6e21d40 --- /dev/null +++ b/TestApplication/English.lproj/InfoPlist.strings @@ -0,0 +1,4 @@ +/* Localized versions of Info.plist keys */ + +NSHumanReadableCopyright = "© Andy Matuschak, 2006"; +CFBundleShortVersionString = "1.5"; \ No newline at end of file diff --git a/TestApplication/English.lproj/MainMenu.xib b/TestApplication/English.lproj/MainMenu.xib new file mode 100644 index 00000000..5bf06c63 --- /dev/null +++ b/TestApplication/English.lproj/MainMenu.xib @@ -0,0 +1,354 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Test Application/Test Application-Info.plist b/TestApplication/TestApplication-Info.plist similarity index 80% rename from Test Application/Test Application-Info.plist rename to TestApplication/TestApplication-Info.plist index 6cb773f6..be2bc938 100644 --- a/Test Application/Test Application-Info.plist +++ b/TestApplication/TestApplication-Info.plist @@ -6,14 +6,12 @@ English CFBundleExecutable ${EXECUTABLE_NAME} - CFBundleIconFile - Sparkle - CFBundleName - Sparkle Test App CFBundleIdentifier - org.andymatuschak.SparkleTestApp + org.sparkle-project.SparkleTestApp CFBundleInfoDictionaryVersion 6.0 + CFBundleName + Sparkle Test App CFBundlePackageType APPL CFBundleSignature @@ -24,11 +22,11 @@ MainMenu NSPrincipalClass NSApplication - SUFeedURL - http://www.andymatuschak.org/files/sparkletestcast.xml SUEnableSystemProfiling + SUFeedURL + http://sparkle-project.org/files/sparkletestcast.xml SUPublicDSAKeyFile - dsa_pub.pem + test_app_only_dsa_pub.pem diff --git a/Test Application/main.m b/TestApplication/main.m similarity index 76% rename from Test Application/main.m rename to TestApplication/main.m index c4bc08f7..f858e875 100644 --- a/Test Application/main.m +++ b/TestApplication/main.m @@ -10,5 +10,5 @@ int main(int argc, char *argv[]) { - return NSApplicationMain(argc, (const char **) argv); + return NSApplicationMain(argc, (const char **)argv); } diff --git a/Test Application/dsa_pub.pem b/TestApplication/test_app_only_dsa_pub.pem similarity index 100% rename from Test Application/dsa_pub.pem rename to TestApplication/test_app_only_dsa_pub.pem diff --git a/Tests/Resources/SparkleTestCodeSignApp.zip b/Tests/Resources/SparkleTestCodeSignApp.zip new file mode 100644 index 00000000..1d3ccb8a Binary files /dev/null and b/Tests/Resources/SparkleTestCodeSignApp.zip differ diff --git a/Tests/Resources/signed-test-file.txt b/Tests/Resources/signed-test-file.txt new file mode 100644 index 00000000..980a0d5f --- /dev/null +++ b/Tests/Resources/signed-test-file.txt @@ -0,0 +1 @@ +Hello World! diff --git a/Tests/Resources/test archive.zip b/Tests/Resources/test archive.zip new file mode 100644 index 00000000..51d7aa2b Binary files /dev/null and b/Tests/Resources/test archive.zip differ diff --git a/Tests/Resources/test-pubkey.pem b/Tests/Resources/test-pubkey.pem new file mode 100644 index 00000000..cea8b668 --- /dev/null +++ b/Tests/Resources/test-pubkey.pem @@ -0,0 +1,36 @@ +-----BEGIN PUBLIC KEY----- +MIIGOjCCBC0GByqGSM44BAEwggQgAoICAQCHyAu13F9I72JZzN9KgVhrprKnRH7n +dJJP5ZVHaSqm5PbRmHbnT06DGMxloZc8Nd5QWwG6N+5O1I9ZZjnIrc9Qzodho8hM +KNInrfCEy/lTHjydvQvYG2LitbknapgGTf57BWEIYSiAQyP8Gs6lTVZmGrqSJdRC +Kdt29OmFKLhWVn5hm2nx7PCbRT7FzrRyX8jkjCUKSeI/s1j3jpjFT5nGutAsSYNS +Y/ifH1/IRejv9kRUEWM7qEU/ue3C18qCoDsmTSQVh+E1MIBWqeaWWAGrw7JO4cxR +cgR6eeDYp8plTw//e9dSn1u/6ArnQ4QAoZP8Q6MfJMABgg07lltRIQYiXnUNPE4c +xzMQ6kxbKLBi2VyeKm/mQ5oO6PH+59Lw0Q1YhchAXCO171fx2s4W2UGcIjdNbyhs +My5iSEICwXQQgAvTEC08An8aYi5waEpQ1fnnkQcawTgRoBL2gMNsQOkZdERbJr2X +zNJfLwGoDnNJTD8V4FCAeHieOAqmlGsqRc7mKPq2EVW7GH6vzWBJbZc71rmk7EwY +2zvpR9aFam71ivmFgLYwLrRef3vd+AGbIc2WOcIADJ9JIa6HF1gK8LSym/t+/2ws +fQ1FHpjHmYZICJqac1SQ6KZhMz9q35yKqBSaNmiv+mXBg7W6Jfckjg8mGgxvTdL+ +VDRDlK9K6bxClwIVAPd9bTMe17hl3ipR0X6O2UOmt799AoICABPfIvExHzdmJK+G +kx+o28PNNw9ZAte2RxZWm8b0m9MW+jdeWDrhGbbk7nVJn6i6xaaRgJDWuZnKUQbC +0WwjOm9fXnjBmnQhacJu0RGyr/b+akzZ4Y/7N+SBxRjasLVTFd+msQ2NE1PkXps5 +rhJWVMu9R9xp0qR/e+rh/Cax7nSq5UNAqSy9gzHkOhjS7s6UJ1yfCEO5Xfcvb7ND +RpLIeBYbLT3OSkSd6kkFvMtb0Sl/WZ7z88flkdNGbutAcJVQzBcfQIwCuXyOYzUr +8TcIB5j4c19MN9yfkykgemieC0uz/xzgtZt6g6bFfQNONmJ0YGoEPkz1GftI6dx/ +324vh4KhLfBjKDKFB8Pt9JKI9nQA7P10GlwWeA+IpSTzjlJq3x35u220K7tc/5xr +TDMEftBemn/dvb/bJ9h+iSciZ7EcnN2RXB7SfykUAohE9DdEUlmjip6DYLP+hSN2 +oHiVmDVjv3XEGYQfATuxQmwcveHTYZmPId8XF2wkGiy6w0BY0NN+4oEuZga4YvEK +3MVF2VEzM0onFzNgszwb+KaUfcA+eycthidca+sJzmOGAMWCx/vydNryMcWVXABF +IRxbZVaXHCWf1RhAf0jcsiz9+JIuScAB2J26Oy2shPGOmesvuUHeUTqzvEJ2G77j +k9Mps+1fbzySKX3PQEwA/qQ11qT6A4ICBQACggIAbDXVjXtIxAM4TSt9FSep+H1j +yRoEXgisf5Q6eU6I7Wf6kAoW6bHw76S/OHgcMBYX7Z42kbVbna/rIAVfHnfrAaZY +ygYVqbxTKdhi0c8IxR2qyF9Z5UK68C/EP0SHjHJrFRAnYgwkqvJXbemHFB4c0Ds1 +iIL47Kas8o/WvLpT1VzlHXFyFKvRxNMdeJsy8/LBSrQpRUiKcJFM2lg+O8cNWsRd +kHTeWnjLrZT2rpPUIkSQZdbR16VBI8nS4pYpzdZ/N2zy+2S5dup7jMNtnLbXVT3X +AjSjiYHRZPQUnX0pG3qA0BzDuA0U3MdBs8Wf7YhGd8XLbAfdo5zPSM9GimJrGH0s +q4XKLHAEXUPfSuDGOdG8l990MujcRrewocwX5La1X/Nc4TDClCPUOVbf1aqy7LXY +TB1M+nHvTb5HhtIrZYSHmsdpWlcLj5mYde/nvFXmNu3RNVCLhMzQDV9S/U1hqNcH +m/BX2VTJ0xqhFIlA5UVrKZpnAEISKcFjwmZo7GuA1ENw2vhuvswjfYQ3OMfEr258 +0b1tKNMWrkbCgHdALjT/VdRUtte7RyGvsMccUHu6MHPowFRxbT3lWUqj1LKdZYnT +uERL4E1J2VIP1/x2upPPWl/wbQjxplsRQrSY+cQCfWM22Wtilouh+CdEc+1DNKs/ +bKZWFUcty/GYmXtxTTk= +-----END PUBLIC KEY----- diff --git a/Tests/Resources/test.sparkle_guided.pkg b/Tests/Resources/test.sparkle_guided.pkg new file mode 100644 index 00000000..f4933a80 Binary files /dev/null and b/Tests/Resources/test.sparkle_guided.pkg differ diff --git a/Tests/SUBinaryDeltaTest.m b/Tests/SUBinaryDeltaTest.m new file mode 100644 index 00000000..ad5c8e9e --- /dev/null +++ b/Tests/SUBinaryDeltaTest.m @@ -0,0 +1,933 @@ +// +// SUBinaryDeltaTest.m +// Sparkle +// +// Created by Jake Petroules on 2014-08-22. +// Copyright (c) 2014 Sparkle Project. All rights reserved. +// + +#import +#import +#import "SUBinaryDeltaCommon.h" +#import "SUBinaryDeltaCreate.h" +#import "SUBinaryDeltaApply.h" +#import + +@interface SUBinaryDeltaTest : XCTestCase + +@end + +typedef void (^SUDeltaHandler)(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory); + +@implementation SUBinaryDeltaTest + +- (void)testTemporaryDirectory +{ + NSString *tmp1 = temporaryDirectory(@"Sparkle"); + NSString *tmp2 = temporaryDirectory(@"Sparkle"); + NSLog(@"Temporary directories: %@, %@", tmp1, tmp2); + XCTAssertNotEqualObjects(tmp1, tmp2); + XCTAssert(YES, @"Pass"); +} + +- (void)testTemporaryFile +{ + NSString *tmp1 = temporaryFilename(@"Sparkle"); + NSString *tmp2 = temporaryFilename(@"Sparkle"); + NSLog(@"Temporary files: %@, %@", tmp1, tmp2); + XCTAssertNotEqualObjects(tmp1, tmp2); + XCTAssert(YES, @"Pass"); +} + +- (BOOL)createAndApplyPatchUsingVersion:(SUBinaryDeltaMajorVersion)majorVersion beforeDiffHandler:(SUDeltaHandler)beforeDiffHandler afterDiffHandler:(SUDeltaHandler)afterDiffHandler +{ + NSString *sourceDirectory = temporaryDirectory(@"Sparkle_temp1"); + NSString *destinationDirectory = temporaryDirectory(@"Sparkle_temp2"); + + NSString *diffFile = temporaryFilename(@"Sparkle_diff"); + NSString *patchDirectory = temporaryDirectory(@"Sparkle_patch"); + + XCTAssertNotNil(sourceDirectory); + XCTAssertNotNil(destinationDirectory); + XCTAssertNotNil(diffFile); + + NSFileManager *fileManager = [[NSFileManager alloc] init]; + + if (beforeDiffHandler != nil) { + beforeDiffHandler(fileManager, sourceDirectory, destinationDirectory); + } + + BOOL createdDiff = + (createBinaryDelta(sourceDirectory, destinationDirectory, diffFile, majorVersion, NO) == 0); + + if (createdDiff && afterDiffHandler != nil) { + afterDiffHandler(fileManager, sourceDirectory, destinationDirectory); + } + + BOOL appliedDiff = (createdDiff && applyBinaryDelta(sourceDirectory, patchDirectory, diffFile, NO) == 0); + + XCTAssertTrue([fileManager removeItemAtPath:sourceDirectory error:nil]); + XCTAssertTrue([fileManager removeItemAtPath:destinationDirectory error:nil]); + XCTAssertTrue([fileManager removeItemAtPath:patchDirectory error:nil]); + XCTAssertTrue([fileManager removeItemAtPath:diffFile error:nil]); + + return appliedDiff; +} + +- (BOOL)createAndApplyPatchWithBeforeDiffHandler:(SUDeltaHandler)beforeDiffHandler afterDiffHandler:(SUDeltaHandler)afterDiffHandler +{ + return [self createAndApplyPatchUsingVersion:LATEST_DELTA_DIFF_MAJOR_VERSION beforeDiffHandler:beforeDiffHandler afterDiffHandler:afterDiffHandler]; +} + +- (void)createAndApplyPatchWithHandler:(SUDeltaHandler)handler +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:handler afterDiffHandler:nil]; + XCTAssertTrue(success); +} + +- (BOOL)testDirectoryHashEqualityWithSource:(NSString *)source destination:(NSString *)destination +{ + XCTAssertNotNil(source); + XCTAssertNotNil(destination); + + NSString *beforeHash = hashOfTree(source); + NSString *afterHash = hashOfTree(destination); + + XCTAssertNotNil(beforeHash); + XCTAssertNotNil(afterHash); + + return [beforeHash isEqualToString:afterHash]; +} + +- (void)testNoFilesDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testNoFilesDiffWithInvalidLowVersion +{ + XCTAssertFalse([self createAndApplyPatchUsingVersion:(SUBinaryDeltaMajorVersion)0 beforeDiffHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + } afterDiffHandler:nil]); +} + +- (void)testNoFilesDiffWithInvalidHighVersion +{ + XCTAssertFalse([self createAndApplyPatchUsingVersion:(SUBinaryDeltaMajorVersion)9999 beforeDiffHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + } afterDiffHandler:nil]); +} + +- (void)testEmptyDataDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSData *emptyData = [NSData data]; + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([emptyData writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([emptyData writeToFile:destinationFile atomically:YES]); + + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testDifferentlyNamedEmptyDataDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSData *emptyData = [NSData data]; + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + XCTAssertTrue([emptyData writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([emptyData writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testEmptyDirectoryDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + if (![fileManager createDirectoryAtPath:destinationFile withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testDifferentlyNamedEmptyDirectoryDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + if (![fileManager createDirectoryAtPath:destinationFile withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testSameNonexistantSymlinkDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:sourceFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Failed creating empty symlink with error: %@", error); + XCTFail("Failed to create empty symlink"); + } + + if (![fileManager createSymbolicLinkAtPath:destinationFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Failed creating empty symlink with error: %@", error); + XCTFail("Failed to create empty symlink"); + } + + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testDifferentNonexistantSymlinkDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:sourceFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Failed creating empty symlink with error: %@", error); + XCTFail("Failed to create empty symlink"); + } + + if (![fileManager createSymbolicLinkAtPath:destinationFile withDestinationPath:@"C" error:&error]) { + NSLog(@"Failed creating empty symlink with error: %@", error); + XCTFail("Failed to create empty symlink"); + } + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testNonexistantSymlinkPermissionDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:sourceFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Failed creating empty symlink to source with error: %@", error); + XCTFail("Failed to create empty symlink"); + } + + if (![fileManager createSymbolicLinkAtPath:destinationFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Failed creating empty symlink to destination with error: %@", error); + XCTFail("Failed to create empty symlink"); + } + + if (lchmod([sourceFile fileSystemRepresentation], 0777) != 0) { + NSLog(@"Change Permission Error.."); + XCTFail(@"Failed setting file permissions"); + } + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testSmallDataDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testInvalidSource +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + } afterDiffHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *__unused destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData dataWithBytes:"testt" length:5] writeToFile:sourceFile atomically:YES]); + }]; + XCTAssertFalse(success); +} + +- (NSData *)bigData1 +{ + const size_t bufferSize = 4096*10; + uint8_t *buffer = calloc(1, bufferSize); + XCTAssertTrue(buffer != NULL); + + return [NSData dataWithBytesNoCopy:buffer length:bufferSize]; +} + +- (NSData *)bigData2 +{ + const size_t bufferSize = 4096*10; + uint8_t *buffer = calloc(1, bufferSize); + XCTAssertTrue(buffer != NULL); + + for (size_t bufferIndex = 0; bufferIndex < bufferSize; ++bufferIndex) { + buffer[bufferIndex] = 1; + } + + return [NSData dataWithBytesNoCopy:buffer length:bufferSize]; +} + +- (void)testBigDataSameDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[self bigData1] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[self bigData1] writeToFile:destinationFile atomically:YES]); + + XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testBigDataDifferentDiff +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[self bigData1] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[self bigData2] writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testRegularFileAdded +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"lol" length:3] writeToFile:destinationFile2 atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +// Make sure old version patches still work for simple cases +- (void)testRegularFileAddedWithAzureVersion +{ + XCTAssertTrue([self createAndApplyPatchUsingVersion:SUAzureMajorVersion beforeDiffHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"lol" length:3] writeToFile:destinationFile2 atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + } afterDiffHandler:nil]); +} + +- (void)testDirectoryAdded +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + NSString *destinationFile3 = [destinationFile2 stringByAppendingPathComponent:@"C"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile1 atomically:YES]); + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:destinationFile2 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + XCTAssertTrue([[self bigData2] writeToFile:destinationFile3 atomically:YES]); + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testRegularFileRemoved +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"lol" length:3] writeToFile:sourceFile2 atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testDirectoryRemoved +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceDirectory stringByAppendingPathComponent:@"B"]; + NSString *sourceFile3 = [sourceFile2 stringByAppendingPathComponent:@"C"]; + + XCTAssertTrue([[NSData data] writeToFile:destinationFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:sourceFile1 atomically:YES]); + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile2 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + XCTAssertTrue([[self bigData2] writeToFile:sourceFile3 atomically:YES]); + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testRegularFileMove +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + XCTAssertTrue([data writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testCaseSensitiveRegularFileMove +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceDirectory stringByAppendingPathComponent:@"b"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"a"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + + XCTAssertTrue([data writeToFile:sourceFile1 atomically:YES]); + XCTAssertTrue([data writeToFile:sourceFile2 atomically:YES]); + + XCTAssertTrue([data writeToFile:destinationFile1 atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile2 atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testRemovingSymlink +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:sourceFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Error in creating symlink: %@", error); + XCTFail(@"Failed to create symlink"); + } + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testAddingSymlink +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:destinationFile withDestinationPath:@"B" error:&error]) { + NSLog(@"Error in creating symlink: %@", error); + XCTFail(@"Failed to create symlink"); + } + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testSmallFilePermissionChangeWithNoContentChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + XCTAssertTrue([data writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile atomically:YES]); + + NSError *error = nil; + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0755} ofItemAtPath:destinationFile error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testBigFilePermissionChangeWithNoContentChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSData *data = [self bigData1]; + XCTAssertTrue([data writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile atomically:YES]); + + NSError *error = nil; + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0755} ofItemAtPath:destinationFile error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testSmallFilePermissionChangeWithContentChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData data] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[NSData dataWithBytes:@"lawl" length:4] writeToFile:destinationFile atomically:YES]); + + NSError *error = nil; + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0755} ofItemAtPath:destinationFile error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testBigFilePermissionChangeWithContentChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[self bigData1] writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([[self bigData2] writeToFile:destinationFile atomically:YES]); + + NSError *error = nil; + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0755} ofItemAtPath:destinationFile error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testDirectoryPermissionChangeWithContentChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceFile1 stringByAppendingPathComponent:@"B"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationFile1 stringByAppendingPathComponent:@"B"]; + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile1 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + if (![fileManager createDirectoryAtPath:destinationFile1 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + XCTAssertTrue([[self bigData1] writeToFile:sourceFile2 atomically:YES]); + XCTAssertTrue([[self bigData1] writeToFile:destinationFile2 atomically:YES]); + + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0766} ofItemAtPath:sourceFile1 error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0755} ofItemAtPath:destinationFile1 error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testInvalidPermissionsInAfterTree +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + XCTAssertTrue([data writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile atomically:YES]); + + NSError *error = nil; + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0777} ofItemAtPath:destinationFile error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + } afterDiffHandler:nil]; + XCTAssertFalse(success); +} + +- (void)testBadPermissionsInBeforeTree +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + XCTAssertTrue([data writeToFile:sourceFile atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile atomically:YES]); + + NSError *error = nil; + if (![fileManager setAttributes:@{NSFilePosixPermissions : @0777} ofItemAtPath:sourceFile error:&error]) { + NSLog(@"Change Permission Error: %@", error); + XCTFail(@"Failed setting file permissions"); + } + + // This would fail for version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testInvalidRegularFileWithACLInBeforeTree +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString * __unused destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:sourceFile atomically:YES]); + + acl_t acl = acl_init(1); + + acl_entry_t entry; + XCTAssertEqual(0, acl_create_entry(&acl, &entry)); + + acl_permset_t permset; + XCTAssertEqual(0, acl_get_permset(entry, &permset)); + + XCTAssertEqual(0, acl_add_perm(permset, ACL_SEARCH)); + + XCTAssertEqual(0, acl_set_link_np([sourceFile fileSystemRepresentation], ACL_TYPE_EXTENDED, acl)); + + XCTAssertEqual(0, acl_free(acl)); + } afterDiffHandler:nil]; + + XCTAssertFalse(success); +} + +- (void)testInvalidRegularFileWithACLInAfterTree +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:^(NSFileManager *__unused fileManager, NSString *__unused sourceDirectory, NSString *destinationDirectory) { + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([[NSData dataWithBytes:"loltest" length:7] writeToFile:destinationFile atomically:YES]); + + acl_t acl = acl_init(1); + + acl_entry_t entry; + XCTAssertEqual(0, acl_create_entry(&acl, &entry)); + + acl_permset_t permset; + XCTAssertEqual(0, acl_get_permset(entry, &permset)); + + XCTAssertEqual(0, acl_add_perm(permset, ACL_SEARCH)); + + XCTAssertEqual(0, acl_set_link_np([destinationFile fileSystemRepresentation], ACL_TYPE_EXTENDED, acl)); + + XCTAssertEqual(0, acl_free(acl)); + + } afterDiffHandler:nil]; + + XCTAssertFalse(success); +} + +- (void)testInvalidDirectoryWithACLInBeforeTree +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString * __unused destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([fileManager createDirectoryAtPath:sourceFile withIntermediateDirectories:NO attributes:nil error:nil]); + + acl_t acl = acl_init(1); + + acl_entry_t entry; + XCTAssertEqual(0, acl_create_entry(&acl, &entry)); + + acl_permset_t permset; + XCTAssertEqual(0, acl_get_permset(entry, &permset)); + + XCTAssertEqual(0, acl_add_perm(permset, ACL_SEARCH)); + + XCTAssertEqual(0, acl_set_link_np([sourceFile fileSystemRepresentation], ACL_TYPE_EXTENDED, acl)); + + XCTAssertEqual(0, acl_free(acl)); + } afterDiffHandler:nil]; + + XCTAssertFalse(success); +} + +- (void)testInvalidDirectoryWithACLInAfterTree +{ + BOOL success = [self createAndApplyPatchWithBeforeDiffHandler:^(NSFileManager *fileManager, NSString * __unused sourceDirectory, NSString *destinationDirectory) { + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + XCTAssertTrue([fileManager createDirectoryAtPath:destinationFile withIntermediateDirectories:NO attributes:nil error:nil]); + + acl_t acl = acl_init(1); + + acl_entry_t entry; + XCTAssertEqual(0, acl_create_entry(&acl, &entry)); + + acl_permset_t permset; + XCTAssertEqual(0, acl_get_permset(entry, &permset)); + + XCTAssertEqual(0, acl_add_perm(permset, ACL_SEARCH)); + + XCTAssertEqual(0, acl_set_link_np([destinationFile fileSystemRepresentation], ACL_TYPE_EXTENDED, acl)); + + XCTAssertEqual(0, acl_free(acl)); + } afterDiffHandler:nil]; + + XCTAssertFalse(success); +} + +- (void)testRegularFileToSymlinkChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceDirectory stringByAppendingPathComponent:@"B"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + NSData *data = [NSData dataWithBytes:"A" length:1]; + + XCTAssertTrue([data writeToFile:sourceFile1 atomically:YES]); + XCTAssertTrue([data writeToFile:sourceFile2 atomically:YES]); + + XCTAssertTrue([data writeToFile:destinationFile1 atomically:YES]); + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:destinationFile2 withDestinationPath:@"A" error:&error]) { + NSLog(@"Error in creating symlink: %@", error); + XCTFail(@"Failed to create symlink"); + } + + // This would fail with version 1.0 + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testSymlinkToRegularFileChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceDirectory stringByAppendingPathComponent:@"B"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"B"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + + XCTAssertTrue([data writeToFile:sourceFile1 atomically:YES]); + + XCTAssertTrue([data writeToFile:destinationFile1 atomically:YES]); + XCTAssertTrue([data writeToFile:destinationFile2 atomically:YES]); + + NSError *error = nil; + if (![fileManager createSymbolicLinkAtPath:sourceFile2 withDestinationPath:@"A" error:&error]) { + NSLog(@"Error in creating symlink: %@", error); + XCTFail(@"Failed to create symlink"); + } + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testRegularFileToDirectoryChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + XCTAssertTrue([data writeToFile:sourceFile atomically:YES]); + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:destinationFile withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +- (void)testDirectoryToRegularFileChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile = [destinationDirectory stringByAppendingPathComponent:@"A"]; + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory"); + } + + NSData *data = [NSData dataWithBytes:"loltest" length:7]; + XCTAssertTrue([data writeToFile:destinationFile atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +// See issue #514 for more info +- (void)testDirectoryToSymlinkChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceDirectory stringByAppendingPathComponent:@"Current"]; + NSString *sourceFile3 = [sourceFile2 stringByAppendingPathComponent:@"B"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationFile1 stringByAppendingPathComponent:@"B"]; + NSString *destinationFile3 = [destinationDirectory stringByAppendingPathComponent:@"Current"]; + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile1 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory A in source"); + } + + if (![fileManager createDirectoryAtPath:sourceFile2 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory Current in source"); + } + + if (![fileManager createDirectoryAtPath:destinationFile1 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory A in destination"); + } + + if (![fileManager createSymbolicLinkAtPath:destinationFile3 withDestinationPath:@"A/" error:&error]) { + NSLog(@"Error in creating symlink: %@", error); + XCTFail(@"Failed to create symlink"); + } + + XCTAssertTrue([[self bigData1] writeToFile:sourceFile3 atomically:YES]); + XCTAssertTrue([[self bigData1] writeToFile:destinationFile2 atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +// Opposite of the test method testDirectoryToSymlinkChange +- (void)testSymlinkToDirectoryChange +{ + [self createAndApplyPatchWithHandler:^(NSFileManager *fileManager, NSString *sourceDirectory, NSString *destinationDirectory) { + NSString *sourceFile1 = [sourceDirectory stringByAppendingPathComponent:@"A"]; + NSString *sourceFile2 = [sourceFile1 stringByAppendingPathComponent:@"B"]; + NSString *sourceFile3 = [sourceDirectory stringByAppendingPathComponent:@"Current"]; + + NSString *destinationFile1 = [destinationDirectory stringByAppendingPathComponent:@"A"]; + NSString *destinationFile2 = [destinationDirectory stringByAppendingPathComponent:@"Current"]; + NSString *destinationFile3 = [destinationFile2 stringByAppendingPathComponent:@"B"]; + + NSError *error = nil; + if (![fileManager createDirectoryAtPath:sourceFile1 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory A in source"); + } + + if (![fileManager createDirectoryAtPath:destinationFile1 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory A in destination"); + } + + if (![fileManager createDirectoryAtPath:destinationFile2 withIntermediateDirectories:NO attributes:nil error:&error]) { + NSLog(@"Failed creating directory with error: %@", error); + XCTFail("Failed to create directory Current in destination"); + } + + if (![fileManager createSymbolicLinkAtPath:sourceFile3 withDestinationPath:@"A/" error:&error]) { + NSLog(@"Error in creating symlink: %@", error); + XCTFail(@"Failed to create symlink"); + } + + XCTAssertTrue([[self bigData1] writeToFile:sourceFile2 atomically:YES]); + XCTAssertTrue([[self bigData1] writeToFile:destinationFile3 atomically:YES]); + + XCTAssertFalse([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]); + }]; +} + +@end diff --git a/Tests/SUCodeSigningVerifierTest.m b/Tests/SUCodeSigningVerifierTest.m new file mode 100644 index 00000000..6abd0319 --- /dev/null +++ b/Tests/SUCodeSigningVerifierTest.m @@ -0,0 +1,176 @@ +// +// SUCodeSigningVerifierTest.m +// Sparkle +// +// Created by Isaac Wankerl on 04/13/2015. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import +#import +#import "NTSynchronousTask.h" +#import "SUCodeSigningVerifier.h" + +@interface SUCodeSigningVerifierTest : XCTestCase + +@property (copy) NSString *notSignedAppPath; +@property (copy) NSString *validSignedAppPath; +@property (copy) NSString *invalidSignedAppPath; + +@end + +@implementation SUCodeSigningVerifierTest + +@synthesize notSignedAppPath = _notSignedAppPath; +@synthesize validSignedAppPath = _validSignedAppPath; +@synthesize invalidSignedAppPath = _invalidSignedAppPath; + +- (void)setUp +{ + [super setUp]; + + NSBundle *unitTestBundle = [NSBundle bundleForClass:[self class]]; + NSString *zippedAppPath = [unitTestBundle pathForResource:@"SparkleTestCodeSignApp" ofType:@"zip"]; + NSString *tempDir = [NSTemporaryDirectory() stringByAppendingPathComponent:[unitTestBundle bundleIdentifier]]; + NSError *error = nil; + if ([[NSFileManager defaultManager] createDirectoryAtPath:tempDir withIntermediateDirectories:YES attributes:nil error:&error]) { + if ([self unzip:zippedAppPath toPath:tempDir]) { + self.notSignedAppPath = [tempDir stringByAppendingPathComponent:@"SparkleTestCodeSignApp.app"]; + [self setupValidSignedApp]; + [self setupInvalidSignedApp]; + } + else { + NSLog(@"Failed to unzip %@", zippedAppPath); + } + } + else { + NSLog(@"Failed to created dir %@ with error %@", tempDir, error); + } +} + +- (void)tearDown +{ + [super tearDown]; + + if (self.notSignedAppPath) { + [[NSFileManager defaultManager] removeItemAtPath:self.notSignedAppPath error:nil]; + } + if (self.validSignedAppPath) { + [[NSFileManager defaultManager] removeItemAtPath:self.validSignedAppPath error:nil]; + } + if (self.invalidSignedAppPath) { + [[NSFileManager defaultManager] removeItemAtPath:self.invalidSignedAppPath error:nil]; + } +} + +- (void)setupValidSignedApp +{ + NSError *error = nil; + NSString *tempDir = [self.notSignedAppPath stringByDeletingLastPathComponent]; + NSString *signedAndValid = [tempDir stringByAppendingPathComponent:@"valid-signed.app"]; + if ([[NSFileManager defaultManager] copyItemAtPath:self.notSignedAppPath toPath:signedAndValid error:&error]) { + self.validSignedAppPath = signedAndValid; + if (![self codesignAppPath:self.validSignedAppPath]) { + NSLog(@"Failed to codesign %@", self.validSignedAppPath); + } + } + else { + NSLog(@"Failed to copy %@ to %@ with error %@", self.notSignedAppPath, signedAndValid, error); + } +} + +- (void)setupInvalidSignedApp +{ + NSError *error = nil; + NSString *tempDir = [self.notSignedAppPath stringByDeletingLastPathComponent]; + NSString *signedAndInvalid = [tempDir stringByAppendingPathComponent:@"invalid-signed.app"]; + if ([[NSFileManager defaultManager] copyItemAtPath:self.notSignedAppPath toPath:signedAndInvalid error:&error]) { + self.invalidSignedAppPath = signedAndInvalid; + if ([self codesignAppPath:self.invalidSignedAppPath]) { + NSString *fileInAppBundleToRemove = [self.invalidSignedAppPath stringByAppendingPathComponent:@"Contents/Resources/test_app_only_dsa_pub.pem"]; + if (![[NSFileManager defaultManager] removeItemAtPath:fileInAppBundleToRemove error:&error]) { + NSLog(@"Failed to remove %@ with error %@", fileInAppBundleToRemove, error); + } + } + else { + NSLog(@"Failed to codesign %@", self.invalidSignedAppPath); + } + } + else { + NSLog(@"Failed to copy %@ to %@ with error %@", self.notSignedAppPath, signedAndInvalid, error); + } +} + +- (BOOL)unzip:(NSString *)zipPath toPath:(NSString *)destPath +{ + BOOL success = NO; + @try + { + NTSynchronousTask *task = [[NTSynchronousTask alloc] init]; + NSArray *arguments = @[ zipPath ]; + [task run:@"/usr/bin/unzip" directory:destPath withArgs:arguments input:nil]; + success = ([task result] == 0); + } + @catch (NSException *exception) + { + NSLog(@"exception: %@", exception); + } + return success; +} + +- (BOOL)codesignAppPath:(NSString *)appPath +{ + BOOL success = NO; + @try + { + // ad-hoc signing with the dash + NSArray *arguments = @[ @"--force", @"--deep", @"--sign", @"-", appPath ]; + NTSynchronousTask *task = [[NTSynchronousTask alloc] init]; + [task run:@"/usr/bin/codesign" directory:nil withArgs:arguments input:nil]; + success = ([task result] == 0); + } + @catch (NSException *exception) + { + NSLog(@"exception: %@", exception); + } + return success; +} + +- (void)testUnsignedApp +{ + XCTAssertFalse([SUCodeSigningVerifier applicationAtPathIsCodeSigned:self.notSignedAppPath], @"App not expected to be code signed"); + + NSError *error = nil; + XCTAssertFalse([SUCodeSigningVerifier codeSignatureIsValidAtPath:self.notSignedAppPath error:&error], @"signature should not be valid as it's not code signed"); + XCTAssertNotNil(error, @"error should not be nil"); +} + +- (void)testValidSignedApp +{ + XCTAssertTrue([SUCodeSigningVerifier applicationAtPathIsCodeSigned:self.validSignedAppPath], @"App expected to be code signed"); + + NSError *error = nil; + XCTAssertTrue([SUCodeSigningVerifier codeSignatureIsValidAtPath:self.validSignedAppPath error:&error], @"signature should be valid"); + XCTAssertNil(error, @"error should be nil"); +} + +- (void)testValidSignedCalculatorApp +{ + NSString *appPath = @"/Applications/Calculator.app"; + XCTAssertTrue([SUCodeSigningVerifier applicationAtPathIsCodeSigned:appPath], @"App expected to be code signed"); + + NSError *error = nil; + XCTAssertTrue([SUCodeSigningVerifier codeSignatureIsValidAtPath:appPath error:&error], @"signature should be valid"); + XCTAssertNil(error, @"error should be nil"); +} + +- (void)testInvalidSignedApp +{ + XCTAssertTrue([SUCodeSigningVerifier applicationAtPathIsCodeSigned:self.invalidSignedAppPath], @"App expected to be code signed, but signature is invalid"); + + NSError *error = nil; + XCTAssertFalse([SUCodeSigningVerifier codeSignatureIsValidAtPath:self.invalidSignedAppPath error:&error], @"signature should not be valid"); + XCTAssertNotNil(error, @"error should not be nil"); +} + +@end diff --git a/Tests/SUDSAVerifierTest.m b/Tests/SUDSAVerifierTest.m new file mode 100644 index 00000000..f9c4b983 --- /dev/null +++ b/Tests/SUDSAVerifierTest.m @@ -0,0 +1,85 @@ +// +// SUDSAVerifierTest.m +// Sparkle +// +// Created by Kornel on 25/07/2014. +// Copyright (c) 2014 Sparkle Project. All rights reserved. +// + +#import +#import +#import "SUDSAVerifier.h" + +@interface SUDSAVerifierTest : XCTestCase +@property NSString *testFile, *pubKeyFile; +@end + +@implementation SUDSAVerifierTest +@synthesize testFile, pubKeyFile; + +- (void)setUp +{ + [super setUp]; + + self.testFile = [[NSBundle bundleForClass:[self class]] pathForResource:@"signed-test-file" ofType:@"txt"]; + self.pubKeyFile = [[NSBundle bundleForClass:[self class]] pathForResource:@"test-pubkey" ofType:@"pem"]; +} + +- (void)testVerifyFileAtPath +{ + NSData *pubKey = [NSData dataWithContentsOfFile:self.pubKeyFile]; + XCTAssertNotNil(pubKey, @"Public key must be readable"); + + NSString *validSig = @"MCwCFCIHCIYYkfZavNzTitTW5tlRp/k5AhQ40poFytqcVhIYdCxQznaXeJPJDQ=="; + + XCTAssertTrue([self checkFile:self.testFile + withPubKey:pubKey + signature:validSig], + @"Expected valid signature"); + + XCTAssertFalse([self checkFile:self.testFile + withPubKey:[NSData dataWithBytes:"lol" length:3] + signature:validSig], + @"Invalid pubkey"); + + XCTAssertFalse([self checkFile:self.pubKeyFile + withPubKey:pubKey + signature:validSig], + @"Wrong file checked"); + + XCTAssertFalse([self checkFile:self.testFile + withPubKey:pubKey + signature:@"MCwCFCIHCiYYkfZavNzTitTW5tlRp/k5AhQ40poFytqcVhIYdCxQznaXeJPJDQ=="], + @"Expected invalid signature"); + + XCTAssertTrue([self checkFile:self.testFile + withPubKey:pubKey + signature:@"MC0CFAsKO7cq2q7L5/FWe6ybVIQkwAwSAhUA2Q8GKsE309eugi/v3Kh1W3w3N8c="], + @"Expected valid signature"); + + XCTAssertFalse([self checkFile:self.testFile + withPubKey:pubKey + signature:@"MC0CFAsKO7cq2q7L5/FWe6ybVIQkwAwSAhUA2Q8GKsE309eugi/v3Kh1W3w3N8"], + @"Expected invalid signature"); +} + +- (BOOL)checkFile:(NSString *)aFile withPubKey:(NSData *)pubKey signature:(NSString *)sigString +{ + SUDSAVerifier *v = [[SUDSAVerifier alloc] initWithPublicKeyData:pubKey]; + + NSData *sig = [[NSData alloc] initWithBase64Encoding:sigString]; + + return [v verifyFileAtPath:aFile signature:sig]; +} + +- (void)testValidatePath +{ + NSString *pubkey = [NSString stringWithContentsOfFile:self.pubKeyFile encoding:NSASCIIStringEncoding error:nil]; + + XCTAssertTrue([SUDSAVerifier validatePath:self.testFile + withEncodedDSASignature:@"MC0CFFMF3ha5kjvrJ9JTpTR8BenPN9QUAhUAzY06JRdtP17MJewxhK0twhvbKIE=" + withPublicDSAKey:pubkey], + @"Expected valid signature"); +} + +@end diff --git a/Tests/SUInstallerTest.m b/Tests/SUInstallerTest.m new file mode 100644 index 00000000..ceee0b6c --- /dev/null +++ b/Tests/SUInstallerTest.m @@ -0,0 +1,65 @@ +// +// SUInstallerTest.m +// Sparkle +// +// Created by Kornel on 24/04/2015. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import +#import +#import "SUHost.h" +#import "SUInstaller.h" +#import + +@interface SUInstallerTest : XCTestCase + +@end + +@implementation SUInstallerTest + +- (void)setUp +{ + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown +{ + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testInstallIfRoot +{ + uid_t uid = getuid(); + + if (uid) { + NSLog(@"Test must be run as root: sudo xctest -XCTest SUInstallerTest 'Sparkle Unit Tests.xctest'"); + return; + } + + NSString *expectedDestination = @"/tmp/sparklepkgtest.app"; + NSFileManager *fm = [NSFileManager defaultManager]; + [fm removeItemAtPath:expectedDestination error:nil]; + XCTAssertFalse([fm fileExistsAtPath:expectedDestination isDirectory:nil]); + + XCTestExpectation *done = [self expectationWithDescription:@"install finished"]; + + NSBundle *bundle = [NSBundle bundleForClass:[self class]]; + NSString *path = [bundle pathForResource:@"test.sparkle_guided" ofType:@"pkg"]; + XCTAssertNotNil(path); + + SUHost *host = [[SUHost alloc] initWithBundle:bundle]; + + [SUInstaller installFromUpdateFolder:[path stringByDeletingLastPathComponent] overHost:host installationPath:@"/tmp" versionComparator:nil completionHandler:^(NSError *error) { + XCTAssertNil(error); + XCTAssertTrue([fm fileExistsAtPath:expectedDestination isDirectory:nil]); + [done fulfill]; + }]; + + [self waitForExpectationsWithTimeout:40 handler:nil]; + [fm removeItemAtPath:expectedDestination error:nil]; +} + +@end diff --git a/Tests/SUPipedUnarchiverTest.m b/Tests/SUPipedUnarchiverTest.m new file mode 100644 index 00000000..c733da46 --- /dev/null +++ b/Tests/SUPipedUnarchiverTest.m @@ -0,0 +1,70 @@ +// +// SUPipedUnarchiverTest.m +// Sparkle +// +// Created by Kornel on 23/04/2015. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import +#import +#import "SUUnarchiver.h" +#import "SUPipedUnarchiver.h" + +@interface SUPipedUnarchiverTest : XCTestCase +@end + +@implementation SUPipedUnarchiverTest { + XCTestExpectation *unarchived; + BOOL result; +} + +- (void)setUp { + [super setUp]; + unarchived = [self expectationWithDescription:@"unarchived"]; +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void) unarchiver:(SUUnarchiver *)unarchiver extractedProgress:(double)_unused { +} + +- (void) unarchiverDidFail:(SUUnarchiver *)_unused { + result = NO; + [unarchived fulfill]; +} + +- (void) unarchiverDidFinish:(SUUnarchiver *)_unused { + result = YES; + [unarchived fulfill]; +} + +- (void)testBlah { + NSString *originalArchivePath = [[NSBundle bundleForClass:[self class]] pathForResource:@"test archive" ofType:@"zip"]; + NSString *tempDestDir = NSTemporaryDirectory(); + NSString *tempArchivePath = [[tempDestDir stringByAppendingPathComponent:[NSUUID UUID].UUIDString] stringByAppendingPathExtension:@"zip"]; + + NSFileManager *fm = [NSFileManager defaultManager]; + NSString *testFile = [tempDestDir stringByAppendingPathComponent:@"extracted file.txt"]; + [fm removeItemAtPath:testFile error:nil]; + + XCTAssertFalse([fm fileExistsAtPath:testFile isDirectory:nil]); + XCTAssertTrue([fm copyItemAtPath:originalArchivePath toPath:tempArchivePath error:nil]); + + SUUnarchiver *unarc = [SUUnarchiver unarchiverForPath:tempArchivePath updatingHostBundlePath:nil]; + + XCTAssertTrue([unarc isKindOfClass:[SUPipedUnarchiver class]]); + + unarc.delegate = self; + [unarc start]; + + [self waitForExpectationsWithTimeout:5.0 handler:nil]; + + XCTAssertTrue(result); + XCTAssertTrue([fm fileExistsAtPath:testFile isDirectory:nil]); +} + +@end diff --git a/Tests/SUUpdaterTest.m b/Tests/SUUpdaterTest.m new file mode 100644 index 00000000..81eb5bf8 --- /dev/null +++ b/Tests/SUUpdaterTest.m @@ -0,0 +1,77 @@ +// +// SUUpdaterTest.m +// Sparkle +// +// Created by Jake Petroules on 2014-06-29. +// Copyright (c) 2014 Sparkle Project. All rights reserved. +// + +#import +#import "SUConstants.h" +#import "SUUpdater.h" + +@interface SUUpdaterTest : XCTestCase +@property (strong) NSOperationQueue *queue; +@property (strong) SUUpdater *updater; +@end + +@implementation SUUpdaterTest + +@synthesize queue; +@synthesize updater; + +- (void)setUp +{ + [super setUp]; + self.queue = [[NSOperationQueue alloc] init]; + self.updater = [[SUUpdater alloc] init]; + self.updater.delegate = self; +} + +- (void)tearDown +{ + self.updater = nil; + self.queue = nil; + [super tearDown]; +} + +- (NSString *)feedURLStringForUpdater:(SUUpdater *) __unused updater +{ + return @""; +} + +- (void)testFeedURL +{ + [self.updater feedURL]; // this WON'T throw + + [self.queue addOperationWithBlock:^{ + XCTAssertTrue(![NSThread isMainThread]); + @try { + [self.updater feedURL]; + XCTFail(@"feedURL did not throw an exception when called on a secondary thread"); + } + @catch (NSException *exception) { + NSLog(@"%@", exception); + } + }]; + [self.queue waitUntilAllOperationsAreFinished]; +} + +- (void)testSetTestFeedURL +{ + [self.updater setFeedURL:[NSURL URLWithString:@""]]; // this WON'T throw + + [self.queue addOperationWithBlock:^{ + XCTAssertTrue(![NSThread isMainThread]); + @try { + [self.updater setFeedURL:[NSURL URLWithString:@""]]; + XCTFail(@"setFeedURL: did not throw an exception when called on a secondary thread"); + } + @catch (NSException *exception) { + NSLog(@"%@", exception); + } + }]; + [self.queue waitUntilAllOperationsAreFinished]; +} + +@end diff --git a/Tests/SUVersionComparisonTest.h b/Tests/SUVersionComparisonTest.h deleted file mode 100644 index b263a8d4..00000000 --- a/Tests/SUVersionComparisonTest.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// SUVersionComparisonTest.h -// Sparkle -// -// Created by Andy Matuschak on 4/15/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#import - - -@interface SUVersionComparisonTest : SenTestCase { - -} - -@end diff --git a/Tests/SUVersionComparisonTest.m b/Tests/SUVersionComparisonTest.m index 17759da0..de151da7 100644 --- a/Tests/SUVersionComparisonTest.m +++ b/Tests/SUVersionComparisonTest.m @@ -6,12 +6,17 @@ // Copyright 2008 Andy Matuschak. All rights reserved. // -#import "SUVersionComparisonTest.h" #import "SUStandardVersionComparator.h" -@implementation SUVersionComparisonTest +#import -#define SUAssertOrder(a,b,c) STAssertTrue([[SUStandardVersionComparator defaultComparator] compareVersion:a toVersion:b] == c, @"b should be newer than a!") +@interface SUVersionComparisonTestCase : XCTestCase { +} +@end + +@implementation SUVersionComparisonTestCase + +#define SUAssertOrder(a,b,c) XCTAssertTrue([[SUStandardVersionComparator defaultComparator] compareVersion:a toVersion:b] == c, @"b should be newer than a!") #define SUAssertAscending(a, b) SUAssertOrder(a,b,NSOrderedAscending) #define SUAssertDescending(a, b) SUAssertOrder(a,b,NSOrderedDescending) #define SUAssertEqual(a, b) SUAssertOrder(a,b,NSOrderedSame) @@ -46,7 +51,9 @@ SUAssertAscending(@"1.0b5 (1234)", @"1.0b5 (1235)"); SUAssertAscending(@"1.0b5 (1234)", @"1.0.1b5 (1234)"); SUAssertAscending(@"1.0.1b5 (1234)", @"1.0.1b6 (1234)"); - + SUAssertAscending(@"2.0.0.2429", @"2.0.0.2430"); + SUAssertAscending(@"1.1.1.1818", @"2.0.0.2430"); + SUAssertAscending(@"3.3 (5847)", @"3.3.1b1 (5902)"); } diff --git a/Tests/Sparkle Unit Tests-Info.plist b/Tests/SparkleTests-Info.plist similarity index 87% rename from Tests/Sparkle Unit Tests-Info.plist rename to Tests/SparkleTests-Info.plist index 65013556..779433b8 100644 --- a/Tests/Sparkle Unit Tests-Info.plist +++ b/Tests/SparkleTests-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - com.yourcompany.${PRODUCT_NAME:identifier} + org.sparkle-project.Sparkle.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType diff --git a/NTSynchronousTask.h b/Vendor/CocoatechCore/NTSynchronousTask.h similarity index 80% rename from NTSynchronousTask.h rename to Vendor/CocoatechCore/NTSynchronousTask.h index be74ce38..cbcbf2c8 100644 --- a/NTSynchronousTask.h +++ b/Vendor/CocoatechCore/NTSynchronousTask.h @@ -10,16 +10,8 @@ #define NTSYNCHRONOUSTASK_H @interface NTSynchronousTask : NSObject -{ -@private - NSTask *mv_task; - NSPipe *mv_outputPipe; - NSPipe *mv_inputPipe; - - NSData* mv_output; - BOOL mv_done; - int mv_result; -} +@property (readonly, strong) NSData *output; +@property (readonly) int result; // pass nil for directory if not needed // returns the result @@ -28,8 +20,6 @@ +(NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; - (void)run:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; -- (int)result; -- (NSData *)output; @end diff --git a/Vendor/CocoatechCore/NTSynchronousTask.m b/Vendor/CocoatechCore/NTSynchronousTask.m new file mode 100644 index 00000000..b0fdee24 --- /dev/null +++ b/Vendor/CocoatechCore/NTSynchronousTask.m @@ -0,0 +1,174 @@ +// +// NTSynchronousTask.m +// CocoatechCore +// +// Created by Steve Gehrman on 9/29/05. +// Copyright 2005 Steve Gehrman. All rights reserved. +// + +#import "SUUpdater.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUVersionComparisonProtocol.h" +#import "NTSynchronousTask.h" + +@interface NTSynchronousTask () +@property (strong) NSTask *task; +@property (strong) NSPipe *outputPipe; +@property (strong) NSPipe *inputPipe; +@property (readwrite, strong) NSData *output; +@property (getter = isDone) BOOL done; +@property (readwrite) int result; +@end + +@implementation NTSynchronousTask +@synthesize output = mv_output; +@synthesize result = mv_result; +@synthesize task = mv_task; +@synthesize outputPipe = mv_outputPipe; +@synthesize inputPipe = mv_inputPipe; +@synthesize done = mv_done; + +- (void)taskOutputAvailable:(NSNotification*)note +{ + self.output = [note userInfo][NSFileHandleNotificationDataItem]; + + self.done = YES; +} + +- (void)taskDidTerminate:(NSNotification *) __unused note +{ + self.result = [self.task terminationStatus]; +} + +- (instancetype)init +{ + self = [super init]; + if (self) + { + self.task = [[NSTask alloc] init]; + self.outputPipe = [[NSPipe alloc] init]; + self.inputPipe = [[NSPipe alloc] init]; + + self.task.standardInput = self.inputPipe; + self.task.standardOutput = self.outputPipe; + self.task.standardError = self.outputPipe; + } + + return self; +} + +//---------------------------------------------------------- +// dealloc +//---------------------------------------------------------- +- (void)dealloc +{ + [[NSNotificationCenter defaultCenter] removeObserver:self]; +} + +- (void)run:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input +{ + BOOL success = NO; + + if (currentDirectory) { + self.task.currentDirectoryPath = currentDirectory; + } + + self.task.launchPath = toolPath; + self.task.arguments = args; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(taskOutputAvailable:) + name:NSFileHandleReadToEndOfFileCompletionNotification + object:[[self outputPipe] fileHandleForReading]]; + + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(taskDidTerminate:) + name:NSTaskDidTerminateNotification + object:[self task]]; + + [[[self outputPipe] fileHandleForReading] readToEndOfFileInBackgroundAndNotifyForModes:@[NSDefaultRunLoopMode, NSModalPanelRunLoopMode, NSEventTrackingRunLoopMode]]; + + @try + { + [self.task launch]; + success = YES; + } + @catch (NSException *) { } + + if (success) + { + if (input) + { + // feed the running task our input + [[self.inputPipe fileHandleForWriting] writeData:input]; + [[self.inputPipe fileHandleForWriting] closeFile]; + } + + // loop until we are done receiving the data + if (!self.done) + { + double resolution = 1; + BOOL isRunning; + NSDate* next; + + do { + next = [NSDate dateWithTimeIntervalSinceNow:resolution]; + + isRunning = [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode + beforeDate:next]; + } while (isRunning && !self.done); + } + } +} + ++ (NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input +{ + @autoreleasepool { + NSData* result = nil; + // we need this wacky pool here, otherwise we run out of pipes, the pipes are internally autoreleased + @try { + NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; + + [task run:toolPath directory:currentDirectory withArgs:args input:input]; + + if ([task result] == 0) { + result = [task output]; + } + } + @catch (NSException *) { } + + return result; + } +} + + ++(int) task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input output: (NSData*__autoreleasing *)outData +{ + // we need this wacky pool here, otherwise we run out of pipes, the pipes are internally autoreleased + @autoreleasepool { + int taskResult = 0; + if (outData) { + *outData = nil; + } + + @try { + NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; + + [task run:toolPath directory:currentDirectory withArgs:args input:input]; + + taskResult = [task result]; + if (outData) { + *outData = [task output]; + } + + } @catch (NSException *) { + taskResult = errCppGeneral; + } + + return taskResult; + } +} + +@end diff --git a/bsdiff.c b/Vendor/bsdiff/bsdiff.c similarity index 77% rename from bsdiff.c rename to Vendor/bsdiff/bsdiff.c index a742ea97..9d55aded 100644 --- a/bsdiff.c +++ b/Vendor/bsdiff/bsdiff.c @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bsdiff/bsdiff.c, v 1.1 2005/08/06 01:59:0 #endif #include +#include "sais.h" #include #include @@ -39,138 +40,6 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bsdiff/bsdiff.c, v 1.1 2005/08/06 01:59:0 #define MIN(x, y) (((x)<(y)) ? (x) : (y)) -static void split(off_t *I, off_t *V, off_t start, off_t len, off_t h) -{ - off_t i, j, k, x, tmp, jj, kk; - - if (len < 16) { - for (k = start; k < start + len; k += j) { - j = 1; x = V[I[k] + h]; - for (i = 1; k + i < start + len; i++) { - if (V[I[k + i] + h] < x) { - x = V[I[k + i] + h]; - j = 0; - }; - if (V[I[k + i] + h] == x) { - tmp = I[k + j]; I[k + j] = I[k + i]; I[k + i] = tmp; - j++; - }; - }; - for (i = 0; i < j; i++) - V[I[k + i]] = k + j - 1; - if (j == 1) - I[k] = -1; - }; - return; - }; - - x = V[I[start + len/2] + h]; - jj = 0; kk = 0; - for (i = start; i < start + len; i++) { - if (V[I[i] + h] < x) - jj++; - if (V[I[i] + h] == x) - kk++; - }; - jj += start; kk += jj; - - i = start; j = 0; k = 0; - while (i < jj) { - if (V[I[i] + h] < x) { - i++; - } else if (V[I[i] + h] == x) { - tmp = I[i]; I[i] = I[jj + j]; I[jj + j] = tmp; - j++; - } else { - tmp = I[i]; I[i] = I[kk + k]; I[kk + k] = tmp; - k++; - }; - }; - - while (jj + j < kk) { - if (V[I[jj + j] + h] == x) { - j++; - } else { - tmp = I[jj + j]; I[jj + j] = I[kk + k]; I[kk + k] = tmp; - k++; - }; - }; - - if (jj > start) - split(I, V, start, jj - start, h); - - for (i = 0; i < kk - jj; i++) - V[I[jj + i]] = kk - 1; - if (jj == kk - 1) - I[jj] = -1; - - if (start + len > kk) - split(I, V, kk, start + len - kk, h); -} - -/* qsufsort(I, V, old, oldsize) - * - * Computes the suffix sort of the string at 'old' and stores the resulting - * indices in 'I', using 'V' as a temporary array for the computation. */ -static void qsufsort(off_t *I, off_t *V, u_char *old, off_t oldsize) -{ - off_t buckets[256]; - off_t i, h, len; - - /* count number of each byte */ - for (i = 0; i < 256; i++) - buckets[i] = 0; - for (i = 0; i < oldsize; i++) - buckets[old[i]]++; - /* make buckets cumulative */ - for (i = 1; i < 256; i++) - buckets[i] += buckets[i - 1]; - /* shift right by one */ - for (i = 255; i > 0; i--) - buckets[i] = buckets[i - 1]; - buckets[0] = 0; - /* at this point, buckets[c] is the number of bytes in the old file with - * value less than c. */ - - /* set up the sort order of the suffixes based solely on the first - * character */ - for (i = 0; i < oldsize; i++) - I[++buckets[old[i]]] = i; - I[0] = oldsize; - /* ? */ - for (i = 0; i < oldsize; i++) - V[i] = buckets[old[i]]; - V[oldsize] = 0; - /* forward any entries in the ordering which have the same initial - * character */ - for (i = 1; i < 256; i++) { - if (buckets[i] == buckets[i - 1] + 1) - I[buckets[i]] = -1; - } - I[0] = -1; - - for (h = 1; I[0] != -(oldsize + 1); h += h) { - len = 0; - for (i = 0; i < oldsize + 1;) { - if (I[i] < 0) { - len -= I[i]; - i -= I[i]; - } else { - if (len) - I[i - len] = -len; - len = V[I[i]] + 1 - i; - split(I, V, i, len, h); - i += len; - len = 0; - } - } - if (len) - I[i - len] = -len; - }; - - for (i = 0; i < oldsize + 1; i++) I[V[i]] = i; -} - /* matchlen(old, oldsize, new, newsize) * * Returns the length of the longest common prefix between 'old' and 'new'. */ @@ -255,7 +124,7 @@ int bsdiff(int argc, char *argv[]) off_t oldsize, newsize; /* length of old, new files */ off_t *I,*V; /* arrays used for suffix sort; I is ordering */ off_t scan; /* position of current match in old file */ - off_t pos; /* position of current match in new file */ + off_t pos = 0; /* position of current match in new file */ off_t len; /* length of current match */ off_t lastscan; /* position of previous match in old file */ off_t lastpos; /* position of previous match in new file */ @@ -288,7 +157,7 @@ int bsdiff(int argc, char *argv[]) err(1, NULL); /* Do a suffix sort on the old file. */ - qsufsort(I, V, old, oldsize); + I[0] = oldsize; sais(old, I+1, oldsize); free(V); diff --git a/bspatch.c b/Vendor/bsdiff/bspatch.c similarity index 99% rename from bspatch.c rename to Vendor/bsdiff/bspatch.c index d1f8ce94..7c8c238e 100644 --- a/bspatch.c +++ b/Vendor/bsdiff/bspatch.c @@ -28,7 +28,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bspatch/bspatch.c,v 1.1 2005/08/06 01:59:06 cperciva Exp $"); #endif -#include +#include "bspatch.h" #include #include #include diff --git a/bspatch.h b/Vendor/bsdiff/bspatch.h similarity index 100% rename from bspatch.h rename to Vendor/bsdiff/bspatch.h diff --git a/Vendor/bsdiff/sais.c b/Vendor/bsdiff/sais.c new file mode 100644 index 00000000..39b57e62 --- /dev/null +++ b/Vendor/bsdiff/sais.c @@ -0,0 +1,534 @@ +/* + * sais.c for sais-lite + * Copyright (c) 2008-2010 Yuta Mori All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +#include +#include +#include "sais.h" + +#ifndef UCHAR_SIZE +# define UCHAR_SIZE 256 +#endif +#ifndef MINBUCKETSIZE +# define MINBUCKETSIZE 256 +#endif + +#define sais_bool_type int +#define SAIS_LMSSORT2_LIMIT 0x3fffffff + +#define SAIS_MYMALLOC(_num, _type) ((_type *)malloc((_num) * sizeof(_type))) +#define SAIS_MYFREE(_ptr, _num, _type) free((_ptr)) +#define chr(_a) (cs == sizeof(sais_index_type) ? ((sais_index_type *)T)[(_a)] : ((unsigned char *)T)[(_a)]) + +/* find the start or end of each bucket */ +static +void +getCounts(const void *T, sais_index_type *C, sais_index_type n, sais_index_type k, int cs) { + sais_index_type i; + for(i = 0; i < k; ++i) { C[i] = 0; } + for(i = 0; i < n; ++i) { ++C[chr(i)]; } +} +static +void +getBuckets(const sais_index_type *C, sais_index_type *B, sais_index_type k, sais_bool_type end) { + sais_index_type i, sum = 0; + if(end) { for(i = 0; i < k; ++i) { sum += C[i]; B[i] = sum; } } + else { for(i = 0; i < k; ++i) { sum += C[i]; B[i] = sum - C[i]; } } +} + +/* sort all type LMS suffixes */ +static +void +LMSsort1(const void *T, sais_index_type *SA, + sais_index_type *C, sais_index_type *B, + sais_index_type n, sais_index_type k, int cs) { + sais_index_type *b, i, j; + sais_index_type c0, c1; + + /* compute SAl */ + if(C == B) { getCounts(T, C, n, k, cs); } + getBuckets(C, B, k, 0); /* find starts of buckets */ + j = n - 1; + b = SA + B[c1 = chr(j)]; + --j; + *b++ = (chr(j) < c1) ? ~j : j; + for(i = 0; i < n; ++i) { + if(0 < (j = SA[i])) { + assert(chr(j) >= chr(j + 1)); + if((c0 = chr(j)) != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert(i < (b - SA)); + --j; + *b++ = (chr(j) < c1) ? ~j : j; + SA[i] = 0; + } else if(j < 0) { + SA[i] = ~j; + } + } + /* compute SAs */ + if(C == B) { getCounts(T, C, n, k, cs); } + getBuckets(C, B, k, 1); /* find ends of buckets */ + for(i = n - 1, b = SA + B[c1 = 0]; 0 <= i; --i) { + if(0 < (j = SA[i])) { + assert(chr(j) <= chr(j + 1)); + if((c0 = chr(j)) != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert((b - SA) <= i); + --j; + *--b = (chr(j) > c1) ? ~(j + 1) : j; + SA[i] = 0; + } + } +} +static +sais_index_type +LMSpostproc1(const void *T, sais_index_type *SA, + sais_index_type n, sais_index_type m, int cs) { + sais_index_type i, j, p, q, plen, qlen, name; + sais_index_type c0, c1; + sais_bool_type diff; + + /* compact all the sorted substrings into the first m items of SA + 2*m must be not larger than n (proveable) */ + assert(0 < n); + for(i = 0; (p = SA[i]) < 0; ++i) { SA[i] = ~p; assert((i + 1) < n); } + if(i < m) { + for(j = i, ++i;; ++i) { + assert(i < n); + if((p = SA[i]) < 0) { + SA[j++] = ~p; SA[i] = 0; + if(j == m) { break; } + } + } + } + + /* store the length of all substrings */ + i = n - 1; j = n - 1; c0 = chr(n - 1); + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) >= c1)); + for(; 0 <= i;) { + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) <= c1)); + if(0 <= i) { + SA[m + ((i + 1) >> 1)] = j - i; j = i + 1; + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) >= c1)); + } + } + + /* find the lexicographic names of all substrings */ + for(i = 0, name = 0, q = n, qlen = 0; i < m; ++i) { + p = SA[i], plen = SA[m + (p >> 1)], diff = 1; + if((plen == qlen) && ((q + plen) < n)) { + for(j = 0; (j < plen) && (chr(p + j) == chr(q + j)); ++j) { } + if(j == plen) { diff = 0; } + } + if(diff != 0) { ++name, q = p, qlen = plen; } + SA[m + (p >> 1)] = name; + } + + return name; +} +static +void +LMSsort2(const void *T, sais_index_type *SA, + sais_index_type *C, sais_index_type *B, sais_index_type *D, + sais_index_type n, sais_index_type k, int cs) { + sais_index_type *b, i, j, t, d; + sais_index_type c0, c1; + assert(C != B); + + /* compute SAl */ + getBuckets(C, B, k, 0); /* find starts of buckets */ + j = n - 1; + b = SA + B[c1 = chr(j)]; + --j; + t = (chr(j) < c1); + j += n; + *b++ = (t & 1) ? ~j : j; + for(i = 0, d = 0; i < n; ++i) { + if(0 < (j = SA[i])) { + if(n <= j) { d += 1; j -= n; } + assert(chr(j) >= chr(j + 1)); + if((c0 = chr(j)) != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert(i < (b - SA)); + --j; + t = c0; t = (t << 1) | (chr(j) < c1); + if(D[t] != d) { j += n; D[t] = d; } + *b++ = (t & 1) ? ~j : j; + SA[i] = 0; + } else if(j < 0) { + SA[i] = ~j; + } + } + for(i = n - 1; 0 <= i; --i) { + if(0 < SA[i]) { + if(SA[i] < n) { + SA[i] += n; + for(j = i - 1; SA[j] < n; --j) { } + SA[j] -= n; + i = j; + } + } + } + + /* compute SAs */ + getBuckets(C, B, k, 1); /* find ends of buckets */ + for(i = n - 1, d += 1, b = SA + B[c1 = 0]; 0 <= i; --i) { + if(0 < (j = SA[i])) { + if(n <= j) { d += 1; j -= n; } + assert(chr(j) <= chr(j + 1)); + if((c0 = chr(j)) != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert((b - SA) <= i); + --j; + t = c0; t = (t << 1) | (chr(j) > c1); + if(D[t] != d) { j += n; D[t] = d; } + *--b = (t & 1) ? ~(j + 1) : j; + SA[i] = 0; + } + } +} +static +sais_index_type +LMSpostproc2(sais_index_type *SA, sais_index_type n, sais_index_type m) { + sais_index_type i, j, d, name; + + /* compact all the sorted LMS substrings into the first m items of SA */ + assert(0 < n); + for(i = 0, name = 0; (j = SA[i]) < 0; ++i) { + j = ~j; + if(n <= j) { name += 1; } + SA[i] = j; + assert((i + 1) < n); + } + if(i < m) { + for(d = i, ++i;; ++i) { + assert(i < n); + if((j = SA[i]) < 0) { + j = ~j; + if(n <= j) { name += 1; } + SA[d++] = j; SA[i] = 0; + if(d == m) { break; } + } + } + } + if(name < m) { + /* store the lexicographic names */ + for(i = m - 1, d = name + 1; 0 <= i; --i) { + if(n <= (j = SA[i])) { j -= n; --d; } + SA[m + (j >> 1)] = d; + } + } else { + /* unset flags */ + for(i = 0; i < m; ++i) { + if(n <= (j = SA[i])) { j -= n; SA[i] = j; } + } + } + + return name; +} + +/* compute SA and BWT */ +static +void +induceSA(const void *T, sais_index_type *SA, + sais_index_type *C, sais_index_type *B, + sais_index_type n, sais_index_type k, int cs) { + sais_index_type *b, i, j; + sais_index_type c0, c1; + /* compute SAl */ + if(C == B) { getCounts(T, C, n, k, cs); } + getBuckets(C, B, k, 0); /* find starts of buckets */ + j = n - 1; + b = SA + B[c1 = chr(j)]; + *b++ = ((0 < j) && (chr(j - 1) < c1)) ? ~j : j; + for(i = 0; i < n; ++i) { + j = SA[i], SA[i] = ~j; + if(0 < j) { + --j; + assert(chr(j) >= chr(j + 1)); + if((c0 = chr(j)) != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert(i < (b - SA)); + *b++ = ((0 < j) && (chr(j - 1) < c1)) ? ~j : j; + } + } + /* compute SAs */ + if(C == B) { getCounts(T, C, n, k, cs); } + getBuckets(C, B, k, 1); /* find ends of buckets */ + for(i = n - 1, b = SA + B[c1 = 0]; 0 <= i; --i) { + if(0 < (j = SA[i])) { + --j; + assert(chr(j) <= chr(j + 1)); + if((c0 = chr(j)) != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert((b - SA) <= i); + *--b = ((j == 0) || (chr(j - 1) > c1)) ? ~j : j; + } else { + SA[i] = ~j; + } + } +} +static +sais_index_type +computeBWT(const void *T, sais_index_type *SA, + sais_index_type *C, sais_index_type *B, + sais_index_type n, sais_index_type k, int cs) { + sais_index_type *b, i, j, pidx = -1; + sais_index_type c0, c1; + /* compute SAl */ + if(C == B) { getCounts(T, C, n, k, cs); } + getBuckets(C, B, k, 0); /* find starts of buckets */ + j = n - 1; + b = SA + B[c1 = chr(j)]; + *b++ = ((0 < j) && (chr(j - 1) < c1)) ? ~j : j; + for(i = 0; i < n; ++i) { + if(0 < (j = SA[i])) { + --j; + assert(chr(j) >= chr(j + 1)); + SA[i] = ~((sais_index_type)(c0 = chr(j))); + if(c0 != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert(i < (b - SA)); + *b++ = ((0 < j) && (chr(j - 1) < c1)) ? ~j : j; + } else if(j != 0) { + SA[i] = ~j; + } + } + /* compute SAs */ + if(C == B) { getCounts(T, C, n, k, cs); } + getBuckets(C, B, k, 1); /* find ends of buckets */ + for(i = n - 1, b = SA + B[c1 = 0]; 0 <= i; --i) { + if(0 < (j = SA[i])) { + --j; + assert(chr(j) <= chr(j + 1)); + SA[i] = (c0 = chr(j)); + if(c0 != c1) { B[c1] = b - SA; b = SA + B[c1 = c0]; } + assert((b - SA) <= i); + *--b = ((0 < j) && (chr(j - 1) > c1)) ? ~((sais_index_type)chr(j - 1)) : j; + } else if(j != 0) { + SA[i] = ~j; + } else { + pidx = i; + } + } + return pidx; +} + +/* find the suffix array SA of T[0..n-1] in {0..255}^n */ +static +sais_index_type +sais_main(const void *T, sais_index_type *SA, + sais_index_type fs, sais_index_type n, sais_index_type k, int cs, + sais_bool_type isbwt) { + sais_index_type *C, *B, *D, *RA, *b; + sais_index_type i, j, m, p, q, t, name, pidx = 0, newfs; + sais_index_type c0, c1; + unsigned int flags; + + assert((T != NULL) && (SA != NULL)); + assert((0 <= fs) && (0 < n) && (1 <= k)); + + if(k <= MINBUCKETSIZE) { + if((C = SAIS_MYMALLOC((size_t)k, sais_index_type)) == NULL) { return -2; } + if(k <= fs) { + B = SA + (n + fs - k); + flags = 1; + } else { + if((B = SAIS_MYMALLOC((size_t)k, sais_index_type)) == NULL) { SAIS_MYFREE(C, k, sais_index_type); return -2; } + flags = 3; + } + } else if(k <= fs) { + C = SA + (n + fs - k); + if(k <= (fs - k)) { + B = C - k; + flags = 0; + } else if(k <= (MINBUCKETSIZE * 4)) { + if((B = SAIS_MYMALLOC((size_t)k, sais_index_type)) == NULL) { return -2; } + flags = 2; + } else { + B = C; + flags = 8; + } + } else { + if((C = B = SAIS_MYMALLOC((size_t)k, sais_index_type)) == NULL) { return -2; } + flags = 4 | 8; + } + if((n <= SAIS_LMSSORT2_LIMIT) && (2 <= (n / k))) { + if(flags & 1) { flags |= ((k * 2) <= (fs - k)) ? 32 : 16; } + else if((flags == 0) && ((k * 2) <= (fs - k * 2))) { flags |= 32; } + } + + /* stage 1: reduce the problem by at least 1/2 + sort all the LMS-substrings */ + getCounts(T, C, n, k, cs); getBuckets(C, B, k, 1); /* find ends of buckets */ + for(i = 0; i < n; ++i) { SA[i] = 0; } + b = &t; i = n - 1; j = n; m = 0; c0 = chr(n - 1); + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) >= c1)); + for(; 0 <= i;) { + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) <= c1)); + if(0 <= i) { + *b = j; b = SA + --B[c1]; j = i; ++m; + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) >= c1)); + } + } + + if(1 < m) { + if(flags & (16 | 32)) { + if(flags & 16) { + if((D = SAIS_MYMALLOC((size_t)k * 2, sais_index_type)) == NULL) { + if(flags & (1 | 4)) { SAIS_MYFREE(C, k, sais_index_type); } + if(flags & 2) { SAIS_MYFREE(B, k, sais_index_type); } + return -2; + } + } else { + D = B - k * 2; + } + assert((j + 1) < n); + ++B[chr(j + 1)]; + for(i = 0, j = 0; i < k; ++i) { + j += C[i]; + if(B[i] != j) { assert(SA[B[i]] != 0); SA[B[i]] += n; } + D[i] = D[i + k] = 0; + } + LMSsort2(T, SA, C, B, D, n, k, cs); + name = LMSpostproc2(SA, n, m); + if(flags & 16) { SAIS_MYFREE(D, k * 2, sais_index_type); } + } else { + LMSsort1(T, SA, C, B, n, k, cs); + name = LMSpostproc1(T, SA, n, m, cs); + } + } else if(m == 1) { + *b = j + 1; + name = 1; + } else { + name = 0; + } + + /* stage 2: solve the reduced problem + recurse if names are not yet unique */ + if(name < m) { + if(flags & 4) { SAIS_MYFREE(C, k, sais_index_type); } + if(flags & 2) { SAIS_MYFREE(B, k, sais_index_type); } + newfs = (n + fs) - (m * 2); + if((flags & (1 | 4 | 8)) == 0) { + if((k + name) <= newfs) { newfs -= k; } + else { flags |= 8; } + } + assert((n >> 1) <= (newfs + m)); + RA = SA + m + newfs; + for(i = m + (n >> 1) - 1, j = m - 1; m <= i; --i) { + if(SA[i] != 0) { + RA[j--] = SA[i] - 1; + } + } + if(sais_main(RA, SA, newfs, m, name, sizeof(sais_index_type), 0) != 0) { + if(flags & 1) { SAIS_MYFREE(C, k, sais_index_type); } + return -2; + } + + i = n - 1; j = m - 1; c0 = chr(n - 1); + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) >= c1)); + for(; 0 <= i;) { + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) <= c1)); + if(0 <= i) { + RA[j--] = i + 1; + do { c1 = c0; } while((0 <= --i) && ((c0 = chr(i)) >= c1)); + } + } + for(i = 0; i < m; ++i) { SA[i] = RA[SA[i]]; } + if(flags & 4) { + if((C = B = SAIS_MYMALLOC((size_t)k, sais_index_type)) == NULL) { return -2; } + } + if(flags & 2) { + if((B = SAIS_MYMALLOC((size_t)k, sais_index_type)) == NULL) { + if(flags & 1) { SAIS_MYFREE(C, k, sais_index_type); } + return -2; + } + } + } + + /* stage 3: induce the result for the original problem */ + if(flags & 8) { getCounts(T, C, n, k, cs); } + /* put all left-most S characters into their buckets */ + if(1 < m) { + getBuckets(C, B, k, 1); /* find ends of buckets */ + i = m - 1, j = n, p = SA[m - 1], c1 = chr(p); + do { + q = B[c0 = c1]; + while(q < j) { SA[--j] = 0; } + do { + SA[--j] = p; + if(--i < 0) { break; } + p = SA[i]; + } while((c1 = chr(p)) == c0); + } while(0 <= i); + while(0 < j) { SA[--j] = 0; } + } + if(isbwt == 0) { induceSA(T, SA, C, B, n, k, cs); } + else { pidx = computeBWT(T, SA, C, B, n, k, cs); } + if(flags & (1 | 4)) { SAIS_MYFREE(C, k, sais_index_type); } + if(flags & 2) { SAIS_MYFREE(B, k, sais_index_type); } + + return pidx; +} + +/*---------------------------------------------------------------------------*/ + +sais_index_type +sais(const unsigned char *T, sais_index_type *SA, int n) { + if((T == NULL) || (SA == NULL) || (n < 0)) { return -1; } + if(n <= 1) { if(n == 1) { SA[0] = 0; } return 0; } + return sais_main(T, SA, 0, n, UCHAR_SIZE, sizeof(unsigned char), 0); +} + +sais_index_type +sais_int(const int *T, sais_index_type *SA, int n, int k) { + if((T == NULL) || (SA == NULL) || (n < 0) || (k <= 0)) { return -1; } + if(n <= 1) { if(n == 1) { SA[0] = 0; } return 0; } + return sais_main(T, SA, 0, n, k, sizeof(int), 0); +} + +sais_index_type +sais_bwt(const unsigned char *T, unsigned char *U, sais_index_type *A, int n) { + int i; + sais_index_type pidx; + if((T == NULL) || (U == NULL) || (A == NULL) || (n < 0)) { return -1; } + if(n <= 1) { if(n == 1) { U[0] = T[0]; } return n; } + pidx = sais_main(T, A, 0, n, UCHAR_SIZE, sizeof(unsigned char), 1); + if(pidx < 0) { return pidx; } + U[0] = T[n - 1]; + for(i = 0; i < pidx; ++i) { U[i + 1] = (unsigned char)A[i]; } + for(i += 1; i < n; ++i) { U[i] = (unsigned char)A[i]; } + pidx += 1; + return pidx; +} + +sais_index_type +sais_int_bwt(const sais_index_type *T, sais_index_type *U, sais_index_type *A, int n, int k) { + int i; + sais_index_type pidx; + if((T == NULL) || (U == NULL) || (A == NULL) || (n < 0) || (k <= 0)) { return -1; } + if(n <= 1) { if(n == 1) { U[0] = T[0]; } return n; } + pidx = sais_main(T, A, 0, n, k, sizeof(int), 1); + if(pidx < 0) { return pidx; } + U[0] = T[n - 1]; + for(i = 0; i < pidx; ++i) { U[i + 1] = A[i]; } + for(i += 1; i < n; ++i) { U[i] = A[i]; } + pidx += 1; + return pidx; +} diff --git a/Vendor/bsdiff/sais.h b/Vendor/bsdiff/sais.h new file mode 100644 index 00000000..1abd0af6 --- /dev/null +++ b/Vendor/bsdiff/sais.h @@ -0,0 +1,59 @@ +/* + * sais.h for sais-lite + * Copyright (c) 2008-2010 Yuta Mori All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef _SAIS_H +#define _SAIS_H 1 + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include + +#define sais_index_type off_t + +/* find the suffix array SA of T[0..n-1] + use a working space (excluding T and SA) of at most 2n+O(lg n) */ +sais_index_type +sais(const unsigned char *T, sais_index_type *SA, int n); + +/* find the suffix array SA of T[0..n-1] in {0..k-1}^n + use a working space (excluding T and SA) of at most MAX(4k,2n) */ +sais_index_type +sais_int(const int *T, sais_index_type *SA, int n, int k); + +/* burrows-wheeler transform */ +sais_index_type +sais_bwt(const unsigned char *T, unsigned char *U, sais_index_type *A, int n); +sais_index_type +sais_int_bwt(const sais_index_type *T, sais_index_type *U, sais_index_type *A, int n, int k); + + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* _SAIS_H */ diff --git a/ar.lproj/SUAutomaticUpdateAlert.xib b/ar.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100755 index 2fa0e31b..00000000 --- a/ar.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,616 +0,0 @@ - - - - 1050 - 11C74 - 1938 - 1138.23 - 567.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1938 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {616, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - {{532, 73}, {64, 64}} - - - - YES - - 130560 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - YES - - - - 270 - {{105, 120}, {497, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{17, 81}, {497, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{14, 12}, {168, 32}} - - - - YES - - 67239424 - 134217728 - تثبيت وإعادة تشغيل التطبيق - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{182, 12}, {146, 32}} - - - - YES - - 67239424 - 134217728 - تثبيت عند إنهاء التطبيق - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{438, 12}, {92, 32}} - - - - YES - - 67239424 - 134217728 - عدم التثبيت - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{-55, 58}, {581, 18}} - - - - YES - - 67239424 - 67239936 - تنزيل التحديثات وتثبيتها تلقائيًا في المستقبل - - - 1210864127 - 2 - - NSSwitch - - - - 200 - 25 - - - - {616, 152} - - - - - {{0, 0}, {1280, 778}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/ar.lproj/SUPasswordPrompt.xib b/ar.lproj/SUPasswordPrompt.xib deleted file mode 100755 index fbd97bcd..00000000 --- a/ar.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,603 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSSecureTextField - NSSecureTextFieldCell - NSTextField - NSTextFieldCell - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {394, 118}} - 544736256 - كلمة السر - NSWindow - - - - - 256 - - YES - - - 290 - {{20, 49}, {195, 22}} - - - - YES - - 342884416 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - NO - - - - 292 - {{220, 51}, {68, 17}} - - - - YES - - 68157504 - 71304192 - كلمة السر: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - NO - - - - 289 - {{14, 13}, {83, 32}} - - - - YES - - 67108864 - 134217728 - فتح القفل - - - -2038284288 - 129 - - DQ - 200 - 25 - - NO - - - - 289 - {{97, 13}, {82, 32}} - - - - YES - - 67108864 - 134217728 - إلغاء - - - -2038284288 - 129 - - Gw - 200 - 25 - - NO - - - - 266 - {{17, 86}, {271, 17}} - - - - YES - - 67108864 - 71303168 - هذا التحديث مقفول بكلمة سر. - - LucidaGrande-Bold - 13 - 16 - - - - - - NO - - - - 268 - - YES - - YES - 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 - - - {{310, 39}, {64, 64}} - - - - YES - - 134217728 - 33554432 - 0 - 0 - 0 - NO - - NO - YES - - - {394, 118} - - - - - {{0, 0}, {1280, 778}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{316, 826}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - accept: - cancel: - - - YES - id - id - - - - YES - - YES - accept: - cancel: - - - YES - - accept: - id - - - cancel: - id - - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - diff --git a/ar.lproj/SUUpdateAlert.xib b/ar.lproj/SUUpdateAlert.xib deleted file mode 100755 index 34d98d21..00000000 --- a/ar.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1045 +0,0 @@ - - - - 1050 - 12B19 - 2488 - 1187 - 624.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 2488 - 1445 - - - - YES - NSBox - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - WebView - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{382, 217}, {575, 370}} - -260571136 - محدث البرنامج - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - {{491, 291}, {64, 64}} - - - - YES - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - NO - YES - - - - 266 - {{106, 338}, {452, 17}} - - - - YES - - 67108864 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 268 - {{21, 280}, {452, 14}} - - - - YES - - 67108864 - 71303168 - معلومات عن الإصدار: - - LucidaGrande-Bold - 11 - 3357 - - - - - - NO - - - - 289 - {{123, 12}, {100, 32}} - - - - YES - - 67108864 - 134217728 - تذكيري لاحقًا - - LucidaGrande - 13 - 1044 - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 288 - {{346, 12}, {130, 32}} - - - - YES - - 67108864 - 134217728 - تخطي هذا الإصدار - - - -2038284288 - 1 - - - - - - 200 - 25 - - NO - - - - 289 - {{19, 12}, {104, 32}} - - - - YES - - -2080374784 - 134217728 - تثبيت التحديث - - - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - - - {{25, 76}, {445, 199}} - - - - {0, 0} - - 67108864 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{21, 302}, {452, 28}} - - - - YES - - 67108864 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 290 - {{21, 50}, {451, 18}} - - - - YES - - 67108864 - 67239936 - تنزيل التحديثات وتثبيتها تلقائيًا في المستقبل - - - 1210863872 - 2 - - NSSwitch - - - - 200 - 25 - - NO - - - {575, 370} - - - - - {{0, 0}, {1280, 778}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBNSWindowAutoPositionCentersHorizontal - 5.IBNSWindowAutoPositionCentersVertical - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - NSTextField - NSButton - NSButton - WebView - NSButton - - - - YES - - YES - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/ar.lproj/SUUpdatePermissionPrompt.xib b/ar.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100755 index b955f452..00000000 --- a/ar.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1070 - 12C60 - 2843 - 1187.34 - 625.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2843 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{109, 12}, {102, 32}} - - - - 1 - YES - - -2080374784 - 134217728 - التحقق تلقائيًا - - GeezaPro - 13 - 16 - - - 1 - -2038284288 - 1 - - LucidaGrande - 13 - 1044 - - - DQ - 200 - 25 - - NO - - - - 257 - {{17, 12}, {92, 32}} - - - - YES - - 67108864 - 134217728 - عدم التحقق - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{48, 114}, {289, 34}} - - - - YES - - 67108864 - 71303168 - هل تريد أن يتم التحقق من وجود تحديثات تلقائيًا؟ - - GeezaPro-Bold - 13 - 16 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{20, 81}, {317, 42}} - - - - YES - - 67108864 - 71303168 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{58, 53}, {278, 18}} - - - - YES - - -2080374784 - 67272704 - تضمين تقرير عن النظام دون ذكر معلومات عن المستخدم - - - 1210863872 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - - {{354, 84}, {64, 64}} - - - - YES - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 265 - {{333, 50}, {27, 26}} - - - - YES - - 67108864 - 134250624 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - - {{0, 0}, {1280, 778}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - YES - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QW5vbnltb3VzIHN5c3RlbSBwcm9maWxlIGluZm9ybWF0aW9uIGlzIHVzZWQgdG8gaGVscCB1cyBwbGFu -IGZ1dHVyZSBkZXZlbG9wbWVudCB3b3JrLiBQbGVhc2UgY29udGFjdCB1cyBpZiB5b3UgaGF2ZSBhbnkg -cXVlc3Rpb25zIGFib3V0IHRoaXMuCgpUaGlzIGlzIHRoZSBpbmZvcm1hdGlvbiB0aGF0IHdvdWxkIGJl -IHNlbnQ6A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 185 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - - - YES - NSTextField - NSButton - NSView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ar.lproj/Sparkle.strings b/ar.lproj/Sparkle.strings deleted file mode 100755 index 858a71fa..00000000 Binary files a/ar.lproj/Sparkle.strings and /dev/null differ diff --git a/bin/generate_keys.sh b/bin/generate_keys.sh new file mode 100755 index 00000000..4666fbb0 --- /dev/null +++ b/bin/generate_keys.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -e +for file in "dsaparam.pem" "dsa_priv.pem" "dsa_pub.pem"; do + if [ -e "$file" ]; then + echo "There's already a $file here! Move it aside or be more careful!" + exit 1 + fi +done + +openssl="/usr/bin/openssl" +$openssl gendsa <($openssl dsaparam 4096) -out dsa_priv.pem +chmod 0400 dsa_priv.pem +$openssl dsa -in dsa_priv.pem -pubout -out dsa_pub.pem +chmod 0444 dsa_pub.pem + +echo " +Generated private and public keys: dsa_priv.pem and dsa_pub.pem. +BACK UP YOUR PRIVATE KEY AND KEEP IT SAFE! +If you lose it, your users will be unable to upgrade!" + +open -R dsa_priv.pem diff --git a/bin/sign_update.sh b/bin/sign_update.sh new file mode 100755 index 00000000..7c439990 --- /dev/null +++ b/bin/sign_update.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e +set -o pipefail +if [ "$#" -ne 2 ]; then + echo "Usage: $0 update_archive private_key" + exit 1 +fi +openssl=/usr/bin/openssl +$openssl dgst -sha1 -binary < "$1" | $openssl dgst -dss1 -sign "$2" | $openssl enc -base64 diff --git a/ca.lproj/SUAutomaticUpdateAlert.strings b/ca.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index a933d4d9..00000000 Binary files a/ca.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/ca.lproj/SUUpdateAlert.strings b/ca.lproj/SUUpdateAlert.strings deleted file mode 100644 index c2d7cfd0..00000000 Binary files a/ca.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/ca.lproj/Sparkle.strings b/ca.lproj/Sparkle.strings deleted file mode 100644 index ac0a33fe..00000000 Binary files a/ca.lproj/Sparkle.strings and /dev/null differ diff --git a/cs.lproj/SUAutomaticUpdateAlert.strings b/cs.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 8b347014..00000000 Binary files a/cs.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/cs.lproj/SUAutomaticUpdateAlert.xib b/cs.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 5999c8ab..00000000 --- a/cs.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,688 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {635, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {507, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {507, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{409, 12}, {212, 32}} - - - YES - - 67239424 - 134217728 - Nainstalovat, znovu spustit - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{236, 12}, {173, 32}} - - - YES - - 67239424 - 134217728 - Nainstalovat, ukončit - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {118, 32}} - - - YES - - 67239424 - 134217728 - Neinstalovat - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - YES - - 67239424 - 131072 - V budoucnosti kopírovat a instalovat aktualizace automaticky - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {635, 152} - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 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 - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/cs.lproj/SUUpdateAlert.strings b/cs.lproj/SUUpdateAlert.strings deleted file mode 100644 index 5804b89c..00000000 Binary files a/cs.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/cs.lproj/SUUpdateAlert.xib b/cs.lproj/SUUpdateAlert.xib deleted file mode 100644 index 58f2eaac..00000000 --- a/cs.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1633 +0,0 @@ - - - - 1050 - 10C540 - 759 - 1038.25 - 458.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 759 - 759 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {586, 370}} - -260571136 - Aktualizace aplikace - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 277}, {443, 17}} - - YES - - 67239424 - 272629760 - Poznámky k vydání: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{273, 12}, {172, 32}} - - YES - - 67239424 - 134217728 - Připomenout později - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {162, 32}} - - YES - - 67239424 - 134217728 - Přeskočit tuto verzi - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{445, 12}, {127, 32}} - - YES - - -2080244224 - 134217728 - Nainstalovat - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - {{109, 76}, {457, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {463, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 48}, {442, 18}} - - YES - - 67239424 - 131072 - V budoucnosti kopírovat a instalovat aktualizace automaticky - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {586, 370} - - - {{0, 0}, {1680, 1028}} - {586, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 17.ImportedFromIB2 - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 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 - - 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 - - {{462, 397}, {586, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{462, 397}, {586, 370}} - - - {586, 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 - - - - 176 - - - - 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 - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 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 - - - - 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 - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/cs.lproj/SUUpdatePermissionPrompt.xib b/cs.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 2a3c4d10..00000000 --- a/cs.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{255, 12}, {174, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Ověřovat automaticky - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{138, 12}, {117, 32}} - - - YES - - 67108864 - 134217728 - Neověřovat - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - Ověřovat aktualizace automaticky? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Odeslat anonymní systémový profil - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - SW5mb3JtYWNlIHogYW5vbnltbsOtaG8gc3lzdMOpbW92w6lobyBwcm9maWx1IHBvbcOhaGFqw60gdsO9 -dm9qw6HFmcWvbSBsw6lwZSBwbMOhbm92YXQgYnVkb3Vjw60gdsO9dm9qIGFwbGlrYWNlCk9icmHFpXRl -IHNlIG5hIG7DoXMgdiBwxZnDrXBhZMSbLCDFvmUgYnVkZXRlIG3DrXQgayBuxJttdSBuxJtqYWvDvSBk -b3Rhei4KClR5dG8gaW5mb3JtYWNlIGJ5IG3Em2xpIGLDvXQgb2Rlc2zDoW55Og - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 908}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/cs.lproj/Sparkle.strings b/cs.lproj/Sparkle.strings deleted file mode 100644 index 9bbb9968..00000000 Binary files a/cs.lproj/Sparkle.strings and /dev/null differ diff --git a/cy.lproj/SUAutomaticUpdateAlert.strings b/cy.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 15e62ba8..00000000 Binary files a/cy.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/cy.lproj/SUUpdateAlert.strings b/cy.lproj/SUUpdateAlert.strings deleted file mode 100644 index c14506f5..00000000 Binary files a/cy.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/cy.lproj/Sparkle.strings b/cy.lproj/Sparkle.strings deleted file mode 100644 index 7b09601d..00000000 Binary files a/cy.lproj/Sparkle.strings and /dev/null differ diff --git a/da.lproj/SUAutomaticUpdateAlert.strings b/da.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100755 index 7a3ae675..00000000 Binary files a/da.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/da.lproj/SUAutomaticUpdateAlert.xib b/da.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100755 index 96ef560a..00000000 --- a/da.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,623 +0,0 @@ - - - - 1050 - 12E55 - 3084 - 1187.39 - 626.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 3084 - - - YES - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {616, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - NO - YES - - - - 270 - {{105, 120}, {497, 17}} - - - - YES - - 67108864 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 270 - {{105, 81}, {497, 31}} - - - - YES - - 67108864 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 257 - {{434, 12}, {168, 32}} - - - - YES - - 67108864 - 134217728 - Installer og genstart - - LucidaGrande - 13 - 1044 - - - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{282, 12}, {152, 32}} - - - - YES - - 67108864 - 134217728 - Afslut og installer - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 256 - {{102, 12}, {121, 32}} - - - - YES - - 67108864 - 134217728 - Installer ikke - - - -2038284288 - 1 - - - - - - 200 - 25 - - NO - - - - 256 - {{105, 58}, {619, 18}} - - - - YES - - 67108864 - 131072 - Hent og installer opdateringer automatisk i fremtiden - - - 1211912448 - 2 - - NSSwitch - - - - 200 - 25 - - NO - - - {616, 152} - - - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/da.lproj/SUPasswordPrompt.xib b/da.lproj/SUPasswordPrompt.xib deleted file mode 100755 index 4a3c6c59..00000000 --- a/da.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,603 +0,0 @@ - - - - 1050 - 12E55 - 3084 - 1187.39 - 626.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 3084 - - - YES - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSSecureTextField - NSSecureTextFieldCell - NSTextField - NSTextFieldCell - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {394, 118}} - 544736256 - Password - NSWindow - - - - - 256 - - YES - - - 290 - {{173, 49}, {201, 22}} - - - - YES - - 342884416 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - NO - - - - 292 - {{106, 51}, {62, 17}} - - - - YES - - 68157504 - 272630784 - Kodeord: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - NO - - - - 289 - {{298, 13}, {82, 32}} - - - - YES - - 67108864 - 134217728 - Lås op - - - -2038284288 - 129 - - DQ - 200 - 25 - - NO - - - - 289 - {{209, 13}, {89, 32}} - - - - YES - - 67108864 - 134217728 - Annuller - - - -2038284288 - 129 - - Gw - 200 - 25 - - NO - - - - 266 - {{106, 86}, {271, 17}} - - - - YES - - 67108864 - 272629760 - Opdateringen er adgangskodebeskyttet - - LucidaGrande-Bold - 13 - 16 - - - - - - NO - - - - 268 - - YES - - YES - 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 - - - {{20, 39}, {64, 64}} - - - - YES - - 134217728 - 33554432 - 0 - 0 - 0 - NO - - NO - YES - - - {394, 118} - - - - - {{0, 0}, {1920, 1178}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{316, 826}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - accept: - cancel: - - - YES - id - id - - - - YES - - YES - accept: - cancel: - - - YES - - accept: - id - - - cancel: - id - - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - diff --git a/da.lproj/SUStatus.strings b/da.lproj/SUStatus.strings deleted file mode 100755 index ad32ad70..00000000 Binary files a/da.lproj/SUStatus.strings and /dev/null differ diff --git a/da.lproj/SUUpdateAlert.strings b/da.lproj/SUUpdateAlert.strings deleted file mode 100755 index cf1c72f7..00000000 Binary files a/da.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/da.lproj/SUUpdateAlert.xib b/da.lproj/SUUpdateAlert.xib deleted file mode 100755 index 5ec68fce..00000000 --- a/da.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1069 +0,0 @@ - - - - 1050 - 12E55 - 3084 - 1187.39 - 626.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 3084 - 2053 - - - - YES - NSBox - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - WebView - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Software Update - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - NO - YES - - - - 266 - {{106, 338}, {452, 17}} - - - - YES - - 67108864 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 268 - {{106, 280}, {452, 14}} - - - - YES - - 67108864 - 272629760 - Om denne udgivelse: - - LucidaGrande-Bold - 11 - 3357 - - - - - - NO - - - - 289 - {{303, 12}, {161, 32}} - - - - YES - - 67108864 - 134217728 - Påmind mig senere - - LucidaGrande - 13 - 1044 - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 288 - {{103, 12}, {112, 32}} - - - - YES - - 67108864 - 134217728 - Spring over - - - -2038284288 - 1 - - - - - - 200 - 25 - - NO - - - - 289 - {{464, 12}, {97, 32}} - - - - YES - - -2080374784 - 134217728 - Installer - - - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - - - {{110, 76}, {445, 199}} - - - - {0, 0} - - 67108864 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - - - YES - - 67108864 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 290 - {{106, 50}, {451, 18}} - - - - YES - - 67108864 - 131072 - Hent og installer opdateringer automatisk i fremtiden - - - 1211912448 - 2 - - NSSwitch - - - - 200 - 25 - - NO - - - {575, 370} - - - - - {{0, 0}, {1920, 1178}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - WebView - - reloadFromOrigin: - id - - - reloadFromOrigin: - - reloadFromOrigin: - id - - - - IBProjectSource - ./Classes/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/da.lproj/SUUpdatePermissionPrompt.strings b/da.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100755 index b145e8e6..00000000 Binary files a/da.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/da.lproj/SUUpdatePermissionPrompt.xib b/da.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100755 index 406672cf..00000000 --- a/da.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1189 +0,0 @@ - - - - 1050 - 12E55 - 3084 - 1187.39 - 626.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 3084 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{284, 12}, {138, 32}} - - - - 1 - YES - - -2080374784 - 134217728 - Søg automatisk - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{190, 12}, {94, 32}} - - - - YES - - 67108864 - 134217728 - Søg ikke - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - - YES - - 67108864 - 272629760 - Søg efter opdateringer automatisk? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - Vedhæft anonym systemprofil - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 265 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - - {{0, 0}, {1920, 1178}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - - YES - - 67108864 - 272629760 - QW5vbnltb3VzIHN5c3RlbSBwcm9maWxlIGluZm9ybWF0aW9uIGlzIHVzZWQgdG8gaGVscCB1cyBwbGFu -IGZ1dHVyZSBkZXZlbG9wbWVudCB3b3JrLiBQbGVhc2UgY29udGFjdCB1cyBpZiB5b3UgaGF2ZSBhbnkg -cXVlc3Rpb25zIGFib3V0IHRoaXMuCgpUaGlzIGlzIHRoZSBpbmZvcm1hdGlvbiB0aGF0IHdvdWxkIGJl -IHNlbnQ6A - - - - - - NO - - - {362, 205} - - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 187 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 187 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/da.lproj/Sparkle.strings b/da.lproj/Sparkle.strings deleted file mode 100755 index bcf691da..00000000 Binary files a/da.lproj/Sparkle.strings and /dev/null differ diff --git a/de.lproj/SUAutomaticUpdateAlert.strings b/de.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index e7fe71d6..00000000 Binary files a/de.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/de.lproj/SUAutomaticUpdateAlert.xib b/de.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 0b72e493..00000000 --- a/de.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,713 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {730, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {608, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {608, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{484, 12}, {232, 32}} - - - - YES - - 67239424 - 134217728 - Installieren und erneut starten - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{282, 12}, {202, 32}} - - - - YES - - 67239424 - 134217728 - Beim Beenden installieren - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {147, 32}} - - - - YES - - 67239424 - 134217728 - Nicht installieren - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - - YES - - 67239424 - 131072 - Aktualisierungen in Zukunft automatisch herunterladen und installieren - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {730, 152} - - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/de.lproj/SUStatus.strings b/de.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/de.lproj/SUStatus.strings and /dev/null differ diff --git a/de.lproj/SUUpdateAlert.strings b/de.lproj/SUUpdateAlert.strings deleted file mode 100644 index 1ee675e5..00000000 Binary files a/de.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/de.lproj/SUUpdateAlert.xib b/de.lproj/SUUpdateAlert.xib deleted file mode 100644 index 32d781d0..00000000 --- a/de.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Software-Aktualisierung - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Versionshinweise: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Später erinnern - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - Diese Version überspringen - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Installieren - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - Aktualisierungen in Zukunft automatisch herunterladen und installieren - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/de.lproj/SUUpdatePermissionPrompt.strings b/de.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index d3fca25b..00000000 Binary files a/de.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/de.lproj/SUUpdatePermissionPrompt.xib b/de.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 04831678..00000000 --- a/de.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{255, 12}, {169, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Automatisch suchen - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{138, 12}, {117, 32}} - - - YES - - 67108864 - 134217728 - Nicht suchen - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {317, 34}} - - - YES - - 67108864 - 272629760 - Automatisch nach Aktualisierungen suchen? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Anonymisiertes Systemprofil übertragen - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - RGFzIGFub255bWlzaWVydGUgU3lzdGVtcHJvZmlsIHVudGVyc3TDvHR6dCB1bnMgYmVpIGRlciB6dWvD -vG5mdGlnZW4gRW50d2lja2x1bmcuIEJpdHRlIGtvbnRha3RpZXJlbiBTaWUgdW5zLCB3ZW5uIFNpZSBG -cmFnZW4gaGllcnp1IGhhYmVuLgoKRGllc2UgSW5mb3JtYXRpb25lbiB3w7xyZGVuIGFuIHVucyBnZXNl -bmRldDo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/de.lproj/Sparkle.strings b/de.lproj/Sparkle.strings deleted file mode 100644 index 664946d4..00000000 Binary files a/de.lproj/Sparkle.strings and /dev/null differ diff --git a/el.lproj/SUAutomaticUpdateAlert.nib/designable.nib b/el.lproj/SUAutomaticUpdateAlert.nib/designable.nib deleted file mode 100644 index 87dc97af..00000000 --- a/el.lproj/SUAutomaticUpdateAlert.nib/designable.nib +++ /dev/null @@ -1,553 +0,0 @@ - - - - 1050 - 10J869 - 1306 - 1038.35 - 461.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1306 - - - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {756, 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 - {{494, 12}, {248, 32}} - - - - YES - - 67239424 - 134217728 - Εγκατάσταση και Επανεκκίνηση - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{286, 12}, {208, 32}} - - - - YES - - 67239424 - 134217728 - Εγκατάσταση στην Έξοδο - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{74, 12}, {212, 32}} - - - - YES - - 67239424 - 134217728 - Παράλειψη Εγκατάστασης - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - - YES - - 67239424 - 131072 - Αυτόματη λήψη και εγκατάσταση ενημερώσεων στο μέλλον - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {{7, 11}, {756, 152}} - - - - - {{0, 0}, {1280, 778}} - {511, 174} - {1e+13, 1e+13} - - - YES - - - - - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - - 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 - - - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib deleted file mode 100644 index 69ca444d..00000000 Binary files a/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib and /dev/null differ diff --git a/el.lproj/SUAutomaticUpdateAlert.strings b/el.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 8a48e7f7..00000000 Binary files a/el.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/el.lproj/SUStatus.strings b/el.lproj/SUStatus.strings deleted file mode 100644 index ad32ad70..00000000 Binary files a/el.lproj/SUStatus.strings and /dev/null differ diff --git a/el.lproj/SUUpdateAlert.nib/designable.nib b/el.lproj/SUUpdateAlert.nib/designable.nib deleted file mode 100644 index 584ade5f..00000000 --- a/el.lproj/SUUpdateAlert.nib/designable.nib +++ /dev/null @@ -1,801 +0,0 @@ - - - - 1050 - 10J869 - 1306 - 1038.35 - 461.00 - - 1306 - 30 - - - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {687, 370}} - -260571136 - Software Update - 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, 277}, {443, 17}} - - - - YES - - 67239424 - 272629760 - Σημειώσεις Έκδοσης: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{276, 12}, {184, 32}} - - - - YES - - 67239424 - 134217728 - Υπενθύμιση Αργότερα - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {173, 32}} - - - - YES - - 67239424 - 134217728 - Παράλειψη Έκδοσης - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{460, 12}, {213, 32}} - - - - YES - - -2080244224 - 134217728 - Εγκατάσταση Ενημέρωσης - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - - - 256 - - - - 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}, {558, 197}} - - - - - - - - - - - - - - NO - YES - - - {{1, 1}, {556, 197}} - - - - - - {{109, 76}, {558, 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, 48}, {442, 18}} - - - - YES - - 67239424 - 131072 - Αυτόματη λήψη και εγκατάσταση ενημερώσεων στο μέλλον - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {{7, 11}, {687, 370}} - - - - - {{0, 0}, {1280, 778}} - {586, 392} - {1e+13, 1e+13} - - - - YES - - - - - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - - - 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.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 - - NSApplicationIcon - {128, 128} - - - diff --git a/el.lproj/SUUpdateAlert.nib/keyedobjects.nib b/el.lproj/SUUpdateAlert.nib/keyedobjects.nib deleted file mode 100644 index 06bba98e..00000000 Binary files a/el.lproj/SUUpdateAlert.nib/keyedobjects.nib and /dev/null differ diff --git a/el.lproj/SUUpdateAlert.strings b/el.lproj/SUUpdateAlert.strings deleted file mode 100644 index 5baabbdb..00000000 Binary files a/el.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/el.lproj/SUUpdatePermissionPrompt.nib/designable.nib b/el.lproj/SUUpdatePermissionPrompt.nib/designable.nib deleted file mode 100644 index da8ddadf..00000000 --- a/el.lproj/SUUpdatePermissionPrompt.nib/designable.nib +++ /dev/null @@ -1,975 +0,0 @@ - - - - 1050 - 10J869 - 1306 - 1038.35 - 461.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1306 - - - NSUserDefaultsController - NSScroller - NSArrayController - NSButton - NSScrollView - NSImageView - NSTextFieldCell - NSButtonCell - NSImageCell - NSTableView - NSCustomView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSTableColumn - - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - {213, 107} - - - 256 - - - - 257 - {{255, 12}, {169, 32}} - - - - 1 - YES - - -2080244224 - 134217728 - Έλεγχος Αυτόματα - - LucidaGrande - 13 - 1044 - - - 1 - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{138, 12}, {117, 32}} - - - - YES - - 67239424 - 134217728 - Μή έλεγχος - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 264 - {{104, 114}, {289, 34}} - - - - YES - - 67239424 - 272629760 - Αυτόματος έλεγχος για ενημερώσεις; - - 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 - Αποστολή ανώνυμου προφίλ συστήματος - - - 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 - - - - {{7, 11}, {438, 168}} - - - - - {{0, 0}, {1280, 778}} - {213, 129} - {1e+13, 1e+13} - - - - 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}, {353, 113}} - - - - - - 6 - System - controlBackgroundColor - - - 4 - - - - -2147483392 - {{-22, 1}, {11, 125}} - - - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - - 530 - - - - AAAAAAAAAABBgAAAQYAAAA - - - - 266 - {{1, 128}, {358, 70}} - - - YES - - 67239424 - 272629760 - zqTOvyDOsc69z47Ovc+FzrzOvyDPgM+Bzr/Phs6vzrsgz4PPhc+Dz4TOrs68zrHPhM6/z4Igz4fPgc63 -z4POuc68zr/PgM6/zrnOtc6vz4TOsc65IM6zzrnOsSDOvc6xIM68zrHPgiDOss6/zrfOuM6uz4POtc65 -IM+DzrUgzrzOtc67zrvOv869z4TOuc66zq4gzrHOvc6sz4DPhM+Fzr7OtyDPhM6/z4Ugz4DPgc6/zrPP -gc6szrzOvM6xz4TOv8+CLiDOoM6xz4HOsc66zrHOu8+OIM61z4DOuc66zr/Ouc69z4nOvc6uz4PPhM61 -IM68zrHOts6vIM68zrHPgiDOrM69IM6tz4fOtc+EzrUgzrXPgc+Jz4TOrs+DzrXOuc+CLgoKzpHPhc+E -zq3PgiDOtc6vzr3Osc65IM6/zrkgz4DOu863z4HOv8+Gzr/Pgc6vzrXPgiDPgM6/z4UgzrjOsSDPg8+E -zrHOu86/z43OvTo - - - - - - - - {362, 205} - - - NSView - NSResponder - - - - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - - - contentArray: systemProfileInformationArray - - - - - - contentArray: systemProfileInformationArray - contentArray - systemProfileInformationArray - 2 - - - 25 - - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - hidden: shouldAskAboutProfile - - - - - - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 139 - - - - hidden: shouldAskAboutProfile - - - - - - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 143 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - value: shouldSendProfile - - - - - - value: shouldSendProfile - value - shouldSendProfile - - - - - 2 - - - 148 - - - - value: promptDescription - - - - - - value: promptDescription - value - promptDescription - 2 - - - 161 - - - - value: arrangedObjects.displayValue - - - - - - value: arrangedObjects.displayValue - value - arrangedObjects.displayValue - 2 - - - 173 - - - - value: arrangedObjects.displayKey - - - - - - value: arrangedObjects.displayKey - value - arrangedObjects.displayKey - 2 - - - 174 - - - - - - 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 - - - - - - - 185 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - YES - 3 - - {128, 128} - {15, 15} - - - diff --git a/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib deleted file mode 100644 index cdf7fa2c..00000000 Binary files a/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib and /dev/null differ diff --git a/el.lproj/Sparkle.strings b/el.lproj/Sparkle.strings deleted file mode 100644 index e159bd27..00000000 Binary files a/el.lproj/Sparkle.strings and /dev/null differ diff --git a/en.lproj/SUAutomaticUpdateAlert.strings b/en.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 2146e87c..00000000 Binary files a/en.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/en.lproj/SUAutomaticUpdateAlert.xib b/en.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index b4199e25..00000000 --- a/en.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,633 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {616, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {497, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {497, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{435, 12}, {167, 32}} - - - YES - - 67239424 - 134217728 - Install and Relaunch - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{306, 12}, {129, 32}} - - - YES - - 67239424 - 134217728 - Install on Quit - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {116, 32}} - - - YES - - 67239424 - 134217728 - Don't Install - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - YES - - 67239424 - 131072 - Automatically download and install updates in the future - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {616, 152} - - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/en.lproj/SUPasswordPrompt.xib b/en.lproj/SUPasswordPrompt.xib deleted file mode 100644 index 2002c8e7..00000000 --- a/en.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,606 +0,0 @@ - - - - 1050 - 12A251 - 2488 - 1183 - 622.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2488 - - - YES - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSSecureTextField - NSSecureTextFieldCell - NSTextField - NSTextFieldCell - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {394, 118}} - 544736256 - Password - NSWindow - - - - - 256 - - YES - - - 290 - {{179, 49}, {195, 22}} - - - - YES - - 342884416 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - NO - - - - 292 - {{106, 51}, {68, 17}} - - - - YES - - 68157504 - 272630784 - Password: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - NO - - - - 289 - {{297, 13}, {83, 32}} - - - YES - - 67108864 - 134217728 - Unlock - - - -2038284288 - 129 - - DQ - 200 - 25 - - NO - - - - 289 - {{215, 13}, {82, 32}} - - - - YES - - 67108864 - 134217728 - Cancel - - - -2038284288 - 129 - - Gw - 200 - 25 - - NO - - - - 266 - {{106, 86}, {271, 17}} - - - - YES - - 67108864 - 272629760 - This update is locked with a password. - - LucidaGrande-Bold - 13 - 16 - - - - - - NO - - - - 268 - - YES - - YES - 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 - - - {{20, 39}, {64, 64}} - - - - YES - - 0 - 33554432 - 0 - 0 - 0 - NO - - NO - YES - - - {394, 118} - - - - - {{0, 0}, {1440, 878}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{316, 826}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - accept: - cancel: - - - YES - id - id - - - - YES - - YES - accept: - cancel: - - - YES - - accept: - id - - - cancel: - id - - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - diff --git a/en.lproj/SUStatus.strings b/en.lproj/SUStatus.strings deleted file mode 100644 index ad32ad70..00000000 Binary files a/en.lproj/SUStatus.strings and /dev/null differ diff --git a/en.lproj/SUUpdateAlert.strings b/en.lproj/SUUpdateAlert.strings deleted file mode 100644 index 33887286..00000000 Binary files a/en.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/en.lproj/SUUpdateAlert.xib b/en.lproj/SUUpdateAlert.xib deleted file mode 100644 index 24f17c7f..00000000 --- a/en.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1902 +0,0 @@ - - - - 1050 - 10J567 - 804 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 804 - 804 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Software Update - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Release Notes: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Remind Me Later - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - Skip This Version - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Install Update - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - Automatically download and install updates in the future - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - - {{0, 0}, {1920, 1178}} - {575, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.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.WebKitIBPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - - - {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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/en.lproj/SUUpdatePermissionPrompt.strings b/en.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index ef0ca7f2..00000000 Binary files a/en.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/en.lproj/SUUpdatePermissionPrompt.xib b/en.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 72779ac1..00000000 --- a/en.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1199 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{255, 12}, {169, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Check Automatically - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{138, 12}, {117, 32}} - - - - YES - - 67108864 - 134217728 - Don't Check - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - - YES - - 67108864 - 272629760 - Check for updates automatically? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - Include anonymous system profile - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 265 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - - - YES - - 67108864 - 272629760 - QW5vbnltb3VzIHN5c3RlbSBwcm9maWxlIGluZm9ybWF0aW9uIGlzIHVzZWQgdG8gaGVscCB1cyBwbGFu -IGZ1dHVyZSBkZXZlbG9wbWVudCB3b3JrLiBQbGVhc2UgY29udGFjdCB1cyBpZiB5b3UgaGF2ZSBhbnkg -cXVlc3Rpb25zIGFib3V0IHRoaXMuCgpUaGlzIGlzIHRoZSBpbmZvcm1hdGlvbiB0aGF0IHdvdWxkIGJl -IHNlbnQ6A - - - - - - NO - - - {362, 205} - - - - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 187 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 187 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/en.lproj/Sparkle.strings b/en.lproj/Sparkle.strings deleted file mode 100644 index f9c15d88..00000000 Binary files a/en.lproj/Sparkle.strings and /dev/null differ diff --git a/es.lproj/SUAutomaticUpdateAlert.strings b/es.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 655bdcd7..00000000 Binary files a/es.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/es.lproj/SUAutomaticUpdateAlert.xib b/es.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 651d663a..00000000 --- a/es.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,638 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {622, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {503, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {503, 31}} - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{400, 12}, {208, 32}} - - YES - - 67239424 - 134217728 - Instalar y volver a arrancar - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{267, 12}, {133, 32}} - - YES - - 67239424 - 134217728 - Instalar al salir - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {109, 32}} - - YES - - 67239424 - 134217728 - No instalar - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - YES - - 67239424 - 131072 - Descargar e instalar actualizaciones automáticamente - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {622, 152} - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/es.lproj/SUStatus.strings b/es.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/es.lproj/SUStatus.strings and /dev/null differ diff --git a/es.lproj/SUUpdateAlert.strings b/es.lproj/SUUpdateAlert.strings deleted file mode 100644 index f06459f0..00000000 Binary files a/es.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/es.lproj/SUUpdateAlert.xib b/es.lproj/SUUpdateAlert.xib deleted file mode 100644 index d1185580..00000000 --- a/es.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Actualización de software - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Notas de la versión: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Recordármelo - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - No instalar esta versión - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Instalar actualización - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - Descargar e instalar actualizaciones automáticamente - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/es.lproj/SUUpdatePermissionPrompt.strings b/es.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 60c1329a..00000000 Binary files a/es.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/es.lproj/SUUpdatePermissionPrompt.xib b/es.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 1ca61eb8..00000000 --- a/es.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {487, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{248, 12}, {225, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Comprobar automáticamente - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{117, 12}, {131, 32}} - - - YES - - 67108864 - 134217728 - No comprobar - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 131}, {366, 17}} - - - YES - - 67108864 - 272629760 - ¿Comprobar si hay actualizaciones automáticamente? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {364, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Incluir perfil de sistema anónimo - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {487, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - TGEgaW5mb3JtYWNpw7NuIGRlIHBlcmZpbCBkZSBzaXN0ZW1hIGFuw7NuaW1vIHNlIHVzYSBwYXJhIGF5 -dWRhcm5vcyBhIHBsYW5lYXIgZWwgdHJhYmFqbyBkZSBkZXNhcnJvbGxvIGZ1dHVyby4gUG9yIGZhdm9y -LCBww7NuZ2FzZSBlbiBjYW50YWN0byBjb24gbm9zb3Ryb3Mgc2kgdGllbmUgcHJlZ3VudGFzIHNvYnJl -IGVzdG8uCgpFc3RhIGVzIGxhIGluZm9ybWFjacOzbiBxdWUgc2Ugbm9zIGVudmlhcsOtYTo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/es.lproj/Sparkle.strings b/es.lproj/Sparkle.strings deleted file mode 100644 index 8e4ab943..00000000 Binary files a/es.lproj/Sparkle.strings and /dev/null differ diff --git a/fi.lproj/SUAutomaticUpdateAlert.strings b/fi.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 957a2caa..00000000 Binary files a/fi.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/fi.lproj/SUUpdateAlert.strings b/fi.lproj/SUUpdateAlert.strings deleted file mode 100644 index efe93583..00000000 Binary files a/fi.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/fi.lproj/Sparkle.strings b/fi.lproj/Sparkle.strings deleted file mode 100644 index b16e10c3..00000000 Binary files a/fi.lproj/Sparkle.strings and /dev/null differ diff --git a/finish_installation.m b/finish_installation.m deleted file mode 100644 index 81748073..00000000 --- a/finish_installation.m +++ /dev/null @@ -1,217 +0,0 @@ - -#import -#import "SUInstaller.h" -#import "SUHost.h" -#import "SUStandardVersionComparator.h" -#import "SUStatusController.h" -#import "SUPlainInstallerInternals.h" -#import "SULog.h" - -#include - -#define LONG_INSTALLATION_TIME 5 // If the Installation takes longer than this time the Application Icon is shown in the Dock so that the user has some feedback. -#define CHECK_FOR_PARENT_TO_QUIT_TIME .5 // Time this app uses to recheck if the parent has already died. - -@interface TerminationListener : NSObject -{ - const char *hostpath; - const char *executablepath; - pid_t parentprocessid; - const char *folderpath; - NSString *selfPath; - NSString *installationPath; - NSTimer *watchdogTimer; - NSTimer *longInstallationTimer; - SUHost *host; - BOOL shouldRelaunch; -} - -- (void) parentHasQuit; - -- (void) relaunch; -- (void) install; - -- (void) showAppIconInDock:(NSTimer *)aTimer; -- (void) watchdog:(NSTimer *)aTimer; - -@end - -@implementation TerminationListener - -- (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; - selfPath = [inSelfPath retain]; - shouldRelaunch = relaunch; - - BOOL alreadyTerminated = (getppid() == 1); // ppid is launchd (1) => parent terminated already - - if( alreadyTerminated ) - [self parentHasQuit]; - else - watchdogTimer = [[NSTimer scheduledTimerWithTimeInterval:CHECK_FOR_PARENT_TO_QUIT_TIME target:self selector:@selector(watchdog:) userInfo:nil repeats:YES] retain]; - - return self; -} - - --(void) dealloc -{ - [longInstallationTimer invalidate]; - [longInstallationTimer release]; - longInstallationTimer = nil; - - [selfPath release]; - selfPath = nil; - - [installationPath release]; - - [watchdogTimer release]; - watchdogTimer = nil; - - [host release]; - host = nil; - - [super dealloc]; -} - - --(void) parentHasQuit -{ - [watchdogTimer invalidate]; - longInstallationTimer = [[NSTimer scheduledTimerWithTimeInterval: LONG_INSTALLATION_TIME - target: self selector: @selector(showAppIconInDock:) - userInfo:nil repeats:NO] retain]; - - if( folderpath ) - [self install]; - else - [self relaunch]; -} - -- (void) watchdog:(NSTimer *)aTimer -{ - ProcessSerialNumber psn; - if (GetProcessForPID(parentprocessid, &psn) == procNotFound) - [self parentHasQuit]; -} - -- (void)showAppIconInDock:(NSTimer *)aTimer; -{ - ProcessSerialNumber psn = { 0, kCurrentProcess }; - TransformProcessType( &psn, kProcessTransformToForegroundApplication ); -} - - -- (void) relaunch -{ - if (shouldRelaunch) - { - NSString *appPath = nil; - if( !folderpath || strcmp(executablepath, hostpath) != 0 ) - appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; - else - appPath = [host installationPath]; - - NSRunningApplication *relaunchedApplication = [[NSWorkspace sharedWorkspace] launchApplicationAtURL:[NSURL fileURLWithPath:appPath] options:NSWorkspaceLaunchDefault configuration:nil error:NULL]; - [relaunchedApplication activateWithOptions:NSApplicationActivateIgnoringOtherApps]; - } - - 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: hostpath length:strlen(hostpath)]]; - host = [[SUHost alloc] initWithBundle: theBundle]; - installationPath = [[host installationPath] copy]; - - // 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. - if (shouldRelaunch) { - SUStatusController* statusCtl = [[[SUStatusController alloc] initWithHost: host] autorelease]; // We quit anyway after we've installed, so leak this for now. - [statusCtl setButtonTitle: SULocalizedString(@"Cancel Update",@"") target: nil action: Nil isDefault: NO]; - [statusCtl beginActionWithTitle: SULocalizedString(@"Installing update...",@"") - maxProgressValue: 0 statusText: @""]; - [statusCtl showWindow: self]; - } - - [SUInstaller installFromUpdateFolder: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: folderpath length: strlen(folderpath)] - overHost: host - installationPath: installationPath - delegate: self synchronously: NO - versionComparator: [SUStandardVersionComparator defaultComparator]]; -} - -- (void) installerFinishedForHost:(SUHost *)aHost -{ - [self relaunch]; -} - -- (void) installerForHost:(SUHost *)host failedWithError:(NSError *)error -{ - // 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. - if (shouldRelaunch) - NSRunAlertPanel( @"", @"%@", @"OK", @"", @"", [error localizedDescription] ); - exit(EXIT_FAILURE); -} - -@end - -int main (int argc, const char * argv[]) -{ - if( argc < 5 || argc > 6 ) - return EXIT_FAILURE; - - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - //ProcessSerialNumber psn = { 0, kCurrentProcess }; - //TransformProcessType( &psn, kProcessTransformToForegroundApplication ); - [[NSApplication sharedApplication] setActivationPolicy:NSApplicationActivationPolicyRegular]; - [[NSApplication sharedApplication] activateIgnoringOtherApps: YES]; - - #if 0 // Cmdline tool - NSString* selfPath = nil; - if( argv[0][0] == '/' ) - selfPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation: argv[0] length: strlen(argv[0])]; - else - { - selfPath = [[NSFileManager defaultManager] currentDirectoryPath]; - selfPath = [selfPath stringByAppendingPathComponent: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: argv[0] length: strlen(argv[0])]]; - } - #else - NSString* selfPath = [[NSBundle mainBundle] bundlePath]; - #endif - - [NSApplication sharedApplication]; - [[[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]; - - return EXIT_SUCCESS; -} diff --git a/finish_installation.pch b/finish_installation.pch deleted file mode 100644 index f29230f1..00000000 --- a/finish_installation.pch +++ /dev/null @@ -1,16 +0,0 @@ -// -// Sparkle.pch -// Sparkle -// -// Created by Andy Matuschak on 7/23/08. -// Copyright 2008 Andy Matuschak. All rights reserved. -// - -#define SPARKLE_BUNDLE [NSBundle mainBundle] -#define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", SPARKLE_BUNDLE, comment) -#define SUAbstractFail() NSAssert2(nil, @"Can't call %@ on an instance of %@; this is an abstract method!", __PRETTY_FUNCTION__, [self class]); - -#ifdef __OBJC__ -#import -#import "SUConstants.h" -#endif diff --git a/fr.lproj/SUAutomaticUpdateAlert.strings b/fr.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 4dc0ad05..00000000 Binary files a/fr.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/fr.lproj/SUAutomaticUpdateAlert.xib b/fr.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index a5f8d1ba..00000000 --- a/fr.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,638 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {626, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {507, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {507, 31}} - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{450, 12}, {162, 32}} - - YES - - 67239424 - 134217728 - Installer et relancer - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{286, 12}, {164, 32}} - - YES - - 67239424 - 134217728 - Installer en quittant - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {86, 32}} - - YES - - 67239424 - 134217728 - Ignorer - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - YES - - 67239424 - 131072 - Automatiquement télécharger et installer les mises à jour à l’avenir - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {626, 152} - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/fr.lproj/SUStatus.strings b/fr.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/fr.lproj/SUStatus.strings and /dev/null differ diff --git a/fr.lproj/SUUpdateAlert.strings b/fr.lproj/SUUpdateAlert.strings deleted file mode 100644 index 0b965f6a..00000000 Binary files a/fr.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/fr.lproj/SUUpdateAlert.xib b/fr.lproj/SUUpdateAlert.xib deleted file mode 100644 index 4bad2e37..00000000 --- a/fr.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Mise à jour logiciel - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Notes de version : - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Pas maintenant - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - Ignorer cette version - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Installer - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - Automatiquement télécharger et installer les mises à jour à l’avenir - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/fr.lproj/SUUpdatePermissionPrompt.strings b/fr.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 126135e2..00000000 Binary files a/fr.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/fr.lproj/SUUpdatePermissionPrompt.xib b/fr.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 2da01c79..00000000 --- a/fr.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1187 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {457, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{241, 12}, {202, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Vérifier automatiquement - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{110, 12}, {131, 32}} - - - - YES - - 67108864 - 134217728 - Ne pas vérifier - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {325, 34}} - - - - YES - - 67108864 - 272629760 - Rechercher automatiquement les mises à jour ? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {334, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {300, 18}} - - - - YES - - -2080374784 - 163840 - Avec transmission anonyme de mon profil système - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {457, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - TGVzIGluZm9ybWF0aW9ucyBhbm9ueW1lcyBkZSBwcm9maWwgc3lzdMOobWUgbm91cyBhaWRlbnQgw6Ag -cGxhbmlmaWVyIGxlcyBmdXR1cnMgZMOpdmVsb3BwZW1lbnRzLiBDb250YWN0ZXotbm91cyBwb3VyIHRv -dXRlIHF1ZXN0aW9uIMOgIGNlIHN1amV0LgoKQ2ktZGVzc291cyBmaWd1cmVudCBsZXMgaW5mb3JtYXRp -b25zIHF1aSBzZXJvbnQgdHJhbnNtaXNlc8KgOg - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/fr.lproj/Sparkle.strings b/fr.lproj/Sparkle.strings deleted file mode 100644 index 25c9f21b..00000000 Binary files a/fr.lproj/Sparkle.strings and /dev/null differ diff --git a/generate_keys.rb b/generate_keys.rb deleted file mode 100755 index 1d527195..00000000 --- a/generate_keys.rb +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/ruby -["dsaparam.pem", "dsa_priv.pem", "dsa_pub.pem"].each do |file| - if File.exist? file - puts "There's already a #{file} here! Move it aside or be more careful!" - exit - end -end -openssl = "/usr/bin/openssl" -`#{openssl} dsaparam 1024 < /dev/urandom > dsaparam.pem` -`#{openssl} gendsa dsaparam.pem -out dsa_priv.pem` -`#{openssl} dsa -in dsa_priv.pem -pubout -out dsa_pub.pem` -`rm dsaparam.pem` -puts "\nGenerated private and public keys: dsa_priv.pem and dsa_pub.pem.\n -BACK UP YOUR PRIVATE KEY AND KEEP IT SAFE!\n -If you lose it, your users will be unable to upgrade!\n" diff --git a/he.lproj/SUAutomaticUpdateAlert.strings b/he.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 9e466bb7..00000000 Binary files a/he.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/he.lproj/SUUpdateAlert.strings b/he.lproj/SUUpdateAlert.strings deleted file mode 100644 index 42117d01..00000000 Binary files a/he.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/he.lproj/Sparkle.strings b/he.lproj/Sparkle.strings deleted file mode 100644 index eef47b62..00000000 Binary files a/he.lproj/Sparkle.strings and /dev/null differ diff --git a/hu.lproj/SUAutomaticUpdateAlert.strings b/hu.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 15e62ba8..00000000 Binary files a/hu.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/hu.lproj/SUUpdateAlert.strings b/hu.lproj/SUUpdateAlert.strings deleted file mode 100644 index c14506f5..00000000 Binary files a/hu.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/hu.lproj/Sparkle.strings b/hu.lproj/Sparkle.strings deleted file mode 100644 index 7b09601d..00000000 Binary files a/hu.lproj/Sparkle.strings and /dev/null differ diff --git a/id.lproj/SUAutomaticUpdateAlert.strings b/id.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 15e62ba8..00000000 Binary files a/id.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/id.lproj/SUUpdateAlert.strings b/id.lproj/SUUpdateAlert.strings deleted file mode 100644 index c14506f5..00000000 Binary files a/id.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/id.lproj/Sparkle.strings b/id.lproj/Sparkle.strings deleted file mode 100644 index 7b09601d..00000000 Binary files a/id.lproj/Sparkle.strings and /dev/null differ diff --git a/is.lproj/SUAutomaticUpdateAlert.strings b/is.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 65ad89df..00000000 Binary files a/is.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/is.lproj/SUAutomaticUpdateAlert.xib b/is.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 7ab6c379..00000000 --- a/is.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,692 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {629, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {504, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {508, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{433, 12}, {182, 32}} - - - YES - - 67239424 - 134217728 - Innsetja og endurræsa - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{264, 12}, {169, 32}} - - - YES - - 67239424 - 134217728 - Innsetja eftir notkun - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{100, 12}, {120, 32}} - - - YES - - 67239424 - 134217728 - Ekki innsetja - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - YES - - 67239424 - 131072 - Sækja og innsetja uppfærslur sjálfkrafa framvegis - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {629, 152} - - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 901}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 901}, {559, 152}} - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/is.lproj/SUUpdateAlert.strings b/is.lproj/SUUpdateAlert.strings deleted file mode 100644 index 2f678ebf..00000000 Binary files a/is.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/is.lproj/SUUpdateAlert.xib b/is.lproj/SUUpdateAlert.xib deleted file mode 100644 index 186221e7..00000000 --- a/is.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1633 +0,0 @@ - - - - 1050 - 10C540 - 759 - 1038.25 - 458.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 759 - 759 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {586, 370}} - -260571136 - Hugbúnaðaruppfærsla - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 277}, {443, 17}} - - YES - - 67239424 - 272629760 - Útgáfupunktar: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{286, 12}, {157, 32}} - - YES - - 67239424 - 134217728 - Áminntu mig síðar - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {176, 32}} - - YES - - 67239424 - 134217728 - Sleppa þessari útgáfu - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{443, 12}, {129, 32}} - - YES - - -2080244224 - 134217728 - Innsetja - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - {{109, 76}, {457, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {463, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 48}, {442, 18}} - - YES - - 67239424 - 131072 - Sækja og innsetja uppfærslur sjálfkrafa framvegis - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {586, 370} - - - {{0, 0}, {1920, 1178}} - {586, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 17.ImportedFromIB2 - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 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 - - 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 - - {{347, 291}, {586, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{347, 291}, {586, 370}} - - - {586, 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 - - - - 176 - - - - 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 - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 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 - - - - 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 - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/is.lproj/SUUpdatePermissionPrompt.strings b/is.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 69913292..00000000 Binary files a/is.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/is.lproj/SUUpdatePermissionPrompt.xib b/is.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 879b9b31..00000000 --- a/is.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{287, 12}, {137, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Kanna sjálfkrafa - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{170, 12}, {117, 32}} - - - YES - - 67108864 - 134217728 - Ekki kanna - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - Athuga sjálfkrafa með uppfærslur? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Innifela nafnlausa kerfisskýrslu - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - VXBwbMO9c2luZ2FyIMO6ciBuYWZubGF1c3VtIGtlcmZpc3Nrw71yc2x1bSBlcnUgbm90YcOwYXIgdGls -IGHDsCBoasOhbHBhIG9ra3VyIHZpw7AgZnJhbXTDrcOwYXLDvnLDs3VuIGh1Z2LDum5hw7Bhcmlucy4g -RWtraSBoaWthIHZpw7AgYcOwIGhhZmEgc2FtYmFuZCBlZiBzcHVybmluZ2FyIHZha25hIHVtIMO+ZXR0 -YS4KCsOeZXR0YSBlcnUgdXBwbMO9c2luZ2FybmFyIHNlbSB5csOwdSBzZW5kYXI6A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 862}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/is.lproj/Sparkle.strings b/is.lproj/Sparkle.strings deleted file mode 100644 index 665e273e..00000000 Binary files a/is.lproj/Sparkle.strings and /dev/null differ diff --git a/it.lproj/SUAutomaticUpdateAlert.strings b/it.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index d563ab3e..00000000 Binary files a/it.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/it.lproj/SUAutomaticUpdateAlert.xib b/it.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 46c777c7..00000000 --- a/it.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,638 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {581, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {463, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {463, 31}} - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{422, 12}, {145, 32}} - - YES - - 67239424 - 134217728 - Installa e Riavvia - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{289, 12}, {133, 32}} - - YES - - 67239424 - 134217728 - Installa ed Esci - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {128, 32}} - - YES - - 67239424 - 134217728 - Non installare - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - YES - - 67239424 - 131072 - In futuro scarica e installa automaticamente gli aggiornamenti - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {581, 152} - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/it.lproj/SUStatus.strings b/it.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/it.lproj/SUStatus.strings and /dev/null differ diff --git a/it.lproj/SUUpdateAlert.strings b/it.lproj/SUUpdateAlert.strings deleted file mode 100644 index 1ab68bde..00000000 Binary files a/it.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/it.lproj/SUUpdateAlert.xib b/it.lproj/SUUpdateAlert.xib deleted file mode 100644 index 24c5f9b8..00000000 --- a/it.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Aggiormento Software - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Note di rilascio: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Ricordamelo più tardi - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - Ignora questa versione - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Installa - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - In futuro scarica e installa automaticamente gli aggiornamenti - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/it.lproj/SUUpdatePermissionPrompt.strings b/it.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 46ce2c8f..00000000 Binary files a/it.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/it.lproj/SUUpdatePermissionPrompt.xib b/it.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 490d51d8..00000000 --- a/it.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {468, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{240, 12}, {214, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Controlla Automaticamente - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{102, 12}, {138, 32}} - - - YES - - 67108864 - 134217728 - Non controllare - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {331, 34}} - - - YES - - 67108864 - 272629760 - Controllo automaticamente gli aggiornamenti? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {345, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Include profilo di sistema anonimo - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {468, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - TGUgaW5mb3JtYXppb25pIGRlbCBwcm9maWxvIGRpIHNpc3RlbWEgYW5vbWlubyBzb25vIHV0aWxpenph -dGUgcGVyIGFpdXRhcmNpIGluIGZ1dHVyaSBsYXZvcmkgZGkgc3ZpbHVwcG8uIENvbnRhdHRhY2kgc2Ug -aGFpIGRlaSBxdWVzaXRpIHN1bGzigJlhcmdvbWVudG8uCgpRdWVzdGUgc29ubyBsZSBpbmZvcm1hemlv -bmkgY2hlIHZlcnJlYmJlcm8gaW52aWF0ZTo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/it.lproj/Sparkle.strings b/it.lproj/Sparkle.strings deleted file mode 100644 index e0c2c4df..00000000 Binary files a/it.lproj/Sparkle.strings and /dev/null differ diff --git a/ja.lproj/SUAutomaticUpdateAlert.strings b/ja.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 38beb7ce..00000000 Binary files a/ja.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/ja.lproj/SUAutomaticUpdateAlert.xib b/ja.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 037bdd95..00000000 --- a/ja.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,629 +0,0 @@ - - - - 1050 - 11D50 - 1938 - 1138.32 - 568.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1938 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {678, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {557, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {557, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{481, 12}, {183, 32}} - - - YES - - 67239424 - 134217728 - インストールして再起動 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{311, 12}, {170, 32}} - - - YES - - 67239424 - 134217728 - 終了してインストール - - AquaKana - 13 - 16 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {157, 32}} - - - YES - - 67239424 - 134217728 - インストールしない - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - YES - - 67239424 - 131072 - 今後はアップデートのダウンロードとインストールを自動で行う - - AquaKana - 11 - 16 - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {678, 152} - - - - {{0, 0}, {2560, 1418}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ja.lproj/SUStatus.strings b/ja.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/ja.lproj/SUStatus.strings and /dev/null differ diff --git a/ja.lproj/SUUpdateAlert.strings b/ja.lproj/SUUpdateAlert.strings deleted file mode 100644 index 2b4826be..00000000 Binary files a/ja.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/ja.lproj/SUUpdateAlert.xib b/ja.lproj/SUUpdateAlert.xib deleted file mode 100644 index 043c2bb4..00000000 --- a/ja.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1071 +0,0 @@ - - - - 1050 - 11D50 - 1938 - 1138.32 - 568.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 1938 - 822 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - ソフトウェア・アップデート - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 277}, {452, 17}} - - - YES - - 67239424 - 272629760 - リリースノート: - - AquaKana-Bold - 11 - 16 - - - - - - - - - 289 - {{273, 12}, {92, 32}} - - - YES - - 67239424 - 134217728 - 後で通知 - - AquaKana - 13 - 16 - - - -2038284033 - 1 - - LucidaGrande - 13 - 1044 - - - Gw - 200 - 25 - - - - - 288 - {{72, 12}, {196, 32}} - - - YES - - 67239424 - 134217728 - このバージョンはスキップ - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{365, 12}, {196, 32}} - - - YES - - -2080244224 - 134217728 - アップデートをインストール - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - - {{110, 76}, {445, 199}} - - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - - YES - - 67239424 - 131072 - 今後はアップデートのダウンロードとインストールを自動で行う - - AquaKana - 11 - 16 - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - - - {{0, 0}, {2560, 1418}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - WebView - - reloadFromOrigin: - id - - - reloadFromOrigin: - - reloadFromOrigin: - id - - - - IBProjectSource - ./Classes/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ja.lproj/SUUpdatePermissionPrompt.strings b/ja.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 32be6c6d..00000000 Binary files a/ja.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/ja.lproj/SUUpdatePermissionPrompt.xib b/ja.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index e76d2da3..00000000 --- a/ja.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1189 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{300, 12}, {105, 32}} - - - 1 - YES - - -2080374784 - 134217728 - 自動で確認 - - AquaKana - 13 - 16 - - - 1 - -2038284288 - 1 - - LucidaGrande - 13 - 1044 - - - DQ - 200 - 25 - - NO - - - - 257 - {{162, 12}, {105, 32}} - - - YES - - 67108864 - 134217728 - 確認しない - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - アップデートを自動で確認させますか? - - AquaKana-Bold - 13 - 16 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - 匿名のシステム情報を含める - - AquaKana - 11 - 16 - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - 5Yy/5ZCN44Gu44K344K544OG44Og44OX44Ot44OV44Kh44Kk44Or5oOF5aCx44Gv44CB5LuK5b6M5oiR -44GM56S+44Gu5LyB55S76ZaL55m644KS6KiI55S744GZ44KL5LiK44Gn5Y+C6ICD44Gr44GV44Gb44Gm -44GE44Gf44Gg44GN44G+44GZ44CC44GT44Gu5Lu244Gr6Zai44GX44Gm44GU6LOq5ZWP44GM44GC44KM -44Gw44CB44GU6YCj57Wh5LiL44GV44GE44CCCgrku6XkuIvjga7mg4XloLHjgpLpgIHkv6HjgZfjgabj -gY/jgaDjgZXjgYTvvJo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ja.lproj/Sparkle.strings b/ja.lproj/Sparkle.strings deleted file mode 100644 index b21ea044..00000000 Binary files a/ja.lproj/Sparkle.strings and /dev/null differ diff --git a/ko.lproj/SUAutomaticUpdateAlert.strings b/ko.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 15e62ba8..00000000 Binary files a/ko.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/ko.lproj/SUAutomaticUpdateAlert.xib b/ko.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index fe76030a..00000000 --- a/ko.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,692 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {583, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {458, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {458, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{442, 12}, {127, 32}} - - - YES - - 67239424 - 134217728 - 설치 및 재실행 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{328, 12}, {114, 32}} - - - YES - - 67239424 - 134217728 - 종료 시 설치 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {96, 32}} - - - YES - - 67239424 - 134217728 - 설치 중단 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - YES - - 67239424 - 131072 - 나중에 업데이트 자동으로 다운로드 및 설치 - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {583, 152} - - - - {{0, 0}, {1024, 746}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 855}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 855}, {559, 152}} - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/ko.lproj/SUUpdateAlert.strings b/ko.lproj/SUUpdateAlert.strings deleted file mode 100644 index c14506f5..00000000 Binary files a/ko.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/ko.lproj/SUUpdateAlert.xib b/ko.lproj/SUUpdateAlert.xib deleted file mode 100644 index 76aff59f..00000000 --- a/ko.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1633 +0,0 @@ - - - - 1050 - 10C540 - 759 - 1038.25 - 458.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 759 - 759 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{424, 279}, {586, 370}} - -260571136 - Software Update - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 277}, {443, 17}} - - YES - - 67239424 - 272629760 - 배포 정보: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{299, 12}, {114, 32}} - - YES - - 67239424 - 134217728 - 나중에 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {149, 32}} - - YES - - 67239424 - 134217728 - 이 버전 건너뛰기 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{413, 12}, {159, 32}} - - YES - - -2080244224 - 134217728 - 업데이트 설치 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - {{109, 76}, {457, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {463, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 47}, {442, 19}} - - YES - - 67239424 - 131072 - 나중에 업데이트 자동으로 다운로드 및 설치 - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {586, 370} - - - {{0, 0}, {1440, 878}} - {586, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 17.ImportedFromIB2 - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 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 - - 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 - - {{347, 268}, {586, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{347, 268}, {586, 370}} - - - {586, 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 - - - - 176 - - - - 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 - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 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 - - - - 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 - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/ko.lproj/SUUpdatePermissionPrompt.xib b/ko.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 91654197..00000000 --- a/ko.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{302, 12}, {122, 32}} - - - 1 - YES - - -2080374784 - 134217728 - 자동으로 확인 - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{236, 12}, {66, 32}} - - - YES - - 67108864 - 134217728 - 취소 - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - 자동으로 업데이트 확인할까요? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 19}} - - - YES - - -2080374784 - 163840 - 익명 시스템 정보 포함 - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 128} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 131072 - Text Cell - - - - - - 3 - YES - - - - 3 - 2 - - - 6 - System - gridColor - - 3 - MC41AA - - - 14 - -759169024 - - - 4 - 15 - 0 - NO - 0 - 1 - - - {{1, 1}, {353, 128}} - - - - - 6 - System - controlBackgroundColor - - - 4 - - - - -2147483392 - {{-22, 1}, {11, 125}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 130}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 142}, {358, 56}} - - YES - - 67108864 - 272629760 - 7J2166qF7Jy866GcIOuztOuCtOyngOuKlCDsi5zsiqTthZwg7KCV67O066GcIOywqO2bhCDtlITroZzq -t7jrnqgg6rCc67Cc7JeQIOuPhOybgOydtCDrkKAg7IiYIOyeiOyKteuLiOuLpC4g7KeI66y47J20IOye -iOycvOyLnOuptCDsl7Drnb0g7KO87Iut7Iuc7JikLgoK7JWE656YIOygleuztOqwgCDsoITshqHrkKAg -6rKD7J6F64uI64ukLg - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 816}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ko.lproj/Sparkle.strings b/ko.lproj/Sparkle.strings deleted file mode 100644 index 25371221..00000000 Binary files a/ko.lproj/Sparkle.strings and /dev/null differ diff --git a/nl.lproj/SUAutomaticUpdateAlert.strings b/nl.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index dca47c72..00000000 Binary files a/nl.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/nl.lproj/SUAutomaticUpdateAlert.xib b/nl.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 4f2e7922..00000000 --- a/nl.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,700 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {617, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {495, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {498, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{432, 12}, {171, 32}} - - - YES - - 67239424 - 134217728 - Installeer en herstart - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{282, 12}, {150, 32}} - - - YES - - 67239424 - 134217728 - Installeer bij Stop - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {126, 32}} - - - YES - - 67239424 - 134217728 - Installeer niet - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - YES - - 67239424 - 131072 - Download en installeer updates in de toekomst automatisch - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {617, 152} - - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/nl.lproj/SUStatus.strings b/nl.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/nl.lproj/SUStatus.strings and /dev/null differ diff --git a/nl.lproj/SUUpdateAlert.strings b/nl.lproj/SUUpdateAlert.strings deleted file mode 100644 index 39977220..00000000 Binary files a/nl.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/nl.lproj/SUUpdateAlert.xib b/nl.lproj/SUUpdateAlert.xib deleted file mode 100644 index 0c9d15d6..00000000 --- a/nl.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Software-update - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Versiegegevens: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Herinner mij er later aan - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - Sla deze versie over - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Installeer update - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - Download en installeer updates in de toekomst automatisch - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/nl.lproj/SUUpdatePermissionPrompt.strings b/nl.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 6992a2c4..00000000 Binary files a/nl.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/nl.lproj/SUUpdatePermissionPrompt.xib b/nl.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 673b246f..00000000 --- a/nl.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {485, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{282, 12}, {189, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Controleer automatisch - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{147, 12}, {135, 32}} - - - YES - - 67108864 - 134217728 - Controleer niet - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - Automatisch controleren op updates? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {362, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Inclusief anoniem systeemprofiel - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {485, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QWFuIGRlIGhhbmQgdmFuIGFub25pZW1lIGluZm9ybWF0aWUgb3ZlciBoZXQgc3lzdGVlbXByb2ZpZWwg -a3VubmVuIHdpaiB0b2Vrb21zdGlnZSBvbnR3aWtrZWxpbmdzd2Vya3phYW1oZWRlbiBiZXRlciBwbGFu -bmVuLiBOZWVtIGNvbnRhY3QgbWV0IG9ucyBvcCBhbHMgdSBoaWVyb3ZlciB2cmFnZW4gaGVidC4KCkRp -dCBpcyBkZSBpbmZvcm1hdGllIGRpZSB3b3JkdCB2ZXJ6b25kZW46A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/nl.lproj/Sparkle.strings b/nl.lproj/Sparkle.strings deleted file mode 100644 index 023c473b..00000000 Binary files a/nl.lproj/Sparkle.strings and /dev/null differ diff --git a/no.lproj/SUAutomaticUpdateAlert.strings b/no.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 503b2cba..00000000 Binary files a/no.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/no.lproj/SUUpdateAlert.strings b/no.lproj/SUUpdateAlert.strings deleted file mode 100644 index f9b8201a..00000000 Binary files a/no.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/no.lproj/Sparkle.strings b/no.lproj/Sparkle.strings deleted file mode 100644 index f069d45e..00000000 Binary files a/no.lproj/Sparkle.strings and /dev/null differ diff --git a/pl.lproj/SUAutomaticUpdateAlert.strings b/pl.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 0f615561..00000000 Binary files a/pl.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/pl.lproj/SUAutomaticUpdateAlert.xib b/pl.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index f5cfebc7..00000000 --- a/pl.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,692 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{139, 604}, {664, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {542, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {542, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{430, 12}, {220, 32}} - - - YES - - 67239424 - 134217728 - Instaluj i uruchom ponownie - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{235, 12}, {195, 32}} - - - YES - - 67239424 - 134217728 - Instaluj przy zamknięciu - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {111, 32}} - - - YES - - 67239424 - 134217728 - Nie instaluj - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - YES - - 67239424 - 131072 - Automatycznie pobierz i zainstaluj przyszłe uaktualnienia - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {664, 152} - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 763}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 763}, {559, 152}} - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/pl.lproj/SUUpdateAlert.strings b/pl.lproj/SUUpdateAlert.strings deleted file mode 100644 index 176d179e..00000000 Binary files a/pl.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/pl.lproj/SUUpdateAlert.xib b/pl.lproj/SUUpdateAlert.xib deleted file mode 100644 index e14c1883..00000000 --- a/pl.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1633 +0,0 @@ - - - - 1050 - 10C540 - 759 - 1038.25 - 458.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 759 - 759 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{399, 283}, {586, 370}} - -260571136 - Software Update - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 277}, {443, 17}} - - YES - - 67239424 - 272629760 - Szczegóły wydania: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{283, 12}, {162, 32}} - - YES - - 67239424 - 134217728 - Przypomnij później - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {149, 32}} - - YES - - 67239424 - 134217728 - Pomiń tę wersję - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{440, 12}, {138, 32}} - - YES - - -2080244224 - 134217728 - Zainstaluj teraz - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - {{109, 76}, {457, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {463, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 48}, {442, 18}} - - YES - - 67239424 - 131072 - Automatycznie pobierz i zainstaluj przyszłe uaktualnienia - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {586, 370} - - - {{0, 0}, {1440, 878}} - {586, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 17.ImportedFromIB2 - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 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 - - 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 - - {{347, 337}, {586, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{347, 337}, {586, 370}} - - - {586, 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 - - - - 176 - - - - 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 - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 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 - - - - 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 - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/pl.lproj/SUUpdatePermissionPrompt.xib b/pl.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index a832b451..00000000 --- a/pl.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{99, 573}, {444, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{230, 12}, {201, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Sprawdzaj automatycznie - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{101, 12}, {129, 32}} - - - YES - - 67108864 - 134217728 - Nie sprawdzaj - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - Sprawdzać automatycznie uaktualnienia? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {321, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Załącz anonimowe informacje o systemie - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {444, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QW5vbnltb3VzIHN5c3RlbSBwcm9maWxlIGluZm9ybWF0aW9uIGlzIHVzZWQgdG8gaGVscCB1cyBwbGFu -IGZ1dHVyZSBkZXZlbG9wbWVudCB3b3JrLiBQbGVhc2UgY29udGFjdCB1cyBpZiB5b3UgaGF2ZSBhbnkg -cXVlc3Rpb25zIGFib3V0IHRoaXMuCgpUaGlzIGlzIHRoZSBpbmZvcm1hdGlvbiB0aGF0IHdvdWxkIGJl -IHNlbnQ6A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 724}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/pl.lproj/Sparkle.strings b/pl.lproj/Sparkle.strings deleted file mode 100644 index 8748ed60..00000000 Binary files a/pl.lproj/Sparkle.strings and /dev/null differ diff --git a/pt-BR.lproj/SUPasswordPrompt.xib b/pt-BR.lproj/SUPasswordPrompt.xib deleted file mode 100644 index 2002c8e7..00000000 --- a/pt-BR.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,606 +0,0 @@ - - - - 1050 - 12A251 - 2488 - 1183 - 622.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2488 - - - YES - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSSecureTextField - NSSecureTextFieldCell - NSTextField - NSTextFieldCell - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {394, 118}} - 544736256 - Password - NSWindow - - - - - 256 - - YES - - - 290 - {{179, 49}, {195, 22}} - - - - YES - - 342884416 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - NO - - - - 292 - {{106, 51}, {68, 17}} - - - - YES - - 68157504 - 272630784 - Password: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - NO - - - - 289 - {{297, 13}, {83, 32}} - - - YES - - 67108864 - 134217728 - Unlock - - - -2038284288 - 129 - - DQ - 200 - 25 - - NO - - - - 289 - {{215, 13}, {82, 32}} - - - - YES - - 67108864 - 134217728 - Cancel - - - -2038284288 - 129 - - Gw - 200 - 25 - - NO - - - - 266 - {{106, 86}, {271, 17}} - - - - YES - - 67108864 - 272629760 - This update is locked with a password. - - LucidaGrande-Bold - 13 - 16 - - - - - - NO - - - - 268 - - YES - - YES - 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 - - - {{20, 39}, {64, 64}} - - - - YES - - 0 - 33554432 - 0 - 0 - 0 - NO - - NO - YES - - - {394, 118} - - - - - {{0, 0}, {1440, 878}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{316, 826}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - accept: - cancel: - - - YES - id - id - - - - YES - - YES - accept: - cancel: - - - YES - - accept: - id - - - cancel: - id - - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - diff --git a/pt_BR.lproj/SUAutomaticUpdateAlert.strings b/pt_BR.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 026b7ef5..00000000 Binary files a/pt_BR.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/pt_BR.lproj/SUAutomaticUpdateAlert.xib b/pt_BR.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 735cf1d4..00000000 --- a/pt_BR.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,675 +0,0 @@ - - - - 1050 - 11E53 - 2182 - 1138.47 - 569.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2182 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {559, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {438, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {438, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{383, 12}, {157, 32}} - - - - YES - - 67239424 - 134217728 - Instalar e Reiniciar - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{230, 12}, {157, 32}} - - - - YES - - 67239424 - 134217728 - Instalar ao Encerrar - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {116, 32}} - - - - YES - - 67239424 - 134217728 - Não Instalar - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - - YES - - 67239424 - 131072 - Sempre baixar e instalar atualizações automaticamente - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {559, 152} - - - - - {{0, 0}, {1366, 746}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 717}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/pt_BR.lproj/SUPasswordPrompt.xib b/pt_BR.lproj/SUPasswordPrompt.xib deleted file mode 100644 index 377da881..00000000 --- a/pt_BR.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,597 +0,0 @@ - - - - 1050 - 11E53 - 2182 - 1138.47 - 569.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2182 - - - YES - NSTextField - NSView - NSWindowTemplate - NSSecureTextField - NSTextFieldCell - NSImageView - NSButtonCell - NSImageCell - NSButton - NSSecureTextFieldCell - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {394, 118}} - 544736256 - Senha - NSWindow - - - - - 256 - - YES - - - 290 - {{179, 49}, {195, 22}} - - - - YES - - 342884416 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - - - - 292 - {{128, 51}, {46, 17}} - - - - YES - - 68157504 - 272630784 - Senha: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - - - - 289 - {{321, 13}, {59, 32}} - - - - YES - - 67108864 - 134217728 - OK - - - -2038284288 - 129 - - DQ - 200 - 25 - - - - - 289 - {{229, 13}, {95, 32}} - - - - YES - - 67108864 - 134217728 - Cancelar - - - -2038284288 - 129 - - Gw - 200 - 25 - - - - - 266 - {{99, 79}, {278, 24}} - - - - YES - - 67108864 - 272629760 - Esta atualização encontra-se bloqueada. - - LucidaGrande-Bold - 13 - 16 - - - - - - - - - 268 - - YES - - YES - 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 - - - {{20, 39}, {64, 64}} - - - - YES - - 0 - 33554432 - 0 - 0 - 0 - NO - - YES - - - {394, 118} - - - - - {{0, 0}, {1366, 746}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{316, 826}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - accept: - cancel: - - - YES - id - id - - - - YES - - YES - accept: - cancel: - - - YES - - accept: - id - - - cancel: - id - - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - diff --git a/pt_BR.lproj/SUStatus.strings b/pt_BR.lproj/SUStatus.strings deleted file mode 100644 index ad32ad70..00000000 Binary files a/pt_BR.lproj/SUStatus.strings and /dev/null differ diff --git a/pt_BR.lproj/SUUpdateAlert.strings b/pt_BR.lproj/SUUpdateAlert.strings deleted file mode 100644 index bb66fb22..00000000 Binary files a/pt_BR.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/pt_BR.lproj/SUUpdateAlert.xib b/pt_BR.lproj/SUUpdateAlert.xib deleted file mode 100644 index 391fef95..00000000 --- a/pt_BR.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1025 +0,0 @@ - - - - 1070 - 12C3006 - 2844 - 1187.34 - 625.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 2844 - 1810 - - - - YES - NSBox - NSButton - NSButtonCell - NSCustomObject - NSImageCell - NSImageView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - WebView - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{63, 446}, {582, 375}} - -260571136 - Atualização de Software - NSWindow - - View - - - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - {{20, 291}, {64, 64}} - - - - YES - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - NO - YES - - - - 264 - {{102, 338}, {443, 17}} - - - - YES - - 67108864 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 268 - {{102, 277}, {443, 17}} - - - - YES - - 67108864 - 272629760 - Sobre a atualização: - - LucidaGrande-Bold - 11 - 3357 - - - - - - NO - - - - 289 - {{303, 12}, {109, 32}} - - - - YES - - 67108864 - 134217728 - Mais Tarde - - LucidaGrande - 13 - 1044 - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 288 - {{99, 12}, {149, 32}} - - - - YES - - 67108864 - 134217728 - Pular Esta Versão - - - -2038284288 - 1 - - - - - - 200 - 25 - - NO - - - - 289 - {{408, 12}, {160, 32}} - - - - YES - - -2080374784 - 134217728 - Instalar Atualização - - - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - - - {{105, 76}, {457, 199}} - - - - {0, 0} - - 67108864 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{102, 302}, {463, 28}} - - - - YES - - 67108864 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 256 - {{102, 48}, {442, 18}} - - - - YES - - 67108864 - 131072 - Sempre baixar e instalar atualizações automaticamente - - - 1211912448 - 2 - - NSSwitch - - - - 200 - 25 - - NO - - - {582, 375} - - - - - {{0, 0}, {1440, 878}} - {586, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{347, 240}, {582, 375}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 176 - - - - YES - - 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 - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - NSTextField - NSButton - NSButton - WebView - NSButton - - - - YES - - YES - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/pt_BR.lproj/SUUpdatePermissionPrompt.strings b/pt_BR.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index e69de29b..00000000 diff --git a/pt_BR.lproj/SUUpdatePermissionPrompt.xib b/pt_BR.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 42302e3a..00000000 --- a/pt_BR.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1178 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {446, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{230, 12}, {197, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Buscar Automaticamente - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{108, 12}, {111, 32}} - - - YES - - 67108864 - 134217728 - Não Buscar - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - Buscar atualizações automaticamente? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {323, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Incluir perfil anônimo do sistema - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {446, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 131072 - - - - - - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - SW5mb3JtYcOnw7VlcyBhbsO0bmltYXMgZG8gc2lzdGVtYSBzw6NvIHV0aWxpemFkYXMgcGFyYSBub3Mg -YWp1ZGFyIGEgcGxhbmVqYXIgbyBkZXNlbnZvbHZpbWVudG8gZnV0dXJvIGRvIGFwbGljYXRpdm8uIENh -c28gdm9jw6ogdGVuaGEgZMO6dmlkYXMgc29icmUgZXNzZSBwcm9jZWRpbWVudG8sIHBvciBmYXZvciBj -b250YXRlLW5vcy4KCkEgc2VndWludGUgaW5mb3JtYcOnw6NvIHNlcmlhIGVudmlhZGE6A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 678}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/pt_BR.lproj/Sparkle.strings b/pt_BR.lproj/Sparkle.strings deleted file mode 100644 index 81db58e5..00000000 Binary files a/pt_BR.lproj/Sparkle.strings and /dev/null differ diff --git a/pt_PT.lproj/SUAutomaticUpdateAlert.xib b/pt_PT.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index e163238d..00000000 --- a/pt_PT.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,617 +0,0 @@ - - - - 1050 - 11C74 - 1617 - 1138.23 - 567.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1617 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {559, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {435, 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 - {{376, 12}, {167, 32}} - - - - YES - - 67239424 - 134217728 - Instalar e reiniciar - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{243, 12}, {133, 32}} - - - - YES - - 67239424 - 134217728 - Instalar ao sair - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {116, 32}} - - - - YES - - 67239424 - 134217728 - Não instalar - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - - - YES - - 67239424 - 131072 - No futuro, transferir e instalar actualizações automaticamente - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {559, 152} - - - - - {{0, 0}, {1280, 778}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{108, 455}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/pt_PT.lproj/SUUpdateAlert.xib b/pt_PT.lproj/SUUpdateAlert.xib deleted file mode 100644 index fc3e6d7f..00000000 --- a/pt_PT.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,918 +0,0 @@ - - - - 1050 - 11C74 - 1617 - 1138.23 - 567.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 1617 - 518 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - - YES - - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {650, 370}} - -260571136 - Actualização de Software - NSWindow - - View - - - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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, 277}, {443, 17}} - - - - YES - - 67239424 - 272629760 - Notas de lançamento: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{301, 12}, {163, 32}} - - - - YES - - 67239424 - 134217728 - Lembrar mais tarde - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {151, 32}} - - - - YES - - 67239424 - 134217728 - Saltar esta versão - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{466, 12}, {169, 32}} - - - - YES - - -2080244224 - 134217728 - Instalar actualização - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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}, {521, 197}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {519, 197}} - - - - - - {{109, 76}, {521, 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, 48}, {442, 18}} - - - - YES - - 67239424 - 131072 - No futuro, transferir e instalar actualizações automaticamente - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {650, 370} - - - - - {{0, 0}, {1440, 878}} - {586, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - skipButton - - - - 179 - - - - laterButton - - - - 180 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{84, 29}, {650, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 180 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/pt_PT.lproj/SUUpdatePermissionPrompt.xib b/pt_PT.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index c8540811..00000000 --- a/pt_PT.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1187 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {446, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{224, 12}, {207, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Procurar automaticamente - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{101, 12}, {123, 32}} - - - - YES - - 67108864 - 134217728 - Não procurar - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - - YES - - 67108864 - 272629760 - Procurar actualizações automaticamente? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - Incluir perfil de sistema anónimo - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {446, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QSBpbmZvcm1hw6fDo28gYW7Ds25pbWEgZG8gcGVyZmlsIGRlIHNpc3RlbWEgw6kgdXNhZGEgcGFyYSBu -byBmdXR1cm8gbm9zIGFqdWRhciBhIHBsYW5lYXIgbyB0cmFiYWxobyBkZSBkZXNlbnZvbHZpbWVudG8u -IFBvciBmYXZvciBjb250YWN0ZS1ub3Mgc2UgdGl2ZXIgYWxndW1hIHF1ZXN0w6NvIGFjZXJjYSBkZXN0 -ZSBhc3N1bnRvLgoKRXN0YSDDqSBhIGluZm9ybWHDp8OjbyBxdWUgc2VyaWEgZW52aWFkYTo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{108, 557}, {446, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/pt_PT.lproj/Sparkle.strings b/pt_PT.lproj/Sparkle.strings deleted file mode 100755 index 497cd830..00000000 Binary files a/pt_PT.lproj/Sparkle.strings and /dev/null differ diff --git a/ro.lproj/SUAutomaticUpdateAlert.xib b/ro.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index d17dec8a..00000000 --- a/ro.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,676 +0,0 @@ - - - - 1050 - 11C74 - 1576 - 1138.23 - 567.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1576 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {616, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {497, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {497, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{413, 12}, {192, 32}} - - - - YES - - 67239424 - 134217728 - Instalează și Relansează - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{256, 12}, {157, 32}} - - - - YES - - 67239424 - 134217728 - Instalează la Iesire - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {116, 32}} - - - - YES - - 67239424 - 134217728 - Nu instala - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - - YES - - 67239424 - 131072 - Descarcă și instalează automat actualizarile pe viitor - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {616, 152} - - - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/ro.lproj/SUUpdateAlert.xib b/ro.lproj/SUUpdateAlert.xib deleted file mode 100644 index e40b0f1a..00000000 --- a/ro.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1059 +0,0 @@ - - - - 1050 - 11C74 - 1576 - 1138.23 - 567.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 1576 - 513 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - - YES - - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 400}, {612, 371}} - -260571136 - Software Update - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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, 292}, {64, 64}} - - - - YES - - 130560 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - YES - - - - 266 - {{106, 339}, {489, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 278}, {452, 17}} - - - - YES - - 67239424 - 272629760 - Note de ediție: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{228, 12}, {186, 32}} - - - - YES - - 67239424 - 134217728 - Amintește-mi mai târziu - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {114, 32}} - - - - YES - - 67239424 - 134217728 - Sari peste .. - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{414, 12}, {184, 32}} - - - - YES - - -2080244224 - 134217728 - Instalează actualizarea - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {482, 200}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {480, 198}} - - - - - - {{110, 76}, {482, 200}} - - - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 303}, {489, 28}} - - - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {488, 18}} - - - - YES - - 67239424 - 131072 - Descarcă și instalează automat actualizarile pe viitor - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {612, 371} - - - - - {{0, 0}, {1280, 778}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - StaticText - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBViewEditorWindowController.showingLayoutRectangles - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - NSTextField - NSButton - NSButton - WebView - NSButton - - - - YES - - YES - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - WebView - - reloadFromOrigin: - id - - - reloadFromOrigin: - - reloadFromOrigin: - id - - - - IBProjectSource - ./Classes/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/ro.lproj/SUUpdatePermissionPrompt.xib b/ro.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 49632ba0..00000000 --- a/ro.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1187 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{278, 12}, {146, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Verifică Automat - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{161, 12}, {117, 32}} - - - - YES - - 67108864 - 134217728 - Nu Verifica - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {315, 34}} - - - - YES - - 67108864 - 272629760 - Verifică pentru actualizări în mod automat? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - Include profil de sistem anonim - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 265 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QW5vbnltb3VzIHN5c3RlbSBwcm9maWxlIGluZm9ybWF0aW9uIGlzIHVzZWQgdG8gaGVscCB1cyBwbGFu -IGZ1dHVyZSBkZXZlbG9wbWVudCB3b3JrLiBQbGVhc2UgY29udGFjdCB1cyBpZiB5b3UgaGF2ZSBhbnkg -cXVlc3Rpb25zIGFib3V0IHRoaXMuCgpUaGlzIGlzIHRoZSBpbmZvcm1hdGlvbiB0aGF0IHdvdWxkIGJl -IHNlbnQ6A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ro.lproj/Sparkle.strings b/ro.lproj/Sparkle.strings deleted file mode 100644 index e90bdf59..00000000 Binary files a/ro.lproj/Sparkle.strings and /dev/null differ diff --git a/ru.lproj/SUAutomaticUpdateAlert.strings b/ru.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 19acb2f7..00000000 Binary files a/ru.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/ru.lproj/SUAutomaticUpdateAlert.xib b/ru.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 56ad5f99..00000000 --- a/ru.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,680 +0,0 @@ - - - - 1050 - 11D46 - 2177 - 1138.32 - 568.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2177 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {743, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {621, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {621, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{502, 12}, {226, 32}} - - - YES - - 67239424 - 134217728 - Установить и перезапустить - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{290, 12}, {207, 32}} - - - YES - - 67239424 - 134217728 - Установить при закрытии - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {157, 32}} - - - YES - - 67239424 - 134217728 - Не устанавливать - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - YES - - 67239424 - 131072 - Автоматически загружать и устанавливать обновления в будущем - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {743, 152} - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ru.lproj/SUStatus.strings b/ru.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/ru.lproj/SUStatus.strings and /dev/null differ diff --git a/ru.lproj/SUUpdateAlert.strings b/ru.lproj/SUUpdateAlert.strings deleted file mode 100644 index 9fce4212..00000000 Binary files a/ru.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/ru.lproj/SUUpdateAlert.xib b/ru.lproj/SUUpdateAlert.xib deleted file mode 100644 index 9dc1062d..00000000 --- a/ru.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1035 +0,0 @@ - - - - 1050 - 11D46 - 2177 - 1138.32 - 568.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 2177 - 1117 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {643, 375}} - -260571136 - Обновление программного обеспечения - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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, 296}, {64, 64}} - - - YES - - 130560 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - YES - - - - 266 - {{106, 343}, {520, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 285}, {452, 14}} - - - YES - - 67239424 - 272629760 - Заметки о выпуске: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{269, 12}, {162, 32}} - - - YES - - 67239424 - 134217728 - Напоминать позже - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{72, 12}, {185, 32}} - - - YES - - 67239424 - 134217728 - Пропустить эту версию - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{435, 12}, {194, 32}} - - - YES - - -2080244224 - 134217728 - Установить обновление - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {513, 204}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {511, 202}} - - - - - {{110, 76}, {513, 204}} - - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 307}, {520, 28}} - - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {519, 18}} - - - YES - - 67239424 - 131072 - Автоматически загружать и устанавливать обновления в будущем - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {643, 375} - - - - {{0, 0}, {1440, 878}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - NSTextField - NSButton - NSButton - WebView - NSButton - - - - YES - - YES - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ru.lproj/SUUpdatePermissionPrompt.strings b/ru.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100755 index acf4be10..00000000 Binary files a/ru.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/ru.lproj/SUUpdatePermissionPrompt.xib b/ru.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 5bed9599..00000000 --- a/ru.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1183 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {542, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{320, 12}, {208, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Проверять автоматически - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{192, 12}, {128, 32}} - - - YES - - 67108864 - 134217728 - Не проверять - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {421, 34}} - - - YES - - 67108864 - 272629760 - Выполнять автоматическую проверку наличия обновлений? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {419, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Включить анонимный профиль системы - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {542, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - 0JjRgdC/0L7Qu9GM0LfQvtCy0LDQvdC40LUg0LDQvdC+0L3QuNC80L3QvtCz0L4g0L/RgNC+0YTQuNC7 -0Y8g0YHQuNGB0YLQtdC80Ysg0L/QvtC80L7Qs9Cw0LXRgiDQvdCw0Lwg0LIg0L/Qu9Cw0L3QuNGA0L7Q -stCw0L3QuNC4INCx0YPQtNGD0YnQtdC5INGA0LDQsdC+0YLRiyDQv9C+INGA0LDQt9GA0LDQsdC+0YLQ -utC1LiDQldGB0LvQuCDRgyDQstCw0YEg0LXRgdGC0Ywg0LrQsNC60LjQtS3Qu9C40LHQviDQstC+0L/R -gNC+0YHRiyDQv9C+INGN0YLQvtC5INGC0LXQvNC1LCDQvtCx0YDQsNGJ0LDQudGC0LXRgdGMINC6INC9 -0LDQvC4KCtCt0YLQviDQuNC90YTQvtGA0LzQsNGG0LjRjywg0L/RgNC10LTQvdCw0LfQvdCw0YfQtdC9 -0L3QsNGPINC00LvRjyDQvtGC0L/RgNCw0LLQu9C10L3QuNGPOg - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/ru.lproj/Sparkle.strings b/ru.lproj/Sparkle.strings deleted file mode 100644 index 7afef95f..00000000 Binary files a/ru.lproj/Sparkle.strings and /dev/null differ diff --git a/sign_update.rb b/sign_update.rb deleted file mode 100755 index 199ea40c..00000000 --- a/sign_update.rb +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/ruby -if ARGV.length < 2 - puts "Usage: ruby sign_update.rb update_archive private_key" - 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 diff --git a/sk.lproj/SUAutomaticUpdateAlert.xib b/sk.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 1a6954be..00000000 --- a/sk.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,621 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{139, 604}, {614, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {492, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {492, 31}} - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{415, 12}, {185, 32}} - - YES - - 67239424 - 134217728 - Inštalovať a reštartovať - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{259, 12}, {156, 32}} - - YES - - 67239424 - 134217728 - Inštalovať a ukončiť - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{101, 12}, {118, 32}} - - YES - - 67239424 - 134217728 - Neinštalovať - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - YES - - 67239424 - 131072 - V budúcnosti aktualizácie preberať a inštalovať automaticky - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {614, 152} - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 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 - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/sk.lproj/SUUpdateAlert.xib b/sk.lproj/SUUpdateAlert.xib deleted file mode 100644 index 07581928..00000000 --- a/sk.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1633 +0,0 @@ - - - - 1050 - 10C540 - 759 - 1038.25 - 458.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 759 - 759 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{411, 259}, {586, 370}} - -260571136 - Aktualizácia softvéru - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 277}, {443, 17}} - - YES - - 67239424 - 272629760 - Poznámky k vydaniu: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{285, 12}, {160, 32}} - - YES - - 67239424 - 134217728 - Pripomenúť neskôr - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{100, 12}, {167, 32}} - - YES - - 67239424 - 134217728 - Vynechať túto verziu - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{445, 12}, {127, 32}} - - YES - - -2080244224 - 134217728 - Nainštalovať - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - {{109, 76}, {457, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {463, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 48}, {442, 18}} - - YES - - 67239424 - 131072 - V budúcnosti aktualizácie preberať a inštalovať automaticky - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {586, 370} - - - {{0, 0}, {1440, 878}} - {586, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 17.ImportedFromIB2 - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 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 - - 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 - - {{483, 374}, {586, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{483, 374}, {586, 370}} - - - {586, 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 - - - - 176 - - - - 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 - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 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 - - - - 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 - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/sk.lproj/SUUpdatePermissionPrompt.xib b/sk.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 9b92a59a..00000000 --- a/sk.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1178 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{99, 573}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{230, 12}, {195, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Kontrolovať automaticky - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{101, 12}, {130, 32}} - - - YES - - 67108864 - 134217728 - Nekontrolovať - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - Kontrolovať aktualizácie automaticky? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Zahrnúť anonymný profil systému - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QW5vbnltbsO9IHByb2ZpbCBzeXN0w6ltdSBuw6FtIHVtb8W+bsOtIHpsZXDFoWnFpSBwbMOhbm92YW5p -ZSBidWTDumNlaG8gdsO9dm9qYSBhcGxpa8OhY2llLiBBayBtw6F0ZSBvaMS+YWRvbSB0b2h0byBha8Op -a2/EvnZlayBvdMOhemt5LCBuZXbDoWhhanRlIGEga29udGFrdHVqdGUgbsOhcy4KCk9kb3NpZWxhbsOp -IGJ1ZMO6IG5hc2xlZHVqw7pjZSBpbmZvcm3DoWNpZTo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/sk.lproj/Sparkle.strings b/sk.lproj/Sparkle.strings deleted file mode 100644 index 47713c19..00000000 Binary files a/sk.lproj/Sparkle.strings and /dev/null differ diff --git a/sl.lproj/SUAutomaticUpdateAlert.xib b/sl.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 3244ebdf..00000000 --- a/sl.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,548 +0,0 @@ - - - - 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 deleted file mode 100644 index 1fa30eea..00000000 --- a/sl.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,790 +0,0 @@ - - - - 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 deleted file mode 100644 index 227d1674..00000000 --- a/sl.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1037 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - 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 - - -2080374784 - 134217728 - Samodejno preverjaj - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{196, 12}, {117, 32}} - - - - YES - - 67108864 - 134217728 - Ne preverjaj - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {375, 34}} - - - - YES - - 67108864 - 272629760 - Naj občasno preverjam, če so na voljo posodobitve? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - Vključi anonimni profil sistema - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 265 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {496, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - - - 274 - - - - 2304 - - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - 256 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QW5vbmltbmkgcHJvZmlsIHNpc3RlbWEgc2UgdXBvcmFibGphIHphIG5hxI1ydG92YW5qZSBuYWRhbGpu -ZWdhIHJhenZvamEgcHJvZ3JhbWEuIFYgcHJpbWVydSB2cHJhxaFhbmogbmFzIGxhaGtvIGtvbnRha3Rp -cmF0ZS4KClBvxaFsamVqbyBzZSBzbGVkZcSNZSBpbmZvcm1hY2lqZTo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - - - - - 186 - - - - - SUUpdatePermissionPrompt - SUWindowController - - id - id - - - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - NSTextField - NSButton - NSView - NSTableView - - - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - YES - 3 - - {128, 128} - {15, 15} - - - diff --git a/sv.lproj/SUAutomaticUpdateAlert.strings b/sv.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index f399ff1c..00000000 Binary files a/sv.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/sv.lproj/SUAutomaticUpdateAlert.xib b/sv.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 6d9ddd2e..00000000 --- a/sv.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,638 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {692, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {571, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {571, 31}} - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{489, 12}, {189, 32}} - - YES - - 67239424 - 134217728 - Installera och starta om - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{316, 12}, {173, 32}} - - YES - - 67239424 - 134217728 - Installera och avsluta - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {126, 32}} - - YES - - 67239424 - 134217728 - Installera inte - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - YES - - 67239424 - 131072 - Ladda automatiskt ned och installera nya uppdateringar i framtiden. - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {692, 152} - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/sv.lproj/SUStatus.strings b/sv.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/sv.lproj/SUStatus.strings and /dev/null differ diff --git a/sv.lproj/SUUpdateAlert.strings b/sv.lproj/SUUpdateAlert.strings deleted file mode 100644 index 6d83675c..00000000 Binary files a/sv.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/sv.lproj/SUUpdateAlert.xib b/sv.lproj/SUUpdateAlert.xib deleted file mode 100644 index 776f5750..00000000 --- a/sv.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - Programuppdatering - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Release Notes: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - Påminn mig senare - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - Hoppa över denna version - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - Installera uppdatering - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - Ladda automatiskt ned och installera nya uppdateringar i framtiden. - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/sv.lproj/SUUpdatePermissionPrompt.strings b/sv.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100755 index fb474a0d..00000000 Binary files a/sv.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/sv.lproj/SUUpdatePermissionPrompt.xib b/sv.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index ec9b313f..00000000 --- a/sv.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {541, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{335, 12}, {190, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Kontrollera automatiskt - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{197, 12}, {138, 32}} - - - YES - - 67108864 - 134217728 - Kontrollera inte - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - U8O2ayBlZnRlciB1cHBkYXRlcmluZ2FyIGF1dG9tYXRpc2t0Pwo - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {418, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Inkludera anonym systemprofil - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {541, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Textcell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 131072 - Textcell - - - - - - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - QW5vbnltIHN5c3RlbXByb2ZpbGluZm9ybWF0aW9uIGFudsOkbmRzIGbDtnIgYXR0IGhqw6RscGEgb3Nz -IGF0dCBwbGFuZXJhIGZyYW10aWRhIHV0dmVja2xpbmdzYXJiZXRlLiBWw6RubGlnZW4ga29udGFrdGEg -b3NzIGlmYWxsIGR1IGhhciBuw6VncmEgZnLDpWdvdCBvbSBkZXR0YS4KCkRldHRhIMOkciBpbmZvcm1h -dGlvbmVuIHNvbSBza3VsbGUgc8OkbmRhczo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/sv.lproj/Sparkle.strings b/sv.lproj/Sparkle.strings deleted file mode 100644 index 16c3fb84..00000000 Binary files a/sv.lproj/Sparkle.strings and /dev/null differ diff --git a/th.lproj/SUAutomaticUpdateAlert.strings b/th.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 15e62ba8..00000000 Binary files a/th.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/th.lproj/SUAutomaticUpdateAlert.xib b/th.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 78325dcf..00000000 --- a/th.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,674 +0,0 @@ - - - - 1050 - 11D50d - 2182 - 1138.32 - 568.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2182 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {616, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {497, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {497, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{435, 12}, {167, 32}} - - - YES - - 67239424 - 134217728 - ติดตั้งและเริ่มใหม่ - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{306, 12}, {129, 32}} - - - - YES - - 67239424 - 134217728 - ติดตั้งเมื่อปิด - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {116, 32}} - - - - YES - - 67239424 - 134217728 - ไม่ติดตั้ง - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - - YES - - 67239424 - 131072 - ดาวน์โหลดและติดตั้งอัพเดทโดยอัตโนมัติในอนาคต - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {616, 152} - - - - - {{0, 0}, {1920, 1178}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/th.lproj/SUPasswordPrompt.xib b/th.lproj/SUPasswordPrompt.xib deleted file mode 100644 index 7c4a0cdf..00000000 --- a/th.lproj/SUPasswordPrompt.xib +++ /dev/null @@ -1,568 +0,0 @@ - - - - 1050 - 11D50d - 2182 - 1138.32 - 568.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2182 - - - YES - NSTextField - NSView - NSWindowTemplate - NSSecureTextField - NSTextFieldCell - NSImageView - NSButtonCell - NSImageCell - NSButton - NSSecureTextFieldCell - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUPasswordPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{196, 372}, {394, 118}} - 544736256 - รหัสผ่าน - NSWindow - - - - - 256 - - YES - - - 290 - {{179, 49}, {195, 22}} - - - - YES - - 342884416 - 272630784 - - - LucidaGrande - 13 - 1044 - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - - - - 292 - {{106, 51}, {68, 17}} - - - - YES - - 68157504 - 272630784 - รหัสผ่าน: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - - - - - - 289 - {{297, 13}, {83, 32}} - - - YES - - 67108864 - 134217728 - ปลดล็อก - - - -2038284288 - 129 - - DQ - 200 - 25 - - - - - 289 - {{215, 13}, {82, 32}} - - - - YES - - 67108864 - 134217728 - ยกเลิก - - - -2038284288 - 129 - - Gw - 200 - 25 - - - - - 266 - {{106, 86}, {271, 17}} - - - - YES - - 67108864 - 272629760 - อัพเดทนี้ถูกล็อกด้วยรหัสผ่าน - - LucidaGrande-Bold - 13 - 16 - - - - - - - - - 268 - - YES - - YES - 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 - - - {{20, 39}, {64, 64}} - - - - YES - - 0 - 33554432 - 0 - 0 - 0 - NO - - YES - - - {394, 118} - - - - - {{0, 0}, {1440, 878}} - {10000000000000, 10000000000000} - YES - - - - - YES - - - mPasswordField - - - - 19 - - - - window - - - - 20 - - - - cancel: - - - - 21 - - - - accept: - - - - 22 - - - - mTextDescription - - - - 25 - - - - mIconView - - - - 26 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - - - - 3 - - - YES - - - - - - 4 - - - - - 5 - - - YES - - - - - - 6 - - - - - 7 - - - YES - - - - - - 8 - - - - - 9 - - - YES - - - - - - 10 - - - - - 15 - - - YES - - - - - - 16 - - - - - 17 - - - YES - - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 10.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 2.IBPluginDependency - 3.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{316, 826}, {362, 138}} - - 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 - - - - YES - - - - - - YES - - - - - 26 - - - - YES - - SUPasswordPrompt - SUWindowController - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - NSImageView - NSSecureTextField - NSTextField - - - - YES - - YES - mIconView - mPasswordField - mTextDescription - - - YES - - mIconView - NSImageView - - - mPasswordField - NSSecureTextField - - - mTextDescription - NSTextField - - - - - IBProjectSource - ./Classes/SUPasswordPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - diff --git a/th.lproj/SUUpdateAlert.strings b/th.lproj/SUUpdateAlert.strings deleted file mode 100644 index c14506f5..00000000 Binary files a/th.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/th.lproj/SUUpdateAlert.xib b/th.lproj/SUUpdateAlert.xib deleted file mode 100644 index ca9741a2..00000000 --- a/th.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,898 +0,0 @@ - - - - 1050 - 11D50d - 2182 - 1138.32 - 568.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 2182 - 1117 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - อัพเดทซอฟต์แวร์ - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - Release Notes: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - เตือนในภายหลัง - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - ข้ามเวอร์ชั่นนี้ - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - ติดตั้งอัพเดท - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - ดาวน์โหลดและติดตั้งอัพเดทโดยอัตโนมัติในอนาคต - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - - {{0, 0}, {1600, 878}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/th.lproj/SUUpdatePermissionPrompt.xib b/th.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 3512eaa5..00000000 --- a/th.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1190 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{255, 12}, {169, 32}} - - - 1 - YES - - -2080374784 - 134217728 - ตรวจสอบโดยอัตโนมัติ - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{138, 12}, {117, 32}} - - - - YES - - 67108864 - 134217728 - ไม่ต้องตรวจสอบ - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - - YES - - 67108864 - 272629760 - ตรวจสอบอัพเดทอัตโนมัติ? - - Thonburi-Bold - 13 - 16 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - ส่งข้อมูลระบบแบบนิรนาม - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 265 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 128} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 131072 - Text Cell - - - - - - 3 - YES - - - - 3 - 2 - - - 6 - System - gridColor - - 3 - MC41AA - - - 14 - -759169024 - - - 4 - 15 - 0 - NO - 0 - 1 - - - {{1, 1}, {353, 128}} - - - - - 6 - System - controlBackgroundColor - - - 4 - - - - -2147483392 - {{-22, 1}, {11, 125}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 130}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 142}, {358, 56}} - - YES - - 67108864 - 272629760 - 4LiC4LmJ4Lit4Lih4Li54Lil4Lij4Liw4Lia4Lia4LmB4Lia4Lia4LiZ4Li04Lij4LiZ4Liy4Lih4LiK -4LmI4Lin4Lii4LmD4LiZ4LiB4Liy4Lij4Lin4Liy4LiH4LmB4Lic4LiZ4Lie4Lix4LiS4LiZ4Liy4LmB -4Lit4Lib4Lie4Lil4Li04LmA4LiE4LiK4Lix4LiZ4LiC4Lit4LiH4LmA4Lij4Liy4LmD4LiZ4Lit4LiZ -4Liy4LiE4LiVIOC4geC4o+C4uOC4k+C4suC4leC4tOC4lOC4leC5iOC4reC5gOC4o+C4suC4luC5ieC4 -suC4hOC4uOC4k+C4oeC4teC4guC5ieC4reC4quC4h+C4quC4seC4ouC5g+C4meC5gOC4o+C4t+C5iOC4 -reC4h+C4meC4teC5iQoK4LiZ4Li14LmI4LiE4Li34Lit4LiC4LmJ4Lit4Lih4Li54Lil4LiX4Li14LmI -4LiI4Liw4LiW4Li54LiB4Liq4LmI4LiH4LmE4LibOg - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/tr.lproj/SUAutomaticUpdateAlert.xib b/tr.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index d3c8baa0..00000000 --- a/tr.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,693 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {680, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {558, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {558, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{502, 12}, {164, 32}} - - - YES - - 67239424 - 134217728 - Kur ve tekrar başlat - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{364, 12}, {133, 32}} - - - - YES - - 67239424 - 134217728 - Kapatırken kur - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {169, 32}} - - - - YES - - 67239424 - 134217728 - Güncellemeyi kurma - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {419, 18}} - - - - YES - - 67239424 - 131072 - Bundan sonra Güncellemeleri otomatik olarak indir ve kur - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {680, 152} - - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 15.IBPluginDependency - 15.ImportedFromIB2 - 16.IBPluginDependency - 16.ImportedFromIB2 - 17.IBPluginDependency - 17.ImportedFromIB2 - 18.IBPluginDependency - 18.ImportedFromIB2 - 30.IBPluginDependency - 30.ImportedFromIB2 - 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 - - {{72, 669}, {680, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - {{72, 669}, {680, 152}} - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/tr.lproj/SUUpdateAlert.xib b/tr.lproj/SUUpdateAlert.xib deleted file mode 100644 index a2b53a83..00000000 --- a/tr.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1108 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 1553 - 509 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {600, 370}} - -260571136 - Software-Aktualisierung - NSWindow - - View - - - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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, 277}, {443, 17}} - - - - YES - - 67239424 - 272629760 - Sürüm Hakkında: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{387, 12}, {137, 32}} - - - - YES - - -2080244224 - 134217728 - tekrar Hatırlat - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {134, 32}} - - - - YES - - 67239424 - 134217728 - Bu sürümü geç - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{524, 12}, {62, 32}} - - - YES - - -2080244224 - 134217728 - Kur - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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}, {470, 197}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {469, 197}} - - - - - - {{109, 76}, {471, 199}} - - - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {477, 28}} - - - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 48}, {442, 18}} - - - - YES - - 67239424 - 131072 - Bundan sonra Güncellemeleri otomatik olarak indir ve kur - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {600, 370} - - - - - {{0, 0}, {1440, 878}} - {586, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - skipButton - - - - 176 - - - - laterButton - - - - 177 - - - - installButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 17.IBPluginDependency - 17.ImportedFromIB2 - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.IBViewBoundsToFrameTransform - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 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 - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.WebKitIBPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABCzgAAwigAAA - - - {{112, 583}, {600, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{112, 583}, {600, 370}} - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - NSTextField - NSButton - NSButton - WebView - NSButton - - - - YES - - YES - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - WebView - - YES - - YES - reloadFromOrigin: - resetPageZoom: - zoomPageIn: - zoomPageOut: - - - YES - id - id - id - id - - - - YES - - YES - reloadFromOrigin: - resetPageZoom: - zoomPageIn: - zoomPageOut: - - - YES - - reloadFromOrigin: - id - - - resetPageZoom: - id - - - zoomPageIn: - id - - - zoomPageOut: - id - - - - - IBProjectSource - ./Classes/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/tr.lproj/SUUpdatePermissionPrompt.xib b/tr.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 253917bd..00000000 --- a/tr.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1185 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{256, 12}, {168, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Otomatik olarak Ara - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{175, 12}, {81, 32}} - - - - YES - - 67108864 - 134217728 - Arama - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {315, 34}} - - - - YES - - 67108864 - 272629760 - Otomatik olarak güncelleme Aransınmı? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - - YES - - -2080374784 - 163840 - isimsiz Sistem-Bilgilerini ulaştır - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {356, 162} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 167 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 131072 - Text Cell - - - - - - 3 - YES - - - - 3 - 2 - - - 6 - System - gridColor - - 3 - MC41AA - - - 14 - -759169024 - - - 4 - 15 - 0 - NO - 0 - 1 - - - {{1, 1}, {356, 162}} - - - - - 6 - System - controlBackgroundColor - - - 4 - - - - -2147483392 - {{-22, 1}, {11, 125}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {358, 164}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 178}, {361, 70}} - - YES - - 67108864 - 272629760 - R8O2bmRlcmRpxJ9pbml6IGlzaW1zaXogU2lzdGVtLUJpbGdpbGVyaSBidSBQcm9ncmFtxLFuIGdlbGnF -n2ltaSBpw6dpbiBrdWxsYW7EsWxtYXRhZMSxci4gQnUga29udSBoYWtrxLFuZGEgZGFoYSBmYXpsYSBC -aWxnaSBlZGlubWVrIGnDp2luLCBiaXppbWxlIGJhxJ9sYW50xLF5YSBnZcOnaW5pei4KCkfDtm5kZXJl -Y2XEn2luaXogQmlsZ2lsZXI6A - - - - - - NO - - - {365, 254} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 173 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 2 - - - 148 - - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - - - - value: arrangedObjects.visibleKey - - - - - - value: arrangedObjects.visibleKey - value - arrangedObjects.visibleKey - 2 - - - 47 - - - - value: arrangedObjects.visibleValue - - - - - - value: arrangedObjects.visibleValue - value - arrangedObjects.visibleValue - 2 - - - 48 - - - - hidden: shouldAskAboutProfile - - - - - - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 139 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 163 - - - - - 164 - - - - - 165 - - - - - 166 - - - - - 167 - - - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 163.IBPluginDependency - 164.IBPluginDependency - 165.IBPluginDependency - 166.IBPluginDependency - 167.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 171.IBShouldRemoveOnLegacySave - 172.IBPluginDependency - 172.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{58, 823}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 173 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/tr.lproj/Sparkle.strings b/tr.lproj/Sparkle.strings deleted file mode 100644 index cabc2116..00000000 Binary files a/tr.lproj/Sparkle.strings and /dev/null differ diff --git a/uk.lproj/SUAutomaticUpdateAlert.strings b/uk.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 482c9ecf..00000000 Binary files a/uk.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/uk.lproj/SUAutomaticUpdateAlert.xib b/uk.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index abca47c3..00000000 --- a/uk.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,687 +0,0 @@ - - - - 1050 - 11D46 - 2177 - 1138.32 - 568.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2177 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {743, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {621, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {621, 31}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{491, 12}, {248, 32}} - - - YES - - 67239424 - 134217728 - Встановити та перезавантажити - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{289, 12}, {200, 32}} - - - - YES - - 67239424 - 134217728 - Встановити при закритті - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {158, 32}} - - - - YES - - 67239424 - 134217728 - Не встановлювати - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - - YES - - 67239424 - 131072 - Автоматично завантажувати та встановлювати оновлення у майбутньому - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {743, 152} - - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 15.IBPluginDependency - 16.IBPluginDependency - 17.IBPluginDependency - 18.IBPluginDependency - 30.IBPluginDependency - 38.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/uk.lproj/SUStatus.strings b/uk.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/uk.lproj/SUStatus.strings and /dev/null differ diff --git a/uk.lproj/SUUpdateAlert.strings b/uk.lproj/SUUpdateAlert.strings deleted file mode 100644 index 580048f3..00000000 Binary files a/uk.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/uk.lproj/SUUpdateAlert.xib b/uk.lproj/SUUpdateAlert.xib deleted file mode 100644 index 4a9f56be..00000000 --- a/uk.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1045 +0,0 @@ - - - - 1050 - 11D46 - 2177 - 1138.32 - 568.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 2177 - 1117 - - - - YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView - NSBox - NSImageCell - WebView - NSCustomObject - NSView - NSWindowTemplate - NSTextField - NSUserDefaultsController - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {612, 369}} - -260571136 - Оновлення програмного забезпечення - NSWindow - - View - - - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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, 290}, {64, 64}} - - - - YES - - 130560 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 0 - 0 - NO - - YES - - - - 266 - {{106, 337}, {489, 17}} - - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 276}, {452, 17}} - - - - YES - - 67239424 - 272629760 - Примітки про нову версію: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{261, 12}, {154, 32}} - - - - YES - - 67239424 - 134217728 - Нагадати пізніше - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{65, 12}, {188, 32}} - - - - YES - - 67239424 - 134217728 - Пропустити цю версію - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{415, 12}, {187, 32}} - - - YES - - -2080244224 - 134217728 - Встановити оновлення - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {482, 198}} - - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {480, 196}} - - - - - - {{110, 76}, {482, 198}} - - - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 301}, {489, 28}} - - - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {488, 18}} - - - - YES - - 67239424 - 131072 - Автоматично завантажувати та встановлювати оновлення у майбутньому - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {612, 369} - - - - - {{0, 0}, {1440, 878}} - {575, 392} - {10000000000000, 10000000000000} - - YES - - - YES - - - - - YES - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - window - - - - 69 - - - - installUpdate: - - - - 77 - - - - description - - - - 105 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 10.IBPluginDependency - 101.IBPluginDependency - 117.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 22.IBPluginDependency - 23.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 7.IBPluginDependency - 76.IBPluginDependency - 89.IBPluginDependency - 93.IBPluginDependency - - - 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 - 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 - {{643, 222}, {575, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 178 - - - - YES - - 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 - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - NSTextField - NSButton - NSButton - WebView - NSButton - - - - YES - - YES - description - installButton - laterButton - releaseNotesView - skipButton - - - YES - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - - - IBProjectSource - ./Classes/SUUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/uk.lproj/SUUpdatePermissionPrompt.strings b/uk.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100755 index 6076fcdb..00000000 Binary files a/uk.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/uk.lproj/SUUpdatePermissionPrompt.xib b/uk.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index a44b63d1..00000000 --- a/uk.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1182 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {542, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{325, 12}, {199, 32}} - - - 1 - YES - - -2080374784 - 134217728 - Перевіряти автоматично - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{186, 12}, {140, 32}} - - - YES - - 67108864 - 134217728 - Не перервіряти - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {421, 34}} - - - YES - - 67108864 - 272629760 - Виконувати автоматичну перевірку оновлень? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {419, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - Автоматично надсилати профіль системи - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {542, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - 0JLQuNC60L7RgNC40YHRgtCw0L3QvdGPINCw0L3QvtC90ZbQvNC90L7Qs9C+INC/0YDQvtGE0ZbQu9GO -INGB0LjRgdGC0LXQvNC4INC00L7Qv9C+0LzQsNCz0LDRlCDQvdCw0Lwg0YMg0L/Qu9Cw0L3Rg9Cy0LDQ -vdC90Y8g0LzQsNC50LHRg9GC0L3RjNC+0Zcg0YDQvtC30YDQvtCx0LrQuC4g0K/QutGJ0L4g0YMg0LLQ -sNGBINCy0LjQvdC40LrQu9C4INC/0LjRgtCw0L3QvdGPINGJ0L7QtNC+INGG0YzQvtCz0L4sINC30LLQ -tdGA0YLQsNC50YLQtdGB0Ywg0LTQviDQvdCw0YEuCgrQhtC90YTQvtGA0LzQsNGG0ZbRjywg0YnQviDQ -sdGD0LTQtSDQvdCw0LTRltGB0LvQsNC90L46A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/zh_CN.lproj/SUAutomaticUpdateAlert.strings b/zh_CN.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 0b788cb9..00000000 Binary files a/zh_CN.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/zh_CN.lproj/SUAutomaticUpdateAlert.xib b/zh_CN.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index 03997362..00000000 --- a/zh_CN.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,705 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {570, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {449, 17}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 270 - {{105, 81}, {452, 31}} - - - YES - - 67239424 - 272629760 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 257 - {{425, 12}, {131, 32}} - - - YES - - 67239424 - 134217728 - 安装并重新启动 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{320, 12}, {105, 32}} - - - YES - - 67239424 - 134217728 - 結束時安裝 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {92, 32}} - - - YES - - 67239424 - 134217728 - 不要安裝 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {619, 18}} - - - YES - - 67239424 - 131072 - 以后自动下载和安装更新 - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {570, 152} - - - - {{0, 0}, {1440, 878}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 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 - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - - YES - - SUAutomaticUpdateAlert - SUWindowController - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - id - id - id - - - - YES - - YES - doNotInstall: - installLater: - installNow: - - - YES - - doNotInstall: - id - - - installLater: - id - - - installNow: - id - - - - - IBProjectSource - ./Classes/SUAutomaticUpdateAlert.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/zh_CN.lproj/SUStatus.strings b/zh_CN.lproj/SUStatus.strings deleted file mode 100644 index 04199519..00000000 Binary files a/zh_CN.lproj/SUStatus.strings and /dev/null differ diff --git a/zh_CN.lproj/SUUpdateAlert.strings b/zh_CN.lproj/SUUpdateAlert.strings deleted file mode 100644 index 2f249bb1..00000000 Binary files a/zh_CN.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/zh_CN.lproj/SUUpdateAlert.xib b/zh_CN.lproj/SUUpdateAlert.xib deleted file mode 100644 index 90057f7f..00000000 --- a/zh_CN.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1915 +0,0 @@ - - - - 1050 - 10J567 - 823 - 1038.35 - 462.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 823 - 823 - - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{248, 468}, {575, 370}} - -260571136 - 软件更新 - NSWindow - - View - - {1.79769e+308, 1.79769e+308} - {575, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 266 - {{106, 338}, {452, 17}} - - YES - - 67239424 - 272629760 - - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {452, 14}} - - YES - - 67239424 - 272629760 - 更新信息: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{280, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - 稍候再提示我 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {165, 32}} - - YES - - 67239424 - 134217728 - 跳过这个版本 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{426, 12}, {135, 32}} - - YES - - -2080244224 - 134217728 - 安装更新 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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 - - - {{-2, -1}, {445, 199}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {443, 197}} - - - - {{110, 76}, {445, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {452, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 290 - {{106, 50}, {451, 18}} - - YES - - 67239424 - 131072 - 以后自动下载和安装更新 - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - {575, 370} - - {{0, 0}, {1920, 1178}} - {575, 392} - {1.79769e+308, 1.79769e+308} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - laterButton - - - - 177 - - - - skipButton - - - - 178 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -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 - 173.IBPluginDependency - 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.WebKitIBPlugin - - 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 - - - - 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 - - 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 - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - laterButton - NSButton - - - releaseNotesView - WebView - - - skipButton - NSButton - - - versionDisplayer - id - - - - - - - - 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 - - - - 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 - - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - 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 - - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/zh_CN.lproj/SUUpdatePermissionPrompt.strings b/zh_CN.lproj/SUUpdatePermissionPrompt.strings deleted file mode 100644 index 8176fbb5..00000000 Binary files a/zh_CN.lproj/SUUpdatePermissionPrompt.strings and /dev/null differ diff --git a/zh_CN.lproj/SUUpdatePermissionPrompt.xib b/zh_CN.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index b4d80812..00000000 --- a/zh_CN.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1179 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {438, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{332, 12}, {92, 32}} - - - 1 - YES - - -2080374784 - 134217728 - 自动核查 - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{253, 12}, {79, 32}} - - - YES - - 67108864 - 134217728 - 不核查 - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - 自动核查更新? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {315, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - 包括无记名系统概况 - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {438, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5OQA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - Text Cell - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047620000000003 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - 5peg6K6w5ZCN57O757uf5qaC5Ya15L+h5oGv6KKr55So5LqO5biu5Yqp5oiR5Lus5a6J5o6S5bCG5p2l -55qE5byA5Y+R5bel5L2c44CC5aaC5p6c5a+55q2k5a2Y5Zyo55aR6Zeu6K+36IGU57O75oiR5Lus44CC -Cgrov5nmmK/lsIbopoHooqvlj5HpgIHnmoTkv6Hmga/vvJo6A - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/zh_CN.lproj/Sparkle.strings b/zh_CN.lproj/Sparkle.strings deleted file mode 100644 index b741758f..00000000 Binary files a/zh_CN.lproj/Sparkle.strings and /dev/null differ diff --git a/zh_TW.lproj/SUAutomaticUpdateAlert.strings b/zh_TW.lproj/SUAutomaticUpdateAlert.strings deleted file mode 100644 index 5e19dde2..00000000 Binary files a/zh_TW.lproj/SUAutomaticUpdateAlert.strings and /dev/null differ diff --git a/zh_TW.lproj/SUAutomaticUpdateAlert.xib b/zh_TW.lproj/SUAutomaticUpdateAlert.xib deleted file mode 100644 index ad515bbf..00000000 --- a/zh_TW.lproj/SUAutomaticUpdateAlert.xib +++ /dev/null @@ -1,621 +0,0 @@ - - - - 1050 - 11A453 - 1553 - 1120 - 556.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1553 - - - YES - NSTextField - NSView - NSWindowTemplate - NSUserDefaultsController - NSTextFieldCell - NSImageCell - NSButtonCell - NSImageView - NSButton - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - - - YES - - SUAutomaticUpdateAlert - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{114, 521}, {559, 152}} - 1886912512 - - - NSWindow - - - View - - - {511, 152} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - - - - 270 - {{105, 120}, {437, 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 - {{414, 12}, {131, 32}} - - YES - - 67239424 - 134217728 - 安裝與重新啟動 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 257 - {{309, 12}, {105, 32}} - - YES - - 67239424 - 134217728 - 結束時安裝 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 256 - {{102, 12}, {92, 32}} - - YES - - 67239424 - 134217728 - 不要安裝 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 256 - {{105, 58}, {382, 18}} - - YES - - 67239424 - 131072 - 自動下載並安裝未來的更新項目 - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {559, 152} - - - {{0, 0}, {1280, 778}} - {511, 174} - {10000000000000, 10000000000000} - YES - - - YES - - - - - YES - - - 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 - - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Window - - - 6 - - - YES - - - - - - - - - - - - 7 - - - YES - - - - - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 15 - - - YES - - - - - - 16 - - - YES - - - - - - 17 - - - YES - - - - - - 30 - - - YES - - - - - - 18 - - - Shared Defaults - - - 38 - - - - - 39 - - - - - 40 - - - - - 41 - - - - - 42 - - - - - 43 - - - - - 44 - - - - - - - YES - - YES - -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 - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 5.IBPluginDependency - 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 - 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 - - - - - YES - - - - - - YES - - - - - 44 - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/zh_TW.lproj/SUUpdateAlert.strings b/zh_TW.lproj/SUUpdateAlert.strings deleted file mode 100644 index 0e7ff0c9..00000000 Binary files a/zh_TW.lproj/SUUpdateAlert.strings and /dev/null differ diff --git a/zh_TW.lproj/SUUpdateAlert.xib b/zh_TW.lproj/SUUpdateAlert.xib deleted file mode 100644 index d313a8e3..00000000 --- a/zh_TW.lproj/SUUpdateAlert.xib +++ /dev/null @@ -1,1633 +0,0 @@ - - - - 1050 - 10C540 - 759 - 1038.25 - 458.00 - - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.WebKitIBPlugin - - - YES - 759 - 759 - - - - YES - - - - YES - com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - SUUpdateAlert - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{411, 283}, {586, 370}} - -260571136 - 軟體更新 - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {586, 370} - - - 256 - - YES - - - 268 - - YES - - YES - 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 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - - - - 268 - {{106, 280}, {443, 14}} - - YES - - 67239424 - 272629760 - 更新事項: - - LucidaGrande-Bold - 11 - 3357 - - - - - - - - - 289 - {{299, 12}, {146, 32}} - - YES - - 67239424 - 134217728 - 暫緩提醒 - - LucidaGrande - 13 - 1044 - - - -2038284033 - 1 - - - Gw - 200 - 25 - - - - - 288 - {{103, 12}, {149, 32}} - - YES - - 67239424 - 134217728 - 跳過此版本 - - - -2038284033 - 1 - - - - - - 200 - 25 - - - - - 289 - {{445, 12}, {127, 32}} - - YES - - -2080244224 - 134217728 - 安裝更新項目 - - - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 274 - - YES - - - 256 - - YES - - - 274 - - YES - - YES - 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}} - - - - - - - - YES - - YES - WebKitDefaultFixedFontSize - WebKitDefaultFontSize - WebKitMinimumFontSize - - - YES - - - - - - - NO - YES - - - {{1, 1}, {455, 197}} - - - - {{109, 76}, {457, 199}} - - {0, 0} - - 67239424 - 0 - - - LucidaGrande - 11 - 16 - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 3 - 0 - NO - - - - 266 - {{106, 302}, {463, 28}} - - YES - - 67239424 - 4194304 - - - LucidaGrande - 11 - 3100 - - - - - - - - - 256 - {{106, 49}, {442, 18}} - - YES - - 67239424 - 131072 - 自動下載並安裝未來的更新項目 - - - 1211912703 - 2 - - NSSwitch - - - - 200 - 25 - - - - {586, 370} - - - {{0, 0}, {1440, 878}} - {586, 392} - {3.40282e+38, 3.40282e+38} - - - - YES - - - - - YES - - - value: applicationIcon - - - - - - value: applicationIcon - value - applicationIcon - 2 - - - 9 - - - - value: titleText - - - - - - value: titleText - value - titleText - 2 - - - 11 - - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 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 - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 161 - - - - hidden: showsReleaseNotes - - - - - - hidden: showsReleaseNotes - hidden - showsReleaseNotes - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 164 - - - - installButton - - - - 176 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Update Alert (release notes) - - - 6 - - - YES - - - - - - - - - - - - - - 7 - - - YES - - - - - - 10 - - - YES - - - - - - 17 - - - YES - - - - - - 22 - - - YES - - - - - - 23 - - - YES - - - - - - 76 - - - YES - - - - - - 89 - - - YES - - - - - - 101 - - - YES - - - - - - 117 - - - YES - - - - - - 93 - - - Shared Defaults - - - 168 - - - - - 169 - - - - - 170 - - - - - 171 - - - - - 172 - - - - - 173 - - - - - 174 - - - - - 175 - - - - - 18 - - - - - - - YES - - YES - -3.IBPluginDependency - -3.ImportedFromIB2 - 10.IBPluginDependency - 10.ImportedFromIB2 - 101.IBPluginDependency - 101.ImportedFromIB2 - 117.IBPluginDependency - 117.ImportedFromIB2 - 168.IBPluginDependency - 169.IBPluginDependency - 17.IBPluginDependency - 17.ImportedFromIB2 - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 18.IBPluginDependency - 18.ImportedFromIB2 - 22.IBPluginDependency - 22.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect - 5.IBPluginDependency - 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 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 - - 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 - - {{294, 153}, {586, 370}} - com.apple.InterfaceBuilder.CocoaPlugin - {{294, 153}, {586, 370}} - - - {586, 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 - - - - 176 - - - - 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 - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - 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 - - - - 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 - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.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 - - - - IBFrameworkSource - WebKit.framework/Headers/WebView.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../Sparkle.xcodeproj - 3 - - NSApplicationIcon - {128, 128} - - - diff --git a/zh_TW.lproj/SUUpdatePermissionPrompt.xib b/zh_TW.lproj/SUUpdatePermissionPrompt.xib deleted file mode 100644 index 807be733..00000000 --- a/zh_TW.lproj/SUUpdatePermissionPrompt.xib +++ /dev/null @@ -1,1175 +0,0 @@ - - - - 1050 - 12B19 - 2549 - 1187 - 624.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 2549 - - - YES - NSArrayController - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSImageCell - NSImageView - NSScrollView - NSScroller - NSTableColumn - NSTableView - NSTextField - NSTextFieldCell - NSUserDefaultsController - NSView - NSWindowTemplate - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - SUUpdatePermissionPrompt - - - FirstResponder - - - NSApplication - - - 1 - 2 - {{83, 492}, {400, 168}} - 1886912512 - - - NSWindow - - - View - - - {213, 107} - - - 256 - - YES - - - 257 - {{294, 12}, {92, 32}} - - - 1 - YES - - -2080374784 - 134217728 - 自動檢查 - - LucidaGrande - 13 - 1044 - - - 1 - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 257 - {{202, 12}, {92, 32}} - - - YES - - 67108864 - 134217728 - 不要檢查 - - - -2038284288 - 1 - - - Gw - 200 - 25 - - NO - - - - 264 - {{104, 114}, {289, 34}} - - - YES - - 67108864 - 272629760 - 自動檢查更新項目? - - LucidaGrande-Bold - 13 - 2072 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - - - - 266 - {{104, 81}, {277, 42}} - - - YES - - 67108864 - 272629760 - DO NOT LOCALIZE - - LucidaGrande - 11 - 3100 - - - - - - NO - - - - 264 - {{104, 53}, {278, 18}} - - - YES - - -2080374784 - 163840 - 包含匿名的系統描述資料 - - - 1211912448 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - NO - - - - 264 - - YES - - YES - 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 - - 134217728 - 33554432 - - NSImage - NSApplicationIcon - - 0 - 1 - 0 - YES - - NO - YES - - - - 268 - {{80, 50}, {27, 26}} - - - YES - - 67108864 - 134250496 - - - - -1194573824 - 133 - - - 200 - 25 - - NO - - - {400, 168} - - - - {{0, 0}, {2560, 1418}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - - YES - visibleKey - visibleValue - displayValue - displayKey - - - YES - YES - - - - 266 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {353, 113} - - YES - NO - YES - - - 256 - {{346, 0}, {12, 17}} - - - YES - - 128 - 40 - 1000 - - 75497536 - 2048 - - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 69206017 - 131072 - - - - 6 - System - textBackgroundColor - - 3 - MQA - - - - - 3 - YES - - - - 219 - 40 - 1000 - - 75497536 - 2048 - - - - - - - 69206017 - 131072 - - - - - - 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}} - - NO - 256 - - _doScroller: - 0.78125 - - - - -2147483392 - {{-100, -100}, {345, 11}} - - NO - 257 - - _doScroller: - 0.99047619104385376 - - - {{4, 5}, {355, 115}} - - - 133650 - - - - AAAAAAAAAABBgAAAQYAAAA - 0.25 - 4 - 1 - - - - 266 - {{1, 128}, {358, 70}} - - YES - - 67108864 - 272629760 - 5Yy/5ZCN57O757Wx5o+P6L+w6LOH6KiK5Y+v55So5L6G5Y2U5Yqp5oiR5YCR6KiI55Wr5pyq5L6G55qE -6ZaL55m85bel5L2c44CC6Iul5oKo5pyJ5Lu75L2V55u46Zec5ZWP6aGM77yM6KuL6IiH5oiR5YCR6IGv -57mr44CCCgrku6XkuIvmmK/mnIPlgrPpgIHnmoTos4foqIrvvJo - - - - - - NO - - - {362, 205} - NSView - NSResponder - - - - YES - SUIncludeProfile - SUSendProfileInfo - - YES - - - - - YES - - - window - - - - 126 - - - - moreInfoView - - - - 127 - - - - toggleMoreInfo: - - - - 131 - - - - moreInfoButton - - - - 132 - - - - descriptionTextField - - - - 133 - - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - - - - profileTableView - - - - 186 - - - - 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 - - YES - - YES - NSNullPlaceholder - NSValidatesImmediately - - - YES - - - - - 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 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 5 - - - YES - - - - Profile Info - - - 6 - - - YES - - - - - - - - - - - - 13 - - - YES - - - - - - 14 - - - YES - - - - - - 32 - - - YES - - - - - - 33 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - YES - - - - - - 71 - - - YES - - - - - - 24 - - - Array Controller - - - 39 - - - YES - - - - - MoreInfoView - - - 40 - - - YES - - - - - - - - 41 - - - YES - - - - - - - 42 - - - YES - - - - - - 43 - - - - - 44 - - - YES - - - - - - 45 - - - - - 46 - - - YES - - - - - - 49 - - - User Defaults Controller - - - 176 - - - - - 177 - - - - - 178 - - - - - 179 - - - - - 180 - - - - - 181 - - - - - 182 - - - - - 183 - - - - - 184 - - - - - 185 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 13.IBPluginDependency - 14.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 184.IBShouldRemoveOnLegacySave - 185.IBPluginDependency - 185.IBShouldRemoveOnLegacySave - 24.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 37.IBPluginDependency - 39.IBPluginDependency - 40.IBPluginDependency - 41.IBPluginDependency - 42.IBPluginDependency - 43.IBPluginDependency - 44.IBPluginDependency - 45.IBPluginDependency - 46.IBPluginDependency - 49.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 71.IBPluginDependency - - - 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 - 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 - - - - YES - - - - - - YES - - - - - 186 - - - - YES - - SUUpdatePermissionPrompt - SUWindowController - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - id - id - - - - YES - - YES - finishPrompt: - toggleMoreInfo: - - - YES - - finishPrompt: - id - - - toggleMoreInfo: - id - - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - NSTextField - NSButton - NSView - NSTableView - - - - YES - - YES - descriptionTextField - moreInfoButton - moreInfoView - profileTableView - - - YES - - descriptionTextField - NSTextField - - - moreInfoButton - NSButton - - - moreInfoView - NSView - - - profileTableView - NSTableView - - - - - IBProjectSource - ./Classes/SUUpdatePermissionPrompt.h - - - - SUWindowController - NSWindowController - - IBProjectSource - ./Classes/SUWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSApplicationIcon - NSSwitch - - - YES - {128, 128} - {15, 15} - - - - diff --git a/zh_TW.lproj/Sparkle.strings b/zh_TW.lproj/Sparkle.strings deleted file mode 100644 index ad413893..00000000 Binary files a/zh_TW.lproj/Sparkle.strings and /dev/null differ