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
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
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
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
Kornel Lesiński
8481035fb9
No server-side logic is a plus
2017-01-05 22:50:26 +00:00
Kornel Lesiński
7238c2aeb6
Updated README
2017-01-05 22:35:20 +00:00
Kornel Lesiński
d9d62299be
Disable Skip if the update is critical
...
Fixes #976
2017-01-04 15:23:47 +00:00
Kornel Lesiński
478bbf303b
XIB churn
2017-01-04 15:23:47 +00:00
Kornel Lesiński
ee16e5ae55
1.16.0a2
1.16.0a2
2017-01-04 13:59:17 +00:00
Kornel
d50e823b3d
Merge pull request #972 from sparkle-project/misc
...
Misc
2017-01-04 00:07:29 +00:00
Kornel
4636588e76
Merge pull request #973 from sparkle-project/nothrowaway
...
Resume pending automatic update when possible
2017-01-04 00:07:10 +00:00
Kornel Lesiński
2be4dc11a0
Resume pending automatic update when possible
...
Fixes #970
2017-01-03 17:44:40 +00:00
Kornel Lesiński
6181c9276a
Close alert on abort
2017-01-03 17:42:18 +00:00
Kornel Lesiński
49845d8246
Re-init alert when called again
...
A lazy way to bring it to front
2017-01-03 17:42:18 +00:00
Kornel Lesiński
8fa136c0a3
Invalidate timer when auto-update window is shown
...
In case it's shown manually, not by the timer
2017-01-03 17:42:18 +00:00
Kornel Lesiński
dc1151a5ff
Null warning
2017-01-03 16:13:15 +00:00
Kornel
a920ecc197
Merge pull request #964 from zorgiepoo/guided-default
...
Make guided package installs the default for updating packages
2017-01-02 20:40:39 +00:00
Kornel Lesiński
271d504f6d
Expose magic numbers
2017-01-01 14:14:25 +00:00
Kornel Lesiński
9c0ccd4a57
Put latest version first to make wildcard filename matching easier
2017-01-01 14:14:25 +00:00
Kornel
266be254d2
Merge pull request #967 from zorgiepoo/length-fallback
...
Fallback to the appcast's length value if HTTP doesn't give us one
2017-01-01 15:12:44 +01:00
Kornel
efe93c492f
Merge pull request #968 from Bi11/info-only
...
Hide automatic updates checkbox for information only updates
2016-12-31 19:45:46 +01:00
Kornel
74b09ad904
Merge pull request #966 from zorgiepoo/update-podspec-file
...
Update pod spec file so that `make release` works
2016-12-31 19:44:05 +01:00
Kornel
b9012aa8dc
Merge pull request #965 from zorgiepoo/unarchiver-test-no-ivar
...
Remove instance variables from SUUnarchiverTest.swift
2016-12-31 19:43:05 +01:00
Kornel
ae41185267
Merge pull request #963 from zorgiepoo/remove-old-app
...
Remove the old app/bundle instead of moving it to the trash
2016-12-31 18:29:08 +01:00
Bi11
6634ed7d69
Hide automatic updates checkbox for information only updates
2016-12-31 23:37:53 +08:00
Zorg
799ebdcf7d
Fallback to the appcast's length value if HTTP doesn't give us one
2016-12-29 14:08:14 -05:00
Zorg
d911db7357
Update pod spec file so that make release works
2016-12-29 11:15:22 -05:00
Zorg
d2e1987ce3
Remove instance variables from SUUnarchiverTest.swift
...
I have been receiving unarchiver test errors lately (after the unarchiver blocks changes) somewhat rarely (it's very hard to reproduce) when running all the tests locally. Thus, hoping this change may make a difference.
2016-12-28 23:44:31 -05:00
Zorg
2d1688c063
Make guided package installs the default for updating packages
...
Interactive package installs now need to be opted into (foo.sparkle_interactive.pkg or foo.sparkle_interactive.mpkg)
The website documentation may need to be updated later, and this should be noted as an important point in the change log.
2016-12-28 23:15:22 -05:00
Zorg
b56910f455
Remove the old app/bundle instead of moving it to the trash
...
Fixes #827
2016-12-28 22:01:00 -05:00
Kornel Lesiński
a3e96581b4
We're not testing with old Xcode, so we can't promise that compatibility
2016-12-27 22:44:01 +01:00
Kornel Lesiński
94423a10c9
Sorted project file
2016-12-27 21:25:52 +01:00
Kornel Lesiński
b14c00136e
Changelog
2016-12-27 21:23:15 +01:00