Oleg Krupnov
7f1555d525
Merge branch 'master' of https://github.com/sparkle-project/Sparkle
...
# Conflicts:
# CHANGELOG
# Configurations/ConfigBinaryDelta.xcconfig
# Configurations/ConfigCommon.xcconfig
# Configurations/ConfigFramework.xcconfig
# Configurations/ConfigTestApp.xcconfig
# Configurations/ConfigUnitTest.xcconfig
# Documentation/.gitignore
# Documentation/Doxyfile
# LICENSE
# Resources/Images.xcassets/AppIcon.appiconset/Contents.json
# Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png
# Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png
# Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png
# Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png
# Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png
# Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png
# Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png
# Resources/Screenshot.png
# Resources/Sparkle.png
# Sparkle.podspec
# Sparkle.xcodeproj/xcshareddata/xcschemes/Distribution.xcscheme
# Sparkle/Autoupdate/Autoupdate-Info.plist
# Sparkle/Autoupdate/Autoupdate.m
# Sparkle/SUAppcast.h
# Sparkle/SUAppcast.m
# Sparkle/SUAppcastItem.h
# Sparkle/SUAppcastItem.m
# Sparkle/SUAutomaticUpdateAlert.h
# Sparkle/SUAutomaticUpdateAlert.m
# Sparkle/SUAutomaticUpdateDriver.m
# Sparkle/SUBasicUpdateDriver.m
# Sparkle/SUBinaryDeltaApply.m
# Sparkle/SUBinaryDeltaCommon.h
# Sparkle/SUBinaryDeltaCommon.m
# Sparkle/SUBinaryDeltaCreate.h
# Sparkle/SUBinaryDeltaCreate.m
# Sparkle/SUBinaryDeltaTool.m
# Sparkle/SUBinaryDeltaUnarchiver.m
# Sparkle/SUCodeSigningVerifier.m
# Sparkle/SUConstants.h
# Sparkle/SUDSAVerifier.h
# Sparkle/SUDSAVerifier.m
# Sparkle/SUDiskImageUnarchiver.m
# Sparkle/SUErrors.h
# Sparkle/SUExport.h
# Sparkle/SUGuidedPackageInstaller.h
# Sparkle/SUGuidedPackageInstaller.m
# Sparkle/SUHost.h
# Sparkle/SUHost.m
# Sparkle/SUInstaller.h
# Sparkle/SUInstaller.m
# Sparkle/SUPackageInstaller.m
# Sparkle/SUPipedUnarchiver.m
# Sparkle/SUPlainInstaller.m
# Sparkle/SUPlainInstallerInternals.m
# Sparkle/SUProbingUpdateDriver.m
# Sparkle/SUScheduledUpdateDriver.m
# Sparkle/SUStandardVersionComparator.h
# Sparkle/SUStatus.xib
# Sparkle/SUStatusController.m
# Sparkle/SUSystemProfiler.m
# Sparkle/SUUIBasedUpdateDriver.h
# Sparkle/SUUIBasedUpdateDriver.m
# Sparkle/SUUnarchiver.h
# Sparkle/SUUnarchiver.m
# Sparkle/SUUpdateAlert.h
# Sparkle/SUUpdateAlert.m
# Sparkle/SUUpdateDriver.h
# Sparkle/SUUpdateDriver.m
# Sparkle/SUUpdatePermissionPrompt.h
# Sparkle/SUUpdatePermissionPrompt.m
# Sparkle/SUUpdater.h
# Sparkle/SUUpdater.m
# Sparkle/SUUserInitiatedUpdateDriver.m
# Sparkle/SUVersionComparisonProtocol.h
# Sparkle/SUVersionDisplayProtocol.h
# Sparkle/SUWindowController.m
# Sparkle/Sparkle-Info.plist
# Sparkle/Sparkle.pch
# Sparkle/ar.lproj/SUUpdateAlert.xib
# Sparkle/ar.lproj/Sparkle.strings
# Sparkle/ca.lproj/SUAutomaticUpdateAlert.strings
# Sparkle/ca.lproj/SUUpdateAlert.strings
# Sparkle/ca.lproj/Sparkle.strings
# Sparkle/cs.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/cs.lproj/SUUpdateAlert.xib
# Sparkle/cs.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/cs.lproj/Sparkle.strings
# Sparkle/cy.lproj/Sparkle.strings
# Sparkle/da.lproj/SUUpdateAlert.xib
# Sparkle/da.lproj/Sparkle.strings
# Sparkle/de.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/de.lproj/SUUpdateAlert.xib
# Sparkle/de.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/de.lproj/Sparkle.strings
# Sparkle/el.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/el.lproj/SUUpdateAlert.xib
# Sparkle/el.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/el.lproj/Sparkle.strings
# Sparkle/en.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/en.lproj/SUUpdateAlert.xib
# Sparkle/en.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/en.lproj/Sparkle.strings
# Sparkle/es.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/es.lproj/SUUpdateAlert.xib
# Sparkle/es.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/es.lproj/Sparkle.strings
# Sparkle/fi.lproj/SUAutomaticUpdateAlert.strings
# Sparkle/fi.lproj/SUUpdateAlert.strings
# Sparkle/fi.lproj/Sparkle.strings
# Sparkle/fr.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/fr.lproj/SUUpdateAlert.xib
# Sparkle/fr.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/fr.lproj/Sparkle.strings
# Sparkle/he.lproj/SUAutomaticUpdateAlert.strings
# Sparkle/he.lproj/SUUpdateAlert.strings
# Sparkle/he.lproj/Sparkle.strings
# Sparkle/hu.lproj/Sparkle.strings
# Sparkle/id.lproj/Sparkle.strings
# Sparkle/is.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/is.lproj/SUUpdateAlert.xib
# Sparkle/is.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/is.lproj/Sparkle.strings
# Sparkle/it.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/it.lproj/SUUpdateAlert.xib
# Sparkle/it.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/it.lproj/Sparkle.strings
# Sparkle/ja.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/ja.lproj/SUUpdateAlert.xib
# Sparkle/ja.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/ja.lproj/Sparkle.strings
# Sparkle/ko.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/ko.lproj/SUUpdateAlert.xib
# Sparkle/ko.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/ko.lproj/Sparkle.strings
# Sparkle/nb.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/nb.lproj/SUUpdateAlert.xib
# Sparkle/nb.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/nb.lproj/Sparkle.strings
# Sparkle/nl.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/nl.lproj/SUUpdateAlert.xib
# Sparkle/nl.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/nl.lproj/Sparkle.strings
# Sparkle/no.lproj/SUAutomaticUpdateAlert.strings
# Sparkle/no.lproj/SUUpdateAlert.strings
# Sparkle/no.lproj/Sparkle.strings
# Sparkle/pl.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/pl.lproj/SUUpdateAlert.xib
# Sparkle/pl.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/pl.lproj/Sparkle.strings
# Sparkle/pt_BR.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/pt_BR.lproj/SUUpdateAlert.xib
# Sparkle/pt_BR.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/pt_BR.lproj/Sparkle.strings
# Sparkle/pt_PT.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/pt_PT.lproj/SUUpdateAlert.xib
# Sparkle/pt_PT.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/pt_PT.lproj/Sparkle.strings
# Sparkle/ro.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/ro.lproj/SUUpdateAlert.xib
# Sparkle/ro.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/ro.lproj/Sparkle.strings
# Sparkle/ru.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/ru.lproj/SUUpdateAlert.xib
# Sparkle/ru.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/ru.lproj/Sparkle.strings
# Sparkle/sk.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/sk.lproj/SUUpdateAlert.xib
# Sparkle/sk.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/sk.lproj/Sparkle.strings
# Sparkle/sl.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/sl.lproj/SUUpdateAlert.xib
# Sparkle/sl.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/sv.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/sv.lproj/SUUpdateAlert.xib
# Sparkle/sv.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/sv.lproj/Sparkle.strings
# Sparkle/th.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/th.lproj/SUUpdateAlert.xib
# Sparkle/th.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/tr.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/tr.lproj/SUUpdateAlert.xib
# Sparkle/tr.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/tr.lproj/Sparkle.strings
# Sparkle/uk.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/uk.lproj/SUUpdateAlert.xib
# Sparkle/uk.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/zh_CN.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/zh_CN.lproj/SUUpdateAlert.xib
# Sparkle/zh_CN.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/zh_CN.lproj/Sparkle.strings
# Sparkle/zh_TW.lproj/SUAutomaticUpdateAlert.xib
# Sparkle/zh_TW.lproj/SUUpdateAlert.xib
# Sparkle/zh_TW.lproj/SUUpdatePermissionPrompt.xib
# Sparkle/zh_TW.lproj/Sparkle.strings
# TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj
# TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h
# TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m
# TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png
# TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png
# TestApplication/After Update/Sparkle Updated Test App/Info.plist
# TestApplication/After Update/Sparkle Updated Test App/main.m
# TestApplication/English.lproj/InfoPlist.strings
# TestApplication/English.lproj/MainMenu.xib
# TestApplication/TestApplication-Info.plist
# Tests/Resources/SparkleTestCodeSignApp.zip
# Tests/Resources/signed-test-file.txt
# Tests/Resources/test archive.zip
# Tests/Resources/test-pubkey.pem
# Tests/Resources/test.sparkle_guided.pkg
# Tests/SUBinaryDeltaTest.m
# Tests/SUCodeSigningVerifierTest.m
# Tests/SUDSAVerifierTest.m
# Tests/SUInstallerTest.m
# Tests/SUPipedUnarchiverTest.m
# Tests/SUUpdaterTest.m
# Tests/SUVersionComparisonTest.m
# Tests/SparkleTests-Info.plist
# Vendor/CocoatechCore/NTSynchronousTask.m
# Vendor/bsdiff/sais.c
# Vendor/bsdiff/sais.h
4_0_mas
2015-06-23 16:00:18 +03:00
Oleg Krupnov
be8f682a34
Merging with the main fork
2015-06-23 15:52:35 +03:00
Oleg Krupnov
d1904ed606
Updated to 10.10 losing all changes
2015-06-23 13:41:37 +03:00
Jake Petroules
51b62de4cb
Fix some warnings.
2015-06-13 02:30:13 -07:00
Jake Petroules
4643becaff
Upgrade settings.
2015-06-13 02:22:20 -07:00
Jake Petroules
4bbfac11aa
Fix build with < 10.9 SDK.
2015-06-06 09:23:26 -07:00
Jake Petroules
0f4f7c3509
Fix build with < 10.10 SDK.
2015-06-06 08:40:17 -07:00
Jake Petroules
91af4db0c0
Update Podspec for 1.10.0.
2015-06-06 08:35:07 -07:00
Jake Petroules
21a894cd63
Fix warnings in unit test.
2015-06-06 08:35:07 -07:00
Jake Petroules
e8035cc912
Silence warnings in third party code.
2015-06-06 08:35:07 -07:00
Jake Petroules
342aec164d
Comment problematic clang-format property.
2015-06-06 08:35:07 -07:00
Kornel
517f7862ab
Merge pull request #534 from zorgiepoo/app-update-validation
...
Improved app update validation
2015-06-06 11:53:41 +01:00
Zorg
6ca90a8c11
Clarification that DSA keys differ or are absent
2015-06-05 22:22:05 -04:00
Zorg
a7e8e2aad5
Validate with the new public DSA key, not the old one
2015-06-05 21:59:32 -04:00
Zorg
e9e5791e51
s/Pubic/Public/
2015-06-05 21:46:52 -04:00
Zorg
7c705e5fff
Remove redundant check that SUDSAVerifier does
2015-06-05 21:39:57 -04:00
Zorg
b1d887264f
Fix package validation from previous commit
...
Modern packages aren't distributed as bundles, and we wouldn't be able to obtain a "new" public DSA key from an update
2015-06-05 21:37:09 -04:00
Zorg
da06dc80d6
Rely on code signing and the DSA key in the new app
...
Instead of relying on whether the DSA signature is provided in the appcast (which we can't trust), we rely on detecting if the public key in the new and old app differ. If they differ, then the code signatures from both apps must match. The idea is that code signing is reliable in being able to tell that the Info.plist and public DSA files came from the developer and are intact. This still allows a developer to lose access to their DSA private key, or to their Apple code signature, and be able to push new updates (as long as they didn't lose access to both). The new change, however, is that if the new app has a public DSA key, then the appcast item must have a DSA signature for the app, even if the app is code signed.
2015-06-05 18:57:36 -04:00
Kornel
2ed2f3def3
Merge pull request #554 from MaddTheSane/headers
...
Import the Foundation umbrella header in all the public headers.
2015-06-05 00:04:12 +01:00
C.W. Betts
3292c4ea10
Import the Foundation umbrella header in all the public headers.
...
This should prevent any undefined declaration warnings.
2015-06-04 11:13:48 -06:00
Kornel Lesiński
fbc7a7fbf7
Log URL on appcast error
2015-05-27 19:16:55 +01:00
Kornel Lesiński
4733fe7785
Log URL on download error
2015-05-27 19:16:54 +01:00
Victor Figueiredo
8585d06bb5
pt-BR localization update
2015-05-21 00:27:57 +01:00
Kornel
4d111b96e4
Merge pull request #541 from zorgiepoo/unable-quarantine-fix
...
Only remove quarantine with -[NSURL setResourceValue:] when it's present
2015-05-10 02:15:54 +02:00
Zorg
0557a5ba5c
Only remove quarantine with setResourceValue: when it's present
...
This should stop "Unable to quarantine: 93" messages from showing up in the console. Fixes issue #452
2015-05-08 23:55:23 -04:00
Zorg
3a304123d9
Renaming newBundlePath to installSourcePath
2015-05-04 23:15:17 -04:00
Zorg
87da4cc0f2
Distinguish between install path found and update being a package
2015-05-04 22:49:57 -04:00
Kornel
12f29384ea
Merge pull request #539 from vslavik/fix-incomplete-implementation-warning
...
Fix appcastDidFinishLoading: incomplete implementation warning
2015-05-04 15:13:32 +02:00
Václav Slavík
253f7c1023
Fix appcastDidFinishLoading: incomplete implementation warning
...
appcastDidFinishLoading: was declared in SUUIBasedUpdateDriver, but
defined and used in SUUIBasedUpdateDriver. Move the declaration back to
the base class where it belongs.
2015-05-04 14:34:49 +02:00
Kornel Lesiński
f19038e5fe
Add test cases
2015-05-02 23:16:58 +02:00
Kornel Lesiński
619e4a60a2
Fixed test name
2015-05-02 22:49:55 +02:00
Kornel
6e92311aaa
Merge pull request #537 from antonc27/master
...
Fix for crash while applying delta update
2015-04-29 18:41:57 +01:00
antonc27
7d7aeb9f65
- Fix for crash while applying delta update
2015-04-29 17:54:58 +02:00
Jake Petroules
ae3d04660e
Merge pull request #535 from tonyarnold/hotfix/foundation-import
...
Properly import Foundation to fix errors when building as a module
2015-04-27 18:36:31 -07:00
Tony Arnold
2068da1cf9
Properly import Foundationto fix errors when building as a module
2015-04-28 09:40:54 +10:00
Zorg
19fdb9276d
Only do DSA verification if public key is available
2015-04-27 19:18:21 -04:00
Zorg
f55d2a4439
Host app needn't be signed to verify signature of updated app
2015-04-26 16:28:17 -04:00
Zorg
28ea47f796
Improved app update validation. See discussion in issue #441
...
If an invalid DSA or invalid code signature is provided, the update will fail, regardless if one of these requirements is valid. The logic before is that the update will succeed if either a valid DSA or matched code signature is provided.
This still allows a code signature to change, be added, or be removed, as long as the DSA and the code signature (if provided) is valid. If no DSA is provided, then this is not possible, and the code signature from the host and update app must match.
2015-04-26 13:58:40 -04:00
Kornel Lesiński
9646b0b790
Optimized images
1.10.0
1.10.0rc1
2015-04-26 00:31:02 +01:00
Kornel Lesiński
afb524a46a
Yosemite screenshot
2015-04-26 00:22:57 +01:00
Kornel Lesiński
56ac1c931b
Preserve underlying errors
2015-04-25 21:37:08 +01:00
Jake Petroules
3a788e9546
Merge pull request #532 from sparkle-project/guidedinstall
...
Simpler guided install opt-in
2015-04-25 13:20:33 -07:00
Jake Petroules
0b2f37beb9
Merge pull request #533 from sparkle-project/dedelegate
...
De-delegate
2015-04-25 13:12:20 -07:00
Kornel Lesiński
353a5635e1
Removed appcast delegate
2015-04-25 21:08:44 +01:00
Kornel Lesiński
35dfed44de
Removed update alert delegate
2015-04-25 20:37:01 +01:00
Kornel Lesiński
3680b0bb67
Removed automatic update alert delegate
2015-04-25 20:36:59 +01:00
Kornel Lesiński
209d6db3a1
Test guided installation
2015-04-25 12:44:21 +01:00
Kornel Lesiński
bb7af6145f
Removed unused arg
2015-04-25 12:42:11 +01:00
Kornel Lesiński
77fd19a134
Use completion block instead of a delegate
2015-04-25 12:41:09 +01:00
Kornel Lesiński
38a70c61c4
Use package.sparkle_guided.pkg instead of .sparkle_guided.plist indirection
2015-04-25 12:38:32 +01:00