Zorg
b9a416d700
Try only outputting first 4096 bytes from analyze output
2025-05-01 10:20:56 -04:00
Zorg
b2480ebae5
Merge branch '2.x' into no-pre-c11-compat
2025-05-01 09:44:25 -04:00
Zorg
2e9327de8f
Revert "Revert "Add -Wno-pre-c11-compat to compiler warnings""
...
This reverts commit 9d3474411e .
2025-05-01 09:44:09 -04:00
Zorg
8e30a08291
Avoid using set-output in GitHub Actions ( #2399 )
2025-05-01 09:42:57 -04:00
Zorg
9d3474411e
Revert "Add -Wno-pre-c11-compat to compiler warnings"
...
This reverts commit 4461576f61 .
Testing if CI is still happy.
2025-05-01 07:59:31 -04:00
Zorg
d66643d429
Merge branch '2.x' into no-pre-c11-compat
2025-04-30 21:33:24 -04:00
Zorg
fea50c33c8
Add private module map ( #2722 )
...
Require importing explicit submodules for private functionality.
2025-04-30 21:30:59 -04:00
Zorg
4461576f61
Add -Wno-pre-c11-compat to compiler warnings
2025-04-30 17:40:23 -04:00
Daniel Jalkut
afc4179c0d
Rework the logic for avoiding re-sending the system profile more frequently than once a week ( #2720 )
...
So that it will not use a potentially problematic binary compare operation.
Fixes #278 .
2025-04-28 20:40:08 -04:00
Zorg
f3cd2b9ff9
Make -[SPUUserDriver showUpdateInFocus] optional ( #2717 )
...
When this method is not implemented, the updater assumes already presented updates cannot be brought in utmost focus.
2025-04-12 13:25:23 -07:00
Zorg
3b39b400e1
Set STRINGS_FILE_OUTPUT_ENCODING = binary in xcconfig ( #2716 )
2025-04-01 21:05:43 -07:00
Nicolas Kick
1dec7ddce9
Set STRINGS_FILE_OUTPUT_ENCODING build setting to "binary" ( #2712 )
2025-04-01 20:24:38 -07:00
Zorg
3e3d573d08
Fix compiler warnings for Xcode 16.3 ( #2709 )
...
Also silence project upgrade warnings.
2025-03-23 07:26:30 -07:00
Zorg
057702e757
Fix Sparkle not building when SPARKLE_COPY_LOCALIZATIONS=0 ( #2707 )
2025-03-22 13:41:57 -07:00
Will Fairclough
997778dd2d
Improves bsdiff performance by preventing excessive iterations when processing similar data blocks ( #2693 )
...
* Port bsdiff optimizations for diffing large blocks that only differ by less than 8 bytes
* Retrigger CI
* Bump the minor version for major 2, 3, and 4
* Comments for ChromiumOS ported commits
2025-03-10 21:22:26 -07:00
Sjur N Moshagen
16819179a0
Typo in NN localisation ( #2694 )
2025-03-10 21:10:13 -07:00
Sparkle-Bot
0ca3004e98
Update Package management files for version 2.7.0
2.7.0
2025-02-02 22:21:32 +00:00
Zorg
edacb83e50
Update CHANGELOG for recent 2.7 changes
2025-02-03 06:46:01 +09:00
Zorg
62a1908333
Remove SPARKLE_BUILD_DMG_SUPPORT option ( #2690 )
2025-01-20 20:53:35 -08:00
Zorg
19ff91d93d
Process recovery suggestion from Sparkle update error messages in UI alert ( #2689 )
...
Also update read-only mount localization string to remove extraneous comma
2025-01-20 20:46:12 -08:00
Zorg
587aa028e6
Upload temporary sparkle_dist tarball instead of sparkle-dist ( #2681 )
...
The release workflow on GitHub uploads files that match "Sparkle-*" which apparently now includes sparkle-dist.tar.xz even though it's not capitalized. Rename the file to sparkle_dist to work around this.
2024-12-27 10:46:29 -08:00
Sparkle-Bot
f9a3d95ce0
Update Package management files for version 2.7.0-beta.1
2.7.0-beta.1
2024-12-27 15:56:11 +00:00
Zorg
4ad4255672
Specify macOS requirement for aar files
2024-12-27 07:50:22 -08:00
Zorg
92c78f3c27
Update CHANGELOG for 2.7.0
2024-12-25 08:21:15 -08:00
Zorg
73695f6913
Clarify that default channel must be in allowed channels set ( #2676 )
2024-12-08 20:56:31 -08:00
Zorg
e13e63c85e
Improve unable decode private key error messages ( #2675 )
2024-12-08 17:47:08 -08:00
Zorg
9902f2fb05
Use default NSURLRequest timeoutInterval (currently 60s) ( #2673 )
2024-12-08 17:24:39 -08:00
Zorg
1ca60d5ab6
Add option to verify updates before extraction ( #2667 )
...
Adds an opt-in option (SUVerifyUpdateBeforeExtraction) to enforce verifying updates before extracting them for stronger security. EdDSA signing is required to use this option. As fallback in case EdDSA keys are lost, disk image archives's code signatures are validated assuming it's Developer ID signed. Key rotation is still possible.
Apple Archives (aar, yaa) now require using this option.
2024-12-08 16:31:26 -08:00
Zorg
597825d111
Make binary delta version 4 the default ( #2668 )
2024-12-07 14:46:23 -08:00
Zorg
2c95fa406a
Bump CI runner to Xcode 16.1 / macOS 15 ( #2659 )
2024-11-10 21:49:47 -08:00
Zorg
8fcdac1e6c
Avoid assert/crash when app is moved before update alert shows ( #2658 )
...
Note this puts Sparkle and possibly the rest of the app running in an unsupported state even a crash doesn't occur when showing an update alert.
2024-11-10 19:43:32 -08:00
Zorg
d04faabe7d
Don't allow removal of signing keys more strictly ( #2647 )
...
* Don't allow removal of (Ed)DSA keys for pre-validated updates (delta updates, .aar updates)
* Don't allow removal of code signing identity in new update (at minimum, an adhoc signature can be used)
2024-10-20 18:14:05 -07:00
fujisoft
ebf75782f8
Fix typo in LICENSE ( #2648 )
2024-10-19 21:17:20 -07:00
Zorg
14ba9efc51
Use crc32 hashes for binary delta version 4 ( #2638 )
...
This is more efficient than SHA1.
2024-10-13 16:58:54 -07:00
Zorg
f3dc125d8c
Skip preflight update check in sparkle-cli if user is root ( #2645 )
2024-10-12 16:41:36 -07:00
Zorg
544c642483
Deprecate custom version comparators ( #2639 )
2024-10-06 21:30:07 -07:00
Eitot
ad3c8b5dc7
Fix typo in Dutch localisation ( #2642 )
2024-10-06 21:12:03 -07:00
Zorg
ef9bc6ef58
Fix CI by using Xcode 16 instead of 16.1 betas
2024-09-29 18:31:59 -07:00
Zorg
6848a88abc
Preserve bundle creation date when creating and applying delta updates ( #2583 )
...
This will preserve the file creation date of the new app bundle, but not the file creation date of any of the files inside the new app bundle because tracking those changes is complex/undesirable.
This bumps the major binary delta version to 4. A new test has been added for testing that the new bundle creation date is also preserved.
2024-09-29 18:25:38 -07:00
Zorg
8de8db001e
Fix shared classes being defined both in unit tests and Sparkle ( #2629 )
...
For the unit tests, we will rename the classes so they don't conflict.
2024-09-16 17:03:59 -07:00
Zorg
8f8842214b
Update CI to Xcode 15.4 and Xcode 16.1 beta ( #2628 )
2024-09-15 07:20:24 -07:00
Zorg
661540d088
Improve robustness around dmg passwords ( #2627 )
...
* Handle failing to extract password protected disk images even when a decryption password isn't provided.
* Propagate error with more information when hdiutil attach fails.
* Wait for detaching disk images for unit tests (fixes not being able to run tests repeatably).
2024-09-15 06:58:00 -07:00
Zorg
a5c26b5cdf
Call update permission prompt delegate method only when needed ( #2622 )
...
The delegate method is not called if SUEnableAutomaticChecks is specified in the Info.plist (now) or if the user has responded to a permission prompt request.
Also fixes a respondsToSelector check in legacy SUUpdater adaptor (fixes #2618 ).
2024-09-08 17:21:36 -07:00
Zorg
8f86cad4a2
Retry extracting zip file without piping if extraction fails ( #2616 )
...
This is to workaround a bug in ditto prior to macOS 15.
2024-09-02 17:21:50 -07:00
Zorg
8bc4976a2c
Use FileHandle for reading base64 secret key from file ( #2615 )
...
Fixes process substitution failing to work for providing the private key as file argument (#2605 ).
2024-08-30 17:48:59 -07:00
Zorg
ed987512f6
Make horizontal hugging priority required for status text field ( #2614 )
2024-08-26 10:32:01 -07:00
Zorg
04ad482d59
Update softprops/action-gh-release to version 2 ( #2574 )
2024-08-18 16:30:29 -07:00
Zorg
fa4eaa977c
Merge branch '2.6.x' into 2.x
2024-06-30 16:41:35 -07:00
Zorg
e9726ff718
Update change log for 2.6.4
2024-06-30 16:40:08 -07:00
Sparkle-Bot
0ef1ee0220
Update Package management files for version 2.6.4
2.6.4
2024-06-29 23:44:15 +00:00