Commit Graph

3845 Commits

Author SHA1 Message Date
Ian Hickson
66dd2add7e Add some more new lints (#91659) 2021-10-12 11:33:04 -07:00
Ian Hickson
bb5cbdc635 Enable depend_on_referenced_packages lint (#91653) 2021-10-12 11:28:02 -07:00
Ian Hickson
6d5fc420b6 Enable sort_child_properties_last lint (#91585) 2021-10-11 21:23:02 -07:00
Ian Hickson
9421627324 Enable only_throw_errors (#91567) 2021-10-11 14:13:03 -07:00
Ian Hickson
f90b019c68 Enable prefer_relative_imports and fix files. (#91573) 2021-10-11 10:28:07 -07:00
Ian Hickson
7b01346c5c Enable no_default_cases lint (#91530) 2021-10-11 10:23:04 -07:00
Ian Hickson
b3f63d38ac Document why some lints aren't enabled and fix some minor issues. (#91527) 2021-10-09 04:03:03 -07:00
Ian Hickson
61a0add286 Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00
Konstantin Scheglov
ac88d4ba5d Fix avoid_renaming_method_parameters for pending analyzer change. (#85482) 2021-10-08 08:58:05 -07:00
Zachary Anderson
b9d2177da0 Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)
This reverts commit 5fd259be24.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24 Enable avoid_redundant_argument_values lint (#91409) 2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821 Revert gradle roll (#91459)
* Revert "Mark last failing test after gradle update as flaky. (#91423)"

This reverts commit 46a52d03bd.

* Revert "fix android template for Gradle 7 (#91411)"

This reverts commit 51d06d537f.

* Revert "Add explicit version for mac and windows openjdk. (#91408)"

This reverts commit bf429f2771.

* Revert "Update the openjdk version used by linux android tests. (#91405)"

This reverts commit 2144ab8b45.

* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642)"

This reverts commit b6459f9b63.
2021-10-07 19:42:24 -07:00
SaintMalik
116f8af18e fix: typo spelling grammar (#89344) 2021-10-07 17:53:02 -07:00
Ian Hickson
f25b833f27 Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
Mouad Debbar
c2ea78d231 Revert "Enable avoid_print lint. (#91332)" (#91438)
This reverts commit cb378edc9e.
2021-10-07 16:16:17 -04:00
Jenn Magder
4ef6fc1833 Update number of IPHONEOS_DEPLOYMENT_TARGET in plugin_test_ios (#91324) 2021-10-07 10:13:04 -07:00
Ian Hickson
cb378edc9e Enable avoid_print lint. (#91332) 2021-10-07 09:53:03 -07:00
Alex
3c6c2aa50a Alex chen conductor ui3 (#91118) 2021-10-07 09:48:04 -07:00
Taha Tesser
b6459f9b63 Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642) 2021-10-06 17:01:13 -07:00
Dan Field
22c1ca769b Add a startup test that delays runApp (#91346) 2021-10-06 09:43:02 -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
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
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
Littlegnal
1b73a35fba Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18: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
Christopher Fujino
afd84ad425 flutter update-packages (#90994) 2021-09-30 11:38:02 -07:00
Kenzie (Schmoll) Davisson
5a85c0d81c Launch DevTools from the 'dart devtools' command instead of pub (#90894) 2021-09-29 15:32:24 -07:00
Alex
9f147ce540 Initial layout and theme (#90887)
* Initial layout and theme

* fixed tests

* made page scrollable

* fixes based on Chris on Casey's comments

* removed desktop_window, add errorWidget

* 2nd round of fixes

* fixed linux analyze

* changes based on Casey's comments:

* remove trailing space

* removed obselete macos build code

* add discrepency in project.pbxproj

* addressed Casey's comment
2021-09-29 17:29:24 -04:00
Daco Harkes
2e663b2472 [bots] Print more on --verbose analyze_sample_code (#90880) 2021-09-28 11:08:05 -07:00
Greg Spencer
ab2b0851a2 Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Jenn Magder
be8d29ffc6 Run native_ui_tests_macos in correct directory (#90829) 2021-09-27 17:38:03 -07:00
Christopher Fujino
23f50789a7 [flutter_conductor] Update README (#90557) 2021-09-27 14:43:05 -07:00
Daco Harkes
67fdf937c3 [bots] verbose logs when analyzing samples (#90447) 2021-09-27 12:38:07 -07:00
Christopher Fujino
69ae50310b [flutter_conductor] implement UI scaffold (#90621) 2021-09-24 15:30:09 -07:00
Chris Yang
126370fba9 [module_test_ios] trying tap the buttons again if the first time didn't work (#90535) 2021-09-24 14:08:06 -07:00
Janice Collins
2d909fcc5b Update dartdoc to v3.1.0. (#90415) 2021-09-24 14:03:07 -07:00
Alex
f47eac9c58 changed subprocesses to async from sync (#89668)
* changed subprocess to async from sync
2021-09-23 08:52:51 -07:00
Jenn Magder
1b53f7beba Migrate iOS project to Xcode 13 compatibility (#90304) 2021-09-22 13:23:05 -07:00
Jenn Magder
5c79a0c2f4 Run flutter_gallery macOS native tests on presubmit (#89620) 2021-09-22 13:18:07 -07:00
Darren Austin
9aa829460d Revert "Reland "Migrate android_semantics_testing to null safety" (#90466)" (#90483)
This reverts commit 1002a76857.
2021-09-21 15:55:24 -07:00
Darren Austin
1002a76857 Reland "Migrate android_semantics_testing to null safety" (#90466) 2021-09-21 13:59:57 -07:00
Jason Simmons
518bea67fd Update the analysis options for sample code to ignore unnecessary_imports (#90391)
See https://github.com/flutter/flutter/issues/74381
2021-09-20 09:44:58 -07:00
Kate Lovett
68836deabf Fix shrine (#89698) 2021-09-17 18:13:06 -07:00