422 Commits

Author SHA1 Message Date
Chinmay Garde
eabcf3aaa9
Avoid registering both the platform view and the rasterizer in the shell. (#4293)
Instead, the rasterizer can be accessed via the platform view.
2017-10-30 13:28:39 -07:00
Chinmay Garde
ede57ad1e7
Allow embedders to specify custom ICU data paths and command line args. (#4290) 2017-10-27 17:31:13 -07:00
Jason Simmons
963a29b096
Remove the diagnostic server (includes Dart roll) (#4287) 2017-10-27 11:53:00 -07:00
Alexander Aprelev
3951c4a976 Fix regression - configure asset bundle (#4285)
* Fix regression - configure asset bundle

* Fix formatting
2017-10-26 14:54:03 -07:00
Jason Simmons
62ac189e27 Add an SkPicture screenshot handler to the service protocol (#4284)
This will replace the one in the diagnostic server
2017-10-26 14:35:26 -07:00
Michael Goderbauer
4a9e6782a7 Announce the correct new value after increase/decrease has been performed on iOS (#4282) 2017-10-25 16:02:43 -07:00
Michael Goderbauer
6665645a0f Only post UIAccessibilityLayoutChangedNotification if layout changed (#4279)
* Only post UIAccessibilityLayoutChangedNotification if layout actually changed

* ++

* review comment
2017-10-25 14:07:41 -07:00
Chinmay Garde
144dea37cd Add a unittest stub for the embedder. (#4276) 2017-10-25 13:09:59 -07:00
Michael Goderbauer
65e4deba15 Revert "Move channel and codec related files to common (#4262)" (#4277)
This reverts commit a48b5f6d25c7371d05d6d8290e385b83d58f0b72.
2017-10-25 13:01:24 -07:00
P.Y. Laligand
7f676451ae Fix build file typo. (#4275) 2017-10-25 10:54:03 -07:00
krisgiesing
a48b5f6d25 Move channel and codec related files to common (#4262)
Refactoring related to use of the embedder APIs on macOS
host builds.
2017-10-24 20:36:18 -07:00
Alexander Aprelev
ec19da1c80 Initialize service isolate from kernel file, rather than from embedded sources. (#4263)
* Read core platform kernel file during Dart initialization.

Currently service isolate is initialized from the source code parsed by VM.
This CL changes it so service isolate created during Dart initialization
is created from the kernel platform.dill file if it is present in the application
bundle. Then this platform kernel file is kept in dart_init module and reused
for application sciprt isolates.

* Reformat and merge

* Use accessor method

* Avoid passing running_from_kernel param. Add TODO for cleanup. Rename param.
2017-10-24 19:37:24 -07:00
Chinmay Garde
052a257974 Setup GN rules to package embedder dylib as a Mac framework where supported. (#4270) 2017-10-24 12:50:13 -07:00
Michael Goderbauer
91071f817b Support for accessibility label and hint (#4264)
* Support for accessibility label and hint

* review comments
2017-10-23 16:46:01 -07:00
Zachary Anderson
e312b62784 Pass missing parameter. (#4260) 2017-10-23 07:47:37 -07:00
amirh
3d013382e6 Add a semantic isButton flag (#4254)
https://github.com/flutter/flutter/issues/11992
2017-10-20 13:15:20 -07:00
amirh
6bf9f7594a Revert "Move channel and codec related files to common" (#4256)
* Revert "Pass option to reuse an existing runtime controller (#4253)"

This reverts commit 57f361dc6abcd8441c444882c5e8bb99519532f3.

* Revert "Document the Porter-Duff operators. (#4250)"

This reverts commit b15fa9c64e1028187ec9592289919d77a6843802.

* Revert "Move channel and codec related files to common (#4225)"

This reverts commit 674a3f5869d3ae0e7ea3583a2d0942e184817903.
2017-10-20 11:44:56 -07:00
Zachary Anderson
57f361dc6a Pass option to reuse an existing runtime controller (#4253) 2017-10-20 10:17:21 -07:00
krisgiesing
674a3f5869 Move channel and codec related files to common (#4225)
* Move channel and codec related files to common

This is in preparation for implementing channel and plugin support
for macOS desktop builds.
2017-10-20 09:57:14 -07:00
Ian Hickson
1e21ac3fb7 Documentation improvements - RTL and others (#4248) 2017-10-19 17:30:30 -07:00
Michael Goderbauer
b9ad2393cf Set AccessibilityFocus (#4249)
This ensures that accessibility hints are played properly.
2017-10-19 15:09:37 -07:00
5u3it
31585e0def Native keyboard behavior update for multiline input (#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
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
amirh
5c9e072060 Support accessibility announcements in the iOS accessibility_bridge (#4244) 2017-10-18 16:37:52 -07:00
Yegor
23f5ccd25c Add alwaysUse24HourFormat and textScaleFactor (#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
d3ebce9cf6 Allow a non-main entrypoint (#4238) 2017-10-18 14:19:28 -07:00
amirh
64fb5d0126 make AccessibilityBridge#mOwner final (#4235) 2017-10-18 13:25:07 -07:00
amirh
879c1fb8e1 Support accessibility announcements in the Android AccessibilityBridge (#4232) 2017-10-18 11:10:14 -07:00
Zachary Anderson
faaf321b01 Make Engine::RunBundle* reuse an existing RuntimeController (#4229) 2017-10-17 13:44:09 -07:00
Sarah Zakarias
7fb41d1b6a Read snapshot directly from data dir instead of FLX (#4214) 2017-10-17 15:06:03 +02:00
Chinmay Garde
87da030332 Fix build breakage in the iOS software backend due to Skia update. (#4223) 2017-10-16 16:43:43 -07:00
Alexander Aprelev
7c4142808c Put back ConfigureBundle. (#4219)
It was accidently removed in a5e26f1f794ad138d59b3115165ba84ac413e891.
2017-10-15 11:31:26 -07:00
P.Y. Laligand
5fae5d52cf Allow the project to be mapped to a location other than //flutter. (#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
6f4eb92020 libtxt: support the use_test_font flag required by framework tests (#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
555ccfc030 [Android] Lazily create the rasterizer and platform surface (#4207) 2017-10-12 15:38:28 -07:00
Jason Simmons
b28933d4f6 Remove AndroidSurface::SetFlutterView (#4208)
This was used by AndroidSurfaceSoftware but is now obsolete
2017-10-12 13:49:56 -07:00
Alexander Aprelev
a5e26f1f79 Fix RunBundleAndSource to run from kernel. (#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
459f722b86 Revert "Use iOS scale when computing render buffer size (#4171)" (#4175)
This reverts commit d43d35347594c893687dec7402a525d83f57db10.

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
d43d353475 Use iOS scale when computing render buffer size (#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 2d530daeca438ca24562d290616c0aec5ab76b88, but
rolled back in 0a6e415b60581ef7934032df20401da1fae9ea9f 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
0448bf9bd7 Proper horizontal a11y scrolling on Android (#4163) 2017-10-02 15:46:38 -07:00
gspencergoog
b2a7f4bf8f Add support for system text scale factor. (#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
45b11f742d Send scroll progress with a11y event TYPE_VIEW_SCROLLED (#4144) 2017-09-27 11:18:50 -07:00
gspencergoog
90ba98e741 Fixing accidental paste. (#4145) 2017-09-26 13:44:39 -07:00
gspencergoog
faabc10178 Support correct keyboards for multi-line text editing. (#4115)
This addresses part of #8028, implementing the Engine-side support for it.
2017-09-26 12:53:19 -07:00
Jason Simmons
77ec0b5f5b Replace a View.getDisplay call that is not supported on API level 16 (#4139)
Fixes https://github.com/flutter/flutter/issues/12235
2017-09-25 11:25:47 -07:00
P.Y. Laligand
fc3cb8fb3b Adjust to new location of lib/tonic. (#4132) 2017-09-21 14:30:28 -07:00
Alexander Aprelev
0a6e415b60 Revert "account for pixel scale when checking against existing buffer storage size (#4103)" (#4133)
This reverts commit 2d530daeca438ca24562d290616c0aec5ab76b88 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
dd68239b43 Don't crash on iOS if there is only a single SemanticsNode (#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
c5602ab197 Three finger a11y scrolling for iOS (#4123)
* Three finger a11y scrolling for iOS

* review comments

* review feedback
2017-09-20 09:59:14 -07:00
Abhishek Amit
bd64e8dc5a Add flags to allow cross compiling to linux arm (#4120) 2017-09-19 14:09:35 -07:00