Commit Graph

26069 Commits

Author SHA1 Message Date
Kate Lovett
3aed0b671f Fix scrollbar dragging into overscroll when not allowed (#90634) 2021-10-05 15:33:03 -07:00
engine-flutter-autoroll
37a47015be 82e7100bc Roll Skia from 52d162904845 to 237c22adb8a1 (1 revision) (flutter/engine#29026) (#91323) 2021-10-05 15:28:03 -07:00
Michael Goderbauer
dc54c7f7be Remove accidental print (#91317) 2021-10-05 15:13:03 -07:00
Greg Spencer
8405868db4 Update outdated platform directories in examples (#91125)
The first of three or four changes to update the platform directories of the packages in the Flutter repo that have out date platform code.

This batch includes updating the flutter_view example, updating the sanity check numbers in analyze.dart, and adding some missing Podfiles in the examples. I also eliminated some trailing whitespace in the templates for Android.
2021-10-05 14:52:11 -07:00
engine-flutter-autoroll
5f9a38fc31 Roll Engine from a36eac0a341c to c77141589503 (17 revisions) (#91320) 2021-10-05 13:08:03 -07:00
stuartmorgan
64fd68ed42 Don't generate plugin registry in ResidentWebRunner (#91281)
* Don't generate plugin registry in ResidentWebRunner

generateDartPluginRegistry was being set to true unconditionally in
ResidentRunner, bypassing the primary check in
DartPluginRegistrantTarget, and the targetPlatform was not set in that
codepath, bypassing the second after the changes in
https://github.com/flutter/flutter/pull/87991. This caused web hot
restarts to be slower due to doing unnecessary work.

This ensures that generateDartPluginRegistry is false in the
ResidentWebRunner to skip that unnecessary step.

Fixes https://github.com/flutter/flutter/issues/91262

* Formatting

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-10-05 12:27:53 -07:00
Alexander Aprelev
947ffa1f90 Use recently introduced Isolate.exit() in compute implementation (#91124)
* Use recently introduced Isolate.exit() in compute implementation

* Remove unused isolate variable
2021-10-05 12:04:20 -07:00
godofredoc
e9a86c4aaf Pin chrome and driver versions. (#91310) 2021-10-05 12:03:04 -07:00
engine-flutter-autoroll
ec382d85bd Roll Plugins from f6d93a765063 to 0558169b8930 (4 revisions) (#91313) 2021-10-05 11:48:04 -07:00
keyonghan
e98afe10e9 mark flaky (#91273) 2021-10-05 10:48:01 -07:00
keyonghan
111b1ec267 mark flaky (#91271) 2021-10-05 10:43:02 -07:00
keyonghan
0353401046 mark flaky (#91268) 2021-10-05 10:38:01 -07:00
stuartmorgan
8231592d71 Update minimum iOS version in plugin_test (#91099) 2021-10-05 10:33:04 -07:00
Clement Skau
64841f6309 Adds analyze_sample_code exit for when pub fails (#91024) 2021-10-05 10:28:04 -07:00
Alexander Aprelev
98120d19d3 Add a microbenchmark that measures performance of flutter compute. (#91257)
* Add a microbenchmark that measures performance of flutter compute.

This benchmark should show performance improvements when compute is switched to Isolate.exit

* Fix analyzer warnings, increase warmup iterations

* Fix license header
2021-10-04 14:16:23 -07:00
Janice Collins
35fe52cb86 Update dartdoc to 4.0.0 (#91252) 2021-10-04 14:08:04 -07:00
Greg Spencer
983cbb273b Add example test, update example READMEs (#91130) 2021-10-04 13:53:02 -07:00
Ian Hickson
2bab6514b0 Enable avoid_implementing_value_types lint (#91078) 2021-10-04 13:48:04 -07:00
Greg Spencer
7b8a3c1bcd Force building of snippets package executable. (#91110)
This fixes an issue with the Dart Head-Head-Head CI bot, where it was seeing failures because of concurrent execution of the snippets tool.

It adds a single run of the snippets tool right after activation to force the compiling of the package executable, which is what has trouble with concurrent invocation.

This is a temporary measure until dart pub global run is fixed.
2021-10-04 12:17:27 -07:00
Greg Spencer
fd9ce27748 Clean up examples, remove section markers and --template args (#91133)
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.

I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.

I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
2021-10-04 12:16:17 -07:00
engine-flutter-autoroll
799501cd31 Roll Engine from 6f4143e80069 to a36eac0a341c (10 revisions) (#91244) 2021-10-04 11:33:03 -07:00
Ian Hickson
126cd7388e Clean up dependency pins and update all packages (#91109) 2021-10-04 10:28:03 -07:00
Christopher Fujino
555f69e5d9 [flutter_conductor] update conductor to prefer git protocol over https (#91066) 2021-10-04 10:23:02 -07:00
Jenn Magder
61e2e86611 Add iOS build -destination flag (#90915) 2021-10-04 10:18:03 -07:00
xubaolin
905ac63e34 Fix some scrollbar track and border painting issues (#90311) 2021-10-04 08:13:04 -07:00
Christopher Fujino
91dd3276fd migrate vm service to null safety (#88320) 2021-10-02 10:18:03 -07:00
Greg Spencer
0e78416737 Pushing empty change to trigger CI (#91138) 2021-10-01 20:00:54 -07:00
engine-flutter-autoroll
c103579b6c 6f4143e80 Roll Dart SDK from cea2ea76fc66 to d50eacfa4fcd (2 revisions) (flutter/engine#28988) (#91123) 2021-10-01 17:23:07 -07:00
Littlegnal
1b73a35fba Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18:05 -07:00
stuartmorgan
23cea26715 Add dartPluginClass support for Android and iOS (#87991) 2021-10-01 16:03:04 -07:00
engine-flutter-autoroll
0b38b9cba3 Roll Engine from 2db431944795 to 74fdd30dc25e (5 revisions) (#91121) 2021-10-01 15:13:04 -07:00
Fernando Moraes
7ff13ca405 Update TabPageSelector Semantics Label Localization (#87430) 2021-10-01 14:28:04 -07:00
LongCatIsLooong
0e72f99237 Restart input connection after EditableText.onSubmitted (#84307) 2021-10-01 14:23:05 -07:00
Christopher Fujino
7fbfb1fad9 update consumer dependencies signature (#91116) 2021-10-01 13:32:47 -07:00
Ian Hickson
4315cdcf76 Some test cleanup for flutter_tools. (#90227) 2021-10-01 10:38:02 -07:00
Kate Lovett
5ab6c7bce1 Fix overflow edge case in overscrolled RenderShrinkWrappingViewport (#90419) 2021-10-01 09:08:02 -07:00
Kate Lovett
778876597a Remove AndroidViewController.id deprecation (#90294) 2021-10-01 09:03:02 -07:00
Kate Lovett
eda41e5720 Remove vsync deprecation (#90293) 2021-10-01 08:58:03 -07:00
Ian Hickson
7214097f02 add internal comment to point to .github repo (#91055) 2021-10-01 06:28:05 -07:00
engine-flutter-autoroll
18ed542e91 2db431944 fuchsia: Add FakeFlatland and tests (flutter/engine#28926) (#91083) 2021-10-01 02:43:04 -07:00
Ian Hickson
c4f4c479e2 Delete SECURITY.md (#91054) 2021-10-01 01:23:04 -07:00
Ian Hickson
c05d283be1 add internal comment to point to .github repo (#91052) 2021-10-01 01:18:05 -07:00
Ian Hickson
989f864497 Enable avoid_setters_without_getters (#91067) 2021-10-01 00:58:05 -07:00
Hans Muller
50604c614e Add a warning about Icon.size to IconButton (#91051) 2021-09-30 23:18:02 -07:00
engine-flutter-autoroll
bb46cff96e aed327b84 Roll Dart SDK from 4a4c1361ad7b to 4fa07f3ccd43 (1 revision) (flutter/engine#28979) (#91074) 2021-09-30 22:23:03 -07:00
engine-flutter-autoroll
a20743ddfe Roll Engine from 1f8fa8041d49 to 8ec71b64f6ca (12 revisions) (#91071) 2021-09-30 20:43:02 -07:00
stuartmorgan
97fb8c0560 Fix Dart plugin registrant interaction with 'flutter test' (#90288)
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.

Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
engine-flutter-autoroll
dc59bc5444 Roll Plugins from 63eb67532a7a to f6d93a765063 (2 revisions) (#91058) 2021-09-30 18:38:06 -07:00
engine-flutter-autoroll
ef9e0d1463 Roll Engine from e83795a0a7c7 to 1f8fa8041d49 (2 revisions) (#91053) 2021-09-30 18:33:06 -07:00
Christopher Fujino
738a7747cc [flutter_tools] Handle disk device not found (#90996) 2021-09-30 17:28:57 -07:00