Kornel
b48bc4dcac
Merge pull request #1165 from Deadpikle/feature/spudownloader
...
[WIP] Port SPUDownloader to 1.x w/NSURLSession & NSURLDownload
2017-12-29 17:47:45 +00:00
Deadpikle
bb6203f40a
Fix typo in expectation description
2017-12-28 22:41:22 -05:00
Deadpikle
25204a66e0
Finish tests for persistent download
2017-12-28 22:35:27 -05:00
Deadpikle
c886947f55
Set NSOperationQueue op count to 1
2017-12-28 22:34:43 -05:00
Deadpikle
f0460033ba
Remove commented out code
2017-12-28 21:58:42 -05:00
Deadpikle
1a71456ed9
Slight refactor of temp download test
2017-12-28 21:50:46 -05:00
Deadpikle
e7cdbfc45e
Add tests for temp SPUDownloader dl
2017-12-28 21:40:31 -05:00
Deadpikle
8b5c8b5cdf
Fix SUAppcast tests
2017-12-28 15:52:47 -05:00
Deadpikle
a7af48f0d1
Refactor cache clearing & errors to super
2017-12-24 09:38:04 -05:00
Deadpikle
03e28780d9
Fix AppKitPrevention not being included
2017-12-21 09:35:06 -05:00
Deadpikle
5b1c76db26
Fix a few header comments
2017-12-20 13:22:47 -05:00
Deadpikle
703e611eb5
Remove a bunch of warnings
2017-12-20 13:01:44 -05:00
Deadpikle
6ee88124ad
SUAppcast now uses SPUDownloader
2017-12-20 12:58:45 -05:00
Deadpikle
1cc5f230a5
Check OS version before creating downloader
2017-12-20 12:40:48 -05:00
Deadpikle
429f950434
Only send back error if non-nil
2017-12-20 12:40:37 -05:00
Deadpikle
7df50ccfd3
Download path should be full path
2017-12-20 12:25:42 -05:00
Deadpikle
9c301bfbf3
Drivers now use SPUDownloader
2017-12-20 12:11:49 -05:00
Deadpikle
8a0474d644
Continue refactor of downloader to two classes
2017-12-20 11:43:13 -05:00
Deadpikle
dc85d63861
Refactor download NSURLSession to a child class
2017-12-20 11:14:02 -05:00
Deadpikle
dc8e8b775a
Remove unnecessary delegate name in header
2017-12-20 11:13:41 -05:00
Deadpikle
ecb608bb40
Bring 2.0 files for SPUDownloader to 1.x
2017-12-20 10:48:51 -05:00
Kornel
ad506261ee
Merge pull request #1162 from ksuther/synthesize-warning
...
Fixed an auto-synthesis warning
2017-12-10 19:14:09 +00:00
Kent Sutherland
1e31d849f5
Fixed an auto-synthesis warning
2017-12-10 13:02:48 -06:00
Kornel
e30d1b9f68
Merge pull request #1161 from ksuther/sign-with-hyphen
...
Run codesign when signing identity is a hyphen
2017-12-08 17:51:27 +00:00
Kent Sutherland
3ec3d6f2af
Run codesign when signing identity is set to "-"
...
This creates an adhoc signature rather than not signing
2017-12-08 11:42:58 -06:00
Kornel
abb6e28a9f
Merge pull request #1160 from ksuther/shell-script-fixes
...
Shell script fixes
2017-12-08 01:09:50 +00:00
Kent Sutherland
f42ceec378
Check for a signing identity of "-" when building Sparkle Test App
2017-12-07 19:07:02 -06:00
Kent Sutherland
4565467287
Shell script fixes (warnings flagged by shellcheck)
...
Don't call codesign in set-agent-signing if the identity is "-"
2017-12-07 17:32:28 -06:00
Kornel
8b47c5db71
Fixed target variable
2017-12-06 17:46:00 +00:00
Kornel
c3e546d7f8
Merge pull request #1154 from 1024jp/updateJapanese
...
Update Japanese localization
2017-11-25 13:50:32 +00:00
1024jp
2477a92b0f
Update Japanese localization
2017-11-25 15:34:15 +09:00
Kornel
7f0bc6a244
Merge pull request #1141 from stefanhp/patch-1
...
Update Sparkle.strings
2017-10-21 22:28:44 +01:00
Stefan Paychère
68f62e5955
Update Sparkle.strings
...
Translation of "Description text for SUUpdateAlert when the update informational with no download."
2017-10-21 20:29:51 +02:00
Kornel
0cb0b2f2c7
Update for newer OpenSSL
2017-10-10 12:26:01 +01:00
Kornel
b590722aad
Merge pull request #1135 from jkbullard/fix-frequent-polling
...
Fix #1061 & #835 : Sparkle clients polling too frequently
2017-10-05 15:43:24 +01:00
Jonathan Bullard
10f831fce8
Move [NSDate date] to be after willChangeValueForKey
...
Per comment by Pornel
2017-10-05 09:36:31 -04:00
Jonathan Bullard
a2ecdd2744
Fix #1061 & #835 : Sparkle clients polling too frequently
...
The SULastCheckTimeKey preference (a/k/a "default"), which is stored
in ~/Library/Preferences/….plist, was used to store the date of the
last update check.
That causes a problem if the storage is read-only (for example, if the
.plist file is “locked” (has the uchg or schg flag set) or if the
SULastCheckTimeKey key "exists in a domain that precedes the
application domain the search list"). The date would never be modified,
and the old date would cause a new update check to be queued at the end
of an update check. If application or bundle was up-to-date, or the
user had chosen to skip the update that was available, this would cause
update checks to happen as often as the computer and network would
allow, many times each second.
The new code uses an instance variable to store the value. The variable
is initially loaded from the “SULastCheckTimeKey” preference, and each
time the variable is modified its new value is stored to that
preference. However, the variable, not the preference, is used when
calculating whether enough time has passed since the last update check
to warrant another check. The variable will always (after the first
update check) have the "correct" value, and update checks will not be
done more frequently than desired.
2017-10-05 08:57:04 -04:00
Kornel
30ab76da03
Merge pull request #1134 from ProsoftEngineering/NSURLSession
...
Replace NSURLDownload with NSURLSession
2017-10-04 20:38:23 +01:00
Brian Bergstrand
a3cc5f8b5d
Replace NSURLDownload with NSURLSessionDownloadTask
2017-10-04 12:52:47 -05:00
Brian Bergstrand
218315ffce
Bump min OS version for NSURLSession requirement
2017-10-04 12:49:35 -05:00
Kornel
ec7f55d173
Handle SecTransformExecute errors
...
Fixes #1129
2017-09-27 18:45:52 +02:00
Kornel
648f8c960d
Merge pull request #1128 from ksuther/ui-separation-and-xpc
...
Merged master into ui-separation-and-xpc
2017-09-19 19:36:10 +01:00
Kent Sutherland
4c27d7bf73
Merge branch 'master' into ui-separation-and-xpc
2017-09-18 22:39:17 -05:00
Kornel
ddfc4089d2
Merge pull request #1126 from ksuther/touchbar-warnings
...
Silence Touch Bar availability warnings on Xcode 9
2017-09-18 23:06:08 +01:00
Kornel
d41c8b3e60
Merge pull request #1127 from ksuther/xcode9-warning
...
Silence Xcode 9 warning
2017-09-18 23:05:31 +01:00
Kent Sutherland
5aea901ab6
Silence Xcode 9 warning
2017-09-18 12:21:57 -05:00
Kent Sutherland
80c34526e8
Silence Touch Bar availability warnings on Xcode 9 by using API_AVAILABLE.
...
Disable gnu-zero-variadic-macro-arguments to prevent warnings from use of API_AVAILABLE.
2017-09-18 12:17:58 -05:00
Kornel
0c3994c571
Merge pull request #1124 from dfuhrmann/xcode-7-macOS-10.11-compatibility
...
Restore Xcode 7 and macOS 10.11 SDK compatibility
2017-09-11 14:19:31 +01:00
David Fuhrmann
fbda90ad64
Sparkle: Convert all xib files to Xcode 7 format
...
Only this format can be opened with Xcode 7. The previously used
Xcode 8 format only opens and compiles with Xcode 8.
2017-09-11 11:24:10 +02:00
David Fuhrmann
40750b6f24
Sparkle: Add 10.11 SDK compatibility for touch bar declarations
...
Those annotations are not available in 10.11 SDK yet.
2017-09-11 11:23:48 +02:00