Commit Graph

20541 Commits

Author SHA1 Message Date
Greg Spencer
a05f21ff0b Refine the directional traversal algorithm for out of band widgets (#122556)
Refine the directional traversal algorithm for out of band widgets
2023-03-14 00:25:15 +00:00
LongCatIsLooong
1306d7f158 Fix Caret Height On Empty Lines (#120834)
* improve caret caching, fix caret for empty text/line, `getLocalRectForCaret` now reports the real rect that will be painted.
move caret x-coordinate clamping to RenderEditable since TextPainter doesn't know about clipping.

* comments

* review
2023-03-13 15:37:42 -07:00
pdblasi-google
7dd53fefe9 Reland (3): Removes single window assumptions from flutter_test (#122422)
Reland (3): Removes single window assumptions from `flutter_test`
2023-03-13 21:50:24 +00:00
Bartek Pacia
37fc9ed260 [flutter_tools] Clean up boolArgDeprecated and stringArgDeprecated (#122184)
[flutter_tools] Clean up `boolArgDeprecated` and `stringArgDeprecated`
2023-03-13 21:20:19 +00:00
Bruno Leroux
376d8baabc Remove key simulation obsolete comments (#122389)
Remove key simulation obsolete comments
2023-03-13 20:20:19 +00:00
Michael Goderbauer
12ef7535a8 Reland "Introduce the PipelineOwner tree (#122231)" (#122452)
Reland "Introduce the PipelineOwner tree (#122231)"
2023-03-13 17:58:56 +00:00
Kate Lovett
53a1823f0e Relocate some tests from scrollable_test.dart (#122426)
Relocate some tests from scrollable_test.dart
2023-03-13 17:45:51 +00:00
Pierre-Louis
598ebfbd66 Update Material tokens to 0.162 (#122388)
Update Material tokens to 0.162
2023-03-13 16:16:07 +00:00
Victoria Ashworth
ee42a302ec Move target devices logic to its own classes and file (#121903)
Move target devices logic to its own classes and file
2023-03-13 16:14:21 +00:00
Sigurd Meldgaard
1fd84f88e9 Always use user-level pub cache (#121802)
Use the pub cache resolved by pub itself.
To add packages to the flutter.zip download they are packaged as tar.gz and added to the pub-cache on first run by using  `pub cache preload`.
2023-03-13 08:38:17 +01:00
Jonah Williams
8d4fd89c74 Revert "Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution (#121322)" (#122449)
Revert "Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution"
2023-03-11 03:30:06 +00:00
sigmundch
aaa9cead70 [tool][web] Pass invoker flag to dart2js. (#122344)
[tool][web] Pass invoker flag to dart2js.
2023-03-11 03:24:34 +00:00
Jim Graham
3b6589924a Update sdk version in temp testing package (#122423) 2023-03-10 13:52:26 -08:00
Mitchell Goodwin
e77cb1a06b Constrain date picker to max width to avoid bending outwards (#120827)
Constrain date picker to max width to avoid bending outwards
2023-03-10 21:51:07 +00:00
Kate Lovett
7ce88694c5 Clean up scrollable.dart for 2D (#122357)
Clean up scrollable.dart for 2D
2023-03-10 21:39:45 +00:00
Jim Graham
670f9d2037 Revert "Introduce the PipelineOwner tree (#122231)" (#122425)
This reverts commit f73c358e43.
2023-03-10 13:15:46 -08:00
Michael Goderbauer
f73c358e43 Introduce the PipelineOwner tree (#122231)
Introduce the PipelineOwner tree
2023-03-10 19:57:17 +00:00
Michael Goderbauer
b4019f9884 Reland "Remove single view assumption from TestViewConfiguration (#122352)" (#122414)
Reland "Remove single view assumption from TestViewConfiguration (#122352)"
2023-03-10 19:30:34 +00:00
Callum Moffat
e078c93bfe SelectionChangedCause for iOS keyboard-select (#122144)
SelectionChangedCause for iOS keyboard-select
2023-03-10 19:13:28 +00:00
André Sousa
d7e851749a Fix Gradle 7 warnings that are now errors in Gradle 8 (#121958)
Fix Gradle 7 warnings that are now errors in Gradle 8
2023-03-10 18:24:49 +00:00
Jim Graham
3f2cca8eeb Adjust the minimum sdk version in the synthetic pkg for new Dart requirements (#122380)
Manually landing to fix the Engine rolls. The change will not affect Google Testing.
2023-03-10 09:23:33 -08:00
Casey Hillers
1f42612323 Revert PRs relating to single window assumption (#122369)
* Revert "Remove references to BindingBase.window (#122119)"

This reverts commit c7681f00cf.

* Revert "Remove another reference to BindingBase.window (#122341)"

This reverts commit 6ec4445063.

* Revert "Reland (2): Removes single window assumptions from `flutter_test` (#122233)"

This reverts commit eb3d317ea0.

* Revert "Remove single view assumption from TestViewConfiguration (#122352)"

This reverts commit 927289fb4e.

* Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (#122325)"

This reverts commit 67e17e45f0.

* Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (#122327)"

This reverts commit c2a5111cc0.

* Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (#122347)"

This reverts commit 28b65e089b.

* Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (#122321)"

This reverts commit 01367d52d7.
2023-03-09 22:53:38 -08:00
Michael Goderbauer
927289fb4e Remove single view assumption from TestViewConfiguration (#122352)
Remove single view assumption from TestViewConfiguration
2023-03-10 01:54:00 +00:00
Greg Price
47922979c6 Document on ScrollPhysics the requirement to override applyTo (#121850)
Document on ScrollPhysics the requirement to override applyTo
2023-03-10 01:52:34 +00:00
pdblasi-google
28b65e089b Updates flutter/test/rendering to no longer use TestWindow (#122347)
Updates `flutter/test/rendering` to no longer use `TestWindow`
2023-03-10 01:49:20 +00:00
Tim Maffett
2e8c3468e7 fix devtool instructional messages after flutter build ... --analyze-size . Fixes #122229 (#122230)
fix devtool instructional messages after `flutter build ... --analyze-size `.  Fixes #122229
2023-03-09 22:29:50 +00:00
pdblasi-google
01367d52d7 Updates flutter_localizations/test to stop using TestWindow (#122321)
Updates `flutter_localizations/test` to stop using `TestWindow`
2023-03-09 22:29:48 +00:00
pdblasi-google
c2a5111cc0 Updates flutter/test/gestures to no longer reference TestWindow (#122327)
Updates `flutter/test/gestures` to no longer reference `TestWindow`
2023-03-09 22:21:34 +00:00
pdblasi-google
67e17e45f0 Updates flutter/test/cupertino to no longer use TestWindow (#122325)
Updates `flutter/test/cupertino` to no longer use `TestWindow`
2023-03-09 22:21:31 +00:00
Navaron Bracke
57171a3fef [flutter_tools] Add namespace getter in Android project; use namespace as fallback (#121416)
[flutter_tools] Add namespace getter in Android project; use namespace as fallback
2023-03-09 22:19:04 +00:00
stuartmorgan
62116f998b Improve Dart plugin registration handling (#122046)
Improve Dart plugin registration handling
2023-03-09 21:33:38 +00:00
Michael Goderbauer
c7681f00cf Remove references to BindingBase.window (#122119)
Remove references to BindingBase.window
2023-03-09 19:14:34 +00:00
LongCatIsLooong
f4551e6450 Reland "Update test font (#121306)" (#122068)
Reland "Update test font (#121306)"
2023-03-09 19:05:32 +00:00
Hasnen Tai
c5da5070f1 Feat : TextField cursor color matching M2 and M3 Spec in error state (#119225)
According to Material specs, cursor should be red in error state.
2023-03-09 10:23:41 -08:00
pdblasi-google
eb3d317ea0 Reland (2): Removes single window assumptions from flutter_test (#122233)
Reland (2): Removes single window assumptions from `flutter_test`
2023-03-09 00:52:05 +00:00
xubaolin
c0e748fbf6 fix a scroll bar stutter bug (#121786)
Fix a scrolling stutter caused by dragging scrollbar
2023-03-09 00:18:18 +00:00
Bernardo Ferrari
a5061bf9d2 Fix GestureRecognizer allowedButtonsFilter. (#122227) 2023-03-09 00:37:22 +01:00
Callum Moffat
2e7b458793 No friction factor on macOS overscroll ease (#122143)
No friction factor on macOS overscroll ease
2023-03-08 21:34:55 +00:00
Bruno Leroux
3b4a882b61 Add one DefaultTextStyle example (#122182)
Add one DefaultTextStyle example
2023-03-08 20:40:54 +00:00
Jonas Uekötter
b9e925ab24 Use type promotion instead of access through a map (#122178)
Use variable instead of multiple accesses through a map
2023-03-08 20:35:50 +00:00
Bruno Leroux
a5ed960d0b SystemUiOverlayStyle, add examples and improve documentation (#122187)
SystemUiOverlayStyle, add two examples and improve documentation
2023-03-08 20:31:59 +00:00
Reid Baker
fe9e819143 Create configOnly flag for android (#121904)
Create configOnly flag for android
2023-03-08 19:46:52 +00:00
Mouad Debbar
a9700ffdd5 Revert "[web:tools] always use CanvasKit from the cache when building web apps (#93002)" (#117693)
Revert "[web:tools] always use CanvasKit from the cache when building web apps (#93002)"
2023-03-08 19:45:51 +00:00
Jami Couch
2a67bf78f0 Add support for iOS UndoManager (#98294)
Add support for iOS UndoManager
2023-03-08 19:45:49 +00:00
Callum Moffat
1ab3cb9ee3 Clear _scribbleCacheKey when connection closes (#122145)
Clear _scribbleCacheKey when connection closes
2023-03-08 19:42:04 +00:00
Casey Hillers
0091601057 Revert "Reland: Removes single window assumptions from flutter_test (#122060)" (#122193)
Revert "Reland: Removes single window assumptions from `flutter_test`"
2023-03-08 19:42:03 +00:00
Chris Bobbe
23b7bbd891 ModalBottomSheetRoute: Remove gap at screen bottom with useSafeArea: true (#122118)
ModalBottomSheetRoute: Remove gap at screen bottom with `useSafeArea: true`
2023-03-08 19:42:01 +00:00
Jackson Gardner
842bc8e69b Fix DomCSSStyleSheetExtension to work with dart2wasm. (#122154)
Fix DomCSSStyleSheetExtension to work with dart2wasm.
2023-03-08 02:13:59 +00:00
Bartek Pacia
2c24179d17 Fix typo in integrationDriver() function (#115012)
Fix typo in `integrationDriver()` function
2023-03-08 00:33:19 +00:00
Bartek Pacia
f8524ead7c delete FlutterCommand.intArg(), which is not used anywhere in the codebase (#122124)
Delete `FlutterCommand.intArg()`, which is not used anywhere
2023-03-08 00:19:06 +00:00