1. 30 Jun, 2022 1 commit
  2. 16 Jun, 2022 1 commit
  3. 08 Oct, 2021 1 commit
  4. 14 Jul, 2021 1 commit
    • Tong Mu's avatar
      New scheme for keyboard logical key ID (#85121) · c8d0b1d9
      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.
      c8d0b1d9
  5. 01 May, 2021 1 commit
  6. 25 Sep, 2020 1 commit
  7. 23 Jul, 2020 1 commit
    • Yazeed Al-Khalaf's avatar
      :black_nib: Spell Check All `.md` Files Related to Flutter :blue_heart: (#61564) · d41b1fbb
      Yazeed Al-Khalaf authored
      * :bug: Fix Spelling Issues in Main README.md
      
      * :bug: Fix spelling issues in dev README.md
      
      * :bug: Fix spelling issues in complex_layout README.md
      
      * :bug: Fix spelling issues in macrobenchmarks README.md
      
      * :bug: Fix spelling issues in platform_views_layout README.md
      
      * :bug: Fix spelling issues in test_Apps/stocks README.md
      
      * :bug: Fix spelling issues in bots README.md
      
      * :black_nib: Spell Check dev/ci README.md
      
      * :black_nib: Spell Check dev/ci/docker_linux README.md
      
      * :black_nib: Spell Check dev/devicelab README.md
      
      * :black_nib: Spell Check dev/docs README.md
      
      * :black_nib: Spell Check dev/snippets README.md
      
      * :black_nib: Spell Check dev/snippets/config/templates README.md
      
      * :black_nib: Spell Check dev/tools/gen_keycodes README.md
      
      * :black_nib: Spell Check dev/tools/vitool README.md
      
      * :black_nib: Spell Check examples/catalog README.md
      
      * :black_nib: Spell Check examples/flutter_view README.md
      
      * :black_nib: Spell Check examples/image_list README.md
      
      * :black_nib: Spell Check examples/layers README.md
      
      * :black_nib: Spell Check examples/platform_channel README.md
      
      * :black_nib: Spell Check examples/platform_channel_swift README.md
      
      * :black_nib: Spell Check examples/platform_view README.md
      
      * :black_nib: Spell Check packages/_flutter_web_build_script README.md
      
      * :black_nib: Spell Check packages/flutter_localizations README.md
      
      * :black_nib: Spell Check packages/flutter_tools README.md
      
      * :black_nib: Spell Check CODE_OF_CONDUCT.md
      
      * :black_nib: Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md
      
      * :black_nib: Spell Check dev/integration_test/android_views README.md
      
      * :black_nib: Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md
      
      * :black_nib: Spell Check dev/integration_tests/flutter_gallery README.md
      
      * :black_nib: Spell Check dev/integration_tests/gradle_deprecated_settings README.md
      
      * :black_nib: Spell Check dev/integration_tests/ios_add2app_life_cycle README.md
      
      * :black_nib: Spell Check dev/integration_tests/ios_host_app README.md
      
      * :black_nib: Spell Check dev/integration_tests/ios_platform_view_tests README.md
      
      * :black_nib: Spell Check dev/automated_tests/flutter_test README.md
      
      * :black_nib: Spell Check .github/PULL_REQUEST_TEMPLATE.md
      
      * :black_nib: Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md
      
      * :black_nib: Spell Check .github/ISSUE_TEMPLATE/BUG.md
      
      * :black_nib: Spell Check .github/ISSUE_TEMPLATE/feature_request.md
      
      * :black_nib: Spell Check .github/ISSUE_TEMPLATE/performance_others.md
      
      * :black_nib: Spell Check .github/ISSUE_TEMPLATE/performance_speed.md
      
      * :black_nib: Spell Check packages/flutter_tools/doc/daemon.md
      
      * :black_nib: Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md
      
      * :black_nib: Minimize line to 80 columns
      
      * :black_nib: Minimize line to 80 columns
      
      * :black_nib: Fix Typo
      
      * :black_nib: Chnaged numbers to 1 for testing purposes
      
      * :black_nib: Changed numbers to 1 for testing purposes
      
      * :x: Remove 'a' which is a typo
      
      * :black_nib: Change a sentence to be better
      
      * :black_nib: Remove 'a' which is a typo
      
      * :black_nib: Fix small issue
      
      * :black_nib: Fix small typo
      
      * :black_nib: Fix some typos
      
      * :x: Remove trailing space
      
      * :x: Remove trailing space
      
      * :bug: Fix small typo
      
      * :black_nib: Fix Typo
      
      * :bug: Fix small bug
      d41b1fbb
  8. 02 Jan, 2020 2 commits
  9. 31 Dec, 2019 1 commit
    • Ian Hickson's avatar
      Add many more global analyses. (#47875) · e768c92f
      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).
      e768c92f
  10. 04 Jun, 2019 1 commit
    • Greg Spencer's avatar
      Add pseudo-key synonyms for keys like shift, meta, alt, and control. (#33695) · a70b020e
      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.
      a70b020e
  11. 30 Apr, 2019 1 commit
    • Greg Spencer's avatar
      Keycode generation doc fix (#31493) · 0245a29a
      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.
      0245a29a
  12. 07 Feb, 2019 1 commit
    • Greg Spencer's avatar
      Add a keyboard key code generator. (#27620) · 2aad5931
      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.
      2aad5931