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
Andy Matuschak
a9662f5bb4
Fixes 243367
...
Sparkle now uses @loader_path for its installation path instead of @executable_path; this should allow Sparkle to get loaded properly by bundles.
2008-06-28 16:33:54 -07:00
Andy Matuschak
3b86dc72c7
Fixes 239512 (for real this time, I hope). Sorry about that!
2008-06-27 23:19:37 -07:00
Andy Matuschak
46f9b4a049
Fixes 242566
...
Sparkle now cleans up all the stuff it makes in /tmp
2008-06-25 22:39:17 -07:00
Andy Matuschak
959ef54b7e
Added a Spanish localization courtesy Ernesto Gomez Cereijo. Thanks!
2008-06-25 22:19:20 -07:00
Andy Matuschak
a68727119e
Made SUUpdater's delegate an IBOutlet.
2008-06-25 21:18:02 -07:00
Dominik
70e09246ee
merged with trunk & updated german localization
2008-06-24 20:10:04 +02:00
Andy Matuschak
f425746f41
Put the default font sizes in the release notes WebView back to their 1.1 values (11/13 for standard/fixed fonts).
2008-06-23 22:52:33 -07:00
Andy Matuschak
ad2c82a73c
Gave the SUUpdateAlert a non-zero minimum size.
2008-06-23 22:51:01 -07:00
Andy Matuschak
d4291d60d4
Fixes 239512
...
NSAutoreleasePool is now drained instead of released.
2008-06-23 22:48:57 -07:00
Andy Matuschak
cd4addbcd7
Fixes 239512
...
SUUpdater no longer retains its delegate.
2008-06-23 22:36:52 -07:00