Commit Graph

967 Commits

Author SHA1 Message Date
Viren Khatri
672859a0cb
feat: add icon to AlertDialog (#104920) 2022-06-20 10:29:06 -07:00
Jonah Williams
1572773729
Update package:archive and pin test_api (#106157) 2022-06-16 21:23:08 -07:00
Tong Mu
ddeb0b99c5
[gen_keycodes] Remove invalid Web code maps (#106074)
* Impl

* Test
2022-06-16 13:53:23 -07:00
Tong Mu
96813e9369
[gen_keycodes] Clarify the README that the code scheme also applies to physical keys (#106078)
* Impl

* Revert some changes

* More doc changes

* Remove legacy code
2022-06-16 13:52:19 -07:00
Darren Austin
e6d525d51d
Updated tokens to v0.101. (#105923) 2022-06-14 23:06:30 -07:00
Pierre-Louis
1d53378bec
reland #105109 (#105588) 2022-06-14 23:39:30 +02:00
Darren Austin
1ed50b219b
Updated tokens to v0.99. (#105545) 2022-06-07 16:12:28 -07:00
Qun Cheng
66a84d1fed
Migrate IconButton to Material 3 - Part 1 (#105176)
* Added standard IconButton for M3 with new ButtonStyle field

* Added IconButton examples for standard, filled, filled_tonal, and outlined types

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-06-07 12:39:22 -07:00
Elliott Brooks (she/her)
67a18250b1
Update packages with update-packages (#105325) 2022-06-06 10:49:39 -07:00
Pierre-Louis
c4a6ab1626
Revert "Add actionsPadding to dialog theme (#105109)" (#105293)
This reverts commit 5d10cf550f.
2022-06-03 09:38:01 +02:00
Danny Tuppeny
c5b5abe1d2
Update dependencies with 'flutter update-packages --force-upgrade' (#105009) 2022-06-01 11:33:11 -07:00
Pierre-Louis
5d10cf550f
Add actionsPadding to dialog theme (#105109)
* add actionsPadding to dialog theme and refactor

* fix typo

* remove trailing spaces
2022-06-01 15:52:18 +02:00
Viren Khatri
793e2efe91
Use curly_braces_in_flow_control_structures for gen_defaults (#104921) 2022-05-30 08:40:17 +02:00
Darren Austin
c27a1a70f3
Update material_color_utilities dependency to 0.1.5. (#104771) 2022-05-27 11:18:12 -07:00
Anna Gringauze
5cd979e441
Retry getting tabs in chrome launcher on ConnectionException (#104218) 2022-05-26 15:20:11 -07:00
Darren Austin
b08b88ce6c
Add support for Material 3 medium and large top app bars. (#103962)
* Add support for M3 AppBar 'Medium' and 'Large' types.

* Updates from review feedback.

* Updated from review feedback.
2022-05-20 14:02:25 -07:00
Tong Mu
a92f0ef14f
[Keyboard, Android] Generate keyboard codes (#104032) 2022-05-19 18:38:06 -07:00
Darren Austin
17e2fce1cf
Add const MaterialStatePropertyAll class. (#104127) 2022-05-19 09:35:33 -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
Tong Mu
65ea76718f
[gen_keycode, RawKeyboard] Apply derived keyboard layout from Linux (#102709) 2022-05-11 20:04:14 -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
Darren Austin
dfb4ff2f76
Updated tokens to v0.98. (#103360) 2022-05-09 23:15:44 -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
Taha Tesser
a8c16a7059
Update FAB M3 token template class to new naming scheme and fix a typo in card.dart (#102654) 2022-04-29 14:09:07 -07:00
Taha Tesser
709b26d0b3
Add surfaceTintColor to NavigationBar (#102628) 2022-04-29 12:34:06 -07:00
Darren Austin
14a9b4a751
Migrate AppBar to Material 3 (#101884) 2022-04-27 12:04:36 -07:00
Jonah Williams
29d814b700
[intl] speed up localization generation and regenerate symbols (#102614) 2022-04-27 11:14:05 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
Tong Mu
c5e3e1cf5f
RawKeyboardMacos accepts a new field "specifiedLogicalKey" (#100803) 2022-04-14 11:24:11 -07:00
Michael Goderbauer
fa48aed7b2
Bump dwds to 13.1.0 (#101730) 2022-04-11 18:29:14 -07:00
Darren Austin
c14ca6d321
Migrate common buttons to Material 3 (#100794) 2022-04-08 17:03:21 -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
Pierre-Louis
7855132341
Generate a demo for new icons when updating icons (#101190)
* add code to generate new icon demo and make font family optional

* remove trailing spaces

* Update update_icons_test.dart

* remove trailing space
2022-04-05 12:56:23 +02:00
Michael Goderbauer
ca2d60e8e2
Prepare more of dev for use_super_parameters (#101073) 2022-03-30 14:05:05 -07:00
Michael Goderbauer
d021509141
migrate generated i18n code to super params (#101065) 2022-03-30 12:20:14 -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
Darren Austin
0a7b3d72c9
Updated tokens to v0.92. (#100599) 2022-03-23 12:10:17 -07:00
Darren Austin
86c02e998b
Migrate Card widget to Material 3. (#100532) 2022-03-22 13:46:56 -07:00
Darren Austin
6ec0b83580
Add support for surface tint color overlays to Material widget. (#100036) 2022-03-17 15:58:24 -07:00
moko256
13bf7515f4
Web: treat modifier key without location (#98460) 2022-03-15 19:50:10 -07:00
Ben Konyi
1880066dd3
Update dependencies (#99874) 2022-03-10 14:13:59 -07:00
Darren Austin
57aa49028d
Migrate NavigationRail to Material 3. (#99171) 2022-03-09 16:01:03 -08:00
Darren Austin
e8c7a88914
Updated tokens to v0.90. (#99782) 2022-03-09 10:51:33 -08:00
Pierre-Louis
b4abc233ee
Update visibility of methods for internal use (#98124) 2022-03-09 17:32:11 +01:00
Darren Austin
bb1b2fd072
Updated tokens to v0.88. (#99568)
Also added the Card tokens to the exported list.
2022-03-08 13:08:36 -08:00
Jonah Williams
67f25caf72
Remove package:typed_data from package:flutter dependencies (#99604) 2022-03-07 10:41:21 -08:00
Taha Tesser
5733374841
Migrate Dialog to Material 3 (#98919) 2022-03-04 13:16:17 -08:00
Darren Austin
670e26d7d7
Updated to v0.86 of the Material Design tokens. (#99292)
Added the navigation_rail.json as well.
2022-02-28 13:56:32 -08:00
Flutter GitHub Bot
7b6040ce27
Marks Linux_android tiles_scroll_perf__timeline_summary to be unflaky (#98990) 2022-02-28 12:26:11 -08:00
Jenn Magder
d1265ad308
Run update-packages (#99038) 2022-02-25 12:26:16 -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
Darren Austin
ca2a751661
Migrate NavigationBar to M3 tokens. (#98285) 2022-02-15 00:40:20 -08:00
Darren Austin
21a6c06491
Update Material tokens to v0.81. (#98149) 2022-02-10 22:56:17 -08:00
Darren Austin
93a1b7a577
Material 3 Typography support. (#97829) 2022-02-07 17:00:22 -08:00
Devon Carew
45f8c39052
use 'dart pub' instead of calling the pub executable directly (#97749)
use 'dart pub' instead of calling the pub executable directly
2022-02-04 12:45:20 -08:00
Harry Terkelsen
03f1d37935
Add a benchmark for a scrolling list of Links (#94638) 2022-02-03 14:38:58 -08:00
Darren Austin
e82e94b28a
Updated the defaults to only use function overrides for computed values. (#97677) 2022-02-02 16:13:56 -08:00
Darren Austin
97124d7bf9
Updated gen_defaults to use new JSON output from the Material token database. (#97596) 2022-02-02 10:22:57 -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
Pierre-Louis
6bd0b95728
[Icons] Prevent double underscores after replacement (#96904)
* Prevent double underscores after replacement

* add test

* remove trailing space
2022-01-30 13:16:32 +01:00
Michael Goderbauer
40a2689b9c
enable unnecessary_late (#96417) 2022-01-12 21:10:19 -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
Darren Austin
2ab2ca2bc6
Migrate FloatingActionButton to Material 3 (#94486) 2022-01-12 19:15:15 -08:00
Jenn Magder
3e6e996f9e
Run update-packages --force-upgrade (#96325) 2022-01-10 13:55:16 -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
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
Pierre-Louis
b23f207e2c
Improve update_icons.dart script (#93863)
* Update update_icons.dart

* formatting

* more formatting

* simplify safety checks

* add safety checks tests

* formatting

* update copyright

* naming

* revert copyright

* add `fontFamily` option

* tweak diff messages

* Update update_icons.dart

* don't exit if platform adaptive icon not found

* remove trailing spaces

* remove warning and fix insert_chart (outlined) dartdoc

* x

* add error message when exiting due to failed safety checkes

* fix icon reference

* fix rewrite for onetwothree
2021-12-08 16:31:48 +01: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
Tong Mu
32d78ab40c
[Windows, Keyboard] Fix logical key for PrintScreen (#94454) 2021-12-01 14:24:04 -08: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
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
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects (#92052) 2021-10-25 13:13:03 -07:00
Christopher Fujino
83b28c1075
[flutter_conductor] remove old conductor entrypoint (#92219) 2021-10-20 15:28:02 -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
f90b019c68
Enable prefer_relative_imports and fix files. (#91573) 2021-10-11 10:28:07 -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
SaintMalik
116f8af18e
fix: typo spelling grammar (#89344) 2021-10-07 17:53:02 -07:00
Ian Hickson
126cd7388e
Clean up dependency pins and update all packages (#91109) 2021-10-04 10:28:03 -07:00
Christopher Fujino
afd84ad425
flutter update-packages (#90994) 2021-09-30 11:38:02 -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
Kate Lovett
65d8dd988d
Update md5 method in flutter_goldens_client (#90154) 2021-09-15 17:42:05 -07:00
Sam Rawlins
8889ffaec3
Remove and also ignore unnecessary imports (#89796) 2021-09-14 15:32:02 -07:00
Anna Gringauze
cd112e551c
Update all packages (#89797) 2021-09-13 12:13:42 -07:00
Kate Lovett
4ec75580fb
Revert clamping scroll simulation changes (#89885) 2021-09-10 16:02:02 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos (#89485) 2021-09-07 14:56:04 -07:00
Jacob MacDonald
383930c2bc
update package dependencies (#89381) 2021-09-02 14:41:05 -07:00
Christopher Fujino
efaa9a4637
update-packages --force-upgrade (#88728) 2021-08-23 12:57:08 -07:00
Christopher Fujino
81eb54bf78
update-packages (#88387) 2021-08-17 18:49:32 -07:00
Gary Qian
a562b3cb3d
Deferred components integration test app (#88030) 2021-08-16 15:32:05 -07:00
Pierre-Louis
85ffa8ce18
[Fonts] Improved icons update script (#88153)
* Improved update_icons.dart

* Handle _

* Update dartdoc

* Rename function

* formatting

* fix type

* Refactor ID generation

* rename

* cleanup

* update comment

* replace typedef with type
2021-08-15 12:56:58 +02:00
Greg Spencer
10e4b04010
Switch document generation to use the snippets package (#87231)
Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.

This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.

The snippets code is deleted in this PR.

I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.

The snippets package resides in the assets-for-api-docs repo.

The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
2021-08-11 19:48:29 -07:00
Anna Gringauze
cc63c81408
Update all packages (#87579)
- Update dwds and and the rest of the packages

Closes: https://github.com/flutter/flutter/issues/87100
2021-08-03 16:37:48 -07:00
Tong Mu
a7899c1961
[gen_keycodes] Remove nonexistent Web keys and improve their emulation (#87098) 2021-07-29 16:44:06 -07:00
Tong Mu
caf876cf40
Reland: Keyboard events (#87174) 2021-07-29 14:24:03 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events (#83752)" (#87171)
This reverts commit 5f792ba170.
2021-07-28 02:32:08 -07:00
Tong Mu
c6a24e3fb2
[gen_keycodes] Move GLFW keys to logical_key_data (#87086) 2021-07-27 14:49:05 -07:00
Tong Mu
5f792ba170
Keyboard events (#83752) 2021-07-26 12:28:05 -07:00
Jacob MacDonald
fdb80f916d
update packages to the latest (#86880) 2021-07-22 13:26:05 -07:00
Anna Gringauze
84c3b56877
Update dwds (and other packages) (#86832)
* Upgrade all packages

In particular, bring in dwds with latest fixes for flakes.

Closes: https://github.com/flutter/flutter/issues/85043
Related: https://github.com/flutter/flutter/issues/85575

* Re-enable fixed tests

* Disable failing test due to DDS issue
2021-07-21 21:47:10 -07:00
Pierre-Louis
7d026b6b8b
Fix regression (#86657) 2021-07-20 14:58:12 +02:00
Greg Spencer
2cb685e157
Modify key info generation for new iOS key code. (#83439)
The (new, not yet used) code gen for iOS was setting up a std::map from key codes to logical and physical key codes, but it was using uint32_t, which isn't big enough to hold the Flutter key codes.

Also, iOS needs to be able to filter out function keys, so I added a function key set.
2021-07-20 04:24:43 -07:00
Christopher Fujino
2ba15a5aba
teach dartdoc.dart about LUCI_BRANCH env var (#86592) 2021-07-19 12:20:00 -07:00
Pierre-Louis
0d7e6798c9
[Fonts] Use exact matching for icon identifier rewrites (#86464)
* Fix sorting

* Update icons.dart

* [Fonts] Use instead matching instead of prefix

* Add new
2021-07-15 15:20:46 +02:00
Pierre-Louis
666185c027
[Fonts] Fix icons sorting (#86434)
* Fix sorting

* Update icons.dart
2021-07-14 23:25:16 +02:00
Eng Zer Jun
57a4b023f1
build: update dependencies (#86433) 2021-07-14 13:46:04 -07:00
Tong Mu
c8d0b1d9db
New scheme for keyboard logical key ID (#85121)
This PR updates the ID used by logical keyboard keys.

The logical key ID is still composed of 2 parts: 32 bits of value, and 8 bits of plane. But the assignment of planes has been drastically changed. HID plane is removed, and unprintable plane and Flutter plane are added. This is to reflect the new generation method for logical key IDs. Now keys that are defined by Flutter but not by dom_key_data are placed into the Flutter plane, including numpad keys, sided modifier keys, and gamepad keys. The values for platform planes have also been adjusted.

The generation script and README have been updated accordingly as well.

A new file, test_utils/key_codes.h is now generated to assist engine unit testing.

All lists generated by the script are now sorted by the key.
2021-07-14 13:07:22 -07:00
Yegor
78e06e716b
[web] move e2e tests from flutter/engine to flutter/flutter (#86119)
* [web] move e2e tests from flutter/engine to flutter/flutter
* flutter update-packages --force-upgrade
2021-07-09 15:31:49 -07:00
Christopher Fujino
5456cad343
Migrate gen_localizations to null-safety (#86051) 2021-07-08 15:06:04 -07:00
Ian Hickson
0b8174e0b0
Pin the customer_tests (#83964) 2021-07-02 19:16:04 -07:00
Ahmed Ashour
a3dc90c4f5
Add space before curly parentheses. (#85306) 2021-07-01 13:51:05 -07:00
Mouad Debbar
4013fe2131
[web] Remove the part directive from the web key map template (#85637) 2021-06-30 14:26:04 -07:00
Dan Field
e36e62e9a6
Revert "Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)" (#85567)
This reverts commit 2be0d57fa2.
2021-06-30 09:46:54 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) (#83530) 2021-06-28 15:26:04 -07:00
Ren You
2be0d57fa2
Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)
This reverts commit 9846fa5145.
2021-06-28 09:55:31 -07:00
Dan Field
9846fa5145
Audit hashCode overrides outside of packages/flutter (#85370) 2021-06-26 17:36:04 -07:00
Jonah Williams
03d14a30c8
[versions] remove mockito (#85076) 2021-06-22 17:41:03 -07:00
Phil Quitslund
875b420cc8
remove deprecated author fields (#84997) 2021-06-22 06:06:03 -07:00
Tong Mu
32203c391f
Key codegen for Hardware Keyboard: Linux (GTK) #82962 2021-06-17 02:14:44 -07:00
Jonah Williams
cd13c91119
[versions] update dependencies (#84639) 2021-06-15 11:08:57 -07:00
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
Abhishek Ghaskata
4705e0cc19
migrate localization to null safety (#84064)
migrate localization to null safety
2021-06-14 11:23:09 -07:00
Abhishek Ghaskata
2da969aa9b
migrate update_icons to null safety (#84063) 2021-06-09 13:59:03 -07:00
Anis Alibegić
d90ee21271
Migrate dartdoc to null safety (#84153) 2021-06-07 17:09:03 -07:00
Michael Goderbauer
5a2530b28e
Remove unused protobuf dependency (#84148) 2021-06-07 15:34:06 -07:00
Abhishek Ghaskata
243805ee60
migrate mega_gallery to null safety (#84061) 2021-06-07 10:34:04 -07:00
Michael Goderbauer
2f88966935
Migrate vitool to null safety (#84011) 2021-06-04 13:58:21 -07:00
Dan Field
2d8d105256
Delete obsolete TODO (#83967) 2021-06-03 23:34:04 -07:00
Michael Goderbauer
14b2e7ffee
flutter update-packages --force-upgrade (#83911) 2021-06-03 10:50:11 -07:00
Tong Mu
e3da1bd7aa
Test WidgetTester handling test pointers (#83337)
Adds tests to the following behaviors, which have existed without tests:

- When tapping during live testing, a message is printed with widgets that contain the tap location.
- When tapping during live testing, a mark is displayed on screen on the tap location.
2021-06-02 11:50:09 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors (#83744) 2021-06-02 10:14:06 -07:00
Emmanuel Garcia
0bccce6260
[gradle] Unlock all configurations if a local engine is used (#83635) 2021-06-01 13:19:03 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
Alexandre Ardhuin
0ef0f0ba5e
fix lint from an improved unnecessary_parenthesis (#83433) 2021-05-27 13:39:03 -07:00
Jonah Williams
025a3a7da3
[versions] roll package test redux (#83367) 2021-05-26 17:22:28 -07:00
Greg Spencer
6b087c74e2
Add iOS key map generation, make macOS var naming consistent with repo (#83146)
This adds iOS key map generation that uses std::maps. It uses std::maps because on iOS if we use NSDictionaries, then when XCode loads the dylib, the initialization of those status NSDictionaries hasn't yet occurred, and it crashes the app. std::maps have a well-defined static behavior, and are correctly initialized.

I also made the naming of variables, fields, etc. consistent for macOS. We variously had macosFoo, macOSFoo, and macOsFoo. I eliminated macOsFoo and macosFoo, since the rest of the repo uses macOSFoo for lowerCamelCase names (with only a few exceptions). I used iOSFoo for iOS.
2021-05-25 17:18:06 -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
Emmanuel Garcia
fa5883b78e
Add Gradle lockfiles and tool to generate them (#83067) 2021-05-21 13:04:03 -07:00
Christopher Fujino
2123c93aa7
fix candidates (#82957) 2021-05-20 17:34:05 -07:00
nt4f04uNd
80a2b6b015
Fix typos (#82589) 2021-05-20 17:19:09 -07:00
Christopher Fujino
660ec207e6
[flutter_conductor] Re-land auto-apply dart revision (#82985) 2021-05-20 16:58:11 -07:00
Ian Hickson
fa1c6a2841
Add a script that will find the appropriate commit in another repository. (#82462) 2021-05-20 16:09:04 -07:00
Christopher Fujino
843083c93a
Revert "[flutter_conductor] Auto apply dart revision (#82601)" (#82983)
This reverts commit e86f9c7a7c.
2021-05-19 21:38:45 -07:00
Christopher Fujino
e86f9c7a7c
[flutter_conductor] Auto apply dart revision (#82601) 2021-05-19 21:23:26 -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
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
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
Jan Mewes
b1c1bdbfba
Fix typos (#82319) 2021-05-12 17:34:02 -07:00
Christopher Fujino
84b2f3cadb
delete skipped test (#81843) 2021-05-11 14:19:01 -07:00
Christopher Fujino
a5318173fe
apply cherrypicks (#81936) 2021-05-11 13:19:05 -07:00
Greg Spencer
af3337b676
Add Enter and Tab back in to ios and macos key maps (#81865)
I noticed that tab traversal stopped working on iOS when #73440 was landed.

It seems to be that the control characters were excluded from the list of logical keys, and so they ended up being generated values.

This PR just adds "Enter" and "Tab" to the list for both macOS and iOS.
2021-05-11 10:23:11 -07:00
Michael Goderbauer
2bf42e7047
clean-up analysis_options.yaml's across the repository (#81986) 2021-05-10 23:44:02 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint (#81578) 2021-05-10 16:26:16 -07:00
Tong Mu
0e251e0ae1
[key_codegen] Remove webValues (#81678)
Removes webValues from logical_key_data.json. Web's logical mapping should map webNames to logical key values, i.e. entry.value.
2021-05-10 03:16:25 -07:00
Sam Rawlins
208bf4bc92
Remove "unnecessary" imports in dev/ (#81004) 2021-05-07 08:59:02 -07:00
Christopher Fujino
7b3ce8c003
[flutter_conductor] Add candidates sub command (#81234) 2021-05-03 16:49:04 -07:00
Phil Quitslund
96e4b47f5d
sort directives (#81624) 2021-05-02 07:24:01 -07:00
Tong Mu
9956a35a5a
Hardware keyboard: codegen (#73440)
Rewrites tools/gen_keycodes, the script that generates key mappings across the framework and the engine.
2021-04-30 21:06:03 -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
Christopher Fujino
3155972744
Skip roll-dev integration test until dev release is published (#81253) 2021-04-26 17:36:16 -07:00
Jonah Williams
7d6e581f61
[versions] roll in latest shelf (#81099) 2021-04-23 20:39:02 -07:00
Christopher Fujino
8654e4ae3e
begin migrating //flutter/dev/tools to null-safety (#80834) 2021-04-23 20:24:03 -07:00
Jenn Magder
0f899f2b64
Roll packages (#80989) 2021-04-22 15:01:49 -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
Christopher Fujino
4a7f280687
[flutter_conductor] Add "start", "status", "clean" commands to conductor release tool (#80528) 2021-04-19 15:04:04 -07:00
Dan Field
e7b7ebc066
Shake widget inspector from non-debug builds (#80157) 2021-04-14 21:54:03 -07:00
Christopher Fujino
a219b86db8
skip roll_dev_integration_test (#80464) 2021-04-14 14:16:08 -07:00
Dan Field
d7da6190ff
roll packages (#80307) 2021-04-13 18:19:02 -07:00
Tong Mu
8a821ff0b5
Revert "Remove "unnecessary" imports. (#79610)" (#80070)
This reverts commit 98a9618993.
2021-04-08 11:36:30 -07:00
Sam Rawlins
98a9618993
Remove "unnecessary" imports. (#79610) 2021-04-07 22:34:03 -07:00
Tong Mu
dbcac7f177
Reland Make LogicalKeyboardKey.keyLabel a getter and better #79100 (#79302) 2021-04-01 16:39:02 -07:00
Jonah Williams
443d07b707
[versions] roll to latest test (#79099) 2021-03-31 07:45:40 -07:00
Tong Mu
a603714610
Revert "Make LogicalKeyboardKey.keyLabel a getter and better (#79100)" (#79217) 2021-03-28 03:54:02 -07:00
Tong Mu
b60c855af5
Make LogicalKeyboardKey.keyLabel a getter and better (#79100) 2021-03-26 22:14:01 -07:00
Jonah Williams
dfc134dd9a
[versions] roll many versions (#79088) 2021-03-25 15:43:44 -07:00
Pierre-Louis
c49cd2719d
[Fonts] Remove update_icons TODO (#79027) 2021-03-25 09:29:02 -07:00
Tong Mu
eb6e56761e
Revert "Remove keyLabel and debugName from Logical/PhysicalKeyboardKey (#78263)" (#79005)
This reverts commit 515ef91ba1.
2021-03-24 13:31:02 -07:00
Tong Mu
515ef91ba1
Remove keyLabel and debugName from Logical/PhysicalKeyboardKey (#78263)
- Remove `LogicalKeyboardKey.keyLabel`
- Make `Physical/LogicalKeyboardKey.debugName` getters
- Make `Physical/LogicalKeyboardKey()` factory constructors, which cache non-predefined instances.
2021-03-24 04:59:57 -07:00
Jenn Magder
6b22834699
Update packages to pick up new process version (#78910) 2021-03-23 17:30:49 -07:00
Jonah Williams
28532edaa5
Update all versions and migrate devicelab framework to package:vm_service (#78557) 2021-03-18 12:38:12 -07:00
Ian Hickson
f3c25fa07a
Align more closely with package:test (#77118) (#78343) 2021-03-16 13:58:02 -07:00
Pierre-Louis
961fdeebb8
[Fonts] Fix update_icons double newline bug (#78317) 2021-03-16 10:03:03 -07:00
Zachary Anderson
e7e1a04aa3
Revert "Align more closely with package:test (#77118)" (#78329)
This reverts commit 0cbe597540.
2021-03-16 09:26:34 -07:00
Ian Hickson
0cbe597540
Align more closely with package:test (#77118) 2021-03-15 16:28:02 -07:00
Gary Roumanis
3f62915383
Update ClampingScrollSimulation to better match Android (#77497) 2021-03-12 16:23:05 -08:00
Jonah Williams
2edf6b7320
Remove mockito deps from dev/ (#77749) 2021-03-10 17:50:44 -08:00
Pierre-Louis
948ff0f2b0
[Fonts] Sort material icons (#76691)
* Update update_icons.dart

* Merge and simplify identifier rewrites

* Update update_icons.dart

* Update update_icons.dart

* Update update_icons.dart

* Add newline

* remove whitespace

* Copy instead of moving

* Fix typo

* Clean up code

Introduce fullFlutterId and fix a small dartdoc bug

* Update update_icons.dart

* Implement sorting

* Remove trailing spaces

* Revert "Remove trailing spaces"

This reverts commit c198a16067.

* Revert "Implement sorting"

This reverts commit 0fac8c1f1c.

* Revert "Revert "Implement sorting""

This reverts commit 0f8ec2381a.

* Revert "Revert "Remove trailing spaces""

This reverts commit c3ef865879.

* xx

* add braces
2021-03-09 16:14:18 +01:00
Pierre-Louis
698d438960
[Fonts] Improve update_icons script (#76532)
* Update update_icons.dart

* Merge and simplify identifier rewrites

* Update update_icons.dart

* Update update_icons.dart

* Update update_icons.dart

* Add newline

* remove whitespace

* Copy instead of moving

* Fix typo

* Clean up code

Introduce fullFlutterId and fix a small dartdoc bug

* Update update_icons.dart

* Implement sorting

* Remove trailing spaces

* Revert "Remove trailing spaces"

This reverts commit c198a16067.

* Revert "Implement sorting"

This reverts commit 0fac8c1f1c.

* Remove trailing space

* Add bug number

* Rename 2d rewrite

* Add _replaceLast

* Add comment

* Simplify, remove fullFlutterId

* Remove IconStyle and reorder

* xx

* reorder
2021-03-09 07:53:21 +01:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint (#77434) 2021-03-05 18:38:15 -08:00
Michael Goderbauer
807bb29888
enable prefer_function_declarations_over_variables lint (#77398) 2021-03-05 18:29:04 -08:00
Jonah Williams
54eb3d6289
[flutter_tools] migrate to null safe mustache (#77400) 2021-03-05 13:24:04 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint (#77163) 2021-03-04 08:59:17 -08:00
Jonah Williams
ddcb8d7d6d
Update all versions! (#77153) 2021-03-03 14:11:30 -08:00
Christopher Fujino
d98fa56a35
ios-deploy does not need entitlements (#76731) 2021-02-24 14:56:02 -08:00
Jia Hao
1c179c401f
Bump packages (#76673) 2021-02-24 09:21:03 -08:00
Vyacheslav Egorov
2e00fc5ee3
Upgrade packages to pick up vm_snapshot_analysis fixes (#76511)
Run flutter update-packages --force-upgrade to pick up a new version of vm_snapshot_analysis package which contains fixes for #76313

Fixes #76313
2021-02-22 11:43:39 +01:00
Pierre-Louis
371dd87aa0
Make it possible to run in google3 (#76392) 2021-02-20 13:11:58 +01:00
Jason Simmons
73ec544238
Update all packages and upgrade to path_provider 2.0.0-nullsafety (#76420) 2021-02-19 16:40:24 -08:00
Ian Hickson
341984237e
Const constructor audit. (#76162) 2021-02-17 19:46:04 -08:00
Jonah Williams
db1e9f053f
update all packages (#76254) 2021-02-17 17:33:56 -08:00
Jonah Williams
7088c5ba2a
Update all packages (#76143) 2021-02-16 15:29:12 -08:00
Jonah Williams
021311ed8a
Revert "[flutter_tools] move process manager into tool (#75350)" (#75639)
This reverts commit 8b6baae44c.
2021-02-08 09:21:46 -08:00
godofredoc
da6528cda6
Point to a new artifacts location. (#70673)
This is in preparation to move the flutter artifacts to a more secure
location.

Bug:
  go/fxb/64576
2021-02-04 18:44:47 -08:00
Jonah Williams
8b6baae44c
[flutter_tools] move process manager into tool (#75350)
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Dan Field
bc1cf49458
roll packages (#75370) 2021-02-04 11:41:03 -08:00
Ian Hickson
ac3b9e7f89
Unpin mysteriously pinned packages (#74885) 2021-02-01 14:31:03 -08:00
Michael Goderbauer
0e815a1b87
Bump flutter_gallery_assets (#75026) 2021-02-01 04:51:04 -08:00
Dan Field
5575caa118
vm_service 6.0.1-nullsafety.1, dwds 8.0.2 (#74943) 2021-01-28 18:39:07 -08:00
Dan Field
71aec53acb
roll packages (#74781) 2021-01-26 21:53:04 -08:00
Dan Field
d1538320d2
Roll packages to null safe (vm_service, test, etc.) (#74671) 2021-01-26 09:15:54 -08:00
Jia Hao
22f1700427
[flutter_tools] Make setting of CWD consistent for flutter test (#74622) 2021-01-25 22:34:03 -08:00
Christopher Fujino
353add83e7
Re-land codesign test improvement (#73997) 2021-01-25 14:04:04 -08:00
Dan Field
1b373f45b7
Remove unused bigquery code and deps (#74532) 2021-01-22 16:21:01 -08:00
Ben Konyi
e2e3976a12
Roll package:dds to 1.7.3 and add error handling for VM service disappearing (#74272) 2021-01-20 10:49:13 -08:00
Nate Bosch
dcc4fdd558
Pass only Uri to package:http APIs (#74285) 2021-01-20 09:59:03 -08:00
Ben Konyi
2a188eeca3
Roll package:dds to 1.7.2 (#74171)
Should fix https://github.com/flutter/flutter/issues/74051
2021-01-17 19:27:00 -08:00
Ben Konyi
3755f4f018
Update DDS to 1.7.1 (#74000) 2021-01-14 22:26:14 -08:00
Christopher Fujino
66ba4b244d
Revert "Improve codesign script (#71244)" (#73961)
This reverts commit b7f5aef11a.
2021-01-14 18:40:29 +00:00
Christopher Fujino
b7f5aef11a
Improve codesign script (#71244) 2021-01-14 18:22:08 +00:00
Robert Ancell
c65304bbf1
Map Linux AltGr to right alt. It was currently being ignored. (#73373)
Fixes https://github.com/flutter/flutter/issues/68713
2021-01-13 14:31:22 +13:00
Jonah Williams
22684ead6f
[versions] update all dependencies (#73800) 2021-01-12 15:14:05 -08:00
Michael Goderbauer
5d1306e7ab
Update outdated links (#73514) 2021-01-07 16:28:12 -08:00
Ian Hickson
544a41eb55
Remove an obsolete comment from pubspec.yaml (#73505) 2021-01-07 15:59:04 -08:00
Darren Austin
a6117269c6
Migrated some services and widgets doc comments to null safety. (#72792) 2020-12-23 17:14:04 -08:00
Todd Volkert
9a9339fbcb
Fix bug in docs.dart (#72544)
Add a check that a pubspec file exists before trying to read it.
2020-12-17 14:47:45 -08:00
xster
c980c2413e
update cupertino icons to 1.0.2 (#72420) 2020-12-16 12:03:51 -08:00
George Wright
a109fe68b0
Stop using the List constructor (#71957) 2020-12-08 17:03:03 -08:00
Pierre-Louis
a51b8e4309
Fix text direction logic for material icon variants (#71852) 2020-12-08 09:08:05 -08:00
Ben Konyi
89ef88c64f
Ensure attaching to an application with an existing DDS instance is not treated as a fatal error (#70847) 2020-12-04 17:16:30 -08:00
Jonah Williams
4e85a67f3e
[flutter_tools] roll deps, fix completion bug (#71671) 2020-12-03 11:58:03 -08:00
Gary Roumanis
7477524db6
Upgrade deps (#71450) 2020-12-01 09:57:27 -08:00
Pierre-Louis
a7f5fd5360
Update documentation link (#71401) 2020-11-30 13:14:13 +01:00
Janice Collins
a5519dc75e
Update dartdoc to 0.37.0 (#70882) 2020-11-20 11:18:07 -08:00
Jonah Williams
c6290500f8
[flutter_tools] update dependencies (#70797) 2020-11-18 17:29:28 -08:00
Christopher Fujino
b8887f47f7
fix and re-enable integration test (#70666) 2020-11-18 11:13:04 -08:00
Pierre-Louis
2f17d4e017
Adaptive icons (#69119)
* refactor update_icons

* fix trailing space

* address feedback

* add platform adaptive icons

* fix merge conflict

* Update dartdoc

* Address feedback

* Specify types

* Add tests

* fix indentation

* Remove trailing space

* Remove isCupertino static bool
2020-11-18 16:04:38 +01:00
Ben Konyi
4cbafda853
Roll package:dds to 1.5.1 and add isCompleted guards around completers in base/dds.dart (#70712) 2020-11-17 16:03:18 -08:00