7289 Commits

Author SHA1 Message Date
d30bdd9f44 [ios_platform_images] Adopt code-excerpts (#5682)
Replaces the Dart example code with a code excerpt.

Part of https://github.com/flutter/flutter/issues/102679
ios_platform_images-v0.2.3+1
2023-12-14 21:33:01 +00:00
05c88b3867 [camera] Fix typo "intialize" in doc comments (#4949)
This PR fixes the typo intialize in the doc comments.
2023-12-14 19:26:40 +00:00
ff71954fa9 Roll Flutter from 11a9cb7029d7 to a51e33ac76e4 (30 revisions) (#5680)
11a9cb7029...a51e33ac76

2023-12-14 engine-flutter-autoroll@skia.org Roll Flutter Engine from 223f4b2465dd to caf33276468b (1 revision) (flutter/flutter#140156)
2023-12-14 engine-flutter-autoroll@skia.org Roll Packages from b5958e2a8b49 to 1151191c8c13 (10 revisions) (flutter/flutter#140154)
2023-12-14 engine-flutter-autoroll@skia.org Roll Flutter Engine from a3f9393f9591 to 223f4b2465dd (1 revision) (flutter/flutter#140151)
2023-12-14 engine-flutter-autoroll@skia.org Roll Flutter Engine from 913446eca57c to a3f9393f9591 (2 revisions) (flutter/flutter#140144)
2023-12-14 engine-flutter-autoroll@skia.org Roll Flutter Engine from 923f9e29d4b5 to 913446eca57c (1 revision) (flutter/flutter#140132)
2023-12-14 engine-flutter-autoroll@skia.org Roll Flutter Engine from 9f7004e3e30e to 923f9e29d4b5 (7 revisions) (flutter/flutter#140130)
2023-12-14 magder@google.com Add self back to CODEOWNERS (flutter/flutter#140080)
2023-12-14 git@reb0.org Adapt wording for required Android SDK for plugins (flutter/flutter#140043)
2023-12-14 andrewrkolos@gmail.com [reland] Support conditional bundling of assets based on `--flavor` (flutter/flutter#139834)
2023-12-14 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Roll Flutter Engine from 9f7004e3e30e to 45b95f264d63 (1 revision)" (flutter/flutter#140123)
2023-12-14 dacoharkes@google.com [deps] update Android SDK to 34 (flutter/flutter#138183)
2023-12-14 engine-flutter-autoroll@skia.org Roll Flutter Engine from 9f7004e3e30e to 45b95f264d63 (1 revision) (flutter/flutter#140108)
2023-12-14 31859944+LongCatIsLooong@users.noreply.github.com Catch `Stopwatch` with static analysis (flutter/flutter#140019)
2023-12-14 goderbauer@google.com Overlay supports unconstrained environments (flutter/flutter#139513)
2023-12-14 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 2.22.10 to 3.22.11 (flutter/flutter#140087)
2023-12-14 rmolivares@renzo-olivares.dev Remove deprecated `ThemeData.selectedRowColor` (flutter/flutter#139080)
2023-12-14 15619084+vashworth@users.noreply.github.com Unpin mac_toolchain version (flutter/flutter#139938)
2023-12-14 chingjun@google.com Optimize file transfer when using proxied devices. (flutter/flutter#139968)
2023-12-14 38378650+hgraceb@users.noreply.github.com Add commonly used parameter names (flutter/flutter#140027)
2023-12-13 engine-flutter-autoroll@skia.org Roll Flutter Engine from fc3267724e1b to 9f7004e3e30e (4 revisions) (flutter/flutter#140090)
2023-12-13 737941+loic-sharma@users.noreply.github.com [Windows] Remove header guard from generated key map (flutter/flutter#140082)
2023-12-13 reidbaker@google.com Do not use project in do last (flutter/flutter#139325)
2023-12-13 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#140024)
2023-12-13 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Warn when Gradle plugins are applied using the legacy "apply script method" way" (flutter/flutter#140102)
2023-12-13 58190796+MitchellGoodwin@users.noreply.github.com Swap iOS back button icon in Material app bar (flutter/flutter#134754)
2023-12-13 engine-flutter-autoroll@skia.org Roll Packages from 80aa46a5a73d to b5958e2a8b49 (10 revisions) (flutter/flutter#140069)
2023-12-13 engine-flutter-autoroll@skia.org Roll Flutter Engine from 9039ac78cf03 to fc3267724e1b (26 revisions) (flutter/flutter#140084)
2023-12-13 barpac02@gmail.com Warn when Gradle plugins are applied using the legacy "apply script method" way (flutter/flutter#139690)
2023-12-13 magder@google.com Add self as bundler dependabot reviewer (flutter/flutter#140081)
2023-12-13 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Make tests more resilient to Skia gold failures and refactor flutter_goldens for extensive technical debt removal" (flutter/flutter#140085)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC dit@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-14 16:49:30 +00:00
77579ba740 [two_dimensional_scrollables] Post 3.16 stable tech debt clean up (#5671)
Fixes https://github.com/flutter/flutter/issues/136933
Fixes https://github.com/flutter/flutter/issues/132782

This cleans up some TODOs in the TableView and its tests after the stable release
- removes an assertion on the builder delegate bounds now that the super class handles the assertions
- refactors all of the golden file tests using PaintPattern, removing all of the golden files and enabling web testing
2023-12-14 15:03:50 +00:00
1151191c8c Bump github/codeql-action from 2.22.8 to 3.22.11 (#5674)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.8 to 3.22.11.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a href="https://github.com/github/codeql-action/releases">releases page</a> for the relevant changes to the CodeQL CLI and language packs.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.22.11 - 13 Dec 2023</h2>
<ul>
<li>[v3+ only] The CodeQL Action now runs on Node.js v20. <a href="https://redirect.github.com/github/codeql-action/pull/2006">#2006</a></li>
</ul>
<h2>2.22.10 - 12 Dec 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.4. <a href="https://redirect.github.com/github/codeql-action/pull/2016">#2016</a></li>
</ul>
<h2>2.22.9 - 07 Dec 2023</h2>
<p>No user facing changes.</p>
<h2>2.22.8 - 23 Nov 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.3. <a href="https://redirect.github.com/github/codeql-action/pull/2001">#2001</a></li>
</ul>
<h2>2.22.7 - 16 Nov 2023</h2>
<ul>
<li>Add a deprecation warning for customers using CodeQL version 2.11.5 and earlier. These versions of CodeQL were discontinued on 8 November 2023 alongside GitHub Enterprise Server 3.7, and will be unsupported by CodeQL Action v2.23.0 and later. <a href="https://redirect.github.com/github/codeql-action/pull/1993">#1993</a>
<ul>
<li>If you are using one of these versions, please update to CodeQL CLI version 2.11.6 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.</li>
<li>Alternatively, if you want to continue using a version of the CodeQL CLI between 2.10.5 and 2.11.5, you can replace <code>github/codeql-action/*@v2</code> by <code>github/codeql-action/*@v2.22.7</code> in your code scanning workflow to ensure you continue using this version of the CodeQL Action.</li>
</ul>
</li>
</ul>
<h2>2.22.6 - 14 Nov 2023</h2>
<ul>
<li>Customers running Python analysis on macOS using version 2.14.6 or earlier of the CodeQL CLI should upgrade to CodeQL CLI version 2.15.0 or later. If you do not wish to upgrade the CodeQL CLI, ensure that you are using Python version 3.11 or earlier, as CodeQL version 2.14.6 and earlier do not support Python 3.12. You can achieve this by adding a <a href="https://github.com/actions/setup-python"><code>setup-python</code></a> step to your code scanning workflow before the step that invokes <code>github/codeql-action/init</code>.</li>
<li>Update default CodeQL bundle version to 2.15.2. <a href="https://redirect.github.com/github/codeql-action/pull/1978">#1978</a></li>
</ul>
<h2>2.22.5 - 27 Oct 2023</h2>
<p>No user facing changes.</p>
<h2>2.22.4 - 20 Oct 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.1. <a href="https://redirect.github.com/github/codeql-action/pull/1953">#1953</a></li>
<li>Users will begin to see warnings on Node.js 16 deprecation in their Actions logs on code scanning runs starting October 23, 2023.
<ul>
<li>All code scanning workflows should continue to succeed regardless of the warning.</li>
<li>The team at GitHub maintaining the CodeQL Action is aware of the deprecation timeline and actively working on creating another version of the CodeQL Action, v3, that will bump us to Node 20.</li>
<li>For more information, and to communicate with the maintaining team, please use <a href="https://redirect.github.com/github/codeql-action/issues/1959">this issue</a>.</li>
</ul>
</li>
</ul>
<h2>2.22.3 - 13 Oct 2023</h2>
<ul>
<li>Provide an authentication token when downloading the CodeQL Bundle from the API of a GitHub Enterprise Server instance. <a href="https://redirect.github.com/github/codeql-action/pull/1945">#1945</a></li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b374143c11"><code>b374143</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/2034">#2034</a> from github/update-v3.22.11-64e61baea</li>
<li><a href="e2b5cc75ce"><code>e2b5cc7</code></a> Update changelog for v3.22.11</li>
<li><a href="64e61baeac"><code>64e61ba</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/2006">#2006</a> from github/nickfyson/node-20</li>
<li><a href="c757f9f6de"><code>c757f9f</code></a> Apply suggestions from code review</li>
<li><a href="7898bc2041"><code>7898bc2</code></a> add pr check for node version consistency</li>
<li><a href="6b5b958063"><code>6b5b958</code></a> remove dedundant single quotes from node version strings</li>
<li><a href="ea1e72c669"><code>ea1e72c</code></a> Update .github/workflows/pr-checks.yml</li>
<li><a href="b974542e9f"><code>b974542</code></a> Merge branch 'main' into nickfyson/node-20</li>
<li><a href="b995212303"><code>b995212</code></a> Bump the actions group with 2 updates (<a href="https://redirect.github.com/github/codeql-action/issues/2024">#2024</a>)</li>
<li><a href="3c1878d8f9"><code>3c1878d</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/2029">#2029</a> from github/mergeback/v2.22.10-to-main-305f6546</li>
<li>Additional commits viewable in <a href="407ffafae6...b374143c11">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=2.22.8&new-version=3.22.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-12-14 09:07:21 +00:00
da7532d30a [ci][web] Ignore always_specify_types for JSArray. (#5669)
The definition of `JSArray` (and `JSPromise`) from `dart:js_interop` is changing to `JSArray<T>`, and our analyzer complains about our usage of it with default `T`s, blocking Dart SDK rolls.

This PR ignores the `always_specify_types` lint in the usages of `JSArray`, so this code passes analysis both with the current version of `dart:js_interop` and the next one.

## Issues

* Fixes https://github.com/flutter/flutter/issues/140076
* Cleanup https://github.com/flutter/flutter/issues/140095
2023-12-13 22:53:33 +00:00
ee593fd2c4 [tool] Add support for .java, .gradle, .sh, and .m files… (#5567)
… to `update-excerpts` tool

Need this tool to recognize `.java`, `.gradle`, and `.sh` files in order to complete [flutter/flutter#102679](https://github.com/flutter/flutter/issues/102679). The `README.md` for the `espresso` package contains code from `.java`, `.gradle`, and `.sh` files.

Support for `.m` files was requested by @tarrinneal.
2023-12-13 21:01:50 +00:00
f455462a6b [google_sign_in] Update (web) example app. (#5634)
## Changes

**google_sign_in:**

* Updates web bootstrap following [Flutter Web initialization docs](https://docs.flutter.dev/platform-integration/web/initialization#skipping-this-step).
* Uses the recent [`web_only` library](https://pub.dev/documentation/google_sign_in_web/0.12.3/web_only/web_only-library.html) to `renderButton`.
* Updates dependencies so it can compile with `--wasm`.

(opportunistic weekend commit) **google_identity_services_web:**

* Adds missing `CredentialSelectBy.fedcm_auto` enum value.
* Bump patch version + changelog.

## Issues

* Fixes https://github.com/flutter/flutter/issues/139852
* Missing bit of https://github.com/flutter/flutter/issues/138202

## Testing

* Deployed to: https://dit-gis-test.web.app
google_identity_services_web-v0.3.0+2
2023-12-13 20:54:26 +00:00
2133991a46 [path_provider] De-flake getExternalStorageDirectories test (#5628)
Fixes the flaky path provider test. 

Directories.listSync will sometimes not return the files in the directory (as discussed in https://github.com/flutter/flutter/issues/139378), but the files are there and (after letting it loop for quite a while and comparing to current flake) they always appear in the output of `Process.runSync('ls', ...)`.
2023-12-13 20:26:56 +00:00
b08f91588d [google_sign_in_web] Stop relying on framework internals. (#5660)
The private `FlexHtmlElementView` widget that backs the `renderButton` method currently relies on internal web engine knowledge (a CSS selector) to work.

This PR reimplements that bit of the `FlexHtmlElementView` so it uses standard framework APIs, and removes its reliance in undocumented behavior.

## Issues

* Related to: https://github.com/flutter/engine/pull/48960
google_sign_in_web-v0.12.3+1
2023-12-13 20:25:06 +00:00
2b53f7253d [Android] Bump Gradle version to 7.6.3 (#5522)
Part of fix for https://github.com/flutter/flutter/issues/138336 by bumping the Gradle version of all package example apps (plus `image_picker_android` plugin) to 7.6.3 from those that had a version below that to fix security vulnerability.

Also fixes a bug I found while using the `update-dependencies` packages tool command that caused it to not catch all of the `gradle-wrapper.properties` files when running with the `gradle` dependency + added a test for the fix.
image_picker_android-v0.8.9+1
2023-12-13 19:21:50 +00:00
12b3d59d18 [google_sign_in] Adopt code excerpts in README (#5521)
Improves README example and updates it to use code excerpts.

Part of [flutter/flutter#102679](https://github.com/flutter/flutter/issues/102679)
google_sign_in-v6.2.1
2023-12-13 19:07:53 +00:00
a0fadd00c2 [css_colors] Adopt code excerpts in README (#5478)
Updates the README to use a compiled excerpt source for its example of importing and using `CSSColors`.

Part of [flutter/flutter#102679](https://github.com/flutter/flutter/issues/102679)
css_colors-v1.1.4
2023-12-13 18:12:09 +00:00
2c5469777c [webview_flutter] Support for handling basic authentication requests (Android) (#5454)
Adds the Android implementation for basic http authentication.

This PR is part of a series of PRs that aim to close https://github.com/flutter/flutter/issues/83556.
The PR that contains all changes can be found at https://github.com/flutter/packages/pull/4140.
webview_flutter_android-v3.13.0
2023-12-13 17:37:07 +00:00
b5958e2a8b [camera, camera_android] Re-enable passing integration tests (#5658)
Re-enables `Capture specific image resolutions` tests that pass, but were previously failing according to https://github.com/flutter/flutter/issues/93686.
2023-12-13 17:29:25 +00:00
9487874ba4 Roll Flutter from 97190973d6f5 to 11a9cb7029d7 (32 revisions) (#5665)
Roll Flutter from 97190973d6f5 to 11a9cb7029d7 (32 revisions)

97190973d6...11a9cb7029

2023-12-13 ian@hixie.ch Make tests more resilient to Skia gold failures and refactor flutter_goldens for extensive technical debt removal (flutter/flutter#139549)
2023-12-12 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 2.22.9 to 2.22.10 (flutter/flutter#140003)
2023-12-12 34871572+gmackall@users.noreply.github.com Allow plugins to use compileSdkPreview (flutter/flutter#131901)
2023-12-12 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#139995)
2023-12-12 15619084+vashworth@users.noreply.github.com Select simulator runtime for tests based on Xcode's preferred runtime build (flutter/flutter#139919)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0c527aa1a215 to 9039ac78cf03 (1 revision) (flutter/flutter#139992)
2023-12-12 pateltirth454@gmail.com [Docs] Added missing `CupertinoApp.showSemanticsDebugger` (flutter/flutter#139913)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 444281eb5c7c to 0c527aa1a215 (2 revisions) (flutter/flutter#139985)
2023-12-12 jason-simmons@users.noreply.github.com Update Gallery lockfiles for the new version of the video_player plugin (flutter/flutter#139832)
2023-12-12 engine-flutter-autoroll@skia.org Roll Packages from cb6dbcdd2305 to 80aa46a5a73d (5 revisions) (flutter/flutter#139982)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 3b77b1b7b42f to 444281eb5c7c (1 revision) (flutter/flutter#139979)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from f8e87ed193f5 to 3b77b1b7b42f (1 revision) (flutter/flutter#139977)
2023-12-12 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#139969)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 4102c7daf1d3 to f8e87ed193f5 (3 revisions) (flutter/flutter#139963)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 95dfb1d4ac75 to 4102c7daf1d3 (1 revision) (flutter/flutter#139961)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 40bfd2dc1519 to 95dfb1d4ac75 (1 revision) (flutter/flutter#139959)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 061ae7023f10 to 40bfd2dc1519 (2 revisions) (flutter/flutter#139958)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 75cfb050cd9a to 061ae7023f10 (1 revision) (flutter/flutter#139955)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from 362d0cb3ab27 to 75cfb050cd9a (1 revision) (flutter/flutter#139954)
2023-12-12 gspencergoog@users.noreply.github.com Fix dayPeriodColor handling of non-MaterialStateColors (flutter/flutter#139845)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from ea1a3069e057 to 362d0cb3ab27 (1 revision) (flutter/flutter#139951)
2023-12-12 xilaizhang@google.com [github actions] Automate Flutter Chery Picks (flutter/flutter#139524)
2023-12-12 engine-flutter-autoroll@skia.org Roll Flutter Engine from d001419b436e to ea1a3069e057 (5 revisions) (flutter/flutter#139948)
2023-12-12 christopherfujino@gmail.com [flutter_tools] catch SocketException writing to ios-deploy stdin (flutter/flutter#139784)
2023-12-11 chillers@google.com [ci.yaml] Add missing ci.yaml to runIf of android hot reload tests (flutter/flutter#139932)
2023-12-11 christopherfujino@gmail.com make the tar c command in prepare_package.dart verbose (flutter/flutter#139687)
2023-12-11 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5c1f13e1e535 to d001419b436e (4 revisions) (flutter/flutter#139941)
2023-12-11 timmaffett@gmail.com fix typo of 'not' instead of 'now' for `useInheritedMediaQuery`  (flutter/flutter#139940)
2023-12-11 engine-flutter-autoroll@skia.org Roll Flutter Engine from 4c309195b79d to 5c1f13e1e535 (2 revisions) (flutter/flutter#139939)
2023-12-11 nathan.wilson1232@gmail.com Implement `switch` expressions in `examples/` and `animation/` (flutter/flutter#139882)
2023-12-11 pateltirth454@gmail.com Renamed `appbar` to `app_bar` directory in API Examples Tests (flutter/flutter#139922)
2023-12-11 gspencergoog@users.noreply.github.com Deprecate `RawKeyEvent`, `RawKeyboard`, et al. (flutter/flutter#136677)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC dit@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
...
2023-12-13 15:46:24 +00:00
ea318b9e57 [url_launcher] Return false on Windows when there is no handler (#5359)
Special-cases the handling of the error for "no registered handler" to return false, rather than throw, which better matches the behavior on other platforms.

Also updates Pigeon to 13 while I'm modifying the Pigeon definition.

Fixes https://github.com/flutter/flutter/issues/138142
url_launcher_windows-v3.1.1
2023-12-13 11:15:24 +00:00
73d2f3eb96 [url_launcher] Simplify Linux implementation (#5376)
The Linux implementation's method channel code was never simplified after the switch from a shared method channel to per-package method channels, so there was still cruft from the cross-platform channel API. This removes everything that's not used by the Linux native implementation, simplifying the protocol.

This also adds direct support for `launchUrl`, so we're no longer relying on the redirection from the deprecated `launch`.
url_launcher_linux-v3.1.1
2023-12-13 01:35:19 +00:00
d9ee0bf7a3 [local_auth]: Bump androidx.fragment:fragment from 1.6.1 to 1.6.2 in /packages/local_auth/local_auth_android/android (#5332)
Bumps androidx.fragment:fragment from 1.6.1 to 1.6.2.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.fragment:fragment&package-manager=gradle&previous-version=1.6.1&new-version=1.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
local_auth_android-v1.0.36
2023-12-12 22:29:48 +00:00
8d3c5068ff [pigeon] Adds @CanIgnoreReturnValue annotation (#5601)
adds @CanIgnoreReturnValue annotation to java class builder method
pigeon-v15.0.1
2023-12-12 19:46:06 +00:00
92bbf65dd2 [image_picker] updates to resize logic. (#5527)
Simplifies resizing logic on ios and android.
Also fixes a bug with resizing https://github.com/flutter/flutter/issues/88901.
Also changes rounding to be closer to original aspect ratio (and consistent across platforms)

fixes https://github.com/flutter/flutter/issues/88901
image_picker_android-v0.8.9 image_picker_ios-v0.8.9
2023-12-12 19:25:48 +00:00
bf6c32c9cc [various] Update examples using video_player (#5653)
Updates examples in other packages (image_picker, camera) that use the deprecated `VideoPlayerController.network` to use the newer `VideoPlayerController.networkUrl` instead.

Fixes https://github.com/flutter/flutter/issues/127754
camera_avfoundation-v0.9.13+8 image_picker-v1.0.5 camera-v0.10.5+7 camera_android_camerax-v0.5.0+24 camera_android-v0.10.8+15
2023-12-12 17:43:43 +00:00
8411522be7 [tools] Validate pubspec topic format (#5565)
Fixes https://github.com/flutter/flutter/issues/139305
2023-12-12 16:44:27 +00:00
4147244c63 [pigeon] Fix Kotlin generator to use provided errorClassName (#5480)
Fix bug with Pigeon Kotlin code generator not using the provided `errorClassName`.

fixes: https://github.com/flutter/flutter/issues/139031

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
pigeon-v15.0.0
2023-12-12 16:21:45 +00:00
80aa46a5a7 Manual roll Flutter from c642f4e012f4 to 97190973d6f5 (25 revisions) (#5648)
Manual roll requested by dit@google.com

c642f4e012...97190973d6

2023-12-11 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5587d26aa2d4 to 4c309195b79d (1 revision) (flutter/flutter#139936)
2023-12-11 rmolivares@renzo-olivares.dev Fix SelectionArea select-word edge cases (flutter/flutter#136920)
2023-12-11 engine-flutter-autoroll@skia.org Roll Flutter Engine from 9b85b76db0de to 5587d26aa2d4 (3 revisions) (flutter/flutter#139933)
2023-12-11 engine-flutter-autoroll@skia.org Roll Flutter Engine from 7eb6b7cab60c to 9b85b76db0de (2 revisions) (flutter/flutter#139931)
2023-12-11 31859944+LongCatIsLooong@users.noreply.github.com Use dart analyze package for `num.clamp` (flutter/flutter#139867)
2023-12-11 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#139926)
2023-12-11 jhy03261997@gmail.com Handle the case when _CupertinoBackGestureDetector is disposed during the drag.  (flutter/flutter#139585)
2023-12-11 barpac02@gmail.com Add accessibility identifier to `SemanticsProperties` (flutter/flutter#138331)
2023-12-11 38378650+hgraceb@users.noreply.github.com Improve slider's value indicator display test (flutter/flutter#139198)
2023-12-11 mateusfccp@gmail.com Add `enabled` property to `ExpansionTile` (flutter/flutter#139519)
2023-12-11 engine-flutter-autoroll@skia.org Roll Packages from 6cd0657c4500 to cb6dbcdd2305 (9 revisions) (flutter/flutter#139911)
2023-12-11 engine-flutter-autoroll@skia.org Roll Flutter Engine from bc0222b64c96 to 7eb6b7cab60c (1 revision) (flutter/flutter#139891)
2023-12-10 engine-flutter-autoroll@skia.org Roll Flutter Engine from fb80aafd259b to bc0222b64c96 (1 revision) (flutter/flutter#139885)
2023-12-09 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#139864)
2023-12-09 engine-flutter-autoroll@skia.org Roll Flutter Engine from b75960a5820a to fb80aafd259b (1 revision) (flutter/flutter#139863)
2023-12-09 engine-flutter-autoroll@skia.org Roll Flutter Engine from e80c090d09c6 to b75960a5820a (1 revision) (flutter/flutter#139853)
2023-12-09 engine-flutter-autoroll@skia.org Roll Flutter Engine from 101396fd3b82 to e80c090d09c6 (2 revisions) (flutter/flutter#139851)
2023-12-09 engine-flutter-autoroll@skia.org Roll Flutter Engine from 503584615fd7 to 101396fd3b82 (2 revisions) (flutter/flutter#139847)
2023-12-09 engine-flutter-autoroll@skia.org Roll Flutter Engine from e9cb19fa637a to 503584615fd7 (1 revision) (flutter/flutter#139837)
2023-12-08 engine-flutter-autoroll@skia.org Roll Flutter Engine from 7dc51b85a634 to e9cb19fa637a (1 revision) (flutter/flutter#139831)
2023-12-08 xilaizhang@google.com [flutter release] Add cherry pick template for pull request description (flutter/flutter#139590)
2023-12-08 engine-flutter-autoroll@skia.org Roll Flutter Engine from 03c5f016e919 to 7dc51b85a634 (1 revision) (flutter/flutter#139829)
2023-12-08 goderbauer@google.com Add Overlay.wrap for convenience (flutter/flutter#139823)
2023-12-08 engine-flutter-autoroll@skia.org Roll Flutter Engine from 72da960e2ef2 to 03c5f016e919 (1 revision) (flutter/flutter#139826)
2023-12-08 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5dd2619c282b to 72da960e2ef2 (1 revision) (flutter/flutter#139821)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC dit@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-12 00:35:53 +00:00
42396ee815 [web_benchmarks] Add support for analyzing benchmark results (#5630)
This PR adds a new top level library `analysis.dart` that exposes
methods:
* `computeDelta`
* `computeAverage`

These were already added to DevTools in
https://github.com/flutter/devtools/pull/6918 and
https://github.com/flutter/devtools/pull/6920, respectively, but I think
it makes more sense to upstream this logic into `package:web_benchmarks`
so that other users of this package can take advantage of it.

As part of this PR, I have updated the README to give an example of how
to use the analysis features.
web_benchmarks-v1.1.0
2023-12-11 16:20:55 -08:00
8163731c48 [pointer_interceptor] Fully publish pointer_interceptor package (#5640)
Addresses https://github.com/flutter/flutter/issues/30143 by adding an iOS implementation, and https://github.com/flutter/flutter/issues/138217 by fixing README links

This PR is Part 3/3 of https://github.com/flutter/packages/pull/5233
pointer_interceptor-v0.10.0
2023-12-11 19:23:21 +00:00
4e400548af Manually roll Flutter (stable) from db7ef5bf9f59 to b0366e0a3f08 (8 revisions) (#5632)
Rolls Flutter (stable) from db7ef5bf9f59 to b0366e0a3f08 (8 revisions).
2023-12-11 15:24:18 +00:00
60eb921c6e Manually roll Flutter from f35d049e0d8e to c642f4e012f4 (92 revisions) (#5631)
Rolls Flutter from f35d049e0d8e to c642f4e012f4 (92 revisions).
2023-12-11 15:24:16 +00:00
cb6dbcdd23 [multicast_dns] Adjust README (#5529)
- Improves link targets to be more directly useful.
- Removes the unnecessary code sections showing an import, since the install tab already demonstrates that.
- Removes the no-longer-needed exemption from the excerpt requirement.

Part of https://github.com/flutter/flutter/issues/102679
multicast_dns-v0.3.2+6
2023-12-09 09:06:19 +00:00
51174d166d [tool] Use ^ for Dart SDK (#5623)
The update-min-sdk command has been using explicitly ranges for the Dart
SDK, because that used to be required. Current versions of `pub` no
longer require that, and using `^` for Dart ranges is okay, so this
updates the tooling to use that format in the future.

Also removes the special casing that changed the upper bound from 3 to
4, since we have passed the point where we are generating upper bounds
less than 4 anyway.

To minimize churn, this doesn't update the existing pubspecs. We can
incrementally adopt this going forward as we roll dependencies forward.

Fixes https://github.com/flutter/flutter/issues/139806
2023-12-08 20:38:30 -08:00
5e81fd5d67 [google_sign_in_web] Migrate to pkg:web. (#5612)
This PR updates `google_sign_in_web` to:

* Use the latest `google_identity_services_web` and `http`
* Use `package:web`

This should allow the package to compile to WASM.

## Issues

* Fixes https://github.com/flutter/flutter/issues/139169
* Needed to https://github.com/flutter/flutter/issues/139170 

## Tests

* All tests should pass (ran locally)
* Demo app compiled to WASM: https://dit-gis-test.web.app
google_sign_in_web-v0.12.3
2023-12-09 01:07:05 +00:00
b99ade61ec [google_maps_flutter] Disable failing iOS tests (#5629)
Disables the tests that have started failing for unknown OOB reasons, in order to fix the tree.

https://github.com/flutter/flutter/issues/139825
2023-12-08 20:40:20 +00:00
935b92f537 Add parse constructors for the BenchmarkResults and BenchmarkScore classes (#5614) web_benchmarks-v1.0.1 2023-12-08 19:01:49 +00:00
b7bf0373a7 [path_provider_android] Disable getExternalStorageDirectories (type: ...) test (#5619)
Disables the `getExternalStorageDirectories (type: ...)` integration test in `path_provider_android` that is extremely flaky (particularly on AVDs running Android 34) to reduce the impact it has had on developer productivity.

Fixes https://github.com/flutter/flutter/issues/139378.
2023-12-08 18:24:24 +00:00
1ded83092c [ci] Fix indentation in labeler.yml (#5625)
Fixes an indentation bug in the config file that causes the task to
fail.
2023-12-08 12:34:51 -05:00
6cae887297 Update labeler to 5.0.0, fix yml format (#5580)
* Manually update labeler to 5.0.0
* Update the labeler yaml format to adhere to requirements in 5.0.0
2023-12-08 16:40:49 +00:00
e848d62097 [url_launcher] Adds documentation that a launch needs to be triggered by a user action (#5143)
Some web browsers, such as Safari, may prevent URL launching if it is not triggered by a user action (e.g. a button click). Even if a user triggers a launch through a button click, if there is a delay due to awaiting a Future before the launch, the browser may still block it. This can be confusing if you don't know it. As https://github.com/flutter/flutter/issues/78524 suggested, should this be documented. Therefore, I added a few sentences to the `launchUrl`.

Please let me know if this documentation is too long or not the right place.

Fixes https://github.com/flutter/flutter/issues/78524
url_launcher_web-v2.2.2 url_launcher-v6.2.2
2023-12-08 15:17:57 +00:00
6cd0657c45 [gis_web] Correct pub.dev changelog entry. (#5613)
The previous push to this package didn't update its pub.dev score/docs [(error log)](https://pub.dev/packages/google_identity_services_web/versions/0.3.0/score/log.txt).

---

This PR attempts to re-publish the package, in the hope that it was a transient error in pub.

~~Maybe workaround for https://github.com/dart-lang/pub-dev/issues/7267~~

It's confirmed that this was a transient error in pub, this PR now just corrects the changelog of the previous change to list the correct dart/flutter versions that are required (and update the dependency definitions to match the rest of the repo)

---
google_identity_services_web-v0.3.0+1
2023-12-08 03:00:28 +00:00
671bd3f271 Add the ability to run web_benchmarks with Wasm (#5611)
This uses the same run flags that the flutter benchmark tests use:
https://github.com/flutter/flutter/blob/master/dev/devicelab/lib/tasks/web_benchmarks.dart#L36-L40

CC @kevmoo
web_benchmarks-v1.0.0
2023-12-07 17:30:30 -08:00
17108a8506 [google_sign_in] Endorse macOS implementation (#5600)
Endorses the new macOS implementation in the app-facing plugin.

Fixes https://github.com/flutter/flutter/issues/46157
google_sign_in-v6.2.0
2023-12-08 01:29:08 +00:00
6e1ffcab57 [go_router_builder] add support to go_router_builder for initializing a ShellRoute with observers (#5563)
[This pr](https://github.com/flutter/packages/pull/2664) added the ability to provide a list of `NavigatorObservers` to a `ShellRoute`.  The equivalent was never added to `go_router_builder`, so this pr provides that functionality.

This is a workaround to [this issue](https://github.com/flutter/flutter/issues/112196) where navigator observers added to a `GoRouter` at the top level do not fire in `ShellRoutes`.  With this change, you can provide `NavigatorObservers` directly to the `ShellRoute`
go_router_builder-v2.4.0
2023-12-07 23:38:00 +00:00
a9ba0fd780 [go_router] Fix(docs): Typo in Update navigation.md (#5545)
Fixed a typo in navigation.md:
```dart
context.go('/123, extra: 'abc');
```
to 
```dart
context.go('/123', extra: 'abc');
```

*List which issues are fixed by this PR. You must list at least one issue.*

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
go_router-v12.1.3
2023-12-07 23:26:19 +00:00
0b78be3c08 [two_dimensional_scrollables] Expose addAutomaticKeepAlives in Table delegates (#5597)
Fixes https://github.com/flutter/flutter/issues/133583

This was waiting on the stable release that add keep alive support. Now it is available in the tableView delegates.
two_dimensional_scrollables-v0.0.5
2023-12-07 19:19:06 +00:00
073bea49a2 [pigeon] Fix pigeon issue_tracker link (#5505)
The current link leads to an empty issues list.

- [NA] I listed at least one issue that this PR fixes in the description above.
- [NA] I added new tests to check the change I am making, or this PR is [test-exempt].
pigeon-v14.0.1
2023-12-07 19:01:27 +00:00
2911b87067 Pointer interceptor implementations (#5594)
This is essentially the same PR as https://github.com/flutter/packages/pull/5500, with pubspec updates
Addresses https://github.com/flutter/flutter/issues/30143 by adding an iOS implementation

This PR is Part 2 of https://github.com/flutter/packages/pull/5233
pointer_interceptor_web-v0.10.0 pointer_interceptor_ios-v0.10.0
2023-12-07 19:01:25 +00:00
15584a394d [gis_web] Migrate to package:web. (#5581)
* Migrates package to use `package:web` so it can be compiled with WASM.
* **Breaking change**: Addresses API mismatches with the latest JS SDK changes.
* Adds some tests to client configuration objects.

(See CHANGELOG.md for a more thorough list of changes)

## Issues

* Fixes: https://github.com/flutter/flutter/issues/138202
* Fixes: https://github.com/flutter/flutter/issues/139167
  * Part of: https://github.com/flutter/flutter/issues/139170

## Tests

* Ran unit/integration tests locally, added a couple more.
* Tested example apps with `flutter run`, both seem to work.
* Tested example apps with `--wasm`, both seem to work.
google_identity_services_web-v0.3.0
2023-12-07 06:55:27 +00:00
57b7d33444 Drop quiver usage in several packages (#5595)
camera: was NOT used at all. Superfluous usage!
google_sign_in_platform_interface: dropping usage was trivial with
  new dart:core APIs
google_sign_in_platform_interface-v2.4.3 camera-v0.10.5+6
2023-12-07 06:33:36 +00:00
70be741f8d [video_player] Unfork publish: for macOS (#5578)
Now that `publish:` is avaiable for macOS on 3.16, remove the forking that compiled that call out for macOS.

Fixes https://github.com/flutter/flutter/issues/135320
video_player_avfoundation-v2.5.3
2023-12-07 03:11:15 +00:00
170267bf25 [web_benchmarks] migrate to pkg:web (#5592)
Drop dart:html
Enables usage via WebAssembly

Fixes https://github.com/flutter/flutter/issues/139577
web_benchmarks-v0.1.0+11
2023-12-07 01:44:23 +00:00