Commit Graph

7905 Commits

Author SHA1 Message Date
freiling e954e2f689 [MA-225][DNO-95] remove message loop handlers when destroying VulkanSurfaceProducer to avoid callbacks on deleted pointers (#3733) 2017-06-02 16:31:39 -07:00
Chris Bracken bd09286e4a Improve auto-correct disabling on Android when obscureText is true (#3731)
Some keyboards (e.g., on some Samsung devices, SwiftKey) ignore
InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS and require
InputType.TYPE_TEXT_VARIATION_PASSWORD.
2017-06-02 15:50:23 -07:00
Michael Goderbauer 28e50a6291 Fix crash when iOS accessibility is turned off and then on again (#3732) 2017-06-02 15:50:12 -07:00
Chris Bracken 5cd58ba4fa Add support for TextInputType.url (#3730)
Adds support for requesting a platform keyboard optimised for entering
URLs.
2017-06-02 15:13:37 -07:00
Chris Bracken f990f8b0d3 Add support for TextInputType.emailAddress (#3729)
Adds support for requesting a platform keyboard optimised for entering
email addresses.
2017-06-02 15:04:35 -07:00
Chris Bracken 9af413ca8b Log to stdout in flutter_tester (#3728)
Fixes a regression introduced in
dcfcc9259d in flutter_tester on Linux.
2017-06-02 10:25:15 -07:00
Chris Bracken dcfcc9259d Simplify log forwarding on iOS, Android (#3726)
Eliminates logging to stdout on Android -- now using __android_log_print
only.

Eliminates logging to syslog on iOS -- now writing to stdout with the
existing ASL redirection (from platform_mac.mm) only. syslog() wasn't
ever picked up in logs.

This patch is a pre-factoring change before swapping out iOS engine
logging to a flutter-specific mechanism.
2017-06-02 09:32:08 -07:00
Gary Qian 09de6f79da Add software as fallback if Vulkan and OpenGL fails (#3725) 2017-06-01 17:50:03 -07:00
Gary Qian 1f2aa07571 Add flags for enabling software rendering in FlutterActivity (#3724) 2017-06-01 13:53:12 -07:00
Chinmay Garde 71da3d7955 Ensure that gradient tile mode enum values in Dart match SkShader::TileMode. (#3721) 2017-06-01 12:18:13 -07:00
Zachary Anderson a808ab9f0c Stop passing ignored argument to snapshot script (#3723) 2017-06-01 12:09:14 -07:00
Gary Qian 796259c089 Allow switching to the software rendering backend on Android. (#3719)
* Enable software rendering backend on android. Add "enable-software-rendering" flag.

* Fix variable naming and threading.
2017-05-31 17:27:47 -07:00
Ryan Macnak 9e0eaa151d [fuchsia] Ensure flutter_apps in the same BUILD.gn have separate scratch directories for building the FLX. (#3720) 2017-05-31 12:41:25 -07:00
Michael Goderbauer 249fab6b10 [iOS accessibility] Dispatch taps to selected element (#3718)
Previously, taps were sent to the topmost tap handler in the center of the accessibility frame of the selected element nd therefore might have been handled by a different element than the desired one.
2017-05-30 16:53:10 -07:00
Jêrôme Poichet 88c24a6c1a Updating to take into account the new Mozart IME Action API (#3714) 2017-05-26 09:34:01 -07:00
Chris Bracken 75c74dc463 Add inactive, suspending ApplicationLifecycleState values (#3713)
**This is a breaking change on iOS**

Previously, the `paused` state was entered when the application resigned
active status. `inactive` now maps to this status. `paused` now maps to
an app that has been backgrounded.

`inactive` is currently emitted on iOS only and corresponds to iOS's
foreground inactive state.

Current state transitions are:
`resumed` <--> `inactive` <--> `paused`

suspending is currently emitted on Android only and corresponds to the
transition to Android's stopped state.

Current state transitions are:
`resumed` <--> `paused` --> `suspending` --> `resumed`

These transitions may change in future.
2017-05-24 16:34:34 -07:00
Adam Barth 73508ed1c1 Add faster entry points for drawPoints and friends (#3712)
Fixes https://github.com/flutter/flutter/issues/10087
Fixes https://github.com/flutter/flutter/issues/10233
2017-05-24 13:19:44 -07:00
Chris Bracken af60e003d0 Roll dart to ae57eca5040cc32e97c9f4728842127f8ca5f742 (#3711) 2017-05-23 18:39:17 -07:00
xster acb3816ed1 Fix a typo (#3710)
I weaksauced
2017-05-23 18:12:02 -07:00
Chris Bracken 1295b4718b Roll Dart SDK to 54bd8a79c48b4346d926ab3d3c3f986e5e691bc3 (#3708) 2017-05-23 15:37:20 -07:00
Adam Barth 84ccfde363 Teach flutter_runner about namespaces (#3707)
Rather than receiving an ApplicationEnvironment, we now receive a namespace.
Once we have FIDL2, we can plumb the namespace all the way through to Dart.
2017-05-23 15:21:07 -07:00
Michael Goderbauer 6187779e9c Use children's labels if element doesn't have one (#3709)
Android seems to do this by default. This way, if you select a table cell it will read the content of that cell.
2017-05-23 14:50:26 -07:00
Michael Goderbauer 69b75b5810 Fix crash in iOS accessibility (#3706)
* Fix crash in iOS accessbility

Previously, whenever an action would remove the focused element from the screen the app would crash. This change tells iOS to focus the first on-screen element after every change to the semantics tree. This avoids the crash.

In a future iteration, we should tell iOS which element it needs to focus by looking at the sematnics tree (instead of leaving it up to the iOS).

* Better handle the case were the focused element stays on the screen

* review comments
2017-05-23 13:14:56 -07:00
Jason Simmons c992b1ee92 Use a new Skia API for safe passing of images across threads and GrContexts (#3705)
Fixes https://github.com/flutter/flutter/issues/9439
2017-05-22 17:26:56 -07:00
Ian Hickson 8b09c7231e Better onDrawFrame docs (#3704) 2017-05-22 12:30:54 -07:00