Commit Graph

19947 Commits

Author SHA1 Message Date
Tae Hyung Kim
21f3ce8b69 [gen_l10n] Multiline descriptions (#116380)
* init

* empty commit to start google testing
2022-12-06 19:16:23 +00:00
Jason C.H
a8b36c7da4 Fix windows version validator under Chinese (#116282)
* Fix windows version validator under Chinese

* Update authors

* Update RegExp to reduce groups

* Add a trailing newline
2022-12-06 17:41:09 +00:00
Pierre-Louis
1e696d304c Support theming CupertinoSwitchs (#116510)
* Introduce flag to maximally apply CupertinoTheme

* add missing docs

* add tests

* fix docs

* fix test
2022-12-06 15:32:58 +01:00
Jackson Gardner
5201856805 Use file:/// style uris when passing platform to the compiler. (#116553)
* Use file:/// style uris when passing platform to the compiler.

* License header.

* Use BufferLogger.

* Don't unadvertently convert strings to regexes for matching purposes.

* Fix formatting.

* More formatting.
2022-12-06 02:27:21 +00:00
Jason Simmons
55bcb784a7 Do not parse stack traces in _findResponsibleMethod on Web platforms that use a different format (#115500)
See https://github.com/flutter/flutter/issues/107099
2022-12-05 21:33:46 +00:00
Loïc Sharma
05c6df6d1f Improve Flex layout comment (#116004) 2022-12-05 20:50:06 +00:00
Jonah Williams
27281dab81 [flutter_tools] dont include material shaders in web builds (#116538)
* [flutter_tools] dont include material shaders in web builds

* add test
2022-12-05 20:42:15 +00: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
Todd Volkert
934e690082 Add widget of the week videos (#116451)
(and remove one video that was listed twice with the same widget)
2022-12-03 04:31:15 +00:00
Jackson Gardner
db1c3e208d Platform binaries reland (#115502)
You can now specify a --local-web-sdk flag to point to a wasm_release folder. This will make it so that only artifacts that pertain to the web sdk are overridden to point to the wasm_release folder. Other artifacts (such as impellerc) will pull from the cache, or from the --local-engine path if that is specified.

This also uses precompiled platform kernel files for both ddc and dart2js
2022-12-02 14:13:40 -08: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
Eilidh Southren
22cbef3050 [CP] Fix Snackbar TalkBack regression (#116417)
* 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

* Fix Snackbar talkback regression

* fix merge weirdness

* test fix

* fix linux analysis error

* fix linux analysis error

* fix linux analysis error

* fix linux analysis error

* fix linux analysis error

* fix linux analysis error
2022-12-02 20:17:20 +00:00
Jonah Williams
e065c7fea2 [framework] make ImageFiltered a repaint boundary (#116385)
* ++

* ++

* ++
2022-12-02 19:48:00 +00: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
Greg Spencer
0234b18f88 Tweak directional focus traversal (#116230)
* Use distance instead of coord

* Sort by distance prefer axis

* Switch initial sort back to sort by coordinate.

* revert test change

* Fix tests

* Simplify test case

* Add a test for irregular grids

* Review Changes
2022-12-01 23:41:09 +00:00
Ahmed Ashour
f6224f368a [gen_l10n] keys can contain dollar sign (#114808)
* [gen_l10n] keys can contain dollar sign

Fixes #112250

* Update packages/flutter_tools/lib/src/localizations/gen_l10n.dart

Co-authored-by: Christopher Fujino <fujino@google.com>
2022-12-01 21:42:02 +00:00
Jonah Williams
75f61903e0 [flutter_tools] disable web compilation (#116368) 2022-12-01 21:40:50 +00:00
Mitchell Goodwin
0bb71df75f Add clarification to CupertinoUserInterfaceLevel docs (#116371) 2022-12-01 19:43:25 +00:00
Nehal Patel
3b15d6a501 Removes retries from "dart pub get" and un-buffers its stdout/stderr output (#115801)
* Removes retries from "pub get" and proxies its stdout output

* Fix issue where ErrorHandlingProcessManager does not forward "mode" parameter to backing ProcessManager's "start" method

* Make "pub get" use ProcessStartMode.inheritStdio instead of forwarding bytes to stdout and stderr

* Fix tests

* Remove unused env var

* Add back 'Running "flutter pub get"...' status log

* Fix indent

* Add Pub.test() constructor which lets tests mock stdio
2022-12-01 19:30:17 +00:00
Jenn Magder
49f5980970 Suggest Rosetta when x64 binary cannot be run (#114558)
* Suggest Rosetta when x64 binary cannot be run

* validator

* Adjust error message
2022-12-01 19:17:07 +00:00
Gary Qian
6e8ebb3771 Reland "Upgrade targetSdkVersion and compileSdkVersion to 33" (#116146) 2022-12-01 07:12:47 -08:00
Justin McCandless
014b441ddf Revert "iOS 16 context menu (#115805)" (#116312)
This reverts commit 1cb16a1e39.
2022-12-01 02:24:18 +00:00
Qun Cheng
6bb412e35e Added controller and onSelected properties to DropdownMenu (#116259) 2022-11-30 16:58:21 -08:00
Taha Tesser
aaa4a52839 Add Material 3 Slider example (#115638)
* Add Material 3 `Slider` example

* Update doc

* Update test titles
2022-12-01 00:00:19 +00:00
Mitchell Goodwin
97195d1d51 Update CupertinoContextMenu to iOS 16 visuals (#110616)
* Update CupertinoContextMenu to iOS 16 visuals

* Revert some formatting

* Remove space

* Remove formatting changes, add more comments

* Added shadow effect

* Update context menu tests

* Remove white spaces

* Remove unused variable

* Refactor type checking logic

* Set default previewBuilder and update tests

* Check for border radius

* Remove trailing spaces

* Add builder to constructor

* Update previewBuilder

Rebase to master

* Update builder and tests

* Remove trailing spaces

* Update examples

* Refactor builder

* Update builder to use one animation

* Update scale

* Change deprecation message, remove white spaces

* Change deprecation message

* Change deprecation message

* Change deprecation message

* Update documentation

* Update documentation

* Update documentation and examples

* Update documentation and examples

* Remove white spaces

* Remove white spaces

* Remove const

* Address linting errors

* Seperate builder into own constructor

* Remove trailing characters

* Formatting changes

* Remove white spaces

* Change ignore comment

* Add TODO

* Remove whitespace
2022-11-30 16:28:04 -07:00
Tae Hyung Kim
7802c7acd8 [gen_l10n] Improvements to gen_l10n (#116202)
* init

* fix tests

* fix lint

* extra changes

* oops missed some merge conflicts

* fix lexer add tests

* consistent warnings and errors

* throw error at the end

* improve efficiency, improve code generation

* fix

* nit

* fix test

* remove helper method class

* two d's

* oops

* empty commit as google testing won't pass :(
2022-11-30 15:07:06 -08:00
Christopher Fujino
2ef2cc89e9 [flutter_tools] add deprecation message for "flutter format" (#116145) 2022-11-30 14:00:01 -08:00
Danny Tuppeny
a29796e339 [flutter_tools] Forward app.webLaunchUrl event from Flutter to DAP clients (#116275)
* [flutter_tools] Forward app.webLaunchUrl event from Flutter to DAP clients

Fixes https://github.com/Dart-Code/Dart-Code/issues/4292.

* Update packages/flutter_tools/lib/src/debug_adapters/flutter_adapter.dart

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

* Another static const instead of final

Co-authored-by: Christopher Fujino <fujino@google.com>
2022-11-30 21:25:07 +00:00
Casey Hillers
d2af134578 Revert "Fix Slider semantic node size (#115285)" (#116294)
This reverts commit 8473da22cd.
2022-11-30 11:21:39 -08: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
Christopher Fujino
24b3c384c2 add debug trace when compiling dart2js (#116238) 2022-11-30 19:04:59 +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
Michael Goderbauer
06979d4e2e shrinkWrap nuke (#116236) 2022-11-30 03:07:15 +00:00
Darren Austin
b30eb6c54d Updated useMaterial3 documentation to include missing M3 components. (#116234)
* Updated `useMaterial3` documentation to include missing M3 components.

* Fixed typo
2022-11-30 03:07:12 +00:00
Taha Tesser
8473da22cd Fix Slider semantic node size (#115285) 2022-11-30 02:27:45 +00:00
Taha Tesser
333397a0ed Fix Material 3 BottomSheet example (#116112)
fix title
2022-11-30 02:08:21 +00:00
Darren Austin
322dd06d6e Updated the M3 textTheme to use onSurface color for all styles. (#116125) 2022-11-29 18:03:33 -08:00
hangyu
afda8153fd Adjust Material 3 textfield padding to align with specs (#116225)
* Adjust textfield padding

* lint

* lint
2022-11-29 17:07:32 -08:00
chunhtai
6b98f2ca44 labeledTapTargetGuideline should passe if textfield does not have label (#116221) 2022-11-30 00:10:07 +00:00
Christopher Fujino
9532b91c74 [flutter_tools] normalize windows file path cases in flutter validator (#115889)
* normalize windows file path cases in flutter validator

* fix

* make comparison more accurate by checking .startsWith() rather than .contains()

* fix method name

* call path.canonicalize

* fix
2022-11-29 23:46:48 +00:00
Mohammed CHAHBOUN
a9c2f8b9e9 Add onFocusChange property for ListTile widget (#111498) 2022-11-29 15:46:40 -08: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
Qun Cheng
8b86d238b4 Create DropdownMenu Widget to Support Material 3 (#116088)
* Created ComboBox

* Fixed failing tests

* Reverted the menu style tests change

* Addressed comments

* Updated documentation and rename foregroundColor variable

* Remamed ComboBox to DropdownMenu

* Removed a unused import

* Removed unused import

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-11-29 22:36:35 +00:00
Justin McCandless
1cb16a1e39 iOS 16 context menu (#115805)
Updates the text selection toolbar on iOS light mode to match changes in native iOS 16.
2022-11-29 14:00:04 -08:00
Dan Field
3219da9b5f Use Isolate.run as implementation for compute (#115779) 2022-11-29 19:38:03 +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