19025 Commits

Author SHA1 Message Date
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
Alexandre Ardhuin
526ca0d498
Export public API types from foundation/scheduler/gestures/semantics (#106409) 2022-06-24 21:21:05 +00:00
Christopher Fujino
67dd01e599
[flutter_tools] tool exit from flutter create when provided just a drive letter (#106451) 2022-06-24 13:24:03 -07:00
Jesús S Guerrero
ddd493b927
[flutter_tools] migrate project-validate to analyze --suggestions (#106149) 2022-06-24 18:43:07 +00:00
Gustl22
47f54ace45
feat(tools): Arbitrary browser flags (closes #65575) (#104935) 2022-06-24 10:14:08 -07:00
Bryan Oltman
6c3a0e4d21
Fix typo in flutter_test binding.dart (#106505) 2022-06-24 04:19:06 +00:00
Christopher Fujino
788c8b8ad4
[flutter_tools] tool exit access denied during symlinking (#106213) 2022-06-23 14:44:09 -07:00
Kate Lovett
9f4b9bfd49
Apply PrimaryScrollController updates to SingleChildScrollView (#106430) 2022-06-23 17:27:09 +00:00
Aman Verma
3022db2bf3
docs: Add more potential use case for Bottom Navigation Bar (#99644) 2022-06-23 17:17:06 +00:00
Pierre-Louis
912b81f6bf
Add toggled semantics to ToggleButtons (#106096) 2022-06-23 17:07:10 +00:00
hellohuanlin
0dd0c2edca
[platform_view]Send platform message when platform view is focused (#105050) 2022-06-23 00:01:07 +00:00
Lasse R.H. Nielsen
94e318456e
Mark use of deprecated type. (#106282) 2022-06-22 22:13:05 +00:00
Anthony Oleinik
a494a12bb0
Add "excluding" optional parameter to TargetPlatformVariant to communicate cases where test should be ran everywhere but specific platforms (#106216)
added "excluding" optional parameter to targetPlatforms.all

Co-authored-by: Anthony Oleinik <oleina@google.com>
2022-06-22 12:13:26 -07:00
Daniel Chevalier
8ff691178c
Refactoring the setPubRootDirectory tests (#106197) 2022-06-22 15:08:24 -04:00
LongCatIsLooong
60f30e5d3e
Disable cursor opacity animation on macOS, make iOS cursor animation discrete (#104335) 2022-06-22 18:09:05 +00:00
xubaolin
18575321bb
Revert "fix a Scaffold extendBodyBehindAppBar update bug" (#106396) 2022-06-22 17:01:07 +00:00
Callum Moffat
20da4014ba
Expose smart punctuation options on CupertinoSearchTextField (#97980) 2022-06-22 08:31:06 +00:00
Darren Austin
c8f867b5dc
Chip theme cleanup (#106384)
- Added complete support for showCheckmark to ChipThemeData.
- Removed build method checks for ThemeData.chipTheme, as that is
  already handled by ChipTheme.of().
2022-06-22 00:16:41 -07:00
Bruno Leroux
399a649eae
Fix TooltipState null check error (#106330) 2022-06-22 05:19:05 +00:00
Darren Austin
2532584bf3
Update parameters to the styleFrom button methods. (#105291)
* Update parameters to the `styleFrom` button methods.

* Updated the Flutter fix data to point to this PR.

* Updated handling of background color to better maintain backwards compatibility with previous API.
2022-06-21 19:08:22 -07:00