3051 Commits

Author SHA1 Message Date
5u3it
afbc193bde Native keyboard behavior update for multiline input (flutter/engine#4234)
Use sentence capitalization for non-obscuretext fields of TextInputType.text
and TextInputType.multiline on iOS and Android.
2017-10-19 13:56:35 -07:00
P.Y. Laligand
0768d0714e Move //dart to //third_party/dart. (flutter/engine#4245) 2017-10-19 01:20:38 -07:00
amirh
22b9ed16b5 Support accessibility announcements in the iOS accessibility_bridge (flutter/engine#4244) 2017-10-18 16:37:52 -07:00
Yegor
db7ec2ce7e Add alwaysUse24HourFormat and textScaleFactor (flutter/engine#4202)
* systems/settings channel split

* merge textScaleFactor and alwaysUse24HourFormat into flutter/settings channel

* add debugOverrideAlwaysUse24HourFormat

* implement textScaleFactor on iOS

* address comments

* remove debugOverrideAlwaysUse24HourFormat

* clang-format
2017-10-18 16:13:43 -07:00
Zachary Anderson
268fa25fff Allow a non-main entrypoint (flutter/engine#4238) 2017-10-18 14:19:28 -07:00
amirh
897c86bce9 make AccessibilityBridge#mOwner final (flutter/engine#4235) 2017-10-18 13:25:07 -07:00
amirh
faa7964af3 Support accessibility announcements in the Android AccessibilityBridge (flutter/engine#4232) 2017-10-18 11:10:14 -07:00
Zachary Anderson
b4193daaf9 Make Engine::RunBundle* reuse an existing RuntimeController (flutter/engine#4229) 2017-10-17 13:44:09 -07:00
Sarah Zakarias
f7660f8d9c Read snapshot directly from data dir instead of FLX (flutter/engine#4214) 2017-10-17 15:06:03 +02:00
Chinmay Garde
0226fef0e6 Fix build breakage in the iOS software backend due to Skia update. (flutter/engine#4223) 2017-10-16 16:43:43 -07:00
Alexander Aprelev
16934d4f9e Put back ConfigureBundle. (flutter/engine#4219)
It was accidently removed in 948a60c83d819c1eae547dfce19ef7817bab3e43.
2017-10-15 11:31:26 -07:00
P.Y. Laligand
235f07742a Allow the project to be mapped to a location other than //flutter. (flutter/engine#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Jason Simmons
fc6cd2ae23 libtxt: support the use_test_font flag required by framework tests (flutter/engine#4216)
This registers a test font manager that maps all fonts to the Ahem font
2017-10-13 11:31:35 -07:00
Zachary Anderson
9b1c0f80f4 [Android] Lazily create the rasterizer and platform surface (flutter/engine#4207) 2017-10-12 15:38:28 -07:00
Jason Simmons
e069095af0 Remove AndroidSurface::SetFlutterView (flutter/engine#4208)
This was used by AndroidSurfaceSoftware but is now obsolete
2017-10-12 13:49:56 -07:00
Alexander Aprelev
948a60c83d Fix RunBundleAndSource to run from kernel. (flutter/engine#4184)
* Fix RunBundleAndSource to run from kernel.

This is needed to accommodate restarting(rather than reload) of Flutter app from kernel.

* Fix formatting
2017-10-11 16:04:57 -07:00
Chris Bracken
79b9bdbbf4 Revert "Use iOS scale when computing render buffer size (#4171)" (flutter/engine#4175)
This reverts commit 1a7ca91e3938abd5720b3553dfb2045a6b805a3b.

Clear regression to the flutter_gallery_ios__transition_perf benchmarks:
  * average_frame_build_time_millis: 1.4x
  * missed_frame_build_budget_count: 1.2x

No regression seen for other iOS benchmarks (e.g. scrolling).
2017-10-04 17:42:46 -07:00
Chris Bracken
1a7ca91e39 Use iOS scale when computing render buffer size (flutter/engine#4171)
When checking whether render buffer size has changed, apply the device
scale factor used to convert points to pixels to ensure we're not
needlessly re-allocating render buffer storage.

Adds trace + debug log to make this easier to detect in future.

Originally introduced in 72c28f3a01bd9e6bed256edc4629705d96a7cead, but
rolled back in d539abd7c5fe5291bab81b32e6e5697c1b6681b6 to test whether
it was responsible for regressions to
flutter_gallery_ios__transition_perf benchmarks:
  * average_frame_build_time_millis
  * missed_frame_build_budget_count
2017-10-03 19:43:36 -07:00
Michael Goderbauer
6a74f87210 Proper horizontal a11y scrolling on Android (flutter/engine#4163) 2017-10-02 15:46:38 -07:00
gspencergoog
b29baaed16 Add support for system text scale factor. (flutter/engine#4124)
Adds support for system text scale factor, including hooks for Android system settings changes.  iOS hooks will be added in another PR.
2017-09-29 13:19:06 -07:00
Michael Goderbauer
419022a3ba Send scroll progress with a11y event TYPE_VIEW_SCROLLED (flutter/engine#4144) 2017-09-27 11:18:50 -07:00
gspencergoog
bdc982d267 Fixing accidental paste. (flutter/engine#4145) 2017-09-26 13:44:39 -07:00
gspencergoog
3d9ced058b Support correct keyboards for multi-line text editing. (flutter/engine#4115)
This addresses part of #8028, implementing the Engine-side support for it.
2017-09-26 12:53:19 -07:00
Jason Simmons
7ee4d99155 Replace a View.getDisplay call that is not supported on API level 16 (flutter/engine#4139)
Fixes https://github.com/flutter/flutter/issues/12235
2017-09-25 11:25:47 -07:00
P.Y. Laligand
f7307b60cb Adjust to new location of lib/tonic. (flutter/engine#4132) 2017-09-21 14:30:28 -07:00
Alexander Aprelev
d539abd7c5 Revert "account for pixel scale when checking against existing buffer storage size (#4103)" (flutter/engine#4133)
This reverts commit 72c28f3a01bd9e6bed256edc4629705d96a7cead as it looks
like a potential cause of performance benchmark regressions on
https://flutter-dashboard.appspot.com/benchmarks.html:
 - flutter_gallery_ios__transition_perf average_frame_build_time_millis
 - flutter_gallery_ios__transition_perf missed_frame_build_budget_count
2017-09-21 12:45:16 -07:00
Michael Goderbauer
dca7480bd3 Don't crash on iOS if there is only a single SemanticsNode (flutter/engine#4128)
* Don't crash if there is only a single SemanticsNode

Previously, the code assumed that the root SemanticsNode will allways have a child. This is not true as can be seen in the hello_world example app, which would crash when a11y is turned on.

* review comment
2017-09-20 14:17:50 -07:00
Michael Goderbauer
41e2e6dc9f Three finger a11y scrolling for iOS (flutter/engine#4123)
* Three finger a11y scrolling for iOS

* review comments

* review feedback
2017-09-20 09:59:14 -07:00
Abhishek Amit
7613894f7e Add flags to allow cross compiling to linux arm (flutter/engine#4120) 2017-09-19 14:09:35 -07:00
Abhishek Amit
b42cf1f520 Add API to send platform messages into engine through embedder API (flutter/engine#4112) 2017-09-19 13:57:44 -07:00
Abhishek Amit
a318ad4d08 Add support for running bundles to embedder API (flutter/engine#4099) 2017-09-19 13:12:51 -07:00
Michael Goderbauer
aa090950f6 Silence Wawrning (flutter/engine#4122)
Follow-up to https://github.com/flutter/engine/pull/4110
2017-09-19 10:15:39 -07:00
Michael Goderbauer
774f4cb661 Allow nested semantics on iOS (flutter/engine#4110)
* Allow nested semantics on iOS

* review comments

* review comments
2017-09-18 17:27:14 -07:00
Carlo Bernaschina
ae80d81185 Fix engine on iOS (flutter/engine#4113)
Related https://github.com/flutter/engine/pull/4105
2017-09-15 09:59:53 -07:00
Carlo Bernaschina
0ded14f6ab Add anchor events for developer centric timeline (flutter/engine#4105)
By adding these events the new developer centric timeline will be able
to identify and correlate events related to the different stages of the
drawing pipeline.

Roll Dart to 62045a4590a333ae557f8f261a909ee75449cd70
2017-09-14 20:18:07 -07:00
Ryan Macnak
f2629475aa Remove use of CADisplayLink targetTimestamp, which was only added in iOS 10.0. (flutter/engine#4108) 2017-09-14 10:48:28 -07:00
xster
72c28f3a01 account for pixel scale when checking against existing buffer storage size (flutter/engine#4103) 2017-09-13 14:05:45 -07:00
Carlo Bernaschina
e0ef51ea00 Add --trace-skia parameter to flutter run (flutter/engine#4100)
Skia tracing is extremely useful for internal debug, but reduces the
amount of space available in the Dart Timeline buffers.
Disable skia tracing by default and expose them via the --trace-skia
flag.
2017-09-13 10:18:45 -07:00
Michael Goderbauer
ac24af87f0 Format all c-like sources with clang-format (flutter/engine#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
Michael Goderbauer
9c860a4617 More renaming of FTL->FXL (flutter/engine#4092) 2017-09-11 17:29:48 -07:00
George Kulakowski
b2b9a646ca Fix remaining ftl->fxl conversions (flutter/engine#4091)
* Fix remaining ftl->fxl conversions

The previous scripting pass at this did not account for objective c file endings

* Update tonic DEPS reference to the post-fxl version
2017-09-11 16:31:18 -07:00
George Kulakowski
fa539e618e Rename ftl to fxl in Fuchsia specific code (flutter/engine#4090) 2017-09-11 15:58:48 -07:00
Michael Goderbauer
3589d495f8 a11y improvements for iOS (flutter/engine#4079)
* Various iOS a11y fixes

* undo

* review comments

* review comments
2017-09-11 14:44:17 -07:00
Jason Simmons
a8c7dcec2d Log instead of asserting when sending a reply message to a defunct engine (flutter/engine#4084)
Fixes https://github.com/flutter/flutter/issues/12037
2017-09-11 14:05:14 -07:00
Michael Goderbauer
be40ad4d84 refactor accessibility channel to use StandardMessageCodec (flutter/engine#4073) 2017-09-07 15:24:47 -07:00
Michael Goderbauer
fadcb3517c Tell Android which SemanticsNodes are focusable (flutter/engine#4067)
A node is considered focusable if it contains information that is interesing to the user. A node that doesn't add any semantic information of its own should not be focusable. It's expected that such a node has children, who have smeantics information and are therefore focusable.

Fixes https://github.com/flutter/flutter/issues/11179
2017-09-06 16:56:23 -07:00
Michael Goderbauer
e9ba17ce44 Adapt semantics event handling to framework changes (flutter/engine#4066) 2017-09-05 16:31:24 -07:00
Michael Goderbauer
aa1377d11e Wire up basic a11y channel for a11y events (flutter/engine#4054) 2017-09-01 16:40:04 -07:00
Chinmay Garde
7d184eb710 Wire up support for multiple font managers in txt::FontCollection. (flutter/engine#4042) 2017-09-01 11:56:38 -07:00
Ryan Macnak
d6e340346d Initial implementation of idle notification. (flutter/engine#4012)
- Assumes only the Dart VM is interested in idle notification.
 - Gives the VM the time remaining in each frame.
 - Gives the VM 100ms if there is no pending frame.

Issue flutter/flutter#9594
2017-09-01 11:11:25 -07:00