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
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
ec7f55d173
Handle SecTransformExecute errors
...
Fixes #1129
2017-09-27 18:45:52 +02: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
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
David Fuhrmann
a7ba0bea6e
Sparkle: Add backwards compatibility with 10.11 SDK for logging
...
10.11 SDK does not contain the os_log API yet. Code is modified
in such a way that it compiles with older SDKs, and falls back
to the old implementation even if it runs on 10.12.
2017-09-11 11:22:27 +02:00
Kornel
558cfd2153
Bump
1.18.1
2017-08-14 13:19:03 +01:00
Kornel
94074e2bdc
Merge pull request #1111 from sparkle-project/swift4
...
Update to Xcode 9/Swift 4
2017-08-14 13:02:21 +01:00
Kornel
56065fcf95
Merge pull request #1119 from 1024jp/patch-1
...
Update Xcode version for Travis CI
2017-08-14 12:46:30 +01:00
1024jp
f24189e848
Update Xcode version for Travis CI
2017-08-14 18:05:49 +09:00
Kornel
65b12a2be1
Merge pull request #1116 from fujisoft/patch-3
...
Workaround for timing issue of termination detection.
Not sure if that is correct.
2017-08-11 19:03:05 +01:00
fujisoft
900de556a8
Fix for the timing issue of termination detection.
2017-08-08 11:12:47 +09:00
App Tyrant
7c8ff2b969
Add optional updaterDidRelaunchApplication: method on SUUpdaterDelegate ( #1115 )
...
* Added updaterDidRelaunchApplication: delegate method.
* Removed isUpdaterRelaunching property.
* Revert SUHost.
2017-08-08 00:21:51 +01:00
Kornel
43b4472d3c
Better error message
2017-08-01 15:55:25 +01:00
Kornel
260170f372
Warning
2017-08-01 15:54:52 +01:00
Kornel
ea85fc6442
Update to Xcode 9/Swift 4
2017-07-27 16:42:44 +01:00
Kornel
a52604a264
Revert "Ensure UI code always runs on the main thread"
...
This reverts commit 423ee5a9d6 .
2017-07-20 13:20:20 +01:00
Kornel
39d6c616b0
Merge pull request #1051 from sparkle-project/mainalert
...
Ensure UI code always runs on the main thread
2017-07-16 21:03:20 +01:00
Kornel
043ad0464a
Merge pull request #1098 from Eitot/dutch
...
Update Dutch localization for informal style and changed terminology
2017-06-24 22:19:09 +01:00
Kornel
d99339cf08
Merge pull request #1097 from Eitot/german
...
Update German localization for informal style and changed terminology
2017-06-24 22:11:16 +01:00