Zorg
aa867a0cb9
Expose reason why new update is not available to user
...
When user is on version >= latest appcast feed item, we give them an option to view version history.
When user can't update because of a min/max OS requirement, we give them an option to view product's website.
2021-06-26 18:18:44 -07:00
Zorg
5d27dc6fb3
Expose the reason and latest appcast item when update is not found
2021-06-26 16:06:39 -07:00
Mayur Pawashe
fefce16697
Merge pull request #1876 from sparkle-project/refine-standard-updater-controller
...
Refine standard updater controller
2021-06-26 15:04:27 -07:00
Zorg
28065e7240
Refine SPUStandardUpdaterController API
...
* Make updater/userDriver properties non-null
* Expose starting the updater and allowing it to be done later instead of at instantiation (so clients in some cases will not need to make their controller declared as an optional)
* Make sender in checkForUpdates: nullable
2021-06-26 12:35:13 -07:00
Zorg
d0f43e04d1
Merge branch '2.x' into expose-starting-updater
2021-06-26 11:09:35 -07:00
Mayur Pawashe
746bb1b248
Merge pull request #1862 from sparkle-project/selective-critical
...
Select critical/informational updates by version & store state in appcast items
2021-06-26 10:51:36 -07:00
Zorg
ba5d895e8f
Document where to find SPUAppcastItemStateResolver
2021-06-26 10:05:25 -07:00
Zorg
7efa996ba9
Merge branch '2.x' into selective-critical
2021-06-26 10:01:33 -07:00
Mayur Pawashe
2411d7538d
Merge pull request #1875 from sparkle-project/fix-analyzer-warnings
...
Fix analyzer warnings
2021-06-26 09:46:29 -07:00
Zorg
3e1651d1cd
Expose starting updater manually on SPUStandardUpdaterController
...
This allows instantiating SPUStandardUpdaterController right away programmatically, but starting the updater at a later point.
2021-06-26 09:44:41 -07:00
Zorg
4780cfccd5
Reword initializer deprecation messages
2021-06-26 01:36:54 -07:00
Zorg
50df5ed438
Retrieve critical update info even if stateResolver == nil
2021-06-26 01:21:14 -07:00
Zorg
3d8e00eecd
Annotate SUAppcastItem initializers as nullable
...
Also mark -init as unavailable.
2021-06-25 22:26:52 -07:00
Zorg
25e0de5988
Fix analyzer warnings
2021-06-25 22:17:29 -07:00
Zorg
6e3cd6b313
Mark init methods as unavailable
2021-06-21 00:11:06 -07:00
Zorg
31f6f512e1
Export SUAppcastItem designated initializer to PrivateHeaders
...
Clients can use this header if they need to, but they should first talk to us / explore other avenues.
2021-06-20 23:55:40 -07:00
Zorg
686fd05fce
Add tests for informational only updates
2021-06-20 23:11:02 -07:00
Zorg
da30373a30
Clarify informationOnlyUpdate description in user driver docs
2021-06-20 23:10:20 -07:00
Zorg
1444561899
Add support for selectively choosing what updates are info-only
...
Example:
<sparkle:informationalUpdate>
<sparkle:version>1.5.0</sparkle:version>
<sparkle:version>1.5.1</sparkle:version>
</sparkle:informationalUpdate>
Means that updating only from versions 1.5.0 and 1.5.1 are shown an informational update (provided there is an info link).
<sparkle:informationalUpdate></sparkle:informationalUpdate>
Means that updating from any version gets an informational update (provided there is an info link).
No presence of this new element falls back to current behavior in Sparkle where an informational update is shown if an enclosure is missing but an info link is provided.
2021-06-20 21:59:05 -07:00
Zorg
fb8a0a02c8
Fix typos
2021-06-20 20:42:18 -07:00
Mayur Pawashe
9a3ada03f9
Merge pull request #1872 from sparkle-project/http-headers-releasenotes
...
Pass http headers and user agent when downloading release notes
2021-06-19 17:28:23 -07:00
Zorg
d794a2d803
Merge branch '2.x' into selective-critical
2021-06-18 00:21:53 -07:00
Zorg
b1f9bff9a1
Pass http headers and user agent when downloading release notes
2021-06-17 20:29:33 -07:00
Mayur Pawashe
c548721e16
Merge pull request #1871 from sparkle-project/restore-removed-initializers
...
Restore more removed SUAppcastItem initializer methods
2021-06-17 20:13:40 -07:00
Zorg
eeb24ed92d
Restore more removed SUAppcastItem initializer methods
2021-06-17 19:50:37 -07:00
Mayur Pawashe
66de9697f3
Merge pull request #1868 from sparkle-project/xcode13
...
Upgrade and fix Xcode 13 warnings
2021-06-17 00:39:31 -07:00
Mayur Pawashe
cb1e58e309
Merge pull request #1870 from tonyarnold/restore-suappcastitem-public-init
...
Restore public initializer for SUAppcastItem
2021-06-17 00:37:04 -07:00
Tony Arnold
24a0485e98
Restore public initializer for SUAppcastItem
...
Closes #1869
2021-06-16 09:56:19 +10:00
Zorg
29e7ad4495
Merge branch '2.x' into selective-critical
2021-06-12 22:33:21 -07:00
Zorg
961605c6d6
Upgrade macOS and Xcode versions for CI
2021-06-11 22:50:32 -07:00
Zorg
2b8d2a2be7
Set SDKROOT to macosx instead of nothing
2021-06-11 22:42:52 -07:00
Zorg
dfdd6ac978
Update last upgrade version of project files
2021-06-11 22:40:57 -07:00
Zorg
52f3337eda
Enable parallelizing building of targets
...
Not doing this is deprecated in Xcode 13.
2021-06-11 22:35:41 -07:00
Zorg
defa8e4332
Add Sparkle.framework as dependency to Distribution
2021-06-11 22:34:55 -07:00
Zorg
3636e22cc5
Fix sparkle-cli not linking/embedding Sparkle.framework
2021-06-11 22:26:28 -07:00
Zorg
50ba774bbe
Fix -Wcompletion-handler warnings
2021-06-11 22:25:14 -07:00
Mayur Pawashe
432f10f804
Merge pull request #1867 from danielpunkass/xcode13-fix-cgimage
...
Fix the build with Xcode 13 by explcitly importing ImageIO
2021-06-11 18:49:08 -07:00
Daniel Jalkut
232ce2543e
Fix the build with Xcode 13 by explcitly importing ImageIO. Previously it was being implicitly imported along with Foundation.
2021-06-09 14:04:26 -04:00
Mayur Pawashe
efe1c8c02e
Merge pull request #1866 from sparkle-project/configuration-cleanup
...
Configuration cleanup
2021-06-07 19:25:23 -07:00
Zorg
1697c7966c
Fix unit tests from not building
2021-06-06 20:26:03 -07:00
Zorg
5203518fbd
Remove allowing downgrades
...
Downgrades hasn't worked properly with choosing the best appcast selection in a long long time.
2021-06-06 19:40:58 -07:00
Zorg
9fd2e72913
Fix missing implementation method in sparkle-cli
2021-06-06 19:38:00 -07:00
Zorg
ff83896e01
Set app category for InstallerProgress agent tool
2021-06-06 19:36:56 -07:00
Zorg
89ecb88f2b
Define DEBUG=0 for release builds
2021-06-06 19:35:15 -07:00
Zorg
4825ac5d62
Remove outdated comments
2021-06-06 19:31:30 -07:00
Zorg
e2723717f1
Don't link to AppKit and WebKit explicitly
2021-06-06 19:26:49 -07:00
Zorg
b6956a480d
Don't include WebKit implementation when not building UI bits
2021-06-06 19:26:25 -07:00
Zorg
7f87d8842e
Add missing appkit prevention includes
2021-06-06 19:16:51 -07:00
Zorg
cbd1503c06
Add configuration option to not build UI bits
2021-06-06 19:09:19 -07:00
Zorg
eda1b4bdaa
Remove SparkleCore target and use <> imports
...
In some cases for shared headers in downloader XPC Service or generate_appcast / sign_update tools, I had to do a little dance for using double quote imports.
2021-06-06 18:38:49 -07:00