Hans Muller
4264d5e749
Added button dialog and snackbar demos
2016-02-09 10:09:54 -08:00
Adam Barth
67145aabe9
Provide a better error for setState on a defunct State
...
Fixes #1695
2016-02-08 19:28:44 -08:00
Adam Barth
2cb534dc11
Merge pull request #1584 from abarth/populate_view_host
...
Actually populate the view host proxy
2016-02-08 18:15:44 -08:00
Adam Barth
508112d3e3
Update engine
2016-02-08 17:43:03 -08:00
Ian Hickson
6f107d0a03
Merge pull request #1702 from Hixie/checked-mode
...
Add a "SLOW MODE" banner in checked mode
2016-02-08 17:22:27 -08:00
Hixie
bf30c1ab74
Add a "SLOW MODE" banner in checked mode
2016-02-08 17:12:06 -08:00
Adam Barth
d0240c4eae
Remove ParentData#merge
...
There aren't any clients anymore.
Fixes #1684
2016-02-08 16:58:39 -08:00
Adam Barth
256af1433c
Actually populate the view host proxy
...
Now that the engine lets us take the view host handle, we can actually
access the view host from Dart.
2016-02-08 15:14:09 -08:00
Adam Barth
a4048970f8
Merge pull request #1648 from abarth/polish_overlay
...
Overlay polish
2016-02-05 22:02:51 -08:00
Adam Barth
f3b1748ca6
Merge pull request #1646 from abarth/rm_color_transition
...
Remove ColorTransition
2016-02-05 22:02:42 -08:00
Adam Barth
26d239049b
Overlay polish
...
Fixes #1607
2016-02-05 20:42:22 -08:00
Adam Barth
68f33d3012
Merge pull request #1642 from abarth/rm_viewport
...
Remove HomogeneousViewport
2016-02-05 20:30:46 -08:00
Adam Barth
d44e601a0a
Remove ColorTransition
...
There are no clients anymore. We added it for the Drawer a while ago,
which is a use case that's now better covered by AnimatedModalBarrier,
complete with semantics.
2016-02-05 20:29:07 -08:00
Adam Barth
9251504a57
Add more dartdoc to widgets.dart
...
This patch includes documentation for transitions.dart and for
scrollable.dart.
2016-02-05 20:21:42 -08:00
Adam Barth
5b89669424
Remove HomogeneousViewport
...
The virtual viewport machinery now handles all of these use cases.
Previous clients of ScrollableWidgetList can use ScrollableLazyList
instead.
2016-02-05 20:12:18 -08:00
Hixie
1a0484cc7e
Improve exceptions and asserts for rendering lib.
...
* Use actual exceptions rather than assertions containing code
containing strings when trying to give messages to authors.
* Introduce RenderingError which is an AssertionError that takes a
string argument, to support the above.
* Provide a BoxDimensions.hasBoundedWidth/hasBoundedHeight API.
* Document BoxDimensions.isNormalized.
* Provide more useful information when we assert isNormalized and find
that it is false.
* When finding the size is infinite, crawl the tree to figure out which
render box is likely responsible for the infinite constraints.
* Provide more information when size doesn't match the constraints.
* Provide more information when intrinsic dimension methods violate the
constraints.
* Only spam a huge amount of information for the first exception from
the rendering library. I've noticed a lot of people looking at the
last exception printed rather than the first and that's very
misleading -- after the rendering library hits an exception, all bets
are off regarding what'll happen in the future. All kinds of asserts
might fire.
* Improve docs around the debug methods and flags for the above.
* Make Block default to have no children. Previously, giving no children
crashed with a confusing message about a null deref in an assert.
2016-02-05 13:55:40 -08:00
Adam Barth
79828ef209
Merge pull request #1631 from abarth/doc_widgets
...
Add more dartdoc to widgets.dart
2016-02-05 13:02:58 -08:00
Adam Barth
a663d2550f
Add more dartdoc to widgets.dart
...
Making progress documenting the widget library.
2016-02-05 10:54:54 -08:00
Hans Muller
82e4309960
Support a TabLabel icon Widget builder.
2016-02-05 09:43:17 -08:00
Adam Barth
0e33151eed
Merge pull request #1612 from abarth/doc_gestures
...
Add some more dartdoc to gestures.dart
2016-02-04 20:09:55 -08:00
Adam Barth
8319a6c282
Add some more dartdoc to gestures.dart
2016-02-04 20:01:35 -08:00
Adam Barth
29d1d2eee4
Add more dartdoc to animation.dart
...
After the refactoring of the animation library, we were missing some
dartdoc.
2016-02-04 19:51:09 -08:00
Devon Carew
68fa1a636d
remove no longer needed code from the service protocol extensions
2016-02-04 14:56:49 -08:00
yjbanov
113544fa62
add test for ModalBarrier
2016-02-04 10:36:55 -08:00
Yegor
aa1017e067
Merge pull request #1603 from yjbanov/no-navigator-message
...
better error message when Navigator is used with no NavigatorState in…
2016-02-04 10:30:19 -08:00
yjbanov
19a01171f2
better error message when Navigator is used with no NavigatorState in the context
2016-02-04 10:11:25 -08:00
Hans Muller
8741f33ebe
Added a flexible appbar gallery demo
2016-02-04 09:42:23 -08:00
Adam Barth
ab5f012668
transformPoint should use Matrix4.perspectiveTransform
...
We want to normalize by w.
Fixes #1585
2016-02-03 19:56:09 -08:00
Ian Hickson
d5e1f9c7f7
Merge pull request #1575 from Hixie/rev
...
rev engine
2016-02-03 15:08:20 -08:00
Adam Barth
488285f112
Merge pull request #1553 from abarth/child_view
...
Initial work to add Mozart child views
2016-02-03 14:21:40 -08:00
Kris Giesing
90da69c97c
Fix formatting on AssetVendor's dart doc
2016-02-03 12:46:07 -08:00
Hixie
1e3b09e4f0
rev engine
2016-02-03 11:58:05 -08:00
Adam Barth
b303e3db48
Move ServiceMocker into flutter_test
...
People writing their own tests will want to mock services as well.
2016-02-03 10:46:19 -08:00
Ian Hickson
517288c2dd
Merge pull request #1532 from Hixie/semantics-2
...
Actually return a SemanticsServer service.
2016-02-03 09:50:06 -08:00
Adam Barth
f30398a4c4
Initial work to add Mozart child views
...
This patch sketches out the basic widgets for creating Mozart child
views. We're still missing some of the machinery, so we can't quite
create child views yet, but once we supply the ViewHost and teach the
compositor how to actually display the child scenes, we'll have
something that works.
2016-02-03 09:07:11 -08:00
Adam Barth
12507d1bdd
RawKeyboardListener asserts if disposed without keyboard
...
We need to check whether we're attached to the keyboard before trying to
detach from the keyboard.
2016-02-02 20:02:23 -08:00
Hans Muller
6bc65e0373
Add support for the appbar behavior described in the "Flexible space with image" section of https://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-scrolling .
2016-02-02 16:32:39 -08:00
Hixie
cca1cb2fa1
Actually return a SemanticsServer service.
2016-02-02 13:32:14 -08:00
Adam Barth
687ff57e24
Merge pull request #1528 from abarth/layer_offset
...
Viewport fails to clip its AssetImage child
2016-02-02 13:16:06 -08:00
Adam Barth
167fbced06
Viewport fails to clip its AssetImage child
...
We were getting confused about our layer tree offsets, which caused us
to set an incorrect cull rect for the recording inside a viewport.
This patch does away with layer tree offsets almost entirely. We now use
them only at repaint boundaries, which is where we want the layer tree
to be mutable.
Fixes #1460
2016-02-02 13:04:55 -08:00
krisgiesing
aef96b805c
Merge pull request #1505 from krisgiesing/image_scaling
...
Add scale awareness to images
2016-02-02 12:21:14 -08:00
Adam Barth
b89d81a998
Merge pull request #1522 from abarth/editing_mojom
...
Update to new editing.mojom
2016-02-02 12:14:19 -08:00
Adam Barth
6f1d4df3bd
Update engine
2016-02-02 12:13:55 -08:00
Kris Giesing
5161d12004
Give scale parameter to ImageCache and NetworkImage
2016-02-02 12:11:04 -08:00
yjbanov
4c823cdb97
add debugFillDescription to OverflowBox
2016-02-02 09:40:13 -08:00
Adam Barth
fade0dc097
Update to new editing.mojom
...
Now the keyboard is responsible for maintaining the state of the text
field.
2016-02-02 09:04:27 -08:00
Kris Giesing
f52a1e0a33
Associate scale with image more strongly in image resources
2016-02-01 13:50:07 -08:00
Kris Giesing
b81f3f8bd2
Style cleanup
2016-02-01 13:22:10 -08:00
Hixie
85689f1231
Make the Semantics code be a service.
...
Port the tests to use the new interface.
2016-02-01 12:57:47 -08:00
Kris Giesing
bf115ec5b0
Add scale awareness to images
2016-02-01 11:35:14 -08:00