2163 Commits

Author SHA1 Message Date
Adam Barth
5366eb0eb7 Add SkColorSpace to Picture.toImage() (flutter/engine#3691)
Skia doesn't actually create the image if we don't supply a color space.
2017-05-13 10:33:04 -07:00
Jason Simmons
1cc1f25bbf Add a flag that checkerboards offscreen render targets created by SkCanvas.saveLayer (flutter/engine#3685)
Fixes https://github.com/flutter/flutter/issues/9473
2017-05-11 15:00:16 -07:00
Chris Bracken
074cca0906 Adjust bottom padding correctly on iOS keyboard hide (flutter/engine#3684)
Handle willChangeFrame to handle keyboard show, resize, reposition
(split, move floating keyboard) events. Handle willBeHidden events for
keyboard dismissal.

Fixes incorrect bottom padding introduced in
4103fe7a4006409bbf7e1ad1b06c1f6fbdd12632 due to didChangeFrame
notification firing after willBeHidden on keyboard dismissal.
2017-05-11 10:07:37 -07:00
mikejurka
09bae7f423 Fix Fuchsia build. (flutter/engine#3683) 2017-05-10 18:40:43 -07:00
Chinmay Garde
4626789ca2 Create a cache of unz_file_pos entries in ZipAssetStore for faster lookup. (flutter/engine#3682) 2017-05-10 17:11:08 -07:00
Chris Bracken
4103fe7a40 Update view padding on iOS keyboard frame change (flutter/engine#3681) 2017-05-10 16:35:58 -07:00
Mikkel Nygaard Ravn
27fcb31df5 Forward openURL requests to plugins (flutter/engine#3679) 2017-05-10 23:51:13 +02:00
Ian Hickson
498a9da159 Add documentation to TileMode. (flutter/engine#3668) 2017-05-10 12:22:08 -07:00
Chris Bracken
3701c34de0 Set Android keyboard actionLabel only if non-null (flutter/engine#3677) 2017-05-10 12:20:03 -07:00
freiling
9f9edcc382 [vulkan] make validation layer errors non-fatal on Fuchsia (flutter/engine#3674) 2017-05-10 10:36:26 -07:00
Sarah Zakarias
dfa8cc86a4 Remove urlLauncher and pathProvider from FlutterPlatformPlugin (flutter/engine#3673) 2017-05-10 13:42:13 +02:00
Mikkel Nygaard Ravn
6d6e19b682 Fix iOS plugin reg docs (flutter/engine#3672) 2017-05-10 08:40:14 +02:00
Chris Bracken
08bbbdfe3f Disable auto-correct for text editing when obscureText is set (flutter/engine#3661) 2017-05-09 14:55:58 -07:00
mikejurka
cc3ffeb6f0 Enable Vulkan validation layers on Fuchsia in debug mode. (flutter/engine#3663)
Disable info debug messages from the layers to cut down log spam.
2017-05-09 14:32:17 -07:00
Chinmay Garde
f366940fe7 Fix Android Vulkan build by accounting for updated GN flags. (flutter/engine#3670) 2017-05-09 14:17:24 -07:00
Mikkel Nygaard Ravn
55e8e08e75 Add documentation to iOS plugin registry (flutter/engine#3665) 2017-05-09 11:26:02 +02:00
Mikkel Nygaard Ravn
536aa72373 Use older openURL signature (flutter/engine#3660) 2017-05-08 23:29:59 +02:00
Mikkel Nygaard Ravn
4ae1c00a9e Add uikit import (flutter/engine#3659) 2017-05-08 22:53:04 +02:00
mikejurka
eee9292e3b Include new Vulkan enum values only on Fuchsia (flutter/engine#3658)
Fixes build.
2017-05-08 13:44:07 -07:00
mikejurka
eaba4f5a5d Update to match the latest Vulkan loader in Fuchsia (flutter/engine#3654) 2017-05-08 12:58:17 -07:00
Mikkel Nygaard Ravn
53e3237cfb iOS plugin registry (flutter/engine#3645) 2017-05-08 21:45:23 +02:00
Mikkel Nygaard Ravn
d0fb164548 Android plugin registry (flutter/engine#3641) 2017-05-08 21:44:49 +02:00
Adam Barth
2f17f94b1d Add Picture.toImage (flutter/engine#3657)
Fixes https://github.com/flutter/flutter/issues/6774
2017-05-08 09:10:34 -07:00
Ian Hickson
fa260ad401 Correct the docs for Size.lerp. (flutter/engine#3653) 2017-05-06 21:07:13 -07:00
P.Y. Laligand
c4013f0a5e Fixed some analysis issues. (flutter/engine#3656) 2017-05-05 18:37:40 -07:00
Chris Bracken
6010385a81 Default return key behaviour to 'done' on iOS (flutter/engine#3655)
This change brings iOS return key behaviour in line with current behaviour on
Android.

* Implements TextInputClient.performAction for iOS Adds FlutterTextInputAction
* enum Defaults return key to 'Done' Ends editing and hides the keyboard if
* 'Done' is pressed

Future work is planned to support configurable return/action key behaviour.
See: #9573, #9210, #8028.
2017-05-05 17:40:52 -07:00
Ian Hickson
dbcef4b099 Some doc typos (flutter/engine#3647) 2017-05-04 22:42:04 -07:00
Adam Barth
394d367b3f Retrieve the last error from the proper thread (flutter/engine#3649)
Previously, the last error was a global static. Now it is a thread-specific
value, which means we need to visit the UI thread to read the value.
2017-05-04 21:30:39 -07:00
Todd Volkert
855f18ecc1 Add ipv6 flag to shell. (flutter/engine#3646)
It controls whether the observatory and diagnostic server will
bind to the IPv6 loopback address rather than the IPv4.

Fixes https://github.com/flutter/flutter/issues/9813
2017-05-04 19:35:59 -07:00
Adam Barth
52247beb87 Make microtask queue be per thread (flutter/engine#3644)
Previously, it was a static. Doesn't have much effect in practice because we
only use this microtask queue for main isolates, which exist on a single
thread.
2017-05-04 15:06:43 -07:00
P.Y. Laligand
456c1066eb Add missing dependency. (flutter/engine#3643) 2017-05-02 15:30:48 -07:00
Florin Malita
f96707733a Add missing Skia includes (flutter/engine#3642)
We are removing some indirect includes from SkCanvas.h.

Updating clients to pull required headers explicitly.
2017-05-02 10:17:11 -07:00
Chinmay Garde
e9fc94b879 When pasting an item of type kTextPlainFormat from the pasteboard, ensure there actually is a string in the pasteboard. (flutter/engine#3638) 2017-04-28 15:02:22 -07:00
Mikkel Nygaard Ravn
77454f6ebf Document channel message value conversions (flutter/engine#3633) 2017-04-28 23:31:11 +02:00
Chris Bracken
f0f09665d3 Clamp iOS selection to 0 < pos < length (flutter/engine#3636) 2017-04-27 16:04:30 -07:00
Jason Simmons
15e0d127bd Change the shadow elevation parameter to floating point (flutter/engine#3637) 2017-04-27 10:52:13 -07:00
Jason Simmons
11b6cb10f7 Add a second per-frame callback that is invoked after the microtask queue is drained (flutter/engine#3632)
See https://github.com/flutter/flutter/issues/7626
2017-04-27 10:23:46 -07:00
Jason Simmons
2f0485a91e Improved parameters for Skia shadows (flutter/engine#3635) 2017-04-27 10:13:28 -07:00
Mikkel Nygaard Ravn
a20aac4525 Fix corner case errors in platform channels (flutter/engine#3631) 2017-04-27 07:52:56 +02:00
P.Y. Laligand
47e891cc1d Don't build the full FlutterTester bundle on Fuchsia. (flutter/engine#3629)
The flutter_tester executable works just fine.
2017-04-26 10:37:28 -07:00
Chinmay Garde
b313dac389 Call SkGraphics::Init on shell initialization. (flutter/engine#3628)
This ensures SkOpts are initialized before we start using Skia.
2017-04-25 21:47:09 -07:00
Ian Hickson
a626626f61 Remove the Android NDK and SDK from the license file. (flutter/engine#3627)
As advised.
2017-04-25 17:22:25 -07:00
Ryan Macnak
c549fc12ce Fuchsia AOT: (flutter/engine#3626)
- Fix flutter_aot_app template for moved Flutter tool GN label.
 - Add missing dart:io tree-shaking roots.
 - Add example AOT app to catch future breakage.
2017-04-25 13:28:52 -07:00
P.Y. Laligand
8e74a31abd Allow Flutter shell to build for a Mac Fuchsia host. (flutter/engine#3625) 2017-04-25 07:38:08 -07:00
P.Y. Laligand
3e74263ff6 Fix -Wmissing-field-initializer warning on Fuchsia. (flutter/engine#3624) 2017-04-24 14:06:37 -07:00
Chinmay Garde
b1c35cc789 Remove fml::ThreadChecker and use the one in ftl. (flutter/engine#3623) 2017-04-24 12:22:10 -07:00
P.Y. Laligand
9c662cf05a Added missing dependencies for the sky_engine package on Fuchsia. (flutter/engine#3619)
This was exposed by minimal builds which do not build //flutter.
2017-04-22 08:36:45 -07:00
Mikkel Nygaard Ravn
39b70c07cd Revert "Remove unused import (#3620)" (flutter/engine#3621)
This reverts commit f99f9f749acc3dde33ac3cefdbae09ecb19f2204.
2017-04-22 14:26:08 +02:00
Mikkel Nygaard Ravn
f99f9f749a Remove unused import (flutter/engine#3620) 2017-04-22 14:16:13 +02:00
Mikkel Nygaard Ravn
9d88b0af24 Add hasArgument convenience to MethodCall (flutter/engine#3612) 2017-04-22 14:04:03 +02:00