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
Mayur Pawashe
7064ac160b
Merge pull request #1794 from sparkle-project/sync-localizations
...
Sync localizations
2021-03-07 10:21:45 -08:00
Mayur Pawashe
f74f9d288d
Merge pull request #1793 from sparkle-project/ci-upload-dist
...
Test validity of archived products and upload distribution in CI
2021-03-07 09:23:50 -08:00
Mayur Pawashe
3c8ebd921f
Merge pull request #1792 from sparkle-project/1.x-sync
...
Sync SPM + changelog changes
2021-03-07 09:23:13 -08:00
Zorg
579e7bd98b
Add Persian localizations
2021-03-06 23:56:24 -08:00
Zorg
6d548efb2b
Sync localization changes from 1.x
2021-03-06 23:51:21 -08:00
Zorg
2179eb1e39
Upload release distribution only for Xcode 12 builds currently
2021-03-06 23:19:25 -08:00
Zorg
3ded119af5
Include Xcode version in artifact upload
2021-03-06 22:47:49 -08:00
Zorg
018d4ea630
Reference relative path
2021-03-06 22:14:27 -08:00
Zorg
ef68656783
Test validity of archived products and upload distribution in CI
2021-03-06 21:53:31 -08:00
Kornel
aeffb2710a
Changelog
2021-03-06 20:56:07 -08:00
Kornel
7c223ef0d1
Changelog
2021-03-06 20:54:45 -08:00
Zorg
724e9eb79e
Fight SPM retagging
...
https://github.com/sparkle-project/Sparkle/commit/b5c9539f16de5b8647418fc467c6ca8fd5c8d22c
2021-03-06 20:20:08 -08:00
Jonas Zaugg
59c2c7358f
Update make-release-package.sh
...
Now provides an error and exits when not complying with SemVer
2021-03-06 20:19:18 -08:00
Jonas Zaugg
dc7b2f2030
Update make-release-package.sh
...
Only check and update tag in Package.swift when not running a CI build. As long as GitHub actions are reserved for tests, this should be ok as this is a "fake" update of Package.swift anyway. If you ever use GitHub actions for releases, you'll probably have to rethink the tagging logic once again
2021-03-06 20:19:04 -08:00
Jonas Zaugg
78a0d4e4e7
Checks SemVer and default to force tagging
2021-03-06 20:18:45 -08:00
Jonas Zaugg
cd8794acce
Various fixes to SPM logic
...
Improves prompt asking to force move tag (default is NO, but can be triggered after `make release`). Fixes issues with single quotes in make-release-package.sh.
2021-03-06 20:18:23 -08:00
Jonas Zaugg
fd940884c8
Include tag instead of version in Package.swift
2021-03-06 20:16:41 -08:00
Zorg
e76e34ead8
Rename SPM zip
...
https://github.com/sparkle-project/Sparkle/commit/891afd44c7075e699924ed9b81d8dc94a5111dfd#diff-507d750ad623604486faa5c9772800e8a019c7675a08688e94bde91872c0f1d8
2021-03-06 20:16:06 -08:00
Mayur Pawashe
2dd324d316
Merge pull request #1789 from sparkle-project/relocate-tools
...
Move helper tools into executables directory of framework
2021-03-02 22:25:18 -08:00
Mayur Pawashe
9e7548c4ff
Merge pull request #1790 from sparkle-project/propogate-errors
...
Propagate errors from installer and agent to Sparkle
2021-03-01 19:53:14 -08:00
Zorg
e21f7c4e87
Ensure startInstallationToURL method populates error object
2021-02-28 23:47:14 -08:00
Zorg
370fdb8368
Fix auto-synthesize warning
2021-02-28 23:47:07 -08:00