1. 04 Nov, 2015 2 commits
    • Adam Barth's avatar
      Always reset parentData when dropping children · c44dd17d
      Adam Barth authored
      Previously, we'd leave the old values in the parent data if the types matches,
      but not all render objects would reset these values during layout. For example,
      RenderProxyBox doesn't set the position field because it doesn't read the
      position field. However, leaving the old data there violates the invariants of
      the box protocol and can cause trouble (e.g., localToGlobal giving the wrong
      result).
      
      Fixes #1939
      c44dd17d
    • Hixie's avatar
      Fix double tap constants, add a doubletap test · 7925e060
      Hixie authored
      Document the Gesture Detector constants.
      
      Remove kEdgeSlop since it's obsolete on Android.
      
      Add a test that verifies that when the first tap is canceled, the second
      tap can become the first tap of a subsequent two-tap sequence.
      7925e060
  2. 03 Nov, 2015 6 commits
  3. 02 Nov, 2015 3 commits
  4. 31 Oct, 2015 1 commit
    • Adam Barth's avatar
      Black flash when returning to a PageRoute · 6ee6ae03
      Adam Barth authored
      We were trying to do a hero animation from a page to itself, which doesn't make
      any sense. Now we only render the "to" page offstage if it is different from
      the "from" page and if its performance isn't already complete.
      6ee6ae03
  5. 30 Oct, 2015 2 commits
    • Hixie's avatar
      Disable crashing test · 56b25763
      Hixie authored
      This test currently crashes the engine.
      Because of a bug in the test harness, it then causes the tests to hang.
      This disables the test for now, so that we can get test coverage again.
      56b25763
    • Adam Barth's avatar
      Switch to Navigator2 · 50a177b7
      Adam Barth authored
      50a177b7
  6. 29 Oct, 2015 2 commits
    • Hixie's avatar
      Rev package versions for release. · fca9b8f3
      Hixie authored
      sky_engine is now at 0.0.45
      sky_services is now at 0.0.45
      flx is now at 0.0.4
      flutter is now at 0.0.15
      flutter_sprites is now at 0.0.12
      fca9b8f3
    • Adam Barth's avatar
      Rationalize embedder.dart and shell.dart · fab160cf
      Adam Barth authored
      This patch combines embedder.dart and shell.dart into one thing. We should now
      handle a bunch of error cases better.
      
        * embedder.connectToApplication has moved to shell.connectToApplication,
          matching the rest of the mojo universe.
        * embedder.connecttoService has moved to shell.connnectToService (and merged
          with shell.requestService).
        * shell.requestService is now shell.connectToService, matching the rest of
          the mojo universe.
        * serviceRegistry has moved from embedder.serviceRegistry to a top-level
          getter.
      
      Fixes #1803
      fab160cf
  7. 28 Oct, 2015 4 commits
    • Hixie's avatar
      Rev package versions for release. · cbf9eab8
      Hixie authored
      sky_engine is now at 0.0.44
      sky_services is now at 0.0.44
      flx is now at 0.0.3
      flutter is now at 0.0.14
      flutter_sprites is now at 0.0.11
      cbf9eab8
    • Matt Perry's avatar
      Add some unit tests for flx signing code. · bee7119e
      Matt Perry authored
      bee7119e
    • Hixie's avatar
      Fix crash when removing a card in card_collection · a8a32a97
      Hixie authored
      MixedViewport didn't use the building:true flag when locking itself, so
      when it caused a rebuild of its children, we assumed that nobody was
      allowed to mark things dirty below the list, and things crashed when
      Inherited people did in fact rebuild.
      
      Also:
       - default offset for MixedViewport
       - don't bother rebuilding if the underlying RenderObject is going to
         rebuild anyway for some reason
       - better docs for the "items must have keys" assert
       - keep the FlipComponent stuff together in test_widgets.dart
      a8a32a97
    • Adam Barth's avatar
      Switch clients from ui.view to ui.window · 3373d0ba
      Adam Barth authored
      3373d0ba
  8. 27 Oct, 2015 4 commits
    • Kris Giesing's avatar
      #1834 Reset tap state after successful tap · 25ed1577
      Kris Giesing authored
      25ed1577
    • Adam Barth's avatar
      Add the position at which drags start · 1e446ffc
      Adam Barth authored
      Fixes #1807
      1e446ffc
    • Ian Hickson's avatar
      Track scroll position · 8a900f90
      Ian Hickson authored
      - Change RouteArguments to pass the route's BuildContext rather than
        the Navigator. This caused the bulk of the examples/ and .../test/
        changes (those are mostly mechanical changes). It also meant I could
        simplify Navigator.of().
      
      - Make initState() actually get called when the State's Element is in
        the tree, so you can use Foo.of() functions there. Added a test for
        this also.
      
      - Provide a RouteWidget so that routes have a position in the Widget
        tree. The bulk of the route logic is still in a longer-lived Route
        object for now.
      
      - Make Route.setState() only rebuild the actual route, not the whole
        navigator.
      
      - Provided a Route.of().
      
      - Provided a Route.writeState / Route.readState API that tries to
        identify the clients by their runtimeType, their key, and their
        ancestors keys, up to the nearest ancestor with a GlobalKey.
      
      - Made scrollables hook into this API to track state. Added a test to
        make sure this works.
      
      - Fix the debug output of GestureDetector and the hashCode of
        MixedViewport.
      
      - Fixed ScrollableWidgetListState<T> to handle infinite lists.
      8a900f90
    • Adam Barth's avatar
      Add CustomOneChildLayout · f06559af
      Adam Barth authored
      A CustomOneChildLayout is a widget that lets you perform a custom layout in the
      simplified setting of sizing and positioning a single child.
      f06559af
  9. 26 Oct, 2015 3 commits
  10. 23 Oct, 2015 3 commits
  11. 22 Oct, 2015 3 commits
  12. 20 Oct, 2015 5 commits
  13. 19 Oct, 2015 2 commits
    • Hixie's avatar
      Fix warning in test. Arguments must be typed. · 4f96083e
      Hixie authored
      4f96083e
    • Hixie's avatar
      requestPostFrameCallback() · ed195cfa
      Hixie authored
      Provide a way to schedule a callback for immediately after the current
      frame has been sent to the GPU thread. This is useful for times where
      you want to immediately schedule yourself for another build or layout
      because, for instance, you just displayed frame zero of an animation and
      you want to use the metrics from that layout to set up the actual
      animation to begin immediately, such that the very next frame is frame 1.
      ed195cfa