9472 Commits

Author SHA1 Message Date
xster
664700007c Fix accessibility focus loss when first focusing on text field (flutter/engine#17803) 2020-04-24 15:44:54 -07:00
skia-flutter-autoroll
c4f46db590 Roll fuchsia/sdk/core/linux-amd64 from _dAFU... to G4HpJ... (flutter/engine#17938) 2020-04-24 15:14:03 -07:00
Mouad Debbar
9c6091a02f [web] Fix exception when getting boxes for rich text range (flutter/engine#17933) 2020-04-24 14:30:32 -07:00
Ferhat
061c6b3f32 [web] Batch systemFontChange messages (flutter/engine#17885)
* Batch systemFontChange messages
* Update test for async
2020-04-24 14:10:22 -07:00
skia-flutter-autoroll
90c85fac98 Roll fuchsia/sdk/core/linux-amd64 from kpECk... to _dAFU... (flutter/engine#17929) 2020-04-24 08:59:02 -07:00
skia-flutter-autoroll
6bc74012f5 Roll src/third_party/skia b965ff597315..1e21d14f2b8b (25 commits) (flutter/engine#17928) 2020-04-24 08:34:02 -07:00
skia-flutter-autoroll
3bc82e04f8 Roll src/third_party/dart b0d35855d88c..94178e920ee8 (37 commits) (flutter/engine#17917) 2020-04-23 19:19:02 -07:00
Robert Ancell
214641ff29 Fix units used in Linux shell timestamps. (flutter/engine#17912)
GTK uses timestamps in milliseconds, Flutter wants them in microseconds.
2020-04-24 13:30:34 +12:00
liyuqian
09d418b080 Revert "[tracing] SceneDisplayLag is a synchronous event (#17878)" (flutter/engine#17916)
This reverts commit ca5cc907a90ee4e0dffd712f7fa1f2142813220e.

Reverts flutter/engine#17878

This breaks our devicelab tests.

TBR: @flar
2020-04-23 18:04:39 -07:00
Robert Ancell
2ae335d4d4 Stop clang code formatter checker breaking if local files match glob (flutter/engine#17891)
To reproduce:
$ touch foo.c foo.cc foo.cpp foo.h foo.m foo.mm
$ ./ci/format.sh

This will not check any file with clang, as the following command will do a
shell expansion and not find anything in git that matches:
$ git ls-files *.c *.cc *.cpp *.h *.m *.mm
2020-04-24 12:26:31 +12:00
skia-flutter-autoroll
fe992b2388 Roll fuchsia/sdk/core/linux-amd64 from kEtiu... to kpECk... (flutter/engine#17913)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
2020-04-23 17:02:54 -07:00
Gary Qian
b181ae8f63 Hand off presentation properly in VirtualDisplayController.resize() (flutter/engine#17897) 2020-04-23 15:32:20 -07:00
Robert Ancell
a643d8aa67 Refactor FlutterEngine usage in Linux shell (flutter/engine#17363) 2020-04-24 10:30:41 +12:00
Ferhat
2c1e0538bd [web] When a canvas element is reused and is first element in child list, preserve zIndex. (flutter/engine#17906)
* Fix zIndex removal on reuse
* Move check after append call to simplify
2020-04-23 15:09:59 -07:00
liyuqian
452b98622a Replace RasterCache::Get with RasterCache:Draw (flutter/engine#17791)
This avoids the possible matrix mismatch between RasterCache::Get and
RasterCacheResult::draw. See
https://github.com/flutter/engine/pull/17790 for an example that tries
to fix an earlier mismatch.
2020-04-23 12:12:06 -07:00
Kaushik Iska
ca5cc907a9 [tracing] SceneDisplayLag is a synchronous event (flutter/engine#17878)
This change converts it from an events that spans a time interval
to an event that occurs at an instant.

We also emit this trace event when there is no lag as opposed to
only when there was a lag to make it monotonous.

Co-authored-by: Kaushik Iska <kaushikiska@google.com>
2020-04-23 10:53:45 -07:00
LongCatIsLooong
b4bce4be70 add missing case for TextInput.requestAutofill (flutter/engine#17857) 2020-04-23 10:52:47 -07:00
skia-flutter-autoroll
242a996e01 Roll src/third_party/skia 5e1a57f42120..b965ff597315 (15 commits) (flutter/engine#17901) 2020-04-23 10:39:02 -07:00
Nurhan Turgut
aee119fb36 [web] autofill hints (flutter/engine#17887)
* adding autofill hints map from flutter values to the browser values, which will  be used by the web engine:

* removing unused reverse map

* addressing reviewer comments

* changing licences
2020-04-23 10:00:56 -07:00
skia-flutter-autoroll
6a3dc7a98e Roll src/third_party/dart 64b8ded48b0d..b0d35855d88c (24 commits) (flutter/engine#17895) 2020-04-23 06:49:04 -07:00
Mehmet Fidanboylu
fe52878092 Protect LanguageRange behind Android O. (flutter/engine#17882) 2020-04-23 05:59:52 -07:00
liyuqian
d5e3357c3f Read SkSL from json asset (flutter/engine#17861)
Fixes https://github.com/flutter/flutter/issues/55219
2020-04-22 14:10:17 -07:00
skia-flutter-autoroll
b261e658df Roll src/third_party/skia b920a0b91b1c..5e1a57f42120 (5 commits) (flutter/engine#17880) 2020-04-22 13:53:02 -07:00
Ferhat
45848f43ce [web] Speedup color to css string 25% (flutter/engine#17866)
* Speedup color to css string 25%
2020-04-22 12:28:29 -07:00
Yegor
202eb2a495 Use Float32List as Matrix storage inside the Web engine (flutter/engine#17856)
This change converts all Float64List matrices to Float32List at the dart:ui interface boundary. Internally, it only uses Float32List. Float32List requires less memory and is orders of magnitude faster to allocate, and it has sufficient precision as Flutter mobile engine and Skia use 32-bit floats anyway.

This change speeds up frame preroll by 50% on the bench_card_infinite_scroll benchmark.

For more details on Float64Array allocation in JS (which backs Float64List in Dart) see the following:

https://bugs.chromium.org/p/v8/issues/detail?id=9199
https://bugs.chromium.org/p/v8/issues/detail?id=2022
2020-04-22 11:08:23 -07:00
skia-flutter-autoroll
9e60c38e5f Roll fuchsia/sdk/core/linux-amd64 from 7Q4KR... to kEtiu... (flutter/engine#17875) 2020-04-22 10:48:02 -07:00
skia-flutter-autoroll
cf3c11fa54 Roll src/third_party/skia 68a22428270c..b920a0b91b1c (1 commits) (flutter/engine#17874) 2020-04-22 09:53:02 -07:00
Yegor
fb44b4f34d Report SceneBuilder submetrics through profiling API (flutter/engine#17852)
* add scenebuilder submetrics
* Disable Profiler by default
2020-04-22 09:15:18 -07:00
skia-flutter-autoroll
e5a6993cf9 Roll src/third_party/skia a6cd5588d231..68a22428270c (1 commits) (flutter/engine#17871) 2020-04-22 07:43:02 -07:00
skia-flutter-autoroll
47fee06c53 Roll src/third_party/dart 87b829bacd36..e6baa97e9adc (5 commits) (flutter/engine#17870) 2020-04-22 03:08:01 -07:00
skia-flutter-autoroll
2838381a82 Roll src/third_party/skia e9663db508df..a6cd5588d231 (4 commits) (flutter/engine#17868) 2020-04-22 00:23:01 -07:00
Ferhat
418e20f9e5 Prevent unnecessary DOM append call when canvas is reused (flutter/engine#17864) 2020-04-21 23:00:02 -07:00
skia-flutter-autoroll
784244dd13 Roll src/third_party/skia 2432d061ed35..e9663db508df (1 commits) (flutter/engine#17863) 2020-04-21 20:43:03 -07:00
skia-flutter-autoroll
cc3f1b6783 Roll src/third_party/dart ad8ed8bd468c..87b829bacd36 (13 commits) (flutter/engine#17862) 2020-04-21 20:38:02 -07:00
Dan Field
95b6f94f2a Roll CanvasKit to 0.14.0, fix Canvas.saveLayer(null, paint) (flutter/engine#17849) 2020-04-21 19:22:21 -07:00
Emmanuel Garcia
c6f023fe75 Extend external view embedder on Android (flutter/engine#17839) 2020-04-21 19:14:38 -07:00
godofredoc
9bf14b44f4 Pass amber-files directory to tests. (flutter/engine#17815)
* Pass amber-files directory to tests.

Bug:
  https://github.com/flutter/flutter/issues/50249
  https://github.com/flutter/flutter/issues/55165

* Redirect tar stdout to dev/null and fix param name.

* Keep scenic tests disabled.
2020-04-21 18:54:21 -07:00
skia-flutter-autoroll
57699a26b7 Roll src/third_party/skia 4f8297db64df..2432d061ed35 (4 commits) (flutter/engine#17859) 2020-04-21 17:43:03 -07:00
skia-flutter-autoroll
4a9390ab37 Roll fuchsia/sdk/core/linux-amd64 from RPQuv... to 7Q4KR... (flutter/engine#17858) 2020-04-21 16:28:03 -07:00
Gary Qian
887c1a875e PlatformResolvedLocale localization message channel (flutter/engine#17755) 2020-04-21 15:34:44 -07:00
skia-flutter-autoroll
166b1e1379 Roll src/third_party/skia 5a9e7fba1e3a..4f8297db64df (5 commits) (flutter/engine#17855) 2020-04-21 15:13:02 -07:00
skia-flutter-autoroll
e63019f3c0 Roll src/third_party/skia efb2133b0dd3..5a9e7fba1e3a (3 commits) (flutter/engine#17853) 2020-04-21 13:08:02 -07:00
skia-flutter-autoroll
eb8adfee61 Roll src/third_party/dart 704642a9b00e..ad8ed8bd468c (8 commits) (flutter/engine#17850) 2020-04-21 11:53:05 -07:00
stuartmorgan
6823cf09f2 Use UTF-16 for C++ text input model (flutter/engine#17831)
The C++ text input model used by Windows and Linux currently uses UTF-32. The intention was to facilitate handling of arrow keys, backspace/delete, etc., however since part of what is synchronized with the engine is cursor+selection offsets, and those offsets are defined in terms of UTF-16 code units, this causes very bad interactions with the framework-side model.

This converts to using UTF-16, rather than UTF-32, so that the offsets align with the framework. It also adds surrogate pair handling to the operations that adjust indexes, to avoid breaking surrogate pairs. (Arbitrary grapheme cluster handling is out of scope for this PR; while definitely desirable in the long term, surrogate pair handling is much more critical since improper handling yields invalid UTF-16, which breaks the text field).

This partially fixes https://github.com/flutter/flutter/issues/55014. A framework-side fix is also necessary (since currently both the engine and the framework attempt to handle arrow keys, which is another out-of-scope-for-this-PR issue), but even without the framework fix this dramatically improves the cursor behavior on Windows when there are surrogate pairs somewhere in the string since at least the two sides agree on what indexes mean.

Includes minor plumbing changes to the text input plumbing on Windows so that we're not pointlessly converting from UTF-16 to UTF-32 and then back to UTF-16.
2020-04-21 11:01:01 -07:00
skia-flutter-autoroll
9f3a6040f5 Roll src/third_party/skia 24ea293cd25b..efb2133b0dd3 (7 commits) (flutter/engine#17847) 2020-04-21 10:48:02 -07:00
skia-flutter-autoroll
2a932b7378 Roll src/third_party/skia 607a489345ad..24ea293cd25b (1 commits) (flutter/engine#17844) 2020-04-21 07:40:02 -07:00
Gary Qian
05434dc4a4 Accessibility null check to catch out of bounds hitTest (flutter/engine#17833) 2020-04-21 06:16:42 -07:00
Brian Osman
1a6e99b23d Remove legacy version of SkCanvas::didConcat44 (flutter/engine#17828)
Builds flags have been switched, so the old versions aren't needed any
longer.
2020-04-21 08:46:57 -04:00
skia-flutter-autoroll
57cef9f001 Roll src/third_party/skia 9d4b3185a28c..607a489345ad (3 commits) (flutter/engine#17842) 2020-04-21 03:05:02 -07:00
skia-flutter-autoroll
db3bb0437a Roll src/third_party/skia 76312fbf9778..9d4b3185a28c (2 commits) (flutter/engine#17841) 2020-04-20 23:55:02 -07:00