Commit Graph
2793 Commits
Author SHA1 Message Date
Zorg 36e7cf263c Use os_log API for errors instead of ASL if it's available 2017-01-05 21:23:16 -05:00
Zorg 19df2867af Merge branch 'master' into ui-separation-and-xpc 2017-01-03 22:19:21 -05: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
Zorg 5ce1d7b3dc Merge branch 'master' into ui-separation-and-xpc 2017-01-02 18:12:01 -05:00
Zorg dca2114934 Add user driver method to show informational only updates
This will increase the chance of a user driver implementing being able to show informational only updates. Also it's better to use a new method rather than re-use another existing one inappropriately.
2017-01-02 18:00:17 -05: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
Zorg c25f127188 Merge branch 'master' into ui-separation-and-xpc 2017-01-01 22:45:28 -05:00
Zorg 2001328032 Add user driver docs & handling for showing informational updates
Perhaps I should add another method to the user driver for showing informational updates in the near future.
2017-01-01 22:22:07 -05:00
Zorg 9d354e5606 Improve title text of update alert for normal & informational updates 2017-01-01 21:38:39 -05:00
Zorg ad43a6d0c9 Informational only updates shouldn't be presented as downloadable 2017-01-01 21:38:08 -05:00
Zorg 0bb3ab51b3 Handle informational only updates from the automatic update driver
The automatic update driver defers the informational only update & aborts, allowing a scheduled UI driver to resume it. The automatic update driver aborts before the point an update would normally be downloaded.
2017-01-01 21:22:02 -05: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 27a24a5413 Make sure downloader progress doesn't exceed expected max progress 2016-12-29 11:46:17 -05:00
Zorg d911db7357 Update pod spec file so that make release works 2016-12-29 11:15:22 -05:00
Zorg e3f68b70bf Prefer using HTTP expected content length over appcast item length
Also use (u)int64_t instead of NS(U)Integer
2016-12-29 11:11:05 -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
Zorg a82f5acdd6 Sort the project file using webkit's script:
https://github.com/WebKit/webkit/blob/master/Tools/Scripts/sort-Xcode-project-file

This may help with mergability a bit.
2016-12-28 21:28:16 -05:00
Zorg e463ed4bcb Merge branch 'master' into ui-separation-and-xpc 2016-12-28 21:19:40 -05:00
Zorg 52397d616f Download response may not return expected length for a smaller part 2016-12-28 12:54:05 -05:00
Zorg 47b1c8a9a2 Expected content length from http header should not be accumulated 2016-12-28 12:39:18 -05:00
Zorg 6d69b1215d Prevalidation is mostly merged into master now 2016-12-27 17:51:33 -05:00
Zorg 7609068886 Sync unit test configuration files to be similar to master branch 2016-12-27 17:47:47 -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
Zorg f7d9e44ab6 Xcode fixing its project file again 2016-12-27 15:41:21 -05:00
Zorg ab64d8d19f Merge branch 'master' into ui-separation-and-xpc 2016-12-27 15:38:13 -05:00
Zorg 76013ba66c Merge branch 'master' into ui-separation-and-xpc 2016-12-27 15:32:56 -05: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
Kornel ebf8d2105b Merge pull request #953 from zorgiepoo/gen-appcast-xcconfig
Add xcconfig file for generate_appcast target
2016-12-27 20:53:53 +01:00
Zorg 14ac885ea0 Add ConfigGenerateAppcastDebug.xcconfig 2016-12-27 11:13:32 -05:00
Zorg 355e239df9 Add xcconfig file for generate_appcast target
Also remove swift configurations from Common config files, and change swift optimization from fast to whole module.
2016-12-27 11:01:25 -05:00
Zorg cba7f51132 Merge branch 'master' into ui-separation-and-xpc 2016-12-27 10:29:33 -05:00
Zorg e3a467b126 Rename update permission prompt & nib to use SU prefix 2016-12-27 10:06:41 -05:00
Kornel Lesiński e7ae7d5330 Version bump 1.16.0a1 2016-12-27 15:32:43 +01:00