Brittany Tarvin
613b759077
Fixed issues that led to crashes on Mac OS X 10.7 Lion.
...
These fixes remove the use of the File Manager API that was causing crashes on Lion. This should resolve issue #827357 . We are now using NSFileManager instead of the older File Manager API, but only on 10.6 and later. These changes should work for those targeting 10.4, but will allow users running 10.7 to still update without crashing.
2011-10-17 14:30:00 -05:00
Andy Matuschak
fc725cce01
Background updates would never get scheduled when the net's down.
2011-10-10 10:29:52 -07:00
Andy Matuschak
95398cd26f
Fixed a no-autorelease-pool leak.
2011-10-10 09:28:56 -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
Uli Kusterer
f6710e2379
Sparkle now warns the delegate before and after it brings up a modal panel. One can e.g. use this to unfloat floating windows that would otherwise cover the alerts.
2011-05-02 12:29:30 +02:00