4035 Commits

Author SHA1 Message Date
Ian Hickson
1fb044be64 Merge pull request #1897 from flutter/Hixie-patch-1
Mention that cache directory is volatile.
2016-02-15 10:56:12 -08:00
Adam Barth
6e14bd2e8c Merge pull request #1896 from abarth/autolayout2
Add support for autolayout to widgets
2016-02-15 10:42:36 -08:00
Ian Hickson
a85e770958 Merge pull request #1895 from abarth/internalize_dart
Internalize our dependency on the Dart SDK
2016-02-15 10:12:25 -08:00
Ian Hickson
87f86414ee Mention that cache directory is volatile. 2016-02-15 09:52:27 -08:00
Adam Barth
262dd7a63b Add support for autolayout to widgets
This patch teaches the widget framework how to use Cassowary-based
autolayout. To integrate autolayout with widgets, I had to refactor how
RenderAutoLayout worked a bit. Now RenderAutoLayout follows the same
delegate pattern we use for custom paint and custom layout.
2016-02-15 03:01:40 -08:00
Adam Barth
94c5949c12 Internalize our dependency on the Dart SDK
This patch teaches the flutter command to download the Dart SDK into
cache, removing another step from the Getting Started workflow. The
version of the Dart SDK is controlled by the "dart-sdk.version" file in
the bin/cache directory.

Fixes #54
2016-02-15 00:19:25 -08:00
Adam Barth
cdc4055444 Merge pull request #1882 from abarth/selection_controls
Improve checkbox animation
2016-02-14 22:58:28 -08:00
Adam Barth
2bb268492c Improve checkbox animation
This patch improves the checkbox animation as suggested by the design
team. The color transition now occurs earlier in the animation and there
are fewer components to the animation.

Fixes #1614
2016-02-14 18:01:15 -08:00
Adam Barth
ea361866f5 Merge pull request #1880 from abarth/create_company
Stocks input field for company name doesn't work
2016-02-14 17:24:36 -08:00
Devon Carew
efa47a6fd4 Merge pull request #1874 from devoncarew/command_renames
rename list->devices, start->run
2016-02-14 14:27:51 -08:00
Adam Barth
b672a3d436 Stocks input field for company name doesn't work
We weren't listening to the onChange handler.

Fixes #1850
2016-02-14 14:23:40 -08:00
Ian Hickson
aa41783ae3 Merge pull request #1877 from Hixie/onPressed-disabled
Document the onPressed/disabled behavior.
2016-02-14 13:57:42 -08:00
Ian Hickson
8ff177f832 Document the onPressed/disabled behavior.
Fixes https://github.com/flutter/flutter/issues/1331

Hopefully this will be enough to start with. If this continues to be a
point of confusion we can see about adding more documentation or
changing the API somehow.
2016-02-14 11:06:11 -08:00
Ian Hickson
86366626f0 Merge pull request #1873 from Hixie/debugFillDescription
Rename debugDescribeSettings to debugFillDescription.
2016-02-14 11:05:31 -08:00
Adam Barth
93b46c0469 Merge pull request #1872 from abarth/velocity
Add a Velocity class to be explicit about units
2016-02-14 01:02:43 -08:00
Devon Carew
cc72bbc7ec rename list->devices, start->run 2016-02-13 23:50:20 -08:00
Ian Hickson
0334a833ef Rename debugDescribeSettings to debugFillDescription.
...so that it's easier to copy/paste between the rendering and settings layers.
2016-02-13 23:23:45 -08:00
Adam Barth
4fb47600e4 Add a Velocity class to be explicit about units
We were using an Offset, which represented pixels/second, but it wasn't
clear to clients whether that was pixels/ms. Now we use a Velocity class
that is explict about the units.

Fixes #1510
Fixes #785
2016-02-13 22:59:09 -08:00
Adam Barth
a724d6cc3d Merge pull request #1871 from flutter/infra_docs
Fix infra docs
2016-02-13 21:50:34 -08:00
Adam Barth
89e0dac993 Fix infra docs
Previously we had the wrong path to the recipes.py script and an incorrect argument list.
2016-02-13 20:39:10 -08:00
Ian Hickson
ae178800d5 Merge pull request #1870 from Hixie/image
Use Image.toString instead of rolling our own each time
2016-02-13 19:51:40 -08:00
Adam Barth
d6f28faa04 Merge pull request #1867 from abarth/raw_hello_world
Add a raw hello_world that shows "Hello, world"
2016-02-13 19:41:10 -08:00
Ian Hickson
f54b8ad510 Use Image.toString instead of rolling our own each time
I meant to check this in as part of https://github.com/flutter/flutter/pull/1852
but forgot to commit the local change, d'oh.
2016-02-13 17:54:10 -08:00
Ian Hickson
00285bf2b2 Merge pull request #1852 from Hixie/stock-icons
Fix color of icons in drawers in dark theme.
2016-02-13 17:26:10 -08:00
Ian Hickson
91c4afedba Merge pull request #1868 from Hixie/disable-test-again
Disable flakey test.
2016-02-13 17:17:07 -08:00
Ian Hickson
b3d964145f Disable flakey test.
See https://github.com/flutter/flutter/issues/1854
2016-02-13 17:11:39 -08:00
Ian Hickson
3eb1b412e0 Fix color of icons in drawers in dark theme.
This makes it match the material spec more.
https://www.google.com/design/spec/style/icons.html

Fixes https://github.com/flutter/flutter/issues/1357
2016-02-13 17:10:10 -08:00
Adam Barth
1ab3d3a71c Add a raw hello_world that shows "Hello, world"
Previously, hello_world.dart was an interactive circle. I've moved that
to touch_input.dart. We should eventually harmonize the touch input
examples at all the layers.
2016-02-13 16:51:00 -08:00
Adam Barth
576b3aa206 Merge pull request #1864 from abarth/examples_comments
Adds documentation to the layering examples
2016-02-13 16:23:37 -08:00
Adam Barth
025c43de1c Adds documentation to the layering examples 2016-02-13 16:14:42 -08:00
Devon Carew
981a7f378c Merge pull request #1859 from devoncarew/android_sdk_version
allow any android sdk version
2016-02-13 14:38:14 -08:00
Devon Carew
dcf0b7bae6 allow any android sdk version 2016-02-13 14:37:41 -08:00
Adam Barth
aba27211ef Remove reference to non-existent package 2016-02-13 13:15:19 -08:00
Adam Barth
deb9d0b3a0 Remove references to dart:ui_internals
This library is being folded into dart:ui.

Fixes #83
2016-02-13 13:12:30 -08:00
Adam Barth
aa90a9f41c Update engine 2016-02-13 13:12:07 -08:00
Adam Barth
5a167615d3 Merge pull request #1853 from abarth/clearer_examples
Clean up the standalone examples
2016-02-13 11:08:09 -08:00
Adam Barth
948ae15ca5 Clean up the standalone examples
Our examples have been growing organically over time. This patch cleans
them up to illustrate specific aspects of Flutter.
2016-02-13 11:00:58 -08:00
Eric Seidel
744085185f Update list formatting 2016-02-13 05:59:41 -08:00
Eric Seidel
11a363b188 Add more instructions on how to edit a recipe.
@abarth
2016-02-13 05:59:12 -08:00
Ian Hickson
8db6f5b127 Merge pull request #1833 from Hixie/progress-nits
SawTooth
2016-02-12 19:09:17 -08:00
Ian Hickson
601089ecf1 Merge pull request #1829 from Hixie/size-obs-2
SizeObserver crusade: drawer
2016-02-12 18:15:45 -08:00
Ian Hickson
c0c2277767 Merge pull request #1849 from Hixie/drag-horiz
Horizontal and Vertical Draggables
2016-02-12 17:59:35 -08:00
Collin Jackson
6c2ab9d352 Merge pull request #1847 from collinjackson/input_key
Don’t require global keys for Input, fixes #1828
2016-02-12 17:58:08 -08:00
Hixie
e5cf7fe37f SizeObserver crusade: drawer
Drawer doesn't need a SizeObserver, since it only looks at the size
in event handlers. It can just go and probe the tree to read the size.

Also, change from using _kEdgeDragWidth to using _kWidth when figuring
out how much of the drawer to show when dragging it from the edge, since
that is more likely to match the drawer's width.
2016-02-12 17:26:52 -08:00
Ian Hickson
ca4d10d33a Merge pull request #1820 from Hixie/rainbox
Expose more debugging tools in Stocks
2016-02-12 17:21:16 -08:00
Hixie
19a2f5ef74 Horizontal and Vertical Draggables 2016-02-12 17:16:39 -08:00
Collin Jackson
d4533622e1 Don’t require global keys for Input, fixes #1828 2016-02-12 16:56:10 -08:00
Eric Seidel
19e51b965a Merge pull request #1844 from eseidelGoogle/android_tools
Use mojo's scripts for downloading android tools on the bots
2016-02-12 16:20:13 -08:00
Eric Seidel
eb309f10d2 Use mojo's scripts for downloading android tools on the bots
R=abarth@chromium.org
2016-02-12 16:18:08 -08:00
Adam Barth
f3b0136aa6 Merge pull request #1840 from abarth/rm_examples
Remove address_book and mine_digger
2016-02-12 15:58:58 -08:00