Commit Graph

16700 Commits

Author SHA1 Message Date
Greg Spencer
a60bf8e23a Spell check of Flutter docs (#45200)
No code changes, just comments: I spell-checked all the comments in the repo.
2019-11-22 08:43:55 -08:00
Alexandre Ardhuin
fcb40a05bb make some BuildContext methods generics (#44189)
* make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic

* make BuildContext.inheritFromWidgetOfExactType generic

* make BuildContext.ancestorInheritedElementForWidgetOfExactType generic

* make BuildContext.ancestorWidgetOfExactType generic

* fix snippet

* bump scoped_model on temp version

* update names

* Revert "bump scoped_model on temp version"

This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0.

* address review comments

* fix ci

* address review comments

* repeat the deprecation notice

* fix uppercase

* use of recommanded deprecation syntax

* address review comment
2019-11-22 17:35:20 +01:00
Fedor Korotkov
7fcf030610 [ci] more resources to Windows tasks (#45392)
There was a bug in Cirrus that Cirrus always used 4CPU config for Windows Containers even though everything was billed according to the resources configured (in your case 2 CPUs).
2019-11-22 07:39:15 -08:00
Todd Volkert
4c64b715d9 Revert "Add option to delay rendering the first frame (#45135)" (#45385)
This reverts commit d285b8843f.
2019-11-21 22:12:24 -08:00
Todd Volkert
cb35c88b34 Add widget of the week video embeddings (#45362) 2019-11-21 22:07:03 -08:00
engine-flutter-autoroll
873e33c793 Roll engine 96fc607b8a54..7e68097cc1d3 (2 commits) (#45371)
git@github.com:flutter/engine.git/compare/96fc607b8a54...7e68097cc1d3

git log 96fc607b8a54..7e68097cc1d3 --no-merges --oneline
2019-11-21 ferhat@gmail.com [web] Fix line-height for Firefox (flutter/engine#13960)
2019-11-21 mouad.debbar@gmail.com [web] Allow users to enable canvas text measurement (flutter/engine#13929)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@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/+/master/autoroll/README.md
2019-11-22 01:03:51 -05:00
engine-flutter-autoroll
ae88f0190e Roll engine f91934073ee1..96fc607b8a54 (3 commits) (#45366)
git@github.com:flutter/engine.git/compare/f91934073ee1...96fc607b8a54

git log f91934073ee1..96fc607b8a54 --no-merges --oneline
2019-11-21 mouad.debbar@gmail.com [web] Refactor text editing to handle any order of platform messages gracefully (flutter/engine#13741)
2019-11-21 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from FQdiV... to l1EAN... (flutter/engine#13956)
2019-11-21 skia-flutter-autoroll@skia.org Roll src/third_party/skia f9291b8942d8..4e0255508749 (27 commits) (flutter/engine#13954)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@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/+/master/autoroll/README.md
2019-11-21 19:38:51 -05:00
Amir Hardon
e43a69a9fe Allow a no-op default_package key for a plugin platform (#45364) 2019-11-21 16:37:34 -08:00
engine-flutter-autoroll
90718da007 f91934073 Roll src/third_party/dart aa2b3a5eaa..521b168441 (15 commits) (flutter/engine#13958) (#45361)
git@github.com:flutter/engine.git/compare/a38839817cda...f91934073ee1

git log a38839817cda..f91934073ee1 --no-merges --oneline
2019-11-21 bkonyi@google.com Roll src/third_party/dart aa2b3a5eaa..521b168441 (15 commits) (flutter/engine#13958)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@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/+/master/autoroll/README.md
2019-11-21 18:14:50 -05:00
engine-flutter-autoroll
b4f4886a11 Roll engine 7a77e3625dd1..a38839817cda (4 commits) (#45355)
git@github.com:flutter/engine.git/compare/7a77e3625dd1...a38839817cda

git log 7a77e3625dd1..a38839817cda --no-merges --oneline
2019-11-21 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from VHWsK... to zgJ75... (flutter/engine#13957)
2019-11-21 bkonyi@google.com Roll src/third_party/dart 867a6e0e52..aa2b3a5eaa (15 commits) (flutter/engine#13955)
2019-11-21 30870216+gaaclarke@users.noreply.github.com Made the thread checker print out the thread names on Apple platforms. (flutter/engine#13943)
2019-11-21 liyuqian@google.com Fix picture raster cache throttling (flutter/engine#13710)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@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/+/master/autoroll/README.md
2019-11-21 16:30:51 -05:00
liyuqian
c61ef90f94 Upgrade gauge for debugging (#45212)
For https://github.com/flutter/flutter/issues/45194
and see also https://github.com/flutter/packages/pull/47.
2019-11-21 13:03:02 -08:00
Zachary Anderson
05226d2a61 Reland: [flutter_tool] Fuchsia AOT builds (#45350)
* Reland: [flutter_tool] Fuchsia AOT builds

* Fixes
2019-11-21 12:55:39 -08:00
Jonah Williams
785e557a43 remove Flags (#45320) 2019-11-21 12:52:52 -08:00
Kaushik Iska
1fae83cf2c [fuchsia] Reland use sky_engine from Topaz (#45282)
Testes on the Fuchsia tree by reverting it locally.

This reverts commit f45bd48cca.
2019-11-21 12:48:32 -08:00
Kaushik Iska
db44bb5dc3 Revert "Add the rally_assets package to Gallery's BUILD.gn (#45180)" (#45353)
Reverting since 2c7af1e24e
reverted the original commit that required this in the first place.

This reverts commit 68d1fe58da.
2019-11-21 12:48:19 -08:00
Michael Goderbauer
d285b8843f Add option to delay rendering the first frame (#45135) 2019-11-21 12:13:45 -08:00
Christopher Fujino
45953a12bb dev/ci/README.md update (#44010) 2019-11-21 12:09:02 -08:00
Zachary Anderson
0216953674 Revert "[flutter_tool] Fuchsia AOT builds (#45187)" (#45349)
This reverts commit a57dddd217.
2019-11-21 09:41:46 -08:00
Alexandre Ardhuin
1f3ff5ca42 implicit-casts:false in flutter_goldens and flutter_goldens_client (#45249)
* implicit-casts:false in flutter_goldens and flutter_goldens_client

* fix type
2019-11-21 17:46:37 +01:00
Zachary Anderson
a57dddd217 [flutter_tool] Fuchsia AOT builds (#45187) 2019-11-21 08:32:58 -08:00
sjindel-google
43a8a1902e Fix erroneous comments referring to blobs snapshots. (#41378) 2019-11-21 12:09:43 +01:00
Alexandre Ardhuin
9efaa784ad implicit-casts:false in flutter_web_plugins (#45240) 2019-11-21 11:22:01 +01:00
engine-flutter-autoroll
0b502b1f8b Roll engine 6bf311f1d62c..7a77e3625dd1 (3 commits) (#45311)
git@github.com:flutter/engine.git/compare/6bf311f1d62c...7a77e3625dd1

git log 6bf311f1d62c..7a77e3625dd1 --no-merges --oneline
2019-11-21 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from bC9Qy... to FQdiV... (flutter/engine#13936)
2019-11-21 skia-flutter-autoroll@skia.org Roll src/third_party/skia 935a35d972e5..f9291b8942d8 (13 commits) (flutter/engine#13938)
2019-11-21 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from 7mmHP... to VHWsK... (flutter/engine#13939)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@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/+/master/autoroll/README.md
2019-11-20 22:11:51 -05:00
Emmanuel Garcia
5df4b7db23 Reland: Attach looks at future observatory URIs (#45307) 2019-11-20 18:51:25 -08:00
engine-flutter-autoroll
6eb0a0e371 Roll engine 176f56329631..6bf311f1d62c (9 commits) (#45305)
git@github.com:flutter/engine.git/compare/176f56329631...6bf311f1d62c

git log 176f56329631..6bf311f1d62c --no-merges --oneline
2019-11-20 bkonyi@google.com Roll src/third_party/dart b188632458..867a6e0e52 (4 commits) (flutter/engine#13948)
2019-11-20 gw280@google.com Ensure we use the base CompositorContext's AcquireFrame method when screenshotting (flutter/engine#13934)
2019-11-20 chinmaygarde@google.com Update SwiftShader to 5d1e854. (flutter/engine#13945)
2019-11-20 ianloic@google.com [flutter_runner] fix a11y tests (flutter/engine#13947)
2019-11-20 bkonyi@google.com Roll src/third_party/dart 8342ec2c71..b188632458 (2 commits) (flutter/engine#13942)
2019-11-20 ferhat@gmail.com Fix edge detection for correct dom_renderer reset (flutter/engine#13940)
2019-11-20 bkonyi@google.com Roll src/third_party/dart 1f933abcee..8342ec2c71 (12 commits) (flutter/engine#13941)
2019-11-20 50856934+nturgut@users.noreply.github.com [web] Flutter for web autocorrect support (flutter/engine#13922)
2019-11-20 skia-flutter-autoroll@skia.org Roll src/third_party/skia e678b79c489d..935a35d972e5 (13 commits) (flutter/engine#13927)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@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/+/master/autoroll/README.md
2019-11-20 20:18:51 -05:00
Justin McCandless
299fbc422f Fix typo (#45125)
Typo in a title in a gallery demo
2019-11-20 17:05:01 -08:00
Amir Hardon
53c7ca7d5a Allow unknown fields in pubspec plugin section (#45303) 2019-11-20 17:00:46 -08:00
Gary Qian
6b66d79436 Track and use fallback TextAffinity for null affinity platform TextSelections. (#44622) 2019-11-20 16:37:10 -08:00
James George
384a44d6bd update docs (#32545) 2019-11-20 16:15:58 -08:00
Sangmin Lee
60c7cc25e9 Fix typo in README.md (#43173) 2019-11-20 16:14:10 -08:00
Jonah Williams
106b8eb9c0 Revert "Reduce some direct package:archive usage (#44608)" (#45291)
This reverts commit 6b5634fed3.
2019-11-20 14:45:32 -08:00
Jonah Williams
6b5634fed3 Reduce some direct package:archive usage (#44608) 2019-11-20 13:32:14 -08:00
chunhtai
314eb3bae3 Moving pointer event sanitizing to engine. (#44217) 2019-11-20 13:04:29 -08:00
Michael Goderbauer
f8cafd9dbc Remove URLs in deprecation annotation (#45215) 2019-11-20 12:45:04 -08:00
Jonah Williams
0e36a91d18 Add macOS hot reload test (#45264) 2019-11-20 12:35:53 -08:00
Todd Volkert
2c7af1e24e Revert "[Gallery] Add Material Study app Rally as an example app (#44907)" (#45279)
This reverts commit 399aebc4b7.

It contained Apache 2.0 licensed files, which aren't allowed in flutter/flutter
2019-11-20 12:18:44 -08:00
Todd Volkert
ce8e2bb7cf Revert "[Material] Update the Slider and RangeSlider to the latest Material spec (#44351)" (#45268)
This reverts commit 421bf64703.

Was causing severe breakages in Google.
2019-11-20 10:42:23 -08:00
Danny Tuppeny
927fbe5500 Re-enable asserts on Windows integration tests (#42637)
* Enable asserts

See https://github.com/flutter/flutter/issues/36476

* Remove comment
2019-11-20 17:50:37 +00:00
Jonah Williams
70dcbf4e55 Add minimum macOS application to Flutter Gallery (#45259) 2019-11-20 09:44:17 -08:00
Jonah Williams
f20471d081 Revert "reland add lifecycle enum and fix the scheduleforcedframe (#45133)" (#45260)
This reverts commit 99324105da.

It was implicated in https://github.com/flutter/flutter/issues/45258
2019-11-20 09:43:15 -08:00
Anthony
421bf64703 [Material] Update the Slider and RangeSlider to the latest Material spec (#44351)
Update the Slider and RangeSlider to the latest Material spec. This introduces an updated track, updated thumbs, updated tick marks, and a new value indicator shape. The old paddle value indicator shape is also updated so that text scaling works consistently.
2019-11-20 18:18:40 +01:00
Danny Tuppeny
73c32545b7 Fix device daemon test when desktop or web are enabled (#45172) 2019-11-20 11:02:35 +00:00
Emmanuel Garcia
fb5e49082b Revert "Attach looks at future observatory URIs (#45228)" (#45237)
This reverts commit 2135e9fb1e.
2019-11-19 23:14:25 -08:00
Emmanuel Garcia
2135e9fb1e Reland: Attach looks at future observatory URIs (#45228) 2019-11-19 21:43:52 -08:00
engine-flutter-autoroll
51b027c2f6 Roll engine 2d35b4ec1f04..176f56329631 (3 commits) (#45226)
* f240462bb Implement basic text rendering support in CanvasKit backend (flutter/engine#13903)

* ffcd8564a Imagefilter wrapper object (flutter/engine#13711)

* 176f56329 Roll src/third_party/dart eeca3fb1cb..1f933abcee (7 commits) (flutter/engine#13931)
2019-11-19 21:39:24 -08:00
Jonah Williams
c724504142 Update Android CPU device detection (#45139) 2019-11-19 19:04:17 -08:00
Todd Volkert
868578b150 Roll engine c812a62b8810..2d35b4ec1f04 (4 commits) (#45217)
c812a62b88...2d35b4ec1f

Expose the platform view mutator stack to custom compositors. (flutter/engine#13731)
Roll fuchsia/sdk/core/linux-amd64 from T9BAw... to 7mmHP... (flutter/engine#13924)
Changing test runner and platform to be browser independent (flutter/engine#13869)
Roll Skia to e678b79c489d (2 commits) (flutter/engine#13923)
2019-11-19 18:39:53 -08:00
Ian Hickson
b75abd9f7e Try a mildly prettier FlutterError and make it less drastic in release mode. (#44967) 2019-11-19 17:35:47 -08:00
Todd Volkert
664350d2a8 Roll engine f4fba66c2fad..c812a62b8810 (4 commits) (#45203)
git@github.com:flutter/engine.git/compare/f4fba66c2fad...c812a62b8810

git log f4fba66c2fad..c812a62b8810 --no-merges --oneline
2019-11-19 jonahwilliams@google.com allow ignoring toString, hashCode, and == in api_conform_test (flutter/engine#13907)
2019-11-19 bkonyi@google.com Roll src/third_party/dart d9d5fbc109..eeca3fb1cb (5 commits)
2019-11-19 chinmaygarde@google.com Add virtual destructor to GPUSurfaceSoftwareDelegate. (flutter/engine#13918)
2019-11-19 47866232+chunhtai@users.noreply.github.com Moves pointer event sanitizing to engine. (flutter/engine#13697)
2019-11-19 17:35:19 -08:00
Greg Spencer
0d27fdced9 Scroll scrollable to keep focused control visible. (#44965)
Before this change, it was possible to move the focus onto a control that was no longer in the view using focus traversal. This changes that, so that when a control is focused, it makes sure that if it is the child of a scrollable, that the scrollable attempts to keep it in view. If it is already in view, then nothing scrolls.

When asked to move in a direction, the focus traversal code tries to find a control to move to inside the scrollable first, and then looks for things outside of the scrollable only once the scrollable has reached its limit in that direction.
2019-11-19 17:10:34 -08:00