Andy Matuschak
1d3ab8d6bb
Alright, guys. No more Mr. Nice Sparklepants. Sparkle now requires either DSA-signed updates or SSL transport. If you want to put your users at risk, you're going to have to comment out some code and recompile.
...
I included some scripts to help you along, though. IANASG (I Am Not a Security Guy), though, so if you know your shit, feel free to do it on your own as before.
2008-09-06 18:59:50 -05:00
Andy Matuschak
e086aa1660
Munged localizations so that unicode characters like em-dashes and ellipses are now in the values of the localization strings, not the keys; putting them in the latter made Sparkle unbuildable on Tiger. Thanks to Stuart Morgan for the patch.
2008-09-06 12:34:03 -05:00
Stuart Morgan
188a15a948
Fix a key in sv.lproj
2008-09-04 20:22:45 -07:00
Andy Matuschak
874660f52e
Added a warning log message for bundles which don't have a CFBundleIdentifier key.
2008-09-04 10:51:46 -05:00
Stuart Morgan
29bd46d68d
Don't use unicode in NSString literals
2008-09-04 07:57:17 -07:00
Andy Matuschak
cb80e0ef51
No longer polluting the standard WebView preferences. Thanks to Christiaan Hofman for the patch.
2008-09-04 09:53:53 -05:00
Andy Matuschak
ccef53a3d3
Fixes 259704
...
Fixed a memory leak in the update permission prompt.
2008-09-04 09:44:35 -05:00
Andy Matuschak
d201803259
More fixes for 258060
...
Fixes a bug which could cause a crash when the update item is chosen by the delegate from the appcast. Thanks, Christiaan Hofman.
2008-09-03 22:34:25 -05:00
Andy Matuschak
74b206dc77
Fixes 259455
...
Fixes release notes stored raw in the <description> key. Thanks to Peter Speck for the patch.
2008-08-19 21:57:23 -07:00
Andy Matuschak
42cda2d2e0
Fixes 259062
...
Added a SUUpdater key for lastUpdateCheckDate. Thanks to Peter Speck for the patch!
2008-08-19 21:44:39 -07:00
Andy Matuschak
c386b704b5
Partial fix for 245277: basic descriptions for some Sparkle classes. Thanks to Christiaan Hofman for the patch.
2008-08-19 21:24:26 -07:00
Andy Matuschak
84be00b29f
Fixes 258991
...
The selector for the updaterWillRelaunchApplication delegate call had a typo in it, so it wasn't getting called. Oof.
2008-08-19 21:13:15 -07:00
Andy Matuschak
d064b589ae
Fixed the total failure of the SUProbingUpdateDriver to notify its delegate when an update is found. Sorry about that, guys! Wow.
2008-08-19 21:09:31 -07:00
Peter Speck
90edd12e43
No update-release notes displayed for when using <description> instead of <sparkle:releaseNotesLink>
2008-08-19 17:50:28 +02:00
Peter Speck
c71bf3ccbe
Provide getter for SULastCheckTimeKey
2008-08-18 15:11:05 +02:00
Andy Matuschak
724b4de07e
Renamed SUAppcastItem's "description" key to "itemDescription" so as not to conflict with the standard Cocoa description method.
2008-08-17 15:23:50 -07:00
Andy Matuschak
444b0a928d
Fixed a stupid mistake that prevented my fix for parameterized URLs from actually functioning.
2008-08-17 14:15:57 -07:00
Andy Matuschak
ec8fcbc02f
If an update's display version is the same as the host's display version, the internal version number will be presented in parentheticals.
2008-08-17 13:51:55 -07:00
Andy Matuschak
68e2cd67d1
Fixes 258492
...
Sparkle can now handle appending parameters to URLs which already have parameters (like http://foo.org/baz?bat=4 )
2008-08-17 13:42:47 -07:00
Andy Matuschak
c21e1aba35
Fixes 258529 and 257967
...
Added backwards compatibility support for Sparkle 1.1's behavior of disabling automatic updates when the check interval was 0.
Sparkle will now properly reset the update cycle when setAutomaticallyChecksForUpdates or setUpdateCheckInterval is called for non-.app bundles.
2008-08-17 13:25:49 -07:00
Andy Matuschak
ec7f38d157
Fixes 258547
...
SUUpdater now implements two new keys: "automaticallyDownloadsUpdates" and "sendsSystemProfile".
Here's the current state of the setting keys, as documented by Christiaan Hofman:
* UserDefaults through SUUpdater accessors with default value in Info.plist:
SUFeedURL
SUScheduledCheckInterval
SUEnableAutomaticChecks
SUSendProfileInfo
SUAutomaticallyUpdate
* Info.plist only (app settings):
SUShowReleaseNotes
SUPublicDSAKey
SUPublicDSAKeyFile
SUExpectsDSASignature
SUEnableSystemProfiling
* UserDefaults only (private persistent state):
SUHasLaunchedBefore
SUSkippedVersion
SULastCheckTime
SULastProfileSubmitDate
This revision also corrects a compilation error from r285.
2008-08-17 13:06:33 -07:00
Andy Matuschak
5b38483981
Fixes 245723
...
Refactoring some code through new simplified "objectForKey" and "boolForKey" methods on SUHost which abstract the behavior of a user defaults preference defaulting to an info.plist setting. Thanks to Christiaan Hofman for the patch.
2008-08-17 12:35:41 -07:00
Andy Matuschak
46312a2d15
Fixes 258060
...
Fixed a couple memory leaks. Thanks to Christiaan Hofman for the patch.
2008-08-17 12:15:01 -07:00
Andy Matuschak
8a240f7c46
Fixes 258708
...
Returning the update alert's web view's default text size to 11. I swear I've done this like twice already!
2008-08-17 11:24:36 -07:00
Maarten Van Coile
17ca061cda
Update Dutch to 1.5b5
2008-08-15 19:30:29 +02:00
Andy Matuschak
4da902b46c
Fixes 251968
...
Sparkle now requires custom feed parameters to include a "displayKey" and "displayVersion" key. These will be displayed to the user in the initial permission dialog so that he knows what he's getting.
sparkle-1.5b5
2008-08-10 23:49:30 -07:00
Andy Matuschak
7b39268171
No longer fragile-ly using class method singletons to get to the updater's delegate from within the update driver. Update drivers now have an initWithUpdater: method which I use instead.
2008-08-10 23:05:18 -07:00
Andy Matuschak
0343569cdc
Fixes 256106
...
Sparkle will no longer break on nil XML nodes; that would occur when a node is commented out. Thanks to Christiaan Hofman for the patch.
2008-08-10 21:31:09 -07:00
Andy Matuschak
32a804e2ea
Sparkle now uses Cocoa for user defaults for .apps and CF for user defaults for non-.apps. I think this is better than having .apps use both code paths.
2008-08-10 21:06:18 -07:00
Andy Matuschak
7ce078eb16
Fixes 356328
...
Sparkle will now clean up the hsot app's name and version before sending it as the user agent string; some non-ASCII characters were causing problems before.
Additionally, Sparkle now uses the bzr revision encoded in the framework's CFBundleVersion as the version it sends for itself in the user agent string; before this value was hardcoded, which was dumb.
2008-08-10 18:23:32 -07:00
Andy Matuschak
f9dda21088
Fixes 255399
...
Giving clients a chance to make multiple preference changes before they take effect.
2008-08-10 17:32:40 -07:00
Andy Matuschak
00c5ae4a42
Changing localized release notes behavior slightly: release note keys which are not tagged with an xml:lang attribute are no longer assumed to be English. So if the user has a foreign language anywhere in their preferred languages list, even if English is higher, release notes keyed to "da" will be picked before release notes not keyed to any language.
2008-08-04 20:58:54 -07:00
Andy Matuschak
d73d8333a1
Changing the behavior of the level of Sparkle's update window for the case of an LSUIElement. In that case, I think it's best for Sparkle to use NSFloatingWindowLevel, so that it's clear why the menu items are disabled (due to modality) when they click the menu icon again, thus focusing the update alert. We'll see how well this works.
2008-08-03 01:15:56 -07:00
Andy Matuschak
9c720fd6b7
Updated Russian localization courtesy Alexander Bykov. Thanks!
2008-08-03 00:40:28 -07:00
Andy Matuschak
7228235ce3
Fixes 253929
...
Fixed a workaround for using registered user defaults on Tiger that I managed to break. Go me!
2008-08-03 00:30:37 -07:00
Andy Matuschak
5684a1477e
Fixes 253967
...
SUDSAVerifier now inherits from NSObject; missed that very important step! Oops!
2008-08-01 22:25:00 -07:00
Andy Matuschak
347dd73269
Fixes 253739
...
When checking to see if an app is an LSUIElement, Sparkle now checks the info dictionary of the main bundle instead of the info dictionary of the host bundle. That didn't work at all for plugins.
2008-08-01 00:12:44 -07:00
Andy Matuschak
a14850458d
Fixes 252986
...
Adds support for xml:lang to pick localized nodes in appcasts (for release notes, etc)
2008-07-31 23:59:12 -07:00
Andy Matuschak
e249e3cfb6
Fixes 253187
...
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.
2008-07-30 23:37:56 -07:00
Andy Matuschak
d1c0978ee5
As discussed in https://bugs.launchpad.net/sparkle/+bug/243884/comments/11 , this patch makes it so that system profiling is only submitted to the server once per week. This will normalize clients' users: those which check daily won't count much more than those which check weekly. Thanks to David Smith for the patch.
2008-07-30 23:14:39 -07:00
David Smith
e3226d3511
A cleaned up and tested version of the one-submit-per-week code
2008-07-30 01:30:11 -07:00
Andy Matuschak
ae7c416f16
Actually added the Russian lprojes
...
Changed the fr_ca localization folder to fr_CA.
2008-07-30 00:40:36 -07:00
Andy Matuschak
1456fa0f75
Updated Russian localization (courtesy Alexander Bykov and Anton Sotkov), though it's still slightly out of date from the most recent string changes
...
Updated French localization (courtesy Ronald Leroux and Yann Ricquebourg)
The fr_ca localization is now linked to the French localization.
2008-07-30 00:36:45 -07:00
Andy Matuschak
d6acd07d5c
Fixes 252733
...
The status window's progress bar now animates even when indeterminate.
2008-07-29 23:58:57 -07:00
Andy Matuschak
d8149e9eb0
Fixes 253145
...
Fixed a stupid typo in the +[SUUpdater updaterForBundle:] method.
2008-07-29 22:54:39 -07:00
Andy Matuschak
d6557e21a0
Turning on SEPARATE_STRIP in hopes of fixing things for older versions of Xcode.
2008-07-29 08:31:37 -07:00
Andy Matuschak
3bccef8d22
Fixes 251963
...
SUAppcastItem now copies the properties dictionary it's given for safety.
2008-07-28 21:55:07 -07:00
Andy Matuschak
a27e8316fe
Made the aggressive stripping only apply to the framework, since some people were having trouble with relaunch with that configuration.
2008-07-28 21:14:13 -07:00
Andy Matuschak
b419948c8d
Forgot to tell the Sparkle-GC configuration about Sparkle.pch.
2008-07-25 08:53:57 -07:00
Andy Matuschak
211555639d
Removed potentially dangerous KVO magic.
2008-07-25 08:46:46 -07:00