33182 Commits

Author SHA1 Message Date
Kate Lovett
3570cce58e
Remove deprecated kind in GestureRecognizer et al (#119572)
* Remove deprecated kind in GestureRecognizer et al

* Fix null case
2023-02-03 01:34:17 +00:00
Kevin Moore
a27802e2db
flutter_tool: remove explicit length header in HTTP response (#119869)
This is already handled by pkg:shelf
There is some subtlety with String here, since String.length might not
align with the size in bytes over the wire, depending on the contents
and the encoding

Best to just let pkg:shelf handle it
2023-02-03 01:27:23 +00:00
Greg Spencer
c6264605d9
Make _focusDebug not interpolate in debug mode (#119680)
* Make _focusDebug not interpolate in debug mode

* Add test

* Revert undesired change

* Fix test to fail before too

* Remove accidental skips

* Switch to using a generating closure for arguments.

* Remove a word
2023-02-03 01:27:20 +00:00
engine-flutter-autoroll
66b2ca6383
Roll Flutter Engine from 616ecd8be3de to 2871970337df (3 revisions) (#119870)
* a77e7bcb9 [web] Update the within() matcher to be more useful (flutter/engine#39288)

* dbf401f97 [Impeller] Don't ceil subpass texture sizes (flutter/engine#39336)

* 287197033 Bump ninja version to 1.11.1 (flutter/engine#39347)
2023-02-03 00:55:07 +00:00
Jessica Pereira
9b86a4853e
Fix gets removedItem instead of its index (#119638)
* fix: gets removedItem instead of its index
add: sliver_animated_list.0_test.dart

* fix: sliver_animated_list.0_test.dart

* fix: pr comments

* fix test import

Co-authored-by: Taha Tesser <tessertaha@gmail.com>

---------

Co-authored-by: Taha Tesser <tessertaha@gmail.com>
2023-02-03 00:15:58 +00:00
Jenn Magder
d875899a65
Bump test Chrome version for Mac arm support (#119773) 2023-02-03 00:14:42 +00:00
Flutter GitHub Bot
cfdc35859e
roll packages (#119865) 2023-02-02 23:59:49 +00:00
engine-flutter-autoroll
72f9cf5487
Roll Flutter Engine from ae38c9585a61 to 616ecd8be3de (3 revisions) (#119859)
* 510ecfa93 Don't rely on timings for dimension_provider unit test. (flutter/engine#39343)

* b1ccae745 Roll Skia from 60242c4ea6a7 to c2d81db3ef41 (5 revisions) (flutter/engine#39344)

* 616ecd8be [Web][HTML] Add mirrored characters support for RTL languages (flutter/engine#39162)
2023-02-02 23:08:27 +00:00
Christopher Fujino
d820aec786
Manual pub roll with dwds fix (#119575)
* roll packages

* fix dwds

* empty

---------

Co-authored-by: fluttergithubbot <fluttergithubbot@gmail.com>
2023-02-02 21:38:08 +00:00
Danny Tuppeny
8387c2388b
[flutter_tools] Use base DAP detach and ensure correct output (#119076) 2023-02-02 13:28:12 -08:00
Ricardo Amador
22bbdf03e0
Android defines target update (#119766)
* Round 2 with dimensions

* Try with stringified keys

* Forgot a comma

* trying a list of maps.

* Try key value pairs

* Try with kvm only

* try with swarming_dimensions

* Updated with fix in swarming.star

* Attempting to remove the bring up property to verify test is running.

* Remove android from target tags to avoid adb command automatically running in test_utils call.

* Remove the duplicated dependencies in the defines target that exist in the platform
2023-02-02 20:56:05 +00:00
Jesús S Guerrero
d63987f71d
Parser machine logs (#118707)
* remove file reporter optional

* decouple stack trace from metric collections

* update tests; add collect metrics option

* add failed tests property

* add test for multiple stack failed

* change path on result

* create factory method

* throw exception when test file failed to generate

* remove catch of file exception

* handle when no stacktrace on file reporter
2023-02-02 20:04:06 +00:00
Mouad Debbar
d4b6898478
[web] Put all index.html operations in one place (#118188)
* [web] Put all index.html operations in one place

* review comments

* fix build

* change quotes

* fix test
2023-02-02 19:49:18 +00:00
Michael Goderbauer
b0f1714b7b
Make Flex,Row,Column const for real (#119673)
* Make Flex,Row,Column const for real

* dart fix --apply

* fix snippets

* fix integration test

* add comment
2023-02-02 19:33:57 +00:00
engine-flutter-autoroll
3f986e4238
Roll Flutter Engine from 27f55219df79 to ae38c9585a61 (2 revisions) (#119840)
* 10768c4fa Roll Skia from 532c04c00ad7 to 60242c4ea6a7 (5 revisions) (flutter/engine#39340)

* ae38c9585 Roll Dart SDK from 11d97405a447 to 73b03bb636d3 (1 revision) (flutter/engine#39341)
2023-02-02 19:05:58 +00:00
Flutter GitHub Bot
e7d934a014
Marks Linux_android android_choreographer_do_frame_test to be flaky (#119721) 2023-02-02 18:12:56 +00:00
engine-flutter-autoroll
1c0065c8d6
27f55219d Roll Fuchsia Linux SDK from QxkjqmRgowkk_n2NZ... to pWloCaRzjLEAUvQEz... (flutter/engine#39339) (#119838) 2023-02-02 18:09:49 +00:00
engine-flutter-autoroll
201380ab26
e9e601c7c [web] Hide autofill overlay (flutter/engine#39294) (#119833) 2023-02-02 17:30:58 +00:00
Pierre-Louis
07b51a0dbb
Add missing variants and *new* indicators to useMaterial3 docs (#119799)
* Add missing variants and *new* indicators to useMaterial3 docs

* add missing *new*
2023-02-02 18:27:33 +01:00
Eilidh Southren
1ee87990dc
Revert "[Re-land] Exposed tooltip longPress (#118796)" (#119832)
This reverts commit d27880801435109432dcada4a2245193af4ae1f2.
2023-02-02 17:11:19 +00:00
engine-flutter-autoroll
9eafbcc8be
Roll Flutter Engine from 679c4b42e222 to 388890a98e5b (6 revisions) (#119830)
* e64f3264c Add missing file to artifacts.zip and win platform. (flutter/engine#39310)

* a19cf360a Roll Skia from 934ef0660509 to c3c5c6f61421 (1 revision) (flutter/engine#39332)

* 76dc4f989 Roll Skia from c3c5c6f61421 to 532c04c00ad7 (1 revision) (flutter/engine#39333)

* 8a74e633e Roll Dart SDK from 99014717b633 to 11d97405a447 (3 revisions) (flutter/engine#39337)

* 67662080e Roll Fuchsia Mac SDK from j5rQsxkO2VJrX55Yj... to rqjJA8z_K0gdGcsvA... (flutter/engine#39338)

* 388890a98 [Windows] Use 'ninja' instead of 'ninja.exe' (flutter/engine#39326)
2023-02-02 16:48:15 +00:00
engine-flutter-autoroll
9abb6d7076
Roll Plugins from 9da327ca39c4 to 9302d87ee545 (11 revisions) (#119825)
* 8f83dc29b [various] Standardize the extension for Pigeon-generated Dart (flutter/plugins#7029)

* 8fcff8756 Roll Flutter from 75680ae99e85 to 0a22a1dbf475 (3 revisions) (flutter/plugins#7051)

* 3d81a0071 [tool] More main-branch detection improvement (flutter/plugins#7067)

* e41f9f95e [ci] Clean up analysis options (flutter/plugins#7068)

* 4cf6f4494 [in_app_puchase_storekit] handle `appStoreReceiptURL` is nil (flutter/plugins#7069)

* d5bab1668 prepare for TestDefaultBinaryMessengerBinding.instance becoming non-nullable (flutter/plugins#6847)

* 36d8066cf Roll Flutter from 0a22a1dbf475 to d27880801435 (58 revisions) (flutter/plugins#7078)

* ec463866f [various] prepare for more const widgets (flutter/plugins#7074)

* dbf8d8d07 Change google_sign_in_ios and image_picker_ios owners (flutter/plugins#7070)

* 1d4570bb0 Update README.md (flutter/plugins#7076)

* 9302d87ee [ci] More cirrus.yml pre-alignment with flutter/packages (flutter/plugins#7079)
2023-02-02 15:43:45 +00:00
Sigurd Meldgaard
ca0596e41d
Fix pub get --unknown-flag (#119622) 2023-02-02 16:22:39 +01:00
Andrew Kolos
fd76ef0f26
Reland "Add API for discovering assets" (#119277)
* add asset manifest bin loading and asset manifest api

* use new api for image resolution

* remove upfront smc data casting

* fix typecasting issue

* remove unused import

* fix tests

* lints

* lints

* fix import

* revert image resolution changes

* Update image_resolution_test.dart

* Update decode_and_parse_asset_manifest.dart

* make targetDevicePixelRatio optional

* Update packages/flutter/lib/src/services/asset_manifest.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update packages/flutter/lib/src/services/asset_manifest.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* fix immutable not being imported

* return List in AssetManifest methods, fix annotation import

* simplify onError callback

* make AssetManifest methods abstract instead of throwing UnimplementedError

* simplify AssetVariant.key docstring

* tweak _AssetManifestBin docstring

* make AssetManifest and AssetVariant doc strings more specific

* use List.of instead of List.from for type-safety

* adjust import

* change _AssetManifestBin comment from doc comment to normal comment

* revert to callback function for onError in loadStructuredBinaryData

* add more to the docstring of AssetManifest.listAssets and AssetVariant.key

* add tests for CachingAssetBundle caching behavior

* add simple test to ensure loadStructuredBinaryData correctly calls load

* Update asset_manifest.dart

* update docstring for AssetManifest.getAssetVariants

* rename getAssetVariants, have it include main asset

* rename isMainAsset field of AssetMetadata to main

* (slightly) shorten name of describeAssetAndVariants

* rename describeAssetVariants back to getAssetVariants

* add tests for TestAssetBundle

* nits

* fix typo in docstring

* remove no longer necessary non-null asserts

* update gallery and google_fonts versions

---------

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2023-02-02 15:17:15 +00:00
engine-flutter-autoroll
f9daa9aac4
Roll Flutter Engine from 18118e10a0a5 to 679c4b42e222 (4 revisions) (#119783)
* edba2d078 Roll Skia from a2e706ab283d to 934ef0660509 (7 revisions) (flutter/engine#39327)

* 387a894f6 Roll Fuchsia Mac SDK from 31KOCvc_d1yPT_yes... to j5rQsxkO2VJrX55Yj... (flutter/engine#39328)

* b8b49e161 Roll buildroot to #75f75b73. (flutter/engine#39329)

* 679c4b42e Roll Dart SDK from 1c219a91e637 to 99014717b633 (1 revision) (flutter/engine#39330)
2023-02-02 03:59:24 +00:00
Jenn Magder
34730c79ca
Revert "Run Mac hostonly tests on any available arch (#119762)" (#119784)
This reverts commit 475fc4ac9d8335eb068838f9d52e7d75246dc62d.
2023-02-02 03:42:17 +00:00
Jesús S Guerrero
f767f860eb
check if directory exists before listing content (#119748) 2023-02-02 03:02:11 +00:00
engine-flutter-autoroll
322d10e1b5
18118e10a Add iOS spring animation objc files (flutter/engine#38801) (#119768) 2023-02-02 02:46:36 +00:00
Jenn Magder
475fc4ac9d
Run Mac hostonly tests on any available arch (#119762)
* Run Mac hostonly presubmit tests on any available arch

* Force all Mac tests to run on arm64 to validate in presubmit

* Go back to web tests on x64

* Run plugin_test_ios on x64

* Try Chrome 110 on arm

* Revert chrome bump, remove forcing arm64

* Update issue number
2023-02-02 02:34:08 +00:00
engine-flutter-autoroll
ca7b7e3b0c
Roll Flutter Engine from 29d09845f21e to 97d27ff59459 (2 revisions) (#119765)
* 4b77e7793 [Impeller] improve blur performance for Android and iPad Pro. (flutter/engine#39291)

* 97d27ff59 [Impeller] let images with opacity and filters passthrough. (flutter/engine#39237)
2023-02-02 01:15:15 +00:00
engine-flutter-autoroll
0b8486dda0
29d09845f Roll Dart SDK from b47964e5d575 to 1c219a91e637 (1 revision) (flutter/engine#39324) (#119763) 2023-02-02 00:31:04 +00:00
Greg Spencer
2ecf4ae962
Update the counter app to enable Material 3 (#118835)
* Update the counter app to enable Material 3

* Fix tools tests

* Update some wording

* Revert all but useMaterial3

* Update comments
2023-02-02 00:08:11 +00:00
Ian Hickson
4c99da6c56
Avoid printing blank lines between "Another exception was thrown:" messages. (#119587) 2023-02-01 23:57:54 +00:00
engine-flutter-autoroll
8f5949eda4
Roll Flutter Engine from 2b8dd4e5c699 to a12d102773dd (2 revisions) (#119758)
* 39b86cf03 Roll Fuchsia Linux SDK from TFcelQ5SwrzkcYK2d... to QxkjqmRgowkk_n2NZ... (flutter/engine#39322)

* a12d10277 Roll Skia from 86f7b2dd2b4f to a2e706ab283d (7 revisions) (flutter/engine#39323)
2023-02-01 23:47:16 +00:00
Alex Li
4ae2d3b6df
🔥 Do not format the messages file for gen-l10n (#119596)
* 🔥 Do not format the messages file

*  Add test

*  Add the link to the test

*  Respect the path separator from the file system

*  Add the untranslated messages file existence test
2023-02-01 23:45:38 +00:00
Jason Simmons
cd118dada9
Update a test expectation that depended on an SkParagraph fix (#119756)
This assertion had been disabled because a bug fix was pending in
SkParagraph.  This PR updates it to match the new behavior.

See https://github.com/flutter/flutter/pull/119653
2023-02-01 22:55:02 +00:00
Michael Goderbauer
7a926dcb03
Deprecate MediaQuery[Data].fromWindow (#119647)
* Deprecate MediaQuery[Data].fromWindow

* ++

* dart fix
2023-02-01 22:44:00 +00:00
Michael Goderbauer
8fd5d4ebb1
Remove deprecated SystemNavigator.routeUpdated method (#119187)
* Remove deprected SystemNavigator.routeUpdated

* test fix
2023-02-01 22:36:11 +00:00
Ian Hickson
578edfc856
Catch errors thrown while handling pointer events (#119577) 2023-02-01 22:25:57 +00:00
engine-flutter-autoroll
bc8927c7d7
2b8dd4e5c Use Windows high contrast black/white theme with MaterialApp themes (flutter/engine#39206) (#119747) 2023-02-01 22:09:10 +00:00
Taha Tesser
73124dcd38
Fix ListTileThemeData.copyWith doesn't override correct properties (#119738) 2023-02-01 22:07:02 +00:00
Kevin Chisholm
484d881f27
[conductor] update console link (#118338)
* update console link

* update test to include new console link
2023-02-01 14:05:45 -06:00
engine-flutter-autoroll
1305a509d4
Roll Flutter Engine from c08a286d60e9 to ba3adb74d952 (5 revisions) (#119741)
* 30ba71efa Roll Skia from 8f33da33edcf to 4b5799677173 (1 revision) (flutter/engine#39318)

* 0de70dbe5 Use the x64 toolchain when building host artifacts on arm64 mac (flutter/engine#39279)

* 4fc0a0297 Update README.md (flutter/engine#39319)

* bae377499 Roll Skia from 4b5799677173 to 86f7b2dd2b4f (8 revisions) (flutter/engine#39320)

* ba3adb74d Roll Dart SDK from 88d1f3ffa266 to b47964e5d575 (1 revision) (flutter/engine#39321)
2023-02-01 19:46:25 +00:00
Phil Quitslund
5613ab010d
remove unnecessary parens (#119736) 2023-02-01 19:19:13 +00:00
Flutter GitHub Bot
1573c12963
Marks Mac_android microbenchmarks to be unflaky (#119727) 2023-02-01 18:53:20 +00:00
Zachary Anderson
254a796bc3
Revert "Reland "Add --serve-observatory flag to run, attach, and test (#118402)" (#119529)" (#119729)
This reverts commit 7477d7ac79debc06e92a72cec3f59178c74bc44d.
2023-02-01 09:19:48 -08:00
Eilidh Southren
d278808014
[Re-land] Exposed tooltip longPress (#118796)
* Check whether slider is mounted before interaction, no-op if unmounted (#113556)

* Check whether slider is unmounted before interaction

* Update slider.dart

* Update Slider

* Add test

* Update slider_test.dart

* Update packages/flutter/test/material/slider_test.dart

Co-authored-by: Taha Tesser <tessertaha@gmail.com>

Co-authored-by: Taha Tesser <tessertaha@gmail.com>

* exposed tooltip longPress action when available

* updated tooltip test

* updated date picker test

---------

Co-authored-by: Mingyu <lyming90@gmail.com>
Co-authored-by: Taha Tesser <tessertaha@gmail.com>
Co-authored-by: Harper Liu <harperl0818@gmail.com>
2023-02-01 15:53:41 +00:00
engine-flutter-autoroll
3af30ff591
Roll Flutter Engine from 0d87b156265c to c08a286d60e9 (3 revisions) (#119706)
* 4ea9d6cdf Roll Skia from da41cf18f651 to 8f33da33edcf (1 revision) (flutter/engine#39315)

* 0bc7bce97 Roll Dart SDK from de03e1f41b50 to 88d1f3ffa266 (1 revision) (flutter/engine#39316)

* c08a286d6 Roll Fuchsia Mac SDK from Clk4li1185E2JoIkU... to 31KOCvc_d1yPT_yes... (flutter/engine#39317)
2023-02-01 15:08:21 +00:00
engine-flutter-autoroll
b4a6e349a2
0d87b1562 Roll Dart SDK from 8b57d23a7246 to de03e1f41b50 (1 revision) (flutter/engine#39313) (#119695) 2023-02-01 11:50:26 +00:00
engine-flutter-autoroll
4167835035
5b549950f Roll Fuchsia Linux SDK from 71lEeibIyrq0V8jId... to TFcelQ5SwrzkcYK2d... (flutter/engine#39312) (#119688) 2023-02-01 08:01:24 +00:00