1260 Commits

Author SHA1 Message Date
Adam Barth
b792ca37fa Rev pub packages 2015-11-24 12:45:02 -08:00
Hixie
d960e3ed31 rev to 0.0.62. 2015-11-21 16:10:17 -08:00
Ian Hickson
24a7f3795f Rev the engine again. 2015-11-20 21:53:37 -08:00
Kris Giesing
016baa5454 Update version to 0.0.60 2015-11-20 15:36:05 -08:00
Kris Giesing
bb4eae40b0 Update version to 0.0.59 2015-11-20 14:06:45 -08:00
Jason Simmons
a18ab30e97 Rev pub packages 2015-11-19 14:16:46 -08:00
Adam Barth
fed101feb7 Rev pub packages 2015-11-17 11:24:14 -08:00
Adam Barth
c075697fcf Rev pub packages 2015-11-16 15:16:12 -08:00
John McCutchan
48aa7176cd Rev packages again and this time update the mojo_sdk dependency 2015-11-13 12:25:57 -08:00
John McCutchan
62d13979fb Bump sky_engine and sky_services package versions 2015-11-13 10:44:46 -08:00
Adam Barth
1db56166f6 Rev pub packages 2015-11-13 09:15:40 -08:00
Adam Barth
16f8b5059d Rev pub packages 2015-11-12 10:30:30 -08:00
Hixie
163980f878 Update the path for dart:ui_internals 2015-11-12 09:53:16 -08:00
Hixie
64402ffec1 Include raw_keyboard.mojom in the Linux build too. 2015-11-12 09:46:07 -08:00
John McCutchan
dd328c3293 Switch to using callback to get observatory data (working) 2015-11-11 07:25:44 -08:00
Jason Simmons
5da395c417 Rev sky_engine and sky_services 2015-11-10 15:03:49 -08:00
Adam Barth
150bbf6c7a Remove Dart packages which have moved to flutter.dart 2015-11-07 00:34:12 -08:00
Adam Barth
5c34626ee4 Clean up updater dependencies 2015-11-06 15:47:44 -08:00
Adam Barth
af2369fc78 Rev pub spec 2015-11-06 15:39:56 -08:00
Adam Barth
49f2d3aaad Rev pub packages 2015-11-06 15:38:35 -08:00
Adam Barth
a3fe423c6a Rev sky_services pub spec 2015-11-06 15:32:27 -08:00
Adam Barth
18e08d9a82 Rev sky_engine, sky_services, and mojo_sdk 2015-11-06 14:59:23 -08:00
Adam Barth
1ebe039354 Merge pull request #1999 from abarth/null_width_factor
Don't crash if no widthFactor is set in an unbounded context
2015-11-06 14:52:12 -08:00
Adam Barth
26af3ebe70 Merge pull request #1995 from abarth/startup_assert
We throw an exception if you tap the screen during load
2015-11-06 14:52:03 -08:00
Adam Barth
a383db1b17 Don't crash if no widthFactor is set in an unbounded context 2015-11-06 13:16:45 -08:00
Adam Barth
e29347395f We throw an exception if you tap the screen during load
Inside runApp, we were building the render tree for the app, but we weren't
calling layout, which meant we were running a hit test on a dirty tree. Now
hitTest specifically asserts that the tree is clean and we synchronously call
layout for your app during runApp.

Fixes #1960
2015-11-06 11:46:24 -08:00
Chinmay Garde
c7cd0cedad Publish service isolate dart files to sky_engine/sdk_ext 2015-11-06 11:33:09 -08:00
Adam Barth
be371098fd Merge pull request #1989 from abarth/fix_heroes
Heroes don't reverse any more
2015-11-06 10:59:39 -08:00
Adam Barth
875dafe88d Heroes don't reverse any more
We need to use the performance for the "from" route when going backwards. Also,
fix a bug in the HeroParty where it would call the quest finished callback
multiple times.

Fixes #1958
2015-11-06 10:53:46 -08:00
Hans Muller
2022c2d5de Merge pull request #1990 from HansMuller/bottom_sheet_placeholder
Adds showBottomSheet(), AlignTransition
2015-11-06 10:10:21 -08:00
Hans Muller
aca78db6ac Adds showBottomSheet(), AlignTransition 2015-11-06 09:52:01 -08:00
Adam Barth
24e5118ed6 Merge pull request #1986 from abarth/remove_scaffolding
Remove scaffolding for Navigator1 to Navigator2 transition
2015-11-06 08:13:16 -08:00
Ian Hickson
8213fd87d6 Merge pull request #1971 from Hixie/better-messages-for-MaterialApp
Better asserts for MaterialApp and Navigator
2015-11-05 21:35:33 -08:00
Adam Barth
4a5132bbd4 Remove scaffolding for Navigator1 to Navigator2 transition
These types belong at the MaterialApp level.

Fixes #1969
2015-11-05 21:05:30 -08:00
Adam Barth
05c1cb68a5 Merge pull request #1983 from Hixie/block-padding
Teach Block about padding.
2015-11-05 19:39:40 -08:00
Adam Barth
e86b3290a8 Factor DrawerController out of Drawer
This patch paves the path for refactoring the Drawer into the Scaffold to
support edge swipes and peeks.
2015-11-05 19:06:00 -08:00
Hixie
cb43463e3a Teach Block about padding.
It's common to want a scrolling viewport but with padding around the
contents. Teaching Block about this makes the places that do this
substantially simpler and further buries ScrollableViewport and
BlockBody (they're now only used in scrollable.dart).
2015-11-05 17:14:27 -08:00
Hans Muller
0de65b49e1 Replace Align shrinkWrap parameter with widthFactor and heightFactor 2015-11-05 16:45:05 -08:00
Hixie
386ba7e8d9 Make Draggable use gestures
Draggable is now itself a gesture arena member. This means it won't
conflict with other gesture recognisers in the same path.

This also allows variants of Draggable that are triggered by other
gestures.

Also, some cleanup of DoubleTapGestureRecognizer, GestureDetector, and
PrimaryPointerGestureRecognizer.

Also, make MultiTapGestureRecognizer support a timeout for longpress.

Also, make Draggable data be typed.

Also, hide warnings about constructor warnings for now. Analyzer doesn't
support them yet. (Have to do this on a per-line basis)

Directions for future research:
 - animating the avatar (enter/exit transitions)
 - interaction with the navigator (canceling a drag on page navigation, etc)
 - double-tap draggable
2015-11-05 15:16:59 -08:00
Hixie
505a2a1b6a Better asserts for MaterialApp and Navigator
- runApp(new MaterialApp()) was crashing long after the constructor. Now
  it asserts in a more useful location.
- remove the default name for NamedRouteSettings. It was unused anyway.
2015-11-05 15:14:21 -08:00
Matt Perry
592c631749 Merge pull request #1970 from mpcomplete/updater.urls
Fix updater. It was looking for the wrong files.
2015-11-05 18:03:11 -05:00
Matt Perry
f64f9fd0ef Fix updater. It was looking for the wrong files. 2015-11-05 17:56:50 -05:00
Adam Barth
fdb351b620 Add the ability to have translucent gesture detectors
A translucent gesture detector still listens for gestures but also lets the
content visually behind the detector receive events.
2015-11-05 12:47:39 -08:00
Hans Muller
4a17b92f1e Added LayoutId widget, MultiChildLayoutDelegate.isChild() 2015-11-04 16:58:21 -08:00
Adam Barth
5b92af7339 Improve hit testing
Now a RenderBox is considered hit if one of its children are hit or it itself
decides that it's hit. In particular, empty space inside a flex won't be hit
because none of the children are located there and a RenderFlex doesn't
consider itself hittable.

Fixes #53
Fixes #1221
2015-11-04 16:51:19 -08:00
Adam Barth
40681d1754 Use sky_tools 37 2015-11-04 14:50:07 -08:00
Adam Barth
34fc86affb Rev pub specs 2015-11-04 14:49:29 -08:00
Adam Barth
bc1953b810 Rev pub packages 2015-11-04 14:19:44 -08:00
Hans Muller
ef53c0bb40 Merge pull request #1952 from HansMuller/snack_bottom_fab
One Scaffold layout to rule them all

Expanded the existing CustomMultiChildLayout to handle all of the Scaffold's children.

This change also eliminates the FAB input dead-zone.
2015-11-04 14:00:30 -08:00
Hans Muller
f364ef7c14 One Scaffold layout to rule them all. 2015-11-04 13:52:15 -08:00