Mayur Pawashe
a084e2f09d
Merge pull request #1822 from sparkle-project/sample-appcast-edSignature
...
Update SampleAppcast.xml to use edSignatures
2021-04-12 19:19:47 -07:00
Mayur Pawashe
9524b32024
Merge pull request #1820 from sparkle-project/simplify-user-driver
...
Simplify user driver
2021-04-12 19:19:27 -07:00
Zorg
cb10bb8046
Remove SPUUserDriverCoreComponent usage completely
2021-04-11 23:31:04 -07:00
Zorg
2d9bf07b18
Add new user driver methods to cancel update checks / downloads
...
Remove SPUUserDriverCoreComponent dependency from sparkle-cli and the Test App too, which really wasn't helping at all.
2021-04-11 23:15:02 -07:00
Zorg
bd1769e82e
Update SampleAppcast.xml to use edSignatures
2021-04-11 15:17:53 -07:00
Zorg
9052ea912d
Ensure permission request response is handled on main thread
...
We were doing this before but I accidentally removed it in a recent commit.
2021-04-11 14:43:52 -07:00
Zorg
833eb89bb5
Simplify user driver API
...
Deprecate the "done" statuses for user initiated update checks and downloading updates because they really did nothing but burden implementor (there was a relic of an XPC reason back in the day that no longer applies).
2021-04-11 14:41:07 -07:00
Mayur Pawashe
1f90f7c993
Merge pull request #1818 from sparkle-project/update-cycle-2
...
Defer requiring feed URL until checking for updates
2021-04-11 13:12:11 -07:00
Zorg
6db6a9892a
Defer requiring feed URL until checking for updates
...
Also don't automatically reset update cycle if updater hasn't been started yet.
2021-04-10 15:18:13 -07:00
Mayur Pawashe
e20f099c90
Merge pull request #1815 from sparkle-project/fix-interactive
...
Fix interactive flag being ignored in sparkle-cli
2021-04-05 19:05:59 -07:00
Zorg
9b6e7ba828
Fix interactive flag being ignored in sparkle-cli
2021-04-04 16:57:37 -07:00
Mayur Pawashe
8c53b1d3ec
Merge pull request #1812 from sparkle-project/system-domain
...
Pass whether or not system domain is being used back to framework
2021-04-04 16:37:37 -07:00
Mayur Pawashe
faf047c4ea
Merge pull request #1813 from sparkle-project/service-length
...
Increase max mach service name length to 127 characters
2021-04-04 16:36:08 -07:00
Zorg
71a36f8be4
Add comments on message type tags
2021-04-04 14:06:27 -07:00
Zorg
ebc48cee5c
Increase max mach service name length to 127 characters
2021-04-03 22:43:01 -07:00
Zorg
467ffb15ca
Pass whether or not system domain is being used back to framework
...
This avoids needing to do a file system check in InstallerConnection to determine if we need to connect to the system or user domain.
2021-04-03 17:16:38 -07:00
Mayur Pawashe
a79aa1690b
Merge pull request #1810 from sparkle-project/permission-prompt-no-modal
...
Don't make permission prompt a modal window
2021-03-29 19:12:41 -07:00
Mayur Pawashe
e1fdd5a6c4
Merge pull request #1809 from sparkle-project/update-cycle
...
Universally start update cycle one runloop cycle later
2021-03-29 19:12:27 -07:00
Mayur Pawashe
a108d4bc72
Merge pull request #1811 from sparkle-project/relaunch-host
...
Provide option to open host bundle path instead of app path
2021-03-29 19:08:21 -07:00
Zorg
5a0529a2cd
Provide option to open host bundle path instead of app path
...
This is useful for plug-ins that may want Sparkle to open eg a .prefpane or .saver instead of re-launching System Preferences (which is the app used to wait for termination; normally we only relaunch an app that was proven to be alive).
In a plug-in world, it may not be possible to tell which is more desirable so we provide both options. In 1.x, there was a delegate -pathToRelaunchForUpdater: method to pick between these, however in 2.x for hardening sake, there isn't an API to open any arbitrary bundle path so we provide explicit options.
2021-03-28 23:39:10 -07:00
Zorg
3a201a45ac
Don't make permission prompt a modal window
...
This can block the rest of the UI from being loaded on an app that is just starting. I saw this myself in a pref pane plugin.
2021-03-28 17:35:32 -07:00
Zorg
93b8700060
Add self.driver != nil assert
2021-03-28 17:10:10 -07:00
Zorg
2614af86ff
Don't defer some of sparkle-cli delegate callbacks
2021-03-28 16:35:21 -07:00
Zorg
5ae944778a
Set canCheckForUpdates to NO before probing install status
2021-03-28 16:25:05 -07:00
Zorg
f2986ef090
Start updater one runloop cycle later
...
And remove logic in SPUStandardUpdaterController and SUUpdater that defers starting the updater one cycle later, because that logic is now in SPUUpdater which they invoke.
It is too easy to start the updater "too soon" (if not using SPUStandardUpdaterController or SUUpdater) and I had some weird approach before that allowed the developer to check for updates before starting the updater and it would get deferred until the updater was started (without showing a permission prompt). Instead, defer the update cycle check allowing developer to check for updates immediately after starting the updater if needed (sparkle-cli needs to do this in one case).
Errors are now logged when checking for updates without having started the updater.
This fixes edge cases of UI being shown too early.
2021-03-28 13:21:20 -07:00
Mayur Pawashe
923bb96eda
Merge pull request #1802 from sparkle-project/features
...
Add quicker & more reliable updating to features
2021-03-28 12:47:44 -07:00
Mayur Pawashe
2af01e8844
Merge pull request #1808 from sparkle-project/normalization
...
Compute app path normalization in progress agent
2021-03-28 10:51:10 -07:00
Zorg
414c8affc5
Compute app path normalization in progress agent
...
Compute path instead of having installer pass over arbitrary path to agent.
2021-03-27 22:17:25 -07:00
Zorg
90aa98b68c
Update changelog
2021-03-25 23:24:18 -07:00
Zorg
7e8084b064
Update readme / changelog
2021-03-23 19:37:20 -07:00
Mayur Pawashe
25001d83ee
Merge pull request #1803 from sparkle-project/preventAccidentalInstalls-2.x
...
Disable keyboard shortcut for active not-initiated scheduled checks
2021-03-23 19:22:32 -07:00
Mayur Pawashe
78b0570a76
Merge pull request #1804 from sparkle-project/no-hide-on-deactivate
...
Don't hide standard updater window on deactivation
2021-03-23 19:22:20 -07:00
Zorg
9555cb7397
Fix UI tests from not making update alert hide on deactivation
2021-03-22 23:05:02 -07:00
Zorg
78ec0f46b7
Disable keyboard shortcut for active not-initiated scheduled checks
...
This ports #1036 over to 2.x. Looks like I forgot to port half of it.
2021-03-22 16:17:07 -07:00
Zorg
f95bf0c7d5
Don't hide standard updater window on deactivation
...
Sometimes when the app is re-activated, the window is ordered back behind other applications. Also it may be useful to eg read the release notes when browsing another application. We still preserve the logic that defers showing the update alert when the application isn't initially frontmost.
2021-03-22 15:48:47 -07:00
Zorg
cf14d09ee0
Update CHANGELOG
2021-03-22 01:36:31 -07:00
Zorg
90448fd564
Add quicker & more reliable updating to features
2021-03-22 01:14:20 -07:00
Mayur Pawashe
0a4846a186
Merge pull request #1801 from sparkle-project/atomic-swap
...
Update and replace bundle directories even more atomically on apfs
2021-03-21 18:54:36 -07:00
Zorg
b3e7a03660
Update and replace bundle directories even more atomically on apfs
...
With these changes, it should not be possible for neither an old or new bundle to be at the destination.
We also perform temporary directory cleanup after final installation stage is and relaunching an app is performed because we can save some time (150 ms+ in one of my cases).
2021-03-21 17:54:51 -07:00
Mayur Pawashe
83aac00fe6
Merge pull request #1800 from sparkle-project/log-nserror
...
Add and use function to log NSError objects recursively
2021-03-19 13:50:14 -07:00
Zorg
89b7fef457
Add and use function to log NSError objects recursively
2021-03-19 12:35:22 -07:00
Mayur Pawashe
5fbf119e6a
Merge pull request #1799 from sparkle-project/graceful-change-owner-group-failure
...
Don't make changing owner/group a hard fatal error
2021-03-19 11:18:39 -07:00
Zorg
2e8fc4d17a
Don't make changing owner/group a hard fatal error
2021-03-19 10:28:59 -07:00
Mayur Pawashe
454e6d2f13
Merge pull request #1798 from sparkle-project/disable-hardened-runtime-sparkle-cli
...
Disable hardened runtime for sparkle-cli
2021-03-19 09:20:54 -07:00
Zorg
28924f4b2a
Disable hardened runtime for sparkle-cli
2021-03-18 20:49:08 -07:00
Mayur Pawashe
d102a50f66
Merge pull request #1795 from sparkle-project/main-dev
...
Main development change
2021-03-08 21:12:05 -08:00
Zorg
bfc55ac8b0
Add 1.x feature frozen note
2021-03-08 00:54:02 -08:00
Zorg
1f35e7b5cd
Add GitHub issue / pull request templates
2021-03-08 00:51:09 -08:00
Zorg
f23799a531
Re-add INSTALL document which directs user to Sparkle website docs
2021-03-08 00:40:44 -08:00
Zorg
81453d1410
Update ReadMe to update development branch and feature-freeze 1.x
2021-03-08 00:40:12 -08:00