17531 Commits

Author SHA1 Message Date
Robert Ancell
9ea2db5bac
Add FlMessageCodec, FlBinaryCodec, FlStringCodec (#18186)
Classs for binary message encoding/decoding that matches the ones in the Flutter services library.
2020-05-08 16:13:54 +12:00
Siva
9b905d3f03
Manual roll of Dart 617bc54b71...39e0e75fcf (#18215)
This roll unforks the Dart SDK to use the non nullable SDk,
the engine platform file is built with all the dart:* libraries
opted in except for dart:ui

dart-lang/sdk@617bc54b71 [dart2js] unit test patch for unfork cl.
dart-lang/sdk@ce5d18b0f0 [CFE] - Update exectations of CFE unit tests to account for NNBD unfork
dart-lang/sdk@be0c78a7cc [dart2js] Fix platform-binaries on bots.
dart-lang/sdk@03ce33f80c [BUILD] - Initial CL to unfork the NNBD Dart SDK
2020-05-07 20:58:44 -07:00
skia-flutter-autoroll
7e205b37e5
Roll src/fuchsia/sdk/mac from 1MVsE... to 4MCVP... (#18217) 2020-05-07 20:24:02 -07:00
skia-flutter-autoroll
9193d8ff83
Roll src/third_party/skia 0dc207f836da..a14084ba1b41 (3 commits) (#18219) 2020-05-07 20:19:03 -07:00
Robert Ancell
403931ff22
Add FlValue (#18185)
FlValue is a lightweight object used to contain the value types that Flutter
uses on platform channels.
2020-05-08 13:48:41 +12:00
Jason Simmons
46a6d966ad
[SkParagraph] Copy text height behavior to the Skia paragraph style (#18178) 2020-05-07 18:24:08 -07:00
Ferhat
e7ee47d917
[web] Implement matrix parameter for linear gradient (#18208)
* Implement linear gradient matrix
* update golden locks
* Remove matrix check in RadialGradient
2020-05-07 17:22:54 -07:00
liyuqian
28d99854a6
Reland again "Remove layer integral offset snapping #17112" (#18160)
This reverts commit a7a25d3b57f2066798ef8cd43600588e4697c9cd and relands our reland https://github.com/flutter/engine/pull/17915.

Additionally, we fixed the cull rect logic in `OpacityLayer::Preroll` which is  the root cause of https://github.com/flutter/flutter/issues/56298. We've always had that root problem before but it did not trigger performance issues because we were using the OpacityLayer's `paint_bounds`, instead of its child's `paint_bounds` for preparing the layer raster cache. A correct handling of the cull rect should allow us to cull at any level.

It also turns out that our ios32 (iPhone4s) performacne can regress a lot
without snapping. My theory is that although the picture has a
fractional top left corner, many drawing operations inside the picture
have integral coordinations. In older hardwares, keeping those
coordinates integral seems to be performance critical.

To avoid flutter/flutter#41654, the snapping
will still be disabled if the matrix has non-scale-translation
transformations.
2020-05-07 17:19:30 -07:00
skia-flutter-autoroll
5e361f57dc
Roll src/third_party/skia c66cd987f7c0..0dc207f836da (5 commits) (#18212) 2020-05-07 17:14:03 -07:00
stuartmorgan
716dbf00c8
Refactor GLFW embedding to support headless mode (#18205)
This does some long-overdue refactoring of the spaghetti code that grew in the GLFW embedding to begin providing a clearer separation between the engine and the window. It is now possible to register plugins, and run the runloop, on a headless engine, which makes headless mode much more usable. This is useful in some automated testing environments.

There is more refactoring that should be done in the future, but this is a good incremental point to stop as the PR is already large, and it provides useful new functionality as-is.
2020-05-07 17:10:11 -07:00
Siva
23cca3211f
Manual Roll of Dart 39e0e75fcf...ce62ad2e8b (#18211)
dart-lang/sdk@39e0e75fcf Remove ElementSuggestionBuilder
dart-lang/sdk@2707880f1b [vm] Fix various UBSan failures.
dart-lang/sdk@8c79102889 [vm/isolates] Move saved_initial_field_table to isolate group.
dart-lang/sdk@9eff98594f Cleanup unnecessary references to experiments that are enabled by default
dart-lang/sdk@d4514bef78 Bypass pub constraint validation for dartfix 0.1.7.
dart-lang/sdk@30da9d580b Ensure new analysis drivers are seeded with existing priority files
dart-lang/sdk@f16663a678 Convert LocalReferenceContributor to use SuggestionBuilder
dart-lang/sdk@7cbd5f6f78 [cfe] Add round-trip serialization support for loop nodes
dart-lang/sdk@9491c6cc48 [dart2js] Fix codegen/variance_subtype_cast_test
2020-05-07 16:27:09 -07:00
Kurun
15f72b8c0d
Support EventChannel C++ plugin API for Linux/Windows (#17015)
Fixes https://github.com/flutter/flutter/issues/49398
2020-05-07 15:54:59 -07:00
Robert Ancell
e5a7ca577d
Handle leak of message handle when no engine present (#18157)
* Handle leak of message handle when no engine present
* Move callback in wrong location
2020-05-08 09:05:20 +12:00
xster
d3bde19c15
add docs to platformviewios (and some drive-by changes) (#17593) 2020-05-07 14:01:09 -07:00
skia-flutter-autoroll
b582d774f0
Roll src/third_party/skia 0066adefa97d..c66cd987f7c0 (4 commits) (#18206) 2020-05-07 13:56:03 -07:00
skia-flutter-autoroll
5e7d6d05fd
Roll src/third_party/skia edea19858ccc..0066adefa97d (3 commits) (#18203) 2020-05-07 12:16:01 -07:00
Jason Simmons
88b9d42400
Remove the global engine entry timestamp (#18182)
The engine was using a global to store a timestamp representing the
launch of the engine.  This timestamp is initialized with a JNI call
on Android and during shell setup on other platforms.  Later the
timestamp is added to a FlutterEngineMainEnter timeline event used to
measure engine startup time in benchmarks.

This PR removes the global and the JNI call and moves the timestamp
into the settings object.
2020-05-07 11:29:28 -07:00
skia-flutter-autoroll
0dffdd5deb
Roll src/third_party/dart e86e4d61834a..ce62ad2e8b40 (13 commits) (#18201) 2020-05-07 11:26:02 -07:00
skia-flutter-autoroll
56fe6d2550
Roll src/third_party/skia 2871ab0727bf..edea19858ccc (3 commits) (#18198) 2020-05-07 09:31:02 -07:00
Dragoș Tiselice
bcdf99121a
Fixed ChildSceneLayer elevation issue on Fuchsia. (#18144)
* Fixed ChildSceneLayer elevation issue on Fuchsia.

ChildSceneLayers would draw on top of stacked Flutter content on
Fuchsia if not wrapped up in a Material widget, i.e. a
PhysicalShapeLayer. This patch pushes the logic from there to all
types of Layers.
2020-05-07 12:03:53 -04:00
Kaushik Iska
ede658e2d1
[profiling] CPU Profiling support for iOS (#18087)
See flutter.dev/go/engine-cpu-profiling for details
2020-05-07 08:11:07 -07:00
skia-flutter-autoroll
d043923d7c
Roll src/third_party/skia e3d1de7c5281..2871ab0727bf (1 commits) (#18197) 2020-05-07 08:01:03 -07:00
skia-flutter-autoroll
807f1914e4
Roll src/third_party/dart 733153eb517c..e86e4d61834a (6 commits) (#18195) 2020-05-07 05:41:02 -07:00
skia-flutter-autoroll
fe3f8df81b
Roll src/third_party/skia 3b2db26c59d6..e3d1de7c5281 (4 commits) (#18192) 2020-05-07 03:46:03 -07:00
skia-flutter-autoroll
34b062998c
Roll fuchsia/sdk/core/mac-amd64 from jMJqf... to 1MVsE... (#18194) 2020-05-07 03:36:03 -07:00
skia-flutter-autoroll
e9b2afefd3
Roll fuchsia/sdk/core/linux-amd64 from RpHTv... to MhpFP... (#18191) 2020-05-07 00:36:02 -07:00
skia-flutter-autoroll
35fa00629b
Roll src/third_party/skia 88d04cb51acf..3b2db26c59d6 (1 commits) (#18190) 2020-05-06 23:46:02 -07:00
skia-flutter-autoroll
e54bb9e204
Roll src/third_party/dart 4da5b40fb6dc..733153eb517c (23 commits) (#18188) 2020-05-06 23:26:02 -07:00
skia-flutter-autoroll
3953c3ccd1
Roll src/third_party/skia 18db52f2ee56..88d04cb51acf (13 commits) (#18183) 2020-05-06 18:26:02 -07:00
skia-flutter-autoroll
419afe38c9
Roll src/third_party/skia c1ad77cf482a..18db52f2ee56 (5 commits) (#18179) 2020-05-06 14:26:03 -07:00
Wu Zhong
39595c822f
Fix memory leak of FlutterCustomAccessibilityAction (#17954) 2020-05-06 14:08:58 -07:00
Ali Mahdiyar
9cdb5a9b6a
Custom unicode handling for Android backspace via JNI to ICU (#17960) 2020-05-06 14:01:02 -07:00
Nurhan Turgut
d6aa099de7
Autofill main part (#17986)
* changes for getting the configuration

* running autofill

* simplifications, remove unused map

* more changes

* make single autofill fields work. remove print messages

* remove an extra line

* remove extra file. also update chrome version

* addressing reviewers comments

* addressing reviewer comments

* addressing reviewer comments

* addressing reviewer comments

* changing comments

* changing comments

* adding a comment on subscriptions lifecycle

* fixing a bug which was failing the existing unit tests

* add unit tests for AutofillInfo and EngineAutofillForm. add autocomplete to textarea

* add unit tests for method channels

* remove json from the end of the file

* do not change the input type for the focused element

* check name instead of autocomplete for firefox

* check name instead of autocomplete for firefox in other methods as well

* fixing a bug in the autofillhints file, testing if firefox is failing for username hint or for all autocomplete values

* fix the breaking unit test
2020-05-06 12:58:46 -07:00
skia-flutter-autoroll
ad7be6e774
Roll src/third_party/dart 8c8249fa0123..4da5b40fb6dc (14 commits) (#18177) 2020-05-06 12:21:03 -07:00
skia-flutter-autoroll
6ea0482a24
Roll src/third_party/skia 999257d870d7..c1ad77cf482a (2 commits) (#18176) 2020-05-06 12:11:02 -07:00
skia-flutter-autoroll
c3cd83baf8
Roll fuchsia/sdk/core/mac-amd64 from c5NQZ... to jMJqf... (#18175) 2020-05-06 11:26:01 -07:00
skia-flutter-autoroll
bc30355ffe
Roll src/third_party/skia c5727d8e34d2..999257d870d7 (5 commits) (#18174) 2020-05-06 10:06:02 -07:00
skia-flutter-autoroll
337ec63cc2
Roll src/third_party/skia 1e8fb04b29b9..c5727d8e34d2 (1 commits) (#18173) 2020-05-06 07:56:13 -07:00
skia-flutter-autoroll
961fa14834
Roll src/third_party/dart 1ef444139c4c..8c8249fa0123 (11 commits) (#18172) 2020-05-06 05:32:02 -07:00
skia-flutter-autoroll
6a379cc2fc
Roll fuchsia/sdk/core/linux-amd64 from gnNdl... to RpHTv... (#18171) 2020-05-06 05:17:02 -07:00
skia-flutter-autoroll
c1bd64a30c
Roll src/third_party/skia e1c0cb3de8ab..1e8fb04b29b9 (3 commits) (#18168) 2020-05-06 02:27:02 -07:00
skia-flutter-autoroll
15752ee41f
Roll src/third_party/skia 0cbd58766ace..e1c0cb3de8ab (8 commits) (#18167) 2020-05-05 23:42:03 -07:00
Ferhat
80c090d9ea
Fix path bounds for multiple rects. Implement winding rules (#18165) 2020-05-05 20:53:51 -07:00
Robert Ancell
805a8874cb
Add first Linux shell tests (#18159) 2020-05-06 15:33:11 +12:00
Chris Yang
cf13c7f7c1
[iOS platform view] fix active_composition_order_ never cleared (#18153) 2020-05-05 17:59:39 -07:00
Chris Yang
c1068dec0c
gpu_metal_surface submitframe return false when canvas is null (#18154) 2020-05-05 17:59:16 -07:00
skia-flutter-autoroll
8a8cd5d6f4
Roll src/third_party/dart 7bb38670d279..1ef444139c4c (22 commits) (#18161) 2020-05-05 16:37:02 -07:00
skia-flutter-autoroll
b1b1df0390
Roll fuchsia/sdk/core/mac-amd64 from ERGnT... to c5NQZ... (#18155) 2020-05-05 13:17:02 -07:00
skia-flutter-autoroll
d104f876ac
Roll src/third_party/skia 3d311a983bf0..0cbd58766ace (2 commits) (#18152) 2020-05-05 12:27:02 -07:00
Ben Konyi
0645e93137
Manually add dependency for shelf_proxy (#18151) 2020-05-05 11:29:52 -07:00