Commit Graph

20817 Commits

Author SHA1 Message Date
Andrew Kolos
2cd768b893 [flutter_tools] Reorganize android_studio_test.dart (#124834)
[flutter_tools] Reorganize android_studio_test.dart
2023-04-14 03:20:35 +00:00
Jenn Magder
44fe615c5c Remove Finder extended attributes in build target before code signing iOS frameworks (#123896)
Remove Finder extended attributes in build target before code signing iOS frameworks
2023-04-14 02:26:15 +00:00
Kevin Moore
3bc07c1cef flutter-tool, web: update HTML template serviceWorkerVersion to be const (#124826)
flutter-tool, web: update HTML template serviceWorkerVersion to be const
2023-04-14 02:01:21 +00:00
Taha Tesser
4c41c0dbcd Fix CupertinoContextMenu throws exception on route animation (#124785)
Fix `CupertinoContextMenu` throws exception on route animation
2023-04-14 01:59:11 +00:00
Kevin Moore
76e587bf78 flutter-tool: enum cleanup (#124760)
flutter-tool: enum cleanup
2023-04-14 01:55:05 +00:00
Reid Baker
2723266466 i123643 print java version gradle (#123644)
#123643
- Add task to projects evaluated by flutter.gradle that will print the
java version.
- Add integration test for the existence of javaVersion and the expected
format.
- Add gradle util to get the gradlew version for a specific platform
(gradlew everywhere but windows).

Why does this code need to exist? 
Figuring out what version of java is used by flutter/gradle is done in a
few different ways that are not always aligned.
See this issue https://github.com/flutter/flutter/issues/122609 ,
this issue https://github.com/flutter/flutter/issues/121501 this feature
request https://github.com/flutter/flutter/issues/106416

As examples of why assuming the java version is dangerous. 
This task is code flutter can build upon and is the version gradle is
using to build no matter how it is configured.



## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] All existing and new tests are passing.

---------

Co-authored-by: Mitchell Goodwin <58190796+MitchellGoodwin@users.noreply.github.com>
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: Victoria Ashworth <vashworth@google.com>
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
Co-authored-by: Jackson Gardner <jacksongardner@google.com>
Co-authored-by: Rydmike <m.rydstrom@gmail.com>
Co-authored-by: keyonghan <54558023+keyonghan@users.noreply.github.com>
Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>
Co-authored-by: Taha Tesser <tessertaha@gmail.com>
Co-authored-by: Ben Konyi <bkonyi@google.com>
Co-authored-by: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Co-authored-by: hellohuanlin <41930132+hellohuanlin@users.noreply.github.com>
Co-authored-by: Danny Tuppeny <danny@tuppeny.com>
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Kate Lovett <katelovett@google.com>
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
Co-authored-by: Elias Yishak <42216813+eliasyishak@users.noreply.github.com>
Co-authored-by: Christopher Fujino <fujino@google.com>
2023-04-13 18:13:58 -04:00
Flutter GitHub Bot
d300b86e80 Roll pub packages (#124709)
Roll pub packages
2023-04-13 20:54:52 +00:00
Elliott Brooks
a3b85ba9a9 [flutter_tools] Disable flaky output_web_test test case (#124257)
[flutter_tools] Disable flaky `output_web_test` test case
2023-04-13 20:38:07 +00:00
Taha Tesser
55dc9f93ea Refactor SliverAppBar.medium & SliverAppBar.large to fix several issues (#122542)
Refactor `SliverAppBar.medium` & `SliverAppBar.large` to fix several issues
2023-04-13 18:54:08 +00:00
Justin McCandless
62cb61d3f3 Improve the docs around the TextSelectionHandleControls deprecations (#123827)
Explain how to do the two-step migration to the context menus feature.
2023-04-13 10:13:13 -07:00
Camille Simon
f582b56e45 Update re-thrown error for incompatible Java/Gradle versions to include migration guide (#124327)
Update re-thrown error for incompatible Java/Gradle versions to include migration guide
2023-04-12 22:15:07 +00:00
Justin McCandless
8abeefef91 Localize the 'No Replacements Found' spell check string (#124259)
Localize the 'No Replacements Found' spell check string
2023-04-12 22:15:05 +00:00
Elias Yishak
51b23bc961 Update runner to handle logic for both analytics packages (#124606)
Update runner to handle logic for both analytics packages
2023-04-12 19:34:11 +00:00
Bernardo Ferrari
2e4d976bde SemanticsFlag/SemanticsAction cleanup (part 4) (#123329)
`SemanticsFlag`/`SemanticsAction` cleanup (part 4)
2023-04-12 19:07:08 +00:00
Jackson Gardner
ac9b501dc2 Remove the old canvaskit artifacts to not confuse the web runner. (#124641)
Remove the old canvaskit artifacts to not confuse the web runner.
2023-04-12 16:57:41 +00:00
Nabeel Parkar
6d01ae1377 Bug report 2 issue template (#122385)
Bug report 2 issue template
2023-04-12 11:06:16 +00:00
Zachary Anderson
cc2a045c5a Revert "[integration_test] upgrade androidx test to 1.4.0" (#124644)
Reverts flutter/flutter#122437

This is causing several Android devicelab tests to fail on the first
attempt, causing them to be marked flaky. The cause appears to be
unexpected output on stderr. See:
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64_android%20run_release_test/5390/overview
2023-04-11 18:54:59 -07:00
Bernardo Ferrari
56e4f8e0ff Add StrokeCap to CircularProgressIndicator (#122664)
Add `StrokeCap` to `CircularProgressIndicator`
2023-04-12 00:35:46 +00:00
Gabriel Gava
ee0b67dd8a Exposed EdgeDraggingAutoScroller velocityScalar to ReorderableList (#124459)
Exposed EdgeDraggingAutoScroller velocityScalar to ReorderableList
2023-04-12 00:07:20 +00:00
Kevin Moore
895879c195 flutter_tools: Flutter Web CLI cleanup (#124564)
flutter_tools: Flutter Web CLI cleanup
2023-04-12 00:01:15 +00:00
xubaolin
328635b3df DraggableScrollableSheet & NestedScrollView should respect NeverScrollableScrollPhysics (#123109)
DraggableScrollableSheet & NestedScrollView  should respect NeverScrollableScrollPhysics
2023-04-12 00:01:11 +00:00
Tae Hyung Kim
c0c5901c0b Fix gen_date_localizations script and regenerate (#124547)
Internal bug: b/256596915

Turns out we need to regenerate date localizations in order for the
`intl` package to be setup properly within Flutter. This PR fixes the
script (since it assumes the use of the old `.packages` way of handling
packages), and regenerates the `generated_date_localizations.dart` file.
2023-04-11 16:54:54 -07:00
Justin McCandless
f5c1fb1d26 Remove deprecations from TextSelectionHandleControls instances (#124611)
Moves to a two-step deprecation process for context menus, avoiding immediate breaking changes.
2023-04-11 16:43:40 -07:00
Micael Cid
4a83fa0fe9 [integration_test] upgrade androidx test to 1.4.0 (#122437)
[integration_test] upgrade androidx test to 1.4.0
2023-04-11 22:22:03 +00:00
pdblasi-google
6839b3cbd6 Adds dart_fix support to flutter_test (#124347)
Adds `dart_fix` support to `flutter_test`
2023-04-11 21:09:07 +00:00
Chris Bobbe
952ace627f BottomAppBar: Fix doubled layers of color and shadow (#123294)
Fixes BottomAppBar with translucent colors.
2023-04-11 11:21:13 -07:00
Aditya Thakur
c9f23b0bc2 Fix ShaderMask Example issue (#124511)
Fix ShaderMask Example issue
2023-04-11 18:17:53 +00:00
Kevin Moore
ecf6a66387 Add omit-type-checks flag for wasm builds (#124341)
Add omit-type-checks flag for wasm builds
2023-04-11 00:38:35 +00:00
Lau Ching Jun
c8b38b20bf Debounce the proxied connection over proxied devices. (#124540)
Debounce the proxied connection over proxied devices.
2023-04-10 23:20:01 +00:00
Tae Hyung Kim
3c18f57480 Sliver Constrained Cross Axis (#124337)
Sliver Constrained Cross Axis
2023-04-10 21:15:48 +00:00
chunhtai
f662f2efe8 ExpansionTile audit (#124281)
ExpansionTile audit
2023-04-10 20:22:54 +00:00
Lau Ching Jun
5923ae41d2 Allow daemon to start DDS remotely when proxied devices are used. (#124061)
Allow daemon to start DDS remotely when proxied devices are used.
2023-04-10 20:21:07 +00:00
Callum Moffat
535b4d5ec3 Reduce macOS overscroll friction (#122142)
Reduce macOS overscroll friction
2023-04-10 19:34:51 +00:00
joshualitt
191465ac6f [web] Migrate the bulk of JS interop to JS types. (#123286) 2023-04-10 12:08:26 -07:00
Rexios
bf0bdacb29 [flutter_test] Adds method to mock EventChannels (#124415)
[flutter_test] Adds method to mock EventChannels
2023-04-10 17:02:48 +00:00
Eilidh Southren
0f5e513ba8 Update MCU version (#124512)
Update MCU version
2023-04-10 16:44:26 +00:00
Jackson Gardner
07b89dada4 Add support to the flutter tool to compile against the skwasm renderer (#124296)
Add support to the flutter tool to compile against the skwasm renderer
2023-04-10 15:52:40 +00:00
luckysmg
f4cd897e7e [Text Input] Only unfocus when receive connectionClosed on platform except web (#123929)
[Text Input] Only unfocus when receive connectionClosed on platform except web
2023-04-10 02:09:21 +00:00
Christopher Fujino
3ea2d72446 document StaticIconProvider (#120935)
document StaticIconProvider
2023-04-08 02:45:14 +00:00
Greg Spencer
ba097e2371 Prepare for adding values to AppLifecycleState (#119954)
Prepare for adding values to AppLifecycleState
2023-04-08 02:43:23 +00:00
Bruno Leroux
9f98f63585 Fix InkWell ripple visible on right click when not expected (#124386)
Right clicking an InkWell with no secondary tap handlers will no longer cause a ripple.
2023-04-07 16:02:14 -07:00
Michael Goderbauer
73bd978529 Migrate away from deprecated BinaryMessenger API (#124348)
Migrate away from deprecated BinaryMessenger API
2023-04-07 19:38:52 +00:00
Jenn Magder
c60f202308 Force plugin transitive dependencies to an ARC compatible version (#124349)
Force plugin transitive dependencies to an ARC compatible version
2023-04-07 18:07:23 +00:00
chunhtai
e5e765e683 Reland Refactor reorderable list semantics (#124395)
Reland Refactor reorderable list semantics
2023-04-07 17:47:06 +00:00
Flutter GitHub Bot
cc4b455521 Roll pub packages (#124364)
Roll pub packages
2023-04-07 17:19:24 +00:00
Zachary Anderson
2f4a6afd30 Revert "[flutter_test] Adds method to mock EventChannels" (#124401)
Reverts flutter/flutter#123726

Analysis failures on CI
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20analyze/12890/overview
2023-04-07 10:10:00 -07:00
Reid Baker
645cfcddf1 Update gradle_utils.dart and flutter.gradle to have the same versions as the documentation in file says is required. (#123213)
This was an oversight from pr
https://github.com/flutter/flutter/pull/116146/files.
Comments in both files indicate that the versions should be bumped
together.


## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
2023-04-07 12:49:58 -04:00
Reid Baker
7a791b5dbf Update getGradleVersion to ignore commented out lines (#124260)
https://github.com/flutter/flutter/issues/123917
Missed feedback from https://github.com/flutter/flutter/pull/123916 

- Handle commented out lines in gradle-wrapper.properties

This is 1 of 2 prs to handle missed feedback. Formatting will be done in
the second whereas this one captures a weakness missed in the last pr.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] All existing and new tests are passing.
2023-04-07 12:45:37 -04:00
Rexios
f28eb28f0d [flutter_test] Adds method to mock EventChannels (#123726)
[flutter_test] Adds method to mock EventChannels
2023-04-07 16:12:27 +00:00
chunhtai
9884b5f55e Fixes IgnorePointer and AbsorbPointer to only block user interactions… (#120619)
Fixes IgnorePointer and AbsorbPointer to only block user interactions…
2023-04-07 15:51:05 +00:00