17363 Commits

Author SHA1 Message Date
xster
2589d07ee9
Fix accessibility focus loss when first focusing on text field (#17803) 2020-04-24 15:44:54 -07:00
skia-flutter-autoroll
3af2b1a78c
Roll fuchsia/sdk/core/linux-amd64 from _dAFU... to G4HpJ... (#17938) 2020-04-24 15:14:03 -07:00
Mouad Debbar
d132ac576b
[web] Fix exception when getting boxes for rich text range (#17933) 2020-04-24 14:30:32 -07:00
Ferhat
cade0e90ca
[web] Batch systemFontChange messages (#17885)
* Batch systemFontChange messages
* Update test for async
2020-04-24 14:10:22 -07:00
skia-flutter-autoroll
4bcfae82c7
Roll fuchsia/sdk/core/linux-amd64 from kpECk... to _dAFU... (#17929) 2020-04-24 08:59:02 -07:00
skia-flutter-autoroll
e3318179e9
Roll src/third_party/skia b965ff597315..1e21d14f2b8b (25 commits) (#17928) 2020-04-24 08:34:02 -07:00
skia-flutter-autoroll
9e5072f0ce
Roll src/third_party/dart 94178e920ee8..a69cb6d700f5 (22 commits) (#17926) 2020-04-24 07:59:02 -07:00
skia-flutter-autoroll
2b94311a77
Roll fuchsia/sdk/core/mac-amd64 from ornVJ... to 9-v-E... (#17919) 2020-04-23 21:44:02 -07:00
skia-flutter-autoroll
6b7829446d
Roll src/third_party/dart b0d35855d88c..94178e920ee8 (37 commits) (#17917) 2020-04-23 19:19:02 -07:00
Robert Ancell
9ece5ba789
Fix units used in Linux shell timestamps. (#17912)
GTK uses timestamps in milliseconds, Flutter wants them in microseconds.
2020-04-24 13:30:34 +12:00
liyuqian
5f5f50d4c6
Revert "[tracing] SceneDisplayLag is a synchronous event (#17878)" (#17916)
This reverts commit a544b45f26cce15fe4ad70f99a52f4e21aff7726.

Reverts flutter/engine#17878

This breaks our devicelab tests.

TBR: @flar
2020-04-23 18:04:39 -07:00
Robert Ancell
6d426a6046
Stop clang code formatter checker breaking if local files match glob (#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
d2ec21221e
Roll fuchsia/sdk/core/linux-amd64 from kEtiu... to kpECk... (#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
0273fab759
Hand off presentation properly in VirtualDisplayController.resize() (#17897) 2020-04-23 15:32:20 -07:00
Robert Ancell
12012f135c
Refactor FlutterEngine usage in Linux shell (#17363) 2020-04-24 10:30:41 +12:00
Ferhat
371a8a05b0
[web] When a canvas element is reused and is first element in child list, preserve zIndex. (#17906)
* Fix zIndex removal on reuse
* Move check after append call to simplify
2020-04-23 15:09:59 -07:00
liyuqian
af19ea7b8d
Replace RasterCache::Get with RasterCache:Draw (#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
a544b45f26
[tracing] SceneDisplayLag is a synchronous event (#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
1df760024d
add missing case for TextInput.requestAutofill (#17857) 2020-04-23 10:52:47 -07:00
skia-flutter-autoroll
2bf9d741b2
Roll src/third_party/skia 5e1a57f42120..b965ff597315 (15 commits) (#17901) 2020-04-23 10:39:02 -07:00
Nurhan Turgut
8fff8da38d
[web] autofill hints (#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
fe14e03236
Roll src/third_party/dart 64b8ded48b0d..b0d35855d88c (24 commits) (#17895) 2020-04-23 06:49:04 -07:00
skia-flutter-autoroll
6c50d4e76b
Roll fuchsia/sdk/core/mac-amd64 from ItiAX... to ornVJ... (#17890) 2020-04-23 06:44:03 -07:00
Mehmet Fidanboylu
feb94f6c97
Protect LanguageRange behind Android O. (#17882) 2020-04-23 05:59:52 -07:00
liyuqian
31ecf878aa
Read SkSL from json asset (#17861)
Fixes https://github.com/flutter/flutter/issues/55219
2020-04-22 14:10:17 -07:00
skia-flutter-autoroll
d3f1c08f52
Roll src/third_party/skia b920a0b91b1c..5e1a57f42120 (5 commits) (#17880) 2020-04-22 13:53:02 -07:00
Ferhat
ace381d76c
[web] Speedup color to css string 25% (#17866)
* Speedup color to css string 25%
2020-04-22 12:28:29 -07:00
Yegor
deaf14ec7d
Use Float32List as Matrix storage inside the Web 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
9dde7234b4
Roll fuchsia/sdk/core/linux-amd64 from 7Q4KR... to kEtiu... (#17875) 2020-04-22 10:48:02 -07:00
skia-flutter-autoroll
cb549c41d3
Roll src/third_party/skia 68a22428270c..b920a0b91b1c (1 commits) (#17874) 2020-04-22 09:53:02 -07:00
Yegor
1beb220852
Report SceneBuilder submetrics through profiling API (#17852)
* add scenebuilder submetrics
* Disable Profiler by default
2020-04-22 09:15:18 -07:00
skia-flutter-autoroll
f13ec7431c
Roll src/third_party/dart e6baa97e9adc..64b8ded48b0d (5 commits) (#17873) 2020-04-22 09:03:02 -07:00
skia-flutter-autoroll
41db0af55b
Roll src/third_party/skia a6cd5588d231..68a22428270c (1 commits) (#17871) 2020-04-22 07:43:02 -07:00
skia-flutter-autoroll
ef05a18c0b
Roll src/third_party/dart 87b829bacd36..e6baa97e9adc (5 commits) (#17870) 2020-04-22 03:08:01 -07:00
skia-flutter-autoroll
4616931ead
Roll src/third_party/skia e9663db508df..a6cd5588d231 (4 commits) (#17868) 2020-04-22 00:23:01 -07:00
Ferhat
8d7071ea46
Prevent unnecessary DOM append call when canvas is reused (#17864) 2020-04-21 23:00:02 -07:00
skia-flutter-autoroll
18df41928a
Roll fuchsia/sdk/core/mac-amd64 from vcYwc... to ItiAX... (#17865) 2020-04-21 22:23:02 -07:00
skia-flutter-autoroll
6bc619fd66
Roll src/third_party/skia 2432d061ed35..e9663db508df (1 commits) (#17863) 2020-04-21 20:43:03 -07:00
skia-flutter-autoroll
f16cb58b23
Roll src/third_party/dart ad8ed8bd468c..87b829bacd36 (13 commits) (#17862) 2020-04-21 20:38:02 -07:00
Dan Field
f043e73d43
Roll CanvasKit to 0.14.0, fix Canvas.saveLayer(null, paint) (#17849) 2020-04-21 19:22:21 -07:00
Emmanuel Garcia
b1c51cfe78
Extend external view embedder on Android (#17839) 2020-04-21 19:14:38 -07:00
godofredoc
e83f30c590
Pass amber-files directory to tests. (#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
202f2006df
Roll src/third_party/skia 4f8297db64df..2432d061ed35 (4 commits) (#17859) 2020-04-21 17:43:03 -07:00
skia-flutter-autoroll
3ff47ea676
Roll fuchsia/sdk/core/linux-amd64 from RPQuv... to 7Q4KR... (#17858) 2020-04-21 16:28:03 -07:00
Gary Qian
8dc91229b4
PlatformResolvedLocale localization message channel (#17755) 2020-04-21 15:34:44 -07:00
skia-flutter-autoroll
6d88d41a9a
Roll src/third_party/skia 5a9e7fba1e3a..4f8297db64df (5 commits) (#17855) 2020-04-21 15:13:02 -07:00
skia-flutter-autoroll
3047a4903e
Roll src/third_party/skia efb2133b0dd3..5a9e7fba1e3a (3 commits) (#17853) 2020-04-21 13:08:02 -07:00
skia-flutter-autoroll
23897e064f
Roll src/third_party/dart 704642a9b00e..ad8ed8bd468c (8 commits) (#17850) 2020-04-21 11:53:05 -07:00
stuartmorgan
ed58844e8a
Use UTF-16 for C++ text input model (#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
cf78b89c3f
Roll src/third_party/skia 24ea293cd25b..efb2133b0dd3 (7 commits) (#17847) 2020-04-21 10:48:02 -07:00