2853 Commits

Author SHA1 Message Date
Ian Hickson
86366626f0 Merge pull request #1873 from Hixie/debugFillDescription
Rename debugDescribeSettings to debugFillDescription.
2016-02-14 11:05:31 -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
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
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
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
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
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
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
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
Hans Muller
f53c1edcab Merge pull request #1838 from HansMuller/goodbye_curly
Bump the flutter_gallery_assets version, rename example apk dirs to android, remove BUILD.gn files
2016-02-12 15:11:50 -08:00
Matt Perry
56c7911ac7 Merge pull request #1834 from mpcomplete/rm.gcm
Remove gcm package from the repository.
2016-02-12 18:08:13 -05:00
Hans Muller
8c78bf47c1 updated flutter_gallery_assets version
rename example apk dirs to android
removed all BUILD.gn files
2016-02-12 15:03:14 -08:00
Matt Perry
721c391885 Remove gcm package from the repository.
I moved it to https://github.com/mpcomplete/flutter_gcm for now.
2016-02-12 17:32:50 -05:00
Hixie
7c23ededef SawTooth 2016-02-12 14:20:37 -08:00
Hixie
334fcbbf44 Draggables were disappearing
I forgot to wrap the state changing in a setState. Oops.
2016-02-12 14:03:47 -08:00
Adam Barth
baca514f99 Merge pull request #1827 from abarth/scrollable_list_padding
Fix padding for ScrollableList
2016-02-12 13:59:59 -08:00
Adam Barth
ad2fa5a6e7 Fix padding for ScrollableList
Previously we had totally wrong behavior. Now we have more correct behavior and
testing.

Fixes #1808
2016-02-12 13:39:05 -08:00
Devon Carew
8baf7694cb update gitignore and analysis_options 2016-02-12 13:13:05 -08:00
Devon Carew
1cbd61d3b9 Merge pull request #1824 from devoncarew/use_revision_ios
use the REVISION file when building ios apps
2016-02-12 13:04:29 -08:00
Ian Hickson
b00773a306 Merge pull request #1803 from Hixie/canvas-crash
Reenable canvas test.
2016-02-12 12:52:55 -08:00
Ian Hickson
3f04701805 Merge pull request #1826 from Hixie/size-obs-1
SizeObserver crusade: snap alignment
2016-02-12 12:49:04 -08:00
Jason Simmons
cdbc942753 Merge pull request #1814 from jason-simmons/mojo_toolchain_path
Try to locate the toolchain in the output layout used by the Flutter …
2016-02-12 12:46:43 -08:00
Hixie
fd7be69df0 SizeObserver crusade: snap alignment
Remove the SizeObserver you need to use snap alignment in lists by
having the lists provide the size themselves in the callback.

Also, remove snapAlignmentOffset since we couldn't figure out how to
explain it and it's not really needed.
2016-02-12 12:40:44 -08:00
Devon Carew
576bf7df60 use the REVISION file when building ios apps 2016-02-12 12:21:04 -08:00
Hixie
a95c866bf3 Expose more debugging tools in Stocks 2016-02-12 11:41:17 -08:00
Hans Muller
78b3096126 colors demo 2016-02-12 11:31:08 -08:00
Jason Simmons
42be77b7a9 Try to locate the toolchain in the output layout used by the Flutter Linux target 2016-02-12 11:09:22 -08:00
Ian Hickson
f8f50ae713 Merge pull request #1804 from Hixie/progress-nits
Clean-up around progress indicators.
2016-02-12 10:53:03 -08:00
Ian Hickson
d2c3275086 Merge pull request #1791 from Hixie/custom-paint-saves
Assert that custom painters balance save/restores.
2016-02-12 09:54:34 -08:00
Todd Volkert
ffcdd0d1a3 Merge pull request #1801 from tvolkert/master
Ignore generated/ instead of ios/
2016-02-12 09:36:51 -08:00
Hixie
2c69f2429f Clean-up around progress indicators.
Move StepTween to tween.dart.

Move _buildIndicator() methods to be next to the build() methods they're
used from, so that reading the code is easier.

Fix typos, add some comments, style nits.
2016-02-12 09:28:56 -08:00
Adam Barth
78181d82e7 Merge pull request #1798 from abarth/image_cache
ImageCache should be a public type
2016-02-12 09:08:40 -08:00
Ian Hickson
ecdd55e4cd Merge pull request #1796 from abarth/progress_nits
Fix style nits in progress_indicator.dart
2016-02-12 08:46:43 -08:00
Hixie
edac70a5dd Reenable canvas test.
I'm guessing the recent changes to the bindings fixed this crash.

Closes https://github.com/flutter/flutter/issues/248.
2016-02-12 08:39:59 -08:00
Hixie
0d1a3cfcff Assert that custom painters balance save/restores. 2016-02-12 08:35:45 -08:00
Todd Volkert
5d496143ba Review 2016-02-12 08:27:47 -08:00
Ian Hickson
16ecfeb074 Merge pull request #1797 from Hixie/toString
toString for Tween and ThemeData
2016-02-12 07:16:53 -08:00
Adam Barth
45c4069070 ImageCache should be a public type
We expose `imageCache`, which is an ImageCache, but previously the class
was private which means there was no documentation for the methods on
that object.

Fixes #1750
2016-02-11 22:33:21 -08:00