Commit graph

4584 commits

Author SHA1 Message Date
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
Jonah Williams dfa3d33328
[devicelab] track performance of animated image filter (#115850)
* [devicelab] track performance of animated image filter

* ++

* make animations repeat and add dispose

* make duration more consistently 10sec
2022-11-29 01:59:19 +00:00
Greg Spencer 0cb9f70460
Menu bar accelerators (#114852)
* Add MenuMenuAcceleratorLabel to support accelerators.

* Review Changes

* Review Changed

* Fix default label builder to use characters

* Remove golden test that shouldn't have been there.
2022-11-29 00:27:20 +00:00
Taha Tesser beaabb70c5
Add IndicatorShape to NavigationRailTheme and fix indicator ripple. (#116108)
* Add `IndicatorShape` to `NavigationRailTheme` and fix  indicator ripple.

* remove unused variables
2022-11-28 20:44:29 +00:00
Darren Austin 96d7f9cb13
Updated tokens to v0_143. (#115890) 2022-11-27 22:08:48 -08:00
Kevin Moore b9caef58e0
Remove dev/md random file (#115855) 2022-11-22 22:11:59 +00:00
Christopher Fujino dfdec8984f
[flutter_tools] Remove package:image (#115848)
* remove ciyaml targets

* remove screenshot_test and package:image

* update-packages

* remove TESTOWNERS entries
2022-11-22 21:49:57 +00:00
Flutter GitHub Bot 14754a261f
roll packages (#115764) 2022-11-22 21:49:53 +00:00
Camille Simon 7045a8b570
Add Spell Check to Editable Text (iOS) (#110193)
* Add ios to integration test and comments

* Add licenses

* Fix integration test for ios

* Delete pngs

* Undo changes to integration test

* Undo error

* Add ios task

* Fix task for landing
2022-11-21 19:11:48 +00:00
Christopher Fujino 0fc4a3efa8
Revert "Remove package:image dependency (#115674)" (#115680)
This reverts commit cf2c9f6ed4.
2022-11-18 18:22:23 -08:00
Christopher Fujino cf2c9f6ed4
Remove package:image dependency (#115674)
* delete screenshot_test.dart

* remove image dep

* pub get
2022-11-18 23:50:23 +00:00
hangyu 0e57147db1
nav drawer (#115668) 2022-11-18 15:10:05 -08:00
Christopher Fujino 459391708e
[flutter_tools] Pin package:archive and manual roll (#115662)
* add package:archive to pins

* roll
2022-11-18 19:28:10 +00:00
Jonah Williams 9379c3233c
Revert "[devicelab] measure entire release folder size, zipped (#115612)" (#115617)
This reverts commit 0b33b85928.
2022-11-17 18:13:49 -08:00
Jonah Williams 0b33b85928
[devicelab] measure entire release folder size, zipped (#115612)
* [devicelab] measure entire release folder size, zipped

* [devicelab] tar with more settings

* super safe reland

* Update perf_tests.dart
2022-11-18 01:54:54 +00:00
Jonah Williams ec03f1c8c4
Revert "[devicelab] measure entire release folder size, zipped (#115597)" (#115609)
This reverts commit 75a0a72555.
2022-11-17 16:27:49 -08:00
Jonah Williams 75a0a72555
[devicelab] measure entire release folder size, zipped (#115597) 2022-11-18 00:03:49 +00:00
Jenn Magder efb069474f
Remove unused flutter_attach_test_fuchsia (#115515) 2022-11-17 18:51:55 +00:00
Taha Tesser ac06523b74
Add Material 3 support for Slider - Part 2 (#114624)
* Add Material 3 support for Slider - Part 2

* Kick tests

* Update drawing order to fix html renderer bug

* Update test
2022-11-17 18:33:16 +00:00
Devon Carew 0344407614
Rev package:pub_semver to the latest version (#115570)
* rev package:pub_semver to the latest version

* revert update_packages.dart changes
2022-11-17 18:29:37 +00:00
Darren Austin 39a9ed5721
Updated tokens to v0.141 (#115298) 2022-11-15 10:33:19 -08:00
Darren Austin 6ec2bd0a80
M3 Segmented Button widget (#113723) 2022-11-11 22:13:57 -08:00
Hans Muller 5a600456b0
Reland: Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) (#115002)
Requires G3Fix cl/486997831
2022-11-10 11:05:50 -08:00
Greg Spencer d0491dcf15
Add the channel parameter to the Dartpad samples (#115018)
* Add the channel paramter to the Dartpad samples

* Add sanity check test

* Make sample_id more generic
2022-11-09 23:47:05 +00:00
Jim Graham 92f10ed712
match error statements without relying on volatile human-readable descriptions (#114922)
* match error statements without relying on volatile human readable descriptions

* simplify String list map call
2022-11-09 01:57:52 +00:00
Loïc Sharma 9797d5f1cb
[macOS] Refactor the flutter run macOS console output test (#114645) 2022-11-08 23:00:04 +00:00
Alex Wallen 7020f59ace
[tool] Support --flavor option for flutter install. (#114048)
* Alphabetize setup calls

* Add --flavor as an option for install

* Add verbose logging in install command

* Test that flavors build succeeds with proper flavor and fails with bogus one.

* Remove unused import

* The import was used...

* SQUASH

* Add flavor install test

* Rename test

* Add flavors install integration tests

* correct error message

* remove unused imports

* Delete copy test

* update test target

* Refactor mechanism to read buildInfo

* Remove unused import

* Set affected test targets to bringup: true

Co-authored-by: a-wallen <stephenwallen@google.com>
2022-11-08 22:53:23 +00:00
Zachary Anderson a84e369bd2
Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902)
This reverts commit 53e6876226.
2022-11-08 09:26:55 -08:00
Kate Lovett 53e6876226
Allow Flutter golden file tests to be flaky (#114450)
* allow marking a golden check as flaky

* add matchesFlutterGolden to analyze.dart; no tags for flutter_goldens/lib

* Pause

* ++

* ++

* Analyzer therapy

* Once more with feeling

* Nits

* Review feedback

* Silly oops

* Test progress

* More tests

* Finish

* Nits

* Analyzer

* Review feedback

Co-authored-by: Yegor Jbanov <yjbanov@google.com>
2022-11-08 01:14:03 +00:00
Bruno Leroux 5628ebf662
[RawKeyboard] Allow inconsistent modifiers for Web (#114499)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:41:09 +00:00
Hans Muller d6a8e92cd6
Revert "Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560)" (#114819)
This reverts commit a6da1042a8.
2022-11-07 08:50:56 -08:00
Chris Bracken 3c9288c6d3
Increase minimum supported macOS version from 10.13 to 10.14 (#114713)
Increases the minimum macOS deployment target from macOS 10.13 (High Sierra) to 10.14 (Mojave) in the macOS app templates.

Includes:
* Update migration for macOS 10.11 apps to upgrade to 10.14
* Adds migration for macOS 10.13 apps to upgrade to 10.14
* Apply migration to all examples, and integration tests

This does not increase version in the plugin templates since those will need to wait until the 10.14 framework rolls to stable channel, so new plugins can build with apps created with `flutter create` on stable channel.

Issue: https://github.com/flutter/flutter/issues/114445
See RFC: http://flutter.dev/go/flutter-drop-macOS-10.13-2022-q4
See previous patch: https://github.com/flutter/flutter/pull/107689
2022-11-07 11:32:42 +01:00
Hans Muller a6da1042a8
Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) 2022-11-06 17:21:08 -08:00
Flutter GitHub Bot 91a56cf15f
roll packages (#114366) 2022-11-04 22:27:56 +00:00
godofredoc 0186b1496b
Fix the path where footer is written. (#114469)
The footer file was being written in dev/bot instead of dev/docs.

Bug: https://github.com/flutter/flutter/issues/113805
2022-11-03 18:15:07 +00:00
Chris Bracken 15867a612f
Roll gallery to b6728704a6441ac37a21e433a1e43c990780d47b (#114537) 2022-11-02 20:47:06 +00:00
Darren Austin 89418ef85f
Added tokens for Snackbar widget. (#114466) 2022-11-02 12:02:46 -07:00
Christopher Fujino 0211df9cfc
[flutter_tools] provide --timeout option to flutter drive (#114458) 2022-11-02 18:43:42 +00:00
Darren Austin 6a66aa282f
Add Material 3 support for BottomAppBar (reland #106525) (#114439)
* Revert "Revert "Add Material 3 support for BottomAppBar" (#114421)"

This reverts commit 210a2aa371.

* Regenerated the defaults from tokens and fixed tests.

* Fixed the tests.

* Updated the shape token template to optimize the a common case.
2022-11-02 10:54:19 +00:00
Taha Tesser 97d0247d59
Add Material 3 support for Slider - Part 1 (#114079) 2022-11-01 19:31:00 -07:00
fzyzcjy 61deaef5df
Fix bug thattimeDilation is not reset, causing subsequent test errors, and add verifications to ensure such problem does not exist in the future (#113830) 2022-11-01 22:50:00 +00:00