Commit graph

4624 commits

Author SHA1 Message Date
Jason Simmons 7336312b0b
Do not filter the stderr output of "flutter run" in the devicelab run tests (#117188) 2022-12-16 01:57:14 +00:00
Christopher Fujino c7cb5f3f5b
[flutter_tools] pin package intl and roll pub packages (#117168)
* pin package intl and roll pub packages

* add test

* fix analysis
2022-12-16 00:34:51 +00:00
hellohuanlin 0916375f44
[tools]Build IPA validation UI Polish (#116744)
* [tools]some ui polish for build ipa validation

* do not print out a few success validations

* rename installed type to success for more general usage

* forgot nit after reverting custom validation types and re-use doctor types
2022-12-15 14:43:32 -08:00
stuartmorgan f1d157bc29
Add an integration test to plugin template example (#117062)
* Add an integration test to plugin template example

Dart unit tests don't exercise host-side plugin code at all, so the
example tests in the plugin template currently have very little
meaningful coverage. This adds an integration test to the example app
when creating a plugin, so that there's an example of how to actually
test that a complete round-trip plugin call works.

This is done as a separate template that's currently only used by the
plugin template because I don't know what a good example for a
non-plugin case would be that isn't largely just a duplicate of the
widget tests. However, the integration test pre-includes conditionals
around the parts that are plugin-specific so that it can more easily be
expanded to other use cases later (e.g., in
https://github.com/flutter/flutter/issues/68818).

Part of https://github.com/flutter/flutter/issues/82458

* Add integration test to expected dependencies of a plugin app

* Test fixes

* Make an explicit test case
2022-12-15 19:49:14 +00:00
Darren Austin d8b7eb6e29
Updated token templates to sync with master code. (#117097) 2022-12-14 21:32:12 +00:00
Phil Quitslund f9acb1e88c
-- unnecessary parens (#117081) 2022-12-14 21:18:37 +00:00
Taha Tesser 57fb36ee0a
[reland] Add Material 3 support for ListTile - Part 1 (#116963)
* [reland] Add Material 3 support for `ListTile` - Part 1

* Update doc
2022-12-14 21:13:59 +00:00
Alexander Markov c63d797f94
Upgrade dependencies (#117007) 2022-12-14 13:13:05 -08:00
Loïc Sharma 028c6e29e0
[Android] Fix the run_debug_test_android device lab test (#117016)
* Fix

* Format

* DO NOT MERGE! Test in presubmit

* Revert "DO NOT MERGE! Test in presubmit"

This reverts commit 41c7186c72.
2022-12-14 05:18:21 +00:00
Daniel Flores Medina ba917d6159
Remove workaround because issue is closed (#110854) 2022-12-14 00:25:07 +00:00
Greg Spencer fae458b925
Convert TimePicker to Material 3 (#116396)
* Make some minor changes in preparation for updating the Time Picker to M3

* Revert OutlineInputBorder.borderRadius type change

* Revert more OutlineInputBorder.borderRadius changes.

* Convert TimePicker to Material 3

* Add example test

* Revert OutlineInputBorder.borderRadius type change

* Fix test

* Review Changes

* Merge changes

* Some sizing and elevation fixes

* Fix localization tests
2022-12-14 00:09:52 +00:00
Greg Spencer 96597c25e6
Bump Dartdoc version to 6.1.5 (#117014) 2022-12-13 22:28:01 +00:00
Loïc Sharma 41625b6620
Test flutter run does not have unexpected engine logs (#116798) 2022-12-12 22:39:49 +00:00
Zachary Anderson 558b7e0042
Adjust test to tolerate additional trace fields (#116914)
* Adjust test to tolerate additional trace fields

* Fix syntax error
2022-12-12 13:21:24 -08:00
Christopher Fujino 7a743c8816
[flutter_tools] Pin and roll pub (#116745)
* pin path_provider_android

* make path_provider_android non-transitive

* roll
2022-12-12 21:02:07 +00:00
Hans Muller 882e105a4c
Revert "Add Material 3 support for ListTile - Part 1 (#116194)" (#116908)
This reverts commit e57b7f4ea8.
2022-12-12 20:06:21 +00:00
Ian Hickson 9fdb64b7e7
Taboo the word "simply" from our API documentation. (#116061) 2022-12-11 22:43:22 +00:00
Taha Tesser e57b7f4ea8
Add Material 3 support for ListTile - Part 1 (#116194)
* Add Material 3 support for `ListTile` - Part 1

* minor refactor

* Add `useMaterial3: false` to M2 tests
2022-12-09 20:05:12 +00:00
Jason Simmons b4304dadc5
Update the Dart language version in the pubspec generated by the dartdoc script (#116789) 2022-12-09 11:38:20 -08:00
Siva 48cfe2eb00
Opt dashing_postprocess.dart out of null safety until we figure out why (#116786)
it complains about some library being unsound.
2022-12-09 10:53:39 -08:00
Parker Lougheed eefbe85c8b
Bump dartdoc to 6.1.4 (#116758) 2022-12-09 04:32:07 +00:00
Siva 7c8e171320
Manual Roll of Flutter Engine from 67254d6e4b03 to 8d83b98c55b3 (#116635)
* Roll Flutter Engine from 67254d6e4b03 to 8d83b98c55b3

* Roll Dart SDK from 35a9facce191 to e517487c5679 (Dart 3.0) (#38105)

* Bump SDK versions.

* Bump Dart SDK version constraints

* Update shrine package to 2.0.1 (null safe version)

* Fix more tests.

* Include patches from Jason for min android sdk version

* Fix analyzer warning
2022-12-08 18:03:51 -08:00
Loïc Sharma bebea0cc6c
[Windows] Add a flutter run console output test (#116626)
Adds a test to verify the console output of `flutter run --release` on Windows.

Part of: https://github.com/flutter/flutter/issues/111577
2022-12-08 14:05:53 -08:00
Alexander Thomas 3f1fb1b960
Update assets_for_android_views git dependency pins (#116639)
* Unpin assets_for_android_views git dependency

It needs to pick-up changes made to the pubspec.yaml to be Dart 3.0 compatible and dev/integration_tests/android_views/pubspec.yaml already uses the same dependency unpinned.

* Also unpin hybrid_android_views

* Pin android_views to the new flutter/goldens ref

* Pin hybrid_android_views to newer flutter/goldens
2022-12-07 12:33:59 -08:00
Casey Hillers 7673108d7e
Revert "Speed up first asset load by encoding asset manifest in binary rather than JSON (#113637)" (#116662)
This reverts commit 56cad89b1e.
2022-12-07 17:29:05 +00:00
Greg Spencer 31719941c0
Time picker precursors (#116450)
* Make some minor changes in preparation for updating the Time Picker to M3

* Revert OutlineInputBorder.borderRadius type change

* Revert more OutlineInputBorder.borderRadius changes.
2022-12-07 02:07:25 +00:00
Camille Simon 609fe35f13
[Android] Fix Linux Android flavors_test (#116129)
* Remove flaky label

* Have test install debug version

* Fix test

* Undo change

* Properly test change

* Empty-Commit

* Revert testing changes
2022-12-07 00:00:59 +00:00
Loïc Sharma 30c575140a
[Android] Refactor the flutter run Android console output test (#115023)
* [Android] Refactor the flutter run Android console output test

* CI bump
2022-12-06 21:57:25 +00:00
Parker Lougheed 76f03359b1
Update dartdoc to 6.1.3 (#116474)
No longer generates weird constructor-like calls interspersed.

Fixes https://github.com/dart-lang/dartdoc/issues/3201
2022-12-06 21:10:10 +00:00
godofredoc cd87e094e9
Allow creating packages for master/main. (#116557)
This is to enable testing of the packaging scripts on master/main
branches.

Bug: https://github.com/flutter/flutter/issues/115489
2022-12-06 19:46:07 +00:00
Gary Qian 06e7c7a618
Incrementally update gradle to AGP 7.2.0 and 7.3.3 in some integration_tests (#116201) 2022-12-05 12:27:29 -08:00
Andrew Kolos 56cad89b1e
Speed up first asset load by encoding asset manifest in binary rather than JSON (#113637) 2022-12-05 10:39:10 -08:00
godofredoc c3e5612362
Zip api docs using the repo under test script. (#116437)
This is to move more logic to the repo under test and remove them from
recipes.

Bug: https://github.com/flutter/flutter/issues/115489
2022-12-02 22:46:07 +00:00
Jonah Williams 08a2635e2b
[devicelab] add benchmark for complex non-intersecting widgets with platform views (#116436) 2022-12-02 21:37:45 +00:00
hellohuanlin 162be5933b
[tools]build IPA validation bundle identifier using the default "com.example" prefix (#116430)
* [tools]build IPA validation bundle identifier using default com.example

* rephrase the warning
2022-12-02 20:49:30 +00:00
Kevin Chisholm 4a55eefa38
[conductor] Add instructions to update oncall logs (#115871)
* add retro instructions

* make message more noticable
2022-12-02 11:17:17 -06:00
Zachary Anderson 7c0f882a92
Revert "[flutter_tools] Pin path_provider_android and roll pub packages (#116377)" (#116424)
This reverts commit ce94230281.
2022-12-02 08:30:14 -08:00
Christopher Fujino ce94230281
[flutter_tools] Pin path_provider_android and roll pub packages (#116377)
* pin path_provider_android

* remove constraint that only explicit dependencies can be pinned

* roll packages
2022-12-02 03:13:07 +00:00
hellohuanlin be81e9eae7
[tools]build ipa validate launch image using template files (#116242)
* [tools]build ipa validate launch image using template files

* reuse more code by sharing the same file key

* fix space
2022-12-02 02:09:50 +00:00
Gary Qian 6e8ebb3771
Reland "Upgrade targetSdkVersion and compileSdkVersion to 33" (#116146) 2022-12-01 07:12:47 -08:00
Christopher Fujino e62b6e7997
Track entire web build directory size in web_size__compile_test (#115682)
* wip

* add track entire web build output dir size

* add more fields

* migrate metrics to use bytes rather than kb

* update keys

* use -9 on tar cz

* delete tempDir and tar first before measuring size
2022-11-30 22:06:58 +00:00
Eilidh Southren 29422d25fe
M3 snackbar [re-land] (#116218)
* Add M2 defaults and template skeleton

* add MaterialStateColor functionality to ActionTextColor (issue #110402)

* Add M2 defaults and template skeleton

* updated material 3 tokens

* Updated snackbar demo

* add theme tests

* add gen defaults

* formatting

* more whitespace fixes

* add widget type

* update docs

* code review changes

* Add line overflow functionality

* whitespace fixes

* update M3 animation

* whitespace fixes

* add insetPadding param

* Modifed icon parameter to showCloseIcon

* white space fixes

* test fixes

* rename iconColor to closeIconColor

* debug test fix

* de-britishification

* g3fix

* g3fix

* debug test fix
2022-11-30 19:13:00 +00:00
Taha Tesser a52293843c
[Reland] Add Material 3 support for TabBar (#116283)
* Add Material 3 support for `TabBar`

* M3 `TabBar` revert fix and tests
2022-11-30 17:58:07 +00:00
Pierre-Louis b2672fe835
Revert "Add Material 3 support for TabBar (#116110)" (#116273)
This reverts commit 900b395451.
2022-11-30 13:20:19 +00:00
Greg Spencer 31ea315c3c
Add offline docs, up the h2 size (#116241) 2022-11-30 02:29:02 +00:00
hellohuanlin e438a12057
[tools]build ipa validate app icon size (#115594)
* [tools]build ipa validate icon size

* add more checks in case apple change the format, and also add device lab tests

* do not depend on collection package
2022-11-29 23:19:02 +00:00
Taha Tesser 900b395451
Add Material 3 support for TabBar (#116110) 2022-11-29 22:36:37 +00:00
Kate Lovett 8b32ac7a51
Revert "Update SnackBar to support Material 3" (#116199)
* Revert "Update SnackBar to support Material 3 (#115750)"

This reverts commit d58855c499.

* Kick ci.yaml

Co-authored-by: Jenn Magder <magder@google.com>
2022-11-29 19:11:43 +00:00
Eilidh Southren d58855c499
Update SnackBar to support Material 3 (#115750)
* Add M2 defaults and template skeleton

* add MaterialStateColor functionality to ActionTextColor (issue #110402)

* Add M2 defaults and template skeleton

* updated material 3 tokens

* Updated snackbar demo

* add theme tests

* add gen defaults

* formatting

* more whitespace fixes

* add widget type

* update docs

* code review changes

* Add line overflow functionality

* whitespace fixes

* update M3 animation

* whitespace fixes

* add insetPadding param

* Modifed icon parameter to showCloseIcon

* white space fixes

* test fixes

* rename iconColor to closeIconColor

* debug test fix

* de-britishification
2022-11-29 18:02:34 +00:00
godofredoc 61376de9b8
Generate local metadata even when not publishing. (#116087)
* Generate local metadata even when not publishing.

For SLSA compliance we need to separate the fetch, compile and upload
steps of release artifacts. Translating this to the packaging workflows
the fetch step will checkout the prepare_package script at main ToT, the
compile step generate the bundle archives and the recipes will upload
the artifact bundles as part of the upload stage.

This change adds functionality to generate both the release bundle and
the updated metadata file in a way that both files can be uploaded as
part of the upload stage.

Bug: https://github.com/flutter/flutter/issues/115487

* Address comments.

* Update tests.
2022-11-29 04:14:24 +00:00