Kornel
091986b12f
Merge pull request #951 from zorgiepoo/installer-protocol
...
Decouple and simplify installation code using protocols
2016-12-27 00:48:57 +01:00
Zorg
1ecb620986
Decouple and simplify installation code using protocols
...
This also fixes a bug where the status window would stay visible during interactive (non-guided) package installations.
2016-12-26 17:59:32 -05:00
Kornel
21f3c8a157
Merge pull request #950 from zorgiepoo/updater-delegation
...
Updater delegation
2016-12-26 15:44:58 +01:00
Zorg
468bcb9640
Remove typecasting self.updater to id
2016-12-26 09:20:52 -05:00
Zorg
f016cd8086
Add nullability annotations to SUUpdaterDelegate.h
2016-12-25 18:45:49 -05:00
Zorg
796967cf24
Allow delegate methods that return an object to return nil
...
Returning nil from these delegate methods is equivalent to not implementing the delegate method. The caller should be able to make this kind of decision when implementing an optional delegate method.
2016-12-25 18:41:38 -05:00
Zorg
578e78876c
Separate SUUpdater delegate methods into different file
...
Also create SUUpdaterPrivate protocol to expose as little as possible to the internal update drivers. Ideally this would be minimized and not even exist at all, but I don't want to make the architectural and potential backwards-incompatible changes required to do that.
2016-12-25 18:25:42 -05:00
Kornel
2f438186d6
Merge pull request #949 from zorgiepoo/decouple-host
...
Decrease responsibility of SUHost and move code into other components
2016-12-24 14:22:56 +01:00
Zorg
2c1820f2a9
Decrease responsibility of SUHost and move code into other components
2016-12-23 22:21:19 -05:00
Kornel
a30eff3680
Merge pull request #947 from zorgiepoo/remove-deps
...
Remove Sparkle.pch and many file #includes
2016-12-24 00:06:56 +01:00
Zorg
1a09baf0ed
Remove Sparkle.pch and many file #includes
...
This eliminates many dependencies that don't need to exist.
2016-12-23 16:13:35 -05:00
Kornel Lesiński
a1095ff29c
Null fix
2016-12-23 20:00:45 +01:00
Kornel Lesiński
51b3931485
Simpler suffix check
2016-12-23 19:59:48 +01:00
Kornel
b5bc2a7374
Merge pull request #940 from sparkle-project/nulz
...
Nulz
2016-12-23 18:56:57 +01:00
Kornel
3666b89add
Merge pull request #933 from sparkle-project/statevars
...
Minor tweaks
2016-12-23 18:56:06 +01:00
Kornel
23f9e747c1
Merge pull request #942 from zorgiepoo/unarchiver-protocol
...
Unarchiver protocol
2016-12-23 18:54:25 +01:00
Kornel Lesiński
c77895066a
Appropriate deployment target for test app xib
2016-12-23 17:01:16 +01:00
Kornel Lesiński
c98017dbe2
Fixed binary delta tool
2016-12-23 16:33:12 +01:00
Kornel Lesiński
657e3d47d0
Removed unnecessary nullability
2016-12-23 16:25:09 +01:00
Kornel
4d34e4358a
Merge pull request #943 from zorgiepoo/improve-tests
...
Improve tests
2016-12-22 23:32:19 +01:00
Zorg
6fcd6beb84
Fix UI tests from not working when update alert automatically shows
2016-12-22 12:18:31 -05:00
Zorg
98b3a9828a
Use localhost instead of 0.0.0.0. Latter doesn't work when offline.
2016-12-22 12:17:45 -05:00
Zorg
137b73af4e
Fix subclass compatibility and update schedule unarchiving behavior
2016-12-21 16:39:33 -05:00
Zorg
dd1bda5066
Some error reason is better than no reason
2016-12-21 16:14:25 -05:00
Zorg
7bc7a90a09
Fix UI update scheduler not prompting for install & relaunch
2016-12-21 15:59:13 -05:00
Zorg
91d13c7239
Merge branch 'master' into unarchiver-protocol
2016-12-21 15:53:41 -05:00
Zorg
fd6ba1820a
Merge branch 'master' into unarchiver-protocol
2016-12-21 15:39:38 -05:00
Kornel
fb61777024
Merge pull request #941 from sparkle-project/unarch
...
Error handling test + fix
2016-12-21 19:18:23 +01:00
Kornel Lesiński
2519eb573f
Test unarchiving failure
2016-12-21 18:06:22 +01:00
Kornel Lesiński
8a3338b078
Extracted function
2016-12-21 18:06:22 +01:00
Kornel Lesiński
b03ae0d765
Moved assert
2016-12-21 18:06:19 +01:00
Kornel Lesiński
97c652e3b0
Fixed method name
2016-12-21 17:42:38 +01:00
Kornel
301af71228
Merge pull request #938 from sparkle-project/unarch
...
Unarchiving blocks
2016-12-21 17:07:19 +01:00
Zorg
60d4f05743
Add SUUnarchiverProtocol & remove runtime registration of unarchivers
2016-12-21 11:07:03 -05:00
Kornel Lesiński
464972126c
Unwrap early
2016-12-21 16:44:04 +01:00
Kornel Lesiński
c1392bc190
Nullability
2016-12-21 16:44:04 +01:00
Kornel Lesiński
921aed0fae
Temp vars
2016-12-21 16:44:04 +01:00
Kornel Lesiński
59d90e0bb1
Basic binary delta progress
2016-12-21 15:23:41 +01:00
Kornel Lesiński
e3fb6bb1a8
Report DMG extraction progress
2016-12-21 15:23:41 +01:00
Kornel Lesiński
8103f5fd43
Replaced progress delegate with a block
2016-12-21 15:23:40 +01:00
Kornel Lesiński
70f5681797
Use completion block for unarchiving
2016-12-21 15:22:59 +01:00
Kornel Lesiński
5ee02e954e
Renamed callbacks
2016-12-21 15:22:59 +01:00
Kornel Lesiński
23b2b49663
Ability to report specific unarchiving error
2016-12-21 15:22:59 +01:00
Kornel Lesiński
311ed493b4
Unused
2016-12-21 15:22:59 +01:00
Kornel Lesiński
9d8b3c0c36
DRY async dispatch of unarchiver notifications
2016-12-21 15:22:59 +01:00
Kornel Lesiński
f3f268388b
Nullability declarations
2016-12-21 15:22:57 +01:00
Kornel
8d0effe327
Merge pull request #934 from sparkle-project/msg
...
Less alarming error message
2016-12-17 23:51:34 +01:00
Kornel Lesiński
19455099ff
Formatting
2016-12-10 16:15:02 +00:00
Kornel Lesiński
6e754d7e4f
Use return instead of state variable
2016-12-10 16:15:02 +00:00
Kornel Lesiński
ab6fa76303
Xcode 8 now
2016-12-10 12:04:26 +00:00