Viren Khatri
e2ab3e581e
fixed inconsistent file names for *_chip.dart files and added a test ( #111364 )
2022-09-17 03:17:06 +00:00
Dan Field
d905fbab0d
Rev dartdoc to 6.1.1 ( #111767 )
2022-09-16 20:35:49 +00:00
Flutter GitHub Bot
9ba35816ca
Roll pub packages ( #111423 )
2022-09-12 23:03:50 +00:00
Jonah Williams
cd83477457
[framework] work around to load self packages from packages/ ( #111350 )
2022-09-12 18:30:00 +00:00
Christopher Fujino
2e299e1934
[flutter_tools] Pin url_launcher_android and update packages ( #111309 )
2022-09-09 23:57:03 +00:00
Sigurd Meldgaard
d80e994a62
Reland: Show output from pub get in flutter pub get ( #110851 )
2022-09-08 15:13:23 +02:00
Elliott Brooks (she/her)
57e42f0223
Manually update DWDS version to v.16.0.0
( #110822 )
2022-09-02 19:17:48 +00:00
Pierre-Louis
0c2f7bc2a2
Remove errant double spaces ( #110758 )
2022-09-02 04:00:58 +00:00
Zachary Anderson
0e195e9d46
Revert "Show output from pub get
in flutter pub get
( #106300 )" ( #110478 )
...
This reverts commit 3802eb627e
.
2022-08-29 08:02:50 -07:00
Sigurd Meldgaard
3802eb627e
Show output from pub get
in flutter pub get
( #106300 )
2022-08-29 07:37:19 +00:00
Yegor
6e57ed6088
[web] fix hot restart in entrypoint generated by flutter create
( #110229 )
2022-08-25 20:30:00 +00:00
Christopher Fujino
db51e5d944
[flutter_tools] unpin path_provider_android and roll ( #110216 )
2022-08-25 19:42:21 +00:00
Alexander Aprelev
bfdc9a6cfa
Introduce stubbed exclusive
parameter to File.create
-overridden method ( #109646 )
...
* Introduce stubbed `exclusive` parameter to `File.create`-overridden method.
This is to soften landing of a breaking change https://github.com/dart-lang/sdk/issues/49647
2022-08-17 13:26:08 -07:00
Ian Hickson
97901da149
Cleaner test.dart output. ( #109206 )
2022-08-14 08:53:54 +00:00
Christopher Fujino
b79c216845
[flutter_tools] Pin path_provider_android ( #109429 )
2022-08-12 01:18:41 +00:00
Christopher Fujino
675f67d611
Revert "Roll pub packages ( #109408 )" ( #109424 )
...
This reverts commit da036da69f
.
2022-08-11 16:29:05 -07:00
Flutter GitHub Bot
da036da69f
Roll pub packages ( #109408 )
2022-08-11 20:53:11 +00:00
Greg Spencer
e3b42e5e2f
Revert "Roll pub packages ( #109348 )" ( #109363 )
...
Committing to green the build.
2022-08-10 19:15:18 -07:00
Flutter GitHub Bot
5a06e2bd5f
Roll pub packages ( #109348 )
2022-08-10 22:40:38 +00:00
Ian Hickson
7ded3d91da
API documentation cleanup ( #108500 )
2022-08-10 22:03:20 +00:00
Ian Hickson
03aa059c3c
Do not abort at first error when tests fail. ( #108936 )
2022-08-05 16:18:54 -07:00
Pierre-Louis
de8a2fa6a7
Update packages ( #109054 )
...
In particular, to get `material_color_utilities` `0.2.0`.
2022-08-05 15:21:03 -04:00
Flutter GitHub Bot
7270c48bd7
Roll pub packages ( #108919 )
2022-08-03 21:30:05 +00:00
David Iglesias
04f7ea8459
[web] Add onEntrypointLoaded to FlutterLoader. ( #108776 )
2022-08-03 20:58:06 +00:00
Flutter GitHub Bot
d9ce9be0e2
Roll pub packages ( #108582 )
2022-07-29 19:07:04 +00:00
Michael Goderbauer
10a7c9ba22
Unify analysis options ( #108462 )
2022-07-28 09:07:49 -07:00
Greg Spencer
07de84f014
Add StarBorder and StarBorder.polygon, with example. ( #108489 )
2022-07-28 00:01:05 +00:00
Flutter GitHub Bot
f82178e2d2
Roll pub packages ( #108325 )
2022-07-27 17:22:07 +00:00
Michael Goderbauer
8a7b35933c
flutter update-packages --force-upgrade + analyzer fix ( #108198 )
2022-07-25 10:10:31 -07:00
Yegor
e505529344
[web] define $flutterDriverResult variable early in driver test initalization ( #107337 )
2022-07-23 00:48:06 +00:00
Flutter GitHub Bot
94572b5d69
Roll pub packages ( #107984 )
2022-07-22 23:28:06 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering ( #107847 )
2022-07-18 22:04:07 +00:00
Alexandre Ardhuin
93a74ca9f2
remove unused members in executable libs ( #107464 )
2022-07-12 21:41:08 +00:00
Flutter GitHub Bot
255fa2d152
Roll pub packages ( #107258 )
2022-07-07 21:58:06 +00:00
Flutter GitHub Bot
b748d1fb1a
Roll pub packages ( #107185 )
2022-07-07 17:46:07 +00:00
Michael Goderbauer
49a52ae8d1
Bump dartdoc to 6.0.0 ( #107194 )
2022-07-06 23:24:08 +00:00
Christopher Fujino
19ac08dcd7
manual pub package roll; remove test_api pin, unblock bumping dwds ( #106887 )
2022-07-06 17:28:07 +00:00
stuartmorgan
6c6ae06381
Add Windows to the platform_channels example ( #106754 )
2022-06-30 14:54:07 +00:00
Christopher Fujino
aac5e95ae5
[flutter_tools] refactor packages_autoroller.dart script ( #106580 )
2022-06-27 14:09:10 -07:00
Christopher Fujino
a30012b275
Add update packages roller ( #100982 )
2022-06-22 17:04:07 -07:00
Jonah Williams
1572773729
Update package:archive and pin test_api ( #106157 )
2022-06-16 21:23:08 -07:00
David Iglesias
b1b1ee9ca6
[web] Fix JS crash when FF blocks service workers. ( #106072 )
2022-06-17 02:22:07 +00:00
Christopher Fujino
6671503789
add an ignore to analyze snippet code ( #106079 )
2022-06-16 01:36:08 +00:00
Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code ( #105798 )
2022-06-15 20:02:07 +00:00
Darren Austin
d9be807192
Updated the analyze.dart deprecation check to only look for beta branch versions. ( #105290 )
2022-06-06 21:16:49 -07:00
Elliott Brooks (she/her)
67a18250b1
Update packages with update-packages
( #105325 )
2022-06-06 10:49:39 -07:00
Danny Tuppeny
c5b5abe1d2
Update dependencies with 'flutter update-packages --force-upgrade' ( #105009 )
2022-06-01 11:33:11 -07:00
Anna Gringauze
5cd979e441
Retry getting tabs in chrome launcher on ConnectionException ( #104218 )
2022-05-26 15:20:11 -07:00
Dacian Florea
680bc17cde
[web] [fix] Cache resource data only if the fetching succeed ( #103816 )
2022-05-24 16:23:06 -07:00
Casey Hillers
a79233cbba
[packaging] Move chromium mirror to flutter mirror ( #104222 )
2022-05-20 22:03:06 -07:00
Michael Goderbauer
28d817e708
Bump dartdoc to 5.1.2 ( #104097 )
2022-05-18 17:57:13 -07:00
gaaclarke
64a0c19652
switched to a double variant of clamp to avoid boxing ( #103559 )
2022-05-18 13:26:08 -07:00
Chris Bracken
27c6cdb416
Roll dependendencies ( #103771 )
...
Roll dependendencies
This rolls depdendencies to latest using
flutter update-packages --force-upgrade
This change includes three code changes:
* Removes charcode from the dependencies allowlist since it no longer
appears in the transitive closure of dependencies of the flutter,
flutter_test, flutter_driver, flutter_localizations, and
integration_test packages.
* Uses Resolver.create instead of the deprecated Resolver constructor.
The default Resolver constructor has been deprecated in favour of the
static Resolver.create() factory function, which unfortunately happens
to be async. Propagated the async-ness up the chain.
This change was partially reverted and the deprecation ignored in this
patch until package:coverage can be rolled internally at Google.
* Eliminates the use of the deprecated packagesPath parameter to
HitMap.parseJson. This parameter was deprecated and replaced with
packagePath in https://github.com/dart-lang/coverage/pull/370 which
was part of the overall deprecation of the .packages file in Dart
itself https://github.com/dart-lang/sdk/issues/48272 . The overall goal
being that end-user code shouldn't need to know about implementation
details such as whether dependency information is stored in a
.packages file or a package_info.json file, but rather use the
package_config package to obtain the package metadata and perform
other functions such as resolving its dependencies to filesystem
paths. packagesPath was replaced by packagePath, which takes the path
to the package directory itself. Internally, package:coverage then
uses package_config to do the rest of the package/script URI
resolution to filesystem paths.
This change was partially reverted and the deprecation ignored in this
patch until package:coverage can be rolled internally at Google.
This is a pre-update prior to updating flutter_template_images in
https://github.com/flutter/flutter/pull/103739
Issue: https://github.com/flutter/flutter/issues/103371
Issue: https://github.com/flutter/flutter/issues/103775
Issue: https://github.com/flutter/flutter/issues/103830
When re-applying the partially-reverted changes to code coverage,
we'll need to patch host_entrypoint.dart internally to await the Future
that we'll be returning rather than a non-async value.
2022-05-14 16:34:10 -07:00
Chris Bracken
110c0a7f80
[ci] Add pointer to template image assets wiki ( #103787 )
...
Many of our flutter_tools templates include image assets such as
application icons. Adding these will trigger an analysis error from our
CI tooling.
This adds a pointer to the wiki describing the procedure for adding or
updating image assets in the templates:
https://github.com/flutter/flutter/wiki/Managing-template-image-assets
Uncovered while working on https://github.com/flutter/flutter/issues/103371
2022-05-14 10:28:59 -07:00
Michael Goderbauer
0a5a641f8f
Bump snippets tool to 0.3.0 ( #103751 )
2022-05-13 14:49:26 -07:00
Michael Goderbauer
8bec125aaf
Avoid analyzing API example code twice, clean-up ( #103548 )
2022-05-11 21:27:45 -07:00
David Iglesias
1af8cc1183
[tools][web] Make Plugin Registrant file ephemeral. ( #102185 )
2022-05-11 17:54:11 -07:00
Jonah Williams
c1b909e3fc
add image load benchmark ( #103459 )
2022-05-10 22:49:08 -07:00
Christopher Fujino
e8c01a8aa8
[flutter_tools] pub roll ( #103220 )
...
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2022-05-10 10:26:54 -07:00
Greg Spencer
6504f2896c
Adds menuBarMenuLabel
, and removes unneeded key localizations ( #102100 )
...
When I added localizations for shortcut keys, I added some that actually can't be shortcut keys, so I'm removing them again. These are mostly Japanese-specific keys that don't even appear on modern keyboards for the most part.
Also, added menuBarMenuLabel for an accessibility label for menu bar menus.
I modified the code for the localization generation scripts to add a --remove-undefined flag that will remove any localizations that don't appear in the canonical locale.
2022-05-09 09:25:52 -07:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() ( #103226 )
2022-05-06 16:04:13 -07:00
Zachary Anderson
577919dbfe
Don't hardcode ink sparkle spir-v ( #102674 )
2022-05-04 09:28:45 -07:00
Phil Quitslund
80849adee1
[dev, bots, examples] rename local functions with _
s ( #102703 )
2022-04-28 10:44:06 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Christopher Fujino
41b73894bc
Test framework for executable files ( #101853 )
2022-04-13 22:44:07 -07:00
Christopher Fujino
fd5356ff60
[flutter_tools] shard out two integration tests we want to run on macOS arm64 ( #101769 )
2022-04-13 12:09:11 -07:00
Michael Goderbauer
fe6d09a9ef
Bump Dartdoc to 5.0.1 ( #101783 )
2022-04-13 09:31:19 -07:00
David Iglesias
bee95b6984
[flutter.js] Wait for reg.update, then activate sw (if not active yet). ( #101464 )
2022-04-11 19:04:08 -07:00
Michael Goderbauer
fa48aed7b2
Bump dwds to 13.1.0 ( #101730 )
2022-04-11 18:29:14 -07:00
Michael Goderbauer
a01424773e
Enable unnecessary_import ( #101600 )
2022-04-08 12:56:45 -07:00
Anna Gringauze
74944d528f
Run update-packages ( #101450 )
...
* Run update-packages
* Update DwdsLauncher, disable failing test
* Fix analyze error
Co-authored-by: Jenn Magder <magder@google.com>
2022-04-07 17:07:05 -07:00
Jenn Magder
68471bbb74
Remove --enable-web and --enable-windows-desktop from tests ( #101208 )
2022-04-07 15:57:09 -07:00
Jenn Magder
bc0ec85717
Only run test harness tests once instead of every shard ( #101218 )
2022-04-04 17:27:18 -07:00
Michael Goderbauer
195a1cc413
Prepare dev
(minus flutter_gallery
) for use_super_parameters
( #100516 )
2022-03-29 12:52:42 -07:00
Christopher Fujino
ef8e3578c1
[flutter_tools] update pub packages ( #100726 )
2022-03-25 16:45:09 -07:00
Michael Goderbauer
8560d914eb
Upgrade to flutter_lints 2.0 ( #99881 )
2022-03-22 11:00:23 -07:00
godofredoc
875c552c54
Allow different versions of the architecture. ( #100345 )
...
If there was a release entry for the same platform and hash the new
entries were filtered out even if the architecture was different.
2022-03-17 21:24:16 -07:00
Greg Spencer
3f7ca7e576
Increase the timeout for running the snippets script during sample analysis ( #100093 )
...
Engine roll is blocked because the analysis script has been timing out trying to run the snippets tool, but only on Cirrus bots. This changes the timeout to 5 minutes from 30 seconds.
2022-03-14 16:45:30 -07:00
nicolasvac
201a64c98f
Fix flutter web app not respecting assets path when in non-root folder ( #96774 )
2022-03-10 15:50:16 -08:00
Ben Konyi
1880066dd3
Update dependencies ( #99874 )
2022-03-10 14:13:59 -07:00
Christopher Fujino
09c7eb1b88
fix type error in service_worker_test.dart ( #99524 )
2022-03-04 11:56:17 -08:00
Jason Simmons
504e669200
Update an analyzer test to support changes to error message text in the latest Dart SDK ( #99281 )
...
See https://github.com/flutter/flutter/issues/99248
2022-02-28 10:16:40 -08:00
Jenn Magder
d1265ad308
Run update-packages ( #99038 )
2022-02-25 12:26:16 -08:00
Jonah Williams
0a9a43b99a
Use flutter pub instead of dart pub ( #99159 )
2022-02-25 11:31:23 -08:00
Jonah Williams
83a88058d6
use dart pub deps to analyze consumer dependencies ( #99079 )
2022-02-24 19:26:27 -08:00
Greg Spencer
c7643cf54e
Fix samples so that they present properly in the docs ( #97224 )
2022-02-24 18:51:22 -08:00
Jenn Magder
0eae276e68
Remove cli_utils from allow-list ( #99037 )
2022-02-23 18:54:23 -08:00
Ben Konyi
50c4720913
Update dependencies to pull in new vm_service, dds, dwds, coverage, etc ( #98513 )
2022-02-18 12:32:08 -08:00
Christopher Fujino
87fe3fe031
rename two unit tests that were not actually being run on CI ( #98299 )
2022-02-14 17:40:13 -08:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -08:00
Harry Terkelsen
03f1d37935
Add a benchmark for a scrolling list of Links ( #94638 )
2022-02-03 14:38:58 -08:00
Daco Harkes
54f674c23a
Migrate bots/test.dart from pub run
to dart run
( #97575 )
2022-02-02 14:40:15 -08:00
Zachary Anderson
219bcd329e
Include Dart SDK arch in package info ( #97278 )
2022-02-02 09:02:02 -08:00
Pierre-Louis
a22cf5d6b9
Update packages ( #97592 )
...
* update packages
* implement
* remove trailing spaces
* Revert "remove trailing spaces"
This reverts commit d3bffbef57
.
* Revert "implement"
This reverts commit 6b6172a827
.
2022-02-02 09:16:05 +01:00
stuartmorgan
22c63a11a8
Add a note about depot_tools to the led
step ( #96830 )
2022-01-24 13:15:22 -08:00
Dan Field
ffba5c425c
Print a more helpful error if DDS is enabled when running integration_test and enableTimeline is called ( #92509 )
2022-01-19 17:50:18 -08:00
Jonah Williams
e25e1f9037
[framework] dont null assert in _debugVerifyIllFatedPopulation ( #96551 )
2022-01-14 13:50:29 -08:00
Emmanuel Garcia
f01556ab75
Bump Android dependencies that rely on Jcenter ( #96558 )
...
* Bump video_player in flutter gallery
* Update packages
* Update dependencies
* Bump device_info
* Update dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Update dev/devicelab/bin/tasks/module_custom_host_app_name_test.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Update dev/devicelab/bin/tasks/module_test.dart
Co-authored-by: Jenn Magder <magder@google.com>
* Remove deprecated device_info from ios-frameworks test
Co-authored-by: Jenn Magder <magder@google.com>
2022-01-12 20:13:32 -08:00
Ian Hickson
2835c3f116
Consider the FLUTTER_TOOL_ARGS as part of the compilation stamp ( #94951 )
2022-01-10 15:20:05 -08:00
Jenn Magder
3e6e996f9e
Run update-packages --force-upgrade ( #96325 )
2022-01-10 13:55:16 -08:00
Greg Spencer
e76ad85e01
Output Dart SDK version in published metadata ( #96302 )
2022-01-07 16:30:14 -08:00
Greg Spencer
3750beacb4
Update platform shims in dev/manual_tests ( #94616 )
...
Updates the platform shims in dev/manual_tests so that Windows and Linux can be built. I had to update the Windows shims, because I was unable to build a Windows app there.
Also updates the analyze.dart script to report all license issues simultaneously instead of just dying after the first failure.
The only substantive code changes are in dev/bots/analyze.dart and dev/bots/test/analyze_test.dart
2022-01-07 12:16:24 -08:00
Darren Austin
78f53bed51
Script to generate widget theme data defaults from the Material token database. ( #95370 )
2022-01-06 11:15:20 -08:00
Paul Berry
f3a389c40f
Respect --dart-sdk
parameter when running analyze.dart tests. ( #95174 )
2021-12-15 13:39:16 -08:00
Dan Field
bf60291493
Improve sync*/async* opt outs ( #95286 )
2021-12-14 19:00:52 -08:00
Rami
1a3dc1b32a
Update color scheme seed generation to use color utils package ( #95175 )
...
* Update color scheme seed generation to use color utils package
2021-12-14 13:53:36 -08:00
Jonah Williams
fda4094767
[framework] dont allocate forgotten children set in profile/release mode ( #94911 )
2021-12-14 10:51:30 -08:00
Dan Field
ab0a335973
Ban sync*/async* from user facing code ( #95050 )
2021-12-12 13:05:03 -08:00
Ian Hickson
cd239599e7
Attempt to mitigate flakiness around devtools ( #94879 )
2021-12-10 14:54:17 -08:00
Ian Hickson
840e109e07
Improve tracing ( #93086 )
2021-12-10 10:09:24 -08:00
sigmundch
896c63eaed
[test] log stack trace on errors, to improve diagnostics on #89243 ( #94885 )
2021-12-09 11:54:16 -08:00
Anna Gringauze
d7466d8963
Update dwds and other packages ( #94634 )
2021-12-07 14:29:07 -08:00
Michael Thomsen
bb906b6b4f
Roll packages to pick up new platform package ( #94603 )
2021-12-06 10:34:56 +01:00
Darren Austin
418cd95661
Added material_color_utilities as a dependency for flutter package. ( #94377 )
2021-12-01 14:19:04 -08:00
Nate Bosch
6d1a840bc5
Roll packages, remove unnecessary overrides ( #94172 )
2021-11-24 14:43:05 -08:00
Kevin Moore
d1cd614338
dev: Drop domain verification file ( #94124 )
2021-11-23 16:03:02 -08:00
Ian Hickson
bde9f11831
Add a test to verify that we only link to real issue templates ( #93528 )
2021-11-19 13:13:05 -08:00
sigmundch
f51d3d7e0c
[Web] Detect when running under Dart HHH Web and skip tests under investigation ( #93692 )
2021-11-18 22:33:04 -08:00
gaaclarke
f23e515861
Fatten up multiple_flutters memory footprint ( #93350 )
...
Increased the memory size of multiple_flutters to help identify regressions in performance
This is not a regression and will affect benchmark's readings.
2021-11-12 11:11:44 -08:00
Greg Spencer
52ae102f18
Adds tool warning log level and command line options to fail on warning/error output ( #92031 )
2021-11-10 16:13:04 -08:00
Zachary Anderson
366648ae90
Revert "Reland: "Update outdated runners in the benchmarks folder ( #91126 )" ( #92535 )" ( #93323 )
...
This reverts commit bfe9c59831
.
2021-11-09 08:44:56 -08:00
Greg Spencer
bfe9c59831
Reland: "Update outdated runners in the benchmarks folder ( #91126 )" ( #92535 )
2021-11-08 21:28:02 -08:00
Yegor
5a123f9710
[web] exclude bitrotten context_menu_action_test.dart from CanvasKit shard ( #93268 )
2021-11-08 11:21:58 -08:00
Jacob MacDonald
a4fa2affe9
Update packages ( #92924 )
2021-11-05 12:03:03 -07:00
Greg Spencer
5883a6628d
Differentiate between TalkBack versions for semantics tests. ( #92602 )
...
Makes the android_semantics_testing test not fail for newer versions of Talkback.
Also, since the test now depends on pub_semver, upgraded the pubspec files.
The only substantive changes in the PR are in dev/integration_tests/android_semantics_testing/test_driver/main_test.dart
2021-10-29 16:38:09 -07:00
Casey Hillers
9d263866e4
[release_dashboard] Remove project ( #92516 )
2021-10-28 09:13:04 -07:00
Janice Collins
b98ed1b39d
Update dartdoc to 4.1.0. ( #92446 )
2021-10-26 09:03:02 -07:00
Yegor
ad7727a21c
[web] enable CanvasKit tests using a local bundle fetched from CIPD ( #92134 )
2021-10-21 11:13:18 -07:00
Zachary Anderson
b412f6fff8
Revert "Update outdated runners in the benchmarks folder ( #91126 )" ( #92106 )
...
This reverts commit 31e3364771
.
2021-10-19 10:35:15 -07:00
Greg Spencer
31e3364771
Update outdated runners in the benchmarks folder ( #91126 )
...
This change updates the platform runners in the benchmarks subdir.
I've attempted to replace the entire group with new code as if the project were recreated with flutter create so that they don't become a Frankenstein of minor changes to make it work again, but just plain old generated code that can be replaced and updated in place.
2021-10-19 08:27:29 -07:00
Ian Hickson
299d484903
Enable more lints ( #91642 )
2021-10-14 22:03:03 -07:00
Danny Tuppeny
f8f96a4f80
Run "flutter update-packages --force-upgrade" to get latest DDS ( #91736 )
2021-10-13 10:58:04 -07:00
Ian Hickson
bb5cbdc635
Enable depend_on_referenced_packages
lint ( #91653 )
2021-10-12 11:28:02 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -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
Clement Skau
64841f6309
Adds analyze_sample_code exit for when pub fails ( #91024 )
2021-10-05 10:28:04 -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
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
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
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