Commit graph

15723 commits

Author SHA1 Message Date
Shi-Hao Hong 16913b07e8
Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346)
*  Added a new template for [NumberFo
rmat] with positional parameter(s)

* 🔨 Renamed [numberFormatTemplate] to [numberFormatNamedTemplate]

* [gen-l10n] Fixed generation error for namedParameters and optionalParameters

* [gen-l10n] Fixed string value generation for optional parameter

* [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters.

* 🔨 Removed trailing whitespaces

* 🔨 replaced [_generateStringParameterValue] with [generateString]

* 🔨 Specified variable types in NumberFormat templates.

*  Added a new template for [NumberFo
rmat] with positional parameter(s)

* 🔨 Renamed [numberFormatTemplate] to [numberFormatNamedTemplate]

* [gen-l10n] Fixed generation error for namedParameters and optionalParameters

* [gen-l10n] Fixed string value generation for optional parameter

* [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters.

* 🔨 Removed trailing whitespaces

* 🔨 replaced [_generateStringParameterValue] with [generateString]

* 🔨 Specified variable types in NumberFormat templates.

* [gen-l10n]  added test for parameter having special characters in string value.

* Accidental tab added to integration test

Co-authored-by: arish <arishsultan104@gmail.com>
2021-02-04 03:31:22 +08:00
Hans Muller fef72c187d
Added BorderRadius.copyWith (#75340) 2021-02-03 11:02:00 -08:00
Jenn Magder 3f163d29a4
Return an empty FlutterViews list when the service disappears (#75301) 2021-02-03 11:01:03 -08:00
Jonah Williams dcd061c70b
[flutter_tools] experiment with skipping process resolution (#74447) 2021-02-03 10:56:22 -08:00
burekas7 fad18d6c1e
[UserAccountsDrawerHeader] New option for changing profiles images size (#73105) 2021-02-03 10:56:05 -08:00
Jonah Williams deb5e40f53
[flutter_tools] handle null package (#75336) 2021-02-03 10:53:30 -08:00
Jonah Williams 3b884aa613
Catch VM Service disappearance from run/attach handler code (#75298) 2021-02-03 10:53:15 -08:00
Ian Hickson a1141d9f0f
Revert "Add test for driver test organisation (#75271)" (#75317)
This reverts commit 26e976d767.
2021-02-03 08:53:17 -08:00
Michael Goderbauer 26e976d767
Add test for driver test organisation (#75271) 2021-02-02 19:41:02 -08:00
Jia Hao efd487922d
[flutter_tools] Merge some test options into DebuggingOptions (#75213) 2021-02-02 19:31:03 -08:00
Ian Hickson b046ea6295
Remove unactionable message that was appearing during test execution. (#75194) 2021-02-02 19:26:03 -08:00
Shi-Hao Hong c12b53e073
Revert "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified (#75209)" (#75306)
This reverts commit 917577b808.
2021-02-03 10:32:01 +08:00
Shi-Hao Hong 917577b808
[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified (#75209) 2021-02-02 17:06:05 -08:00
Jonah Williams 7a066564f7
[flutter_tools] add build system test for concurrent failures (#75251) 2021-02-02 16:00:17 -08:00
Michael Goderbauer cf7a6319e0
Reland "Make flutter_driver be usable from a null-safe app (#75175)" (#75269) 2021-02-02 14:56:05 -08:00
Alabhya c83104682f
[Api docs] Added Vertical Divider dartpad demo (#75230) 2021-02-02 14:51:03 -08:00
Jonah Williams 2dfc86ea0b
[flutter_tools] remove mockito from flutter symbolize test (#75263) 2021-02-02 12:27:41 -08:00
Jonah Williams bad5df55cb
[flutter_tools] remove MockFeatureFlags (#75259) 2021-02-02 12:10:30 -08:00
Michael Goderbauer ada04e6cfa
Revert "Make flutter_driver be usable from a null-safe app (#75175)" (#75266)
This reverts commit 9fd5242e65.
2021-02-03 03:32:29 +08:00
Michael Goderbauer 9fd5242e65
Make flutter_driver be usable from a null-safe app (#75175) 2021-02-02 10:34:11 -08:00
Yegor 5b6444f317
[web] benchmark and optimize defaultTargetPlatform (#75037) 2021-02-02 09:34:01 -08:00
Vyacheslav Egorov 4ba26191ea
Add support for producing unstripped AOT snapshots. (#75243) 2021-02-02 09:16:04 -08:00
Jonah Williams 44d5950d27
[flutter_tools] switch dart defines to base64 to avoid windows control characters (#75027)
= gets escaped into %3D which seems to be tripping up cmake on windows since % is a control character. Switch to base64 encoding, since this does not have % nor , in the output character set.

This change is not trivially cherry pickable, and isn't tested on windows aside from my local, manual tests due to the planned CI work not being complete yet.

Fixes #75017
Fixes #74705
2021-02-02 09:10:48 -08:00
Jonah Williams aebf548436
[flutter_tools] skip web renderer defines unless web target is picked (#75160) 2021-02-02 09:05:44 -08:00
David Chen 98067a6552
Allow long press delay duration for LongPressDraggable to be adjustable (#74592) 2021-02-02 01:26:02 -08:00
Sam Rawlins 11609d1114
Remove "unnecessary" imports. (#75198)
In each library where an import is removed, the library uses some elements
provided by the import, BUT there is another import which provides all of the
same elements, and at least one more which the library uses.

In this change, we remove the imports which can be simply removed in favor of
the other already present imports.

See https://github.com/dart-lang/sdk/issues/44569 for more information.
2021-02-02 16:22:14 +08:00
YeungKC 0a4618943c
Improve Dropdown Menu (#74906) 2021-02-01 22:56:03 -08:00
Jenn Magder 73506f36f7
Replace MockConfig with TestConfig (#75044) 2021-02-01 18:16:05 -08:00
Hans Muller 51dd5bf1f7
Added ButtonStyle.splashFactory and NoSplash.splashFactory (#74949) 2021-02-01 18:11:04 -08:00
Jan Lübeck 9c434c8260
Adds First/Last buttons to PaginatedDataTable (#73964) 2021-02-01 18:06:06 -08:00
Ian Hickson 8acac060bf
Remove the timeout when launching DevTools (#74859) 2021-02-01 16:06:02 -08:00
Jenn Magder 43d604e131
Replace context FakeUsage with TestUsage (#75170) 2021-02-01 15:02:25 -08:00
xubaolin 12016e4145
Reland "Update PopupMenuButton to match Material Design spec" (#74620) 2021-02-01 14:46:03 -08:00
LongCatIsLooong 76be55813b
Move caret/highlight painting to custom painters (#72828) 2021-02-01 14:41:04 -08:00
Robert Ancell 09adc359b8
Make Linux apps non-unique by default. (#74959)
This stops them attempting to own a D-Bus name, which may not be possible if the
app is sandboxed (e.g. in a Snap). It's also probably what most developers would
expect is the correct behaviour by default.
2021-02-02 11:34:40 +13:00
Ian Hickson ac3b9e7f89
Unpin mysteriously pinned packages (#74885) 2021-02-01 14:31:03 -08:00
Shi-Hao Hong d128df5530
Remove scrollability by default (#75138) 2021-02-01 13:36:06 -08:00
creativecreatorormaybenot 80372f1b71
Fix formatting in rendering/box (#75102) 2021-02-01 13:31:04 -08:00
chunhtai 13fe079bb3
fixes preceision error during SliverGridRegularTileLayout (#74851) 2021-02-01 12:46:05 -08:00
Dan Field d3092541e2
Reland integration_test NNBD (#75074)
* Revert "Revert "NNBD integration_test (#74922)" (#75030)"

This reverts commit 87b043658b.

* fix bad merge issues
2021-02-01 10:19:14 -08:00
Anas35 091a74dab6
removed new keyword (#75049) 2021-02-01 09:59:53 -08:00
Michael Goderbauer 0e815a1b87
Bump flutter_gallery_assets (#75026) 2021-02-01 04:51:04 -08:00
Ian Hickson 87b043658b
Revert "NNBD integration_test (#74922)" (#75030)
This reverts commit cca9592f0e.
2021-01-29 15:46:21 -08:00
Sam Rawlins d0d9b80520
Remove "unnecessary" imports in foundation,gestures tests (#75007) 2021-01-29 14:46:06 -08:00
Sam Rawlins 02c348b8bf
Remove "unnecessary" imports in cupertino tests (#75006) 2021-01-29 14:41:04 -08:00
Sam Rawlins 02891b7673
Remove "unnecessary" imports in material (#75005) 2021-01-29 14:36:08 -08:00
Jenn Magder dc30327a4d
Replace MockProcessManager with FakeProcessManager in cocoapods_test (#74956) 2021-01-29 14:32:33 -08:00
Dan Field cca9592f0e
NNBD integration_test (#74922) 2021-01-29 14:31:06 -08:00
Jonah Williams 18b1e23e89
[flutter_tools] move some fakes out of mocks.dart (#74992) 2021-01-29 14:28:18 -08:00
Jonah Williams e53c48968f
[flutter_tools] remove mock SystemClock (#74994) 2021-01-29 14:28:08 -08:00