Commit Graph
3231 Commits
Author SHA1 Message Date
Frederik Seiffert d5ce2e5499 Rename generate_appcast bridging header.
This is required to match the filename defined in CommandLineTool-Shared.xcconfig:
SWIFT_OBJC_BRIDGING_HEADER = $(PRODUCT_NAME)/Bridging-Header.h
2020-09-30 21:30:57 +01:00
Frederik Seiffert 847471aa89 Bump podspec version to match SPARKLE_VERSION
Required to match version bump in https://github.com/sparkle-project/Sparkle/commit/d2ac8bc61eff51461a6bc43ce146e35d53d163c9.
2020-09-30 21:30:57 +01:00
Kornel 6b2af4865a Merge pull request #1423 from tonyarnold/feature/ed25519 2020-08-29 14:07:09 +01:00
Kornel Lesiński d2ac8bc61e Bump version
Fixes #1547
2020-02-06 09:53:23 +00:00
Tony Arnold 9d84b40080 Update the code signing verifier tests to match what is on master 2019-12-17 21:18:32 +11:00
Tony Arnold 0731b6e60d Add Xcode group for the command line tools
# Conflicts:
#	Sparkle.xcodeproj/project.pbxproj
2019-12-17 21:18:32 +11:00
Tony Arnold 3fd125f629 Add sign_update command line tool
This code has been ported directly from `master`.

Co-authored-by: Kornel Lesiński <github@pornel.net>

# Conflicts:
#	Sparkle.xcodeproj/project.pbxproj
2019-12-17 21:18:32 +11:00
Tony Arnold ee0a9c99b9 Add generate_keys command line tool
This code has been ported directly from `master`.

Co-authored-by: Kornel Lesiński <github@pornel.net>

# Conflicts:
#	Sparkle.xcodeproj/project.pbxproj
2019-12-17 21:18:32 +11:00
Tony Arnold 9118cb6ecd Update generate_appcast command line tool to support ed25519 signatures
This code has been ported directly from `master`.

Co-authored-by: Kornel Lesiński <github@pornel.net>

# Conflicts:
#	Sparkle.xcodeproj/project.pbxproj
2019-12-17 21:18:32 +11:00
Tony Arnold 6c90c08ce1 Add ed25519 as a static library to the project
# Conflicts:
#	Sparkle.xcodeproj/project.pbxproj
2019-12-17 21:18:31 +11:00
Tony Arnold 3cea65605b Look up the path for the System Applications directory, as it is not a single directory on macOS Catalina 2019-12-17 21:14:10 +11:00
Kornel a045f1a50b Merge pull request #1524 from jakob/issue-1505
Sparkle 2.x: Delay startup of updater
2019-12-15 17:05:27 +00:00
Jakob 771b193924 Use self to avoid warning 2019-12-14 22:53:56 +01:00
Jakob 0cd3aa0d9d SUUpdater: Delay updater startup
This should allow configuring the updater in willFinishLaunching:
Should fix #1505
2019-12-14 22:33:48 +01:00
Kornel c694980a94 Merge pull request #1522 from jakob/update-readme-2.x
Update README for Sparkle 2.x
2019-12-14 16:50:37 +00:00
Jakob 7c413a3da2 Make link clickable 2019-12-14 16:48:27 +01:00
Jakob b08e339a50 Add link to issue #1523 2019-12-14 16:46:54 +01:00
Jakob 91b6716f85 README: Update current status and add next steps 2019-12-14 16:19:48 +01:00
Jakob d7d567d5e2 README: Change title to "Sparkle 2.x Beta" 2019-12-14 16:08:49 +01:00
Jakob 4a82eb3d69 README: Fix link to issues 2019-12-14 16:01:40 +01:00
Martin Jan Köhler d9cce796cb Let SPUUpdaterDelegate handle errors currently suppressed (#1494)
* Let SPUUpdaterDelegate handle errors which are suppressed when calling the user driver
2019-10-31 00:30:00 +00:00
Kornel 67819be18a Merge pull request #1479 from ksuther/ui-separation-and-xpc
Added bsdiff as an explicit dependency to targets
2019-10-02 17:03:12 +01:00
Kent Sutherland 03d2ddc005 Added bsdiff as an explicit dependency to BinaryDelta and Sparkle Unit Tests targets 2019-10-01 20:06:27 -05:00
Kornel 1d6266e978 Merge pull request #1477 from ksuther/ui-separation-and-xpc
ui-separation-and-xpc branch fixes
2019-09-29 23:11:25 +01:00
Kent Sutherland 5de92bad8f Add bsdiff as an explicit dependency to Autoupdater to avoid errors if implicit dependencies is disabled 2019-09-29 00:14:49 -04:00
Kent Sutherland 3ad6b2b75b Add explicit casts to silence Xcode 11 warnings 2019-09-29 00:12:55 -04:00
Kornel 14871e5ee9 Merge pull request #1451 from mangerlahn/bugfix/cleanup-downloder-on-cancel
#1449 Fix ongoing download after the update has been cancelled
2019-08-08 22:24:59 +01:00
Max Langer f42aac7797 #1449 Fix ongoing download after the update has been cancelled 2019-08-07 23:43:46 +02:00
Kornel 3f978e865d Merge pull request #1430 from martinjbaker/patch-1
fixed incorrect syntax
2019-06-29 13:59:10 +01:00
martinjbaker c65fad6b53 fixed incorrect syntax
missing quotes on sparkle:installationType examples
2019-06-29 10:03:13 +01:00
Kornel 6fa1302ecb Merge pull request #1425 from DivineDominion/patch-1
Make XPC service prefix "org.sparkle-project" customizable
2019-06-26 20:50:52 +01:00
Christian Tietze 9980a0f911 replace org.sparkle-project with XPC_SERVICE_BUNDLE_ID_PREFIX 2019-06-26 09:25:15 +02:00
Kornel 696f1f7bf1 Merge pull request #1422 from tonyarnold/feature/bring-forward-bsdiff-static-library
Package bsdiff as a static library
2019-06-17 23:55:44 +01:00
Tony Arnold 9e4f395c97 Add Xcode 10’s workspace checks property list to the project 2019-06-16 21:31:16 +10:00
Tony Arnold e4020faae0 Rename “Third Party” Xcode group to “Vendor” to match underlying folder name 2019-06-16 19:50:25 +10:00
Tony Arnold 210a8fb165 Separate the bsdiff sources into a new static library, and use it in targets 2019-06-16 19:44:03 +10:00
Tony Arnold 3569b46d35 Fix localization region deprecation warnings 2019-05-20 11:22:39 +01:00
Kornel 2f9c721719 Merge pull request #1393 from FlixelPhotos/ui-separation-and-xpc
Update codesign script and INSTALL doc
2019-04-18 20:33:58 +01:00
Karl Moskowski 47b35a737a Update INSTALL document:
- updated codesign script
- hardened runtime and notarization
- testing notes
2019-04-18 08:48:47 -04:00
Karl Moskowski 6975392ed3 Upate the codesign script (since it’s for more than just XPCs)
#1319
2019-04-18 08:20:20 -04:00
Kornel 36f4955740 Merge pull request #1391 from michelf/hardened
Updated XPC codesigning to enable hardened runtime.
2019-04-16 19:34:46 +01:00
Martins Spilners 894f9dd683 Fix header imports (#1390)
Allows building Distribution scheme with Xcode 10.2
2019-04-16 16:49:23 +01:00
Michel Fortin dc819460a9 Updated XPC codesigning to enable hardened runtime. 2019-02-14 22:16:51 -05:00
Kornel b0fe9aa09a Merge pull request #1357 from danielpunkass/fix-framework-import-warnings
Update imports to use framework-style imports consistently
2019-02-04 23:14:41 +00:00
Daniel Jalkut ee64dc7574 Update imports to use framework-style imports to avoid warnings when CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES. Add CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to xcconfig file to protect against any changes that would introduce such warnings for clients who have the waring enabled. 2019-02-04 13:39:48 -05:00
Kornel b1c3b313f5 Merge pull request #1332 from ksuther/downloader-finishTasksAndInvalidate
Use finishTasksAndInvalidate instead of invalidateAndCancel in SPUDownloader
2018-12-14 19:18:04 +00:00
Kent Sutherland 01bc8628da Use finishTasksAndInvalidate instead of invalidateAndCancel
-cleanup is only called when the task has finished, so it's safe to do this.
This silences a spurious warning logged by NSURLSession (or somewhere else internal):

Task <BB2AE4EF-8E93-44D7-9AB3-6EE9A9E3ACF8>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://example.com/appcast.xml, NSErrorFailingURLKey=https://example.com/appcast.xml, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDownloadTask <BB2AE4EF-8E93-44D7-9AB3-6EE9A9E3ACF8>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <BB2AE4EF-8E93-44D7-9AB3-6EE9A9E3ACF8>.<1>, NSLocalizedDescription=cancelled} [-999]
2018-12-14 12:49:20 -06:00
Daniel Jalkut 2e1596c673 A recent merge with master caused the CLANG_WARN_COMMA warning to be enabled, which generates warnings in this ui-separation-and-xpc only file. I thought it would be safest to use #pragma clang diagnostic ignore to quiet the warnings without changing the source file in this file. (#1314) 2018-11-14 17:26:10 +00:00
Kornel 0a13dfab4a Workaround for Security.framework not supporting better keys 2018-11-13 13:39:32 +00:00
Daniel Jalkut 96eb45efdc Quiet a warning about a missing @synthesize for observingAppearance property. (#1312) 2018-11-11 15:42:30 +01:00