843 Commits

Author SHA1 Message Date
Hans Muller
28e432afa6 Merge pull request #850 from HansMuller/progress-bar-animation
Fix ProgressIndicators and add a regression test

Added some unit test infrastucture for checking layers.
2015-08-26 15:24:12 -07:00
Hans Muller
c65ed705a1 Fix ProgressIndicators and add a regression test
Added some unit test infrasture for checking layers.
2015-08-26 15:22:24 -07:00
Ian Hickson
487b8cbf33 Merge pull request #870 from Hixie/RenderBlockViewport
Generalise RenderBlockViewport so that it can be used by a Widget that knows its children's dimensions.
2015-08-26 15:16:43 -07:00
Hixie
0e43c654ce ShrinkWrapHeight widget
- add debugDescribeSettings to a few classes that were missing it
- fix some minor bugs in RenderShrinkWrapWidth and ShrinkWrapWidth
- introduce RenderShrinkWrapHeight and ShrinkWrapHeight
2015-08-26 15:07:53 -07:00
Hixie
9d91a8da9c Generalise RenderBlockViewport so that it can be used by a Widget that knows its children's dimensions. 2015-08-26 14:25:53 -07:00
Adam Barth
2898362c21 Remove unused import to silence analyzer 2015-08-26 14:21:36 -07:00
Andrew Wilson
e2fdc2e7ea Fix npe. 2015-08-26 14:14:44 -07:00
Eric Seidel
13926c351f Add support for RenderGrid
I'll write the Widget wrapper in the next CL, including adding
support for padding at the Widget layer.

@Hixie
2015-08-26 13:52:30 -07:00
Ian Hickson
982f5abd4d Merge pull request #863 from Hixie/mixed-viewport-changes
Make RenderBlockViewport shrink-wrap its children in the main axis direction
2015-08-26 13:43:55 -07:00
Adam Barth
c405de2d5e Merge pull request #866 from abarth/test_date_picker
Add a basic test for DatePicker
2015-08-26 13:40:31 -07:00
Adam Barth
fb58c4a7eb Add a basic test for DatePicker
Most of this work in this patch is building out the test framework to the point
where we can write this test.
2015-08-26 13:38:05 -07:00
Ian Hickson
860a6573c4 Merge pull request #852 from Hixie/sizing-docs
Update the documentation on sizing, make another assert point to it.
2015-08-26 13:25:17 -07:00
Hixie
98b542cc77 Make RenderBlockViewport shrink-wrap its children in the main axis direction. 2015-08-26 13:19:04 -07:00
Jim Beveridge
a27eaa6e1c Automatically update apk on device.
Fixes #454.
2015-08-26 13:13:14 -07:00
Andrew Wilson
3109ffdf3e Change generic value names to be more descriptive for assert tracing. 2015-08-26 12:22:38 -07:00
Adam Barth
87b65fa6f2 Merge pull request #855 from abarth/big_circle_test
Turn big_circle.dart into a test
2015-08-26 11:20:36 -07:00
Collin Jackson
5ea6d5bf1f Add haptic feedback to date picker 2015-08-26 11:20:00 -07:00
Collin Jackson
05896db89e Cancel timer when un-mounting date picker widget 2015-08-26 11:19:43 -07:00
Collin Jackson
8089828423 Move ClipRRect logic from Card to Material (fixes rounded corners on top of date picker dialog) 2015-08-26 11:17:49 -07:00
Adam Barth
433f825ca0 Turn big_circle.dart into a test
Fixes #829
2015-08-26 11:10:16 -07:00
Adam Barth
514635c646 Merge pull request #854 from abarth/sector_broken
Sector demo is broken because of compositor changes
2015-08-26 11:02:51 -07:00
Adam Barth
eb72d4b674 Sector demo is broken because of compositor changes
We need to implement visitChildren for the RenderObjects in the sector demo.
Also, add a test.

Fixes #790
2015-08-26 10:58:30 -07:00
Collin Jackson
5da1afe0b1 Merge pull request #838 from collinjackson/improve_date_picker
Add date picker to widgets library and teach fitness app to use it
2015-08-26 10:28:27 -07:00
Hixie
16051e0201 Update the documentation on sizing, make another assert point to it.
This hopefully explains things well enough that it fixes #846, after a manner.
2015-08-26 10:10:56 -07:00
Adam Barth
795df1327b Plumb physical size along with SkPicture
Previously we were using the cull rect of the SkPicture to size the GPU buffer,
but Skia is too smart and shrinkwraps the cull rect, which meant we weren't
sizing the GPU buffer to the right size.

Fixes #814
2015-08-26 09:26:51 -07:00
Hixie
71e6f53a57 Replace Flex to Row and Column in tests and examples.
This still leaves Flex and FlexDirection available. At some point once
people have transitioned to Row/Column we should rename Flex to _Flex
and stop reexporting FlexDirection from basic.dart.
2015-08-26 09:05:14 -07:00
Adam Barth
b5f930ead9 Rev pub package 2015-08-26 08:59:09 -07:00
Adam Barth
c7b8d482a8 Add missing dependency 2015-08-25 19:59:52 -07:00
Adam Barth
f44e4c0615 Add a basic test for Mimic tree movement 2015-08-25 16:50:44 -07:00
Collin Jackson
d8690b8cae Add date picker to widgets library and teach fitness app to use it
Also, add an example for the date picker
2015-08-25 16:41:11 -07:00
Collin Jackson
d7cc013548 Fix typo in syncRenderObject arguments 2015-08-25 16:18:21 -07:00
Adam Barth
f16249adcd Add a test for #833
This test just exercises Align to make sure it can sync.
2015-08-25 16:13:33 -07:00
Hixie
340296505e Fix signature of Align.syncRenderObject() 2015-08-25 16:04:01 -07:00
Adam Barth
fb9a3982c5 Rev pub package 2015-08-25 15:49:27 -07:00
Adam Barth
42fcc36407 Rev pub packages 2015-08-25 15:42:20 -07:00
Adam Barth
dff1bd031c Merge pull request #832 from Hixie/positioner
Introduce Align widget for aligning children.
2015-08-25 15:37:43 -07:00
Adam Barth
7b265cb08a Merge pull request #831 from abarth/track_mimic
Properly track mimics that move in the tree
2015-08-25 15:36:59 -07:00
Hixie
9352213766 Introduce Align widget for aligning children. 2015-08-25 15:35:20 -07:00
Adam Barth
1031c0ed60 Properly track mimics that move in the tree
We weren't telling the new mimicable that we wanted to start mimicing it.
2015-08-25 15:33:52 -07:00
Adam Barth
412a4a9e27 Merge pull request #827 from jamesr/mojo_roll_d259eb58aa59e14a13d5e0dc3984b855b475ba09
Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
2015-08-25 15:02:52 -07:00
James Robinson
c8eff5e44f Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Adam Barth
c3fb88fbff Merge pull request #813 from abarth/device_pixel_ratio
Don't freeze devicePixelRatio at startup
2015-08-25 14:55:01 -07:00
Adam Barth
29705868ad Merge pull request #822 from abarth/focus_assert
Fix global key error while using fitness app
2015-08-25 14:45:57 -07:00
Adam Barth
b2d3435d8e Fix global key error while using fitness app
We were making local copies of the listener maps, but we were actually
iterating the underlying sets. Now we make local copies of the sets.

Fixes #803
2015-08-25 14:45:18 -07:00
Adam Barth
0f5e9b2a5e test_sky shouldn't run skyanalyzer
If we want to run the analyzer, we should do that as a separate step.
2015-08-25 14:20:40 -07:00
Adam Barth
99768c9349 Fix build
I removed these functions by mistake in my previous patch.
2015-08-25 14:10:32 -07:00
Adam Barth
24d02b3312 Don't freeze devicePixelRatio at startup
When we start, we might not have initialized the devicePixelRatio value. The
value will be initialized by the time we paint, so now we update the value
every time we paint.
2015-08-25 14:06:53 -07:00
Adam Barth
ec232fffe8 Merge pull request #809 from abarth/scene_builder
Use sky.SceneBuilder to upload Layer tree to C++
2015-08-25 13:59:52 -07:00
Ian Hickson
680b37f09f Merge pull request #807 from Hixie/a11y
Notes on accessibility.
2015-08-25 13:44:41 -07:00
Adam Barth
96df6c373c Use sky.SceneBuilder to upload Layer tree to C++
We still use SkPicture as our rasterization backend, but now we're uploading
our layer tree to C++. A future patch will push the layer tree deeper into the
system and we'll eventually switch backends.
2015-08-25 13:41:37 -07:00