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
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
Jerry Krinock
7892e41b27
Fix for warning in in SUAppcast.m now tests for nil instead of using setValue:forKey:
2016-06-17 20:23:32 -07:00
Jerry Krinock
53983d9452
The following changes were made to clear warnings from static analyzer in Xcode 8:
...
• In ConfigCommon.xcconfig, removed references to CLANG_WARN_OBJC_RECEIVER_WEAK and -Wno-receiver-is-weak, because apparently these had been deprecated and are now no longer recognized.
• In SUAppcast.m, changed to method which can accept nil.
• In SUOperatingSystem.h, added a check for nil which probably never happens.
• In SUUpdateAlert.m, swapped receiver with parameter in -isEqualToString, 3 places, so that nonnull parameter could never be nil.
• In SUUpdater.m, added NSLocalizedString() wrappers around 8 recently-added (in the last few years, I think) user-facing warning strings.
2016-06-17 14:42:44 -07: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
B. Kevin Hardman
f3a151d473
update Sparkle framework headers to use modules if modules are available
2016-06-16 12:16:31 -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