Commit Graph

3827 Commits

Author SHA1 Message Date
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
Jason Simmons
c2f452c0a8 Reuse a TimelineTask for the scheduler frame and animate events (#90168) 2021-09-17 10:07:06 -07:00
Chris Yang
ec3bd9edc4 try tap app before apping the element (#90149) 2021-09-16 20:02:02 -07:00
Alex
0bde65ddac fixed a small conductor messaging bug (#90229)
* fixed a small messaging bug

* forgot to remove a s
2021-09-16 18:37:47 -04:00
Jenn Magder
ab6f2fc8ce Set BUILD_DIR when determining if plugins support arm64 simulators (#90088) 2021-09-15 18:37:04 -07:00
Kate Lovett
65d8dd988d Update md5 method in flutter_goldens_client (#90154) 2021-09-15 17:42:05 -07:00
Ian Hickson
2420718389 Remove our extra timeout logic. (#89952) 2021-09-15 09:42:05 -07:00
Sam Rawlins
8889ffaec3 Remove and also ignore unnecessary imports (#89796) 2021-09-14 15:32:02 -07:00
Christopher Fujino
ad936b4e4b [flutter_conductor] Support initial stable release version (#89775) 2021-09-14 14:39:17 -07:00
stuartmorgan
a01e4733df Re-enable plugin analysis test (#89856) 2021-09-13 17:57:05 -07:00
Christopher Fujino
576aab0833 add analysis_options.yaml to dev/conductor (#90005) 2021-09-13 15:47:03 -07:00
Anna Gringauze
cd112e551c Update all packages (#89797) 2021-09-13 12:13:42 -07:00
Jenn Magder
8ce6bc00f8 Bump cocoapods from 1.10.2 to 1.11.2 (#89991) 2021-09-13 11:27:28 -07:00
Kate Lovett
4ec75580fb Revert clamping scroll simulation changes (#89885) 2021-09-10 16:02:02 -07:00
Jason Simmons
2004afae06 Use async timeline events for the phases of the scheduler binding (#88825) 2021-09-10 10:17:05 -07:00
Jenn Magder
18f8b63e0a Run flutter_gallery ios tests on arm64 device (#89618) 2021-09-09 20:37:03 -07:00
Gary Qian
13b38add89 Directly specify keystore to prevent debug key signing flake in Deferred components integration test. (#89606) 2021-09-08 13:08:41 -07:00
Ben Konyi
41101b7058 Update DDS to 2.1.2 (#89591) 2021-09-08 12:57:03 -07:00
Janice Collins
0353fa282b Update dartdoc to 3.0.0 (#89603) 2021-09-08 12:32:06 -07:00