1887 Commits

Author SHA1 Message Date
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
Hixie
e8a21f5d91 Turn MojoShell into an actual binding 2016-02-01 11:30:05 -08:00
Adam Barth
fade43ee55 Update the Align docs
They were out-of-date.

Fixes #1391
2016-01-31 23:06:34 -08:00
Adam Barth
3609938327 Adds the ability to move the caret by tapping
Now the text input control knows how to move the caret when you tap
inside the string. There's still some rough edges to polish up, but this
patch is the first step.

Fixes #108
2016-01-30 21:57:19 -08:00
Adam Barth
f8342c7a84 Fix analyzer warnings related to SemanticsListener
These were introduced by the recent engine roll.
2016-01-30 21:55:59 -08:00
Adam Barth
4bec05ad8b Update engine 2016-01-30 20:59:19 -08:00
Adam Barth
90e0003115 Merge pull request #1471 from abarth/paint_selection
Input should paint selections
2016-01-29 19:43:06 -08:00
Adam Barth
a5cfbad876 Input should paint selections
This patch teaches the editing system to paint reasonable selections for
single-line text fields, including for bidirectional text.

Requires https://github.com/flutter/engine/pull/2318
2016-01-29 16:07:54 -08:00
Hixie
f2564a41a1 Fix copypasta in RenderSizedOverflowBox. 2016-01-29 15:17:54 -08:00
Adam Barth
1703d065f6 Update engine 2016-01-29 14:51:51 -08:00
Adam Barth
fa03df2d82 Add an alignment property to OverflowBox
This patch changes the default alignment of OverflowBox to center rather than
having a bias towards the upper-left corner.

Fixes #1236
2016-01-29 14:35:57 -08:00
Devon Carew
e1a7d7d865 fix two strong mode issues 2016-01-29 12:01:53 -08:00
Kris Giesing
9572b4969f Add support for asset variants and resolution-aware images 2016-01-28 18:11:32 -08:00
Collin Jackson
b70a53807a Update engine 2016-01-28 13:10:57 -08:00
Hixie
57b68a523d Clean up shell.dart 2016-01-28 12:34:36 -08:00
Hixie
8ef862fba6 The old style of import is deprecated. 2016-01-27 16:23:28 -08:00
Ian Hickson
064805235d Merge pull request #1309 from Hixie/semantics-3
Semantics
2016-01-27 15:54:59 -08:00
Hixie
a309cea1d4 Resurrect spinning_mixed.
It had bit-rotted. Also improve our error reporting for missing Material.
2016-01-27 10:07:11 -08:00
Hixie
28a1788371 Semantics 2016-01-27 10:04:49 -08:00
Seth Ladd
b5470df8d7 Merge pull request #1401 from sethladd/doc
add explicit doc to override default from parent
2016-01-27 08:48:43 -08:00
Seth Ladd
139e98a12e add explicit doc to override default from parent
tweak from review
2016-01-26 20:14:57 -08:00
Adam Barth
27a73a589c Merge pull request #1400 from abarth/reorder_update_children
updateChildren() needs to walk the list forward
2016-01-26 20:08:36 -08:00
Adam Barth
05839e51ca updateChildren() needs to walk the list forward
This patch changes the framework to walk the child list forwards so that build
functions with global side effects do sensible things. Specifically, if you
have a number of autofocusable children, the first one the list will acquire
the focus because it gets built first now.

Fixes #182
2016-01-26 20:02:46 -08:00
Adam Barth
a535164357 Keyboard doesn't dismiss when the drawer comes up
When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't
actually giving them the focus. Now we move the focus scope when pushing modal
routes.

Fixes #184
2016-01-26 19:57:37 -08:00