Commit Graph

160 Commits

Author SHA1 Message Date
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
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
Kate Lovett
65d8dd988d Update md5 method in flutter_goldens_client (#90154) 2021-09-15 17:42:05 -07:00
Anna Gringauze
cd112e551c Update all packages (#89797) 2021-09-13 12:13:42 -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
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
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
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
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
Jonah Williams
03d14a30c8 [versions] remove mockito (#85076) 2021-06-22 17:41: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
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
Alexandre Ardhuin
34059eec2c enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -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
nt4f04uNd
80a2b6b015 Fix typos (#82589) 2021-05-20 17:19:09 -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
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
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
Phil Quitslund
96e4b47f5d sort directives (#81624) 2021-05-02 07:24:01 -07:00