* pull/295/head:
Quiet a warning caused by using a non-constant template format string.
Take care not to attempt copying the finish_installation.app unless we have actually succeeded in locating it. In the strange scenario that the finish_installation.app was not present in the Sparkle bundle, the target path was evaluated as being the host app's Application Support folder itself, and Sparkle would proceed to completely wipe out the host's Application Support folder as it tried to copy the non-existent
Conflicts:
SUUIBasedUpdateDriver.m
* origin/quiet-automatic-update:
Allow manual checks when an install on quit update is pending
Allow the delegate to trigger a silent install and relaunch
Support silent relaunches
Increment the sudden termination counter if installing on quit
Set up install on quit for critical automatic updates too
Updating Sparkle.strings for the new, more strongly worded strings that are displayed for a 'critical update'
Prompts the user to update after a week (rather than a day) if he doesn't quit the app.
Adding <sparkle:tags> appcast item element, <sparkle:criticalUpdate /> tag
Fixed a no-autorelease-pool leak.
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.
Conflicts:
SUBasicUpdateDriver.m
en.lproj/Sparkle.strings
finish_installation.m
* blackpixel:
Fixed issue with icon
New icon
Updated icon.
Switched the icon to be representative of the app. We'll want to find a better way of doing this once we have multiple apps pointed at this repo.
fixed a 'content rectangle not entirely onscreen' warning
updated sends system profile to use info.plist if user defaults key isn't present
Support for notifications on some updater events
Fix warnings
fixed the Debug App Store configuration.. it was misnamed and causing a build error.
fixing up the xcode configs to match ours for simpler building
Conflicts:
Sparkle.xcodeproj/project.pbxproj
Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme
th.lproj/Sparkle.strings
* uliwitness:
Revert "Switch off secure updates for now"
Shut up all of Xcode's complaints.
Don't look at error variables if result says success.
Less warnings.
Shut up some warnings & make build with newer Xcode.
Less unsafety with format strings.
Switch off secure updates for now
Quick hack to make this build again. Should probably just move to Sparkle mainline, now that they're halfway current.
Satisfy some overly picky compilers.
Make this build on 10.7. Might break building on earlier OSes.
Removed the pt_PT localization from Uli's branch, since it was largely untranslated, and used the one from master instead.
Fixed layout of localization XIBs
Thanks to Mattt Thompson (@mattt) for tag-team-ing this with me.
With this change, if your app deploys only to 10.6+, then you can
dispense altogether with the DSA signatures on future updates to your
application: just make sure the "to" version satisfies the "from"
version's Apple code signing requirements. Most of you are probably
already doing that, and if you're not, you should be anyway.
Specifically, Sparkle validates the designated requirement of the "from"
version against the "to" version. By default, as of this writing, that
means that the bundle identifiers must be the same, and that the leaf
certificate of the signature is the same. So if you keep code signing
your app with the same cert, Sparkle will Just Work without any
additional DSA signature nonsense for you to deal with.
Traditional Sparkle DSA signatures will still be honored.
This support has only been extended to updates to the main app bundle.
If you're updating some other bundle, you will have to use DSA signatures
to secure your updates in the future.
***IMPORTANT: previously, Sparkle considered an update "safe" if both the
appcast and update were distributed over https. That is nowhere near as
strong a verification measure as code signing or the old-school DSA
signatures, so with this change, support for unsigned, https-distributed
updates has been removed. If you're targeting 10.6+, start code-signing
your apps if you haven't already, and everything will be fine. If you're
targeting earlier OS Xs, you'll need to start adding DSA signatures to
your appcasts. When you link this changed version of Sparkle into your
app, it will warn you on launch if you are not code signed and do not
have a DSA public key specified in your Info.plist.
With this patch, we make good on the description of that box: updates are automatically installed when the app is quit. No user intervention involved whatsoever if they checked that box.
If the user doesn't quit the app for a day after the update is downloaded, we'll show the dialog we've always used for automatically downloaded updates (Install Now / Install on Quit / Skip This Update).
Delta updates code uses libxar, which is only available in 10.5+, and
Sparkle framework fails to load on 10.4 because of it. Instead of having
hard dependency on libxar, Sparkle now links with it weakly and checks
for its availability at runtime. This required bumping Xcode project
compatibility to 3.2 to get weak linking support.
With this change, delta updates are still not supported on 10.4, but
Sparkle runs there again and just ignores the deltas. This should be
good enough given 10.4's age and shrinking user base.
- It contains its own copy of Sparkle.strings and SUUpdateStatus.nib so it can show its progress prettier
- We call TransformProcessType() before our first call to [NSApplication sharedApplication], so we can be launched as a command line tool and get a proper window server connection, and so our progress bars animate.
- We still support the old "relaunch"-style mode of operation, just by not passing the folder to install. This is useful for other relaunch occasions, like setting one's own dock icon flag.
- To do: Make sample app use the new finish_installation.