1. 23 Jul, 2015 19 commits
    • Adam Barth's avatar
      Move Material Design Icons to their own package · 18921498
      Adam Barth authored
      After this patch, we use pub to manage versioning and fetching the material
      design icons.
      18921498
    • Adam Barth's avatar
      Merge pull request #245 from abarth/sky_engine_package · 1570b172
      Adam Barth authored
      Add a sky_engine package to contain the dart:sky SDK extensions
      1570b172
    • Adam Barth's avatar
    • Adam Barth's avatar
      Merge pull request #241 from abarth/sky_shell_apk · 8a64baca
      Adam Barth authored
      Create a SkyShell.apk
      8a64baca
    • Viktor Lidholt's avatar
      Merge pull request #223 from vlidholt/master · 765881f2
      Viktor Lidholt authored
      Adds custom play button with texture to demo game
      765881f2
    • Viktor Lidholt's avatar
      9a834384
    • Adam Barth's avatar
      Create a SkyShell.apk · c14ba336
      Adam Barth authored
      This CL introduces a SkyShell.apk that is separate from the SkyDemo.apk that we
      upload to the store to show our demos.  The SkyShell.apk is just an empty shell
      that can run Sky applications on Android.
      c14ba336
    • Hixie's avatar
      Remove the scheduleBuild() API. · 4e289380
      Hixie authored
      I've noticed an anti-pattern emerge where people call scheduleBuild()
      when they think they've changed enough state that they should rebuild,
      instead of just wrapping their changes in setState(). This leads to
      them missing state changes, having extraneous scheduleBuild() calls,
      and other similar bugs.
      
      By removing scheduleBuild(), the only way to actually schedule a build
      now is to call setState(), and hopefully that'll make it much clearer
      that you're only supposed to do this when you change state.
      4e289380
    • Hixie's avatar
      Track global keys globally. · eb90899a
      Hixie authored
      Assert that there are no duplicates.
      Export GlobalKey from basic.dart, so that people don't have to import widgets.dart just for that.
      Fix the "initialFocus" feature which actually didn't work.
      eb90899a
    • Adam Barth's avatar
      Merge pull request #230 from abarth/use_dart_http_server · 7224089c
      Adam Barth authored
      Switch sky_tool to use a Dart-based HTTP server
      7224089c
    • Eric Seidel's avatar
      Add C++ based support for drawAtlas · 8998132d
      Eric Seidel authored
      This is supposed to make Viktor's game faster, but it's not clear
      to me that it actually does.  I've left the code
      using the dart version of drawAtlas for now until Viktor can
      verify that it looks correct.
      
      I also added a wrapper for SkFilterQuality in the process of
      debugging SkCanvas.drawAtlas since all drawAtlas examples
      in Skia use FilterQuality.low.  The bug which blocked me for
      so long turned out to be that SkCanvas.drawAtlas doesn't
      draw anything if antialiasing is turned on.
      
      Issue #138.
      
      R=abarth@google.com
      8998132d
    • Hixie's avatar
      RenderConstrainedBox was ignoring its additional constraints for its intrinsic... · 144fe36e
      Hixie authored
      RenderConstrainedBox was ignoring its additional constraints for its intrinsic size logic when it had no child.
      144fe36e
    • Adam Barth's avatar
      Merge pull request #233 from abarth/fix_analyzer · 5aeff1ac
      Adam Barth authored
      Fix analyzer warnings
      5aeff1ac
    • Adam Barth's avatar
      Fix analyzer warnings · 59798b98
      Adam Barth authored
       - Remove unused imports
       - Remove unused, broken constructor for MineDiggerApp
      59798b98
    • Hixie's avatar
      Rename defaultFocus to initialFocus. · 3aa0437f
      Hixie authored
      3aa0437f
    • 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
    • Adam Barth's avatar
      Don't try to access the network in Stocks test · 3331d44f
      Adam Barth authored
      Accessing the network created a race condition that would sometimes cause other
      tests to fail.
      3331d44f
    • Adam Barth's avatar
      Switch sky_tool to use a Dart-based HTTP server · 278e0ab2
      Adam Barth authored
      The Python HTTP server was caching too agressively. Instead, use an HTTP server
      written in Dart from the sky_tools package.
      278e0ab2
    • Ian Hickson's avatar
      Merge pull request #215 from Hixie/crash-settings · 3d41fb8a
      Ian Hickson authored
      Fix the crash when going to settings after showing the popup menu.
      3d41fb8a
  2. 22 Jul, 2015 21 commits