8020 Commits

Author SHA1 Message Date
Michael Goderbauer
63bf1d282f a11y: Add SemanticsAction "showOnScreen" (#3856)
This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen.

iOS implementation to follow.
2017-07-12 15:52:30 -07:00
Zachary Anderson
e385c1b454 [Fuchsia] Pass command line arguments for tracing (#3868) 2017-07-12 15:17:24 -07:00
Jason Simmons
74d6f60558 Enable text autocorrect on Android with a flag to disable it (#3866)
See https://github.com/flutter/flutter/issues/11168
2017-07-12 14:44:20 -07:00
Carlo Bernaschina
354d90a957 Add missing virtual methods in PlatformView (#3867) 2017-07-12 13:06:02 -07:00
Carlo Bernaschina
8ba522eeae Avoid to freeze the system if hot reloading during debug (#3833) 2017-07-12 10:25:42 -07:00
Ryan Macnak
431a251151 Revert "Avoid spurious descheduling when posting message loop tasks. (#3812)" (#3862)
This reverts commit 2062ca14ec55934ac27b6a1e69031c44daae1e54.
2017-07-11 14:49:13 -07:00
Erik Gilling
98807038a5 [content handler] Fix waiting for GPU. (#3858)
Previously WaitForFirstDisplayDriver() would return, prematurely,
on the first event in "/dev/class/display".  This would cause apps
started before the GPU driver came up to fall back on SW
rendering.
2017-07-11 11:26:52 -07:00
Jason Simmons
456d746eb0 Do not enter text for key events that are not associated with a character (#3860)
Fixes https://github.com/flutter/flutter/issues/10723
2017-07-10 17:41:14 -07:00
Ryan Macnak
dd634d349d Revert "Allow SIGQUIT to toggle the vm-service server a la command line Dart. (#3857)" (#3859)
This reverts commit d67b614a29fe9dc112ddc0b60b6eb685c1f55eb1.

Fuchsia TO-370
2017-07-10 15:57:26 -07:00
Ryan Macnak
d67b614a29 Allow SIGQUIT to toggle the vm-service server a la command line Dart. (#3857)
Fixes flutter/flutter#9128
2017-07-10 13:08:00 -07:00
James Robinson
a4fa558847 [fuchsia] Be less specific about location of flutter_runner in flutter_app template (#3855) 2017-07-07 16:55:37 -07:00
James Robinson
130aecefad [content_handler] Silence mx::object::get_address() deprecation warning (#3854) 2017-07-07 16:31:57 -07:00
Michael Goderbauer
f02133b5f6 Rename licenses README to get nice formatting on Github (#3853) 2017-07-07 13:02:51 -07:00
Michael Goderbauer
9117705b36 Roll Dart to 1bfd01c1f7a57fed039ce8ab95df2a5f14cf63b6 (#3852)
* Roll Dart to 1bfd01c1f7a57fed039ce8ab95df2a5f14cf63b6

* fix licence
2017-07-07 11:55:07 -07:00
Alexander Aprelev
89d16cc4ab Use Dart_Closure instead of looking up _getMainClosure (#3850)
* Use Dart_Closure instead of looking up _getMainClosure

* Restore comment

* Fix comment

* Restore comment
2017-07-06 17:53:24 -07:00
George Kulakowski
db8241ed03 [content handler] Use the non-deprecated name for ioctl_vfs_watch_dir (#3849) 2017-07-06 16:17:54 -07:00
Ryan Macnak
eb467a8b85 Don't enable_profiling for x86 Android. (#3848)
This somehow introduces text relocations even though we always use -fPIC.
2017-07-06 14:40:34 -07:00
Ryan Macnak
66fbebaca3 Changes to get the profiler working for C code on Android. (#3847)
Roll Dart VM to daa38a2ea21d290e45adb509dc60418b22ec7eba for fix to Thumb profile sample collection.

Roll buildroot to b0b836db790abff26695a944224a4934480f2f48.
2017-07-06 09:40:23 -07:00
Ryan Macnak
2062ca14ec Avoid spurious descheduling when posting message loop tasks. (#3812)
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
Jason Simmons
8d5372a82a Do not try to apply selections outside the length of the text (#3845)
See https://github.com/flutter/flutter/issues/11041
2017-06-30 14:50:01 -07:00
Ryan Macnak
9d6d69fe15 GN: Use a depfile when generating the core snapshot. (#3844)
Roll Dart to f445c318184b30b3db997ac27f357bcb5d45670a.

Fuchsia issue TO-365
2017-06-30 13:06:35 -07:00
Jason Simmons
f0c3ebfb81 Send text input action events on Fuchsia (#3843)
Fixes https://github.com/flutter/flutter/issues/10061
2017-06-29 18:03:51 -07:00
Michael Goderbauer
d2d152f201 Fix a11y scroll direction (#3841)
See also https://github.com/flutter/engine/pull/3701
2017-06-29 15:56:17 -07:00
Alexander Aprelev
8ad1576f27 Roll dart and buildroot deps. (#3842)
* Roll dart and buildroot deps since they have to be updated together to get and use prebuilt dart sdk in correct location.

* Update license
2017-06-29 14:27:44 -07:00
Jason Simmons
e556332932 Report size estimates to Dart for Image/Picture/Paragraph objects (#3840)
Fixes https://github.com/flutter/flutter/issues/11007
2017-06-29 14:14:33 -07:00
Jason Simmons
2d8875c2bc Roll Tonic (#3838) 2017-06-29 09:53:56 -07:00
Michael Goderbauer
6ae7e99321 Roll buildroot to 10383548a4063ad75855527a745e324125cf2210 (#3839) 2017-06-28 16:45:42 -07:00
Jason Simmons
1009e9c097 Remove warning about a deprecated accessibility API (#3837) 2017-06-28 12:47:15 -07:00
Alexander Aprelev
42b23effaf Fix target name for flutter_patched_sdk so it doesn't conflict with patched_sdk target name, doesn't confuse ninja with depfile defined as .d (#3834) 2017-06-27 17:19:20 -07:00
freiling
7412b7e126 [Content Handler] Fix VulkanRasterizer file watcher foo (#3835) 2017-06-27 17:12:59 -07:00
freiling
098102fc48 [Content Handler] Improve VulkanRasterizer tracing (#3832) 2017-06-27 13:38:33 -07:00
Brian Osman
2d9155e174 Reland "Run Flutter on iOS and Android with color correct Skia (#3826)
* Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (#3823)"

This reverts commit db8d8a9979901d05b011368226ad5bf61b1da13f.

* Fix test code to match internal API change
2017-06-27 13:30:10 -04:00
Alexander Aprelev
009d470d50 Generate flutter-flavoured dart patched sdk and platform.dill (#3814)
* Build Flutter patched-sdk with kernel artifacts

* Switch to new dart_host_toolchain argument mechanism to let dart patch_sdk know of host_toolchain.

* Update dart dependency

* Updated licenses

* Rename dart dependencies tag so they have just 'dart_'-prefixed dart's names.

* Fix indentation and line breaks for newly added deps.

* Add toolchain for windows host

* Update dart revision

* Licenses

* Update licenses

* Revert changes to licenses_third_party
2017-06-27 02:44:04 +00:00
Yegor
38b3e89ea8 upgrade buildroot to pick up analyzer fixes (#3830) 2017-06-26 16:43:22 -07:00
Yegor
926c9a581f preserve Window callback zones (#3817)
* preserve Window callback zones

Run Window callbacks in the zone they are registered in. This is consistent with how other native API work, such as `scheduleMicrotask`, `Timer`, and `dart:io`. This also enables the developers to use the `Zone` API to capture and log unhandled Dart errors.

* refactor wrapping

* new line

* fewer if checks; group getters/setters/fields

* inline _invokeOnPointerDataPacket
2017-06-26 15:08:43 -07:00
Adam Barth
e07861a567 Update Dart to 3c543bb210711dd6761d592a863fd6f32e1f1279 (#3827) 2017-06-26 15:06:55 -07:00
Jason Simmons
cbbdd8849e Convert Fuchsia event timestamps to microseconds (#3828)
Fixes https://github.com/flutter/flutter/issues/10569
2017-06-26 14:56:42 -07:00
Brian Osman
c920002508 Roll Skia (#3820)
* Roll Skia

* Update licenses
2017-06-26 09:20:28 -04:00
Michael Goderbauer
9190c675ef Add Windows support to CONTRIBUTING.md (#3825) 2017-06-23 17:58:57 -07:00
freiling
ce5c71488b Revert "[content handler] tune VulkanSurfaceProducer allocation and recycling heuristics" (#3824)
This reverts commit fc70e6eb1e02ab1e6764b45690e4639bfd104cc1.
2017-06-23 17:50:38 -07:00
Brian Osman
db8d8a9979 Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (#3823)
This reverts commit 2650f529a138de9cc9116bb9194dbe22f8e0df25.
2017-06-23 20:28:24 -04:00
Brian Osman
2650f529a1 Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)
* Revert "Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (#3775)"

This reverts commit cfe70e07d386d6052267fe3772bbd641c8413a54.

* Enable sRGB on IO thread, too

* Add 4444 as a fallback rendering mode

* Use bare ptr to SkColorSpace (not sk_sp) in PrerollContext
2017-06-23 20:21:29 -04:00
freiling
674b8f1171 Vulkan on Fuchsia performance tuning (#3822)
* increase Vulkan GrContext resource cache limits to match android

* [content handler] tune VulkanSurfaceProducer allocation and recycling heuristics
2017-06-23 16:02:23 -07:00
P.Y. Laligand
8a2d337446 Improve the names of Flutter processes. (#3819) 2017-06-23 13:13:16 -07:00
Ian Hickson
ca7836108b Roll tonic to pick up my crash fixes (#3816) 2017-06-23 12:32:44 -07:00
Adam Barth
026f76d793 Depend on //lib/mtl rather than a subtarget (#3821)
This will make it easier to change mtl into a shared library.
2017-06-23 11:09:29 -07:00
Ian Hickson
6cf34cb5b3 Throw exceptions rather than crashing when Canvas API is misused. (#3811)
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.
2017-06-22 17:06:59 -07:00
Jason Simmons
538e103b2c Catch exceptions during invocations of updateSemantics from native code (#3813) 2017-06-22 11:19:32 -07:00
P.Y. Laligand
d13622c0bf Only add Fuchsia-specific stuff when the current OS is Fuchsia. (#3809)
This allows the shell to be built normally for a Fuchsia host.
2017-06-21 15:40:50 -07:00
Jason Simmons
b0dee695ec Revert to API level 16 compatible variant of AccessibilityNodeInfo.addAction (#3810)
Fixes https://github.com/flutter/flutter/issues/10855
2017-06-21 12:31:08 -07:00