Bi11
d5f4c312ee
Keep consistent coding style
2017-01-11 23:11:02 +08:00
Kornel
9b3753f5d7
Merge pull request #990 from sparkle-project/bgnet
...
Tell OS when networking happens without UI
2017-01-11 04:45:24 +00:00
Zorg
5cff3cd543
Change network service type to background where appropriate
2017-01-10 18:42:33 -05:00
Bi11
5dda7462c1
Merge sparkle-project/master into touchbar
2017-01-11 02:20:28 +08:00
Bi11
c059dc8ae8
remove hardcoded array capacity
2017-01-11 02:07:48 +08:00
Bi11
6ca4b05cad
Change touch bar identifier prefix to sparkle bundle identifier
2017-01-11 01:57:16 +08:00
Bi11
d95f420360
Set touch bar default button directly instead of changing its keyEquivalent
2017-01-11 00:44:15 +08:00
Bi11
7ae0e71b02
Fix compile issue with older SDK < 10.12.2
2017-01-11 00:42:03 +08:00
Kornel
548908628f
Merge pull request #991 from zorgiepoo/upgrade-ci
...
Add 10.12 as SDK to run in Makefile and use Xcode 8.2 for Travis
2017-01-10 13:07:39 +00:00
Zorg
d40bdb615a
Add 10.12 as SDK to run in Makefile and use Xcode 8.2 for Travis
2017-01-10 06:40:35 -05:00
Bi11
b16d881808
Fix default button on touch bar
2017-01-10 18:44:48 +08:00
Kornel Lesiński
392cb65716
Tell OS when networking happens without UI
2017-01-10 02:37:00 +00:00
Bi11
6e01dd272f
Use outlets instead of iterating through subviews
2017-01-10 08:34:25 +08:00
Bi11
762d527463
Merge branch 1.17.x into touchbar
2017-01-10 07:43:35 +08:00
Bi11
07599c2ffd
Bind enabled and title for touch bar buttons by default
2017-01-10 07:34:52 +08:00
Bi11
f795802d60
Use NSTouchBarDelegate to avoid subclassing NSTouchBar
2017-01-10 07:22:44 +08:00
Zorg
866fbfe4fd
Remove bullet points in ReadMe that are less relevant now
...
Either they're merged in master now or are in the process of being merged soon.
2017-01-09 00:02:32 -05:00
Zorg
c543edf6f6
Update graph of sparkle image
2017-01-08 23:56:31 -05:00
Zorg
930346d24b
Remove unused header that must have been added from master
2017-01-08 23:54:20 -05:00
Zorg
55b586f4dc
Split resumable updates type into downloadable and info update types
2017-01-08 23:42:25 -05:00
Zorg
4c01a69870
Rename SPUDownloadedUpdate -> SPUResumableUpdate
...
A resumable update isn't necessarily a downloaded update now, due to informational only updates.
2017-01-08 23:12:23 -05:00
Kornel
073ce22015
Merge pull request #988 from zorgiepoo/host-info-dict
...
Re-read SUHost Info dictionary when necessary
2017-01-08 21:38:28 +00:00
Zorg
7ef468e8ea
Use -[SUHost objectForInfoDictionaryKey:] in couple more places
2017-01-08 15:47:44 -05:00
Zorg
fc9b2b38fa
Make SUBundleIcon & SUApplicationInfo take SUHost, not NSBundle
...
When we retrieve the "CFBundleIconFile" key from the Info dictionary, we should rely on SUHost's method of obtaining that value now.
2017-01-08 15:36:30 -05:00
Zorg
604d3f578a
Use -[SUHost objectForInfoDictionaryKey:] in couple more places
2017-01-08 09:23:15 -05:00
Kornel
717921cfa1
Merge pull request #977 from sparkle-project/skipcrit
...
Disable skip button if update is critical
2017-01-08 11:44:09 +00:00
Kornel
e621622c8b
Merge pull request #983 from zorgiepoo/logging
...
Upgrade SULog to use logging APIs that Apple provides built in
2017-01-08 11:43:44 +00:00
Bi11
6902b80ab6
Fix UITests multiple matches issue introduced in touch bar
2017-01-08 15:23:26 +08:00
Bi11
d44a122a21
Add Touch Bar support
2017-01-08 15:17:47 +08:00
Zorg
0b6b6fe4ca
Improve -[SUHost objectForInfoDictionaryKey:]
...
We use the cached host bundle if the host bundle is equal to the main bundle.
Otherwise we read in the latest Info dictionary every time.
The cached case is the most common case. The odd case (updating other bundles) is less common. Thus we have better performance for the common case, and we retain correct code in both cases.
Also we invoke our own implementation of -objectForInfoDictionaryKey: rather than NSBundle's implementation in a few places.
2017-01-07 23:52:56 -05:00
Zorg
005a9a069e
Merge branch 'master' into ui-separation-and-xpc
2017-01-07 23:26:57 -05:00
Zorg
2bb5ce4318
Make SUBundleIcon & SUApplicationInfo take SUHost, not NSBundle
...
When we retrieve the "CFBundleIconFile" key from the Info dictionary, we should rely on SUHost's method of obtaining that value now.
2017-01-07 22:55:13 -05:00
Zorg
b645005689
Improve -[SUHost objectForInfoDictionaryKey:]
...
We use the cached host bundle if the host bundle is equal to the main bundle.
Otherwise we read in the latest Info dictionary every time.
The cached case is the most common case. The odd case (updating other bundles) is less common. Thus we have better performance for the common case, and we retain correct code in both cases.
2017-01-07 22:32:08 -05:00
Kornel
f43b9f7f02
Merge pull request #982 from sparkle-project/genapp
...
Workaround for bugs in NSXMLDocument prefix handling
2017-01-07 22:07:56 +00:00
Kornel Lesiński
eafbb2cfad
Copy debug symbols for generate_appcast
2017-01-07 21:57:39 +00:00
Kornel
5c408f5019
Merge pull request #984 from zorgiepoo/appcast-nonnil
...
The SUAppcast * is not going to be nil here; fixes analyzer warning
2017-01-07 17:43:46 +00:00
Zorg
9d35c819fd
The SUAppcast * is not going to be nil here; fixes analyzer warning
2017-01-07 11:26:53 -05:00
Zorg
3b2ea83c6f
Fix latest analyzer warnings
2017-01-07 11:22:13 -05:00
Zorg
874ec099b9
Merge branch 'master' into ui-separation-and-xpc
2017-01-07 11:13:40 -05:00
Zorg
b9d113924e
Upgrade SULog to use logging APIs that Apple provides built in
...
With this change, we ensure distinct per-app, per-process logging.
Note that the global file ~/Library/Logs/SparkleUpdateLog.log is no longer written into.
On 10.12 and above, SULog uses the os_log APIs. You may want to use log(1) to view logs in addition to Console.app. See the WWDC video on the new logging API and how the Console app has changed.
On older systems, this uses ASL (Apple System Log).
We don't want to reinvent logging, or rely on 3rd party libraries, thus we use what the system provides to us.
Two logging levels were added: Default and Error. The code documents their intended purpose. Now when you call SULog you must make a decision which level to use rather than rely on an implicit level.
2017-01-07 11:02:11 -05:00
Zorg
23011345cb
Add SUOperatingSystem.m to generate_appcast since SULog now needs it
2017-01-06 22:29:03 -05:00
Zorg
f04c73445e
Document logging levels
2017-01-06 12:59:01 -05:00
Kornel Lesiński
ee80a66896
Don't try to preserve namespace prefixes, because Apple's serializer is buggy
...
filed as rdar 29901669
2017-01-06 16:29:29 +00:00
Kornel Lesiński
187ae4fe57
Verify that the XML is serialized properly
2017-01-06 16:29:29 +00:00
Kornel Lesiński
ca4d51561e
Silence too-verbose delta
2017-01-06 16:29:29 +00:00
Kornel Lesiński
915c2047bf
Fix accuracy of error message
2017-01-06 16:29:29 +00:00
Kornel
f172cd32a8
Merge pull request #980 from sparkle-project/features
...
Updated README
2017-01-06 10:31:49 +00:00
Zorg
36fd5a8bbd
Add some comments to SULog.h/m
2017-01-05 23:19:28 -05:00
Zorg
31cfbbccd9
Change around SULog.m #include's
2017-01-05 23:15:59 -05:00
Zorg
af0a88dab3
Remove private _SULogDisableStandardErrorStream() function
...
When using ASL, don't log to stderr if a terminal is attached. This behavior closely matches os_log()
2017-01-05 23:09:58 -05:00