Commit Graph
3982 Commits
Author SHA1 Message Date
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
Michel Fortin 64eb13672d Showing release notes with dark appearance according to the system theme.
This is done by applying a user stylesheet, making the background of the WebView transparent, and using a NSBox to display the dynamic dark background color. The appearance of the release notes will unfortunately not adapt if the theme is changed while the release notes window is open.
2018-08-26 11:51:10 -04:00
Kornel e40628a78f Merge pull request #1273 from rob-patchett/ui-separation-and-xpc
Adds an option to turn off hideOnDeactivate in SPUStandardUserDriver for foreground apps
2018-07-25 14:11:56 +01:00
Robert Patchett a8528a256b Add an option to turn off hideOnDeactivate in SPUStandardUserDriver for forground apps 2018-07-25 14:46:37 +02:00
Kornel e1d4b19ce7 Bump 1.20.0 2018-07-17 16:37:50 +01:00
sagecook 360c2ce7a9 Fix binary delta creation on network drives
Closes  #1156
2018-07-17 16:33:58 +01:00
Kornel f9740292d4 Merge pull request #1261 from kenohori/master
New Spanish localisation
2018-06-28 12:55:05 +02:00
Ken Arroyo Ohori 558be04121 New Spanish localisation 2018-06-27 21:22:56 -05:00
Kornel b426426905 Merge pull request #1257 from LeoNatan/master
Fix compilation issues on Xcode 10 with new build system
2018-06-20 16:04:39 +01:00
Leo Natan 75835a5874 Fix compilation issues on Xcode 10 with new build system 2018-06-20 15:29:50 +03:00
Kornel 50c12d1c2b Bump 1.20.0b1 2018-06-19 22:36:19 +01:00
Kornel cc94d66994 Merge pull request #1252 from ksuther/ui-separation-and-xpc
Silence Xcode 10 "Messaging unqualified id" warnings by specifying types (XPC branch)
2018-06-14 23:26:09 +03:00
Kent Sutherland 4bcaee7213 Updated readme to indicate Xcode 7 or later is required. 2018-06-14 21:22:39 +02:00
Kent Sutherland d574574345 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.
2018-06-14 21:22:38 +02:00
Kornel e452b7f6ba Merge pull request #1251 from ksuther/objc-messaging-id-fixes
Silence Xcode 10 "Messaging unqualified id" warnings by specifying types
2018-06-14 21:56:05 +03:00
Kent Sutherland 3034eca85b 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.
2018-06-14 20:31:58 +02:00
Kent Sutherland 9ae41fe4ab 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.
2018-06-14 20:31:20 +02:00
Kornel 7d931e22d7 Merge pull request #1249 from JasonLPollack/update-finnish
Updated Finnish language resources
2018-06-14 18:57:56 +03:00