3344 Commits

Author SHA1 Message Date
Chinmay Garde
e1b16729bf Merge pull request #1093 from chinmaygarde/master
Download the Xcode artifacts for the current engine revision
2016-01-06 13:40:35 -08:00
Devon Carew
854f9f717d Merge pull request #1090 from devoncarew/log_stderr
have flutter logs log stderr
2016-01-06 13:39:11 -08:00
Chinmay Garde
f5f9440a2d Download the Xcode artifacts for the current engine revision 2016-01-06 13:38:43 -08:00
Eric Seidel
d7d4a46d36 Merge pull request #1091 from eseidelGoogle/device_time
Teach `flutter trace stop` to use time on the device.
2016-01-06 13:38:39 -08:00
Eric Seidel
0d783718ba Teach flutter trace stop to use time on the device.
This is yet another hack on top of adb log handling.
This is fragile, but w/o this if you device time is out
of sync, you can't trace.

@abarth
2016-01-06 13:29:32 -08:00
Devon Carew
ed215fb842 have flutter logs log stderr 2016-01-06 13:29:24 -08:00
Adam Barth
a271eb5612 Merge pull request #1081 from abarth/ship_scrollable_list2
Replace ScrollableList with ScrollableList2
2016-01-06 11:26:16 -08:00
Adam Barth
627c1ffb5c Replace ScrollableList with ScrollableList2
ScrollableList2 is complete and subsumes all the use cases for the original
ScrollableList.
2016-01-06 11:16:57 -08:00
Hans Muller
fa15fc2d04 Merge pull request #1077 from HansMuller/selection_type
Convert TabBar to TabBar<T> and TabBarSelection to TabBarSelection<T>

The TabBarSelection constructor no longer has the odd maxIndex parameter and the selection is initialized by value rather than the index of the selected tab.

TabBar has a Map labels parameter instead of List.
2016-01-06 11:01:34 -08:00
Hans Muller
6494cd1f35 Make TabBarSelection a parameterized type 2016-01-06 10:54:16 -08:00
Adam Barth
81b7067544 Merge pull request #1082 from abarth/scrollable_crash
Fix assert in Stocks app
2016-01-06 10:51:56 -08:00
Adam Barth
d2a1389ed0 Fix assert in Stocks app
When paging a scrollable list, we were trying to read the render object's size
at a time when we're not allowed to read it. Instead, encode the information
into the repaint limit, which is more correct (and faster) anyway.
2016-01-06 10:44:19 -08:00
Adam Barth
c4faad115d Merge pull request #1074 from abarth/scrollable_list_features
Complete features of ScrollableList2
2016-01-05 16:35:18 -08:00
Adam Barth
b1f9138f52 Switch clients of ScrollableList to ScrollableList2
This patch also changed ScrollableList2 to use an Iterable instead of an
List for its children. This change lets clients map their underlying
data lazily. If the clients actually have a concrete list, we skip the
extra copy and grab the child list directly.
2016-01-05 16:21:00 -08:00
Adam Barth
37106ea603 Complete features of ScrollableList2
This patch implements the remaining missing features of ScrollableList2.
It should now be nearly a drop-in replacement for ScrollableList. The
next patch will switch callers over to the new machinery.
2016-01-05 14:29:12 -08:00
Devon Carew
f72c8f6db7 Merge pull request #1076 from devoncarew/clear_logs
clear logs on app launch
2016-01-05 13:34:03 -08:00
Devon Carew
782f505fb8 clear logs on app launch 2016-01-05 11:02:49 -08:00
Adam Barth
ad170378cf Merge pull request #1073 from abarth/rm_scrolldirection_both
Remove ScrollDirection.both
2016-01-04 17:01:36 -08:00
Jason Simmons
b4591274c9 Merge pull request #1072 from jason-simmons/apk_keystore
Add flags for signing an APK with a custom keystore
2016-01-04 16:50:54 -08:00
Adam Barth
7aa575b0d4 Remove ScrollDirection.both
Almost none of the clients of ScrollDirection can handle scrolling in both
directions.

Fixes #151
2016-01-04 16:46:40 -08:00
Adam Barth
24fadf49fc Merge pull request #1070 from abarth/scrollable_list2
Introduce ScrollableList2
2016-01-04 16:44:44 -08:00
Adam Barth
99bca282c9 Introduce ScrollableList2
ScrollableList2 uses the same pattern as ScrollableGrid, which requires the
client to allocate widgets for every list item but doesn't inflate them unless
they're actually needed for the view. It improves on the original
ScrollableList by not requiring a rebuild of the whole visible portion of the
list when scrolling. In fact, small scrolls can often be handled entirely by
repainting.
2016-01-04 16:34:39 -08:00
Ian Hickson
c8ac09a56d Merge pull request #1042 from Hixie/wordSpacing
Hook up wordSpacing and inline height.
2016-01-04 15:38:56 -08:00
Ian Hickson
dcd34f472c Merge pull request #1071 from flutter/rev
rev engine
2016-01-04 15:22:09 -08:00
Jason Simmons
3a37c36cea Add flags for signing an APK with a custom keystore
Fixes #1010
2016-01-04 13:59:01 -08:00
Ian Hickson
1156bd254f rev engine 2016-01-04 13:53:23 -08:00
Adam Barth
888dc770c8 Merge pull request #1063 from abarth/scrollable_grid
Add support for scrollable grids
2016-01-04 12:13:33 -08:00
Adam Barth
6106fa9d6d Add support for scrollable grids
We now support (vertically) scrollable grids with viewporting. If the
scroll doesn't reveal any new rows, we execute the scroll with a repaint
(i.e., no layout). If the scroll reveals a new row, we trigger a layout
to change the set of materialized children in the viewport.
2016-01-04 11:23:42 -08:00
Ian Hickson
35b18c3def Merge pull request #1062 from Hixie/better-asserts
Change how we provide additional information for asserts in the Widget framework.
2016-01-03 23:16:58 -08:00
Ian Hickson
b1bd8017b4 Change how we provide additional information for asserts in the Widget framework.
Fixes #1058.
2016-01-03 21:22:34 -08:00
Adam Barth
7bf3cb4102 Merge pull request #1061 from abarth/generalize_grid_layout
Generalize grid layout
2016-01-02 14:36:35 -08:00
Adam Barth
46a178dce6 Generalize grid layout
This patch make grid layout much more flexible. The behavior is factored
out into a GridDelegate that's modeled after the custom layout
delegates. The patch includes a MaxTileWidthGridDelegate that implements
the old behavior and a FixedColumnCountGridDelegate that implements a
grid layout with a fixed number of columns.

Fixes #1048
2016-01-02 14:30:45 -08:00
Adam Barth
a5925149d6 Merge pull request #1059 from abarth/moar_gitignore
flutter init should gitignore .atom
2016-01-01 22:03:59 -08:00
Adam Barth
e40912b1e0 Merge pull request #1060 from abarth/box_offset
RenderBox should use Offset for child offset
2016-01-01 22:03:41 -08:00
Adam Barth
e9ac6d308d RenderBox should use Offset for child offset
Previously we used Position, which makes it harder to accumulate offsets
when walking the render tree.
2016-01-01 20:11:38 -08:00
Adam Barth
eecb8012af flutter init should gitignore .atom
We now create a .atom folder to hold settings for the Atom project. We
should gitignore that folder our project template.
2016-01-01 19:44:39 -08:00
Adam Barth
31bc220d3b Merge pull request #1057 from abarth/fix_assert
ScrollbarPainter exception when scrolling MaterialList
2016-01-01 19:39:59 -08:00
Adam Barth
9484370042 ScrollbarPainter exception when scrolling MaterialList
When assigning a new overlayPainter, we were detaching the old overlay
painter even if the render object itself wasn't attached. Now we only
twiddle the attach/detach state of the overlay painter when we're
attached ourselves.

Fixes #1047
2016-01-01 19:33:03 -08:00
Adam Barth
636fa1ab15 Merge pull request #1056 from abarth/list_item_padding
Ink well in ListItem doesn't fill MaterialList
2016-01-01 16:36:21 -08:00
Adam Barth
ab614847f7 Ink well in ListItem doesn't fill MaterialList
We need to put the padding on the inside of the list item.

Fixes #1055
2016-01-01 16:17:01 -08:00
Devon Carew
04d542b16f Merge pull request #1045 from devoncarew/min_api_level
update the min api level in the generated android manifest
2015-12-30 23:13:15 -08:00
Devon Carew
fc0b18c7f1 update the min api level in the generated android manifest; use constants for the android version name 2015-12-30 21:37:39 -08:00
Ian Hickson
29ab6efd1d Merge pull request #1044 from Hixie/better-errors
Improve diagnostics around misuse of ParentDataWidgets.
2015-12-30 17:02:00 -08:00
Ian Hickson
7df2dfcaf7 Improve diagnostics around misuse of ParentDataWidgets.
Fixes https://github.com/flutter/flutter/issues/572
2015-12-30 16:23:15 -08:00
Devon Carew
24cdc2ccf0 Merge pull request #1041 from devoncarew/docs
tweak the doc/index.html page
2015-12-30 13:14:25 -08:00
Devon Carew
8cc229b5c8 add code style 2015-12-30 13:13:54 -08:00
Ian Hickson
4588524ca7 Hook up wordSpacing and inline height.
Also, trivial improvements to the baseline example that I made while
unsuccessfully trying to reproduce a baseline bug.
2015-12-30 12:05:44 -08:00
Ian Hickson
1d3e7515e7 Merge pull request #1037 from Hixie/listen
Refactor listen in terms of start.
2015-12-28 19:43:27 -08:00
Ian Hickson
4fe10dbf7e Refactor listen in terms of start.
Fixes #1034, at least for start and listen.
2015-12-28 17:57:47 -08:00
Ian Hickson
73102aec7c Merge pull request #1031 from Hixie/input
Various Input and Focus fixes
2015-12-28 15:12:16 -08:00