10784 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
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
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
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
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
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
878d5eedb4 Roll Skia from 141ec1a151a9 to d7389b003ab9 (1 revision) (flutter/engine#20693) 2020-08-21 08:56:04 -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
f51ad7fedb Roll Skia from b9af723001b7 to 6f0d302d331f (1 revision) (flutter/engine#20683) 2020-08-20 22:51:02 -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
Zachary Anderson
e9fcab4436 Revert "account for inline placeholders in longest line calculation (#20370)" (flutter/engine#20669)
This reverts commit fd97c2487f24ef5f82fe240b6bb19f9a48939922.

Landing on red to fix the build.
2020-08-20 12:35:48 -07:00
skia-flutter-autoroll
055944e768 Roll Skia from 17c5b7024297 to e1e240804211 (20 revisions) (flutter/engine#20656)
Manual land of roll - two bots on luci-engine are red due to flakes.

https://skia.googlesource.com/skia.git/+log/17c5b7024297..e1e240804211

2020-08-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from ff3c275665f9 to e45f0c4dce5a (503 revisions)
2020-08-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll dawn from b54c82ed3948 to eff9ef0f2212 (2 revisions)
2020-08-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 699bcde0b729 to 5dff6075d29f (19 revisions)
2020-08-20 mtklein@google.com Revert "Add utilities to SkGeometry for quad and cubic rotation angles"
2020-08-20 mtklein@google.com Revert "remove sksl interpreter guards"
2020-08-20 ethannicholas@google.com Revert "Added support for the 'inline' hint on SkSL functions"
2020-08-20 ethannicholas@google.com Revert "SkSL CPP and H backends no longer emitted in non-dev builds"
2020-08-20 ethannicholas@google.com Revert "SkSL now supports uniform array types"
2020-08-19 csmartdalton@google.com Move GrWangsFormula::nextlog2 to sk_float_nextlog2
2020-08-19 johnstiles@google.com Remove final vestiges of sk_InColor.
2020-08-19 ethannicholas@google.com SkSL now supports uniform array types
2020-08-19 csmartdalton@google.com Add utilities to SkGeometry for quad and cubic rotation angles
2020-08-19 mtklein@google.com update placeholder approx op count
2020-08-19 johnstiles@google.com Remove sk_InColor from unit tests.
2020-08-19 adlai@google.com Remove GrContext variant of SkImageGenerator::isValid
2020-08-19 johnstiles@google.com Fix simplification of switch statements with casts.
2020-08-19 reed@google.com pass 'nested' bool to approximateOpCount
2020-08-19 mtklein@google.com clean up SK_LATE_DITHER
2020-08-19 ethannicholas@google.com Added support for the 'inline' hint on SkSL functions
2020-08-19 mtklein@google.com remove sksl interpreter guards

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC stani@google.com 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/+doc/master/autoroll/README.md
2020-08-20 10:12:21 -04:00
Greg Spencer
a38b72119b Clean up scenario app scripts (flutter/engine#20641)
I just made a pass on the scenario scripts so that they can be more easily run from the scenario directory, set the ANDROID_HOME correctly, and generally fixed lint errors.

Also compile_android_aot.sh didn't appear to work, and I think I fixed it (it builds now).
2020-08-19 19:14:38 -07:00
David Worsham
3a6e0d47c6 fuchsia: Convert legacy permutations to build flag (flutter/engine#20647) 2020-08-19 19:09:51 -07:00
godofredoc
b731070351 Adds all the engine builders to the file used to validate tree status. (flutter/engine#20642)
Builders are read from a json file to get their last builds using
buildbucket and calculate the tree status. Some builders were not being
used for the tree status validation allowing rollers to land changes
even though some builders were failing.

Bug:
  https://github.com/flutter/flutter/issues/64061
2020-08-19 18:39:38 -07:00
Emmanuel Garcia
9192bb89fd Reland: Add android scenarios presubmit task. 2020-08-19 17:36:03 -07:00
James Clarke
a1d268a61b Fix flutter#40068 Redraw issues on resize/minimize/maximize on Windows and startup in release (flutter/engine#20357)
* Fix redraw issues

* Address CR feedback.

* Fix build

* CR feedback
2020-08-19 16:19:09 -07:00
skia-flutter-autoroll
10d08a4860 Roll Fuchsia Linux SDK from zbH5QA8Qz... to 57GPNeoZ7... (flutter/engine#20639) 2020-08-19 16:11:01 -07:00
Kaushik Iska
a8c392e6b8 [embedder] Add FBO callback that takes frame info (flutter/engine#20617) 2020-08-19 16:06:02 -07:00
Dan Field
5e03f90cdd fix build (flutter/engine#20644) 2020-08-19 14:35:45 -07:00
skia-flutter-autoroll
48c6da7f6d Roll Skia from 4a56f4c29ec5 to 17c5b7024297 (2 revisions) (flutter/engine#20631) 2020-08-19 14:16:01 -07:00
Jason Simmons
72dabb020d Release the AccessibilityBridge when destroying a legacy FlutterView (flutter/engine#20610) 2020-08-19 14:11:02 -07:00
chunhtai
df10c2b3b4 Missing default focus when navigating to a page with no SemanticsNode that sets namesRoute:true (flutter/engine#20516) 2020-08-19 14:06:03 -07:00
Dan Field
73490a2ca4 Hint freed (flutter/engine#19842)
* Hint the VM when a layer or picture goes out of scope
2020-08-19 14:04:31 -07:00
nturgut
2919c3bbef updating editing state after location change. focusing on the element (flutter/engine#20620) 2020-08-19 14:03:30 -07:00