Permalink
Switch branches/tags
Nothing to show
Commits on Jul 16, 2011
  1. modernization of project files

    committed Jul 16, 2011
Commits on Jun 15, 2011
Commits on May 31, 2011
Commits on May 27, 2011
  1. Added a new Info.plist key: SUPromptUserOnFirstLaunch. Set this to YE…

    …S to disable Sparkle's usual behavior of waiting 'till the second launch of an app to prompt for update permission.
    
    This is useful for apps which don't, under normal operations, get quit. Like a menu extra.
    andymatuschak committed May 27, 2011
Commits on Apr 8, 2011
Commits on Mar 26, 2011
  1. Delete redundant Sparkle in test app linked libraries. For some stran…

    …ge reason, there were two.
    lapcat committed Mar 26, 2011
  2. Don't include SUStandardVersionComparator.m in test app or unit test …

    …targets, because it's already in the framework target.
    lapcat committed Mar 26, 2011
  3. Delete reudundant GCC_DEBUGGING_SYMBOLS build setting, because it's a…

    …lready specified in the xcconfig.
    lapcat committed Mar 26, 2011
  4. Delete redundant -Wundeclared-selector, because it is already specifi…

    …ed in the xcconfig.
    lapcat committed Mar 26, 2011
Commits on Mar 25, 2011
Commits on Mar 2, 2011
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