Commit Graph
2270 Commits
Author SHA1 Message Date
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
Zorg 23a3ad4b05 Remove pch files, don't use older __nullable/__nonnull attributes 2016-06-25 10:18:12 -04:00
Zorg dc5298ce54 Make method for finding running appliction to reduce duped code 2016-06-24 23:42:31 -04:00
Zorg 1aedf2f9ed Remove duplicated Sparkle Cache directory code 2016-06-23 23:31:18 -04: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
Zorg 6a4b96580a Info only updates shouldn't require enclosure length 2016-06-16 23:27:39 -04:00
Zorg a780894d14 Fix appcast unit tests 2016-06-16 23:23:43 -04:00
Zorg af7c7cea2b Merge branch 'master' into ui-separation-and-xpc 2016-06-16 22:46:26 -04:00
Zorg 29d32eaaa0 Disable automatic termination when using SULocalMessagePort 2016-06-16 22:38:11 -04:00
Zorg 061e99995f Add XPC service for local message port
This should work under 10.12 (beta) environment now when sandboxed.
2016-06-15 21:44:24 -04:00
Jake Petroules bb624ffa59 Replace OS X with macOS or more generic terminology. 2016-06-15 13:46:19 -07:00
Jake Petroules 2963f788e1 Fix version number in Doxyfile. 2016-06-15 13:43:40 -07:00
Zorg 911f2150f9 Don't think update driver should be interruptible anymore 2016-06-11 23:52:05 -04:00
Zorg adba3bd945 Don't allow SUUpdater to be kept alive by cycle resets 2016-06-11 23:31:24 -04:00
Zorg 71b91734e5 Merge branch 'master' into ui-separation-and-xpc 2016-06-11 21:07:57 -04:00
Kornel 9017962ab9 Merge pull request #818 from zorgiepoo/auth-wait-fileop
Improve Authorization Usage (Take 2)
2016-06-11 00:24:22 +01:00
Zorg dd0805c05b No need to log the underlying error
This is already logged when logging the main error
2016-06-10 16:13:18 -04:00
Zorg e4c3c29a85 Fix SUFileOperationConstants link errors in BinaryDelta 2016-06-09 07:59:46 -04:00
Zorg f70c7429ba Merge branch 'auth-wait-fileop' into ui-separation-and-xpc 2016-06-08 23:44:05 -04:00
Zorg be1e86174a Wait for the appropriate process when authorizing file operations
This changes the way we authorize & execute commands, and how we wait for their completion. In order to obtain the correct child to wait (instead of another one terminating intermediately), we use a wrapper tool (fileop) to output its pid onto the communication pipe that we read from the other end.
2016-06-08 21:49:58 -04:00
Zorg 207390a2c1 Retrieve child pid by using fcntl() 2016-06-06 23:11:38 -04:00
Zorg 86d5d49111 Comment why AuthorizationExecuteWithPrivileges() is still being used 2016-06-04 18:02:21 -04:00
Zorg b2cb1bd531 Wait for all children processes to stop
This fixes installation failing when we check for the wrong child and don't let the installer finish. However, this code now ignores the status from the child. I might see if there's a better way around fixing that..
2016-06-04 17:38:21 -04:00
Zorg f36397e89c Handle EINTR for wait() and don't store / back up ECHILD handler 2016-06-04 13:31:57 -04:00
Zorg 623f535883 We can do guided installation silently if we're root 2016-06-03 23:16:21 -04:00
Zorg 070686b488 Use NS_ASSUME_NONNULL macros 2016-05-29 20:21:14 -04:00
Zorg 4482e2b736 Fix unsigned cast warning 2016-05-29 20:20:42 -04:00
Zorg c80ddf99f8 Declare constants for SUAppcastItem.m 2016-05-29 17:42:34 -04:00