Commit Graph
4099 Commits
Author SHA1 Message Date
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
Kornel 1784fc1a72 Merge remote-tracking branch 'origin/ui-separation-and-xpc' into ui-separation-and-xpc
* origin/ui-separation-and-xpc:
  Fix unit tests (#1311)
2018-11-11 14:23:42 +00:00
Kornel 832902cea7 Merge tag '1.20.0' into ui-separation-and-xpc
* tag '1.20.0': (28 commits)
  Bump
  Fix binary delta creation on network drives
  New Spanish localisation
  Fix compilation issues on Xcode 10 with new build system
  Bump
  Updated readme to indicate that the 10.11 SDK is required to compile Xcode 7 was released with 10.11, the reference to the 10.8 SDK is out of date.
  Explicitly specify types to silence "Messaging unqualified id" warning that's new in Xcode 10. Removed __has_feature(objc_generics) check and use generisc to help silence the warnings.
  Updated Finnish language resources
  Remove executable bit on distributed source files.
  Fix potential hang with dispatch_sync to main thread
  Deliver SPUDownloaderSession delegate messages on the main queue
  add tips for user to install doxygen
  add delegate callbacks for fininshed download and extraction related events
  Restored legacy CLI for backward compatibility
  Fixed index out of bounds
  More complex argument parsing to support both inputs
  Function to load the private key directly from the keychain
  Minor naming improvement
  Bump
  Explain why auth is requested
  ...
2018-11-11 14:21:37 +00:00
Kornel 2121a7d9f2 Merge tag '1.19.0' into ui-separation-and-xpc
* tag '1.19.0': (44 commits)
  Ensure cocoapods is installed before performing the release “sanity check” (#860)
  Silence ‘This block declaration is not a prototype’ Xcode warning
  Silence ‘decodeObjectOfClass:forKey: is only available on macOS 10.8’ Xcode warnings, similar to commit ea94969188
  10.7 compatibility
  Avoid invalid use of main thread
  Update wording of read-only error
  Improve 'read-only' error message (#1192)
  "all" target
  Hidden verbose flag
  Outdated comment
  Amend to avoid gender issue
  Changelog
  Bump
  move Xcode 9.2 automatic changes from project to xcconfig files
  Bring project up to Xcode 9.2 settings
  silence 10.9 availability and other warnings and use modules when available
  Ensure UI is changed only on the main thread
  nil checks
  Fix typo in expectation description
  Finish tests for persistent download
  ...
2018-11-11 14:18:07 +00:00
Daniel Jalkut ad0ea07252 Fix unit tests (#1311)
* Quiet warnings from Swift compiler: "Using '!' here is deprecated and will be removed in a future release"

* Ignore diagnostics that yield 'messaging unqualified id' warnings when calling XCTAssertNotEqualObjects. I have filed a bug with Apple, Radar #45968630, requesting that they quiet the warning internally to the macro implementation.

* When setting the access time on a directory and its contents, set the access time on the directory last so that it will be guaranteed to match the expected value. There is a side-effect of calling getFileSystemRepresentation that it sets the access time of its container folder, presumably because of an implementatiton detail of how Foundation builds up the path. Note there is another problem here that the order of items from NSDirectoryEnumerator is undefined, so some of the interior items of a directory will undoubtedly end up getting slightly varying access times set upon them. However, for the purposes of Sparkle's use of this method to "keep things alive" in /tmp, I don't think there is an issue. This fix addresses a failing unit test testUpdateFileAccessTime, which was failing because of very slight differences in access time created by the problem described.
2018-11-11 13:10:12 +01:00
Kornel 45d27cc5d0 Safety-check around observing appearance
#1307
2018-11-09 16:55:51 +01:00
Kornel 34e96171f3 Merge pull request #1306 from teologov/ui-separation-and-xpc-fix-make-release
Fix make release script.
2018-11-09 15:39:42 +00:00
Andrey Teologov b3fa1fc904 fixed make-release-package.sh failure 2018-11-09 08:20:30 +02:00
Kornel 3cb3eb55ec Merge pull request #1304 from danielpunkass/improved-install-instructions
Improved install instructions
2018-11-07 22:51:45 +00:00
Kornel bcb943a093 Merge pull request #1305 from danielpunkass/app-extension-safe-api
Define APPLICATION_EXTENSION_API_ONLY = NO
2018-11-07 22:50:22 +00:00
Daniel Jalkut be29f66ddd Define APPLICATION_EXTENSION_API_ONLY = NO. As long as we don't ourselves depend upon any Frameworks that are incompatible with Application Extensions, then we should allow frameworks that require compatibility to be able to link with us. 2018-11-07 17:38:37 -05:00
Daniel Jalkut 2f6587f5a6 Add a note in Usage to indicate additional configuration is required for Sandboxed apps. 2018-11-04 12:53:41 -05:00
Daniel Jalkut 01bacb9647 Another backwards-coded Markdown link. 2018-11-04 12:51:08 -05:00
Daniel Jalkut 75b7066a6e Add two other XPC services that seems to be required by most if not all sandboxed apps. I am not 100% sure I understand the role yet of these but as an instructional document this gets at the requirements in a way that is better than nothing. 2018-11-04 12:16:13 -05:00
Daniel Jalkut 5bf8730c6b I had the Markdown link backwards. 2018-11-04 12:11:36 -05:00
Daniel Jalkut 05393a8223 Trying to fix links 2018-11-04 12:10:50 -05:00
Daniel Jalkut 8f65c07a1a Remove links to the zorgiepoo issues database because zorgiepoo indicated surprise about people still coming there, and because issues are being tracked in the main repository's issues. 2018-11-04 12:07:53 -05:00
Daniel Jalkut fbbb44bf73 Add links to the INSTALL document to make it easier to access. 2018-11-02 15:38:08 -04:00
Daniel Jalkut 9b960233ca Taking a stab at rewriting some of the instructional content to be more clearly understood by folks just getting familiar with the XPC version of the project. Removed the 'Requirements' section because it's out of date with the README and doesn't need to be listed redundantly. 2018-11-02 13:34:06 -04:00
Daniel Jalkut 9e67ef244b Change to Markdown style headings. 2018-11-02 13:12:48 -04:00
Daniel Jalkut 43b5382daf Rename INSTALL to INSTALL.markdown so it will present as a readable file on GitHub. 2018-11-02 13:09:57 -04:00
Kornel dbcdd76da2 Merge pull request #1294 from michelf/ui-separation-and-xpc
releaseNotesView must be strong if we attach an observer to it
2018-10-09 08:57:09 +01:00
Michel Fortin b9328cc466 releaseNotesView must be strong if since we're attaching an observer to it. 2018-10-08 15:25:20 -04:00
Kornel 8ba29aa40d Merge pull request #1293 from ksuther/effectiveAppearance-observation
Only observe effectiveAppearance on 10.14 or later
2018-10-08 18:59:23 +01:00
Kent Sutherland 467325bc21 Only observe effectiveAppearance on 10.14 or later
Observing WebView is crashing on 10.12 when SUUpdateAlert gets released even though removeObserver is called in dealloc
2018-10-08 11:10:53 -05:00
Kornel 7e351b52c7 Merge pull request #1288 from michelf/ui-separation-and-xpc
Dark Mode Release Notes Complement
2018-09-15 18:56:27 +01:00
Michel Fortin 20d5b4e003 Setting darkBackgroundView to nil when adapting for light mode so it gets recreated later if we re-enter dark mode. 2018-09-15 09:59:47 -04:00
Michel Fortin 077e2b155f Avoid checking appearance by name, use bestMatchFromAppearancesWithNames for future-proofing. 2018-09-15 09:47:37 -04:00
Michel Fortin 3ed5f3875b React to effective appearance changing. 2018-09-15 09:45:54 -04:00
Kornel 34fe3b52ff Merge pull request #1281 from michelf/ui-separation-and-xpc-prompt-fr
Fixing cut text in prompt window (French)
2018-08-27 10:36:25 +01:00
Michel Fortin 6daa5e152b Adjusting French text above the system profile table view so it fits. 2018-08-26 19:04:21 -04:00
Michel Fortin e6d9a01316 The "include anonymous system profile" checkbox is not wide enough for its French content. 2018-08-26 18:51:38 -04:00
Kornel 502378553e Merge pull request #1280 from michelf/ui-separation-and-xpc-darkmode
Showing release notes with dark appearance according to the system theme
2018-08-26 23:13:29 +01:00