Loïc Sharma
ada8def2c9
Add link to design document archive ( #151489 )
2024-07-11 22:58:04 +00:00
auto-submit[bot]
e5d68ec264
Reverts "Move all Linux Moto G4 tests to mokey in staging ( #151608 )" ( #151620 )
...
Reverts: flutter/flutter#151608
Initiated by: zanderso
Reason for reverting: Overeager cleanup of unused device spec.
Original PR Author: zanderso
Reviewed By: {christopherfujino, jonahwilliams}
This change reverts the following previous change:
Next step of https://github.com/flutter/flutter/issues/148085
2024-07-11 22:40:26 +00:00
Zachary Anderson
9093c1de47
Move all Linux Moto G4 tests to mokey in staging ( #151608 )
...
Next step of https://github.com/flutter/flutter/issues/148085
2024-07-11 15:25:40 -07:00
Michael Goderbauer
43f3252c82
docimports for API samples ( #151606 )
...
Part of https://github.com/flutter/flutter/issues/150800
Turns out: None of these actually need any docImports. They just had broken references.
2024-07-11 20:36:55 +00:00
Michael Goderbauer
fb290b3121
docimports for flutter_goldens, flutter_localizations, flutter_web_plugins, fuchsia_remote_debug_protocol, integration_test ( #151271 )
...
Part of https://github.com/flutter/flutter/issues/150800
2024-07-11 20:15:05 +00:00
Jackson Gardner
17584ab790
Re-enable debug canvaskit e2e tests. ( #151565 )
...
Now that https://github.com/flutter/engine/pull/53718 is fixed, these tests should be fine.
After this, we should be able to close https://github.com/flutter/flutter/issues/147731
2024-07-11 20:05:53 +00:00
Bui Anh Viet
bc3d2feb9c
Fix: Submenu anchor misaligned with child panel in web ( Resolved #151081 ) ( #151294 )
...
Fix: Submenu anchor misaligned with child panel in web (Resolved #151081 )
- The issue comes from different in calculating the position of the menu in web and mobile.
- The calculation is currently base on function `getPositionForChild()` inside `_MenuLayout` in `menu_anchor.dart`, which base on the `anchorRect`
- The calculation of `anchorRect` is from `upperLeft` and `bottomRight`
- `upperLeft` is result of `localToGlobal()` function, which take the `point` arguments to be the base line. Right now, `point` is refer to `Offset.zero`, but it should not be Offset.zero since we having `densityAdjustment`, which is different between web and mobile
- Change `point` from `Offset.zero` to `Offset(dx, -dy)` should fix the error. Use `dx` instead of `-dx` since `dx` already be recalculated refer to the above comment on `densityAdjustment`.
Before:

After:

Issue: https://github.com/flutter/flutter/issues/151081
2024-07-11 19:25:18 +00:00
RamonFarizel
ceced3984f
Replaced {@tool snippet} with {@tool dartpad} in CupertinoTabController ( #151272 )
...
This PR update replace the `{@tool snippet} ` with `{@tool dartpad}` in CupertinoTabController
fixes : #151194
2024-07-11 19:23:20 +00:00
August
d55a5f96c1
feat: Support overriding native endorsed plugins ( #137040 )
...
These changes allow to override existing native endorsed (federated & inline) plugins with e.g. non-endorsed plugin implementations via direct dependencies as described in the section *Platform implementation selection* in the [design doc](https://docs.google.com/document/d/1LD7QjmzJZLCopUrFAAE98wOUQpjmguyGTN2wd_89Srs ).
```yaml
# pubspec.yaml
name: example
dependencies:
my_plugin: ^0.0.1
my_plugin_android_alternative: ^0.0.1
```
Closes #80374 , closes #59657
Related: Override Dart plugins (#87991 , #79669 )
2024-07-11 18:54:01 +00:00
Jefferey Neuffer
90025e2964
expose keyboardType in DropdownMenu #150894 ( #150896 )
...
This PR exposes the `keyboardType` parameter in DropdownMenu, allowing the type of keyboard to be used for the text input to be changed.
fixes #150894
2024-07-11 18:30:57 +00:00
Michael Goderbauer
b13f50a918
docimports for flutter_driver ( #151267 )
...
Part of https://github.com/flutter/flutter/issues/150800
2024-07-11 11:30:26 -07:00
derdilla
defdb958ff
Add TimeOfDay
comparison methods ( #151233 )
...
Implement Comparable for the TimeOfDay class as discussed in #139098 .
Also implements utility methods as `isBefore`, `isAfter` and `isAtSameTimeAs` for convenience and parity with `DateTime` from the dart sdk.
2024-07-11 16:51:35 +00:00
engine-flutter-autoroll
ee0260b41a
Roll Flutter Engine from 6534fbf3c2c1 to 36dccf7bb25c (2 revisions) ( #151577 )
...
6534fbf3c2...36dccf7bb2
2024-07-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from SrAow18WmBW8IDjza... to 0e47sje8wkJ08sGJ6... (flutter/engine#53804 )
2024-07-10 skia-flutter-autoroll@skia.org Roll Dart SDK from c6053ad84f2b to fb546f313557 (1 revision) (flutter/engine#53801 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from SrAow18WmBW8 to 0e47sje8wkJ0
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-11 06:52:25 +00:00
engine-flutter-autoroll
7de634bf25
Roll Flutter Engine from 1c23c8f64076 to 6534fbf3c2c1 (3 revisions) ( #151572 )
...
1c23c8f640...6534fbf3c2
2024-07-10 58529443+srujzs@users.noreply.github.com Remove casts for toDartObject (flutter/engine#53621 )
2024-07-10 dkwingsmt@users.noreply.github.com [macOS] Multiview compositor (flutter/engine#52253 )
2024-07-10 skia-flutter-autoroll@skia.org Roll Dart SDK from dba0dfbd06eb to c6053ad84f2b (3 revisions) (flutter/engine#53798 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-11 00:52:29 +00:00
Victor Sanni
ceeeb7d090
Use correct locale for CupertinoDatePicker
weekday ( #151494 )
...
#120052 introduces the `showDayOfWeek` flag to `CupertinoDatePicker` for mode `CupertinoDatePickerMode.date`, but the default `en` locale from `DefaultCupertinoLocalizations` is always used for the day of the week:
5103d75743/packages/flutter_localizations/lib/src/cupertino_localizations.dart (L116-L119)
This PR introduces a new `intl.DateFormat` `weekdayFormat` to replace the default with the abbreviated weekday for any supported locales.
| Before | After |
| --- | --- |
| <img width="379" alt="Screenshot 2024-07-09 at 5 08 43â¯PM" src="https://github.com/flutter/flutter/assets/77553258/d6899c6b-bd0a-4484-a6a8-3ef1512aeae1 "> | <img width="379" alt="Screenshot 2024-07-09 at 5 08 11â¯PM" src="https://github.com/flutter/flutter/assets/77553258/f320c634-80d1-4f3b-adfd-ed85a9dfc3f6 "> |
Fixes #141875
2024-07-11 00:10:17 +00:00
Michael Goderbauer
a1bd8434b5
doc imports for enum values ( #151548 )
...
To verify that a9e6fefa91
works.
Part of https://github.com/flutter/flutter/issues/150800 .
2024-07-10 21:39:20 +00:00
Gray Mackall
bb637f3128
Reland "Upgrade template Gradle, App AGP, Module AGP, and Kotlin versions, and tests"... but no longer upgrade module AGP version ( #151433 )
...
Relands https://github.com/flutter/flutter/pull/150969 , but removes the upgrade to the module AGP version.
The reason is that a more complicated change is required because in AGP 8.0 software components are no longer generated by default, but rather only generated for variants that are configured to be published using the publishing DSL (see the `android.disableAutomaticComponentCreation` section of https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes ).
That broke our aar initialization script, because the components didn't exist so the `aar` tasks never got [created here](9ff9c67272/packages/flutter_tools/gradle/aar_init_script.gradle (L29)
).
Verified that the one postsubmit that failed now passes (`android_obfuscate_test`)
2024-07-10 21:37:26 +00:00
engine-flutter-autoroll
b0cbfc66ec
Roll Packages from 14341d1800f4 to ea35fc6fb86a (16 revisions) ( #151556 )
...
14341d1800...ea35fc6fb8
2024-07-10 737941+loic-sharma@users.noreply.github.com [camera_avfoundation] Adds Swift Package Manager compatibility (flutter/packages#7080 )
2024-07-10 737941+loic-sharma@users.noreply.github.com [webview_flutter_wkwebview] Adds Swift Package Manager compatibility (flutter/packages#7091 )
2024-07-10 contact@thaun.dev [webview_flutter_web] Migrate to package:web. (flutter/packages#6792 )
2024-07-10 stuartmorgan@google.com [camera] Clean up `maxDuration` code (flutter/packages#7039 )
2024-07-10 reidbaker@google.com Update espresso dependencies (flutter/packages#7048 )
2024-07-09 stuartmorgan@google.com [camera] Fix iOS torch mode regression (flutter/packages#7085 )
2024-07-09 stuartmorgan@google.com [google_maps_flutter] Convert Obj-C->Dart calls to Pigeon (flutter/packages#7086 )
2024-07-09 engine-flutter-autoroll@skia.org Roll Flutter from fafd67d34d68 to 5103d7574361 (27 revisions) (flutter/packages#7084 )
2024-07-09 30872003+misos1@users.noreply.github.com [camera_avfoundation] fix sample times not being numeric after pause/resume. (flutter/packages#6897 )
2024-07-09 stuartmorgan@google.com [camera] Convert Windows to Pigeon (flutter/packages#6925 )
2024-07-09 stuartmorgan@google.com [camera] Deprecate `maxDuration` in platform interface (flutter/packages#7078 )
2024-07-09 stuartmorgan@google.com [google_maps_flutter] Semi-convert remaining iOS host API calls to Pigeon (flutter/packages#7079 )
2024-07-09 stuartmorgan@google.com [path_provider] Remove `win32` (flutter/packages#7073 )
2024-07-08 stuartmorgan@google.com [google_maps_flutter] Move iOS inspector to Pigeon (flutter/packages#6937 )
2024-07-08 49699333+dependabot[bot]@users.noreply.github.com [camera]: Bump com.android.tools.build:gradle from 7.3.0 to 8.5.0 in /packages/camera/camera_android_camerax/android (flutter/packages#7072 )
2024-07-08 49699333+dependabot[bot]@users.noreply.github.com [local_auth]: Bump com.android.tools.build:gradle from 7.3.1 to 8.5.0 in /packages/local_auth/local_auth_android/android (flutter/packages#7069 )
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-flutter-autoroll
Please CC flutter-ecosystem@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-10 21:14:22 +00:00
Tong Mu
b185d0fcf7
[CupertinoActionSheet] Fix padding and font size of buttons ( #151199 )
...
This PR updates the padding and font size of `CupertinoActionSheet`'s buttons to match native.
The rules are derived from measuring on simulators:
- The vertical padding is proportional to font size.
- The horizontal padding is fixed.
- The font size vary with text scaling in a way that doesn't exactly fit into any category within the HIG specification. This PR uses a segmented curve with interpolation to roughly match this non-linear curve.
### Comparison
(Left to right: Native, Flutter after PR, Flutter before PR. The number at the bottom is the system text scale level, from 1 being extra small to 12 being accessibility large 5.)
<img width="1019" alt="image" src="https://github.com/flutter/flutter/assets/1596656/65c2f222-1d6d-4485-b5f7-7d0a0c0ad56a ">
<img width="1141" alt="image" src="https://github.com/flutter/flutter/assets/1596656/bc44e930-4cc8-4af4-944b-3056bb47de69 ">
<img width="1075" alt="image" src="https://github.com/flutter/flutter/assets/1596656/84659081-d518-494d-8b9c-a83fe23b8ffd ">
2024-07-10 21:08:02 +00:00
engine-flutter-autoroll
b9b0784ea4
Roll Flutter Engine from db2b45bea2c0 to 1c23c8f64076 (2 revisions) ( #151550 )
...
db2b45bea2...1c23c8f640
2024-07-10 jacksongardner@google.com Reland (x2) "Output .js files as ES6 modules. (flutter#52023)" (flutter/engine#53718 )
2024-07-10 skia-flutter-autoroll@skia.org Roll Skia from 46e5bf98158a to 2783ba54bf8e (2 revisions) (flutter/engine#53796 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-10 19:05:29 +00:00
Michael Goderbauer
43458fe8e5
Add docImports for flutter_test references ( #151175 )
...
Part of https://github.com/flutter/flutter/issues/150800
Follow-up to cl/648726004
2024-07-10 17:54:50 +00:00
Ian Hickson
32c0c39ea5
Mention not @-mentioning people in commit messages in tree hygiene ( #151487 )
...
Update style guide to include anti pattern of mentioning someone in a comment and the flurry of notifications that result.
Came up in a google contributor roundtable discussion.
2024-07-10 15:06:01 +00:00
engine-flutter-autoroll
515c52679b
Roll Flutter Engine from 371db85f33d7 to db2b45bea2c0 (8 revisions) ( #151522 )
...
371db85f33...db2b45bea2
2024-07-10 chinmaygarde@google.com [Impeller] Fix markdown formatting for blocks with tips. (flutter/engine#53789 )
2024-07-10 98614782+auto-submit[bot]@users.noreply.github.com Reverts "dart:ui - drop deprecated hash functions (#53787 )" (flutter/engine#53794 )
2024-07-10 98614782+auto-submit[bot]@users.noreply.github.com Reverts "web_ui: drop internal hash code library (#53783 )" (flutter/engine#53793 )
2024-07-10 skia-flutter-autoroll@skia.org Manual roll Dart SDK from ffc8bb004a64 to dba0dfbd06eb (23 revisions) (flutter/engine#53791 )
2024-07-10 codefu@google.com Impeller really wants premultiplied alpha (flutter/engine#53770 )
2024-07-09 kevmoo@users.noreply.github.com dart:ui - drop deprecated hash functions (flutter/engine#53787 )
2024-07-09 chinmaygarde@google.com [Impeller] Validation errors in tests cause GTest failures. (flutter/engine#53786 )
2024-07-09 chinmaygarde@google.com [Impeller] Update docs that specify how to select the Impeller backend. (flutter/engine#53788 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-10 07:40:26 +00:00
Yegor
fe07fb4eba
fix heading level absorption, diagnostics; add tests and an a11y use-case ( #151421 )
...
Multiple fixes related to heading levels:
* Fix heading level absorption. Heading level would get erased when a semantics config is absorbed into another. With this change the highest heading level wins.
* Add `headingLevel` to the diagnostics of `SemanticsNode`.
* Add unit-tests for heading levels.
* Add an a11y use-case for headings.
Improves https://github.com/flutter/flutter/issues/46789 and general accessibility of headings.
2024-07-10 05:11:38 +00:00
engine-flutter-autoroll
72f83d3237
Roll Flutter Engine from 9d943eb2b37a to 371db85f33d7 (3 revisions) ( #151505 )
...
9d943eb2b3...371db85f33
2024-07-09 chinmaygarde@google.com [Impeller] Validation logs indicate where in code the validation error happened. (flutter/engine#53784 )
2024-07-09 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from yYs6rINJxWJ8J2vxo... to SrAow18WmBW8IDjza... (flutter/engine#53785 )
2024-07-09 kevmoo@users.noreply.github.com web_ui: drop internal hash code library (flutter/engine#53783 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from yYs6rINJxWJ8 to SrAow18WmBW8
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-10 01:00:36 +00:00
engine-flutter-autoroll
932829a5c3
Roll Flutter Engine from d3269d5855a7 to 9d943eb2b37a (5 revisions) ( #151495 )
...
d3269d5855...9d943eb2b3
2024-07-09 chinmaygarde@google.com Avoid using a private GTest macro to skip tests. (flutter/engine#53782 )
2024-07-09 jonahwilliams@google.com [Impeller] Use downsample shader for blur instead of mip levels. (flutter/engine#53760 )
2024-07-09 jonahwilliams@google.com [engine] support combined UI/Platform thread for iOS/Android. (flutter/engine#53656 )
2024-07-09 chinmaygarde@google.com [Impeller] Enable framebuffer fetch tests disabled on OpenGL ES. (flutter/engine#53766 )
2024-07-09 jonahwilliams@google.com [Impeller] implement experimental canvas in snapshot controller. (flutter/engine#53750 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-10 00:00:06 +00:00
Mouad Debbar
a99042e102
Update doc of SemanticsProperties.identifier
( #149915 )
...
Updating the docs to reflect the change in https://github.com/flutter/engine/pull/53278 .
`Semantics(identifier: '...')` can now be used on web to facilitate testing and DOM lookup when it comes to semantics nodes.
2024-07-09 23:09:15 +00:00
Polina Cherkasova
745d2b4d2a
Clean up leaky test. ( #151131 )
2024-07-09 15:54:17 -07:00
flutter-pub-roller-bot
5f7564d989
Roll pub packages ( #151492 )
...
This PR was generated by `flutter update-packages --force-upgrade`.
2024-07-09 22:47:35 +00:00
Valentin Vignal
5c2c39b2f2
testAdd tests for stepper.controls_builder.0.dart ( #150669 )
...
Contributes to https://github.com/flutter/flutter/issues/130459
It adds a test for
- `examples/api/lib/material/stepper/stepper.controls_builder.0.dart`
2024-07-09 22:13:12 +00:00
Mouad Debbar
8d01fe0565
Add Semantics Property linkUrl
( #150639 )
...
The new property allows the user to specify a URI for their semantics link node. On the web, it sets the `href` of the anchor element associated with semantics node.
This is going to unlock better semantics support in the Link widget on web ([PR](https://github.com/flutter/packages/pull/6711 )).
Engine counterpart: https://github.com/flutter/engine/pull/53507
Fixes https://github.com/flutter/flutter/issues/150263
2024-07-09 22:02:08 +00:00
engine-flutter-autoroll
3bd29677b9
Roll Flutter Engine from 4a2ac0e51a8f to d3269d5855a7 (1 revision) ( #151488 )
...
4a2ac0e51a...d3269d5855
2024-07-09 chinmaygarde@google.com [Impeller] Disable OpenGL dithering by default. (flutter/engine#53768 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-09 21:26:15 +00:00
Gray Mackall
72d75959a0
Link engine docs on AS setup in flutter/flutter docs on engine contributor setup ( #151481 )
...
Links to the docs on Android Studio setup.
2024-07-09 20:35:42 +00:00
engine-flutter-autoroll
284116c085
Roll Flutter Engine from 69075e7e87d4 to 4a2ac0e51a8f (21 revisions) ( #151482 )
...
69075e7e87...4a2ac0e51a
2024-07-09 bdero@google.com Revert 4 Dart rolls (726cb2467 -> ffc8bb004) to recover engine roll (flutter/engine#53778 )
2024-07-09 skia-flutter-autoroll@skia.org Roll Dart SDK from 33b65d2fe034 to 726cb2467f27 (1 revision) (flutter/engine#53776 )
2024-07-09 skia-flutter-autoroll@skia.org Roll Skia from 9a6f8dfb9102 to 46e5bf98158a (1 revision) (flutter/engine#53775 )
2024-07-09 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 4.3.3 to 4.3.4 (flutter/engine#53774 )
2024-07-09 skia-flutter-autoroll@skia.org Roll Skia from ced941fdddc4 to 9a6f8dfb9102 (1 revision) (flutter/engine#53773 )
2024-07-09 skia-flutter-autoroll@skia.org Roll Dart SDK from 0ecada960645 to 33b65d2fe034 (2 revisions) (flutter/engine#53772 )
2024-07-09 skia-flutter-autoroll@skia.org Roll Skia from 9edafde22cb3 to ced941fdddc4 (2 revisions) (flutter/engine#53769 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Dart SDK from 1679aba20a03 to 0ecada960645 (1 revision) (flutter/engine#53767 )
2024-07-08 dustingreen@google.com [fuchsia][sysmem2] move to sysmem2 protocols (flutter/engine#53138 )
2024-07-08 chinmaygarde@google.com [Impeller] Exploit dynamic state in OpenGL for fewer program links. (flutter/engine#53764 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from Em1nantnFXXK8xJH9... to yYs6rINJxWJ8J2vxo... (flutter/engine#53763 )
2024-07-08 jonahwilliams@google.com [Impeller] fix incorrect padding/translation in drawVertices with texture coordinates. (flutter/engine#53746 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Skia from c65710d00047 to 9edafde22cb3 (3 revisions) (flutter/engine#53762 )
2024-07-08 jonahwilliams@google.com [Impeller] implement clear color opt for experimental canvas. (flutter/engine#53749 )
2024-07-08 jonahwilliams@google.com [Impeller] add experimental canvas support to screenshotter. (flutter/engine#53751 )
2024-07-08 chinmaygarde@google.com Add a host_debug_unopt local engine config for Windows. (flutter/engine#53734 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Dart SDK from ffc8bb004a64 to 1679aba20a03 (16 revisions) (flutter/engine#53761 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Skia from 38b17b22312d to c65710d00047 (2 revisions) (flutter/engine#53758 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Skia from b2c51b2fe15f to 38b17b22312d (1 revision) (flutter/engine#53757 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Skia from 1f85fb9238aa to b2c51b2fe15f (3 revisions) (flutter/engine#53756 )
2024-07-08 skia-flutter-autoroll@skia.org Roll Skia from f1d06de0ae87 to 1f85fb9238aa (2 revisions) (flutter/engine#53753 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from Em1nantnFXXK to yYs6rINJxWJ8
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-09 20:17:23 +00:00
Taha Tesser
850d76db74
Fix Material 3 Dialog
default background color ( #151400 )
...
fixes [[Material 3] Wrong `Dialog` background color from ColorScheme](https://github.com/flutter/flutter/issues/148849
)
### Code sample
<details>
<summary>expand to view the code sample</summary>
```dart
import 'package:flutter/material.dart';
/// Flutter code sample for [showDialog].
void main() => runApp(const ShowDialogExampleApp());
class ShowDialogExampleApp extends StatelessWidget {
const ShowDialogExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: const DialogExample(),
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.green,
surfaceContainerHigh: Colors.amber,
),
),
);
}
}
class DialogExample extends StatelessWidget {
const DialogExample({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('showDialog Sample')),
body: Center(
child: OutlinedButton(
onPressed: () => _dialogBuilder(context),
child: const Text('Open Dialog'),
),
),
);
}
Future<void> _dialogBuilder(BuildContext context) {
return showDialog<void>(
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: const Text('Basic dialog title'),
content: const Text(
'A dialog is a type of modal window that\n'
'appears in front of app content to\n'
'provide critical information, or prompt\n'
'for a decision to be made.',
),
actions: <Widget>[
TextButton(
style: TextButton.styleFrom(
textStyle: Theme.of(context).textTheme.labelLarge,
),
child: const Text('Disable'),
onPressed: () {
Navigator.of(context).pop();
},
),
TextButton(
style: TextButton.styleFrom(
textStyle: Theme.of(context).textTheme.labelLarge,
),
child: const Text('Enable'),
onPressed: () {
Navigator.of(context).pop();
},
),
],
);
},
);
}
}
```
</details>
### Before
<img width="674" alt="Screenshot 2024-07-08 at 14 26 39" src="https://github.com/flutter/flutter/assets/48603081/a95160f5-947e-4a6e-a3a5-82c94980c744 ">
### After
<img width="674" alt="Screenshot 2024-07-08 at 14 26 28" src="https://github.com/flutter/flutter/assets/48603081/fa912519-2a79-4fd5-a695-6e18542f0005 ">
2024-07-09 19:55:47 +00:00
Andrew Kolos
5103d75743
[tool] Remove some usages of deprecated usage package ( #151359 )
...
Partially addresses https://github.com/flutter/flutter/issues/150575 and https://github.com/flutter/flutter/issues/150665
Will require a g3fix.
2024-07-09 18:17:21 +00:00
Kenzie Davisson
5ebc993dff
Write the package config location to the test bootstrap. ( #150440 )
...
Work towards. This is the Flutter companion to
https://github.com/dart-lang/test/pull/2245 . Work towards
https://github.com/dart-lang/test/issues/2246 .
2024-07-09 09:36:19 -07:00
Daco Harkes
9ab8b6e150
[deps] Roll dart-lang/native packages ( #151403 )
...
Pass in the minimum iOS and MacOS version.
Roll dart-lang/native deps.
Related issues:
* https://github.com/flutter/flutter/issues/145104
* Relevant discussion: https://github.com/flutter/flutter/pull/148504
2024-07-09 07:41:35 +00:00
Andrew Kolos
c206a47505
[tool] make testUsingContext
provide a Stdio
(with hasTerminal
unset) override by default ( #151357 )
...
While exploring https://github.com/flutter/flutter/issues/107607 , I noticed that flutter_tools test results change based on whether `dart test` is run from a terminal or from a process (such as a Dart program). I also ran into this while writing tests for https://github.com/flutter/flutter/pull/150667 .
This is due to tests that rely on the global `Stdio` instance, on which the `hasTerminal` property depends on whether the tool is being invoked from a terminal.
Ideally, `testUsingContext` would require any tests that depend on `globals.stdio` to define an override for `Stdio`, but this is not the case. Until a solution to this more general problem is figured out, I think we should have `testUsingContext` always provide a `Stdio` override by default.
2024-07-08 23:47:31 +00:00
PurplePolyhedron
f194cd3298
Make FittedBox
not throw when child has zero size. ( #150430 )
...
fix https://github.com/flutter/flutter/issues/135082 , fix https://github.com/flutter/flutter/issues/139539 , fix https://github.com/flutter/flutter/issues/142910
Before, `FittedBox` would throw when child size is zero, unless the constraint is tight and fit is not `BoxFit.scaleDown`.
2024-07-08 22:51:04 +00:00
Nate Wilson
a3c7094d7d
Update DataTable
documentation ( #151356 )
...
This PR resolves [some problems I was having with `DataTable`](https://github.com/flutter/flutter/issues/151005 ), based on advice from the style guide:
> ### Answer your own questions straight away
> If you find yourself asking a question about our systems, please place whatever answer you subsequently discover into the documentation in the same place where you first looked for the answer. That way, the documentation will consist of answers to real questions, where people would look to find them.
The `DataTable` documentation now specifies that the widget is based on the Material 2 spec, and it offers a list of useful alternatives.
<br>
Additionally, an item in the "See also" section was updated to use a reliable Go link:
```diff
- /// * <https://material.io/design/components/data-tables.html >
+ /// * <https://material.io/go/design-data-tables >
```
2024-07-08 22:08:19 +00:00
Nate Wilson
e1a6f763f9
MaterialState
→ WidgetState
in documentation (#151376 )
...
Documentation was migrated as follows:
1. did a RegEx search for `(///.*)MaterialState` and replaced with `$1WidgetState`
2. made sure that `MaterialStateOutlineInputBorder` & `MaterialStateUnderlineInputBorder` were unaffected
3. removed unused imports
<br>
The following files & directories were excluded:
- examples/
- packages/flutter/test/
- material_state.dart
- material_state_mixin.dart
- widget_state.dart
<br>
I believe this should be very straightforward, but I'd also be happy to break the PR in half to make it easier to review.
(related: #151373 )
2024-07-08 21:12:04 +00:00
hellohuanlin
86ac077fb5
[ios]A typical news app benchmark with bottom ad banner ( #150991 )
...
This is a very common usage of ad so we want to make sure it's performant.
From the video, it scrolls quite smoothly, but we want to see the numbers, and keep monitoring it in case of regression.
https://github.com/flutter/flutter/assets/41930132/c7811c15-ac07-4989-a8a9-3c128e08cbe0
*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*
Fixes https://github.com/flutter/flutter/issues/150230
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-07-08 21:01:58 +00:00
Greg Spencer
c082abe629
Re-enable SemanticsAction.focus
matchers ( #150990 )
...
## Description
This re-enables the `SemanticsAction.focus` matchers so that they actually do something now instead of ignoring the action.
This was so that we could land the focus action changes without causing breakages in customer tests, and now that customer tests have been updated, we can land this PR turning it on again.
## Related Issues
- Fixes https://github.com/flutter/flutter/issues/149842
## Related PRs
- https://github.com/flutter/flutter/pull/149840
## Tests
- Updates semantics tests to actually look for the focus action.
2024-07-08 21:01:56 +00:00
Hans Muller
f2be1260df
Added SliverFloatingHeader.snapMode ( #151289 )
...
When a user scroll gesture ends, Material Design floating headers snap into place by animating as far as needed and overlaying the underlying scrollable content. For example Gmail's search header works this way. Other apps handle the snap animation by scrolling content out of the way. Instagram for example.
Added `SliverFloatingHeader.snapMode`, whose value can be `FloatingHeaderSnapMode.overlay` (the default) or `FloatingHeaderSnapMode.scroll`, so that developers can choose the snap animation style they want.
| FloatingHeaderSnapMode.overlay | FloatingHeaderSnapMode.scroll |
| --- | --- |
| <video src="https://github.com/flutter/flutter/assets/1377460/05c82ddf-05a6-4431-9b1e-88b901feea68 " /> | <video src="https://github.com/flutter/flutter/assets/1377460/fedc34de-0b55-4f0d-976f-2df1965c90bc " /> |
2024-07-08 19:33:14 +00:00
Nate Wilson
b713445298
Factor out deprecated names in example code ( #151374 )
...
This PR contains:
- 3 instances of `colorScheme.background` â `colorScheme.surface`
- and a whole bunch of `MaterialState` â `WidgetState`
As of yet, no changes have been made to example test files or the [examples/api/lib/material/material_state/](0b2a8e589e/examples/api/lib/material/material_state
) directory.
(related: #151373 )
2024-07-08 19:06:54 +00:00
cedvdb
0a4f1a7e55
Add cedric vanden bosch to authors ( #151313 )
...
Add myself to authors. [test-exempt]
2024-07-08 17:21:14 +00:00
engine-flutter-autoroll
1d9c42f3aa
Roll Packages from 97bad7ecf569 to 14341d1800f4 (5 revisions) ( #151417 )
...
97bad7ecf5...14341d1800
2024-07-08 49699333+dependabot[bot]@users.noreply.github.com [sign_in]: Bump com.android.tools.build:gradle from 7.2.1 to 8.5.0 in /packages/google_sign_in/google_sign_in_android/android (flutter/packages#7070 )
2024-07-08 49699333+dependabot[bot]@users.noreply.github.com [path_provider]: Bump com.android.tools.build:gradle from 7.3.1 to 8.5.0 in /packages/path_provider/path_provider_android/android (flutter/packages#7068 )
2024-07-07 engine-flutter-autoroll@skia.org Roll Flutter from af913a75b5d2 to fafd67d34d68 (41 revisions) (flutter/packages#7062 )
2024-07-06 ian@hixie.ch [rfw] Update goldens. (flutter/packages#6941 )
2024-07-06 stuartmorgan@google.com [google_maps_flutter] Moves Java->Dart calls to Pigeon (flutter/packages#7040 )
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-flutter-autoroll
Please CC flutter-ecosystem@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: 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
2024-07-08 16:56:25 +00:00
Sam Rawlins
00d49b20e0
Update doc-import to primary configured import, _goldens_io.dart ( #151390 )
...
There is a... restriction in dartdoc, such that a library which is
`@docImport`ed in one library, must be otherwise regularly imported in
some other library. Without this case, dartdoc gets a bit lost about
where the doc-imported library is.
Combine this restriction with analyzer's restriction that it doesn't
super duper handle configuration imports. Since `_goldens_io.dart` is
the "primary" import in all other files, and `_goldens_web.dart` is the
"configured" import, we must only doc-import `_goldens_io.dart`.
2024-07-08 09:55:55 -07:00
Taha Tesser
f080102350
[Reland] - Enable explicitChildNodes
for the AlertDialog
content ( #149597 )
...
Fixes the semantics of AlertDialog.
2024-07-08 09:47:20 -07:00