Commit Graph
270 Commits
Author SHA1 Message Date
Andy Matuschak b14aa16a23 Merging in Swedish localization courtesy Daniel Bergman. Thanks! 2008-07-16 20:17:04 -07:00
Andy Matuschak 720269b118 Fixes 248581
Now putting the license in the resources folder of the built Sparkle.framework.
2008-07-15 21:53:13 -07:00
Andy Matuschak c9bd13213b Fixes 246469
This should fix the DSA-signing-on-tar-gzs issue. Sparkle now doesn't let NSURLDownload extract .gzips for us, which was making the data being verified different from the data being signed.
2008-07-15 21:36:48 -07:00
Andy Matuschak 5fdddaeede Slight project-y tweaks: now only building the host arch for development. 2008-07-15 21:00:07 -07:00
Andy Matuschak 8570539aab Hopefully finally fixing 245744; it wasn't fixed by the previous revision that claimed it was. There was a tricksy subclassing nuance that eluded me. 2008-07-15 20:57:57 -07:00
Andy Matuschak f4c6738793 Added a comment to strings appearing in the status window noting that since the status window nib is unlocalized, localizers should be careful not to make their strings too long.
Changed a French status string to fit in the status window.
2008-07-09 19:47:58 -07:00
Andy Matuschak e018ee98d3 Added Italian localization courtesy Michele Longhi. Thanks, Michele! 2008-07-09 00:33:33 -07:00
Andy Matuschak 95aabd561b Fixed the old-style em-dash in the French localization; fixed localization handling for B/KB/MB/GB by moving the code in the NSNumber category (which wouldn't work because it couldn't find the Sparkle localization table) to SUUIBasedUpdateDriver. 2008-07-08 22:24:16 -07:00
Andy Matuschak a1b295c2c9 Center the "checking for updates..." window when summoned. 2008-07-08 19:40:26 -07:00
Andy Matuschak bc7aff3f11 If Sparkle can't parse one item, it no longer fails the entire appcast. 2008-07-08 19:39:00 -07:00
Andy Matuschak dc249c1ec5 Fixes 246805
Sparkle no longer calls it a critical failure if it can't read a file on a DMG (like for .Trashes).
2008-07-08 19:37:16 -07:00
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