Zorg
80bc8353ed
Handle defer installation when resuming updates in sparkle-cli
2016-07-12 19:50:00 -04:00
Kornel
092feba9f9
Merge pull request #836 from zorgiepoo/remove-reachability
...
Don't use reachability as a preflight check
2016-07-08 10:27:13 +01:00
Zorg
91c813b6ab
Don't use reachability as a preflight check
...
This removes the reachability code that we have for background scheduled updates.
Apple (and others) don't recommend using reachability to test if a network connection is online.
See:
http://stackoverflow.com/questions/7178330/what-is-the-advantage-of-using-reachability
https://www.mikeash.com/pyblog/friday-qa-2013-06-14-reachability.html (just the comments)
Apple 2012/2011 WWDC videos on networking
Also, our current reachability code is rather illogical:
* reachabilityResult is always NO
* isNetworkReachable is always YES
* flags is ignored
* horrible use of dispatch_sync & putFeedURLIntoDictionary is terrifying
* NSException handling shouldn't be done
Removing this code which wasn't even coded properly, and which would still be misusing the reachability API anyway, also leads to removing some multithreading races and simpler logic :)
2016-07-06 22:38:49 -04:00
Kornel
1ced9c428a
Merge pull request #834 from zorgiepoo/dsa-key-comment
...
DSA security check comment
2016-07-05 14:44:11 +01:00
Zorg
16de00d81d
If the old & new DSA keys are the same, then DSA validation must pass for security
2016-07-04 23:43:05 -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
6437e0448a
Warn a developer if they're using a debug version of Sparkle
...
Due to different values for min/default update check intervals, production apps should not use a debug version of Sparkle
2016-06-24 20:13:17 -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