29153 Commits

Author SHA1 Message Date
Zachary Anderson
80a51e4f97
Adds new_gallery_impeller__transition_perf benchmark for Android (#104126) 2022-05-18 20:07:12 -07:00
Michael Goderbauer
28d817e708
Bump dartdoc to 5.1.2 (#104097) 2022-05-18 17:57:13 -07:00
Gary Qian
350a7618eb
Remove extraneous org.jetbrains.kotlin:kotlin-stdlib-jdk7 gradle dep (#104028) 2022-05-18 17:52:13 -07:00
Dan Field
d50b5a0749
Stop recommending "shrinkWrap" (#104008) 2022-05-18 17:47:15 -07:00
Bruno Leroux
4b67827169
Add Tooltip default vertical padding (#103395) 2022-05-18 17:42:15 -07:00
Justin McCandless
384800b5e7
Fix right clicking a field to focus (#103228) 2022-05-18 17:37:11 -07:00
engine-flutter-autoroll
0f23e96b8f
Roll Flutter Engine from 4f6a8e669c47 to 54b096da96cd (2 revisions) (#104124) 2022-05-18 17:32:14 -07:00
Justin McCandless
715fcaac72
Can't drag the cursor with the mouse (#103002) 2022-05-18 17:32:12 -07:00
Bruno Leroux
8afaf7b58e
Fix documentation for filterQuality fields (#104056) 2022-05-18 14:42:10 -07:00
engine-flutter-autoroll
992c893cfd
Roll Flutter Engine from 6d9f02527961 to 4f6a8e669c47 (2 revisions) (#104119) 2022-05-18 14:32:11 -07:00
Justin McCandless
8f7e41a94c
Some MacOS control key shortcuts (#103936) 2022-05-18 13:37:12 -07:00
engine-flutter-autoroll
203818017f
Roll Flutter Engine from bba07dc3901c to 6d9f02527961 (7 revisions) (#104112) 2022-05-18 13:27:10 -07:00
gaaclarke
64a0c19652
switched to a double variant of clamp to avoid boxing (#103559) 2022-05-18 13:26:08 -07:00
Taha Tesser
32157e3fcb
AppBar: Fix nested scroll view doesn't update AppBar elevation for Material 3 (#103899) 2022-05-18 13:22:09 -07:00
engine-flutter-autoroll
64cba0e417
Roll Flutter Engine from 96b2ba2914e1 to bba07dc3901c (1 revision) (#104087) 2022-05-18 12:02:08 -07:00
Jenn Magder
b90359d5b4
Delete flaky flutter_gallery XCUITest (#103935) 2022-05-18 11:47:07 -07:00
engine-flutter-autoroll
d3cac6291e
Roll Plugins from a692f840ce72 to bd3f490353b0 (9 revisions) (#104085) 2022-05-18 11:42:10 -07:00
Casey Hillers
a4a8e73bce
Revert "Fix Backbutton is not displayed when there is a endDrawer (#102093)" (#104039)
This reverts commit f8f438730d269c23af4e1b3566bcdfaa076d9277.
2022-05-18 09:53:28 -07:00
engine-flutter-autoroll
6eb65b376d
Roll Flutter Engine from 843ed09c2535 to 96b2ba2914e1 (2 revisions) (#104075) 2022-05-18 06:57:10 -07:00
engine-flutter-autoroll
1ecb52e2f8
Roll Flutter Engine from 323b6b3d2f61 to 843ed09c2535 (1 revision) (#104067) 2022-05-18 05:52:04 -07:00
engine-flutter-autoroll
1973850407
Roll Flutter Engine from e0c367053319 to 323b6b3d2f61 (1 revision) (#104054) 2022-05-18 02:52:08 -07:00
engine-flutter-autoroll
e11b73878f
Roll Flutter Engine from 98e3181471c7 to e0c367053319 (1 revision) (#104050) 2022-05-18 01:47:05 -07:00
engine-flutter-autoroll
61cbe6ea8a
Roll Flutter Engine from 91b3a6d8f8be to 98e3181471c7 (1 revision) (#104044) 2022-05-18 00:42:08 -07:00
engine-flutter-autoroll
ec02990646
Roll Flutter Engine from 3f9f4adc66c1 to 91b3a6d8f8be (2 revisions) (#104037) 2022-05-17 23:12:11 -07:00
Pierre-Louis
a5589dd828
Roll gallery for device lab tests (#103993) 2022-05-17 23:07:08 -07:00
engine-flutter-autoroll
fbde4c4e73
Roll Flutter Engine from 2a4f04533b90 to 3f9f4adc66c1 (1 revision) (#104035) 2022-05-17 22:07:07 -07:00
Greg Spencer
08496712b0
Reorder Theme fields and arguments to be consistently alphabetical within sections. (#104011) 2022-05-17 20:57:08 -07:00
Jonah Williams
851c9521c7
[flutter_tools] pass --compact-async to frontend_server (#104026) 2022-05-17 19:52:10 -07:00
engine-flutter-autoroll
4b1ff13459
Roll Flutter Engine from c5f99e3f403d to 2a4f04533b90 (3 revisions) (#104029) 2022-05-17 18:52:07 -07:00
Jenn Magder
52ddc9d174
Handle null values during yaml metadata parsing validation (#104022) 2022-05-17 18:32:09 -07:00
engine-flutter-autoroll
b8b3b09af8
Roll Flutter Engine from 97a32340a636 to c5f99e3f403d (1 revision) (#104024) 2022-05-17 17:47:07 -07:00
Chris Bracken
9d9e272e70
[tool] Add tests for FakeProcess (#104013)
Because this class has some subtle behaviour with regards to control of
exit timing and when and how it streams data to stderr and stdout, it's
worth adding unit tests for this class directly, as well as (in a
followup patch) for FakeProcessManager.

This is additional testing relating to refactoring landed in:
https://github.com/flutter/flutter/pull/103947

Issue: https://github.com/flutter/flutter/issues/102451
2022-05-17 16:54:08 -07:00
engine-flutter-autoroll
fc9e84daff
Roll Flutter Engine from e0b2485d24d8 to 97a32340a636 (4 revisions) (#104019) 2022-05-17 16:27:08 -07:00
Christopher Fujino
0116b2e77d
[flutter_tools] fix RangeError in flutter channel command (#103766) 2022-05-17 16:22:12 -07:00
Jonah Williams
2ad7ced916
[flutter_tools] pass --enable-impeller to android (#104014) 2022-05-17 15:52:09 -07:00
Michael Goderbauer
2cbad4b3ae
Final chapter: migrate api doc samples to super-parameters (#104007) 2022-05-17 15:35:07 -07:00
dependabot[bot]
7fdf747723
Bump github/codeql-action from 2.1.10 to 2.1.11 (#104016) 2022-05-17 15:32:11 -07:00
engine-flutter-autoroll
12ffd622f1
Roll Flutter Engine from 1208983f4085 to e0b2485d24d8 (3 revisions) (#104012) 2022-05-17 15:12:09 -07:00
engine-flutter-autoroll
8c141c1157
Roll Flutter Engine from d43c9c3283d9 to 1208983f4085 (1 revision) (#104005) 2022-05-17 13:57:10 -07:00
engine-flutter-autoroll
10087a3b5e
Roll Flutter Engine from 8ab17202937d to d43c9c3283d9 (7 revisions) (#104000) 2022-05-17 12:52:11 -07:00
Aman Verma
8fbf89b9f2
[flutter_tools] throw error when argResults is null (#103827) 2022-05-17 12:37:08 -07:00
engine-flutter-autoroll
9651f1d717
Roll Flutter Engine from fce741dd83cf to 8ab17202937d (7 revisions) (#103982)
* e0f736dab Set error handler (flutter/engine#33402)

* dcd596a99 Roll Dart SDK from 381855557df2 to f3bf9025c141 (1 revision) (flutter/engine#33411)

* 5c2a16e07 Roll Fuchsia Linux SDK from F0_B8WVKY... to IZ7_b83xC... (flutter/engine#33415)

* 4958a245a Roll dart sdk to 1bdb83bddf96c41cc046810c697a2c80bfaaaf19 (flutter/engine#33416)

* d2fd3d852 Roll Fuchsia Mac SDK from t_ky8l6nb... to egBfZMmTP... (flutter/engine#33417)

* d58fc83f1 Roll Dart SDK from 1bdb83bddf96 to 0bc104c3e959 (1 revision) (flutter/engine#33419)

* 8ab172029 Roll Skia from 0a5146ca3ffd to 16fa353926b8 (28 revisions) (flutter/engine#33420)

* Remove fraction translation

* Update codesign.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2022-05-17 11:45:05 -07:00
godofredoc
4c7384c971
Update cirrus secret. (#103957) 2022-05-17 11:37:14 -07:00
Dan Field
1662a14bc8
More missing clipBehavior respects (#103931) 2022-05-17 11:32:11 -07:00
Lau Ching Jun
a633f3df32
Add ability for PrebuiltWindowsApp to accept a zip archive. (#103918) 2022-05-17 11:27:11 -07:00
Dan Field
d54cdf9e18
Add a mechanism to observe layer tree composition. (#103378) 2022-05-17 11:22:11 -07:00
engine-flutter-autoroll
c62a7d4141
Roll Plugins from 486071d7f9bb to a692f840ce72 (7 revisions) (#103986) 2022-05-17 11:17:10 -07:00
Chris Bracken
928bb1229b
[tool] Consistent FakeProcessManager.run/runSync (#103947)
`FakeProcessManager` is a test-oriented implementation of `ProcessManager`
that simulates launching processes and returning `ProcessResult` objects
whose `exitCode`, `stdout`, `stderr` can be used to write platform-portable,
hermetic tests that don't rely on actually launching processes from
executables on disk. Its `run` and `runSync` methods provide asynchronous and
synchronous variants of this functionality.

Previously, the behaviour of `run` and `runSync` were inconsistent with
regards to the treatment of the `stdoutEncoding` (similarly,
`stderrEncoding`) parameters:

`run`:
* if the encoding was null, `ProcessResult.stdout` was returned as a
  String in UTF-8 encoding. This was incorrect. The behaviour as
  specified in `ProcessResult.stdout` is that in this case, a raw
  `List<int>` should be returned.
* If the encoding was unspecified, `ProcessResult.stdout` was returned as
  a `String` in the `io.systemEncoding` encoding. This was correct.
* If the encoding was non-null, `ProcessResult.stdout` was returned as a
  `String` in the specified encoding. This was correct.

`runSync`:
* if the encoding was null, `ProcessResult.stdout` was returned as a
  `List<int>` in UTF-8 encoding. This was incorrect. The behaviour as
  specified in `ProcessResult.stdout` is that in this case, a raw
  `List<int>` should be returned.
* If the encoding was unspecified, `ProcessResult.stdout` was returned as
  `List<int>` in UTF-8 encoding. This was incorrect. The behaviour as
  specified in `ProcessResult.stdout` is that in this case, a String a
  `String` in the `io.systemEncoding` encoding should be returned.
* if the encoding was non-null, `ProcessResult.stdout` was returned as a
  `String` in unknown (but probably UTF-8) encoding. This was incorrect.
  The behaviour as specified in `ProcessResult.stdout` is that in this
  case, a `String` in the specified encoding should be returned.

`_FakeProcess`, from which we obtain the fake stdout and stderr values now
holds these fields as raw `List<int>` of bytes rather than as `String`s. It
is up to the user to supply values that can be decoded with the encoding
passed to `run`/`runAsync`.

`run` and `runAsync` have been updated to set stdout (likewise, stderr) as
specified in the `ProcessResult` documentation.

This is pre-factoring for #102451, in which the tool throws an exception
when processing the JSON output from stdout of the `vswhere.exe` tool,
whose output was found to include the `U+FFFD` Unicode replacement
character during UTF-8 decoding, which triggers a `toolExit` exception
when decoded using our [Utf8Decoder][decoder] configured with `reportErrors` =
true. Because `FakeProcessManager.runAsync` did not previously invoke
`utf8.decode` on its output (behaviour which differs from the non-fake
implementation), it was impossible to write tests to verify the fix.

Ref: https://api.flutter.dev/flutter/dart-io/ProcessResult/stdout.html

Issue: https://github.com/flutter/flutter/issues/102451

[decoder]: fd312f1ccf/packages/flutter_tools/lib/src/convert.dart (L51-L60)
2022-05-17 11:15:54 -07:00
Greg Spencer
1994027986
Add VoidCallbackAction and VoidCallbackIntent (#103518)
This adds a simple VoidCallbackAction and VoidCallbackIntent that allows configuring an intent that will invoke a void callback when the intent is sent to the action subsystem. This allows binding a shortcut directly to a void callback in a Shortcuts widget.

I also added an instance of VoidCallbackAction to the default actions so that simply binding a shortcut to a VoidCallbackIntent works anywhere in the app, and you don't need to add a VoidCallbackAction at the top of your app to make it work.
2022-05-17 11:11:41 -07:00
engine-flutter-autoroll
c248854d17
Roll Flutter Engine from 986700315af9 to fce741dd83cf (3 revisions) (#103944) 2022-05-16 20:57:08 -07:00