12007 Commits

Author SHA1 Message Date
Greg Spencer
3384cb61ba Fix macOS crash when modifier keys pressed. (flutter/engine#23154)
This fixes a problem with the macOS key handling where a flagsChanged event is being sent to a keyDown selector.
2020-12-17 16:07:07 -08:00
gaaclarke
78b1abc9c4 Turned no malloc scribble and randomized the tests. (flutter/engine#23014) 2020-12-17 15:14:15 -08:00
Andy Weiss
e1e83358f3 Use include for C/C++ headers in darwin/macos (flutter/engine#23035) 2020-12-17 14:54:02 -08:00
Dan Field
fa58c54dd2 Make it easier to turn on Xcode symlinks (flutter/engine#23150) 2020-12-17 13:44:01 -08:00
skia-flutter-autoroll
ac209a86fd Roll Skia from 81da68af2ecf to 7b920446a8fc (14 revisions) (flutter/engine#23152) 2020-12-17 13:04:02 -08:00
Zachary Anderson
acf636e5d9 Update android_lint deps (flutter/engine#23151) 2020-12-17 12:55:07 -08:00
Paul Berry
75573ad6f9 Fix engine in preparation for implementing https://github.com/dart-lang/language/issues/1274 (flutter/engine#23131)
When https://github.com/dart-lang/language/issues/1274 (Infer
non-nullability from local boolean variables) is implemented, flow
analysis will detect that code like this no longer needs to perform a
null check:

    final bool hasIdentityTransform =
        transform == null || isIdentityFloat32ListTransform(transform);
    ...
    if (!hasIdentityTransform) {
      ... transform! ... // Null check unnecessary
    }

To avoid a build failure due to the unnecessary null check, we need to
temporarily write it in a way that we can ignore it.  Once the feature
is complete and rolled into flutter, I'll remove the null check
entirely.
2020-12-17 11:59:07 -08:00
Mouad Debbar
b5c5015ee1 [web] Rich paragraph getPositionForOffset (flutter/engine#23133) 2020-12-17 11:27:34 -08:00
Jody Sankey
90e13c14a0 [fuchsia] Add wrapper for zx_clock_get_monotonic. (flutter/engine#23128)
Bug: https://github.com/flutter/flutter/issues/72321

Co-authored-by: Jody Sankey <jsankey@google.com>
2020-12-17 10:55:29 -08:00
Siva
ae14ea248a Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2020-12-17 09:45:26 -08:00
Zachary Anderson
609ec347ce Add --strict_null_safety_checks to the Dart flag allowlist (flutter/engine#23144) 2020-12-17 09:44:00 -08:00
skia-flutter-autoroll
210bfc98c6 Roll Fuchsia Linux SDK from wu6yV-_BL... to _l04etgVd... (flutter/engine#23145) 2020-12-17 09:34:03 -08:00
gaaclarke
18f46f0722 Added golden test to make sure that spawn engines work. (flutter/engine#23066) 2020-12-17 09:32:41 -08:00
skia-flutter-autoroll
347e906dd5 Roll Skia from b64da3907f76 to 81da68af2ecf (7 revisions) (flutter/engine#23142) 2020-12-17 08:34:02 -08:00
skia-flutter-autoroll
a22d2a1ef7 Roll Skia from 995f0366bd21 to b64da3907f76 (1 revision) (flutter/engine#23135) 2020-12-16 23:54:02 -08:00
skia-flutter-autoroll
56352baea0 Roll Skia from 20f1b3462878 to 995f0366bd21 (2 revisions) (flutter/engine#23132) 2020-12-16 22:34:02 -08:00
skia-flutter-autoroll
9d7232084e Roll Fuchsia Linux SDK from TIKHoiQyP... to wu6yV-_BL... (flutter/engine#23127) 2020-12-16 20:14:02 -08:00
skia-flutter-autoroll
8a2dc27000 Roll Skia from 1d89532d5988 to 7839f66540b6 (1 revision) (flutter/engine#23126) 2020-12-16 19:49:01 -08:00
skia-flutter-autoroll
f6bd4fd00d Roll Skia from d6f2338ab194 to 1d89532d5988 (1 revision) (flutter/engine#23122) 2020-12-16 18:29:01 -08:00
Mouad Debbar
184f46c9d6 [web] Rich paragraph getBoxesForRange (flutter/engine#23098) 2020-12-16 18:09:48 -08:00
Chris Bracken
5adca322f1 Rename PointerState.isDown as per style guide (flutter/engine#23120)
Renames from isDown to is_down in accordance with the C++ style guide.
2020-12-16 17:09:18 -08:00
Mouad Debbar
f3d95ad5f7 [web] Tests for rich paragraph DOM (flutter/engine#23097) 2020-12-16 17:05:04 -08:00
skia-flutter-autoroll
bcaa994f11 Roll Skia from 85fa75616dfe to d6f2338ab194 (3 revisions) (flutter/engine#23119) 2020-12-16 17:04:01 -08:00
Ferhat
b9b87cba3c [web] Switch web-render option default to auto (flutter/engine#23090) 2020-12-16 16:43:13 -08:00
skia-flutter-autoroll
a03ec34a95 Roll Skia from 6f31e27f1e29 to 85fa75616dfe (7 revisions) (flutter/engine#23118) 2020-12-16 15:34:02 -08:00
liguisheng
1387021a0d fix crash in FontCollection::init() when FontFamily is empty (flutter/engine#23019) 2020-12-16 15:29:02 -08:00
Chase Latta
21a7f7065e bump fuchsia toolchain to clang-12 (flutter/engine#23067) 2020-12-16 15:18:21 -08:00
Yegor
e42f24fbb2 Fix recursive access to SkImage in image resurrector (flutter/engine#23115) 2020-12-16 14:31:24 -08:00
skia-flutter-autoroll
fa3f44d9be Roll Skia from 632a23afa487 to 6f31e27f1e29 (1 revision) (flutter/engine#23114) 2020-12-16 14:08:01 -08:00
skia-flutter-autoroll
30a6a2da86 Roll Skia from f52a8112909c to 632a23afa487 (10 revisions) (flutter/engine#23112) 2020-12-16 12:03:01 -08:00
Chris Bracken
4ea49c62fa Correct button state on synthetic pointer events (flutter/engine#23111)
This corrects the button state emitted on synthetic pointer move and
hover events generated by the engine.

When an embedder notifies the engine of a pointer up or down event, and
the pointer's position has changed since the last move or hover event,
`PointerDataPacketConverter` generates a synthetic move or hover to
notify the framework of the change in position. In these cases, the
current event from the embedder contains the new button state *after*
the pointer up/down event, but the move/hover needs to be synthesized
such that it occurs *before* the pointer up/down, with the previous
button state.

This patch stores the button state after each pointer down, up, move, or
hover event such that it can be used by the next event if a synthetic
event must be issued.

The bug in the previous logic was revealed by the release of macOS 11
(Big Sur), which appears to issue move events between mouse down and
mouse up, which did not use to be the case.

This fixes https://github.com/flutter/flutter/issues/64961, which is the
desktop-specific tracking bug for the more general Big Sur mouse click
umbrella issue https://github.com/flutter/flutter/issues/71190.
2020-12-16 11:57:42 -08:00
skia-flutter-autoroll
6fa6a0a416 Roll Skia from 6e110c89ed50 to f52a8112909c (5 revisions) (flutter/engine#23109) 2020-12-16 10:43:02 -08:00
skia-flutter-autoroll
ae4302dbe1 Roll Skia from 15f51848df7f to 6e110c89ed50 (4 revisions) (flutter/engine#23108) 2020-12-16 09:18:02 -08:00
skia-flutter-autoroll
5a9ad29fdf Roll Fuchsia Linux SDK from Lj6L6i7vj... to TIKHoiQyP... (flutter/engine#23106) 2020-12-16 06:53:02 -08:00
skia-flutter-autoroll
6dd5e0ef4a Roll Skia from 2078cbe3d4d9 to 15f51848df7f (6 revisions) (flutter/engine#23103) 2020-12-15 22:48:02 -08:00
skia-flutter-autoroll
af36ee149a Roll Skia from f2876b0b9e4a to 2078cbe3d4d9 (1 revision) (flutter/engine#23099) 2020-12-15 21:23:02 -08:00
Gary Qian
d7ab4b01cd Disable flaky/hanging split AOT test (flutter/engine#23070) 2020-12-15 21:18:07 -08:00
George Wright
c17922e187 Bump number of expected licences to 15 due to the imported accessiblity
code
2020-12-15 18:03:58 -08:00
George Wright
523487d2be Licence file update for accessibility library import from Chromium 2020-12-15 18:03:58 -08:00
George Wright
3294070ac5 Formatting changes 2020-12-15 18:03:58 -08:00
George Wright
4e7009f6a1 Initial import of accessibility code from Chromium. There are no
modifications to this code.
2020-12-15 18:03:58 -08:00
skia-flutter-autoroll
0bc8537523 Roll Fuchsia Linux SDK from 5Rxyho8VL... to Lj6L6i7vj... (flutter/engine#23095) 2020-12-15 17:33:01 -08:00
Ferhat
c689b12d7c Prevent recycling of canvas multiple times (flutter/engine#23089) 2020-12-15 16:42:40 -08:00
Mouad Debbar
91b4a07214 [web] Calculate height and baseline for rich text (flutter/engine#23064) 2020-12-15 15:48:34 -08:00
skia-flutter-autoroll
88d5170bb9 Roll Skia from a298431a1370 to f2876b0b9e4a (9 revisions) (flutter/engine#23094) 2020-12-15 15:43:02 -08:00
Yegor
4c725519d5 [canvaskit] cache and reuse platform view overlays (flutter/engine#23061) 2020-12-15 14:57:05 -08:00
Yegor
c10759140f upgrade Firefox to 83 (flutter/engine#22829) 2020-12-15 12:12:06 -08:00
skia-flutter-autoroll
ded35320b3 Roll Skia from adc688922877 to a298431a1370 (6 revisions) (flutter/engine#23086) 2020-12-15 11:38:01 -08:00
skia-flutter-autoroll
fc903522c3 Roll Skia from 2bacaf973d79 to adc688922877 (6 revisions) (flutter/engine#23084) 2020-12-15 10:18:02 -08:00
Tamir Duberstein
6f70c0c330 [fuchsia] Remove fuchsia.netstack.Netstack (flutter/engine#23082) 2020-12-15 09:48:01 -08:00