Commit graph

32564 commits

Author SHA1 Message Date
engine-flutter-autoroll d0d13c5456
51b84d69b Roll Fuchsia Mac SDK from qYE6uXjRtAxy7p5HB... to qk9nUlw83EeMMaWmE... (flutter/engine#38380) (#117273) 2022-12-17 23:10:36 +00:00
engine-flutter-autoroll 9daf2a67e7
Roll Flutter Engine from 3626c487a610 to 7e296985f426 (2 revisions) (#117270)
* 1ae4c7c35 [Impeller Scene] Fix crasher for nodes with no meshes (flutter/engine#38374)

* 7e296985f [Impeller] Move GetSecondsElapsed to Playground (flutter/engine#38375)
2022-12-17 21:28:34 +00:00
engine-flutter-autoroll a82c556a12
3626c487a Add a missing include to display_list_matrix_clip_tracker.h (flutter/engine#38371) (#117269) 2022-12-17 20:36:33 +00:00
Lucas.Xu b20a9e0a37
imporve gesture recognizer semantics test cases (#117257) 2022-12-17 21:00:46 +01:00
engine-flutter-autoroll 7b850ef375
f74dd5331 Roll Fuchsia Linux SDK from H6B0UgW07fc1nBtnc... to PqyqxdbUFyd8xoYIP... (flutter/engine#38377) (#117262) 2022-12-17 12:05:35 +00:00
engine-flutter-autoroll cee3e6cc3d
b10769998 Even though the file is pure C code, it's useful to use a C++ or Objective-C++ filename in order to use FML (assertions) in the implementation. (flutter/engine#38365) (#117260) 2022-12-17 09:03:24 +00:00
engine-flutter-autoroll 427b2fb429
901b455d0 Roll Fuchsia Mac SDK from bn5VF1-xDf-wKjIw8... to qYE6uXjRtAxy7p5HB... (flutter/engine#38373) (#117258) 2022-12-17 08:16:23 +00:00
Michael Goderbauer bf5fdb9f96
Reland "Inject current FlutterView into tree and make available via View.of(context) (#116924)" (#117244)
* Reland "Inject current `FlutterView` into tree and make available via `View.of(context)` (#116924)"

This reverts commit 9102f2fe0b.

* remove window placeholder
2022-12-17 06:14:19 +00:00
engine-flutter-autoroll 0a2a1d91cf
d45d375ae [iOS, macOS] Migrate from assert to FML_DCHECK (flutter/engine#38368) (#117256) 2022-12-17 04:32:27 +00:00
engine-flutter-autoroll c9dd458470
42689eafb Sped up FlutterStandardCodec writing speed. (flutter/engine#38345) (#117249) 2022-12-17 00:50:24 +00:00
engine-flutter-autoroll 36d536a320
Roll Flutter Engine from d91e20879a67 to 60cf34e2abf1 (4 revisions) (#117246)
* 1fe1ec414 Clarify semantics action dispatch id parameter (flutter/engine#38356)

* 985f4ac51 Ensure licenses excluded file list has newline at EOF (flutter/engine#38354)

* 4097c333f Update documentation to use `--local-web-sdk` flags. (flutter/engine#38328)

* 60cf34e2a Remove DisplayList's dependency on SkAutoTMalloc (flutter/engine#38359)
2022-12-17 00:00:25 +00:00
engine-flutter-autoroll 5018a6c1fe
Roll Flutter Engine from 29196519c124 to d91e20879a67 (29 revisions) (#117242)
* e28b26e1d [linux] Allow overriding asset, ICU data path (flutter/engine#38296)

* 35bdb8bfc Roll Skia from 9f728d78f10d to f549128104ba (1 revision) (flutter/engine#38319)

* 97e246cb5 Roll Dart SDK from 358d0d1aa3e7 to 1dd5b1bf1099 (7 revisions) (flutter/engine#38320)

* d9580a5e7 Migrate iOS text input plugin to use ARC (flutter/engine#38179)

* c9e9fa5a9 Update web_sdk -> package test dependency to get updated package matcher (flutter/engine#38323)

* a7ec07f13 [fuchsia] Manually roll Fuchsia Linux SDK. (flutter/engine#38324)

* 61e95bacb Remove doc reference to the compute method (flutter/engine#38246)

* 353d6949e make sure CanvasRecorder updates clip bounds methods (flutter/engine#38325)

* 47a358c5e Started using FlutterEngineGroups by default on Android  (flutter/engine#37822)

* 7d8e10652 Bump github/codeql-action from 2.1.35 to 2.1.36 (flutter/engine#38210)

* 8915b81d4 Update buildroot to b2ab6e1908b3eb2. (flutter/engine#38329)

* 4fe620643 Revert "Roll Dart SDK from 358d0d1aa3e7 to 1dd5b1bf1099 (7 revisions) (#38320)" (flutter/engine#38331)

* 2ff490c1e Roll Skia from f549128104ba to 5e69caecd166 (11 revisions) (flutter/engine#38333)

* 22251857f Add missing include to FlutterThreadSynchronizer (flutter/engine#38337)

* 467cfd7ef Roll Fuchsia Mac SDK from VEOIaacOA75U7PYyz... to KtItDj-MERuua77aS... (flutter/engine#38339)

* 010f4ee7a Roll Fuchsia Linux SDK from zwfwHRSLdmV61hYqe... to urDNtEiHFAcBBhYe0... (flutter/engine#38340)

* 773b43571 Sped up reading with FlutterStandardCodec. (flutter/engine#38327)

* 70439f606 Roll Skia from 5e69caecd166 to 62f22c9c7d67 (3 revisions) (flutter/engine#38341)

* bc1647f0d Roll the test package used by Web in preparation for a Dart 3 SDK roll (flutter/engine#38342)

* cac228aff Roll Dart SDK from 358d0d1aa3e7 to 7b4d4ec3cad1 (14 revisions) (flutter/engine#38344)

* 13ae6eb75 Revert "Started using FlutterEngineGroups by default on Android  (#37822)" (flutter/engine#38351)

* ed8063861 Add an explicit constraint on the matcher package version to ensure Dart 3 compatibility (flutter/engine#38352)

* dcafebf44 Roll Skia from 62f22c9c7d67 to 1b1f53d77ced (1 revision) (flutter/engine#38343)

* 6f6158580 Roll Fuchsia Mac SDK from KtItDj-MERuua77aS... to bn5VF1-xDf-wKjIw8... (flutter/engine#38348)

* 0c00bc0a9 Remove 30fps cap from playgrounds (flutter/engine#38347)

* 38340bb57 [Impeller] Fix SceneC crash for nodes with children (flutter/engine#38346)

* 3a6b3f986 Roll Fuchsia Linux SDK from urDNtEiHFAcBBhYe0... to H6B0UgW07fc1nBtnc... (flutter/engine#38357)

* 81b453535 Roll Skia from 1b1f53d77ced to 7b0a9d9a3008 (8 revisions) (flutter/engine#38358)

* d91e20879 Port touch-based tests from embedder integration test (flutter/engine#38234)
2022-12-16 23:14:21 +00:00
gaaclarke 93c581a72e
Formatted and removed lints from devicelab README.md (#117239) 2022-12-16 23:14:18 +00:00
Jackson Gardner ebeb491895
Use the name of errors, not the diagnostic messages. (#117229)
* Use the name of errors, not the diagnostic messages.

* Trailing comma.
2022-12-16 22:19:55 +00:00
htoor3 98e9032ca3
[web] Allow shift + left/right keyboard shortcuts to be handled by framework on web (#117217)
* Remove DoNothing actions for shift + left/right keyboard shorcuts on web and add tests

* Fix spacing

* Add select all left/right cases + tests
2022-12-16 22:12:41 +00:00
Drew Roen 0604a0e1e6
Add a recursive flag to the zip command - currently it is zipping nothing (#117227) 2022-12-16 21:15:20 +00:00
Greg Spencer ecf9b2d20a
Update localization of shortcut labels in menus (#116681)
* Fix Menu shortcut labels

* Remove invalid localizations

* Add more localization for Shift

* Add generated localizations

* Fix Test
2022-12-16 19:57:17 +00:00
LongCatIsLooong 3d0607b543
Defer systemFontsDidChange to the transientCallbacks phase (#117123)
* Always defer systemFontsDidChange to transientCallbacks phase

* unnecessary import
2022-12-16 19:27:03 +00:00
Casey Hillers 9102f2fe0b
Revert "Inject current FlutterView into tree and make available via View.of(context) (#116924)" (#117214)
This reverts commit a34e419484.
2022-12-16 17:48:23 +00:00
chunhtai 23a2fa31d2
Reland "Adds API in semanticsconfiguration to decide how to merge chi… (#116895)
* Reland "Adds API in semanticsconfiguration to decide how to merge child semanticsConfigurations (#110730)"

This reverts commit 7549925c8c.

* makes markNeedsSemanticsUpdate more robust

* address comment
2022-12-16 17:20:20 +00:00
engine-flutter-autoroll ab47fc304c
Roll Plugins from 78de28ca21c7 to cbcf50726fb9 (3 revisions) (#117213)
* 6c0df1a0c Roll Flutter (stable) from b8f7f1f986 to 135454af32 (6 revisions) (flutter/plugins#6850)

* 6bba84334 [webview_flutter_android] Copies Android implementation of webview_flutter from v4_webview (flutter/plugins#6851)

* cbcf50726 [webview_flutter_wkwebview] Copies iOS implementation of webview_flutter from v4_webview (flutter/plugins#6852)
2022-12-16 15:50:25 +00:00
Eilidh Southren da7b8327e4
Bottom App Bar M3 background color fix (#117082)
* Bottom App Bar M3 background color fix

* update test

* test update

* remove whitespace
2022-12-16 09:03:40 +00:00
Lucas.Xu 80e1008cbc
fix: #110342 unable to update rich text widget gesture recognizer (#116849) 2022-12-16 09:32:09 +01:00
LongCatIsLooong 76bb8ead5a
Reland "Fix text field label animation duration and curve" (#114646)"
This reverts commit 9f6090c9ad.
2022-12-15 19:38:53 -08:00
godofredoc fa711f77e0
Run packaging on presubtmit. (#116943)
* Run packaging on presubtmit.

Test release package generation on presubmit.

Bug: https://github.com/flutter/flutter/issues/28618
Bug: https://github.com/flutter/flutter/issues/60706

* Run packaging_test on all branches.
2022-12-16 02:37:19 +00:00
Jason Simmons 7336312b0b
Do not filter the stderr output of "flutter run" in the devicelab run tests (#117188) 2022-12-16 01:57:14 +00:00
Christopher Fujino c7cb5f3f5b
[flutter_tools] pin package intl and roll pub packages (#117168)
* pin package intl and roll pub packages

* add test

* fix analysis
2022-12-16 00:34:51 +00:00
Michael Goderbauer a34e419484
Inject current FlutterView into tree and make available via View.of(context) (#116924)
* enable View.of

* tests

* ++

* greg review

* rewording

* hide view from public
2022-12-16 00:13:56 +00:00
fzyzcjy 86b62a3c21
Tiny fix about outdated message (#114391) 2022-12-15 16:06:44 -08:00
godofredoc a41c447c8b
Pass dimension explicitly to mac x64 packaging. (#117172)
Without passing this dimension there is a chance that the build will
run on a arm64 machine.
2022-12-15 23:19:09 +00:00
hellohuanlin 0916375f44
[tools]Build IPA validation UI Polish (#116744)
* [tools]some ui polish for build ipa validation

* do not print out a few success validations

* rename installed type to success for more general usage

* forgot nit after reverting custom validation types and re-use doctor types
2022-12-15 14:43:32 -08:00
hangyu c98978ae36
Update Navigator updatePages() (#116945)
* Update navigator.dart

* Update navigator.dart

* Add test

* Update navigator.dart

* lint

* Update packages/flutter/test/widgets/navigator_test.dart

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

* Update packages/flutter/test/widgets/navigator_test.dart

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

Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>
2022-12-15 14:30:21 -08:00
dependabot[bot] 91c1c70bd0
Bump ossf/scorecard-action from 2.0.6 to 2.1.0 (#117170)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](99c53751e0...937ffa90d7)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 22:25:55 +00:00
Christopher Fujino 1eaf5c0f08
[flutter_tools] tree shake icons from web builds (#115886)
* wip

* remove temp text file

* fix tests

* add test

* default to off

* restore gitignore

* update

* apply annotation to cupertino icons as well

* update reference to library in icon_tree_shaker.dart

* update tests

* fix tests

* remove hack to skip non-const check on web

* add hint about how much reduction and test
2022-12-15 22:13:17 +00:00
Jenn Magder ada4460502
Audit covariant usage in tool (#116930) 2022-12-15 11:59:34 -08:00
stuartmorgan f1d157bc29
Add an integration test to plugin template example (#117062)
* Add an integration test to plugin template example

Dart unit tests don't exercise host-side plugin code at all, so the
example tests in the plugin template currently have very little
meaningful coverage. This adds an integration test to the example app
when creating a plugin, so that there's an example of how to actually
test that a complete round-trip plugin call works.

This is done as a separate template that's currently only used by the
plugin template because I don't know what a good example for a
non-plugin case would be that isn't largely just a duplicate of the
widget tests. However, the integration test pre-includes conditionals
around the parts that are plugin-specific so that it can more easily be
expanded to other use cases later (e.g., in
https://github.com/flutter/flutter/issues/68818).

Part of https://github.com/flutter/flutter/issues/82458

* Add integration test to expected dependencies of a plugin app

* Test fixes

* Make an explicit test case
2022-12-15 19:49:14 +00:00
engine-flutter-autoroll b122200d4c
Roll Flutter Engine from db5605ea7115 to 29196519c124 (13 revisions) (#117148)
* df430c4fd Revert "[Impeller] Speculatively attempt to fix Metal PSO construction errors on host targets." (flutter/engine#38292)

* 41dd4f5e1 Revert "Revert "[Impeller] Speculatively attempt to fix Metal PSO construction errors on host targets." (#38292)" (flutter/engine#38301)

* 8ce9a3f71 Roll Skia from 3171deabd88a to b368746d696a (13 revisions) (flutter/engine#38294)

* 4881fe25e Revert "Revert "reland "Migrate darwin common "framework_shared" target to ARC #37049" (#37219)" (#37320)" (flutter/engine#37883)

* 3b2302c8d [Impeller] Remove validation log when the pipeline library is collected before pipeline is setup. (flutter/engine#38306)

* a04997c81 [Impeller] Disable impeller_unittests. (flutter/engine#38307)

* fc71faad0 License script improvements (flutter/engine#38148)

* 6a2560c35 [Windows] Synthesize modifier keys events on pointer events (flutter/engine#38138)

* b1d407563 Roll Skia from b368746d696a to 3f81f95176ce (11 revisions) (flutter/engine#38312)

* b25fcf748 Roll Skia from 3f81f95176ce to 46e8f2a18a3d (3 revisions) (flutter/engine#38314)

* 948699bba Collapse bounds calculations into DisplayListBuilder (flutter/engine#34365)

* 38367de84 Roll Fuchsia Mac SDK from u-tC0QEGUT4xQ4KOo... to VEOIaacOA75U7PYyz... (flutter/engine#38316)

* 29196519c Roll Skia from 46e8f2a18a3d to 9f728d78f10d (1 revision) (flutter/engine#38317)
2022-12-15 18:56:06 +00:00
Martin Kustermann fc3571eff4
Improve documentation of compute() function (#116878)
This improves the documentation of the `compute()` function as follows:

  * Instead of making `compute` a top-level constant, we make it a
    function. This allows the generated API docs to show a function
    signature with parameters and their names, making it *much* clearer
    to users what function is being documented.

  * We mention that on web-backends this is running `compute()` on the
    normal eventloop whereas on on native platforms it runs in a
    separate isolate.

  * We mention that callback, message and result have to be sendable
    across isolates. We also mention that they may be copied.

  * We link to both `Isolate.run` & `SendPort.send` for more information.

  * We use `M` for the type of `message` instead the rather confusing
    `Q`.
2022-12-15 19:25:07 +01:00
Justin McCandless dcd2170d14
Fix typos in scale gesture recognizer docs (#117116)
Just two small typo fixes.
2022-12-15 09:13:36 -08:00
engine-flutter-autoroll 47300e0a6c
Roll Plugins from 10c029399b3a to 78de28ca21c7 (4 revisions) (#117145)
* 00b77e4cc Roll Flutter from 15af81782e to 028c6e29e0 (13 revisions) (flutter/plugins#6843)

* b2cdcb69a [camera_android_camerax] `unnecessary_parenthesis` lint fix (flutter/plugins#6841)

* 3a093e49b [various] Enable avoid_print (flutter/plugins#6842)

* 78de28ca2 [webview_flutter_platform_interface] Updates platform interface to new interface (flutter/plugins#6846)
2022-12-15 17:12:42 +00:00
Jonah Williams 169b49fba7
Revert "[framework] make transform with filterQuality a rpb (#116792)" (#117095)
This reverts commit e331dcda17.
2022-12-15 17:11:42 +00:00
Michael Goderbauer 409a39daea
remove debugPrint from timePicker test (#117111) 2022-12-15 17:07:52 +00:00
engine-flutter-autoroll 9aa2ea150c
Roll Flutter Engine from 0a6a4a58f4f7 to db5605ea7115 (11 revisions) (#117109)
* 1a1b1feee Roll Skia from 537e1e8c1ca6 to 729ccbfb87bc (7 revisions) (flutter/engine#38277)

* 3b18821e1 Roll Fuchsia Linux SDK from A0jnUUORf2LQu1z2V... to e2lfUFBW5ddtTZBbw... (flutter/engine#38280)

* beb94ea2c Roll Skia from 729ccbfb87bc to 3171deabd88a (4 revisions) (flutter/engine#38279)

* 8f9071ab9 Roll Fuchsia Mac SDK from FQQdl8AGAsALFniHl... to u-tC0QEGUT4xQ4KOo... (flutter/engine#38282)

* aa78cd8d6 add link to website (flutter/engine#38273)

* 955447b35 pylint all Python scripts under testing/ (flutter/engine#38268)

* 3f22e1958 [web] correct float count in runtime effect (flutter/engine#38288)

* 479bb736f Fix issues related to keyboard inset (flutter/engine#37719)

* 6cd85616b [macOS] Refactor rendering infrastructure (flutter/engine#37789)

* d1533d12b [web] Make Canvaskit's malloc more useful (flutter/engine#38130)

* db5605ea7 Fix new `unnecessary_parenthesis` diagnostics. (flutter/engine#38291)
2022-12-15 17:05:56 +00:00
Michael Goderbauer dbc9306380
Failure to construct ErrorWidget for build errors does not destroy tree (#117090) 2022-12-14 21:53:20 +00:00
Tomasz Gucio 7b19b4d387
Fix CupertinoTextSelectionToolbar showing unnecessary pagination (#104587) 2022-12-14 22:38:04 +01:00
Darren Austin d8b7eb6e29
Updated token templates to sync with master code. (#117097) 2022-12-14 21:32:12 +00:00
Siva aa0b68119f
flutter/engine@0baa4b5...0a6a4a58 (#117083)
skia-flutter-autoroll Roll Dart SDK from f32c7b011906 to 358d0d1aa3e7 (2 revisions) (#38274)
2022-12-14 13:19:13 -08:00
Phil Quitslund f9acb1e88c
-- unnecessary parens (#117081) 2022-12-14 21:18:37 +00:00
Taha Tesser 57fb36ee0a
[reland] Add Material 3 support for ListTile - Part 1 (#116963)
* [reland] Add Material 3 support for `ListTile` - Part 1

* Update doc
2022-12-14 21:13:59 +00:00
Alexander Markov c63d797f94
Upgrade dependencies (#117007) 2022-12-14 13:13:05 -08:00