1. 21 Aug, 2018 2 commits
    • Ian Hickson's avatar
      Cleanup (#20754) · 94f9604a
      Ian Hickson authored
      - remove an //ignore that is no longer needed
      - fix some intrinsic methods that used the API incorrectly (shouldn't affect correctness but should make things a tiny bit more efficient)
      - add some asserts to help track down bugs quicker
      - update a TODO to point to the currently relevant bug
      - fix some indenting
      - improve the naming of some privates to improve readability
      94f9604a
    • Ian Hickson's avatar
      Audit `TODO` syntax (#20837) · b7261586
      Ian Hickson authored
      Fixes the pattern for some TODOs to match our style guide.
      
      (Also, a couple of minor code order fixes.)
      b7261586
  2. 20 Aug, 2018 1 commit
    • Ian Hickson's avatar
      `flutter analyze` cleanup (#20490) · ad1eaff4
      Ian Hickson authored
      * `flutter analyze` cleanup
      
      * Make `--dartdocs` work in all modes.
      * Make `analyze-sample-code.dart` more resilient.
      * Add a test for `analyze-sample-code.dart`.
      * Minor cleanup in related code and files.
      
      * Apply review comments
      
      * Fix tests
      ad1eaff4
  3. 18 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Fixes resulting from audit of issues links (#20772) · 8c79f40d
      Ian Hickson authored
      * Fixes resulting from audit of issues links
      
      I looked at every link to GitHub in our repo. For cases where we had a TODO that was waiting for a bug to be fixed, and the bug has now been fixed, I applied the pending change. For cases where the link was out of date, I updated the link.
      
      * Update run_test.dart
      
      skip this test again since it failed on linux and macos bots
      8c79f40d
  4. 17 Aug, 2018 3 commits
  5. 16 Aug, 2018 2 commits
  6. 15 Aug, 2018 2 commits
  7. 13 Aug, 2018 1 commit
  8. 12 Aug, 2018 1 commit
  9. 10 Aug, 2018 4 commits
  10. 09 Aug, 2018 3 commits
  11. 08 Aug, 2018 2 commits
  12. 07 Aug, 2018 3 commits
    • Amir Hardon's avatar
      AndroidView touch support. · ccaa0636
      Amir Hardon authored
      This PR adds 2 features to RenderAndroidView and AndroidView:
      
      1. Hit testing behavior
      Adds a `PlatformViewHitTestBehavior` which is similar to
      `HitTestBehavior` without the `deferToChild` option (as platform views
      don't have child render objects) and with a `transparent` option which
      prevents it from forwarding any events to the Android view.
      
      2. MotionEvent recomposing logic
      FlutterView and the framework `converter.dart` are working together to
      transform each Android MotionEvent object into one or more
      `PointerEvent` objects.
      
      This PR adds the reverse logic (in _MotionEventDispatcher which is used
      by RenderAndroidView) which turns a stream of PointerEvent objects into
      MotionEvent objects.
      
      The correctness of the recomposing logic is tested in an integration
      test which will land in a separate PR (the unit test PR is pretty big,
      trying to keep as many bite-size PRs for reviewer's convenience)
      ccaa0636
    • Jonah Williams's avatar
    • amirh's avatar
  13. 06 Aug, 2018 1 commit
  14. 03 Aug, 2018 1 commit
    • liyuqian's avatar
      Add Clip enum to Material and related widgets (#18576) · 9ffa1c51
      liyuqian authored
      See details in our proposal for this breaking API change and #18057. This PR setup all code paths to allow the change but doesn't change the clip behavior by itself. We'll change `defaultClipBehavior` from `Clip.antiAlias` to `Clip.none` in the following PR to change the clip behavior and update tests.
      9ffa1c51
  15. 02 Aug, 2018 2 commits
  16. 31 Jul, 2018 3 commits
  17. 30 Jul, 2018 2 commits
  18. 28 Jul, 2018 1 commit
  19. 27 Jul, 2018 2 commits
  20. 25 Jul, 2018 2 commits
  21. 24 Jul, 2018 1 commit
    • Jonah Williams's avatar
      Semantics framework updates (#18758) · 810a29d6
      Jonah Williams authored
      Changes:
      
      - Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled.
      - Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode
      - Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node)
      - Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android.
      - Added dismiss and liveRegion to snackbar widget
      - Updated custom painter semantics to handle image, liveRegion, toggle
      - Updated relevant tests to use correct flag/action
      810a29d6