Commit Graph

1238 Commits

Author SHA1 Message Date
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