19044 Commits

Author SHA1 Message Date
Flutter GitHub Bot
b748d1fb1a
Roll pub packages (#107185) 2022-07-07 17:46:07 +00:00
Callum Moffat
c32ea2171b
PointerSignalKind forwards-compatibility (#106906) 2022-07-07 10:38:07 -07:00
Kohei Seino
41405ff0f3
Add RelativeRect.fromDirectional factory (#107059)
Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.

```
RelativeRect.fromDirectional(
    textDirection: textDirection,
    start: 10.0,
    top: 20.0,
    end: 30.0,
    bottom: 40.0,
);
```

Addresses https://github.com/flutter/flutter/issues/107058.
2022-07-07 10:18:06 -07:00
Helin Shiah
118248bcc5
Pass URI converter from context to DDS (#106840)
* Pass URI converter from context to DDS

* Match change that will be merged

* Revert SDK web change
2022-07-07 10:10:04 -07:00
Alexander Aprelev
b1410c2ce7
Ensure flutter run build is done in incremental mode. (#107184)
* Ensure build is done in incremental mode.

This allows for faster bootstrapping of the compiler from previously created dill file.

Fixes https://github.com/flutter/flutter/issues/107183

* Avoid initializeFromDill in aot mode

* Update tests
2022-07-07 09:31:18 -07:00
Kate Lovett
017fc6c907
Fix RawScrollbar colors (#107177) 2022-07-07 03:38:05 +00:00
Kate Lovett
1c4339974d
Fix disallowIndicator for RefreshIndicator (#106831) 2022-07-06 17:59:09 -07:00
LongCatIsLooong
0a06644c38
Clarify that inputFormatters don't run on programmatical changes (#106904) 2022-07-06 16:19:09 -07:00
Goddchen
084e25298d
Fix typo in painting.TextStyle.merge docs (#106511) 2022-07-06 14:42:15 -07:00
Bruno Leroux
1877efed5e
Add documentation references to BottomSheetThemeData (#107149)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-07-06 17:33:52 -04:00
Darren Austin
f396e289d5
Migrate Chips to Material 3 (#107166) 2022-07-06 13:32:44 -07:00
Taha Tesser
680a7bc8e8
SelectableText.rich: Fix TextSpan.style not merged into default text style (#101911)
Properly merges the TextSpan.style of SelectableText.rich.
2022-07-06 13:20:51 -07:00
Qun Cheng
16bbef188f
Migrate IconButton to Material 3 - Part 2 (#106437) 2022-07-06 18:14:07 +00:00
Xilai Zhang
d6f090d952
[g3 roll] revert #105537 Implement frameData for TestWindow (#107168)
* Revert "Reland "Clipping if only one character text overflows (#99146)" (#102130)"

This reverts commit 3f43d9f3d4105d4190c839e087c42d79ebe092e8.

* Revert "Implement frameData for TestWindow (#105537)"

This reverts commit 21841d7e3576ac2ac40dbdca6a3cd03cbdbf90ff.
2022-07-06 10:29:19 -07:00
Christopher Fujino
19ac08dcd7
manual pub package roll; remove test_api pin, unblock bumping dwds (#106887) 2022-07-06 17:28:07 +00:00
Jonah Williams
d36ecec5b9
[framework] partial removal of forced compositing from opacity (#106989) 2022-07-02 16:49:06 +00:00
LongCatIsLooong
09a5382ff9
Add error messages to _debugCanPerformMutations (#105638) 2022-07-02 00:55:04 +00:00
David Iglesias
c4aaa394ac
[tool][web] Create an early web plugin_registrant for dartpad. (#106921) 2022-07-02 00:51:06 +00:00
Xilai Zhang
a7fe235c8c
Revert "Reland "Clipping if only one character text overflows (#99146)" (#102130)" (#106964)
This reverts commit 3f43d9f3d4105d4190c839e087c42d79ebe092e8.
2022-07-01 12:46:21 -07:00
Hari07
46c4fc1164
Animated fractionally sized box (#106795) 2022-07-01 00:50:05 +00:00
Loïc Sharma
dcbdff087b
Ignore invalid description property in vswhere.exe JSON output (#106836)
The `flutter doctor` command uses `vswhere.exe` to verify the Visual Studio installation. This `vswhere.exe` is known to encode its output incorrectly. This is problematic as the `description` property is localized, and in certain languages this results in invalid JSON due to the incorrect encoding.

This change introduces a fallback to our `vswhere.exe` output parsing logic: if parsing JSON fails, remove the `description` property and retry parsing the JSON.

This fix was also tested on the outputs provided here: https://github.com/flutter/flutter/issues/106601#issuecomment-1170138123

Addresses https://github.com/flutter/flutter/issues/106601
2022-06-30 16:15:20 -07:00
Kate Lovett
6806884525
Fix scrollbar track offset (#106835) 2022-06-30 20:30:05 +00:00
Bruno Leroux
0eed9adde7
Improve SnackBar error message when shown during build (#106658) 2022-06-30 20:28:05 +00:00
Kate Lovett
90d6303ff5
Fix DraggableScrollableSheet crash when switching out scrollables (#105549) 2022-06-30 20:26:10 +00:00
xubaolin
e10310d2da
Reland "fix a Scaffold.bottomSheet update bug" (#106775) 2022-06-30 16:58:05 +00:00
Zachary Anderson
b005a34790
[flutter_tool] Pass --input-type to impellerc (#106845) 2022-06-30 07:12:24 -07:00
Bruno Leroux
776a15c57b
Documentation update to advertize timedDrag (#106489) 2022-06-30 13:02:07 +00:00
Taha Tesser
a74c48133a
[Reland]: Fix StretchingOverscrollIndicator clipping and add clipBehavior parameter (#106287) 2022-06-30 12:16:05 +00:00
Taha Tesser
9a3b9f62a9
Fix DropdownButton Inkwell border radius (#106657) 2022-06-30 12:14:05 +00:00
xubaolin
caadc255b7
Reland "fix a Scaffold extendBodyBehindAppBar update bug" (#106534) 2022-06-30 02:50:05 +00:00
Tong Mu
9970481b7a
[gen_keycodes] Mark generated file names with infix .g. (#106142) 2022-06-30 00:08:08 +00:00
Renzo Olivares
4c1d887e9c
Set selection on tap down for desktop platforms and tap up for mobile (#105505)
Co-authored-by: Renzo Olivares <roliv@google.com>
2022-06-29 16:35:47 -07:00
xubaolin
3f43d9f3d4
Reland "Clipping if only one character text overflows (#99146)" (#102130)
Fixes a text clipping edge case.
2022-06-29 14:57:16 -07:00
godofredoc
fb5ad6e8a7
Update localizations for flutter. (#106759) 2022-06-29 18:24:05 +00:00
Daco Harkes
e4bde83d7f
plugin_ffi warn about lack of platform support (#106813) 2022-06-29 10:29:11 -07:00
Taha Tesser
8fe82bbe60
Add Scaffold drawers escape dismiss action. (#106186) 2022-06-29 07:16:05 +00:00
Alexandre Ardhuin
de55eeceed
Export public API types from animation and physics libraries (#106757) 2022-06-29 05:26:09 +00:00
Zachary Anderson
9c0f239947
Put shaders under a 'shaders' section in the manifest (#106752) 2022-06-28 19:31:27 -07:00
LongCatIsLooong
812419103c
Revert "Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335)" (#106762) 2022-06-28 22:18:06 +00:00
Justin McCandless
baf86869b1
Consistently capitalize Endpoint (not EndPoint) (#106706) 2022-06-28 14:02:39 -07:00
Alexandre Ardhuin
bbdf617034
Export public API types from services/*.dart library (#106316) 2022-06-28 20:26:06 +00:00
Helin Shiah
19d5113391
Refactor daemon to check for project's supported platforms (#106704)
* Refactor daemon to check for project's supported platforms

* Fix type issue
2022-06-28 10:49:03 -07:00
Justin McCandless
1fd3d6c3c9
Make TextInputClient a mixin (#104291)
TextInputClient and DeltaTextInputClient are now mixins, which helps with breaking changes and future deltas work
2022-06-28 10:14:50 -07:00
Flutter GitHub Bot
0e0baa40c7
Roll pub packages (#106693) 2022-06-27 14:14:09 -07:00
Dan Field
21841d7e35
Implement frameData for TestWindow (#105537) 2022-06-27 20:26:08 +00:00
Ian Hickson
265ef1efb8
Export SpellOutStringAttribute and LocaleStringAttribute (#106682) 2022-06-27 20:10:05 +00:00
hacker1024
78c92712a6
Fix typo in compute documentation: "captures" -> "capture" (#106624) 2022-06-27 11:19:28 -07:00
Loïc Sharma
6026eea9a4
[Windows] Flow version information to the build output (#106145)
Previously developers had to edit their `Runner.rc` file to update their executable's version information. Now, version information will automatically be set from `flutter build`'s arguments or the `pubspec.yaml` file for new projects. 

Addresses https://github.com/flutter/flutter/issues/73652
2022-06-27 10:45:56 -07:00
Brandon DeRosier
8b3aabd61d
Fix BidirectionalIterator deprecation warning and roll engine to a1dd50405992 (#106595)
* a1dd50405 Roll Dart SDK from 692562354d6d to 48e3f8edb811 (3 revisions) (flutter/engine#34282)

* Fix BidirectionalIterator deprecation warning

* Remove override for movePrevious

Co-authored-by: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
2022-06-24 23:19:40 -07:00
Brandon DeRosier
097c162cce
Fix .packages breakage and roll engine to 83b9a591a3d5 (#106584)
* 9508a368d Roll Dart SDK from 692562354d6d to d3b8091c30f0 (1 revision) (flutter/engine#34273)

* a2985c034 Roll Fuchsia Linux SDK from F1U6IH2Nf... to aRT7s0Yct... (flutter/engine#34251)

* 54867f360 Roll Skia from bdd0205ae470 to 4345a2ea731a (1 revision) (flutter/engine#34268)

* 98221a22d Clean up text input configuration in clearTextInputClient (flutter/engine#34209)

* b9e02cc83 Adds a license check shard to CI (flutter/engine#34274)

* 1daf7ba98 [Impeller] Metal:Reset Encoder viewport and scissor rect in case the command specifies no opinion (flutter/engine#34252)

* 83b9a591a [Linux] remove duplicate clone_string() in favor of g_strdup() (flutter/engine#34031)

* Don't use .packages

* Another attempt

Co-authored-by: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
2022-06-24 17:27:17 -07:00