5576 Commits

Author SHA1 Message Date
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
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
Hixie
aa725afaaf skyanalyzer cleanup
Remove skyanalyzer filters for strong-mode hints that are gone now anyway.
2015-11-05 14:44:09 -08:00
Chinmay Garde
1e98421ca1 GN rules for the precompilation SDK 2015-11-05 12:57:36 -08:00
Adam Barth
3885c3ebb6 Merge pull request #1964 from abarth/gesture_behavior
Add the ability to have translucent gesture detectors
2015-11-05 12:53:06 -08: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
Jason Simmons
28511cee5a Convert Tracing to stop using the IDL-based bindings 2015-11-05 12:43:31 -08:00
Chinmay Garde
82cbbef945 Merge pull request #1962 from chinmaygarde/master
Disable Dart profiling on iOS and MacOS
2015-11-05 12:30:21 -08:00
Chinmay Garde
8fd1ce7738 Disable Dart profiling on iOS and MacOS 2015-11-05 12:25:13 -08:00
Chinmay Garde
9241ef1952 Merge pull request #1961 from chinmaygarde/master
Xcode harness for iOS precompilation SDK
2015-11-05 11:15:19 -08:00
Chinmay Garde
00016504b7 Merge pull request #1954 from chinmaygarde/master
Snapshotter and FLX packager invocation scripts used by Xcode for precompilation in a standalone SDK
2015-11-05 10:52:53 -08:00
Jason Simmons
704cbb68b6 Merge pull request #1953 from jason-simmons/canvas_paint_simple_marshal
Improve performance of marshaling simple Paint objects to native code
2015-11-05 10:36:31 -08:00
krisgiesing
f210b94996 Merge pull request #1951 from flutter/krisgiesing-docs-edit
Update CONTRIBUTING.md
2015-11-04 18:23:45 -08:00
Hans Muller
dd88795b63 Merge pull request #1956 from HansMuller/custom_layout_child_id
Added LayoutId widget, MultiChildLayoutDelegate.isChild()
2015-11-04 17:07:08 -08:00
Hans Muller
4a17b92f1e Added LayoutId widget, MultiChildLayoutDelegate.isChild() 2015-11-04 16:58:21 -08:00
Adam Barth
fadd65d4af Merge pull request #1955 from abarth/fix_test_testing
Improve hit testing
2015-11-04 16:55:19 -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
816101eb5d Fix crash in script 2015-11-04 14:51:08 -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