Zorg
c30f6fe7fb
Calculate hash of file for delta updates without using mmap ( #2067 )
2022-01-18 00:04:40 -08:00
digitalMoksha
403209b818
Preserve the Entitlements directory in podspec ( #2062 )
...
In order to code sign Sparkle when installing via a Pod, the `Entitlements` directory needs to be available.
2022-01-16 12:53:09 -08:00
Zorg
1641371e83
Warn and validate against irregular permissions for delta patches ( #2061 )
...
* Only track 0755 permissions for symbolic links
Also warn the user when encountering symbolic links that have a non-standard permission mode.
* Warn users when bad or irregular permissions are encountered
2022-01-15 23:00:59 -08:00
Zorg
1f538981c3
Reference XPC Service names from build setting variables ( #2060 )
2022-01-13 19:25:47 -08:00
Zorg
0a152ed02d
Update FileManager APIs ( #2059 )
2022-01-09 22:30:10 -08:00
Zorg
b05c058219
Silence deprecations and use modern NSSecureCoding APIs ( #2058 )
2022-01-09 19:25:28 -08:00
Zorg
3bd1b25513
Simplify tracking of file permissions for deltas ( #2057 )
...
Also fixes minor issue where change in permissions wasn't printed in correct format when applying a patch in verbose mode.
2022-01-09 18:20:50 -08:00
Zorg
41f953d77b
Fix minor binary delta issues and make version 3 the default ( #2055 )
2022-01-08 21:23:15 -08:00
Zorg
51ee14c3d3
Add UI tests for delta updates and automatic updates ( #2054 )
2022-01-08 18:05:07 -08:00
Zorg
f6396aecfb
Add heuristics for binary delta when files move to other directories ( #2053 )
...
We have one heuristic for when a .framework version changes, and another for when a file with the same name moves to another location.
To support this, we added a clone + binary diff command.
Also document and improve the format.
2022-01-08 11:48:27 -08:00
Zorg
71fc8d7b11
Add additional options to delta tools ( #2052 )
2022-01-04 00:14:45 -08:00
Zorg
23fc577184
Add new version 3 binary delta archive format ( #2051 )
...
This new format introduces:
* A new container format which stores metadata in a way that is more efficient for compression, decompression, and size. Creation time can be 2x faster, apply time can be a few seconds faster, size savings can be 500 KB - couple of MB due to metadata alone.
* An array of supported compression formats including lzma, bzip2, zlib and more. We now default to lzma which is as competitive as bzip2 (which we were using in version 2 format) in applying/creation times, but can save several MB on size.
* Tracking of files from an old app being replicated in different locations in the new app. This can track unchanged files being renamed and can result in significant savings if the files are large.
Version 2 format is still the default. To use version 3, pass --version=3 to BinaryDelta when creating a patch. We will switch the default to version 3 later. generate_appcast support is upcoming.
2022-01-02 11:35:51 -08:00
Zorg
a1add127eb
Update pull request templates and Xcode CI version to 13.2.1 ( #2048 )
2021-12-29 23:23:55 -08:00
Zorg
fc44085602
Isolate xar usage in its own archive type for delta patches ( #2047 )
...
Also remove support for creating and applying version 1 delta files. Version 2 delta files have been supported by Sparkle 1.10 and later.
2021-12-29 22:41:08 -08:00
Sparkle-Bot
85d3fa2e0e
Update Package management files for version 2.0.0
2.0.0
2021-12-26 22:59:45 +00:00
Zorg
81b281b596
Fix readme typo
2021-12-26 14:43:44 -08:00
Zorg
ee3f8f3285
Update changelog and readme for Sparkle 2 ( #2040 )
2021-12-26 14:42:31 -08:00
Zorg
26f1209fe9
Fix incorrect xz log warning in make release (2.x) ( #2045 )
2021-12-25 00:52:56 -08:00
Sparkle-Bot
2195ee0883
Update Package management files for version 2.0.0-rc.1
2.0.0-rc.1
2021-12-12 05:35:16 +00:00
Zorg
92c8142354
Fix Cocoapods badge URL
2021-12-11 19:57:32 -08:00
Zorg
1d04bd44ab
Update README ( #2038 )
...
Add SPM compatible badge. Update for soon anticipated release of Sparkle 2.
2021-12-11 19:54:39 -08:00
Zorg
017f8f733e
Add and update Carthage binary json distribution file on release ( #2036 )
2021-12-11 11:07:39 -08:00
Eitot
b37fa239db
Update Dutch and German localization ( #2034 )
2021-12-08 17:52:51 -08:00
Sparkle-Bot
831e9b4eb7
Update Package.swift and Sparkle.podspec for version 2.0.0-beta.6
2.0.0-beta.6
2021-12-06 07:11:10 +00:00
Zorg
0a19f6f30d
Document how to implement error based delegate methods in Swift ( #2033 )
2021-12-05 22:56:48 -08:00
Zorg
3a64116913
Update and review internal documentation ( #2030 )
2021-12-04 22:59:17 -08:00
Zorg
1ef42e9d1c
Add apfs dmg unarchiving test ( #2028 )
2021-11-25 15:53:19 -05:00
Zorg
c500487077
Improve pipe usage when unarchiving files ( #2027 )
2021-11-24 19:21:53 -05:00
Zorg
acc4674c3e
Fix volume detection being wrong in rare cases ( #2026 )
2021-11-24 11:33:04 -05:00
Zorg
39cedd4092
Fix unarchiving job being blocked when passed bad input ( #2023 )
2021-11-24 11:16:31 -05:00
Zorg
4517d61db5
Clarify signing error better ( #2022 )
2021-11-23 12:51:03 -05:00
Zorg
18fe269949
Update issue templates and minor capitalization issue ( #2024 )
2021-11-15 18:36:53 -08:00
Zorg
3a9c257691
Sync CHANGELOG with 1.x
2021-11-12 21:18:01 -08:00
Zorg
3fcc87086c
Use user agent of updater bundle instead of the host bundle ( #2020 )
2021-11-12 21:09:31 -08:00
Zorg
4b6527424a
Revert monotonic timer ( #2018 )
2021-11-12 15:14:01 -08:00
Sparkle-Bot
1adbbccf5e
Update Package.swift and Sparkle.podspec for version 2.0.0-beta.5
2.0.0-beta.5
2021-11-08 07:40:57 +00:00
Zorg
d792a3a4a9
Fix create-draft-release not including pre-release suffix
2021-11-07 23:10:36 -08:00
Zorg
32bc43fa9b
Update CHANGELOG to sync 1.27.1 changes
2021-11-07 20:13:49 -08:00
Zorg
4b9388d9aa
Add full release notes link flag to generate_appcast ( #2015 )
2021-11-07 19:52:03 -08:00
Zorg
c53ed49e5e
Prevent potential rapid update checks using monotonic clock (2.x) ( #2002 )
2021-11-07 17:20:19 -08:00
Zorg
011a7dbb36
Revert "Use NSPanel for Sparkle windows to allow untitled windows form Dock ( #2005 )"
...
This reverts commit 52511a2b1c .
Reverting due to extended discussion in #2005
2021-11-07 16:28:02 -08:00
Ethan Wong
fb1f5aafbe
Launch test app in English for UI Tests for prevent local test failure. ( #2014 )
2021-11-07 15:08:43 -08:00
Ethan Wong
52511a2b1c
Use NSPanel for Sparkle windows to allow untitled windows form Dock ( #2005 )
2021-11-07 09:03:55 -08:00
Zorg
5b312aa63e
Fix null deference analyzer warnings ( #2011 )
2021-11-06 18:49:45 -07:00
Zorg
7cec9dbbe0
Ensure analyze step is only ran during pull requests
2021-11-06 18:07:37 -07:00
Zorg
dde2b48af7
Post analyzer warnings in CI ( #2010 )
2021-11-06 17:59:30 -07:00
Zorg
9b6f962b31
Clarify documentation for canCheckForUpdates / sessionInProgress ( #2009 )
2021-11-06 15:38:25 -07:00
Zorg
1cba9f466d
Whitelist about:srcdoc as a safe web URL ( #2006 )
...
The document I tested (after enabling javascript) was:
<description>
<![CDATA[
<p>Hello</p>
<script>
var iframe = document.createElement("iframe");
iframe.srcdoc = `<!DOCTYPE html><p>Hello World!</p>`;
document.body.appendChild(iframe);
</script>
]]>
</description>
2021-11-06 14:52:09 -07:00
Zorg
dbe1ae94f9
Update documentation, readme, changelog ( #2004 )
2021-11-06 02:17:49 -07:00
Zorg
45956ae5b0
Support relative links for fullReleaseNotesLink and enforce http(s) ( #2003 )
2021-11-06 01:56:50 -07:00