Commit Graph
4099 Commits
Author SHA1 Message Date
Zorg 6c9cbbb389 Set deployment target to 10.8 2016-03-03 20:02:01 -05:00
Zorg 045de30926 Clean up last bit of warnings 2016-03-03 19:59:16 -05:00
Zorg 62fa723564 Use ad-hoc code signing for test app so Xcode won't complain 2016-03-03 19:55:40 -05:00
Zorg cc5826d2f1 Add SUStandardUserDriverDelegate.h 2016-03-03 19:45:52 -05:00
Zorg a652ab952e Add documentation to dismissUpdateInstallation for SUStandardUserDriver 2016-03-03 19:40:25 -05:00
Zorg ada2688b86 Set up invalidation and interruption XPC handlers 2016-03-03 19:20:01 -05:00
Zorg f5a9cf14de s/SUSparkleUserDriver/SUStandardUserDriver/ 2016-03-03 18:29:15 -05:00
Zorg 5f572854d2 Improve docs on showing update is found, plus some formatting 2016-03-03 18:08:34 -05:00
Zorg 8a42975dc2 Add test application code for Sparkle over XPC 2016-03-03 03:03:56 -05:00
Zorg ed00162faa Fix project header imports 2016-03-02 01:44:03 -05:00
Zorg 65f16e7e8c Make delegate methods optional 2016-03-02 01:43:51 -05:00
Zorg 1b9d93f739 Add initForBundle: back just so we can raise an exception 2016-03-02 01:22:54 -05:00
Zorg 9ee8a6d314 Wrap initializer with standard if self != nil check 2016-03-02 01:15:10 -05:00
Zorg b58eeeabb5 Add docs to SUUpdater initializer 2016-03-02 01:13:33 -05:00
Zorg 5eb715f1f3 Added docs to sparkle's user driver
Also split SUSparkleUserDriverDelegate into two protocols, since it
just makes sense.
2016-03-02 00:53:28 -05:00
Zorg 4a2c3dd922 Update docs on SUUpdaterController 2016-03-01 23:18:44 -05:00
Zorg ad26fe9627 Use -[SUSparkleUserDriver updateInProgress] instead
If a developer doesn't want to use SUUpdateController, it'll be
clear to them how to implement the menu item validation
2016-03-01 23:15:08 -05:00
Zorg 772c6b7d3f Just add Sparkle user driver reference to SUUpdaterController 2016-03-01 23:03:05 -05:00
Zorg 8b0eae8ef4 Revert deferring startUpdateCycle in SUUpdater init
I decided it was less evil to allow SUUpdater to defer cycling and have
a mutable delegate, than it was for SUUpdateController to have a nullable SUUpdater
that could be instantiated an arbitrary time later

I have also changed the delay from 0 to 1, on the safer side.
2016-03-01 22:46:15 -05:00
Zorg 1da4ee961c Add delegate as parameter to SUUpdater's initializer 2016-03-01 22:22:05 -05:00
Zorg efac2acf57 Change SUUpdaterDelegate to be weak reference 2016-03-01 21:51:02 -05:00
Zorg 077b0c7bc9 Separate out UI bits from SUSparkleUserDriver delegate protocol 2016-03-01 21:40:13 -05:00
Zorg f5bc152f1c No longer true 2016-03-01 21:25:40 -05:00
Zorg ba4bbbb99a Rename UserUpdaterDriver -> UserDriver
This ends up to be more natural to me.
2016-03-01 21:24:50 -05:00
Zorg d3a09cc68a Move custom version displayer away from SUUpdater delegate
This is a UI related protocol and thus should be part of the user updater driver,
not a part of the core updater.
2016-03-01 21:09:28 -05:00
Zorg dafdcf21b6 Add more nullability specifiers 2016-03-01 20:15:45 -05:00
Zorg 1b46ecf663 Improve SUUpdaterController docs and add nullability specifiers 2016-03-01 20:08:21 -05:00
Zorg dd3c698f3e Add documentation to SUUpdaterController 2016-03-01 19:48:56 -05:00
Zorg 30c2ba125b Remove IBOutlet attribute for SUUpdater delegate 2016-03-01 19:37:39 -05:00
Zorg f26811b439 Document resetUpdateCycleAfterShortDelay and updateInProgress 2016-03-01 19:19:01 -05:00
Zorg 7dd3e02546 Clarify why automatic update driver doesn't listen for system power off 2016-03-01 19:11:07 -05:00
Zorg 0c41fafb47 Add more doc notes to SUUserUpdaterDriver.h 2016-03-01 18:53:37 -05:00
Zorg 3362ea174a Remove SUAutomaticInstallationChoice since it was duplicated definitions 2016-03-01 02:50:44 -05:00
Zorg cea47960dd Fix filename in comments 2016-03-01 02:37:24 -05:00
Zorg 721ccdc5d9 Adding documentation comments to SUUserUpdaterDriver 2016-03-01 02:36:42 -05:00
Zorg 49c10c8cb5 Move Sparkle's user updater driver delegate protocol out of SUUserUpdaterDriver 2016-03-01 00:16:59 -05:00
Zorg 0a6db8ef7a I can verify this later 2016-03-01 00:02:34 -05:00
Zorg cf31592e4a Ignore deprecated warnings for calling alert modal methods on updater delegate 2016-02-29 23:47:44 -05:00
Zorg 097784db95 Cancel update cycle and abort updates in SUUpdater's dealloc 2016-02-29 23:41:39 -05:00
Zorg b6fe5ea289 Move permission checking of allowing automatic updates to SUUpdater
SUHost can be called from any process with different privilege levels,
so it can't determine if the user can install to the app bundle without issue
2016-02-29 22:48:27 -05:00
Kornel 864044e44e Merge pull request #772 from zorgiepoo/fix-codesigning-tests
Fix code signing verifier tests when ran locally
2016-03-01 00:39:49 +00:00
Kornel Lesiński 48f18d000c Support XML namespace prefixes when parsing appcasts
Fixes #771
2016-03-01 00:37:52 +00:00
Zorg d0adc0af39 Fix code signing verifier tests when ran locally
The tests sometimes fail for me when copying these files over,
because they already may exist. I guess they're not torn down properly.
2016-02-29 18:30:36 -05:00
Zorg f7b6a70979 These two classes are not referenced here anymore 2016-02-29 18:27:33 -05:00
Kornel Lesiński 64d95bb36f Error code for download errors
Fixes #770
2016-02-29 13:39:08 +00:00
Zorg 7c16419a6d SUUpdatePermissionPromptResult is a core/non-UI class 2016-02-29 08:38:28 -05:00
Zorg 253f544bbe Remove old localized byte count code 2016-02-29 08:28:54 -05:00
Zorg 16b9d47cbe SUHost can go back to non-public header
Although I don't know if this should be the final decision on that matter.
If users create their own user drivers, will they want SUHost?
2016-02-29 03:04:36 -05:00
Zorg d3ed152e1a Let SUSparkleUserUpdaterDriver take a NSBundle instead of SUHost
This way we don't have to expose SUHost to public anymore, I think
2016-02-29 03:00:12 -05:00
Zorg 5e87fe6daa Let delegate tell us if it's responsible for signaling termination 2016-02-29 02:53:50 -05:00