Switch branches/tags
Nothing to show
Commits on Nov 26, 2010
Commits on Oct 14, 2010
  1. Call EVP_MD_CTX_init and EVP_MD_CTX_cleanup.

    According to openssl documentation EVP_Verify should be accompanied by
    calls to EVP_MD_CTX_init and _cleanup to avoid memory leaks. Not sure, but
    adding for conformity's sake.
    Adam Wróbel committed with andymatuschak Oct 14, 2010
  2. Generate keys that actually work with openssl.

    According to FIPS 186-2 standard DSA keys should be >= 512 and <= 1024 bits.
    Using a 2048 bit key on my system yields an openssl error in Sparkle's
    SUDSAVerifier and causes the update to be rejected.
    The error says (can be read only after hacking on Sparkle's code):
    error:0A071066:dsa routines:DSA_do_verify:bad q value
    Adam Wróbel committed with andymatuschak Oct 14, 2010
Commits on Sep 13, 2010
  1. Because of the way Sparkle forces SUUpdaters to be per-bundle singlet…

    …ons, it was possible for an SUUpdater to be dealloced before registerAsObserver was called, which in turn made an exception get thrown on unregisterAsObserver.
    andymatuschak committed Sep 13, 2010
Commits on Sep 11, 2010
  1. We used to not register SUUpdater as an observer of the shared user d…

    …efaults controller if we were running as a bundle. The performance win is minimal, and if I stop doing that, we won't accidentally try to unregister as an observer and bother developers who break on [NSException raise].
    andymatuschak committed Sep 11, 2010
Commits on Aug 24, 2010
  1. Fixed delta updates bug wherein updates fail on empty file.

    mmap()ing empty files caused EINVAL to be returned and _hashOfFile
    would return an incorrect result. This has been rectified.
    aidansteele committed with andymatuschak Aug 23, 2010
Commits on Jul 31, 2010
  1. [Bug 611564] [NEW] sparkle fails to build with clang due to -Werror.\…

    …n\nAlso, switching to Clang because hoorah.
    andymatuschak committed Jul 31, 2010
Commits on Jul 28, 2010
Commits on Jul 23, 2010
Commits on Jul 9, 2010
Commits on Jul 5, 2010
Commits on Jun 21, 2010
Commits on Jun 20, 2010
  1. Don't compress in bsdiff.

    bsdiff-produced patch is included in xar archive, where it's compressed
    with bzip2 a second time. Leaving the bsdiff output uncompressed makes
    it possible to compress it better in xar (e.g. using LZMA2 or gzip,
    either of which performs better on some files).
    Changes header signature of bsdiff patch file to BSDIFN40 to clearly
    mark the format as different.
    Backward compatibility is preserved, bspatch can read both BSDIFF40 and
    BSDIFN40 formats.
    vslavik committed with andymatuschak Jun 1, 2010
Commits on Jun 9, 2010
Commits on Jun 6, 2010
  1. Fix 10.4 compatiblity broken by delta updates.

    Delta updates code uses libxar, which is only available in 10.5+, and
    Sparkle framework fails to load on 10.4 because of it. Instead of having
    hard dependency on libxar, Sparkle now links with it weakly and checks
    for its availability at runtime.  This required bumping Xcode project
    compatibility to 3.2 to get weak linking support.
    With this change, delta updates are still not supported on 10.4, but
    Sparkle runs there again and just ignores the deltas. This should be
    good enough given 10.4's age and shrinking user base.
    vslavik committed with andymatuschak Jun 6, 2010
Commits on May 4, 2010
Commits on Apr 28, 2010
  1. Fixing ridiculous error in the last commit caused by non-initializati…

    …on of a variable. See bug #571486. Sorry about that, all.
    andymatuschak committed Apr 28, 2010
  2. Added an extra null check to SUAppcast downloadDidFinish because NSXM…

    …LDocument and NSFileManager throw exceptions on nil arguments. See bug 456514.
    andymatuschak committed Apr 28, 2010
Commits on Apr 26, 2010
Commits on Apr 9, 2010
Commits on Mar 28, 2010
  1. Landing delta-updates.

    andymatuschak committed Mar 28, 2010
Commits on Feb 28, 2010
Commits on Feb 25, 2010
Commits on Feb 10, 2010
Commits on Jan 27, 2010
Commits on Jan 24, 2010
Commits on Jan 11, 2010