1. 31 May, 2019 1 commit
  2. 01 May, 2019 1 commit
  3. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  4. 14 Sep, 2018 1 commit
  5. 12 Sep, 2018 1 commit
  6. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  7. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  8. 05 Jun, 2018 1 commit
  9. 30 May, 2018 2 commits
  10. 08 Mar, 2017 1 commit
  11. 04 Mar, 2017 1 commit
  12. 27 May, 2016 1 commit
  13. 22 Apr, 2016 1 commit
  14. 15 Apr, 2016 1 commit
  15. 12 Apr, 2016 1 commit
  16. 03 Apr, 2016 1 commit
  17. 02 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Rationalise all our exception handling. · ee703da9
      Ian Hickson authored
      - Create a FlutterErrorDetails struct-like class that describes an
      
        exception along with more details that aren't in the exception, like
      
        where it was caught and what was going on when it was caught.
      
      
      
      - Provide a FlutterError static API for handling these objects:
      
      
      
        - FlutterError.onError which is called whenever Flutter catches an
      
          error.
      
      
      
        - FlutterError.reportError() which handles an error.
      
      
      
        - FlutterError.dumpErrorToConsole() which is the default behavior
      
          for onError.
      
      
      
      - Removes all the existing exception handler callbacks.
      
      
      
      - Replaces all the existing places that described exceptions using
      
        debugPrint with calls to FlutterError.reportError().
      
      
      
      - Extend lockState() to also catch exceptions, so that we catch
      
        exceptions that happen during finalizers.
      
      
      
      - Make the test framework catch errors and treat them as failures.
      
      
      
      - Provide a mechanism to override this behavior in the test framework.
      
      
      
      - Make the tests that used to depend on the exception handler
      
        callbacks use this new mechanism.
      
      
      
      - Make pump() also support the phase argument.
      
      
      
      - Improve some tests using these new features.
      
      
      
      Fixes #2356, #2988, #2985, #2220.
      ee703da9
  18. 11 Jan, 2016 1 commit
    • Adam Barth's avatar
      DoubleTap gesture asserts when rejected · 07a9cc75
      Adam Barth authored
      The pointer router was using an iteration pattern that always delivers
      handleEvent calls even if you remove a route during the iteration.
      That's awkward to program against and causes trouble for the double-tap
      gesture.
      
      This patch switches PointerRouter to using a re-entrant iteration
      pattern that supports removing routes (but not adding routes) during the
      iteration.
      07a9cc75
  19. 07 Jan, 2016 1 commit
  20. 15 Dec, 2015 1 commit
    • Hixie's avatar
      Catch exceptions in pointer handling · 4e23ecd6
      Hixie authored
      If we don't catch these exceptions, we get confused about what's going
      on with the pointers, and the app basically stops working.
      4e23ecd6
  21. 10 Dec, 2015 1 commit
  22. 05 Dec, 2015 1 commit
    • Ian Hickson's avatar
      PointerInput refactor · f1625556
      Ian Hickson authored
      Instead of PointerInputEvent having a "type" field, we now have a
      different class for each pointer type.
      
      This has ripple effects throughout the system.
      
      I also did code cleanup in affected files while I was there.
      f1625556
  23. 13 Oct, 2015 2 commits
  24. 10 Oct, 2015 2 commits
  25. 17 Sep, 2015 1 commit
    • Adam Barth's avatar
      Create gestures.dart · 41b8ffd6
      Adam Barth authored
      This patch is part of a sequence of patches towards fewer top-level libraries.
      In this patch, the gesture libraries are combined into one gestures.dart
      library.
      41b8ffd6
  26. 08 Sep, 2015 1 commit
  27. 30 Aug, 2015 2 commits
    • Adam Barth's avatar
      Add dartdoc for base · 35ac1f71
      Adam Barth authored
      35ac1f71
    • Adam Barth's avatar
      Scrolls should start immediately when possible · bef55951
      Adam Barth authored
      If there are no other gestures in the arena, we should kick off the scroll
      gesture right away. This change pulled a refactoring of how we dispatch events
      to Widgets. Now we dispatch events to Widgets interleaved with their associated
      RenderObjects. (Previously we dispatched to all of the RenderObjects first.)
      bef55951
  28. 27 Aug, 2015 1 commit
    • Adam Barth's avatar
      Add PointerRouter · 45f2c589
      Adam Barth authored
      This patch is the first step towards implementing gestures. The pointer router
      allows the gesture detectors to hook in at the end of the pointer event
      propagation chain.
      
      Related to #145
      45f2c589