5564 Commits

Author SHA1 Message Date
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
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
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
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
Adam Barth
558a25b6f3 Add FLX to the release train 2015-11-04 14:47:40 -08:00
Chinmay Garde
a42cc42687 Xcode harness for iOS precompilation SDK 2015-11-04 14:46:28 -08:00
Chinmay Garde
4e9ef8ae84 Snapshotter and FLX packager invocation scripts used by Xcode for precompilation in a standalone SDK 2015-11-04 14:41:28 -08:00
Jason Simmons
4f94048f10 Improve performance of marshaling simple Paint objects to native code
Paint is an argument on most methods of Canvas, and in many uses the Paint
contains only a color.  In this case, return the Paint's value to native code
as an int instead of constructing a list of attributes.

This improved run time on a drawRect benchmark by 35%.
2015-11-04 14:33:45 -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
Matt Perry
5df14df659 Merge pull request #1949 from mpcomplete/async
Remove use of FakeAsync in signing_test.dart
2015-11-04 16:57:55 -05:00
Hans Muller
f364ef7c14 One Scaffold layout to rule them all. 2015-11-04 13:52:15 -08:00
krisgiesing
fa46dda873 Update CONTRIBUTING.md 2015-11-04 13:36:44 -08:00
Ian Hickson
bdefd18f03 Merge pull request #1950 from Hixie/gesture-cleanup
Gesture class hierarchy tune-up
2015-11-04 13:19:10 -08:00
Hixie
bd0e1f1954 Gesture class hierarchy tune-up
Make all the *GestureRecognizer classes inherit from a class called
GestureRecognizer. Give the old GestureRecognizer a name that is more
precise about its purpose. Remove the members of GestureArenaMember that
aren't used by GestureArenas.
2015-11-04 13:18:11 -08:00
Matt Perry
f49f7e806d Remove use of FakeAsync in signing_test.dart 2015-11-04 16:13:10 -05:00