3316 Commits

Author SHA1 Message Date
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
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
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
Ian Hickson
3e6dc7eff1 Merge pull request #1030 from Hixie/travis-on-non-travis
Allow travis/test.sh to be run locally (not on travis)
2015-12-28 15:07:39 -08:00
Ian Hickson
b1dae4c4cc Various Input and Focus fixes
Require a Key on Input.

Simplify the API for Focus.at() and Focus.moveTo().
Fixes #236.
This will require an e-mail to flutter-dev.

Make Input grab focus onTap not onPointerDown.
Fixes #189.

Complain when you use Focus.at() with two different GlobalKeys that
are both in the tree at the same time.
Fixes #181.

Add dartdocs for Focus.moveTo() and Focus.moveScopeTo().
2015-12-28 15:05:51 -08:00
Ian Hickson
7d83903e75 Allow travis/test.sh to be run locally (not on travis)
This helps people check that all the tests will pass before they send a PR.
2015-12-28 11:34:37 -08:00
Ian Hickson
c812628806 Merge pull request #1024 from Hixie/transform
Catch dismissable while it's animating.
2015-12-26 11:54:18 -08:00
Ian Hickson
a141fa75d6 Merge pull request #1026 from eseidel/patch-1
Add documentation for GridPaper
2015-12-25 19:02:45 -08:00
Eric Seidel
37142842e0 Add documentation for GridPaper
I'm not actually sure what this is useful for, but I took a stab at it.

@Hixie
2015-12-25 17:16:33 -08:00
Ian Hickson
5d9d521707 Catch dismissable while it's animating.
Fixes #173.
2015-12-24 23:13:55 -08:00
Ian Hickson
4f672dc049 Merge pull request #1020 from Hixie/transform
RenderFractionalTranslation and Dismissable
2015-12-24 11:08:09 -08:00
Ian Hickson
9bad312af2 RenderFractionalTranslation
- Add RenderFractionalTranslation, a render box that does a
  translation based on a FractionalOffset.

- Make FractionalOffset more like Offset
  - dx/dy instead of x/y
  - add /, ~/, %
  - add .zero

- Add alongOffset and alongSize to FractionalOffset so that you can
  easily apply FractionalOffset to Offsets and Sizes. (Better name
  suggestions welcome.)

- Add transformHitTests boolean to RenderTransform (also on
  RenderFractionalTranslation), and to classes based on it.

- Remove the fade from Dismissable. We can add it back using the
  builder-with-child pattern like Draggable if we need it. See #1003
  for tha feature request.

- Rename a bunch of variables in dismissable.dart.

- Change the test for dismissable to not handle leftwards dismisses
  one pixel different from rightwards dismisses, and cleaned up the
  resulting effect on the test (mostly making sure we had the right
  number of pumps, with comments explaining what each one was).

Fixes #174.
2015-12-24 11:04:25 -08:00
Hans Muller
a9ddbb4eca Merge pull request #1007 from HansMuller/revise_tabbar_selection
Make TabBarSelection a widget

TabBarSelection is now expected to be an ancestor of its TabBar and TabBarView.
2015-12-22 14:24:30 -08:00
Hans Muller
6178fdff8a TabBarSelection is now expected to be an ancestor of its TabBar and TabBarView. 2015-12-22 14:12:26 -08:00
Hans Muller
3f32201c66 checkpoint 2015-12-21 16:29:43 -08:00
Devon Carew
95b5091571 Merge pull request #1012 from devoncarew/nsm_hints
remove noSuchMethod hints
2015-12-21 15:15:29 -08:00
Devon Carew
ff74ba812d remove noSuchMethod hints 2015-12-21 14:57:20 -08:00
Devon Carew
7970df5907 Merge pull request #1008 from devoncarew/fix_analysis_errors
fix analysis errors and warnings in the stocks example
2015-12-21 14:03:35 -08:00
Devon Carew
6e324ef92d fix analysis errors and warnings in the stocks example 2015-12-21 13:39:28 -08:00
Seth Ladd
2bc0a05959 Merge pull request #1000 from flutter/sethladd-patch-1
Add a doc comment for Performance's repeat()
2015-12-21 12:51:34 -08:00
Seth Ladd
93053c062d Merge pull request #1001 from flutter/sethladd-patch-2
Link Curve to Curves in doc comments
2015-12-21 12:51:18 -08:00
Ian Hickson
e48efdca15 Merge pull request #982 from Hixie/fewer-bit-updates
Less tree walking for compositing bits updates.
2015-12-21 11:33:11 -08:00
Seth Ladd
c6fc6d2aa0 Link Curve to Curves in doc comments 2015-12-20 11:45:21 -08:00
Seth Ladd
96ae6d65ef Add a doc comment for Performance's repeat()
How's this?
2015-12-20 11:33:10 -08:00
Ian Hickson
884c8e9e35 Merge pull request #999 from Hixie/RenderPositionedBox-comments
Update RenderPositionedBox documentation.
2015-12-19 23:11:41 -08:00
Ian Hickson
543a7df0f6 Update RenderPositionedBox documentation. 2015-12-19 21:07:36 -08:00
krisgiesing
b53ab6485d Merge pull request #995 from krisgiesing/minor_cleanup
Remove redundant typedef
2015-12-18 13:48:02 -08:00
Kris Giesing
3b3315f46e Remove redundant typedef 2015-12-18 13:40:59 -08:00
Eric Seidel
9c8c74e486 Merge pull request #991 from flutter/all_docs
Generate docs for more of our packages
2015-12-18 10:13:10 -08:00
Eric Seidel
08221c5015 Merge pull request #992 from eseidelGoogle/forgot_icon
Forgot to add the file
2015-12-18 08:58:15 -08:00
Eric Seidel
6d908544c4 Forgot to add the file
This is a png version of the flutter logo generated on my desktop
from the SVG in the flutter.io repository.

TBR @hansmuller
2015-12-18 08:56:58 -08:00