lp:~bdash/sparkle/delta-updates

Created by Mark Rowe and last modified
Get this branch:
bzr branch lp:~bdash/sparkle/delta-updates
Only Mark Rowe can upload to this branch. If you are Mark Rowe please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mark Rowe
Project:
Sparkle
Status:
Experimental

Recent revisions

355. By Mark Rowe

Rework the BinaryDelta tool to use NSOperationQueue in order to be slightly more portable.
There's slightly less concurrency as a result as all archiving operations are now performed
serially on the main thread. Since these make up a small percentage of the overall runtime,
the increased portability makes this a reasonable tradeoff.

354. By Mark Rowe

Fix warnings and binary compatibility issues that crop up when building the BinaryDelta tool against different SDKs.

353. By Mark Rowe

Link against a static build of libxar as libxar.dylib didn't ship on Tiger.

352. By Mark Rowe

Add an unarchiver for the delta format so that Sparkle can successfully install the delta updates.

351. By Mark Rowe

Add support for parsing an extended <sparkle:deltas> element in the appcast that describes
the delta updates that are available for a given version.

The appcast would look a little something like the following:

<enclosure url="http://you.com/app/Your Great App 2.0.zip" sparkle:version="2.0" length="1623481" type="application/octet-stream" sparkle:dsaSignature="BAFJW4B6B1K1JyW30nbkBwainOzrN6EQuAh" />
<sparkle:deltas>
    <enclosure url="http://you.com/app/Your Great App 1.5 to 2.0.delta" sparkle:version="2.0" sparkle:deltaFrom="1.5" length="642381" type="application/octet-stream" sparkle:dsaSignature="MCa1JyW30nbkBwaC0CFBfeinOzrN6EQuAh=" />
    <enclosure url="http://you.com/app/Your Great App 1.4 to 2.0.delta" sparkle:version="2.0" sparkle:deltaFrom="1.4" length="928231" type="application/octet-stream" sparkle:dsaSignature="B6B1K1JyW30nbkBDBfeinOAszrN6Ea1JyW3" />
</sparkle:deltas>

350. By Mark Rowe

Add a command-line tool that can generate and apply a binary delta between two versions of an application.

The delta file is a custom format created from the xar container format. It describes the necessary
modifications to transform the contents of the old directory in to the contents of the new. Binary
diffs are used to compress the differences between large files such as Mach-O binaries. The binary
diffs are generated by bsdiff and applied via bspatch, both from bsdiff 4.3, the source of which is
included and used under a BSD-style license.

349. By Andy Matuschak

Fixing the behavior of one of the build scripts when run multiple times; thanks for the patch, Stuart.

348. By Andy Matuschak

Merging in a fix to a bug which caused the user agent string not to be null-terminated.

347. By Andy Matuschak

Added missing "Cancel Update" string.

346. By Andy Matuschak

Added Icelandic localization courtesy Steingrímur Árnason.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers