2138 Commits

Author SHA1 Message Date
Adam Barth
fecba009ee Improve InputValue#toString 2016-03-09 12:42:52 -08:00
Hans Muller
335354d958 Merge pull request #2523 from HansMuller/lower_bound
Use lowerBound() from package:collection/collection.dart
2016-03-09 09:38:33 -08:00
Hans Muller
149f788c9e Use lowerBound() from package:collection/collection.dart 2016-03-09 09:22:51 -08:00
Hans Muller
e0df9eca5a Added SizeTransition 2016-03-09 08:18:41 -08:00
Hans Muller
efa36de7f0 Merge pull request #2482 from HansMuller/dismiss_action
Support undo in the leave-behind demo
2016-03-08 15:44:50 -08:00
Adam Barth
1c5a9692d8 Merge pull request #2508 from abarth/reparent_multichild
Support reparenting state from MultiChildRenderObjectElement
2016-03-08 15:42:17 -08:00
Hans Muller
73d7378cee Support undo in the leave-behind demo 2016-03-08 15:31:29 -08:00
Adam Barth
e8483fb366 Support reparenting state from MultiChildRenderObjectElement
Fixes #2085
2016-03-08 15:21:20 -08:00
Ian Hickson
33ab0ee673 Merge pull request #2504 from Hixie/scene-builder-arg
Drop the argument to SceneBuilder's constructor
2016-03-08 15:05:23 -08:00
Matt Perry
643ab478ff CheckedPopupMenuItem now fades its icon when changed.
BUG=https://github.com/flutter/flutter/issues/2274
2016-03-08 17:50:17 -05:00
Hixie
a16f07d945 Drop the argument to SceneBuilder's constructor 2016-03-08 14:17:01 -08:00
Adam Barth
22dc5590c9 Merge pull request #2488 from abarth/custom_sized_by_parent
RenderCustomMultiChildLayoutBox shouldn't be sizedByParent
2016-03-08 12:49:11 -08:00
Adam Barth
cdc2aefc69 ImageFit.cover doesn't respect alignment
We need to apply the alignment to the source rect because the ouput rect fills
the destination rect.

Fixes #1514
2016-03-08 12:39:46 -08:00
Adam Barth
3fb0df878d RenderCustomMultiChildLayoutBox shouldn't be sizedByParent
The getSize function from MultiChildLayoutDelegate might depend on information
other than the incomming constraints.

Fixes #2077
2016-03-08 12:10:00 -08:00
Adam Barth
501b948e05 Remove bogus intrinsic size assert
This patch tweaks the definition of max intrinsic size to give implementations
more wiggle room to compute there intrinsic sizes more efficiently.
Specifically, implementations can now ignore the incomming constraint in the
cross axis if they prefer.

This patch removes an assert that is no longer valid w.r.t. the new definition
of intrinsic sizing.

Fixes #2099
2016-03-08 11:14:00 -08:00
Adam Barth
44ecd80358 More dartdoc for routes.dart 2016-03-08 09:36:06 -08:00
Hixie
3d802075e2 Assert binding ready before getting a11y listener
This adds an assert to verify that we have already got a binding when we
get a semantics listener. Otherwise we crash. (I mean, we still crash,
but now in checked mode we crash on an assert instead. Progress?)
2016-03-07 16:37:45 -08:00
Hans Muller
2662ea5283 Added support for List leave-behind items 2016-03-07 14:50:25 -08:00
Devon Carew
94d2293404 remove the _embedder.yaml file 2016-03-07 13:47:43 -08:00
Hixie
79c3905eb6 Cleanup around viewports 2016-03-07 10:26:38 -08:00
Ian Hickson
8a2865ced3 Merge pull request #2249 from Hixie/size-obs-11
SizeObserver crusade: Remove SizeObserver
2016-03-07 10:11:06 -08:00
Ian Hickson
826b13bde3 Include more details in the Red Box of Doom 2016-03-06 23:00:03 -08:00
Adam Barth
302ebbaf8e Synchronizes dartdoc with dart:ui
Mostly just adds some examples to match the examples with use for
similar concepts in dart:ui.
2016-03-06 20:34:32 -08:00
Ian Hickson
31bdad08e2 Merge pull request #2454 from Hixie/widgeterror
Remove the second argument to WidgetError.
2016-03-06 12:38:34 -08:00
Ian Hickson
6bef1736c1 Remove the second argument to MultiChildLayoutDelegate.performLayout()
Fixes https://github.com/flutter/flutter/issues/2403

I have an e-mail ready to send to flutter-dev about this.
2016-03-06 12:28:28 -08:00
Ian Hickson
ef9132a050 Remove the second argument to WidgetError.
This makes WidgetError more like RenderingError, which will aid with https://github.com/flutter/flutter/issues/2356.

Fixes https://github.com/flutter/flutter/issues/2443
2016-03-06 12:15:57 -08:00
Ian Hickson
f64101ab06 Merge pull request #2451 from Hixie/widgetapp
Factor out non-Material parts of MaterialApp into WidgetsApp
2016-03-06 12:14:20 -08:00
Ian Hickson
6a23901256 Factor out non-Material parts of MaterialApp into WidgetsApp
Fixes https://github.com/flutter/flutter/issues/1346
2016-03-06 11:24:36 -08:00
Ian Hickson
f86889cb1b Clarify the assert when mimicking twice in a row. 2016-03-06 11:10:39 -08:00
Ian Hickson
138373718c Merge pull request #2446 from Hixie/need-material
Try to clarify that you need a Material for an IconButton.
2016-03-05 21:52:39 -08:00
Adam Barth
688da091dd Flinging continuously should have one scroll start/end pair
Previously we got confused and started sending start/end pairs for each tick of
the fling animation.

Fixes #2430
2016-03-05 19:42:05 -08:00
Adam Barth
6685954581 Merge pull request #2447 from abarth/widget_docs
Some more dartdoc
2016-03-05 18:43:35 -08:00
Adam Barth
b73670a31a Some more dartdoc 2016-03-05 18:00:47 -08:00
Ian Hickson
5061076624 Try to clarify that you need a Material for an IconButton.
Fixes https://github.com/flutter/flutter/issues/2369
2016-03-05 17:30:07 -08:00
Ian Hickson
1abc7c9ebe Clarify the "needs an Overlay" assert.
Fixes https://github.com/flutter/flutter/issues/2436
2016-03-04 23:53:24 -08:00
Adam Barth
d4c177e17d Merge pull request #2428 from abarth/shell_dart
Factor MojoShell into shell.dart
2016-03-04 18:38:02 -08:00
Adam Barth
7c4aef60b7 Merge pull request #2422 from abarth/init_bundle
Make _initRootBundle more robust
2016-03-04 18:15:45 -08:00
Adam Barth
fbc0950da4 Factor MojoShell into shell.dart
Putting this code in a separate library let's services that depend only on the
shell be clearer about their dependencies.
2016-03-04 13:48:28 -08:00
Adam Barth
118c4ed8ae Teaches ChildViewConnection to wrap an existing ViewOwner
Fixes #1921
2016-03-04 12:45:06 -08:00
Adam Barth
eea4bae674 Make _initRootBundle more robust
Rather than catching every exception, we now handle the one specific case where
we legitimately cannot create the root bundle.

Fixes #900
2016-03-04 12:20:20 -08:00
Adam Barth
e2a6b48803 Merge pull request #2418 from abarth/viewport_docs
Add dartdoc to VirtualViewport widgets
2016-03-04 11:04:32 -08:00
Adam Barth
24c0ab7f92 Add dartdoc to VirtualViewport widgets 2016-03-04 10:41:24 -08:00
Adam Barth
03db132fc7 Merge pull request #2417 from abarth/rm_icons
Remove dependency on material_design_icons
2016-03-04 09:45:36 -08:00
Adam Barth
b335a79a71 Remove dependency on material_design_icons
We get the icons from the iconfont now.

Also, remove the package:flutter CHANGELOG.md.  This file is outdated and the
git history is a more accurate change log these days.
2016-03-04 09:09:57 -08:00
Ian Hickson
047276a666 Random fixes to dartdocs, http lib, analyzer
This is a variety of trivial fixes that I collected while going through the dartdocs.
This does contain some non-comment changes.
2016-03-03 23:56:40 -08:00
krisgiesing
1655ca800a Merge pull request #2405 from krisgiesing/scaling_test
Add tests for AssetVendor and resolution-dependent image loading
2016-03-03 20:48:12 -08:00
Adam Barth
bbaff5ea69 Merge pull request #2406 from abarth/rm_draw_looper
Remove the one use of DrawLooper
2016-03-03 20:35:43 -08:00
Adam Barth
245c5ae2b8 Remove the one use of DrawLooper
We're going to remove DrawLooper from the canvas API soon.
2016-03-03 17:32:34 -08:00
Kris Giesing
390fcd9931 Fix code style 2016-03-03 17:07:14 -08:00
Hans Muller
d04ab2e001 BoxDecoration borders define padding 2016-03-03 16:56:27 -08:00