3591 Commits

Author SHA1 Message Date
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
1bfc1897c1 Merge pull request #784 from abarth/rm_epsilon
Remove floating-point errors from ScrollableWidgetList
2015-08-25 09:20:34 -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
Viktor Lidholt
a039110e2f Merge pull request #787 from vlidholt/master
Minor code cleanup
2015-08-25 09:16:49 -07:00
Ian Fischer
f72ea06308 Merge pull request #789 from domokit/iansf-sky_tool-local-build-docs
Update documentation for new sky_tool version
2015-08-24 21:43:00 -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
Ian Hickson
3d687c3dc6 Merge pull request #791 from Hixie/flex-part2
Make Flex shrink-wrap when unconstrained.
2015-08-24 17:41:44 -07:00
Hixie
8b88916443 Make Flex shrink-wrap when unconstrained. 2015-08-24 17:34:44 -07:00
Ian Fischer
9b89fade1e Update documentation for new sky_tool version 2015-08-24 17:18:13 -07:00
Ian Fischer
88463f994b Merge pull request #788 from domokit/iansf-sky_tool-listen-docs
Add documentation for using sky_tool listen.
2015-08-24 17:04:00 -07:00
Ian Fischer
d9d4f467a6 Add documentation for using sky_tool listen. 2015-08-24 16:46:01 -07:00
Viktor Lidholt
bb0de38f5b Minor code cleanup 2015-08-24 16:41:05 -07:00
Viktor Lidholt
7f60dc5fa1 Merge pull request #785 from vlidholt/new_game
New demo game
2015-08-24 16:32:39 -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
Ian Hickson
1042caceb7 Merge pull request #783 from Hixie/better-stack
Track the last component to build
2015-08-24 16:19:07 -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
Viktor Lidholt
e5fb2b7187 Adds support for spline actions and constraints on nodes 2015-08-24 16:08:23 -07:00
Viktor Lidholt
c1b071c1ac New game demo, initial version 2015-08-24 16:07:25 -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
Chinmay Garde
f9a29102c1 Merge pull request #779 from collinjackson/fix_fitness
Prevent the fitness app from asserting when there’s no data yet
2015-08-24 14:31:48 -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
Chinmay Garde
544ef0ee8d Avoid using malloc/free when trying to calculate the temporary file directory 2015-08-24 13:36:51 -07:00
Hans Muller
6404bf0868 Merge pull request #772 from HansMuller/wraparound-pageable-list
Support ScrollableLists that wrap

Adds itemsWrap:bool (default false) to ScrollableList and PageableList. If itemsWrap is true then scrolling past the last item wraps around to the first. Similarly, scrolling before the first item wraps around to the last.

Added abstract ExtentScrollBehavior of ScrollBehavior. Renamed fields called contentsExtents to contentExtent, containerExtents to containerExtent, contentSize to contentExtent, etc.

BoundedBehavior is now a subclass of ExtentScrollBehavior.

Added UnboundedBehavior subclass of ExtentScrollBehvaior; contentExtent and maxScrollOffset are double.INFINITY, minScrollExtent is double.NEGATIVE_INFINITY.
2015-08-24 13:25:18 -07:00
Hans Muller
384bcd70e9 Support ScrollableLists that wrap
Adds itemsWrap:bool (default false) to ScrollableList and PageableList. If itemsWrap is true then scrolling past the last item wraps around to the first. Similarly, scrolling before the first item wraps around to the last.

Added abstract ExtentScrollBehavior of ScrollBehavior. Renamed fields called contentsExtents to contentExtent, containerExtents to containerExtent, contentSize to contentExtent, etc.

BoundedBehavior is now a subclass of ExtentScrollBehavior.

Added UnboundedBehavior subclass of ExtentScrollBehvaior; contentExtent and maxScrollOffset are double.INFINITY, minScrollExtent is double.NEGATIVE_INFINITY.
2015-08-24 13:22:08 -07:00
Adam Barth
27581a49c1 Merge pull request #774 from abarth/add_listener
Add GlobalKey.registerAddListener
2015-08-24 12:56:28 -07:00
Adam Barth
63d8c2466b Add GlobalKey.registerSyncListener
This lets clients listen for when a widget with a given global key goes through
a sync operation. We'll need this for mimic to track its mimicable when it
moves around the tree.
2015-08-24 12:55:55 -07:00
Collin Jackson
84c8486fec Fix typography to use opacity instead of color value 2015-08-24 12:51:32 -07:00
Hans Muller
2912e8c062 Merge pull request #777 from HansMuller/flush-layout-bug
RenderObject.flushLayout should loop until _nodesNeedingLayout is empty
2015-08-24 12:51:30 -07:00
Hans Muller
ef125dada0 RenderObject.flushLayout should loop until _nodesNeedingLayout is empty 2015-08-24 12:49:41 -07:00
Chinmay Garde
bd80be7e2f Add media service implementation for iOS 2015-08-24 12:36:15 -07:00
Adam Barth
a20a8516be Merge pull request #773 from abarth/sky_viewer_skyx
Add support for skyx to sky_viewer.mojo
2015-08-24 10:52:20 -07:00
Adam Barth
61dcfbc0ed Add support for skyx to sky_viewer.mojo
Fixes #753
2015-08-24 09:34:17 -07:00
Adam Barth
1646afe3c2 Update box_painter.dart 2015-08-22 13:44:40 -07:00
Adam Barth
a67839d8b5 Merge pull request #769 from abarth/drawer_followup
Address review comments from #767
2015-08-22 11:26:11 -07:00
Adam Barth
1db6f202b3 Address review comments from #767
Mostly formating and removing arguments with default values.
2015-08-22 11:25:53 -07:00
Adam Barth
131a0d6766 Merge pull request #767 from abarth/modernize_drawer_item
DrawerItem, DrawerHeader should take a child instead of children
2015-08-22 08:46:12 -07:00
Adam Barth
90d5a6f225 Merge pull request #766 from abarth/one_at_a_time
Run tests one-at-a-time on Travis
2015-08-22 08:45:47 -07:00
Adam Barth
fa75288b4c Merge pull request #768 from abarth/fix_analyzer
Fix analyzer warnings
2015-08-22 08:24:36 -07:00
Adam Barth
341728ce5f Fix analyzer warnings 2015-08-22 08:24:02 -07:00