1. 06 Jan, 2017 7 commits
    • Ian Hickson's avatar
      Make LayoutCallback generic and other minor changes (#7367) · b0e8520a
      Ian Hickson authored
      LayoutCallback passes constraints to the callback, but the constraints
      object has a different type for different subclasses. This lets you
      call invokeLayoutCallback() with a specific type to verify that
      everything is working as expected.
      
      Other changes:
      
      Slightly improve the error reporting in RenderObject.
      
      Allow toStringShallow on RenderObject to have its separator configured.
      b0e8520a
    • Ian Hickson's avatar
      Add an assert and remove a TODO (#7368) · ec9a6fbb
      Ian Hickson authored
      The assert helped me debug an issue recently.
      
      The TODO is obsolete.
      ec9a6fbb
    • Todd Volkert's avatar
      Bump package:file version to 1.0.0 (#7371) · 1c43c4e2
      Todd Volkert authored
      1c43c4e2
    • Todd Volkert's avatar
      29a88cf8
    • Ian Hickson's avatar
      Add a toString to Simulation (#7364) · 79c8e5c7
      Ian Hickson authored
      Also, make hasOneLineDescription more discerning.
      Also, add a test for hasOneLineDescription.
      Also, add a test for GravitySimulation, to test the toString.
      79c8e5c7
    • Ian Hickson's avatar
      Changes to the drag gesture detectors and the velocity tracker (#7363) · 11d1d54c
      Ian Hickson authored
      - more dartdocs for the drag typedefs
      
      - more toStrings to aid debugging
      
      - require the position for DragUpdateDetails since we were omitting it
        in some places
      
      - add the primaryVelocity to DragEndDetails so that consumers don't
        have to themselves track the axis in question
      
      - fix the velocity tracker so that it doesn't walk the null data.
        Previously, near time t=0 (which pretty much only matters in tests,
        but it does matter there) we would walk the velocity data and then
        also walk missing data, treating it as Point.zero with t=0.
      
      - simplify some of the velocity tracker; e.g. instead of trying (and
        failing?) to clear the velocity tracker when the pointer stalls,
        just drop the data before a stall during the velocity estimation
        (where we redundantly had another bigger horizon anyway).
      11d1d54c
    • Ian Hickson's avatar
      Fix SizeChangedLayoutNotifier and its test. (#7361) · 629255eb
      Ian Hickson authored
      Previously, SizeChangedLayoutNotifier fired a notification even for
      the first layout.
      
      Also, previously its test relied on that, and didn't actually change
      size at all. This fixes the test as well.
      
      Also, rename SizeChangedLayoutNotificaion to SizeChangedLayoutNotification.
      629255eb
  2. 05 Jan, 2017 16 commits
  3. 04 Jan, 2017 3 commits
  4. 03 Jan, 2017 2 commits
  5. 21 Dec, 2016 1 commit
  6. 20 Dec, 2016 1 commit
  7. 19 Dec, 2016 2 commits
  8. 18 Dec, 2016 1 commit
  9. 16 Dec, 2016 4 commits
  10. 15 Dec, 2016 3 commits