Bi11
548ae6e2b6
Change SDK checking macro to match existing code base
2017-01-18 05:34:37 +08:00
Bi11
db7f4acc83
Add forward declaration for Xcode7
2017-01-18 05:06:09 +08:00
Bi11
942d70d3aa
Suppress partial availability warning on line level
2017-01-18 04:53:37 +08:00
Kornel Lesiński
2ccac610f6
Added declaration for Xcode 7
2017-01-17 20:38:22 +00:00
Kornel Lesiński
7a0d402a01
Merge remote-tracking branch 'origin/master' into 1.17.x
...
* origin/master:
Explain why I'm not relying on the compiler to throw linkage errors
Add AppKitPrevention header to reduce redundancy.
Add AppKit prevention guards to modules that shouldn't import it
Add Obj-C generics where applicable
Adds test cases for "sparkle:criticalUpdate" tag. (#999 )
2017-01-17 19:39:48 +00:00
Kornel Lesiński
d070bca0b0
Sort project file
2017-01-17 19:38:02 +00:00
Kornel
682f8f32c6
Merge pull request #1002 from Bi11/touchbar
...
Add touch bar build support for Xcode 8.0 and earlier
2017-01-17 19:36:28 +00:00
Bi11
56db200f06
Add touch bar build support for Xcode 8.0 and earlier
2017-01-18 01:44:16 +08:00
Kornel
34179edd6d
Merge pull request #1001 from zorgiepoo/appkit-prevention
...
Add AppKit prevention guards to modules that shouldn't import it
2017-01-17 13:09:38 +00:00
Zorg
530f3a4a63
Explain why I'm not relying on the compiler to throw linkage errors
2017-01-17 07:17:14 -05:00
Zorg
135d05b8b8
Add AppKitPrevention header to reduce redundancy.
...
Note this header should be included last in implementation files, which is why I added extra padding.
2017-01-17 07:08:29 -05:00
Zorg
c56694382e
Add AppKit prevention guards to modules that shouldn't import it
2017-01-16 21:17:25 -05:00
Kornel
a39023e95b
Merge pull request #1000 from zorgiepoo/generics
...
Add Obj-C generics where applicable
2017-01-17 00:58:20 +00:00
Zorg
282f0ae58e
Add Obj-C generics where applicable
...
In headers that are exported, we test to see if generic support is available.
2017-01-16 18:09:04 -05:00
Kornel Lesiński
55e1a24431
Formatting
2017-01-16 22:25:37 +00:00
Kornel Lesiński
9fa0519811
Comments
2017-01-16 22:07:55 +00:00
Kornel
ecc72f834d
Merge pull request #987 from Bi11/touchbar
...
Add Touch Bar Support
2017-01-16 12:12:47 +00:00
Thomas Tempelmann
c1488b0515
Adds test cases for "sparkle:criticalUpdate" tag. ( #999 )
...
* Adds a test case for the "criticalUpdate" appcast tag (not as a XCTest but simply as an assert inside the test app, because I was lazy and am working on an older Xcode version that does not support the currently needed swift version for the XCTest in SUAppcastTest.swift).
* Tests the "criticalUpdate" appcast tag, using the proper XCTest swift class. I haven't tested this, though, due to the lack of the needed Xcode version.
* Test case for Appcast now checks all 4 items for the correct "criticalUpdate" state.
* Adds a test case for the "criticalUpdate" appcast tag (not as a XCTest but simply as an assert inside the test app, because I was lazy and am working on an older Xcode version that does not support the currently needed swift version for the XCTest in SUAppcastTest.swift). (reverted from commit 3ce1c9790b )
2017-01-16 00:02:32 +00:00
Bi11
aa29a754e6
Merge branch '1.17.x' into touchbar
2017-01-13 21:30:09 +08:00
Bi11
65bd11df8a
Use NSView’s designated initializer
2017-01-13 20:33:41 +08:00
Kornel Lesiński
397eb8a379
Merge remote-tracking branch 'origin/master' into 1.17.x
...
* origin/master:
Proper fix for #995
2017-01-13 01:03:21 +00:00
Kornel Lesiński
27c560b7d5
Proper fix for #995
1.16.0b1
2017-01-13 01:02:55 +00:00
Kornel Lesiński
5121d74ad9
Merge remote-tracking branch 'origin/master' into 1.17.x
...
* origin/master:
Fix URL/path confusion
Add 10.12 as SDK to run in Makefile and use Xcode 8.2 for Travis
2017-01-13 00:45:50 +00:00
Kornel Lesiński
fbb040926e
Fix URL/path confusion
...
Fixes #995
2017-01-13 00:44:41 +00:00
Bi11
e2426784ac
Add constrains to set touch bar buttons width equally
2017-01-13 01:35:09 +08:00
Bi11
118c72e61c
Add touch bar button group view to replace NSGroupTouchBarItem
2017-01-13 01:22:33 +08:00
Bi11
6f11c1ce02
Set up touch bar in each window controller
2017-01-12 03:44:01 +08:00
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
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
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
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