2992 Commits

Author SHA1 Message Date
Adam Barth
d99432ca1a Drop is a separate word than down
Therefore, we use _ between them in the file name.
2016-03-31 12:52:09 -07:00
Adam Barth
a71231a554 Fix broken link in the docs 2016-03-31 12:06:39 -07:00
krisgiesing
243960d741 Merge pull request #3010 from krisgiesing/offscreen_layout
Part 2 of independent layout pipelines
2016-03-31 11:11:22 -07:00
Kris Giesing
9dfd5d4021 Part 2 of independent layout pipelines
Adds BuildOwner to manage the dirty list and build processing for
widgets/elements, and adds a widget unit test to make sure separation
is enforced.

Fixes #2723
2016-03-31 11:02:00 -07:00
Adam Barth
2bc08720e4 Document which widgets require a Material ancestor
Also, fill out other documentation for these widgets.

Fixes #967
2016-03-31 07:39:13 -07:00
Adam Barth
dca4e4aaa4 Polish selection controls
The touch ripple now starts at the touch location instead of being
centered on the widget.

Fixes #2652
2016-03-30 23:58:21 -07:00
Adam Barth
db9a92e59f Merge pull request #3011 from abarth/slider_polish
Polish Slider implementation
2016-03-30 18:06:08 -07:00
Adam Barth
c68494eb2a Merge pull request #3015 from abarth/snackbar_fade
Snackbar opacity animation shouldn't trigger on reverse
2016-03-30 17:26:11 -07:00
Adam Barth
d4b0c66bbe Polish Slider implementation
Based on feedback from the material design team.

Fixes #1613
2016-03-30 17:22:29 -07:00
Adam Barth
da987ed217 Snackbar opacity animation shouldn't trigger on reverse
Fixes #617
2016-03-30 17:14:38 -07:00
Hans Muller
3098abf749 Tab updates 2016-03-30 16:50:52 -07:00
Adam Barth
febfdf69f9 Merge pull request #3014 from abarth/update_mojo
Update engine
2016-03-30 16:02:24 -07:00
Adam Barth
d4febd085d Make it possible to dismiss a snackbar manually
Fixes #463
2016-03-30 15:42:51 -07:00
Adam Barth
04adf211d7 Update engine
This patch updates our use of Mozart to the latest version of the protocol.
2016-03-30 15:39:54 -07:00
Hans Muller
e76759953a Merge pull request #3002 from flutter/date_picker
DatePicker et al updates
2016-03-30 12:29:45 -07:00
Adam Barth
4fae8dfb7f Merge pull request #3008 from abarth/rm_text_height
These height values are incorrect
2016-03-30 12:20:50 -07:00
Adam Barth
bf31cf1e10 These height values are incorrect
They're actually leading values rather than line height values, which means
they're operative between paragraphs not within a given paragraph.
2016-03-30 12:08:19 -07:00
Hans Muller
c2366f3318 DatePicker et al updates 2016-03-30 12:04:51 -07:00
Adam Barth
15393b4990 Improve docs for TextStyle#height
Fixes #2918
2016-03-30 10:56:18 -07:00
Adam Barth
89076c95f0 Update engine
Also, pass font information to ui.ParagraphStyle.
2016-03-30 09:41:05 -07:00
Adam Barth
7da44d2d60 Merge pull request #2994 from abarth/faster_checked_mode
The intrinsic size checks were very slow
2016-03-29 19:13:53 -07:00
Adam Barth
9157c16421 The intrinsic size checks were very slow
Now we run them once per render object.

Fixes #2487
2016-03-29 16:35:33 -07:00
Adam Barth
243a49f7d0 Merge pull request #2992 from abarth/reactive_build
Reactivating a StatefulElement should imply a build
2016-03-29 16:12:01 -07:00
Adam Barth
b841e868f1 Reactivating a StatefulElement should imply a build
Fixes #2901
2016-03-29 16:02:10 -07:00
Ian Hickson
663164339d Merge pull request #2984 from Hixie/table
More table fixes
2016-03-29 15:54:57 -07:00
Hans Muller
992fc76e8e Merge pull request #2986 from flutter/gallery
Animate TwoLevelList leading icon color
2016-03-29 14:33:27 -07:00
Andrew Wilson
fad5df4c5e Merge pull request #2948 from apwilson/image
Add keys to ResourceImages.
2016-03-29 14:16:18 -07:00
Hixie
bdfeaaa47a More table fixes 2016-03-29 14:10:17 -07:00
Hans Muller
08edc0a928 Animate TwoLevelList leading icon color 2016-03-29 14:05:35 -07:00
Andrew Wilson
ed00f3ed5c Add keys to ResourceImages. 2016-03-29 14:02:49 -07:00
Hans Muller
04e020590d Use _ScaffoldLayout to position scrollable appbars 2016-03-29 13:27:37 -07:00
Hixie
baf06515e5 Table widget
- Add x and y to the parent data, in case it's useful. In point of fact,
  I ended up not needing it.

- Make columnWidths settable rather than having a setter so that the
  code in the widgets layer is more idiomatic.

- Teach setFlatChildren about avoiding unnecessary drop/adopt loops.

- Assert that the child list length is correct more aggressively so that
  we catch the dumb bug I had more quickly next time.

- Improve the toString() to handle empty tables better.

- Resort the imports in framework.dart.

- Introduce a LocalKey for cases where you don't want to allow use of
  GlobalKey.

- Make inflateWidget and deactivateChild public for subclass use.

- Table widget.

- Cell widget.

- TableRow fake widget.
2016-03-29 12:43:19 -07:00
Andrew Wilson
8ff1982776 Allow Draggables to drop through DragTargets that don't accept them to one that does. 2016-03-29 10:31:04 -07:00
Ian Hickson
d5deea491e Merge pull request #2942 from Hixie/layout-asserts
More elaborate exceptions.
2016-03-28 23:35:28 -07:00
Ian Hickson
962a33f85c AnimatedOpacity
This provides an easy way to do implicit opacity transitions.
2016-03-28 23:16:53 -07:00
Ian Hickson
aedf41bfa7 More elaborate exceptions.
The elaboration will continue until morale improves.

Specific exceptions considered here:

 - size setter checking when you set the size
 - layout verifying that you do set the size
 - hitTest verifying that you aren't dirty and have a size
 - flex complaining about canFlex
2016-03-28 23:14:15 -07:00
Adam Barth
d312c9dc12 Merge pull request #2970 from abarth/align_popup
Adds constants for FractionalOffsets
2016-03-28 23:12:17 -07:00
Adam Barth
1ba539a661 Add constants for FractionalOffsets
Adds some names for common FractionalOffset values.
2016-03-28 22:51:06 -07:00
Adam Barth
4e4a352a62 Pointer events should pass buttons through
Fixes #2899
2016-03-28 20:29:03 -07:00
Adam Barth
055268eae5 Merge pull request #2965 from abarth/rm_analyze_regexp
Remove two `flutter analyze` regular expressions
2016-03-28 17:18:46 -07:00
Adam Barth
522030bdda Remove two flutter analyze regular expressions
We can work around these in code rather than by post-processing the analyzer
output.
2016-03-28 16:33:39 -07:00
Adam Barth
2e062dfab4 Use --packages rather than --package-root
The .packages file is replacing the packages directory of symlinks.
2016-03-28 15:01:25 -07:00
Adam Barth
6ffee20bd6 Merge pull request #2954 from abarth/child_view_exception
ChildView throws exceptions outside MojoShell
2016-03-28 14:44:42 -07:00
Kris Giesing
2b0705a392 Rename debugOwner to debugCreator
Fixes #2940
2016-03-28 13:16:31 -07:00
Adam Barth
39640bd0ef ChildView throws exceptions outside MojoShell
We're missing a null check.

Fixes #2949
2016-03-28 12:12:28 -07:00
Matt Perry
641604ad94 Merge pull request #2850 from mpcomplete/form
Added a Form widget to manage multiple Input widgets.
2016-03-28 13:55:08 -04:00
Ian Hickson
f7dac6169a Improve _AnimatedEvaluation.toString
...and fix a typo in a setState assert message.
2016-03-27 00:52:40 -07:00
Ian Hickson
044ecf5410 toStrings for Animations and Animatables 2016-03-26 23:09:32 -07:00
Ian Hickson
c53f18bfee Update print.dart 2016-03-25 23:46:45 -07:00
Hixie
6af9e6c96b RenderTable 2016-03-25 18:40:18 -07:00