Andy Matuschak
bb682da743
Prompts the user to update after a week (rather than a day) if he doesn't quit the app.
2011-10-10 22:44:17 -07:00
Andy Matuschak
bf38b0c9fd
Adding <sparkle:tags> appcast item element, <sparkle:criticalUpdate /> tag
...
You would use this like:
<item>
<title>My great update</title>
...
<sparkle:tags>
<sparkle:criticalUpdate />
</sparkle:tags>
</item>
The behavior of this tag presently is: rather than waiting for the user to quit the app (or for some large amount of time to pass), the user will be prompted to install the update (with a stronger message) immediately upon its receipt. This behavior could be improved for the manual update case as well.
We can also use this new mechanism to create special behavior for e.g. paid updates.
2011-10-10 22:40:27 -07:00
Andy Matuschak
e64516c089
Fixed a no-autorelease-pool leak.
2011-10-10 22:40:24 -07:00
Andy Matuschak
b515c15f9b
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.
...
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).
2011-10-04 20:48:28 -07:00
Andy Matuschak
01e8cf90c6
finish_installation doesn't show any UI if it's not relaunching, since those installations were not kicked off by user action.
2011-10-04 20:48:09 -07:00
Andy Matuschak
7152bd0ffa
Merge branch 'master' of github.com:andymatuschak/Sparkle
2011-10-03 22:55:57 -07:00
Andy Matuschak
05861e5340
Merging "ulimerge," which contains a great number of changes and contributions from Uli Kusterer, Elgato, and other contributors.
...
Highlights:
- appcast entries with a "new version" but without a download (paid updates, update notification for users of dropped HW)
- installation now happens in a tool, rather than in the app being replaced
- Sparkle-related logs now separated into a separate file ~/Library/Logs/SparkleUpdateLog.log for easier QA/triage
- tons of small bug fixes
- more details at https://github.com/andymatuschak/Sparkle/pull/18
2011-10-03 22:45:50 -07:00
Andy Matuschak
aa853a0f0f
Increased the time required before finish_installation shows a dock icon from 1.2 seconds to 5 seconds
2011-09-30 09:52:32 -07:00
Andy Matuschak
a47151c638
Moved the finish_installation plist into its Xcode group
2011-09-30 09:52:32 -07:00
Andy Matuschak
06642bba20
Fix to reachability patch in 9cc1905f87 for file:// URLs, which were crashing
2011-09-30 09:42:30 -07:00
Andy Matuschak
f04a460d63
Removing the SDKROOT from ConfigBinaryDelta.xcconfig so it'll use ConfigCommon's (10.6)
2011-09-30 09:29:06 -07:00
Andy Matuschak
7d4ce0daeb
Actually put the archs back; that didn't get caught in the last commit.
2011-09-29 18:32:56 -07:00
Andy Matuschak
a2bcd53eaa
Put the deployment targets and architectures back from 950e3894b35dd8bcfc1d4d692ebc0aafdeda8e44; kept the SDK root.
2011-09-29 18:29:19 -07:00
Andy Matuschak
5a47fb64c3
Merge remote branch 'ksuther/ulimerge' into ulimerge
2011-09-29 10:29:15 -07:00
Andy Matuschak
c96aa2eda8
The finish_installation tool will not relaunch the host app if it's using the "Install on Quit" functionality.
2011-09-28 18:11:43 -07:00
Kent Sutherland
320672c1f9
Disabled skip install on finish_installation so it isn't archived by Xcode 4.
2011-08-15 12:47:27 -04:00
Kent Sutherland
436107f20e
Fixed preprocessor error if DEBUG isn't defined.
2011-08-01 13:14:02 -04:00
Kent Sutherland
950e3894b3
Compile for i386/x86_64 on 10.6 only.
2011-07-25 16:44:32 -04:00
Kent Sutherland
2300f2bcb0
Set the level of the update check status window to NSFloatingWindowLevel if the host application is background-only.
2011-07-25 16:44:32 -04:00
Kent Sutherland
a6d776ca04
Add SUVersionDisplayProtocol to public headers of framework.
2011-07-25 16:44:32 -04:00
Kent Sutherland
76e79d6f92
Set the base configuration of finish_install to the old relaunch configuration.
2011-07-25 16:44:32 -04:00
Kent Sutherland
9cc1905f87
Use SCNetworkReachabilityCreateWithName rather than SCNetworkCheckReachabilityByName, which is deprecated.
2011-07-25 16:44:31 -04:00
Andy Matuschak
f1a353840a
Merge pull request #19 from dmgctrl/pr_gitignore
...
Added gitignore to strip out Xcode cruft.
2011-06-30 19:10:29 -07:00
Jason Allum
0f34252f4a
Added gitignore to strip out Xcode cruft.
2011-06-30 09:17:01 -04:00
Andy Matuschak
000a24c63b
Using /usr/bin/openssl in the signing scripts instead of /usr/bin/env openssl.
...
Fixes bug 793221.
2011-06-13 18:47:17 -07:00
Andy Matuschak
32d4f249d4
Added a new Info.plist key: SUPromptUserOnFirstLaunch. Set this to YES to disable Sparkle's usual behavior of waiting 'till the second launch of an app to prompt for update permission.
...
This is useful for apps which don't, under normal operations, get quit. Like a menu extra.
2011-05-26 18:52:24 -07:00
Andy Matuschak
e71915b4fb
Revert "Removing dead -[SUUpdateAlert showsReleaseNotesText] method"
...
It wasn't so dead after all. Curse you, bindings!
2011-05-10 08:02:33 -07:00
Andy Matuschak
31b9ba8dde
Fixed localization warnings.
2011-05-09 22:57:50 -07:00
Andy Matuschak
83708695af
Added a canonical scheme and got the unit tests going again.
2011-05-09 22:56:09 -07:00
Andy Matuschak
bb363db7f8
Fixed some project warnings.
2011-05-09 22:40:38 -07:00
Andy Matuschak
ba6c3b6854
Cleaned up SUUpdater.h
2011-05-09 22:32:45 -07:00
Andy Matuschak
200da2b1be
Removing BuildSparkleFinishInstallTool.command -- I don't think it belongs in master.
2011-05-09 22:25:19 -07:00
Andy Matuschak
db652744ef
Removing dead -[SUUpdateAlert showsReleaseNotesText] method
2011-05-09 22:22:58 -07:00
Andy Matuschak
9f3d4fb524
Nuking ThreadSafePreferences
2011-05-09 22:22:12 -07:00
Andy Matuschak
86b6502342
Fixing a merge error which put finish_installation in /tmp rather than in ~/Library/App Support
2011-05-09 22:18:17 -07:00
Andy Matuschak
fa671073fa
Changing download destination from ~/Desktop to ~/Library/App Support/HOST_NAME
2011-05-09 22:08:09 -07:00
Andy Matuschak
4f1e5a72a0
Added back master's Turkish localization
2011-05-09 21:39:28 -07:00
Andy Matuschak
bca574119b
Removed the pt_PT localization from Uli's branch, since it was largely untranslated, and used the one from master instead.
2011-05-09 21:36:46 -07:00
Andy Matuschak
acb8f5f076
Fixed layout of localization XIBs
2011-05-09 21:07:51 -07:00
Uli Kusterer
16ff5c6683
Added Sparkle icon to finish_installation application.
2011-05-03 11:30:10 +02:00
Uli Kusterer
67d53c04b7
Get rid of deprecation warnings on 10.6/Xcode 4 while still allowing to build for 10.4 compatibility (I hear Patrick needs that).
2011-05-03 11:05:37 +02:00
Uli Kusterer
910f78b569
Add strings file to the finish_installation tool. Apparently also remove a leftover NIB, though I don't remember actually doing that.
2011-05-02 17:40:52 +02:00
Uli Kusterer
fdaf26e95d
Added two new Mac Pro models.
2011-05-02 17:30:07 +02:00
Uli Kusterer
a8854375f5
Manually merge project file (recreating the finish_installation application target) and make things build and run again.
2011-05-02 17:29:53 +02:00
Uli Kusterer
9937e5a17b
Merge andymatuschak/Sparkle.
2011-05-02 15:52:15 +02:00
Uli Kusterer
67b0860a9f
Add a dummy line to make sure that the binary is linked against WebKit when Sparkle is used. The SUUpdateAlert.xib file contains a WebView and if we don't link against WebKit, we will get a runtime crash when decoding the NIB. It is better to get a link error.
2011-05-02 12:48:43 +02:00
Uli Kusterer
5b90432f7e
Make sure the update alert is *really* not resizable.
2011-05-02 12:46:52 +02:00
Uli Kusterer
7cd8974b7e
Make Sparkle more robust when the permissions of ~/Library/Application Support/EyeTV are screwed up. We now authenticate if needed, when we copy the finish_installation tool.
2011-05-02 12:46:37 +02:00
Uli Kusterer
9c042a5767
The buttons in the update alert now auto-resize. Since we change the button width when we show "Learn More..." for no-download updates (e.g. paid updates or updates that may no longer run on the user's Mac), this simplifies localization a lot.
...
The requisite NIB changes have been checked in previously with the newest localizations.
2011-05-02 12:42:13 +02:00
Uli Kusterer
3db00fa137
All XIBs, all the time.
2011-05-02 12:31:21 +02:00