1. 30 Sep, 2019 1 commit
  2. 28 Sep, 2019 1 commit
  3. 27 Sep, 2019 2 commits
  4. 24 Sep, 2019 2 commits
    • Alexandre Ardhuin's avatar
      fix some bad indentations (#41172) · b8731621
      Alexandre Ardhuin authored
      b8731621
    • Greg Spencer's avatar
      Add fake keyboard key generation to the testing framework (#40706) · 0e6cb28d
      Greg Spencer authored
      There were four or five different implementations in various tests for sendFakeKeyEvent, which roughly all did the same thing. I was going to add yet another one, and decided that it needed to be generalized and centralized. This replaces those instances with something that just takes a LogicalKeyboardKey so that it's self-documenting, and can be used with multiple platforms.
      
      This adds two functions to widget tester: sendKeyDownEvent and sendKeyUpEvent which simulate key up/down from a physical keyboard. It also adds global functions simulateKeyDownEvent and simulateKeyUpEvent that can be called without a widget tester. All are async functions protected by the async guard.
      0e6cb28d
  5. 23 Aug, 2019 1 commit
    • Greg Spencer's avatar
      Fix KeySet<T> (and LogicalKeySet, PhysicalKeySet) hashCode calculation (#38936) · 055c5489
      Greg Spencer authored
      This fixes the hashCode calculation for KeySet<T> so that it doesn't depend on the insertion order of the keys in the set.
      
      The fix involves switching from Set<T> to HashSet<T> internally, so that the iteration order is stable around the hash values of the inserted keys, and not the insertion order. This matters when hashList is called in KeySet<T>.hashCode to build the hash value of the contents of the internal set.
      
      Fixes #38919
      055c5489
  6. 21 Aug, 2019 1 commit
  7. 09 Aug, 2019 2 commits
  8. 06 Jun, 2019 1 commit
  9. 04 Jun, 2019 1 commit
    • Greg Spencer's avatar
      Add actions and keyboard shortcut map support (#33298) · 387e2b06
      Greg Spencer authored
      This implements the keyboard shortcut handling and action invocation in order to provide a place in the infrastructure for keyboard events to trigger actions. This will allow binding of key events to actions like "move the focus to the next widget" and "activate button".
      387e2b06