5596 Commits

Author SHA1 Message Date
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
Collin Jackson
ddab005e59 Merge pull request #2001 from collinjackson/roll_mojo
Roll mojo
2015-11-06 14:21:51 -08:00
Collin Jackson
07cd2bac4a Update to use new MojoNative API 2015-11-06 14:16:40 -08:00
Collin Jackson
16582f7252 applied patch mojo_converters_input_events.patch 2015-11-06 14:15:04 -08:00
Collin Jackson
0847bbc2d0 Update to mojo dd010e1297c09b351dc82f7def154cfa63d795b1 2015-11-06 14:15:04 -08:00
Collin Jackson
8f06f346ee Remove reference to directory that doesn't exist 2015-11-06 13:57:21 -08:00
Chinmay Garde
d8884142c2 Merge pull request #1998 from chinmaygarde/master
Only make Xcode run the snapshotter and packager if the project is updated between builds
2015-11-06 13:46:02 -08:00
Chinmay Garde
23258e33f7 Only make Xcode run the snapshotter and packager if the project is updated between builds 2015-11-06 12:45:06 -08:00
Chinmay Garde
a9ee8808be Merge pull request #1996 from chinmaygarde/master
Provide the location of dart:vmservice_sky to the precompilation snapshotter
2015-11-06 12:15:06 -08:00
Chinmay Garde
0a26a744ab Provide the location of dart:vmservice_sky to the precompilation snapshotter 2015-11-06 12:10:38 -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
5a2886e831 Merge pull request #1994 from chinmaygarde/master
Publish service isolate dart files to sky_engine/sdk_ext
2015-11-06 11:43:54 -08:00
Seth Ladd
9d2d256e7a Merge pull request #1992 from flutter/sethladd-patch-1
clarify flutter is early-stage
2015-11-06 11:42:58 -08:00
Seth Ladd
08e1089e03 fix typo 2015-11-06 11:42:23 -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
Seth Ladd
2ab50bf68c clarify flutter is early-stage 2015-11-06 10:26:03 -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
Ian Hickson
fae8df22b7 Update style-guide.md 2015-11-06 09:21:03 -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
Ian Hickson
c51665b9bb Merge pull request #1974 from Hixie/analyzer-skip-bogus-files
Exclude .# files from skyanalyzer
2015-11-05 21:35:24 -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
Chinmay Garde
88f8527152 Merge pull request #1985 from chinmaygarde/master
Dart isolate symbols are no longer in the blink namespace. Fix the snapshotter to account for the same.
2015-11-05 20:24:45 -08:00
Chinmay Garde
ed7b829678 Dart isolate symbols are no longer in the blink namespace. Fix the snapshotter to account for the same. 2015-11-05 20:01:22 -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
1a5b0b93d3 Merge pull request #1980 from abarth/drawer_refactor
Factor DrawerController out of Drawer
2015-11-05 19:20:01 -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
Chinmay Garde
5c9ee1c2d2 Merge pull request #1984 from chinmaygarde/master
Look for the FLX file in the application bundle before falling back to the runner bundle
2015-11-05 17:36:10 -08:00
Chinmay Garde
e1d51161f3 Look for the FLX file in the application bundle before falling back to the runner bundle 2015-11-05 17:27:54 -08:00
Chinmay Garde
643d9e5796 Merge pull request #1979 from floitschG/patch-1
Fix typo.
2015-11-05 17:17:46 -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
Chinmay Garde
a9867b0821 Merge pull request #1975 from chinmaygarde/master
Allow dynamic resolution of Dart isolate and instructions snapshot
2015-11-05 17:07:58 -08:00
Chinmay Garde
4a0ef22f30 Rename: DART_ALLOW_DYNAMIC_LOADING to DART_ALLOW_DYNAMIC_RESOLUTION 2015-11-05 16:54:44 -08:00
Hans Muller
7162463245 Merge pull request #1977 from HansMuller/align_size_factor
Replace Center and Align shrinkWrap parameter with widthFactor and heightFactor

Specifying widthFactor and/or heightFactor causes the Align's size to match the child's size scaled by the width and height factors.

The existing functionality is still available. For example `shrinkWrap: ShrinkWrap.width` is now `widthFactor: 1.0`.
2015-11-05 16:50:15 -08:00
Chinmay Garde
f5aae58dc3 Only attempt dynamic resolution of Dart VM assets on iOS and Mac 2015-11-05 16:47:49 -08:00
Hans Muller
0de65b49e1 Replace Align shrinkWrap parameter with widthFactor and heightFactor 2015-11-05 16:45:05 -08:00
Florian Loitsch
6d32ed5351 Fix typo. 2015-11-05 16:19:18 -08:00
Ian Hickson
58a2f586e7 Merge pull request #1976 from Hixie/gesture-tests
Add more Gesture Arena tests
2015-11-05 16:11:20 -08:00
Hixie
286977ca2f Add more Gesture Arena tests
...and clean them up so it's easier to understand them.
2015-11-05 15:58:53 -08:00
Chinmay Garde
eb4326331d Allow dynamic resolution of Dart isolate and instructions snapshot 2015-11-05 15:40:36 -08:00
Hixie
bda87cee68 Exclude .# files from skyanalyzer
Emacs uses these as lock files and skyanalyzer was often getting
confused trying to analyze them.
2015-11-05 15:36:09 -08:00
Jason Simmons
cc030ef888 Merge pull request #1965 from jason-simmons/idl_tracing
Convert Tracing to stop using the IDL-based bindings
2015-11-05 15:21:27 -08:00
Ian Hickson
e4fa891d25 Merge pull request #1967 from Hixie/draggable-gestures
Make Draggable use gestures
2015-11-05 15:19:31 -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
Chinmay Garde
aa1aff35d2 Merge pull request #1966 from chinmaygarde/master
GN rules for the precompilation SDK
2015-11-05 15:15:57 -08:00
Ian Hickson
6314972ce8 Merge pull request #1968 from Hixie/analyzer
skyanalyzer cleanup
2015-11-05 15:15:44 -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