2992 Commits

Author SHA1 Message Date
Hans Muller
156645b473 Widen the dropdown menu item InkWells 2015-11-04 08:54:40 -08:00
Adam Barth
ff8e406167 Merge pull request #1912 from aghassemi/master
Adding RawImage component
2015-11-04 08:45:30 -08:00
Ali Ghassemi
1dce2c8591 Updating styles 2015-11-04 08:17:59 -08:00
Adam Barth
c44dd17d47 Always reset parentData when dropping children
Previously, we'd leave the old values in the parent data if the types matches,
but not all render objects would reset these values during layout. For example,
RenderProxyBox doesn't set the position field because it doesn't read the
position field. However, leaving the old data there violates the invariants of
the box protocol and can cause trouble (e.g., localToGlobal giving the wrong
result).

Fixes #1939
2015-11-04 08:02:05 -08:00
Hixie
7925e060b9 Fix double tap constants, add a doubletap test
Document the Gesture Detector constants.

Remove kEdgeSlop since it's obsolete on Android.

Add a test that verifies that when the first tap is canceled, the second
tap can become the first tap of a subsequent two-tap sequence.
2015-11-03 16:53:08 -08:00
Collin Jackson
055b642663 Merge pull request #1938 from collinjackson/http
Bare bones Mojo reimplementation of Dart’s http package
2015-11-03 16:35:50 -08:00
Collin Jackson
3536899938 Bare bones Mojo reimplementation of Dart’s http package 2015-11-03 16:27:20 -08:00
Hans Muller
218bbdc112 Merge pull request #1907 from HansMuller/toolbar_bottom
Add support for "extended height" toolbars - ToolBar bottom

Added a Widget-valued bottom ToolBar property. If set the bottom widget appears below the normal toolbar.

Removed the kToolBarHeight hardwiring from Scaffold.

Updated the "swipe away" demo to use an extended height toolbar.
2015-11-03 16:10:07 -08:00
Adam Barth
4521fd2461 Rev sky_engine and sky_services 2015-11-03 15:43:18 -08:00
Adam Barth
78ba7d9281 Merge pull request #1934 from abarth/stocks_list
Stocks list doesn't update when stocks are loaded
2015-11-03 14:28:23 -08:00
Adam Barth
78d35391ce Stocks list doesn't update when stocks are loaded
Previously, we passed widgets up the hierarchy to display them in the overlay,
but that breaks the change propagation logic because those widgets won't get
rebuilt.  Now we pass WidgetBuilders instead, which can be rebuilt when the
overlay rebuilds.

Fixes #1913
2015-11-03 14:27:54 -08:00
Hans Muller
56ccfc4e74 ToolBar withSizeOffsets() is now withPadding() 2015-11-03 14:27:34 -08:00
Hans Muller
24d2e69108 Scaffold toolBar is-a ToolBar 2015-11-03 14:16:45 -08:00
Hans Muller
fe3aee88c7 added ToolBar.withSizeOffsets() 2015-11-03 14:16:45 -08:00
Hans Muller
6f22661543 Extended height toolbar 2015-11-03 14:16:45 -08:00
Hixie
98c0282f21 Move multitap out of tap.dart
Tap and the othes classes in tap.dart are not really related.
2015-11-03 13:50:26 -08:00
Hixie
04ee7133b7 Minor cleanup in tap.dart 2015-11-03 13:44:53 -08:00
Jason Simmons
c5a966c5d6 Merge pull request #1908 from jason-simmons/canvas_rrect_marshal_2
Make RRect immutable and replace RRect.setRectXY with a fromRectXY co…
2015-11-03 13:33:20 -08:00
Hans Muller
827af771b6 Merge pull request #1922 from HansMuller/justifycontent_collapse
Adds FlexJustifyContent.collapse
2015-11-03 11:29:08 -08:00
Hans Muller
a052842360 Adds FlexJustifyContent.collapse 2015-11-03 11:01:38 -08:00
Hans Muller
766eda6bf6 Restored BottomSheet dismiss tap 2015-11-03 09:34:28 -08:00
Ali Ghassemi
46f5d57a1e Exporting Uint8List 2015-11-03 09:29:13 -08:00
Ali Ghassemi
f07c39a2e8 Adding RawImage component which takes in raw bytes
in the form of a Uint8List and decodes and renders
the bytes as an image.
2015-11-03 09:04:40 -08:00
Ian Hickson
a0c8a4c61e Merge pull request #1911 from Hixie/so-long-show-press
Replace ShowPress with TapDown
2015-11-02 20:26:22 -08:00
Ian Hickson
6611bf625e Merge pull request #1910 from Hixie/gesture-cleanup
Merge DisposableArenaMember and GestureArenaMember
2015-11-02 20:26:15 -08:00
krisgiesing
33f13940c5 Merge pull request #1865 from krisgiesing/velocity-dart
Move velocity tracker to dart
2015-11-02 19:34:20 -08:00
Kris Giesing
5e9b2fbacf Style pass on velocity tracker and event recorder 2015-11-02 19:29:25 -08:00
Hixie
8a4a36d0fa Replace ShowPress with TapDown 2015-11-02 19:10:33 -08:00
Hixie
bfe3bacac2 Merge DisposableArenaMember and GestureArenaMember
Turns out there were no uses of GestureArenaMember other than those that
use DisposableArenaMember.
2015-11-02 18:06:29 -08:00
Jason Simmons
bf74bac537 Make RRect immutable and replace RRect.setRectXY with a fromRectXY constructor 2015-11-02 16:38:37 -08:00
Hans Muller
5ea50bf485 Adds CustomMultiChildLayout
CustomMultiChildLayout delegates to a MultiChildLayoutDelegate. Widget children are specified by their index in the list of children.
2015-11-02 14:06:00 -08:00
Adam Barth
f8d5ccbf04 One more rev of sky tools 2015-11-02 13:29:28 -08:00
Adam Barth
e971f32648 Rev pubspecs 2015-11-02 13:19:55 -08:00
Adam Barth
fc8d9f30fc Merge pull request #1898 from abarth/interactive_routes
Routes shouldn't be interactive when animating out
2015-11-02 13:09:39 -08:00
Adam Barth
eaf5e05825 Export overlay.dart
Somehow we missed this one file.
2015-11-02 12:59:15 -08:00
Adam Barth
828775e97e Routes shouldn't be interactive when animating out
This patch introduces the notion of a ModalRoute that puts up a modal barrier
and makes the route invisible to hit testing when its animating out. This patch
also uses this mechanism in a number of places (including PageRoute). There are
still a few more cases to convert, but that's work for a future patch.

Fixes #1684
2015-11-02 12:48:11 -08:00
Hixie
b5493121f9 Up the sky_tools dependency.
Move us to a version of sky_tools that doesn't hang when the tests crash.
2015-11-02 11:53:10 -08:00
Kris Giesing
24ea0f0d14 Move velocity tracker to dart 2015-11-02 11:14:17 -08:00
Adam Barth
74d6f33f5a Rename Icon's type paramter to icon
The name of the parameter wasn't consistent with IconButton or DrawerItem, etc.

Fixes #1871
2015-11-01 11:25:17 -08:00
Adam Barth
6ee6ae03c9 Black flash when returning to a PageRoute
We were trying to do a hero animation from a page to itself, which doesn't make
any sense. Now we only render the "to" page offstage if it is different from
the "from" page and if its performance isn't already complete.
2015-10-31 15:36:32 -07:00
Adam Barth
ff1b131814 Teach OverlayEntry how to rebuild in place
This patch makes it so drag-and-drop doesn't thrash the overlay list.
2015-10-29 23:34:05 -07:00
Adam Barth
05f19cfd44 Merge pull request #1881 from abarth/navigator2
Switch to Navigator2
2015-10-29 23:29:20 -07:00
Adam Barth
50a177b7aa Switch to Navigator2 2015-10-29 23:18:56 -07:00
Adam Barth
a7cd12fc19 Remove a number of unused Python scripts
Removes sky_tool and shelldb, which are replaced by the flutter command line
tool.
2015-10-29 20:59:28 -07:00
Adam Barth
b003fc898d Merge pull request #1875 from abarth/page_storage
Add PageStorage support to Navigator2
2015-10-29 18:03:34 -07:00
Adam Barth
4877c06149 Add PageStorage support to Navigator2 2015-10-29 16:24:45 -07:00
Hixie
fca9b8f3d6 Rev package versions for release.
sky_engine is now at 0.0.45
sky_services is now at 0.0.45
flx is now at 0.0.4
flutter is now at 0.0.15
flutter_sprites is now at 0.0.12
2015-10-29 14:41:56 -07:00
Adam Barth
e904ab5773 Add missing import 2015-10-29 13:42:57 -07:00
Adam Barth
9548634bc2 Merge pull request #1866 from abarth/route_types
Add support for modal, ephemeral, and contentless routes to Navigator2
2015-10-29 13:42:20 -07:00
Adam Barth
395184f77f Add hero transition support to Navigator2
In this approach, the hero support is layered on top of the basic navigator
functionality.
2015-10-29 13:29:24 -07:00