1. 03 Sep, 2015 1 commit
  2. 21 Aug, 2015 1 commit
  3. 17 Aug, 2015 2 commits
  4. 14 Aug, 2015 1 commit
  5. 11 Aug, 2015 2 commits
    • Adam Barth's avatar
      Add support for immersive mode on Android · 345f0176
      Adam Barth authored
      Fixes #512
      345f0176
    • Adam Barth's avatar
      Use ImageResource instead of Future<sky.Image> · 9f228349
      Adam Barth authored
      Using ImageResource solves two problems:
      
      1) Listeners can be notified synchronously when the sky.Image is already
         available. This change removes flash of 0x0 layout when moving an
         already-cached image around in the render tree.
      
      2) In the future, when we support animated images, we can notify listeners
         multiple times whenever a new image is available.
      9f228349
  6. 10 Aug, 2015 1 commit
  7. 06 Aug, 2015 1 commit
  8. 05 Aug, 2015 1 commit
  9. 30 Jul, 2015 4 commits
  10. 29 Jul, 2015 1 commit
  11. 28 Jul, 2015 2 commits
  12. 27 Jul, 2015 1 commit
    • Adam Barth's avatar
      Cleanups to network service · b9e74071
      Adam Barth authored
      This patch contains some minor improvements to the network service:
      
      - We now cache the connection to the network service so we don't need to spin
        it up for each request.
      - We now manage the lifetime of NetworkServiceImpl in the same way as other
        services.
      
      Also, update the workbench sky_tools dependency to the latest version.
      b9e74071
  13. 23 Jul, 2015 1 commit
    • Eric Seidel's avatar
      Focus support. · 4da27671
      Eric Seidel authored
      This patch provides a class to manage focus, Focus, and a class to
      manage ownership of the keyboard, KeyboardHandle.
      
      Inherited (in widgets.dart) is adjusted to support subclasses that
      need to copy state from instance to instance.
      
      A GlobalKey key type is introduced that is basically the same as
      UniqueKey. Component classes that need a globally-unique key can
      specify that their 'key' constructor argument is a GlobalKey.
      
      Focus
      -----
      
      You can use `Focus.at(this)` to determine if you, a Component, are
      currently focused.
      
      You can use `Focus.moveTo(this)` to take the focus or give it to a
      particular component.
      
      For this to work, there has to be a Focus class in the widget
      hierarchy.
      
      Currently, there can only be one Focus class, because nested scopes
      aren't supported. We should add support for that in a future patch.
      See issue #229.
      
      KeyboardHandle
      --------------
      
      Instead of directly interacting with the keyboard service, you now ask
      for a KeyboardHandle using `_keyboard.show(client)`. This returns a
      KeyboardHandle class. On that class, you can call `handle.release()`
      when you want to hide the keyboard. If `handle.attached` is still
      true, and you need to reshow the keyboard after the user hid it, then
      you can can `handle.showByRequest()`.
      
      The point of this is that the `keyboard.show()` method maintains the
      invariant that only one KeyboardHandle is live at a time.
      
      There are some issues with the keyboard service that I filed as a
      result of doing this patch: #226 #227
      4da27671
  14. 16 Jul, 2015 1 commit