13711 Commits

Author SHA1 Message Date
Maksim Lin
37da36ab16 send newline char when input type is multiline (flutter/engine#20660) 2020-08-25 10:51:02 -07:00
Emmanuel Garcia
bb885a23e2 Revert "Enable hybrid composition by default on Android (#20722)" (flutter/engine#20745)
This reverts commit e57e7810a1c62535832abce02393e830fbd7f306.
2020-08-25 09:54:13 -07:00
skia-flutter-autoroll
90be8a9e0e Roll Skia from 3cdc259008b5 to 84cdc27399ed (21 revisions) (flutter/engine#20737) 2020-08-24 16:56:02 -07:00
Emmanuel Garcia
e57e7810a1 Enable hybrid composition by default on Android (flutter/engine#20722) 2020-08-24 13:10:23 -07:00
Emmanuel Garcia
d0947b9852 Ensure loop is woken up at the right time (flutter/engine#20721) 2020-08-24 13:09:44 -07:00
xster
4774c05cb1 Fix font sorting problem due to iOS 14 fonts being broader (flutter/engine#20557) 2020-08-24 13:03:20 -07:00
skia-flutter-autoroll
d397095c45 Roll Fuchsia Mac SDK from srqzFjKiY... to HgyvAv5eG... (flutter/engine#20724) 2020-08-24 12:51:02 -07:00
David Worsham
87f65be19e fuchsia: Clean shell_unittests under FEMU (flutter/engine#20704) 2020-08-24 12:47:31 -07:00
skia-flutter-autoroll
0dda2a0765 Roll Skia from 60cf6748adae to 3cdc259008b5 (3 revisions) (flutter/engine#20723) 2020-08-24 12:46:01 -07:00
skia-flutter-autoroll
d9661ec426 Roll Dart SDK from 4b5af9312298 to 5ca1f3290527 (2 revisions) (flutter/engine#20726) 2020-08-24 12:41:06 -07:00
Chris Yang
2f28d3e968 The ForwardingGestureRecognizers to have back reference to the PlatformViewsController so it can access FlutterViewController when its available (flutter/engine#20708) 2020-08-24 12:41:02 -07:00
Chinmay Garde
15798a885b Fix race condition and data race in FrameInfoContainsValidWidthAndHeight. (flutter/engine#20706)
The data race: gl_surface_fbo_frame_infos_ in the test context to was appended
to on the raster task runner but read on the platform task runner. This is now
sidestepped by using a callback and pushing that responsibility to the test.
Setting the callback is guarded behind a mutex.

The race condition: The assertions were previously run when the UI thread was
done generating the frames. However, the assertions were run on the results
collected on the raster thread in response the frame requests from UI thread.
Just run the assertions on the raster thread directly.

Fixes https://github.com/flutter/flutter/issues/64344
2020-08-24 11:48:13 -07:00
skia-flutter-autoroll
3a443c8862 Roll Skia from 370cbc70e080 to 60cf6748adae (1 revision) (flutter/engine#20720) 2020-08-23 22:51:01 -07:00
skia-flutter-autoroll
793667d00f Roll Dart SDK from 3367c66051ce to 4b5af9312298 (2 revisions) (flutter/engine#20719) 2020-08-23 22:11:01 -07:00
skia-flutter-autoroll
f3d691407c Roll Fuchsia Mac SDK from KGZUxRgWx... to srqzFjKiY... (flutter/engine#20718) 2020-08-23 13:36:02 -07:00
skia-flutter-autoroll
1b03da0836 Roll Fuchsia Mac SDK from ihb9EES8t... to KGZUxRgWx... (flutter/engine#20717) 2020-08-23 00:31:01 -07:00
skia-flutter-autoroll
ab52a77c6a Roll Skia from d16d65476219 to 370cbc70e080 (1 revision) (flutter/engine#20716) 2020-08-22 19:31:02 -07:00
skia-flutter-autoroll
c8663ba570 Roll Skia from bf7acb2707b8 to d16d65476219 (1 revision) (flutter/engine#20713) 2020-08-22 14:11:02 -07:00
Sanjay Chouksey
a67ecd536d Update view attributes after creation (flutter/engine#20638) 2020-08-22 12:46:04 -07:00
skia-flutter-autoroll
2a57d6d22e Roll Fuchsia Mac SDK from YyBGPvl_S... to ihb9EES8t... (flutter/engine#20711) 2020-08-22 09:56:01 -07:00
skia-flutter-autoroll
80a2cc43fd Roll Dart SDK from 51e3e9956f0f to 3367c66051ce (1 revision) (flutter/engine#20709) 2020-08-21 21:31:01 -07:00
LI DONGZE
38ad113515 Reporting back native stacktrace to dart side for crash reporting. (flutter/engine#20280)
* Add native stacktrace on iOS

* Add native stacktrace on Android

* format and changing naming to errorWithCode on iOS

* reformat

* Remove stacktrace from decodeEnvelope, not needed.

* Separate encodeErrorEnvelopeWithStacktrace with original encode function

* Add unit tests

* re-format

* change comments for stacktrace

* Remove changes for iOS

Co-authored-by: Ben Li <libe@google.com>
2020-08-21 19:59:36 -07:00
skia-flutter-autoroll
3c1d67e975 Roll Skia from be1455850c3c to bf7acb2707b8 (10 revisions) (flutter/engine#20705) 2020-08-21 18:01:02 -07:00
skia-flutter-autoroll
6fbaf590c9 Roll Fuchsia Mac SDK from blfxWCY-q... to YyBGPvl_S... (flutter/engine#20703) 2020-08-21 17:16:01 -07:00
skia-flutter-autoroll
1a09909bb6 Roll Dart SDK from 39179049ede9 to 51e3e9956f0f (1 revision) (flutter/engine#20702) 2020-08-21 17:01:01 -07:00
skia-flutter-autoroll
7cb4b085ca Roll Skia from d7389b003ab9 to be1455850c3c (2 revisions) (flutter/engine#20696) 2020-08-21 16:36:01 -07:00
LongCatIsLooong
fcfd260ae9 Reland "account for inline placeholders in longest line calculation (#20370)" reverted in (#20669) (flutter/engine#20678) 2020-08-21 16:31:02 -07:00
Jason Simmons
1945052c8e Remove image sizes from Picture::GetAllocationSize (flutter/engine#20673) 2020-08-21 16:26:02 -07:00
David Worsham
e335891caf fuchsia: Rollback broken SDK and re-enable test (flutter/engine#20699)
https://github.com/flutter/flutter/issues/64343
2020-08-21 16:05:36 -07:00
David Worsham
ee6a9a8755 fuchsia: Disable flaky test (flutter/engine#20697) 2020-08-21 12:26:15 -07:00
David Worsham
618e8bae25 fuchsia: Fix elevation issues (flutter/engine#20681) 2020-08-21 11:57:09 -07:00
skia-flutter-autoroll
c535ccba11 Roll Fuchsia Linux SDK from LhYt1i9FP... to veVL2IxV1... (flutter/engine#20695) 2020-08-21 09:16:01 -07:00
skia-flutter-autoroll
53616c3184 Roll Dart SDK from 58f4fe1787dd to 39179049ede9 (1 revision) (flutter/engine#20694) 2020-08-21 09:11:01 -07:00
skia-flutter-autoroll
878d5eedb4 Roll Skia from 141ec1a151a9 to d7389b003ab9 (1 revision) (flutter/engine#20693) 2020-08-21 08:56:04 -07:00
skia-flutter-autoroll
d4244cc5b0 Roll Skia from 0c9a6e702d99 to 141ec1a151a9 (1 revision) (flutter/engine#20692) 2020-08-21 07:31:01 -07:00
skia-flutter-autoroll
09df0bd2e1 Roll Dart SDK from b330d8bd7b69 to 58f4fe1787dd (1 revision) (flutter/engine#20689) 2020-08-21 04:21:02 -07:00
skia-flutter-autoroll
76740f7274 Roll Fuchsia Mac SDK from BH-k5YzBV... to blfxWCY-q... (flutter/engine#20688) 2020-08-21 04:11:01 -07:00
skia-flutter-autoroll
663aa50834 Roll Skia from 6f0d302d331f to 0c9a6e702d99 (3 revisions) (flutter/engine#20685) 2020-08-21 00:16:01 -07:00
skia-flutter-autoroll
1ffc5e2c92 Roll Dart SDK from 4c2c98257c1a to b330d8bd7b69 (1 revision) (flutter/engine#20684) 2020-08-20 23:51:01 -07:00
skia-flutter-autoroll
f51ad7fedb Roll Skia from b9af723001b7 to 6f0d302d331f (1 revision) (flutter/engine#20683) 2020-08-20 22:51:02 -07:00
skia-flutter-autoroll
954fe21ecc Roll Dart SDK from ecfee8071fda to 4c2c98257c1a (2 revisions) (flutter/engine#20680) 2020-08-20 19:41:01 -07:00
Greg Spencer
a0f5e6c7aa Fix the format script so that it works with deleted files. (flutter/engine#20679)
When I rewrote the format script, I forgot to filter out deleted files from the list of files that it looks at. This filters the file list to exclude deleted files
2020-08-20 19:03:12 -07:00
Chris Yang
23e891ddc8 Enable ios platform view by default (flutter/engine#20671) 2020-08-20 17:46:01 -07:00
stuartmorgan
ab823bd15e [windows] Mostly eliminate the state structs (flutter/engine#20662)
The Windows embedding was based on the GLFW embedding, which grew
organically from a singe-file implementation that used structs to manage
all of the important state. It is in the process of being converted to a
cleaner object-based architecture, but currently it is a hybrid of
objects and structs that have redundant data, making it very prone to
errors of forgetting to update pointers in multiple locations.

This reduces the remaining structs to only a single pointer to the
larger object that manages the responsibilities that handle is
associated with, so that there is no need to wire things together in
multiple places.

For now they continue to exist as projections of the larger objects, but
that will be eliminated over time by having an object structure that
better reflects the API structure.

Fixes https://github.com/flutter/flutter/issues/64250
2020-08-20 16:50:06 -07:00
skia-flutter-autoroll
cee423eb73 Roll Skia from 3dc0da6c6d7e to b9af723001b7 (17 revisions) (flutter/engine#20675) 2020-08-20 16:41:02 -07:00
Srujan Gaddam
d9c5ff0499 Add null checks for CanvasElement attributes (flutter/engine#20580)
Changes in processing compatibility info in dart:html requires
these getters to be null-checked.
2020-08-20 15:50:01 -07:00
Kaushik Iska
2021143b42 All shape related structs are together (flutter/engine#20665) 2020-08-20 15:21:02 -07:00
skia-flutter-autoroll
c398892725 Roll Skia from e1e240804211 to 3dc0da6c6d7e (4 revisions) (flutter/engine#20661) 2020-08-20 15:16:02 -07:00
skia-flutter-autoroll
3bccc5dcb7 Roll Fuchsia Linux SDK from 57GPNeoZ7... to LhYt1i9FP... (flutter/engine#20658) 2020-08-20 15:11:01 -07:00
stuartmorgan
f6ff52c644 Use references for C++ MethodResult and EventSink (flutter/engine#20651)
The response APIs for method channels and event channels used pointers
for optional parameters; this kept the API surface simple, but meant
that they couldn't take rvalues. As a result, returning success values
or error details often took an extra line, declaring a variable for the
result just to have something to pass the address of.

This converts them to using references, with function overloading to
allow for optional parameters, so that values can be inlined.

For now the pointer versions are still present, so that conversion can
be done before it becomes a breaking change; they will be removed soon.

Part of https://github.com/flutter/flutter/issues/63975
2020-08-20 15:10:28 -07:00