28979 Commits

Author SHA1 Message Date
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
engine-flutter-autoroll
fd312f1ccf
Roll Flutter Engine from f1a08ff35920 to 986700315af9 (1 revision) (#103940) 2022-05-16 19:52:09 -07:00
engine-flutter-autoroll
bb9bbc6013
Roll Flutter Engine from 93100729d65d to f1a08ff35920 (2 revisions) (#103938) 2022-05-16 18:37:08 -07:00
Jenn Magder
bf7a32628e
Up CocoaPods minumum to 1.10 (#103655) 2022-05-16 17:42:19 -07:00
engine-flutter-autoroll
09a35537db
Roll Flutter Engine from 10f1bac08d4f to 93100729d65d (1 revision) (#103937) 2022-05-16 17:22:10 -07:00
Jenn Magder
5ce07af9ca
Delete native_ui_tests_ios (#103727) 2022-05-16 15:59:52 -07:00
engine-flutter-autoroll
ef582820a1
Roll Flutter Engine from a277fe24b8b4 to 10f1bac08d4f (5 revisions) (#103927) 2022-05-16 15:19:09 -07:00
Jim Graham
697e930d5e
add noSuchMethod to _MulticastCanvas to unblock smoke testing against forthcoming new getTransform/Clip methods (#103737) 2022-05-16 13:49:10 -07:00
engine-flutter-autoroll
03be77dbf0
Roll Flutter Engine from ccde8fd63a0f to a277fe24b8b4 (2 revisions) (#103916)
* 05ddf054c Add Spell Check Support for Android Engine (flutter/engine#30858)

* a277fe24b Roll Fuchsia Linux SDK from sg5JUw-y-... to F0_B8WVKY... (flutter/engine#33395)
2022-05-16 13:47:25 -07:00
Yegor
21b975041f
[web] do not swallow WebDriver errors (#103754) 2022-05-16 13:44:24 -07:00
Dan Field
fe87538b76
Implement paintsChild on RenderObjects that skip painting on their children (#103768) 2022-05-16 11:29:07 -07:00
engine-flutter-autoroll
6e7f7aea51
Roll Flutter Engine from aeab8402c6cc to ccde8fd63a0f (5 revisions) (#103911) 2022-05-16 11:19:10 -07:00
engine-flutter-autoroll
c60936e5c9
Roll Plugins from 053c4bdb3812 to 486071d7f9bb (3 revisions) (#103904) 2022-05-16 10:04:12 -07:00
engine-flutter-autoroll
1b71c5bf67
Roll Flutter Engine from 498a85623a6d to aeab8402c6cc (1 revision) (#103893) 2022-05-16 09:59:17 -07:00
engine-flutter-autoroll
630f9559ff
Roll Flutter Engine from 08b0cc0d6cda to 498a85623a6d (1 revision) (#103888) 2022-05-16 04:24:10 -07:00
engine-flutter-autoroll
6cdefebe34
Roll Flutter Engine from c40bc1313c67 to 08b0cc0d6cda (1 revision) (#103884) 2022-05-16 02:54:07 -07:00
engine-flutter-autoroll
e01522c83e
Roll Flutter Engine from b6fb2c1bce06 to c40bc1313c67 (1 revision) (#103878) 2022-05-16 01:49:06 -07:00
engine-flutter-autoroll
497a10878f
Roll Flutter Engine from 1b064fd1a39f to b6fb2c1bce06 (2 revisions) (#103875) 2022-05-16 00:44:07 -07:00
engine-flutter-autoroll
36f9a186bf
Roll Flutter Engine from c581fa93ff3c to 1b064fd1a39f (1 revision) (#103860) 2022-05-15 11:34:06 -07:00
engine-flutter-autoroll
90f7b96d73
Roll Flutter Engine from 23a215c87473 to c581fa93ff3c (1 revision) (#103859) 2022-05-15 09:14:05 -07:00
engine-flutter-autoroll
955692128c
Roll Flutter Engine from d093c43b3aef to 23a215c87473 (1 revision) (#103849) 2022-05-15 04:29:07 -07:00
engine-flutter-autoroll
e4840f6a63
Roll Flutter Engine from fdf2ddc04cbe to d093c43b3aef (1 revision) (#103845) 2022-05-15 01:24:05 -07:00
engine-flutter-autoroll
aa2f567bab
Roll Flutter Engine from decfc94a44ef to fdf2ddc04cbe (1 revision) (#103841) 2022-05-14 23:34:05 -07:00
engine-flutter-autoroll
758f08df66
Roll Flutter Engine from d09cf345042f to decfc94a44ef (2 revisions) (#103837) 2022-05-14 22:29:04 -07:00
Chris Bracken
6eb12c6843
[macOS] Update template icons to Big Sur style (#103739)
Updates the AppIcon assets in the macOS app template to meet Apple's
icon guidelines as of macOS Big Sur. Assets were moved to the
[flutter_template_images][1] package, which includes them as of version
4.1.0.

Ref: https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/

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

[1]: https://github.com/flutter/packages/tree/main/packages/flutter_template_images
2022-05-14 17:20:24 -07:00