4048 Commits

Author SHA1 Message Date
Viktor Lidholt
c30b3cc69b Merge pull request #1777 from vlidholt/master
Fitness demo, initial version
2016-02-16 12:03:21 -08:00
Viktor Lidholt
8be6ed5872 Fitness demo, initial version 2016-02-16 11:51:59 -08:00
Adam Barth
5a0edf9f0f Merge pull request #1917 from abarth/pub_get
flutter run should run pub get automatically
2016-02-16 11:48:55 -08:00
Adam Barth
feceb7583e Merge pull request #1918 from abarth/improve_createState_docs
Improve the sample code for createState
2016-02-16 11:34:27 -08:00
Adam Barth
cf8116368d flutter run should run pub get automatically
This removes a step that can cause trouble.

Fixes #1904
2016-02-16 11:16:34 -08:00
Adam Barth
302640a391 Improve the sample code for createState
The previous sample code isn't a common (or recommended) pattern.
2016-02-16 11:09:23 -08:00
Adam Barth
7a2c38abc8 Merge pull request #1903 from abarth/auto_simplify
Simplify the AutoLayout API
2016-02-15 16:41:40 -08:00
Adam Barth
4408c820e1 Rename AutoLayoutParams to AutoLayoutRect
This object represents a rect the auto-layout system.
2016-02-15 16:29:27 -08:00
Devon Carew
ce278e9773 Merge pull request #1902 from devoncarew/tools_cleanup
fixes found when running through the getting started process
2016-02-15 15:44:35 -08:00
Adam Barth
c7d71d8ab1 Simplify the AutoLayout API
This patch makes it easier to use the auto layout API:

* We no longer use operator== because that requires an ugly cast by the
  API user.
* Also, "leftEdge" is now just "left" for less verbosity.
* AutoLayoutChild not implies its key from the AutoLayoutParam object.
* We now correctly layout every child of a RenderAutoLayout object even
  if the solver doesn't flush any updates to that child.
2016-02-15 15:25:21 -08:00
Devon Carew
b7b06c2a27 fixes found when running through the getting started process 2016-02-15 14:06:23 -08:00
Ian Hickson
35eb6c4adf Merge pull request #1900 from Hixie/tweak-dart-fetching
Make update_dart_sdk.sh prettier and more resilient
2016-02-15 11:10:55 -08:00
Ian Hickson
9a00bec57d Make update_dart_sdk.sh prettier and more resilient 2016-02-15 11:01:30 -08:00
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