814 Commits

Author SHA1 Message Date
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
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
Ian Hickson
8bf07aed6b Merge pull request #781 from Hixie/better-exceptions
Better exception handling for rendering library.
2015-08-24 15:55:55 -07:00
Ian Fischer
1fed802153 Merge pull request #761 from iansf/fix_linux
Fix sky_tool listen on linux.
2015-08-24 15:53:09 -07:00
Hixie
d45bee4ce6 Better exception handling for rendering library.
- Catch exceptions closer to the source.
- Factor out exception printing code.
- Have widget library hand the rendering library some context when syncing RenderObjectWrappers to aid with debugging.
- Fix a bug in flex.dart whereby _overflow was compared when null.
2015-08-24 15:13:04 -07:00
Adam Barth
d1537172bf Merge pull request #780 from abarth/mimic_improvements
Mimic should track Mimicable more completely
2015-08-24 15:11:34 -07:00
Adam Barth
3acbcbd375 Mimic should track Mimicable more completely
We now have Mimic tracking Mimicable through tree structure changes and while
moving around the screen.

Fixes #751 and #756
2015-08-24 15:11:18 -07:00
Collin Jackson
d92a8df2f8 Prevent the fitness app from asserting when there’s no data yet 2015-08-24 14:23:26 -07:00
Collin Jackson
ade6e3031d Merge pull request #765 from collinjackson/typography_colors
Fix typography to use opacity instead of color value
2015-08-24 14:17:40 -07:00
Chinmay Garde
65f2b0a8e7 Merge pull request #775 from chinmaygarde/master
Add media service implementation for iOS
2015-08-24 14:15:35 -07:00
Chinmay Garde
b3aa185aea Make media temp file copy asynchronous 2015-08-24 14:02:14 -07:00
Ian Fischer
6af01d9f38 Make sky_tool listen work on Linux. 2015-08-24 13:46:37 -07:00