Commit Graph
2296 Commits
Author SHA1 Message Date
Zorg 69b4b9e81b Fix installer progress app not terminating properly
This is done by canceling apple termination events, and by exit'ing later
2016-07-12 20:43:53 -04:00
Zorg 8563a40cd2 Use XPC for IPC to the installer instead of CFMessagePort
We now use XPC for communication between Sparkle.framework and Autoupdate.
Autoupdate is now ran as a launchd agaent/daemon. (Most of the time, it acts as an agent).

Using XPC can only be done from non-sandboxed processes, so a connection and status service had to be created.

Currently, the GUI progress tool doesn't work properly, but everything else should be behaving like before.
2016-07-12 19:59:24 -04:00
Zorg 80bc8353ed Handle defer installation when resuming updates in sparkle-cli 2016-07-12 19:50:00 -04:00
Zorg 7d1c0aa83b Merge branch 'master' into ui-separation-and-xpc 2016-07-04 23:29:09 -04:00
Zorg 1b5b4972c9 Document -grantAuthorizationPrivilegesWithError: 2016-07-04 21:33:51 -04:00
Zorg ddb4262b7b Rename and document -updateAccessTimeOfItemAtRootURL:error: 2016-07-04 21:25:54 -04:00
Zorg 599c3fb3c1 Add unit test for updating access dates 2016-07-04 21:10:49 -04:00
Zorg b8bb06fb2f Change step # references to section names now 2016-07-04 19:56:23 -04:00
Zorg 63febfd9cd Updating installation docs into sections rather than bulleted points
Also make some other changes with choice of wording
2016-07-04 19:51:40 -04:00
Zorg b4f7a28aa3 Add updater delegate immediate installation handler to installation docs 2016-07-03 20:18:21 -04:00
Zorg 998a349617 Add updater delegate method for installing & relaunching new update 2016-07-03 18:44:11 -04:00
Zorg 9881476008 Update updater delegate documentation 2016-07-03 14:22:22 -04:00
Zorg 340633fd79 Comment more on why launching Autoupdate with LaunchServices is necessary 2016-07-03 11:54:28 -04:00
Zorg a615703883 Suppress const void* to void* warning for context info 2016-07-03 00:42:42 -04:00
Zorg e4d6e268e2 Stage 2 installation seems to be handled fine 2016-07-03 00:24:38 -04:00
Zorg e32d0dbc1a This validation warning note isn't a real concern for now 2016-07-02 23:32:56 -04:00
Zorg ef4af6b4a8 Marking main parameters as unused 2016-07-02 23:31:05 -04:00
Zorg 8de5c5cfa2 Update installation data documentation 2016-07-02 23:30:36 -04:00
Zorg 54408ca1a9 Fix bug where updater ignored 3rd stage installation failures
Only prevalent if the updater lives in a different process than the app being updated
2016-07-02 23:23:57 -04:00
Zorg 4240138818 The installer shells out to authorization 2016-07-02 19:29:53 -04:00
Zorg 39f7915492 Non-guided pkg installers show progress already 2016-07-02 19:28:35 -04:00
Zorg 23a07127d0 Add installation documentation detailing IPC 2016-07-02 19:26:33 -04:00
Zorg 641f3b0d47 Update mdimporter bundles during delta extraction
During delta extraction, these bundles may not be updated appropriately, so we should just be safe and update them ourselves
2016-07-01 21:23:51 -04:00
Zorg a7aad3b16a Use the authorization environment when requesting for auth
This probably went missing accidently when I did a merge
2016-07-01 20:13:39 -04:00
Zorg a6ccd4cfa9 Avoid unguided package installers if we may be running as root 2016-06-30 22:14:19 -04:00
Zorg b982e9460c Handle package installer (non-guided) errors 2016-06-29 00:09:22 -04:00
Zorg a09aa0b33f Package installs should be guided by default. Opt out for non-guided. 2016-06-29 00:09:08 -04:00
Zorg 9acfe7f180 Don't pass allowsAutomaticUpdates to user driver
Let the user driver read from updater settings to know if automatic updates are allowed
2016-06-28 00:28:21 -04:00
Zorg 30f346a967 Fix normal & resumable update handlers for popup titlebar user driver 2016-06-27 23:57:34 -04:00
Zorg 9a528d912a Fix PopUp Titlebar user driver not showing embedded release notes 2016-06-27 23:57:12 -04:00
Zorg c117837785 Add resumable update handler & fix normal update handler in sparkle-cli 2016-06-27 23:29:45 -04:00
Zorg 34ce18c44f Add private function for disabling stderr logging
This is useful for releasing sparkle-cli
2016-06-27 23:15:51 -04:00
Zorg e919c13f55 Always log output to stderr (for now...) 2016-06-27 00:02:37 -04:00
Zorg a3a6e3b3b7 Separate showing downloadable update from resumable update in user driver 2016-06-27 00:00:20 -04:00
Jake Petroules 3f637c9674 Sanity check that the Podspec version matches the Sparkle version. 2016-06-26 15:03:48 -07:00
Zorg 23a3ad4b05 Remove pch files, don't use older __nullable/__nonnull attributes 2016-06-25 10:18:12 -04:00
Kornel 4a4dc3629f Merge pull request #828 from zorgiepoo/fileop-compile-error
Fix SUFileOperationConstants not found in Test App under Release
2016-06-25 11:45:10 +01:00
Zorg dc5298ce54 Make method for finding running appliction to reduce duped code 2016-06-24 23:42:31 -04:00
Zorg c77cd49036 Fix SUFileOperationConstants not found in Test App under Release 2016-06-24 19:55:40 -04:00
Zorg 1aedf2f9ed Remove duplicated Sparkle Cache directory code 2016-06-23 23:31:18 -04:00
Kornel 9d7e4d676d Merge pull request #823 from nivekkagicom/master
update Sparkle framework headers to use modules if modules are available
2016-06-23 17:41:44 +01:00
Kornel 1aa0ee8152 Merge pull request #825 from jerrykrinock/xcode8
Changes for Xcode 8
2016-06-23 17:38:47 +01:00
Kornel Lesiński 9944f2496c Comment 2016-06-23 17:24:16 +01:00
Zorg 1392190d47 Make sure SULog delivers messages synchronously 2016-06-21 19:04:01 -04:00
Zorg b1606648cf Use isValidVersion: method in SUHost that already exists 2016-06-20 23:35:17 -04:00
Zorg 4d379f3e0a Add copying SparkleLocalMessagePort to release package script 2016-06-20 00:21:11 -04:00
Zorg da39e841f9 Fix build errors for fileop 2016-06-20 00:17:46 -04:00
Zorg 7e54e94472 Remove build settings I didn't configure
Maybe these happened during a bad merge.
2016-06-20 00:12:00 -04:00
Zorg 6cca0673c5 Change SURemoteMessagePort protocol to SURemoteMessagePortProtocol 2016-06-19 23:52:46 -04:00
Jerry Krinock 33907ec4ed • In SUUpdater.m, use SULocalizedString macro instead of NSLocalizedString.
• In SUOperatingSystem.m, assert instead of test for nil URL.
2016-06-17 22:24:43 -07:00