Commit graph

1068 commits

Author SHA1 Message Date
Greg Spencer 88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476)
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.

Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Greg Spencer bf1fb6e84b
Switch sample analysis over to use package:flutter_lints (#84303)
This switches the sample analysis code to use package:flutter_lints instead of the flutter repo analysis options, so that they are compatible with a similar change to DartPad.
2021-06-09 18:09:14 -07:00
Janice Collins e6f2e2a38d
Update dartdoc to 0.45.0 (#84130) 2021-06-07 12:29:05 -07:00
Sam Rawlins b2ed8a25b5
Ignore unnecessary_import reports in sample code (#84125) 2021-06-07 12:14:06 -07:00
Michael Goderbauer 243d889445
Count non-null-safe code in our tech debt benchmark (#83846) 2021-06-03 12:54:04 -07:00
Michael Goderbauer 14b2e7ffee
flutter update-packages --force-upgrade (#83911) 2021-06-03 10:50:11 -07:00
Alexandre Ardhuin 34059eec2c
enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
godofredoc 8bee0834e4
Remove logic to save artifacts to old gcs location. (#83526) 2021-05-27 19:04:02 -07:00
Jonah Williams 025a3a7da3
[versions] roll package test redux (#83367) 2021-05-26 17:22:28 -07:00
Christopher Fujino 62d00c6d5f
Migrate flutter conductor out of dev/tools and into its own directory (#83313)
* Migrate flutter conductor out of dev/tools and into its own directory

* flesh out documentation

* fix analysis options

* fix integration test
2021-05-25 16:12:53 -07:00
Janice Collins c5bbe7552a
Update dartdoc to 0.44.0. (#83352) 2021-05-25 13:04:02 -07:00
sigmundch 6b6b71ffa6
Pass --local-engine* from dev/bots/test.dart to pub test (only web) (#83308)
This is bassically reapplying #71721, but only enables it on web tests.

There are known issues that several tests under the `integration.shard`
depend on a specific platform, and as a result they require some
additional flexiblity (bots need to build more than one engine, and the
test flags should allow for secondary engines to be picked by such
tests).

By enabling this on the web-test shard, we will reduce the false
positives in the dart-flutter-HHH-web bot.

Fixing the more general problem is tracked by #72368.
2021-05-25 10:50:06 -07:00
nt4f04uNd 80a2b6b015
Fix typos (#82589) 2021-05-20 17:19:09 -07:00
David Iglesias c94f0bea65
[web] Make web integration tests shadow DOM aware. (#82926) 2021-05-20 16:14:02 -07:00
Hattomo (TomohiroHattori) 08a70e7ac8
Enable avoid_escaping_inner_quotes lint (#81153) 2021-05-19 09:54:02 -07:00
Jenn Magder d7e49e559b
Run update packages, pick up file 6.1.1 (#82770) 2021-05-18 13:09:03 -07:00
Janice Collins cb57480bdd
Update dartdoc to 0.43.0. (#82362) 2021-05-18 08:54:02 -07:00
Chris Bracken 3445cb86f2
Update dependency versions (#82577)
shelf 1.1.2 -> 1.1.4
flutter_template_images 1.0.2 -> 3.0.0
2021-05-14 16:51:36 -07:00
godofredoc 4924969347
Revert "Turn on win_build_tests_2_3 shard, skip 'build windows' tests (#82386)" (#82396)
This reverts commit a66e5a7fa0.
2021-05-13 11:56:32 -07:00
Kenzie Schmoll 766b4509c6
Add 'v' hotkey to open DevTools in the browser (#82227)
* Add 'v' hotkey to open DevTools in the browser
2021-05-13 09:54:10 -07:00
Yegor d6fc44ba67
shuffle tests in web_long_running_tests shard (#82394) 2021-05-12 18:04:03 -07:00
Jenn Magder a66e5a7fa0
Turn on win_build_tests_2_3 shard, skip 'build windows' tests (#82386) 2021-05-12 17:16:13 -07:00
Yegor 0420d56335
consolidate all web integration tests under the same shard (#82307)
* consolidate all web integration tests under the same shard
2021-05-12 15:01:11 -07:00
Jenn Magder 1ff5665fdd
Force LANG=en_US.UTF-8 in test runner (#82308) 2021-05-12 10:49:02 -07:00
stuartmorgan ab2aa31944
Roll plugins to 0c99a3ba749bbdc57b0d8895cdfaeef835119613 (#82356)
Manual plugin roll to account for a rename of the script used to run
analysis.
2021-05-12 09:58:32 -07:00
Alexandre Ardhuin 4881b33515
use throwsA matcher instead of try-catch-fail (#82290) 2021-05-11 23:34:02 -07:00
Christopher Fujino aae92d66a0
Fix prepare_package.dart not updating base_url (#81941) 2021-05-11 13:24:03 -07:00
Yegor 6b2f3bc113
add web e2e and smoke tests to the long running test shard (#82281) 2021-05-11 13:15:36 -07:00
Alexandre Ardhuin df3662b15e
use throwsA (#82238) 2021-05-11 10:19:01 -07:00
Michael Goderbauer b8a2456737
Enable library_private_types_in_public_api lint (#81578) 2021-05-10 16:26:16 -07:00
Greg Spencer 59b406c760
Sort imports when interpolating sample templates (#81873) 2021-05-07 15:34:04 -07:00
Christopher Fujino f33499df33
test macos binaries are codesigned before publishing (#81585) 2021-05-03 15:14:38 -07:00
Greg Spencer ea9d9ee9fd
Turn off directives_ordering lint when analyzing samples (#81698)
This turns off the "directives_ordering" lint when analyzing samples, since it's indeterminate what the ordering will be, given that samples derive their imports both from the template and the example code.

This is temporary to avoid broken builds, but the correct solution is to reorder the output so that the imports are ordered properly so that we give the proper example for our users.
2021-05-03 13:41:29 -07:00
Greg Spencer 7bff366b96
Convert snippets tool to null safety (#78646) 2021-04-29 22:34:04 -07:00
Jonah Williams 2b0d09dd81
[versions] roll versions and add ffi dep (#81403) 2021-04-28 11:19:03 -07:00
Ian Hickson 6beafa7b16
Apply style guide regarding createTempSync pattern (#81090) 2021-04-27 14:59:03 -07:00
xster ff2dde2c7f
Reland double gzip wrapping NOTICES to reduce on-disk installed space (#80897) 2021-04-26 22:35:45 -07:00
Jonah Williams 7d6e581f61
[versions] roll in latest shelf (#81099) 2021-04-23 20:39:02 -07:00
Ian Hickson 7ec7d4dae6
Test the skp_generator. (#81087) 2021-04-23 16:06:40 -07:00
Phil Quitslund 1105c8b956
ignore directives ordering in generated code (#81017) 2021-04-22 21:24:02 -07:00
Jenn Magder 0f899f2b64
Roll packages (#80989) 2021-04-22 15:01:49 -07:00
Greg Spencer b33c7891c1
Fix the sample analyzer to analyze dart:ui and make the analyzer null safe (#80742) 2021-04-22 12:14:02 -07:00
Jonah Williams 14759dc5a4
Revert "[flutter_tools] pin transitive deps during --transitive-closure (#80911)" (#80959)
This reverts commit c2aa193c5f.
2021-04-22 09:39:39 -07:00
Jonah Williams c2aa193c5f
[flutter_tools] pin transitive deps during --transitive-closure (#80911) 2021-04-21 21:40:48 -07:00
Jenn Magder 4f3ec01d32
Add frontend_server_client to dependency allowlist (#80912) 2021-04-21 18:13:43 -07:00
Phil Quitslund 61c30c41b2
fix sort_directives violations (#80817) 2021-04-21 13:49:03 -07:00
Jenn Magder 95d7d671c6
Remove analyze --dartdocs flag (#80484) 2021-04-18 09:29:02 -07:00
Jonah Williams f6f59c58bc
create SDK package allowlist for core packages (#80318) 2021-04-16 14:29:32 -07:00
Dan Field e7b7ebc066
Shake widget inspector from non-debug builds (#80157) 2021-04-14 21:54:03 -07:00
Dan Field d7da6190ff
roll packages (#80307) 2021-04-13 18:19:02 -07:00