* Revert "Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (#3775)"
This reverts commit c49f348d7c.
* Enable sRGB on IO thread, too
* Add 4444 as a fallback rendering mode
* Use bare ptr to SkColorSpace (not sk_sp) in PrerollContext
This attempts to make the Canvas API and some related features more
likely to throw a Dart exception than crash when exposed to bad input.
Depends on rolling tonic to
https://fuchsia-review.googlesource.com/c/35742/ which this patch does
not yet do, but I wanted to put it up for review to see if it was even
a reasonable approach.
If restartInput is called twice in quick succession, then the IME may output
warnings related to usage of the obsolete connection resulting from the first
call.
Fixes https://github.com/flutter/flutter/issues/10730
ASL was deprecated in iOS 10 and started causing SIGPIPE issues in iOS
10.3. Under the iOS 8 SDK, syslog() stopped working as of iOS 10.3
devices, with the result that ASL stdout/stderr forwarding was the only
means of logging. The engine now builds against the iOS 10 SDK, with
deployment target of iOS 8. Under this SDK, syslog() works correctly
across all supported OS versions.
NOTE: This is a temporary fix to get developers unblocked. While this
does fix the SIGPIPE issue and put iOS logging on par with the Android
solution, the intent is to move to a dedicated communication channel
with flutter_tools that isn't log-based.
* Revert "Enable line join styles and miter limit. (#3777)"
This reverts commit cafd4b93a0.
* Revert "Revert "Update switches to use StringView." (#3784)"
This reverts commit 5ffa5ef3a6.
* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"
This reverts commit b4a9f9c6d5.
* Add support for join types and miter limits.
* Fix miter limit data type.
* Adding some clearer documentation to painting.dart
* Clarifying more documentation.
* Code review changes
* Fixed debug printing of stroke width and miter limit
* Adding missing periods at the ends of sentences.
* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"
This reverts commit b4a9f9c6d5.
* Revert "Call Selection.removeSelection if the framework has cleared the selection (#3782)"
This reverts commit 2a34ee9a67.
* Revert "Update switches to use StringView. (#3781)"
This reverts commit 6adf58135e.
* Removed 'pub get' from the instructions
According to Hixie, 'pub get' is abstracted into flutter packages upgrade, and so there shouldn't be a need to run pub get directly.
* Removed pub get lines entirely.
In particular, this avoids some unnecessary calls to InputMethodManager.restartInput
that caused noticeable lag when moving the cursor.
Fixes https://github.com/flutter/flutter/issues/9928
Both the following, which we also support, are deprecated in UIKit:
* `application:handleOpenURL:`
* `application:openURL:sourceApplication:annotation:`
* Run Flutter on iOS and Android with color correct Skia (#3716)
***Turns on color correct rendering for Android and iOS
***Communicates dst color space to raster cache
***Turns on color space aware image decoding
Test:
***color_testing_demo on Pixel XL
***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS)
TODO:
I needed to split up this CL somewhere. These are follow-up tasks.
***Make desktop backends color correct
***Make debugging tools (ex: encoding frames to png) preserve color space
***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
This creates a `FlutterFragmentActivity` class that extends
the Android v4 Support librray's `FragmentActivity` class.
However, we intentionally do not bundle the support library
with our engine, so apps that wish to use this class are
responsible for including the support library .jar file in
their runtime deps when creating the final app.
flutter/flutter#10072
This factors the functionality that was in `FlutterActivity`
to live in `FlutterActivityDelegate`. This will allow the creation of a
`FlutterFragmentActivity` that has the same core functionality, which in
turn unlocks certain Android plugins that choose to require the v4
support library (like Google Sign-In).
https://github.com/flutter/flutter/issues/10072