1. 07 Jan, 2020 2 commits
  2. 20 Dec, 2019 1 commit
    • Greg Spencer's avatar
      Add variant testing to testWidgets (#45646) · 19b9206a
      Greg Spencer authored
      This adds the ability to define variants of tests with different environmental values for a particular testWidgets test.
      
      This allows you to run the same test multiple times with a different test environment. One test variant has been implemented that allows running a test with different settings of the TargetPlatform.
      19b9206a
  3. 19 Dec, 2019 3 commits
  4. 18 Dec, 2019 1 commit
  5. 17 Dec, 2019 1 commit
  6. 12 Dec, 2019 1 commit
  7. 09 Dec, 2019 1 commit
  8. 06 Dec, 2019 1 commit
  9. 04 Dec, 2019 1 commit
  10. 02 Dec, 2019 3 commits
  11. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  12. 22 Nov, 2019 1 commit
  13. 20 Nov, 2019 1 commit
  14. 19 Nov, 2019 1 commit
  15. 14 Nov, 2019 1 commit
  16. 07 Nov, 2019 1 commit
  17. 06 Nov, 2019 1 commit
    • Greg Spencer's avatar
      Synchronize modifier keys in RawKeyboard.keysPressed with modifier flags on events. (#43948) · 028ed712
      Greg Spencer authored
      Currently, we listen to keyboard events to find out which keys should be represented in RawKeyboard.instance.keysPressed, but that's not sufficient to represent the physical state of the keys, since modifier keys could have been pressed when the overall app did not have keyboard focus (especially on desktop platforms).
      
      This PR synchronizes the list of modifier keys in keysPressed with the modifier key flags that are present in the raw key event so that they can be relied upon to represent the current state of the keyboard. When synchronizing these states, we don't send any new key events, since they didn't happen when the app had keyboard focus, but if you ask "is this key down", we'll give the right answer
      028ed712
  18. 04 Nov, 2019 1 commit
    • Nurhan Turgut's avatar
      Adding handling of TextInputClient.onConnectionClosed messages handli… (#43466) · 97cf355b
      Nurhan Turgut authored
      * Adding handling of TextInputClient.onConnectionClosed messages handling to Framework
      
      * Adding more test cases for closing connection to editable_text_test
      
      * fixing analyze error.
      
      * Fixing analyze error in the test file
      
      * Fixing comments on the new method
      
      * Adding more closing connection examples.
      
      * Indentation change
      
      * Remove auto-add white space
      
      * Changing the oncloseconnection behaviour to stop editing. Updating the tests
      
      * Addressing PR comments. Added explicit log for method channnels to the tests. Added comments to the interfaces.
      
      * add more documentation
      97cf355b
  19. 31 Oct, 2019 1 commit
  20. 28 Oct, 2019 2 commits
  21. 25 Oct, 2019 1 commit
  22. 22 Oct, 2019 1 commit
  23. 21 Oct, 2019 1 commit
  24. 09 Oct, 2019 2 commits
    • Greg Spencer's avatar
      Enables setting of semantics focused and focusable attributes within Focus widgets. (#41814) · 89d6c8d9
      Greg Spencer authored
      This adds a Semantics node to the Focus and FocusScope widgets, setting the focused and focusable attributes so that the accessibility subsystem can be told when a control has the input focus.
      
      Includes an engine roll to flutter/engine@77252d2, and the following 8 engine changes:
      
      flutter/engine@77252d2 Greg Spencer Add missing focusable testing info (flutter/engine#13013)
      flutter/engine@0e42a29 skia-flutter-.. Roll src/third_party/skia 54548626a977..e27a503a0a21 (1 commits) (flutter/engine#13024)
      flutter/engine@6b56ed7 gaaclarke Refactor: FlutterDartProject (flutter/engine#13006)
      flutter/engine@393480c skia-flutter-.. Roll src/third_party/skia 77dde599c98a..54548626a977 (1 commits) (flutter/engine#13023)
      flutter/engine@080b89d skia-flutter-.. Roll src/third_party/skia 2b1a25a4d324..77dde599c98a (1 commits) (flutter/engine#13021)
      flutter/engine@90b0f30 Ben Konyi Roll src/third_party/dart f4a72bfc64..bb04f145b2 (18 commits) (flutter/engine#13020)
      flutter/engine@049fb89 skia-flutter-.. Roll fuchsia/sdk/core/linux-amd64 from q_uYX... to cknsi... (flutter/engine#13019)
      flutter/engine@6925b2a skia-flutter-.. Roll fuchsia/sdk/core/mac-amd64 from wuAtw... to u0JpE... (flutter/engine#13018)
      
      Related Issues
      Addresses #40101
      
      Landing on red in order to fix the build: it's red because of the needed engine roll.
      89d6c8d9
    • Kate Lovett's avatar
      Incorporating Link Semantics (#41327) · 1ec44a0c
      Kate Lovett authored
      1ec44a0c
  25. 07 Oct, 2019 1 commit
  26. 26 Sep, 2019 1 commit
    • Greg Spencer's avatar
      Fix mouse hover to not schedule a frame for every mouse move. (#41014) · 05097916
      Greg Spencer authored
      This fixes the mouse hover code to not schedule frames with every mouse move.
      
      Before this, it would schedule a post frame callback, and then schedule a frame immediately, even if there was nothing that needed to be updated. Now it will schedule checks for mouse position updates synchronously, unless there's a new annotation, and skip scheduling a new frame in all cases. It has to be async in the case of a new annotation (i.e. a new MouseRegion is added), since when the annotation is added, it hasn't yet painted, and it can't hit test against the new layer until after the paint, so in that case it schedules a post frame callback, but since it's already building a frame when it does that, it doesn't need to schedule a frame.
      
      The code also used to do mouse position checks for all mice if only one mouse changed position. I fixed this part too, so that it will only check position for the mouse that changed.
      05097916
  27. 24 Sep, 2019 2 commits
    • Mehmet Fidanboylu's avatar
    • 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
  28. 18 Sep, 2019 1 commit
  29. 17 Sep, 2019 3 commits
  30. 16 Sep, 2019 1 commit