6135 Commits

Author SHA1 Message Date
25f0f702e5 [various] Update flutter/plugins links (#3256)
Updates links and references to `flutter/plugins` to use `flutter/packages` instead, including making the `repository` pubspec.yaml check stricter in the repo tooling to ensure all packages are pointing to the right place.

Exceptions to the updates are:
- Changelog entries.
- Links to pull requests.

This will re-publish all the moved plugins, thus fixing the current redness of `release` (due to the current versions not being tagged in this repository).
url_launcher_web-v2.0.15 image_picker_platform_interface-v2.6.3 google_maps_flutter_android-v2.4.6 image_picker-v0.8.6+3 url_launcher_ios-v6.1.1 file_selector_linux-v0.9.1+1 shared_preferences_windows-v2.1.4 google_sign_in_web-v0.11.0+1 camera_android-v0.10.4+1 file_selector_macos-v0.9.0+5 shared_preferences_foundation-v2.1.4 camera_web-v0.3.1+2 url_launcher_linux-v3.0.3 camera_platform_interface-v2.4.1 shared_preferences-v2.0.18 quick_actions_android-v1.0.1 shared_preferences_linux-v2.1.4 espresso-v0.2.0+9 google_maps_flutter_ios-v2.1.14 pigeon-v9.0.1 url_launcher_macos-v3.0.3 quick_actions-v1.0.2 google_sign_in_platform_interface-v2.3.1 path_provider_windows-v2.1.4 path_provider_platform_interface-v2.0.6 file_selector_platform_interface-v2.4.1 extension_google_sign_in_as_googleapis_auth-v2.0.8 file_selector_ios-v0.5.0+3 video_player_web-v2.0.14 url_launcher_platform_interface-v2.1.2 in_app_purchase_platform_interface-v1.3.3 path_provider_linux-v2.1.9 url_launcher-v6.1.10 in_app_purchase_storekit-v0.3.6+1 file_selector_web-v0.9.0+3 video_player_android-v2.3.11 in_app_purchase_android-v0.2.4+2 video_player_platform_interface-v6.0.2 file_selector-v0.9.2+3 in_app_purchase-v3.1.5 google_maps_flutter_platform_interface-v2.2.6 google_maps_flutter_web-v0.4.0+6 local_auth_windows-v1.0.6 local_auth_platform_interface-v1.0.7 plugin_platform_interface-v2.1.4 file_selector_windows-v0.9.1+5 image_picker_windows-v0.1.0+5 path_provider-v2.0.13 camera-v0.10.3+1 local_auth_ios-v1.0.13 path_provider_foundation-v2.1.2 ios_platform_images-v0.2.2+1 webview_flutter_wkwebview-v3.1.1 local_auth-v2.1.5 path_provider_android-v2.0.23 url_launcher_windows-v3.0.4 url_launcher_android-v6.0.24 webview_flutter-v4.0.5 local_auth_android-v1.0.19 shared_preferences_platform_interface-v2.1.1 camera_avfoundation-v0.9.11+1 google_sign_in_ios-v5.5.2 google_sign_in-v6.0.1 video_player_avfoundation-v2.3.9 quick_actions_platform_interface-v1.0.4 google_sign_in_android-v6.1.7 image_picker_ios-v0.8.6+9 image_picker_for_web-v2.1.11 webview_flutter_android-v3.3.1 camera_windows-v0.2.1+5 webview_flutter_web-v0.2.2+1 google_maps_flutter-v2.2.4 shared_preferences_android-v2.0.16 flutter_plugin_android_lifecycle-v2.0.8 webview_flutter_platform_interface-v2.0.2 quick_actions_ios-v1.0.3 video_player-v2.5.2 image_picker_android-v0.8.5+7 shared_preferences_web-v2.0.5
2023-02-22 13:45:11 -05:00
2e1673307f Merge flutter/plugins (#3233)
Merges everything from the packages/ directory of flutter/plugins (which
is essentially the entire remaining repository) into this repository,
completing the core of the repository merge.

Part of https://github.com/flutter/flutter/issues/113764
image_picker_windows-v0.1.0+4
2023-02-21 16:17:49 -08:00
324a7f2f9a Exclude more tests on Windows
Excludes two other Dart unit tests that have pre-existing issues running on Windows hosts.
2023-02-21 17:22:34 -05:00
334b58ee1f Adjust test configs
- Disable web plugin implementation package Dart tests on Windows hosts;
  that config has never been supported.
- Split Linux Dart unit tests into two shards, since tehy are now quite
  long.
- Disable `flutter_migrate` Dart tests on the Windows host, for time.
- Temporarily disable a failing test on `stable`, with a TODO+issue.
2023-02-21 16:28:44 -05:00
69e6dac1aa [go_router_builder] Generate replace method in RouteExtension (#2838)
* [go_router_builder] pushReplacement method added

* [go_router_builder] pushReplacement method added to builder test input
go_router_builder-v1.1.1
2023-02-21 17:59:07 +00:00
193e454fcf Merge repository metadata
Merges in:
- test exclusion configs
- AUTHORS
- CODEOWNERS
- Dependabot configs
- autolabel configs

Merge exclusions

Merge CODEOWNERS
2023-02-21 12:27:52 -05:00
18715d79a0 Merge remote-tracking branch 'plugins-packages/main' into merge-flutter-plugins 2023-02-21 11:50:21 -05:00
82b42a5e5f [local_auth] Add Android theme compatibility documentation (#6875)
Add documentation to README.md file from local_auth package:
- Compatibility of Android theme for Android 8 and below.
2023-02-21 11:14:53 -05:00
f2d802d7a3 Roll Flutter from ae8d05184ef3 to 7175de4fe686 (4 revisions) (#3232)
* 980b3c5b0 Roll Plugins from 8f3419be5e0e to 132d9c77da4d (16 revisions) (flutter/flutter#121101)

* 8e66901ee Roll Flutter Engine from 5d61f352ca32 to 9b3784fefe9a (2 revisions) (flutter/flutter#121111)

* e5619b935 35aeeec58 Roll Dart SDK from a1401ef3d0ec to 12aec0627d0a (1 revision) (flutter/engine#39767) (flutter/flutter#121114)

* 7175de4fe aa526b68f Roll Fuchsia Mac SDK from X3ES-2nMPaH13KIAI... to 25mb67G0L_sZ_OQCC... (flutter/engine#39769) (flutter/flutter#121136)
2023-02-21 15:37:24 +00:00
6f1b1e8994 Roll Flutter from 33e4d21f7c13 to ae8d05184ef3 (6 revisions) (#3229)
* fc8b7c754 4434f3a43 Roll Fuchsia Mac SDK from HtmcMFg6ZlyRkcNsB... to 7FGKB187AdG0SCban... (flutter/engine#39756) (flutter/flutter#121067)

* d54d3b4d1 d00cc4b04 Roll Fuchsia Linux SDK from 7rgqQxifQPjH_2zXB... to 0RfFdaUCok_sFfUN1... (flutter/engine#39758) (flutter/flutter#121068)

* c71e479fd cf85927ff Rename WindowPadding to ViewPadding (flutter/engine#39737) (flutter/flutter#121069)

* cc9b19821 780279109 [Impeller] Implement invert colors flag. (flutter/engine#39729) (flutter/flutter#121074)

* 8d305b605 5d61f352c Roll Fuchsia Mac SDK from 7FGKB187AdG0SCban... to sXPr06r252ZU681Fi... (flutter/engine#39760) (flutter/flutter#121085)

* ae8d05184 [M3] Update checkbox shape value (flutter/flutter#120976)
2023-02-20 15:39:06 +00:00
0dc1f3c96a [espresso] Update some dependencies (#7195) 2023-02-20 01:54:25 +00:00
943ffbc62f [plugins] Disables the AndroidGradlePluginVersion issue ID in all android packages (#7045)
* Disables the AndroidGradlePluginVersion issue ID in all android packages.

* Reverted changelog changes

* Reverted all changelog changes.

* Fixes changelog conflicts across android packages.

---------

Co-authored-by: Stuart Morgan <stuartmorgan@google.com>
2023-02-19 22:08:22 +00:00
a162a98cff Roll Flutter from 0be7c3f30d64 to 33e4d21f7c13 (5 revisions) (#3227)
* 43e74c05e a7c28d085 Roll Fuchsia Linux SDK from hi7JwgHijuYYKAFUR... to Iykltk3-HtXqYplbg... (flutter/engine#39750) (flutter/flutter#121047)

* ab39d076c Roll Flutter Engine from a7c28d0851dd to 8d13f3761460 (2 revisions) (flutter/flutter#121050)

* 424538990 1b71ea81a Roll ICU from 266a46937f05 to c6b685223182 (4 revisions) (flutter/engine#39753) (flutter/flutter#121054)

* 3c6a25d7d 4a58ff869 Roll Fuchsia Mac SDK from nvf4Ago0k-VS2JPxZ... to HtmcMFg6ZlyRkcNsB... (flutter/engine#39754) (flutter/flutter#121056)

* 33e4d21f7 00ce81fdf Roll Fuchsia Linux SDK from Iykltk3-HtXqYplbg... to 7rgqQxifQPjH_2zXB... (flutter/engine#39755) (flutter/flutter#121058)
2023-02-19 18:44:23 +00:00
1c89a0e888 [webview_flutter] Adds examples of accessing platform-specific features for each class (#7089)
* start

* more docs and version bump

* fix main
2023-02-19 16:04:23 +00:00
39a1ee4c02 [url_launcher]: Bump org.mockito:mockito-core (#7098)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 4.8.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 15:15:09 +00:00
841a7c496c [in_app_pur]: Bump org.mockito:mockito-core (#7094)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 14:55:47 +00:00
d19c437fdc [lifecycle]: Bump org.mockito:mockito-core (#7096)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 14:55:45 +00:00
f48543b365 [image_picker]: Bump org.mockito:mockito-core (#7097)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 4.8.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 14:55:43 +00:00
35287f1fb6 [google_maps]: Bump org.mockito:mockito-core (#7099)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 09:31:40 -05:00
f889aa3f99 [google_sign_in] Endorses next web package. (#7191)
Bump major version to 6.0.0.
2023-02-19 13:34:26 +00:00
ab5a8c0ca8 [tool] Allow importing packages with NEXT (#3215)
Fixes an issue that showed up in the trial repo merge PR; if a pacakge
is new to the repository (i.e., has no git history in the parent
commit), it was being treated as a version bump, which caused failures
if NEXT was present. This adds a new state so that we can allow NEXT
during import.
2023-02-18 20:43:11 +00:00
ce9c61be78 Roll Flutter from 170539f83dc8 to 0be7c3f30d64 (38 revisions) (#3225)
* df98689c9 2be7253c9 Roll Fuchsia Linux SDK from q7u2WyX2BSRBIzyTW... to yT4JLKTCWWwbRwB0l... (flutter/engine#39679) (flutter/flutter#120898)

* cacef57b6 [flutter_tools] Skip over "Resolving dependencies..." text in integration tests (flutter/flutter#120077)

* 34102ca3b Migrate channels to pkg:integration _test (flutter/flutter#120833)

* df13ea248 Roll Flutter Engine from 2be7253c9b10 to e4cb80e22ee1 (2 revisions) (flutter/flutter#120903)

* a2e65f7c3 Roll Flutter Engine from e4cb80e22ee1 to 4a90fbcd6901 (2 revisions) (flutter/flutter#120911)

* e00241a06 Enable Windows plugin tests (flutter/flutter#119345)

* 09ad9f3cd Document ScrollPhysics invariant requiring ballistic motion (flutter/flutter#120400)

* 6029de2fb Update switch template (flutter/flutter#120919)

* 229d70ea3 Roll Flutter Engine from 4a90fbcd6901 to bddfc1c4dcaa (5 revisions) (flutter/flutter#120920)

* 206c6ae99 roll packages (flutter/flutter#120922)

* 9fcaaebb5 Roll Flutter Engine from bddfc1c4dcaa to 6602fc753525 (3 revisions) (flutter/flutter#120928)

* 00c0a07fa Increase Linux docs_test timeout (flutter/flutter#120899)

* e29a79975 946b29198 [dart:ui] Introduce `PlatformDispatcher.implicitView` (flutter/engine#39553) (flutter/flutter#120939)

* 081cd5776 650db7a72 [macOS] Eliminate mirrors support (flutter/engine#39694) (flutter/flutter#120943)

* 875e48c69 52a4fb4c5 Roll Skia from b1800a8b9595 to d0df677ffd5e (13 revisions) (flutter/engine#39699) (flutter/flutter#120947)

* 78d058f46 6e92c0c28 Roll Fuchsia Mac SDK from xl9Y8o-9FDyvPogki... to haDvcC5VzWVdQs9Rs... (flutter/engine#39700) (flutter/flutter#120950)

* 298d8c76b Revert "Remove references to Observatory (#118577)" (flutter/flutter#120929)

* 674254c03 Always use the testbed in web_test.dart so `environment` is populated. (flutter/flutter#120984)

* c4d40cc15 Modify the updateChildren method deep copy _children (flutter/flutter#120773)

* 9367641ce clean up (flutter/flutter#120934)

* 51712b90a Roll Plugins from d699b4a91381 to 8f3419be5e0e (7 revisions) (flutter/flutter#120993)

* c3587c62e Add `InheritedTheme` support  to `ScrollbarTheme` (flutter/flutter#120970)

* 08b409ab0 Roll Flutter Engine from 6e92c0c28410 to bd37a3992b50 (16 revisions) (flutter/flutter#121004)

* f78513685 [web] Temporarily disable a line boundary test (flutter/flutter#121005)

* 9fe556705 Print sub process that failed to run in tool (flutter/flutter#120999)

* 6205c110d Remove "note that" in our documentation (as per style guide) (flutter/flutter#120842)

* 1daa0be4f Fix scrollable to clear inner semantics node if it does not use two p… (flutter/flutter#120996)

* 7f19b7485 0a27673d7 Roll Skia from 02890036028e to 0e444e355607 (9 revisions) (flutter/engine#39723) (flutter/flutter#121008)

* 48d2dfc72 e7fde3f72 [web] Make glassPaneElement and glassPaneShadow non-nullable (flutter/engine#39692) (flutter/flutter#121009)

* 610450523 2b2780185 Roll Skia from 0e444e355607 to 4b79e398dfe0 (5 revisions) (flutter/engine#39725) (flutter/flutter#121016)

* f99f47280 Remove the deprecated accentColor from ThemeData (flutter/flutter#120932)

* 2b4c96088 Remove more references to dart:ui.window (flutter/flutter#120994)

* 0fa652752 Roll Flutter Engine from 2b2780185dd5 to a37e27b77008 (2 revisions) (flutter/flutter#121020)

* 9281114fb Roll Flutter Engine from a37e27b77008 to 2fdce9a96367 (2 revisions) (flutter/flutter#121023)

* 4dd555d32 Roll Flutter Engine from 2fdce9a96367 to 9a3c3e462fce (3 revisions) (flutter/flutter#121025)

* 66dce657f Roll Flutter Engine from 9a3c3e462fce to 3777ed51774f (2 revisions) (flutter/flutter#121029)

* a5b53a6d2 a9db42c3e Roll Skia from 733a19f6a625 to 2f05923f825e (3 revisions) (flutter/engine#39744) (flutter/flutter#121030)

* 0be7c3f30 Roll Flutter Engine from a9db42c3edc2 to c22c64812243 (2 revisions) (flutter/flutter#121041)
2023-02-18 15:38:13 +00:00
9747469b94 Fix deprecation message for GoRouterState.namedLocation (#3092)
Fix deprecation message for `GoRouterState.namedLocation` -- it should
point to `GoRouter.of(context).namedLocation`, not
`GoRouter.of(context).routeInformationParser.namedLocation` (the latter
does not exist).

Previously mentioned here: bdc07b69d4 (r88804919)
go_router-v6.0.9
2023-02-17 22:53:26 +00:00
6e4431f16d [go_router] Bump example compileSdkVersion and package_info_plus dependency version (#3219)
* Fix roll

* Fix fix

* Remove dependency
2023-02-17 22:40:24 +00:00
925bea899f [pigeon] Validate generated files in CI (#3224)
* Add autoformatting option to generation

* Extract to helper

* Add validation

* Test change to demonstrate behavior

* Actually fail when validation fails

* Revert "Test change to demonstrate behavior"

This reverts commit 7c47d56a6d6b5892b41977df64dab377c5cdd701.
2023-02-17 22:15:46 +00:00
30948679f9 Move iOS Swift unit tests back to Cirrus (#3221)
They are hanging frequently on LUCI now, even though they used to (at least mostly) work.

Updates the simulator to use one available on the current LUCI machines, and adds a step to Cirrus to ensure the creation of a matching simulator so that the script works on both. (Currently it appears that Cirrus by default only has iPhone 14, which LUCI doesn't have by default.)
2023-02-17 16:43:08 -05:00
e800e3c449 Migrate these tests to the "new" API. (#7189) 2023-02-17 20:49:06 +00:00
c083c9a3fa [image_picker] Update NSPhotoLibraryUsageDescription description in README (#6589)
* Update `NSPhotoLibraryUsageDescription` description in README

* Update text about App Store policy
2023-02-17 20:17:49 +00:00
df185547d2 [camerax] Implement camera preview (#7112)
* Add base code from proof of concept

* Fix analyzer

* Add example app and tests

* Actually add tets and visible for testing annotation

* Make methods private

* Fix tests

* Fix analyze:

* Update changelog

* Formatting

* Update todos with links and modify camera controller

* Format and add availableCameras

* Fix mocks

* Try bumping mockito version

* Review documentation

* Re-generate mocks

* Fix typo

* Fix another typo

* Address review and fix bug

* Fix analyze

* Fix tests

* Foramtting

* Clear preview is paused

* Add unknown lens
2023-02-17 19:38:39 +00:00
ae9d10ef55 [image_picker] Fix images changing to incorrect orientation (#7187)
* fix orientation issue

* update changelog

* add test

* fix formatting
2023-02-17 15:48:02 +00:00
4f30210efa [google_sign_in_web] Migrate to the GIS SDK. (#6921)
* [google_sign_in_web] Migrate to GIS SDK.

* include_granted_scopes in requestScopes call.

* Remove the old JS-interop layer.

* Introduce a mockable GisSdkClient for tests.

* Split the people utils.

* Delete tests for the old code.

* Add some tests for the new code.

* More utils_test.dart

* Make jsifyAs reusable.

* Ignore the tester in utils_test.dart

* Make Clients overridable, and some renaming.

* Test people.dart

* Make autoDetectedClientId more testable.

* Add mockito.

* Comment about where to better split the code so GisSdkClient is testable too.

* Add google_sign_in_web_test.dart (and its mocks)

* dart format

* Log only in debug.

* Sync min sdk with package gis_web

* Add migration notes to the README.

* When the user is known upon signIn, remove friction.

* Do not ask for user selection again in the authorization popup
* Pass the email of the known user as a hint to the signIn method

* Address PR comments / checks.

* Update migration guide after comments from testers.

* Update README.md

* Remove package:jose from tests.

* Rename to Vincent Adultman

* _isJsSdkLoaded -> _jsSdkLoadedFuture

* Remove idToken comment.

* Link issue to split mocking better.

* Remove dependency in package:jwt_decoder

* Remove unneeded cast call.
2023-02-17 04:05:23 +00:00
156bdf8940 [in_app_purchase] Update minimum Flutter version to 3.3 and iOS 11 (#6873)
* [in_app_purchase] Bump minimum Flutter version to 3.3 for iOS plugins

* Bump Flutter version

* super params

* Format
2023-02-17 03:41:12 +00:00
9e70921fe7 [ios_platform_images] Update minimum version to iOS 11 (#6874)
* [ios_platform_images] Update minimum version to iOS 11

* README update
2023-02-17 03:41:11 +00:00
763d025f84 [pigeon] Eliminate some of the test pigeons (#3213)
* Fold in async_handlers.dart

* Remove some largely unused files

* Fold in the relevant parts of list.dart

* Remove java_double_host_api

* Remove unnecessary double-generation of messages.dart

* Remove enum_args

* Remove some unnecesasry/duplicate unit tests

* Eliminate android_unittest

* Format

* Remove build references on Windows
2023-02-16 22:40:13 +00:00
60feca46cd [ci] Update iOS simulator (#7131)
Updates the iOS simulator used in CI from an iPhone 11 to an iPhone 13.

Part of alignment with flutter/packages in preparation for merging repositories.

Updates a Maps integration test for issues with the newer device.
2023-02-16 15:10:57 -05:00
6c04c745b0 Roll Flutter from df41e58f6f4e to 170539f83dc8 (31 revisions) (#3214)
* 3ad7ea3c9 Roll Plugins from 9c312d4d2f5f to 2ce625f1a87e (5 revisions) (flutter/flutter#120793)

* 786571368 Roll Flutter Engine from 1328c4bc6299 to 4db9673d48d6 (2 revisions) (flutter/flutter#120796)

* 541a8bfd9 Fix switching from scrollable and non-scrollable tab bars throws (flutter/flutter#120771)

* ab1390e0a Use black30 for CupertinoTabBar's border (flutter/flutter#119509)

* a513d4e7b Fix `flutter_localizations` README references (flutter/flutter#120800)

* a664f08a5 In test of --(no-)fatal-infos analyzer flags, pin missing_return to info (flutter/flutter#120797)

* ef49f5661 Add Android unit tests to plugin template (flutter/flutter#120720)

* a12e242c0 Improve CupertinoContextMenu to match native more (flutter/flutter#117698)

* a9f43665c Fix the `flutter run -d linux` tests (flutter/flutter#120721)

* dff09558d 09da59a5a Roll Dart SDK from c022d475e9d8 to 5d17a336bdfe (1 revision) (flutter/engine#39649) (flutter/flutter#120816)

* f35de0c80 Adds wide gamut saveLayer integration test (flutter/flutter#120131)

* 99dcaa2d9 Roll Flutter Engine from 09da59a5adcf to a8b3d1af55b6 (3 revisions) (flutter/flutter#120821)

* 8d150833b Use the impellerc GLES output flag when compiling shaders for Android (flutter/flutter#120647)

* c6b636fa5 [flutter_tools] Replace Future.catchError() with Future.then(onError: ...) (flutter/flutter#120637)

* 2b7d709fd Add `@widgetFactory` annotation (flutter/flutter#117455)

* e65dfba8e Add Linux unit tests to plugin template (flutter/flutter#120814)

* dccec41d5 5de007b90 Remove "bringup: true" from "Linux Fuchsia FEMU" (flutter/engine#39651) (flutter/flutter#120826)

* d6de6bc68 9f3b061b7 Roll buildroot to 64b0c3deecaff8e66c2deb74e2171e8297b2bfcd (flutter/engine#39653) (flutter/flutter#120830)

* da2508c9f bb1ff84b6 Add a white background to app anatomy diagram (flutter/engine#39638) (flutter/flutter#120832)

* 1f85497ef [flutter_tools] Add the NoProfile parameter to the PowerShell execution statement (flutter/flutter#120786)

* 4ad47fb47 Fix `StretchingOverscrollIndicator` not handling directional changes correctly (flutter/flutter#116548)

* 9a721c456 Update AndroidManifest.xml.tmpl (flutter/flutter#120527)

* c0b7d2ddd Roll Flutter Engine from bb1ff84b6c4f to 02a379db1d38 (4 revisions) (flutter/flutter#120845)

* a10e295a0 Added identical(a,b) short circuit to Material Library lerp methods (flutter/flutter#120829)

* efde35081 Roll Flutter Engine from 02a379db1d38 to a966cf878ffd (2 revisions) (flutter/flutter#120846)

* cc473e4f1 Roll Flutter Engine from a966cf878ffd to 3fc40ca5beb9 (3 revisions) (flutter/flutter#120850)

* d1252428c Roll Flutter Engine from 3fc40ca5beb9 to 9fa2a5c3cfbd (2 revisions) (flutter/flutter#120856)

* 22e17bb71 ea1d087c4 Roll Skia from b8b36146c7a0 to 7b3fb04bc3d4 (3 revisions) (flutter/engine#39673) (flutter/flutter#120860)

* f85438bfa c8b1d2ffa Roll Fuchsia Mac SDK from YpQKlqmyn8r_snx06... to xl9Y8o-9FDyvPogki... (flutter/engine#39675) (flutter/flutter#120887)

* 174a562a6 d699b4a91 Roll Flutter from e3471f08d1d3 to df41e58f6f4e (83 revisions) (flutter/plugins#7184) (flutter/flutter#120888)

* 170539f83 Roll Flutter Engine from c8b1d2ffaec8 to 0d8d93306822 (2 revisions) (flutter/flutter#120891)
2023-02-16 18:09:20 +00:00
fa7cdfa232 [go_router] Add support for Iterable, List and Set to TypedGoRoute (#2698)
* fixes #108437 support for iterable, list and set in for TypedGoRoute

* temporary fix for analyzer ci, will be fixed in go_router_builder code generator

* Revert "temporary fix for analyzer ci, will be fixed in go_router_builder code generator"

This reverts commit 6ae5026c0df976c6003b1e4aee10ed95c6601783.

* added temporary ignore directive

* Revert "added temporary ignore directive"

This reverts commit 48bdeb5abba23847e90ec0ba3c788b279e87eddb.

* fix merge conflict and temoporary remove go_router_builder/example analysis checks

* fix temoporary go_router_builder/example analysis checks and restored global analysis

* fix ci

* version
go_router-v6.0.8
2023-02-16 18:09:17 +00:00
81cbd4c90c [pigeon] Make dart options const (#3186)
* make dart options const

* version bump

* add dartoptions to configure_pigeon_dart_out.dart

* major version bump

* add final

* undo final changes

* changelog

* unbreak

---------

Co-authored-by: tarrinneal <tarrinneal@gmail.com>
pigeon-v9.0.0
2023-02-16 03:58:22 +00:00
67372cf7ec [tool] Skip non-plugin packages in FTL command (#3209)
The `firebase-test-lab` expectations were written for flutter/plugins,
where everything was supposed to have an integration test. This makes
non-plugin packages skip, not fail, if they don't have native
Android integration tests.

Fixes https://github.com/flutter/flutter/issues/120450
2023-02-15 19:43:58 +00:00
60d979569e Roll Flutter from ce8efb439e74 to df41e58f6f4e (46 revisions) (#3207)
* 7fb8497b5 Roll Plugins from 02571ec0dd36 to f3bc6f1eb0c2 (2 revisions) (flutter/flutter#120601)

* 7c2d5b9c2 60c8532d6 Roll Fuchsia Mac SDK from NZAnfCkpbswhYplty... to 6hbPQq6ED0PkuQiKM... (flutter/engine#39587) (flutter/flutter#120602)

* 1f268f1d6 fb8840578 Roll Dart SDK from 1caf3a9ad101 to f80c5db8736a (1 revision) (flutter/engine#39588) (flutter/flutter#120606)

* 957494d9f Marks Linux_android flavors_test to be unflaky (flutter/flutter#120299)

* 0792c2795 Roll Flutter Engine from fb8840578156 to df0ffe42b33e (2 revisions) (flutter/flutter#120607)

* 7bacc25ee Remove accentColorBrightness usage (flutter/flutter#120577)

* 98576cef5 Avoid null terminating characters in strings from Utf8FromUtf16() (flutter/flutter#109729)

* 00adf9a33 roll packages (flutter/flutter#120609)

* 2df140f40 Remove references to Observatory (flutter/flutter#118577)

* a819d6156 Remove `prefer_equal_for_default_values` lint rule (flutter/flutter#120533)

* 73afc7ba3 Roll Flutter Engine from df0ffe42b33e to 97dcf3e6201e (4 revisions) (flutter/flutter#120617)

* f858302a6 Remove `brightness` from `AppBar`/`SliverAppBar`/`AppBarTheme`/`AppBarTheme.copyWith` (flutter/flutter#120575)

* 95fd821ab Force `Mac build_tests` to run on x64 bots (flutter/flutter#120620)

* ed35c80d2 d28cbf402 [Impeller] Return entity from filters instead of a snapshot (flutter/engine#39560) (flutter/flutter#120625)

* 778b3fa32 support updating dragDecices at runtime (flutter/flutter#120336)

* ddebe833b Added integration test for wide gamut support. (flutter/flutter#119657)

* becb6bd00 Fix message type inconsistency between locales (flutter/flutter#120129)

* f4495f5d3 Roll Flutter Engine from d28cbf402904 to 31a4648cbe99 (2 revisions) (flutter/flutter#120630)

* 402caec2e Fix `ListTile`'s default `iconColor` token used & update examples (flutter/flutter#120444)

* 865422da2 Force `Mac tool_integration_tests` to run on x64 bots (flutter/flutter#120634)

* 07c548c69 Apply BindingBase.checkInstance to TestDefaultBinaryMessengerBinding (flutter/flutter#116937)

* b08cc8be7 Roll Flutter Engine from 31a4648cbe99 to c4f51bc78644 (7 revisions) (flutter/flutter#120656)

* 6a94f25a9 Roll Flutter Engine from c4f51bc78644 to 17ab09d382e3 (5 revisions) (flutter/flutter#120664)

* b0edf5829 Roll Flutter Engine from 17ab09d382e3 to cbb7fc020b00 (2 revisions) (flutter/flutter#120673)

* 17b4c70ff [M3] Add customizable overflow property to Snackbar's action (flutter/flutter#120394)

* b35e4a54f Roll Plugins from f3bc6f1eb0c2 to 9c312d4d2f5f (2 revisions) (flutter/flutter#120694)

* 9fd34048f f4fcb911b Roll Skia from bb7b22f3f444 to 8de7f68a3661 (1 revision) (flutter/engine#39619) (flutter/flutter#120699)

* b9b4d3e43 roll packages (flutter/flutter#120628)

* ed5bd1779 Fix tree by updating dependencies (flutter/flutter#120707)

* 480c54c37 Increase Linux docs_publish timeout (flutter/flutter#120718)

* c102bf467 [integration_test] Fix link to integration test for web section in `README.md` (flutter/flutter#103422)

* 577ad2ee8 Fix error when resetting configurations in tear down phase (flutter/flutter#114468)

* 2cfca820a Force Mac plugin_test to run on x64 bots (flutter/flutter#120714)

* fd2fd94e3 d86089252 Roll Fuchsia Mac SDK from OeUljRQOmJwgDhNOo... to EFcCpAxOuQllDqP0F... (flutter/engine#39621) (flutter/flutter#120702)

* 9d94a51b6 Move linux-x64-flutter-gtk.zip to linux-x64-debug location. (flutter/flutter#120658)

* d29668ddb Improve network resources doctor check (flutter/flutter#120417)

* 378668db4 added MaterialStateColor support to TabBarTheme.labelColor (flutter/flutter#109541)

* ba46cb8d5 Remove deprecated AppBar.color & AppBar.backwardsCompatibility (flutter/flutter#120618)

* 5a3957f3b Revert "Fix error when resetting configurations in tear down phase" (flutter/flutter#120739)

* fd01812f6 Add temporary default case to support new PointerSignalKind (flutter/flutter#120731)

* 4b8ad1b00 Temporarily disable info-based analyzer unit tests. (flutter/flutter#120753)

* 911b13784 Roll Flutter Engine from d860892528ff to 44e36c9c0d73 (20 revisions) (flutter/flutter#120761)

* 4ae5252f8 Fix license page crash (flutter/flutter#120728)

* 31c73fcfe Roll Flutter Engine from 44e36c9c0d73 to bf7d51586704 (2 revisions) (flutter/flutter#120772)

* 624445a45 Roll Flutter Engine from bf7d51586704 to ec70b5aa96be (2 revisions) (flutter/flutter#120781)

* df41e58f6 1328c4bc6 Roll Dart SDK from 0456c4011cb3 to c022d475e9d8 (1 revision) (flutter/engine#39646) (flutter/flutter#120784)
2023-02-15 15:37:05 +00:00
592583c715 [cameraX] Add integration test for availableCameras (#7156)
* Add integration test

* Add integration test
2023-02-14 22:54:12 +00:00
9baf377ab4 [go_router] Fix analyzer in test (#3206)
* Fix analyzer

* Add ignore

* Add ambiguatre

* Formatting
2023-02-14 19:55:14 +00:00
9c51cb14c3 [google_maps_flutter_android] Fixes initial padding not working while map has not been created yet. (#7135)
* fix initial padding not working

* fix changelog

* remove unused imports

* removed visiblefortesting from google map

* add private back

* applied patch

* replace 10 with padding

* add line

* remove line
2023-02-14 18:51:56 +00:00
6995c7cc54 [webview_flutter_android][webview_flutter_wkwebview] Adds support to retrieve native WebView (#7071)
* implementation of the webViewIdentifier field

* change to external classes

* formatting

* update readmes

* iOS

* improve

* hmmmm

* add note about not using other apis

* project changes

* add external api tests to project

* ordering

* fix docs and use id
2023-02-14 18:50:52 +00:00
9dc38ac7ce Revert "[camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) (#7109)" (#7181)
This reverts commit 73a916bda415fc56ec4c607362f1229b324ce522.
2023-02-14 13:31:37 -05:00
278b4890ef [go_router] [shell_route] Add observers parameter (#2664)
* [go_router] [shell_route] Add observers parameter

* [go_router] [shell_route] Add observers parameter test

* Added Licence for shell_route_observers_test.dart

* [go_router] [shell_route] Added type annotation to shell_route_observers_test.dart

* [go_router] [shell_route] Use `HeroControllerScope` for nested Navigator

* Use the correct HeroController based on the App type.

* Cache the HeroController for the nested Navigator.

* Clean up previous cache to prevent memory leak.

* Added better cache-clearing policy for the HeroController cache.

* Fixed Typos

Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>

* Fixed Typos

Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>

* [go_router] [shell_route] Added a better Hero test

Credits to @flodaniel!

---------

Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>
go_router-v6.0.7
2023-02-14 17:33:46 +00:00
73a916bda4 [camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) (#7109)
* setDescription in Camera platform interface

* example app setup to change description mid recording

* AVFoundationCamera method call to setDescription

* FLTCam setup to setDescription

* captureSession split into video and audio so we will be able to switch cameras without breaking the audio

* renamed setDescription to setDescriptionWhileRecording since it can only be used while recording

* integration tests fixed

* set description while recording integration test

* throws error if device not recording and setDescriptionWhileRecording is called

* set description while recording test

* example project setup

* camera preview can be changed while recording

* camera switches and keeps surface pointed to mediarecorder

* small change to set autofocus when switching while recording

* android video record goes through VideoRenderer to apply matrix after switching camera

* switch camera uses VideoRenderer

* dont use video renderer until user switches camera while recording

* rotate based on initial recording direction

* VideoRenderer cleanup

* flutter results for setDescriptionWhileRecording

* error if you setDescriptionWhileRecording while device is not recording

* android tests

* integration tests

* method channel test

* main package tests

* setDescriptionWhileRecording called while no video was recording test

* integration tests

* dependency overrides

* update readme and version

* removed old TODO

* removed accidental dev team ID commit

* renamed local variables

* use captureSessionQueue

* fixed local variable name

* setupCaptureVideoOutput function

* createConnectionWithInput

* simplified configureConnection function to re-use code on switching camera

* formatting

* example project dependency overrides

* fixed versioning

* formatting

* fixed some ios native tests

* fixed small bug

* dont emit initialized when switching camera

* ios formatting

* dependency overrides for camera/example

* android formatting

* ios test formatted

* android tests formatted

* android format that I missed

* other android formatting

* final formatting with flutter tool

* formatted android again

* android license in new file

* update-excerpts ran

* fixed changelog

* removed development team

* renames configureConnection to createConnection

* renames unimplemented error message

* renames setDescriptionWhileRecording error to match android and the other errors

* fixes formatting

* removes override dependencies from camera_web and camera_windows

* removes camera_web override dependency in camera package

* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java

Co-authored-by: Camille Simon <43054281+camsim99@users.noreply.github.com>

* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java

Co-authored-by: Camille Simon <43054281+camsim99@users.noreply.github.com>

* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java

Co-authored-by: Camille Simon <43054281+camsim99@users.noreply.github.com>

* Update packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/Camera.java

Co-authored-by: Camille Simon <43054281+camsim99@users.noreply.github.com>

* reformats camera.java

* VideoRenderer uses surface texture timestamp instead of current system time

* formats VideoRenderer.java

* fixes comments in VideoRenderer.java

* Update packages/camera/camera_platform_interface/lib/src/platform_interface/camera_platform.dart

Co-authored-by: Maurice Parrish <10687576+bparrishMines@users.noreply.github.com>

* Update packages/camera/camera/lib/src/camera_controller.dart

Co-authored-by: Maurice Parrish <10687576+bparrishMines@users.noreply.github.com>

* renames error typo

* frees shaders after program linking

* handles eglSwapBuffers errors

* extension check guards eglPresentationTimeANDROID

* cleans openGL resources

* reverted timestamp to use uptimeMillis()

* Tests for startPreviewWithVideoRendererStream

* fixes exception not being caught

* tests for correct rotation to be set

* fixes versioning

* tests method channel setDescriptionWhileRecording

* adds forwarding getter on CameraController to its value's description

* dummy commit to fix github test's not finding commit hash

* adds override description for FakeController in camera tests

* fixes versioning for avfoundation and android

* fixes versioning

* fixes pubspec versions

* ios setDescription

* setDescription

* android setDescription

* formatting

* revert

* nits and reverts

* nits

* fixes README

* fixes other comments

* fixes setDescription override in camera_preview_test

* set description test

* versions

* removes changes on platform_interface_changes

* points all packages to platform interface version 2.4

* points to the new platform interface

* removes everything that isnt under camera_avfoundation and camera_android

* removes dependency overrides in examples

* removes version change on camera

* removes camera changes that were missed

* fixes android version

---------

Co-authored-by: BradenBagby <braden.bagby@wavv.com>
Co-authored-by: Camille Simon <43054281+camsim99@users.noreply.github.com>
Co-authored-by: Maurice Parrish <10687576+bparrishMines@users.noreply.github.com>
2023-02-14 14:09:28 +00:00
9fadbcb64c [pigeon] Flutter api error handling integration tests to preempt upcoming feature implementation (#3176)
* top level flutter error tests

* throwErrorFromVoid

* Flutter api error tests and objc bug fix

* as future looking as possible

* todo format

* windows fix

* format
2023-02-13 20:33:48 +00:00
c149b81d7b [ci] Migrate repo tooling from flutter/plugins (#3198)
Imports the repository tooling from flutter/plugins. This is being moved
in advance of the full repository merge in order to reduce the
complexity of the final merge, since it is highly separable from the
rest of the repository.

Rather than being a copy, this grafts the history of flutter/plugins's
script/tool directory (rewritten to exclude other directories), to
preserve `git blame` and related functionality. All of the commits here
except those from today are migrating the code as-is. My commits from
today:
- Replace all the CI usage of `flutter_plugin_tools` from pub with the
local copy, so that this PR tests the code being added.
- Updates documentation about the tool.
- Enables CI tests of the tool itself.
- Updates metadata for the tool (version, source repo).

Part of https://github.com/flutter/flutter/issues/113764
2023-02-13 11:58:32 -08:00
593f89ca80 Roll Flutter from 527977b6af24 to ce8efb439e74 (6 revisions) (#3197)
* 238b0dbc0 Roll Flutter Engine from b7e80ad6ef51 to 1ff345ce5f63 (2 revisions) (flutter/flutter#120574)

* 3e659cf71 1eef041d4 [Impeller] Source the pipeline color attachment pixel format from RenderPass textures (flutter/engine#39556) (flutter/flutter#120576)

* 53fe8a3f9 4107a7b71 Roll Skia from 615965d545f4 to c6f1de2239fb (1 revision) (flutter/engine#39581) (flutter/flutter#120580)

* b0c24e8d3 fix a Slider theme update bug (flutter/flutter#120432)

* b33c76f01 1695b7bbc Bump github/codeql-action from 2.1.39 to 2.2.4 (flutter/engine#39584) (flutter/flutter#120588)

* ce8efb439 ede2a0a3c Roll Skia from c6f1de2239fb to d85501fa487d (1 revision) (flutter/engine#39585) (flutter/flutter#120593)
2023-02-13 19:21:38 +00:00