Zorg
ed89783a0e
Merge branch '2.x' into user-driver-relaunch
2021-04-13 00:05:39 -07:00
Mayur Pawashe
cb17e08b92
Merge pull request #1823 from sparkle-project/entitlements
...
Entitlement scripts/configuration updates
2021-04-12 19:20:46 -07:00
Mayur Pawashe
286af16842
Merge pull request #1821 from sparkle-project/api-updater-doc
...
Update API documentation for instantiating/using updater
2021-04-12 19:20:20 -07:00
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
eea87561ab
Update XPC Service signing script
...
Add entitlements to InstallerConnection and InstallerStatus services and add option to specify bundle id in the now renamed codesign_xpc_service.py script.
2021-04-11 21:52:09 -07:00
Zorg
e7bc17b192
Use $(PRODUCT_BUNDLE_IDENTIFIER) for defaults exception for test app
2021-04-11 20:19:33 -07:00
Zorg
07e96961bf
Sign altered app in release too for the test app
2021-04-11 20:04:53 -07:00
Zorg
895bb71fae
Add InstallerStatus and InstallerConnection services to Distribution
2021-04-11 20:03:59 -07:00
Zorg
372d711d20
Remove ATS allow-exception scripts for debug / test app
2021-04-11 19:43:12 -07:00
Zorg
5408ab10c1
Remove lesser used XPC Services for Test App
...
Testing WebKit2 is more important than testing sandboxed downloader service.
More people should be adding entitlements to their app for connection services, so we will do that in the test app too.
2021-04-11 19:28:46 -07:00
Zorg
3ea863d82b
Remove incorrect note about when relaunch happens
...
User driver can also request to not relaunch the app and this is worded oddly.
2021-04-11 19:01:27 -07:00
Zorg
bd1769e82e
Update SampleAppcast.xml to use edSignatures
2021-04-11 15:17:53 -07:00
Zorg
0b634f4d76
Update API documentation for instantiating/using updater
2021-04-11 15:00:43 -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
Zorg
e909c0d988
Show alert that non-relaunched application was installed
...
This only applies when the updater outlives the application it is updating and the application is not relaunched (i.e, an external/remote updater).
2021-04-11 14:01:03 -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