Commit Graph
1959 Commits
Author SHA1 Message Date
Andy Matuschak 660228fb0e Fixes 245744
Fixed a bug where the user-initiated updater could abort through abnormal means, making the "checking for updates..." window never able to go away.
2008-07-05 14:08:31 -07:00
Andy Matuschak 57c1f3e067 Bumped version number to 1.5b4. Siiigh... sparkle-1.5b4 2008-07-05 12:32:00 -07:00
Andy Matuschak 6ed9ae4bb9 Fixed 245874
This was indicative of a much greater problem! A missing comma totally broke piped unarchiving, and somehow neither the compiler nor I caught it before the release. 1.5b4, here we come...
2008-07-05 12:23:58 -07:00
Andy Matuschak 752f754bb2 Removed a silly log message. 2008-07-05 11:59:45 -07:00
Andy Matuschak 44a547341d Now reporting 64-bit capability of the host system.
Showing GHz to the user instead of MHz for the clock speed reading.
2008-07-05 11:46:06 -07:00
Andy Matuschak c3f2c693a2 Bumped Sparkle version number in user agent string. sparkle-1.5b3 2008-07-05 11:36:32 -07:00
David Smith 918217f6d2 Detect 64 bit support and a) report that, b) use it to tell Core 2 from Core 2008-07-04 16:22:06 -07:00
Andy Matuschak bbdc432a20 More work on 243533; Sparkle should now work with bzips made by Stuffit. Thanks for the detective work, Peter Hosey! 2008-07-04 11:04:38 -07:00
Andy Matuschak 5ba9562b17 Merged in Dominik Tobschall's German localization. Thanks, Dominik! 2008-07-04 11:02:02 -07:00
Dominik fabfdcd178 merged with trunk 2008-07-04 18:56:22 +02:00
Dominik 33fac1c5af added missing Sparkle.strings 2008-07-04 10:29:08 +02:00
Andy Matuschak d60b87d98e Modified my fix to 244761 (custom version comparators) slightly to make it so that the system version requirement comparison is still performed by SUStandardVersionComparator. I don't think that's something people should be changing the behavior of. 2008-07-03 22:27:12 -07:00
Andy Matuschak c7881dec35 Fixes 244767
Simple fix to a dumb mistake which prevented Sparkle from using the default application icon for bundles which didn't have one.
2008-07-03 22:24:01 -07:00
Andy Matuschak df0178e2de Fixed 243533
This should fix the .tar.bz2 and .tar.gz cases. Basically, Launch Services isn't smart enough to see both parts of the extension. When it sees a .bz2 or a .gz, I assume it's a .tar.bz2 or a .tar.gz, because that's what makes sense. Don't use plain .bz2 or .gzs!
2008-07-03 00:14:06 -07:00
Andy Matuschak aaa60d261d Fixed 244761
Added a delegate method:
- (id <SUVersionComparison>)versionComparatorForHostBundle:(NSBundle *)hb;

Override this to specify a custom SUVersionComparison implementor to be used.
2008-07-02 23:54:05 -07:00
Andy Matuschak 88ab4b6f52 Fixes 244675
Arrrgh, Apple changed the .zip UTI between Tiger and Leopard. Now making the unarchiver recognize a UTI which both conform to.
2008-07-02 23:39:50 -07:00
Andy Matuschak f9d3dbfa61 Fixes 244692:
Sparkle crashes on Tiger due to a double-release in SUUserDefaults.
2008-07-02 23:31:20 -07:00
Andy Matuschak 41d05dd922 Fixes 236450
No longer releasing the SUUpdater delegate on dealloc. That was a silly mistake.
2008-07-02 20:34:05 -07:00
Andy Matuschak 82c2448321 Fixes 244419
Now removing the RSS class and and NSString+extras to be replaced by a much simpler implementation based on NSXMLDocument directly in SUAppcast! But this will probably break things for certain edge-case appcasts, so please file bugs if things no longer work for you.

Thanks to Christiaan Hofman for the patch!
2008-07-02 20:31:18 -07:00
Andy Matuschak a67b546a02 Fixes 244726
Fixed a typo in a respondsToSelector call which caused the shouldPromptForPermissionToCheckForUpdatesToHostBundle: method not to work in 1.5b2.
2008-07-02 20:05:29 -07:00
Dominik 842d318277 updated german localization (nibs) 2008-07-02 00:08:47 +02:00
Andy Matuschak 251706d646 Fixed a serious bug which could cause a server to DDoS'd in the case of appcast parse failure.
Sparkle now sets the "last checked at" time when it makes the appcast request instead of on successful receipt of an appcast.
2008-06-30 23:21:51 -07:00
Andy Matuschak cbaa635a89 Fixed a crash that could occur when an appcast failed to parse due to a double-release. 2008-06-30 23:18:45 -07:00
Andy Matuschak 0a4bc6576a No longer leaking the NSURLDownload of the update archive.
If the update's aborted mid-download through programmatic means, the download will now be canceled.
2008-06-30 22:19:07 -07:00
Andy Matuschak 9a266ca52e Added checkForUpdatesInBackground back to SUUpdater.h 2008-06-30 22:00:47 -07:00
Andy Matuschak 4b6fc55056 Removed unnecessary @synchronized's. 2008-06-30 21:55:15 -07:00
Andy Matuschak c9bdb6ef04 Tiny refactoring 2008-06-30 21:53:15 -07:00
Andy Matuschak bc52c0141a Made SUUpdateDriver use notifications instead of KVO to let SUUpdater know it's done. 2008-06-30 21:47:38 -07:00
Andy Matuschak b2145b6838 Killed NSURL+Parameters and moved the relevant code into SUUpdater. 2008-06-30 21:21:48 -07:00
Andy Matuschak 74337fb65a Fixed 243883:
Removed the last @try/@catch from my code. Thanks to Christiaan Hofman for the patch.
2008-06-30 20:55:29 -07:00
Andy Matuschak 4ffb7ea64a Added a new string to localize for the case of an unreported download size. 2008-06-30 20:48:14 -07:00
Andy Matuschak 3d7e8c6c95 Fixes 244214
Made Sparkle display sensible data and use an indeterminate progress bar when the server doesn't report an update's file size.
2008-06-30 20:45:54 -07:00
Andy Matuschak 50de4d78e5 Corrected a stupid commit of a test string. 2008-06-30 20:44:58 -07:00
Andy Matuschak 9e4b74ff24 Merged in fixes to some Tiger warnings. sparkle-1.5b2 2008-06-30 20:13:43 -07:00
Dominik 14358a8c37 updated german localization 2008-06-30 08:33:35 +02:00
Dominik 9afa5febc2 merged with trunk 2008-06-30 08:23:22 +02:00
Andy Matuschak 68c2e6a055 Let Xcode know about the new localizations we've got for 1.5b2 and removed a bunch of crufty old localizations from the project. 2008-06-29 21:39:24 -07:00
Andy Matuschak e57ec53978 Little configuration change so Sparkle will build for the actual native architecture when compiling in debug. 2008-06-28 23:14:47 -07:00
Andy Matuschak d52c34c433 Sparkle will no longer build for ppc64 by default. You should still be able to target that architecture if you like, though. 2008-06-28 23:14:07 -07:00
Andy Matuschak a33225411a Updated localizations to convert ... into the unicode ellipsis; changed all kB to KB. 2008-06-28 23:05:24 -07:00
Andy Matuschak 07875309ba Bumped user agent string version number to 1.5b2. 2008-06-28 23:04:30 -07:00
Andy Matuschak 7d8ada58e9 Improved delegate names and made SUProbingUpdateDriver use SUUpdater's delegate methods instead of dumbly having its own.
IF YOU ARE IMPLEMENTING ANY DELEGATE METHODS TO A SPARKLE CLASS, CHECK THESE DIFFS AND ENSURE THAT THE SELECTORS YOU'RE IMPLEMENTING HAVEN'T CHANGED. There's a pretty good chance they have. But for good reason, I promise!
2008-06-28 22:28:14 -07:00
Andy Matuschak d77ca73f51 You're not allowed to resize the test app's debug window. Come on. 2008-06-28 22:12:52 -07:00
Andy Matuschak 1c7fb5922c Killed one of the two remaining @try/@catch blocks in my code. I'll get the other for b3. 2008-06-28 22:10:52 -07:00
Andy Matuschak 1345017c7e Added prefixes to category names which didn't have them in order to avoid workspace collisions. 2008-06-28 21:29:45 -07:00
Andy Matuschak a55f11d2ad Fixed 236240
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]. Sadly, there's no way to use NSUserDefaultsController to get to preferences which aren't managed by the host app.
2008-06-28 21:24:06 -07:00
Andy Matuschak 41aeded009 Fixes 236577
SUUpdater.h should be able to be included independently of other headers now.
2008-06-28 18:47:17 -07:00
Andy Matuschak 1d92b825ee Made the test app bind cmd+U to check for updates. 2008-06-28 18:30:19 -07:00
Andy Matuschak c51abb4318 Fixing 241181
Added a cancel button to the "checking for updates..." dialog.
2008-06-28 18:22:05 -07:00
Andy Matuschak 756b32f258 Slightly refactored SUUserInitiatedUpdateDriver. 2008-06-28 17:01:52 -07:00