Jeff Johnson
69407123ba
Let Xcode add developmentRegion to the project.
2011-03-25 18:58:11 -05:00
Andy Matuschak
096d43a7a6
Updated Slovak localization; thanks to Rudolf Gavlas
2011-03-01 18:55:58 -08:00
Andy Matuschak
00b67269d6
Bug #681912 : Sparkle naively double-escapes enclosure URLs
2010-11-26 12:07:32 -08:00
Andy Kim
5fe0a7cb59
Merge branch 'master' of git://github.com/andymatuschak/Sparkle
2010-11-25 02:22:37 -08:00
Adam Wróbel
7baf50506b
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.
2010-10-15 01:27:14 +08:00
Adam Wróbel
40616b864a
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
2010-10-15 01:27:12 +08:00
Andy Matuschak
561bbbe294
Because of the way Sparkle forces SUUpdaters to be per-bundle singletons, it was possible for an SUUpdater to be dealloced before registerAsObserver was called, which in turn made an exception get thrown on unregisterAsObserver.
2010-09-13 10:28:18 -07:00
Andy Matuschak
fba7231261
We used to not register SUUpdater as an observer of the shared user defaults 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].
2010-09-10 17:16:31 -07:00
aidansteele
b3ac18f173
Forgot to close dangling file descriptor in previous commit.
2010-08-24 22:58:56 +08:00
aidansteele
e2a59fccb2
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.
2010-08-24 22:58:55 +08:00
Andy Matuschak
a8f26b16c2
Merge branch 'master' of git@github.com:andymatuschak/Sparkle
2010-07-30 21:08:56 -07:00
Andy Matuschak
b7a3999da8
[Bug 611564] [NEW] sparkle fails to build with clang due to -Werror.\n\nAlso, switching to Clang because hoorah.
2010-07-30 21:08:11 -07:00
Andy Matuschak
a5c8e0b1e2
No longer hardcoding the Installer tool's relative executable path for Tiger.
2010-07-27 18:35:04 -07:00
Lukhnos D. Liu
2768e60ce1
Properly escapes the GET parameters in the appcast string with profile.
2010-07-23 13:08:39 +08:00
Andy Matuschak
9075d4a037
Fixing 603197: Package Installs Crash on 10.4
2010-07-08 22:37:28 -07:00
Andy Matuschak
da35ef695b
Fixing #601842 : Chromium crashes when 'Install and Relaunch' is clicked
2010-07-05 12:18:22 -07:00
Andy Matuschak
394319e1fc
Merge branch 'master' of git@github.com:andymatuschak/Sparkle
2010-06-20 17:20:29 -07:00
Daniel Jalkut
0c6e6fdd84
Plug leak in SUAppcastItem caused by neglecting to release minimumSystemVersion.
2010-06-20 17:20:04 -07:00
Vaclav Slavik
39bb82bd9a
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.
2010-06-21 01:43:46 +08:00
Andy Matuschak
25d7faea7b
Updates to the Czech localization.
2010-06-09 13:16:39 -07:00
Andy Matuschak
a0c2de60d3
Merge branch 'master' of git@github.com:andymatuschak/Sparkle
2010-06-08 20:48:52 -07:00
Andy Matuschak
e8299fd116
Fixing 578060: minor Spanish localization fix
2010-06-08 20:47:20 -07:00
Vaclav Slavik
4548228238
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.
2010-06-07 02:19:51 +08:00
Andy Matuschak
fe1372c962
Fixing 572066: some fixes to the Japanese localization.
2010-05-04 13:42:27 -07:00
Andy Matuschak
a6fcfa61b5
Fixing ridiculous error in the last commit caused by non-initialization of a variable. See bug #571486 . Sorry about that, all.
2010-04-28 16:37:04 -07:00
Andy Matuschak
c34e9b3c34
Added an extra null check to SUAppcast downloadDidFinish because NSXMLDocument and NSFileManager throw exceptions on nil arguments. See bug 456514.
2010-04-28 00:45:45 -07:00
Andy Matuschak
ea81eeec57
Fixing bug 570023; two minor localization changes.
2010-04-26 01:14:47 -07:00
Andy Matuschak
19ae8506ab
Removing extraneous -L and -F flags that were causing warnings.
2010-04-09 13:28:00 -07:00
Andy Matuschak
803676d56a
Landing delta-updates.
2010-03-27 17:06:51 -07:00
Andy Matuschak
5975703b13
Fixed some silly compiler warnings.
2010-03-27 17:03:07 -07:00
Andy Matuschak
ecd2ce227b
Fixing 527923: a minor Spanish localization layout bug.
2010-02-27 16:39:17 -08:00
Andy Matuschak
3f502b6151
Fixing bug #527318 , some minor Spanish layout issues.
2010-02-25 00:47:39 -08:00
Andy Matuschak
fb43787317
Fixing bug #527318 , some minor Spanish layout issues.
2010-02-25 00:46:57 -08:00
Uli Kusterer
f81bfd9f1c
Move ThreadSafePreferences.h dummy compatibility header to a different spot in Groups & Files.
2010-02-21 18:29:56 +01:00
Uli Kusterer
24ebb7b379
SUUpdateAlert.xib: Shut up warnings about offscreen windows and clipped content.
2010-02-21 18:29:23 +01:00
Uli Kusterer
2460f2fcf7
SUUpdateAlert.nib: Made sure all installButton outlets are hooked up. Converted from NIB to XIB.
2010-02-21 18:25:01 +01:00
Uli Kusterer
401e696590
Restore support for enclosure-less appcast items. If they have a sparke:version tag at the same level as the enclosure would be (as opposed to as an attribute on the enclosure), and no enclosure, but a "link" tag, the link tag's contents will be used as the URL for a "More Info" button to replace the "install" button.
...
Use this for paid updates, where you want to redirect users to your store page instead of installing an update they don't have a license key for.
2010-02-21 18:09:39 +01:00
Uli Kusterer
29035199f3
That checkbox was way too narrow.
2010-02-21 15:12:29 +01:00
Uli Kusterer
b4210d8f61
Use symbolic constants, that's what they're for ;-)
2010-02-21 14:06:49 +01:00
Andy Matuschak
c120af6b1f
Fixed the "You're up-to-date!" string in the German localization to use hyphens.
2010-02-10 12:46:05 -08:00
max
96ea09e44f
Fixed a crash causes by a additional autorelease.
2010-01-27 18:43:11 +01:00
Andy Matuschak
f5a1b1c27d
Fixing #511784 : Subclass of SUBasicUpdateDriver can't find relauncher
2010-01-24 11:00:35 -08:00
Andy Matuschak
5cdfffa521
Fixing #511784 : Subclass of SUBasicUpdateDriver can't find relauncher
2010-01-24 10:58:43 -08:00
Andy Matuschak
a5245accf4
Fixed a few local-vs-ivar variable ambiguities.
2010-01-11 10:19:12 -08:00
Andy Matuschak
9bc63ccf7e
Merge commit 'bdash/delta-updates'
...
This is a big one, guys. Haven't tested the new features in the merged branch yet.
2010-01-11 00:49:28 -08:00
Andy Matuschak
2e3ed79753
Fixing #502212 : clang static analyzer identifies 2 leaks in Sparkle code
2010-01-11 00:28:49 -08:00
Andy Matuschak
da3b5c2570
Updated Russian localization courtesy Alexandr.
2010-01-06 17:45:06 -08:00
Sean McBride
756b37d4a5
code review of CFRelease usage, minor changes
2010-01-04 20:47:55 -05:00
Sean McBride
36b7d434ad
fixed extra ref count, half of bug #502212
2010-01-04 20:09:42 -05:00
Sean McBride
b21b308203
all but a few places use the typical [[[foo alloc] init] autorelease] pattern, removed 3 explicit releases and use autorelease instead. There are now only 2 exceptions to this pattern left. One is probably justified, the other looks like a leak.
2010-01-01 00:53:30 -05:00