1. 21 Apr, 2016 4 commits
    • Matt Perry's avatar
      Add basic text selection to editable text. (#3223) · 11f236ec
      Matt Perry authored
      Only partially works. Editing the selected text doesn't work very well,
      which probably will require engine changes. Currently only draws the
      selected text and allows you to manipulate the selection with draggable
      selection handles.
      11f236ec
    • Adam Barth's avatar
      Add a route table to Material Gallery (#3457) · 248960a7
      Adam Barth authored
      Use the route table to generate the list of screens to test in the smoke test.
      248960a7
    • Hans Muller's avatar
      Gallery Smoke Test (#3446) · 986b0174
      Hans Muller authored
      * Gallery Smoke Test
      986b0174
    • Adam Barth's avatar
      A blinking cursor should push only one frame (#3445) · 161f945e
      Adam Barth authored
      Prior to this patch, we were pushing two frames each time the cursor blinked.
      In turning the cursor on or off, the markNeedsPaint call was triggering another
      frame to be scheduled because we cleared a bit in the scheduler at the
      beginning of the frame instead of at the end of the frame.
      
      To implement scheduling correctly, we actually need two bits: one for
      ensureVisualUpdate, which just promises to get to the end of the pipeline soon,
      and scheduleFrame, which promises to get to the beginning of the pipeline soon.
      161f945e
  2. 20 Apr, 2016 15 commits
  3. 19 Apr, 2016 10 commits
    • Hans Muller's avatar
      Remove Scaffold scrollableKey use in gallery demos (#3406) · c7e2e8ae
      Hans Muller authored
      * Remove Scaffold scrollable_key demo usage
      c7e2e8ae
    • Ian Hickson's avatar
      Give DefaultAssetBundle a default asset bundle. (#3422) · 6e0c76f4
      Ian Hickson authored
      This makes it easier to use e.g. AssetImage in simple test applications.
      
      Also, dartdoc improvements.
      
      Also, use @required in one place, to see if it causes any trouble. If it
      doesn't, I'll start using it in more places.
      6e0c76f4
    • Devon Carew's avatar
      add a service extension for repaint rainbow (#3409) · dd2bde19
      Devon Carew authored
      * add a service extension for repaint rainbow
      
      * review comments
      dd2bde19
    • Ian Hickson's avatar
      Make rootBundle handle the no-mojo case. (#3408) · 6dc440bd
      Ian Hickson authored
      The defaulting logic for bundles really belongs in the services layer,
      not the widgets layer. This way we can tell non-widget code just to use
      rootBundle if it just wants to read a JSON file or some such.
      6dc440bd
    • Devon Carew's avatar
      rename deploy to release (#3407) · 6f0bb206
      Devon Carew authored
      6f0bb206
    • Ian Hickson's avatar
      Refactor service extensions (#3397) · 261923e5
      Ian Hickson authored
      Bindings now have a debugRegisterServiceExtensions() method that is
      invoked in debug mode (only). (Once we have a profile mode, there'll be
      a registerProfileServiceExtensions() method that gets called in that
      mode only to register extensions that apply then.)
      
      The BindingBase class provides convenience methods for registering
      service extensions that do the equivalent of:
      
      ```dart
      void extension() { ... }
      bool extension([bool enabled]) { ... }
      double extension([double extension])  { ... }
      Map<String, String> extension([Map<String, String> parameters]) { ... }
      ```
      
      The BindingBase class also itself registers ext.flutter.reassemble,
      which it has call a function on the binding called
      reassembleApplication().
      
      The Scheduler binding now exposes the preexisting
      ext.flutter.timeDilation.
      
      The Renderer binding now exposes the preexisting ext.flutter.debugPaint.
      
      The Renderer binding hooks reassembleApplication to trigger the
      rendering tree to be reprocessed (in particular, to fix up the
      optimisation closures).
      
      All the logic from rendering/debug.dart about service extensions is
      replaced by the above.
      
      I moved basic_types to foundation.
      
      The FlutterWidgets binding hooks reassembleApplication to trigger the
      widget tree to be entirely rebuilt.
      
      Flutter Driver now uses ext.flutter.driver instead of
      ext.flutter_driver, and is hooked using the same binding mechanism.
      Eventually we'll probably move the logic into the Flutter library so
      that you just get it without having to invoke a special method first.
      261923e5
    • Jason Simmons's avatar
    • Ian Hickson's avatar
      Rearrange scheduling library (#3388) · 61605a9d
      Ian Hickson authored
      To be more consistent with other parts of the platform:
      
      * put the binding in a binding.dart file.
      
      * rearrange some members of the Scheduler class to be more close to
        execution order.
      
      * factor out Priority class into its own file.
      
      * add more dart docs.
      61605a9d
    • Yegor's avatar
      [driver] "waitFor" command in place of broken "exists" (#3373) · e7657b94
      Yegor authored
      * [driver] "waitFor" command in place of broken "exits"
      
      * [driver] wait using frame callback
      e7657b94
    • Hans Muller's avatar
      a2ce9483
  4. 18 Apr, 2016 10 commits
  5. 16 Apr, 2016 1 commit