- 30 Jun, 2022 1 commit
-
-
Tong Mu authored
-
- 16 Jun, 2022 1 commit
-
-
Tong Mu authored
* Impl * Revert some changes * More doc changes * Remove legacy code
-
- 08 Oct, 2021 1 commit
-
-
SaintMalik authored
-
- 14 Jul, 2021 1 commit
-
-
Tong Mu authored
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.
-
- 01 May, 2021 1 commit
-
-
Tong Mu authored
Rewrites tools/gen_keycodes, the script that generates key mappings across the framework and the engine.
-
- 25 Sep, 2020 1 commit
-
-
Android Dev Notes authored
-
- 23 Jul, 2020 1 commit
-
-
Yazeed Al-Khalaf authored
*
Fix Spelling Issues in Main README.md * Fix spelling issues in dev README.md * Fix spelling issues in complex_layout README.md * Fix spelling issues in macrobenchmarks README.md * Fix spelling issues in platform_views_layout README.md * Fix spelling issues in test_Apps/stocks README.md * Fix spelling issues in bots README.md * Spell Check dev/ci README.md * Spell Check dev/ci/docker_linux README.md * Spell Check dev/devicelab README.md * Spell Check dev/docs README.md * Spell Check dev/snippets README.md * Spell Check dev/snippets/config/templates README.md * Spell Check dev/tools/gen_keycodes README.md * Spell Check dev/tools/vitool README.md * Spell Check examples/catalog README.md * Spell Check examples/flutter_view README.md * Spell Check examples/image_list README.md * Spell Check examples/layers README.md * Spell Check examples/platform_channel README.md * Spell Check examples/platform_channel_swift README.md * Spell Check examples/platform_view README.md * Spell Check packages/_flutter_web_build_script README.md * Spell Check packages/flutter_localizations README.md * Spell Check packages/flutter_tools README.md * Spell Check CODE_OF_CONDUCT.md * Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md * Spell Check dev/integration_test/android_views README.md * Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md * Spell Check dev/integration_tests/flutter_gallery README.md * Spell Check dev/integration_tests/gradle_deprecated_settings README.md * Spell Check dev/integration_tests/ios_add2app_life_cycle README.md * Spell Check dev/integration_tests/ios_host_app README.md * Spell Check dev/integration_tests/ios_platform_view_tests README.md * Spell Check dev/automated_tests/flutter_test README.md * Spell Check .github/PULL_REQUEST_TEMPLATE.md * Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md * Spell Check .github/ISSUE_TEMPLATE/BUG.md * Spell Check .github/ISSUE_TEMPLATE/feature_request.md * Spell Check .github/ISSUE_TEMPLATE/performance_others.md * Spell Check .github/ISSUE_TEMPLATE/performance_speed.md * Spell Check packages/flutter_tools/doc/daemon.md * Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md * Minimize line to 80 columns * Minimize line to 80 columns * Fix Typo * Chnaged numbers to 1 for testing purposes * Changed numbers to 1 for testing purposes * Remove 'a' which is a typo * Change a sentence to be better * Remove 'a' which is a typo * Fix small issue * Fix small typo * Fix some typos * Remove trailing space * Remove trailing space * Fix small typo * Fix Typo * Fix small bug
-
- 02 Jan, 2020 2 commits
-
-
Francisco Magdaleno authored
This reverts commit e768c92f.
- 31 Dec, 2019 1 commit
-
-
Ian Hickson authored
* Update packages. * Add many more global analyses. * Catch trailing spaces and trailing newlines in all text files. Before we were only checking newly added files, but that means we missed some. * Port the trailing spaces logic to work on Windows too. * Correct all the files with trailing spaces and newlines. * Refactor some of the dev/bots logic into a utils.dart library. Notably, the "exit" and "print" shims for testing are now usable from test.dart, analyze.dart, and run_command.dart. * Add an "exitWithError" function that prints the red lines and then exits. This is the preferred way to exit from test.dart, analyze.dart, and run_command.dart. * More consistency in the output of analyze.dart. * Refactor analyze.dart to use the _allFiles file enumerating logic more widely. * Add some double-checking logic to the _allFiles logic to catch cases where changes to that logic end up catching fewer files than expected (helps prevent future false positives). * Add a check to prevent new binary files from being added to the repository. Grandfather in the binaries that we've already added. * Update all the dependencies (needed because we now import crypto in dev/bots/analyze.dart).
-
- 04 Jun, 2019 1 commit
-
-
Greg Spencer authored
This adds a list of key synonyms for non-printable keyboard keys that appear in more than one place So keys like LogicalKeyboardKey.shiftLeft and LogicalKeyboardKey.shiftRight now can be mapped to just LogicalKeyboardKey.shift. I also fixed a bug in the gen_keycodes tool where GLFW entries would get removed if they weren't parsed from the source on the web.
-
- 30 Apr, 2019 1 commit
-
-
Greg Spencer authored
Fixes a typo in the key generator readme. Updated the examples in the readme to reflect that the examples were for physical key codes, where we're actually talking about logical key codes there.
-
- 07 Feb, 2019 1 commit
-
-
Greg Spencer authored
This adds a keycode generator that incorporates input from the Chromium and Android source trees, as well as some local tables, to generate static constants for the LogicalKeyboardKey and PhysicalKeyboardKey classes, as well as mappings from each of the platforms we support so far (currently only Android and Fuchsia). This code generator parses the input files, generates an intermediate data structure (`key_data.json`) that is checked in, and then generates the Dart sources for these classes and some static maps that will also be checked in (but are not included in this PR). The idea is that these codes don't change often, and so we don't need to generate them on every build, but we would like to be able to update them easily in the future if new data becomes available. If the existing data disappears or becomes unusable, we can maintain the checked-in data structure by hand if necessary, and still be able to generate the code. This PR only contains the code generator, not the classes themselves. In another follow-on PR, I'll run the generator and check in the output of the generator.
-