Commit Graph

33541 Commits

Author SHA1 Message Date
Danny Tuppeny
06952ba254 [flutter_tools] Add support for URI formats like ?line=x for "flutter test" (#119740)
* [flutter_tools] Add support for URI formats like ?line=x for "flutter test"

* Remove unnecessary function

* Handle parsing absolute paths on Windows

* Use Windows-style paths when running on Windows

* Fix paths in isFile

* Remove unnecessary clear
2023-02-27 19:13:00 +00:00
Taha Tesser
9a4e897965 Add OverflowBox example and update existing examples under basic.dart (#121213)
Add `OverflowBox` example and update existing examples under `basic.dart`
2023-02-27 18:52:00 +00:00
Christopher Fujino
5c334d10df Revert "show web-server in flutter devices (#121373)" (#121532)
Revert "[flutter_tools] show web-server in flutter devices"
2023-02-27 18:44:09 +00:00
Taha Tesser
fd65fd1b16 Fix ExpansionTile hint for Android (#120881)
Fix `ExpansionTile` double tap to collapse/expanded and expanded/collapsed states semantics announcements
2023-02-27 18:40:17 +00:00
ivirtex
edba606974 Fix text color not resolving when CupertinoThemeData.brightness is null (#115026)
* Fix text color not resolving in `CupertinoApp`

* Make linter happy

* Create cupertinoBuilder for theming

* Make linter happy

* Fix tests

* Fix regression

* Delete whitespace

* Resolve color passed to the `WidgetsApp`

* Revert "Resolve color passed to the `WidgetsApp`"

This reverts commit 6994719a564c476dcb6d389e4547bff3ded08203.

* Resolve selection colors

* Kick tests

* Delete doubled test
2023-02-27 10:36:11 -08:00
Greg Price
516b60bda1 Give error on too many arguments to flutter config (#121494)
Give error on too many arguments to `flutter config`
2023-02-27 17:22:20 +00:00
Bruno Leroux
a297cb368b Fix Ink decoration image does not render (#121521) 2023-02-27 08:51:21 -08:00
Casey Hillers
d193f050b5 [conductor] Remove cherrypick option (#121405)
[conductor] Remove cherrypick option
2023-02-27 15:00:26 +00:00
Rulong Chen(陈汝龙)
a5c60f4128 Limit the PlatformView ID within the range of 32-bit integers. (#121203)
Limit the PlatformView ID within the range of 32-bit integers.
2023-02-27 14:52:40 +00:00
Ben Konyi
fbae472fc3 Reland "Remove references to Observatory (#118577)" (#121215)
This reverts commit 298d8c76ba.
2023-02-27 09:26:43 -05:00
engine-flutter-autoroll
8765492bd2 4bba1b958 Roll Dart SDK from 2a2b8bc0b434 to 046c78d307d7 (1 revision) (flutter/engine#39907) (#121517)
Roll Flutter Engine from 88b48c357b21 to 4bba1b958e11 (1 revision)
2023-02-27 10:47:57 +00:00
engine-flutter-autoroll
45723adf4d Roll Flutter Engine from 5bcb322d9b31 to 88b48c357b21 (2 revisions) (#121499)
Roll Flutter Engine from 5bcb322d9b31 to 88b48c357b21 (2 revisions)
2023-02-27 04:35:37 +00:00
engine-flutter-autoroll
23458e3400 5bcb322d9 Roll ICU from c6b685223182 to 1e49ac26ddc7 (1 revision) (flutter/engine#39899) (#121495)
Roll Flutter Engine from 0c040de0e6c6 to 5bcb322d9b31 (1 revision)
2023-02-27 02:00:56 +00:00
engine-flutter-autoroll
bdfe74fc4a 0c040de0e Roll Fuchsia Mac SDK from jmdJzdnm_5bNiNAB5... to lz0NIfjcTGrVbRkV2... (flutter/engine#39894) (#121489)
Roll Flutter Engine from 951e3febc14a to 0c040de0e6c6 (1 revision)
2023-02-26 18:16:23 +00:00
engine-flutter-autoroll
46ac308aeb Roll Flutter Engine from c8d5d4138f98 to 951e3febc14a (2 revisions) (#121464)
Roll Flutter Engine from c8d5d4138f98 to 951e3febc14a (2 revisions)
2023-02-26 02:40:21 +00:00
engine-flutter-autoroll
0e93a7071f c8d5d4138 Roll Skia from 9b91a4116d13 to 26d0fec03f78 (1 revision) (flutter/engine#39883) (#121463)
Roll Flutter Engine from ddf8d7c44ae4 to c8d5d4138f98 (1 revision)
2023-02-25 23:49:29 +00:00
engine-flutter-autoroll
010e2c9cfc ddf8d7c44 Roll Fuchsia Mac SDK from yH66bYEkvZAwnmz1h... to wtSn1iCpHYqcNOWFY... (flutter/engine#39879) (#121453)
Roll Flutter Engine from ddfd3dce13bc to ddf8d7c44ae4 (1 revision)
2023-02-25 13:40:24 +00:00
engine-flutter-autoroll
5ce4f80eeb Roll Flutter Engine from a564342e0769 to ddfd3dce13bc (3 revisions) (#121445)
Roll Flutter Engine from a564342e0769 to ddfd3dce13bc (3 revisions)
2023-02-25 09:23:38 +00:00
engine-flutter-autoroll
0fc8209a7c Roll Flutter Engine from de9093d1285b to a564342e0769 (2 revisions) (#121442)
Roll Flutter Engine from de9093d1285b to a564342e0769 (2 revisions)
2023-02-25 06:44:23 +00:00
engine-flutter-autoroll
67c9472d14 Roll Flutter Engine from 4d8a7cbcb189 to de9093d1285b (2 revisions) (#121438)
Roll Flutter Engine from 4d8a7cbcb189 to de9093d1285b (2 revisions)
2023-02-25 03:35:32 +00:00
engine-flutter-autoroll
c4bc9d5f37 Roll Flutter Engine from 527a8bd372f3 to 4d8a7cbcb189 (6 revisions) (#121435)
Roll Flutter Engine from 527a8bd372f3 to 4d8a7cbcb189 (6 revisions)
2023-02-25 00:30:27 +00:00
Christopher Fujino
6b3f95832a show web-server in flutter devices (#121373)
[flutter_tools] show web-server in flutter devices
2023-02-24 23:52:06 +00:00
David Iglesias
f9b0be0536 Roll Packages from 6c04c745b to ad48ee552 (28 revisions) (#121432)
Roll Packages from 6c04c745b to ad48ee552 (28 revisions)
2023-02-24 23:06:21 +00:00
engine-flutter-autoroll
026aa341b9 Roll Flutter Engine from 9f247021387a to 527a8bd372f3 (3 revisions) (#121421)
Roll Flutter Engine from 9f247021387a to 527a8bd372f3 (3 revisions)
2023-02-24 20:20:29 +00:00
Michael Goderbauer
b1b7284a72 Move semantic-related bindings to SemanticsBinding (#121289)
Move semantic-related bindings to SemanticsBinding
2023-02-24 19:30:57 +00:00
Mitchell Goodwin
cb67ecd97d Add adaptive RefreshIndicator (#121249) 2023-02-24 10:51:37 -08:00
Ricardo Amador
9e6214f873 Add a note about updating and fix env variable (#121293)
Add a note about updating and fix env variable
2023-02-24 18:28:12 +00:00
Bruno Leroux
5d99748c7a Remove accessibleNavigation reference from BottomSheet (#121132)
Remove accessibleNavigation reference from BottomSheet
2023-02-24 17:22:28 +00:00
Kevin Chisholm
dfe7f841b3 [Conductor] Add documentation to individual files (#121277)
* add documentation to files

* Update dev/conductor/core/lib/src/stdio.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/start.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/repository.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/next.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/git.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update dev/conductor/core/lib/src/git.dart

Co-authored-by: Christopher Fujino <fujino@google.com>

* Update stdio.dart

---------

Co-authored-by: Christopher Fujino <fujino@google.com>
2023-02-24 09:44:15 -06:00
Taha Tesser
219ff64574 Reland "Update ExpansionTile to support Material 3 & add an example" (#121212) 2023-02-24 06:30:33 -08:00
engine-flutter-autoroll
cab761d1d3 9f2470213 Roll Skia from e7ed04a6fb12 to aa36fbbd0c1d (3 revisions) (flutter/engine#39846) (#121396) 2023-02-24 12:35:39 +00:00
engine-flutter-autoroll
5db8faecfb 0d5b780b1 Create DlCanvas interface and implement with DisplayListBuilder and SkCanvasAdapter (flutter/engine#39762) (#121390) 2023-02-24 09:09:41 +00:00
engine-flutter-autoroll
306565916c Manual roll Flutter Engine from 167c97bc3b49 to ba9a895313a9 (3 revisions) (#121388)
* f6af1ac52 Roll Skia from c23446d2da26 to 8fc2ded77979 (1 revision) (flutter/engine#39835)

* 85c66fe32 Roll Fuchsia Mac SDK from OCFfGKefENe8lYAwM... to O8Tsxg5k_mmhxYUTh... (flutter/engine#39837)

* ba9a89531 Roll Skia from 8fc2ded77979 to e7ed04a6fb12 (1 revision) (flutter/engine#39839)
2023-02-24 08:17:10 +00:00
engine-flutter-autoroll
4811269379 Manual roll Flutter Engine from cad5eec1b52c to 167c97bc3b49 (4 revisions) (#121383)
* 6a7ea36c8 Remove surface check when querying ExternalViewEmbedder (flutter/engine#39803)

* 8496df610 Fix referenes in docs (flutter/engine#39828)

* 2f4b81be1 Roll Skia from fff6c987d803 to c23446d2da26 (10 revisions) (flutter/engine#39831)

* 167c97bc3 Revert "Match PlatformConfiguration properties to PlatformDispatcher ones (#39685)" (flutter/engine#39833)
2023-02-23 22:47:48 -08:00
hellohuanlin
1155d2719d [platform_view]integration test for platform view not tappable issue (#120844)
* [platform_view]integration test for platform view not tappable issue

* nit
2023-02-23 23:38:34 +00:00
engine-flutter-autoroll
56a54d6d10 Roll Flutter Engine from b4b4c15d3a60 to cad5eec1b52c (4 revisions) (#121365)
* 2bc07cac7 Roll Skia from a321a8750271 to 1b2d815e9778 (5 revisions) (flutter/engine#39821)

* 57cbf0858 Roll Skia from 1b2d815e9778 to fff6c987d803 (2 revisions) (flutter/engine#39823)

* 2d2b51d69 Remove obsolete references in ViewConfiguration documentation (flutter/engine#39708)

* cad5eec1b Match PlatformConfiguration properties to PlatformDispatcher ones (flutter/engine#39685)
2023-02-23 23:22:22 +00:00
Hans Muller
1c753635b1 Added identical(a,b) short circuit to painting Library lerp methods (#121346) 2023-02-23 14:23:39 -08:00
Qun Cheng
07b0252da4 Change mouse cursor to be SystemMouseCursors.click when not focusable (#121353)
Co-authored-by: Qun Cheng <quncheng@google.com>
2023-02-23 14:23:11 -08:00
Greg Spencer
b1d8a4e4c7 Modify focus traversal policy search to use focus tree instead of widget tree (#121186)
* Modify focus traversal policy search to use focus tree instead of widget tree

* Eliminate unnecessary inherited widget

* Remove unintentional change

* Look for focus nodes without creating a dependency.

* Add test

* Review Changes

* Fix debug_test.dart

* Rebase onto master
2023-02-23 21:15:54 +00:00
Flutter GitHub Bot
5d36cb77fb roll packages (#121358) 2023-02-23 20:20:25 +00:00
Lioness100
26b6c1bedd Fix typos (#121171)
* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-02-23 19:43:21 +00:00
David Neuy
3681b27a47 Fix DataCell overflows when cell height is large by adding dataRowMinHeight, dataRowMaxHeight props. (#114338)
* Fix DataCell overflows when cell height is large by adding dataRowMinHeight, dataRowMaxHeight props.

* Fix DataCell overflows when cell height is large by adding dataRowMinHeight, dataRowMaxHeight props - add tests.

* Fix analysis errors

* Review changes.

* Add asserts for dataRowMinHeight and dataRowMaxHeight

* Add asserts for dataRowMinHeight and dataRowMaxHeight

* Make dataRowHeight a computed getter

* Remove get only dataRowHeight from hashCode...

* Update deprecated after

* Add new line at end of AUTHORS

* Apply suggestions from code review

* Update packages/flutter/test/material/data_table_test.dart

---------

Co-authored-by: Kate Lovett <katelovett@google.com>
2023-02-23 19:32:29 +00:00
Greg Price
97938859e0 Fix buggy formula for critically-damped springs (#120488)
Fixes #109675.

This formula would produce an initial velocity quite different
from the one specified as an argument.

To update the test, I computed the expected results separately
by using the physical formula.

Happily, the framework by default never ends up actually exercising
this code.  Of the four SpringDescription call sites within the
framework, two are explicitly overdamped; the other two are by
design critically damped, but due to rounding they end up being
treated as (very slightly) overdamped too.  Details here:
  https://github.com/flutter/flutter/issues/109675#issuecomment-1423674855

So the only way an app could be affected by this bug is if it called
a SpringDescription constructor itself, and managed to create a spring
description where the distinguishing formula in _SpringSolution comes
out exactly equal to zero.  It's likely nobody has ever shipped such
an app, because the behavior this produces would be so wildly wrong
that it'd be hard to miss when exercised.

Co-authored-by: Kate Lovett <katelovett@google.com>
2023-02-23 19:29:32 +00:00
Flutter GitHub Bot
8080becadf roll packages (#120951) 2023-02-23 19:21:53 +00:00
Flutter GitHub Bot
5dc569f148 Marks Linux run_debug_test_linux to be unflaky (#121237)
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2023-02-23 19:11:17 +00:00
engine-flutter-autoroll
c722ce419a Roll Flutter Engine from 19cf8e363f78 to b4b4c15d3a60 (2 revisions) (#121341)
* e7d34e1e8 Roll Skia from 69f83e81ef3f to a321a8750271 (2 revisions) (flutter/engine#39819)

* b4b4c15d3 Roll Fuchsia Mac SDK from xFmgbl9L7nOoL8W-w... to OCFfGKefENe8lYAwM... (flutter/engine#39820)
2023-02-23 17:44:30 +00:00
chunhtai
660992a161 Fix text.rich to merge widget span (#113461)
* Fix text.rich to merge widget span

* migrate to new API

* update

* addressing comment

* addressing comments

* update

* addressing comment

* Update
2023-02-23 17:38:52 +00:00
Taha Tesser
56e1bddc59 Fix SliverAppBar.medium & SliverAppBar.large title overlap with leading/actions widgets, leading width, and title spacing (#120780)
* Fix `SliverAppBar.medium` & `SliverAppBar.large` title overlap with leading/actions widgets, leading width, and title spacing

* Add `titleSpacing` theme tests and consolidate multiple tests for the same widgets
2023-02-23 17:12:11 +00:00
engine-flutter-autoroll
af347d6677 19cf8e363 [web] Copy everything under the local canvaskit folder (flutter/engine#39799) (#121338) 2023-02-23 16:48:20 +00:00
engine-flutter-autoroll
19b2aa14c0 c87028288 Roll Fuchsia Linux SDK from 0RfFdaUCok_sFfUN1... to 69m3Jn73L34XwlsWH... (flutter/engine#39761) (#121332) 2023-02-23 14:03:39 +00:00