Jake Petroules
d537efcf9b
Remove unused file.
2014-06-28 23:01:34 -04:00
Jake Petroules
f916f2e723
Replace references to andymatuschak.org with sparkle-project.org.
2014-06-28 22:58:12 -04:00
Jake Petroules
4ca9ba1ce3
Enable as many warnings as possible.
...
The codebase now compiles cleanly with -Wall -Weverything, minus a few.
2014-06-28 22:47:22 -04:00
Jake Petroules
df6dc14ace
Silence all warnings in bsdiff/bspatch.
...
Warnings should not be enabled for third party code.
2014-06-28 22:46:55 -04:00
Jake Petroules
f8b0f2c5b7
Fix warnings.
2014-06-28 22:40:44 -04:00
Jake Petroules
8c94f4bb2d
Explicitly mark unused parameters.
2014-06-28 22:40:17 -04:00
Jake Petroules
8ec5f0ca3c
Avoid variable-length arrays in C.
2014-06-28 21:17:37 -04:00
Jake Petroules
2f16e3f526
Fix warning about explicitly synthesizing properties.
2014-06-28 21:15:11 -04:00
Jake Petroules
a80eeedaeb
Add missing header to fix warnings.
...
Otherwise, SUHost is only forward declared in this context.
2014-06-28 21:14:45 -04:00
Jake Petroules
08bc0d574e
Fix use of potentially uninitialized variables.
2014-06-28 21:13:31 -04:00
Jake Petroules
c015f5e968
Don’t attempt to return from a void method.
2014-06-28 21:12:54 -04:00
Jake Petroules
76d5480313
Add missing parameter types.
2014-06-28 21:12:21 -04:00
Jake Petroules
135bcb483e
Let the compiler know that SULog is a format function.
...
This allows it to warn properly on malformed format strings.
2014-06-28 21:11:43 -04:00
Jake Petroules
e2854d3a29
Add explicit casts for type conversions.
...
The +0 and >>0 in SUDSAVerifier are present for readability;
the compiler is more than capable of optimizing them into nothing.
2014-06-28 21:10:53 -04:00
Jake Petroules
ef5a0a997d
Make string constants static as they are not used outside the translation unit.
2014-06-28 21:08:49 -04:00
Jake Petroules
74158c6da9
Add missing extern declaration.
2014-06-28 21:08:08 -04:00
Jake Petroules
e5d0015185
Don’t compare floating point values with ==
2014-06-28 21:07:23 -04:00
Jake Petroules
d390a58f72
BOOL is a signed char; make sure it’s only ever YES or NO, not in [2, 255].
2014-06-28 21:04:57 -04:00
Jake Petroules
435f89c11f
Replace id with specific types where appropriate.
2014-06-28 21:02:33 -04:00
Jake Petroules
9984eb9ba3
Remove unused exception parameters.
2014-06-28 21:00:14 -04:00
Jake Petroules
89f5c6eb4b
Add __attribute__((noreturn)) to hint for compiler optimizations.
...
exit() logically guarantees the method will never return;
this attribute allows the compiler to optimize for this case.
2014-06-28 20:58:14 -04:00
Jake Petroules
9c787a08aa
Remove trailing semicolons.
2014-06-28 20:55:48 -04:00
Jake Petroules
88bc70cb9a
Silence sign conversion warnings in third party code.
2014-06-28 20:37:38 -04:00
Jake Petroules
7262555d72
Silence CSSM warnings in SUDSAVerifier.
2014-06-28 20:35:58 -04:00
Jake Petroules
1ce94b8e2f
Xcode project: set organization name and class prefix.
2014-06-28 19:48:30 -04:00
Jake Petroules
a62180b3ac
Fix memory leak.
2014-06-28 19:42:59 -04:00
Jason Lee
e7b7094372
zh-CN translate "Learn More" button
2014-06-28 23:44:23 +01:00
Kornel Lesiński
e17d55146d
Fixed potential CFRelease of NULL, code style fixes
2014-06-28 23:38:27 +01:00
Sam Deane
98e5959461
If the downloaded update fails the code signing check, log out some more detailed information to help with diagnosing the problem.
2014-06-28 23:26:12 +01:00
Kornel
06a897ed03
Merge pull request #39 from pornel/Xcode5xibs
...
Migrate xibs to Xcode 5
2014-06-28 23:19:41 +01:00
Kornel
2348532907
Merge pull request #335 from pornel/master
...
Finish moving all informal protocols to formal protocols.
2014-06-28 21:40:58 +01:00
Kornel Lesiński
98cde3310d
Updated README
2014-06-28 21:27:44 +01:00
C.W. Betts
bb990ad172
Finish moving all informal protocols to formal protocols.
...
Fix improperly-named protocols.
2014-06-28 13:19:27 -06:00
C.W. Betts
d33cc1efd6
Migrate the SUUpdateAlert xibs to Xcode 5.
2014-06-28 11:26:16 -06:00
C.W. Betts
1eedc27e5f
Convert the xibs to Xcode 5.1 format.
...
The SUUpdateAlert wasn’t migrated in this commit because of the autolayout branch.
2014-06-28 11:24:26 -06:00
Kornel Lesiński
133a701d24
Remove option to install unverified updates
2014-06-25 02:04:41 +01:00
C.W. Betts
2459733d26
Remove unused autorelease pool class usage.
...
Do we even still use the BinaryDelta tool?
2014-06-22 19:07:43 -06:00
Kornel Lesiński
0585a22f07
Reflect version requirement in sample appcast
2014-06-22 19:41:36 +01:00
Kornel Lesiński
07a6893e1f
Release 1.7
1.7.0
2014-06-22 19:05:01 +01:00
C.W. Betts
4b119a1eed
Use more Blocks/libdispatch code.
2014-06-20 11:27:09 -06:00
C.W. Betts
c2c94bdb1f
Replace NSAutoreleasePool classes with Autorelease Pool blocks.
...
They’re faster, even if they’re used outside of ARC.
Use dispatch functions to spin off new threads.
Update the Binary Delta tool's class to be better.
2014-06-20 10:51:03 -06:00
C.W. Betts
d14e89ef53
We don’t need the NSAppKitVersionNumber10_[456] defined.
...
First, we don’t use them. Second, they should be defined since we’re targeting 10.7 and later, with at least the 10.9 SDK.
2014-06-19 19:09:41 -06:00
C.W. Betts
7bd4e56cd5
We don’t need to declare ivars in the interface block if they are only accessed via accessors.
...
This is only true because we’re targeting x86_64 on OS X. The same is true for all iOS architectures, but not i386 on OS X.
Use CFBridgingRelease in a few places: it acts just like [(id)CFMakeCollectable(obj) autorelease] on non-ARC code, but is a bit cleaner.
2014-06-19 15:32:20 -06:00
C.W. Betts
8577ed8953
Many changes:
...
Getting rid of unneeded parentheses.
Remove more pre-10.7-only code.
Add comments.
More property declarations.
Make SUUpdatePermissionPromptDelegateInformalProtocol a protocol with the name SUUpdatePermissionPromptDelegateProtocol.
2014-06-19 15:02:04 -06:00
C.W. Betts
7b8fd7c097
Remove pre-10.7 code.
2014-06-19 13:06:55 -06:00
C.W. Betts
cb15481e88
Restore setAutomaticallyDownloadsUpdates: to the SUUpdater header as a property.
2014-06-19 12:55:47 -06:00
C.W. Betts
efa8447b1f
Fix an over-release bug.
2014-06-18 13:55:52 -06:00
C.W. Betts
e140353ed5
Refer to frameworks/libraries via their SDK versions, as opposed to the system ones.
...
Rename “Apple Frameworks and Libraries” to just “Frameworks” so newly added frameworks are added there.
2014-06-18 10:37:30 -06:00
Kornel Lesiński
d6316b6d9c
Modern if syntax ;)
...
astyle -t -o -O -c -xM -z2 -U -j -H *.[mhc]
2014-06-17 20:48:00 +01:00
Kornel Lesiński
b0c9c31dc1
Modern syntax
2014-06-17 20:48:00 +01:00