… openssl. Fixes bug 793221.
…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.
…ge reason, there were two.
…targets, because it's already in the framework target.
…lready specified in the xcconfig.
…ed in the xcconfig.
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
…ons, it was possible for an SUUpdater to be dealloced before registerAsObserver was called, which in turn made an exception get thrown on unregisterAsObserver.
…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].
mmap()ing empty files caused EINVAL to be returned and _hashOfFile would return an incorrect result. This has been rectified.
…n\nAlso, switching to Clang because hoorah.
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.
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.