Commit graph

32540 commits

Author SHA1 Message Date
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
engine-flutter-autoroll 7a801f7669
0baa4b5b3 Generate font fallback data to be const. (flutter/engine#38259) (#117080) 2022-12-14 11:03:20 -08:00
engine-flutter-autoroll ef3fe6a055
10c029399 [local_auth]: Bump fragment from 1.5.4 to 1.5.5 in /packages/local_auth/local_auth_android/android (flutter/plugins#6826) (#117078) 2022-12-14 18:38:58 +00:00
godofredoc 0e0f29fc8c
Run packaging builders only on beta and stable. (#117037)
The packaging recipe is now checking the enabled branches property.

Bug: https://github.com/flutter/flutter/issues/115492
2022-12-14 18:05:03 +00:00
Flutter GitHub Bot 8e452be2f0
Marks Windows run_release_test_windows to be unflaky (#117071) 2022-12-14 18:04:59 +00:00
Loïc Sharma 028c6e29e0
[Android] Fix the run_debug_test_android device lab test (#117016)
* Fix

* Format

* DO NOT MERGE! Test in presubmit

* Revert "DO NOT MERGE! Test in presubmit"

This reverts commit 41c7186c72.
2022-12-14 05:18:21 +00:00
Taha Tesser f07db4018a
NavigationBar improvements (#116992) 2022-12-13 17:25:49 -08:00
engine-flutter-autoroll f0ea376460
Roll Flutter Engine from 984ec305a0dd to 14194c40ec00 (2 revisions) (#117031)
* cda2be86e Some fixes for dart2wasm (flutter/engine#38167)

* 14194c40e Roll Fuchsia Mac SDK from Cd_ZtrDVcpQ85HRL3... to FQQdl8AGAsALFniHl... (flutter/engine#38269)
2022-12-14 01:16:21 +00:00
engine-flutter-autoroll 60635be592
984ec305a Run Mac Host clang-tidy on 12 cores (flutter/engine#38261) (#117028) 2022-12-14 00:35:20 +00:00
Daniel Flores Medina ba917d6159
Remove workaround because issue is closed (#110854) 2022-12-14 00:25:07 +00:00
Greg Spencer fae458b925
Convert TimePicker to Material 3 (#116396)
* Make some minor changes in preparation for updating the Time Picker to M3

* Revert OutlineInputBorder.borderRadius type change

* Revert more OutlineInputBorder.borderRadius changes.

* Convert TimePicker to Material 3

* Add example test

* Revert OutlineInputBorder.borderRadius type change

* Fix test

* Review Changes

* Merge changes

* Some sizing and elevation fixes

* Fix localization tests
2022-12-14 00:09:52 +00:00
engine-flutter-autoroll a59dd83d72
a327b48ca Roll Skia from 280ac8882cff to 537e1e8c1ca6 (9 revisions) (flutter/engine#38264) (#117025) 2022-12-13 23:47:06 +00:00
Daniel Iglesia 0c7d84aa78
Add AppBar.forceMaterialTransparency (#101248) (#116867)
* Add AppBar.forceMaterialTransparency (#101248)

Allows gestures to reach widgets beneath the AppBar (when Scaffold.extendBodyBehindAppBar is true).
2022-12-14 09:45:50 +11:00
Greg Spencer 96597c25e6
Bump Dartdoc version to 6.1.5 (#117014) 2022-12-13 22:28:01 +00:00
engine-flutter-autoroll 51945a0df0
Roll Flutter Engine from dd1dc7258b99 to 82dafdfc1c3d (2 revisions) (#117015)
* b5d19f86e Manual roll of Skia from 971c342c3030 to 280ac8882cff (flutter/engine#38257)

* 82dafdfc1 Roll Fuchsia Linux SDK from 8O5rMR_ehMaL3YhZ5... to A0jnUUORf2LQu1z2V... (flutter/engine#38258)
2022-12-13 22:26:09 +00:00
engine-flutter-autoroll 4e13720804
dd1dc7258 Always set orientation preferences on iOS 16+ (flutter/engine#38230) (#117005) 2022-12-13 21:15:18 +00:00
engine-flutter-autoroll cd9a439c35
Roll Flutter Engine from 74a9c7e0f9b1 to 9872cc7addce (2 revisions) (#116997)
* f863b1978 Roll Skia from c83eef7dc2a3 to 971c342c3030 (2 revisions) (flutter/engine#38248)

* 9872cc7ad Clarify file sharing flags in FML filesystem APIs on Windows (flutter/engine#38164)
2022-12-13 19:40:48 +00:00
engine-flutter-autoroll dbb9aa8b92
Roll Plugins from 0609adb457fd to ec2041f82584 (6 revisions) (#116996)
* 13818023c [camera] Attempt to fix flaky new Android test (flutter/plugins#6831)

* da4321d01 [google_maps_flutter] Modified `README.md` to fix minor syntax issues (flutter/plugins#6631)

* e8c9731f1 Roll Flutter from eefbe85c8b to bd0791be3f (25 revisions) (flutter/plugins#6832)

* 2eb616545 Reland "[google_maps_flutter] ios: re-enable test with popup #5312" (flutter/plugins#6783)

* 738bd91d8 Update FlutterFire link (flutter/plugins#6835)

* ec2041f82 Roll Flutter from bd0791be3f to 15af81782e (27 revisions) (flutter/plugins#6837)
2022-12-13 19:39:06 +00:00
engine-flutter-autoroll 15af81782e
74a9c7e0f Roll Fuchsia Mac SDK from aMW0DjntzFJj4RoR3... to Cd_ZtrDVcpQ85HRL3... (flutter/engine#38242) (#116973) 2022-12-13 13:04:25 +00:00
engine-flutter-autoroll db26f486eb
afc2f9559 Roll Skia from 9abf4b1bf242 to c83eef7dc2a3 (3 revisions) (flutter/engine#38243) (#116970) 2022-12-13 12:17:16 +00:00
engine-flutter-autoroll 256d54e170
47417ce80 [Impeller Scene] Node deserialization (flutter/engine#38190) (#116959) 2022-12-13 09:17:08 +00:00
engine-flutter-autoroll 9ccfb87ad1
64a661d6d Roll Skia from 08dc0c9e4e70 to 9abf4b1bf242 (4 revisions) (flutter/engine#38240) (#116955) 2022-12-13 07:59:07 +00:00
Michael Thomsen f5249bcb0a
Remove use of NullThrownError (#116122) 2022-12-13 08:42:54 +01:00
engine-flutter-autoroll 7211ca09d1
a33e699de Roll Skia from 2e417d4f7993 to 08dc0c9e4e70 (1 revision) (flutter/engine#38239) (#116952) 2022-12-13 06:54:24 +00:00
LongCatIsLooong 04ee5926a2
Remove RenderEditable textPainter height hack (#113301)
* remove RenderEditable textPainter height hack

* Still applies the hack on web

* unskip web
2022-12-13 03:42:23 +00:00