824 Commits

Author SHA1 Message Date
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
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
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
Hixie
fca917c0c8 Notes on accessibility. 2015-08-25 13:15:08 -07:00
Devon Carew
8f84614e63 fix skydoc.py to work with the latest dartdoc 2015-08-25 11:24:15 -07:00
Hans Muller
be0bc02c0a Enable initializing Scrollable scrollOffset
Added Scrollable named parameter initializeScrollOffset. If unspecified, then the initial value of scrollOffset is 0.0 as before.
2015-08-25 11:03:04 -07:00
Hans Muller
d6756f1900 Removed unneeded tabs.dart import, updated tests 2015-08-25 10:24:58 -07:00
Adam Barth
6ecd0b16f3 Rev pub package 2015-08-25 09:58:46 -07:00
Adam Barth
420520276a Merge pull request #796 from abarth/fix_tests
Don't divide by zero
2015-08-25 09:58:39 -07:00
Hans Muller
c5cbd13e42 Merge pull request #797 from HansMuller/revise-scrollable-tabs
Revise the scrollable tabs implementation

Scrollable tabs actually scroll again.

Scrollable tabs actually scroll again.

The Tabbar now creates a Viewport to clip the tabs if isScrollable: true.
2015-08-25 09:58:32 -07:00
Adam Barth
01a0ec9060 Don't divide by zero
If there aren't any items, there's no point in computing which items to show.
2015-08-25 09:48:21 -07:00
Adam Barth
1af274b8ab Include sky_snapshot in binary distribution 2015-08-25 09:42:45 -07:00
Hans Muller
cf4e516f25 done 2015-08-25 09:41:28 -07:00
Adam Barth
a1bce24aef Rev pub packages 2015-08-25 09:36:36 -07:00
Ian Hickson
83998c7b92 Merge pull request #792 from Hixie/flex-part3
Add `Row` and `Column` widgets so you don't have to use Flex.
2015-08-25 09:22:40 -07:00
Adam Barth
c38721d218 Remove floating-point errors from ScrollableWidgetList
We now compute which items to show using integers instead of floating point,
avoiding rounding errors.
2015-08-25 09:20:20 -07:00
Hixie
bf465af23d Add Row and Column widgets so you don't have to use Flex.
I updated everything in widgets/, but didn't update any examples.
2015-08-24 17:50:37 -07:00
Hixie
8b88916443 Make Flex shrink-wrap when unconstrained. 2015-08-24 17:34:44 -07:00
Ian Fischer
d9d4f467a6 Add documentation for using sky_tool listen. 2015-08-24 16:46:01 -07:00
Ian Fischer
d6b46afc91 Merge pull request #786 from iansf/minor_cleanup
Minor cleanup in sky_tool
2015-08-24 16:31:03 -07:00
Ian Fischer
90d98524db Minor cleanup of paths and quotes. 2015-08-24 16:29:20 -07:00
Hixie
d1d2416e9d Track the last component to build
...rather than the stack trace at the time the RenderObjectWrapper updates the RenderObject.

Also, hide some of the debug-only fields behind "debug" prefixes and assert()s.
2015-08-24 16:17:50 -07:00