2947 Commits

Author SHA1 Message Date
Adam Barth
f11bb25b8f SemanticsDebugger should use SemanticsNodes directly (#6252)
Instead of reading the mojom serialization and re-inflating it, the
SemanticsDebugger now shows the SemanticsNode objects directly.
2016-10-07 19:57:55 -07:00
Jason Simmons
bed0300b2a Wrap input widgets in a repaint boundary (#6248)
Performance improvement for https://github.com/flutter/flutter/issues/6008
2016-10-07 13:41:59 -07:00
Adam Barth
2c21d795a4 Deploy @checked (#6244)
This patch adds `@checked` everywhere is needed to remove the
`strong_mode_invalid_method_override` strong mode error.
2016-10-07 11:27:54 -07:00
Devon Carew
4c8b7b5d44 commit intellij project metadata (#6232)
* commit intellij project metadata

* move metadata to the top level

* delete dev/intellij
2016-10-06 17:43:52 -07:00
Adam Barth
d65cda2379 Switch the model for SemanticsNode to use dart:ui types (#6234)
This will make it easier to switch to SemanticsUpdateBuilder.
2016-10-06 11:29:41 -07:00
Adam Barth
41a91a7a68 Use "SemanticsFoo" consistently instead of "SemanticFoo" (#6233)
This change might make our grammar less perfect, but it will increase our
sanity.
2016-10-06 10:52:46 -07:00
Jason Simmons
90504b122c Adjust the IconButton constraint to match its size (#6226)
Fixes https://github.com/flutter/flutter/issues/5763
2016-10-06 10:13:53 -07:00
Matt Perry
2fd78dcc53 Add multiline support to Input and friends. (#6155)
Fixes https://github.com/flutter/flutter/issues/6154
2016-10-05 15:46:48 -04:00
Adam Barth
73ff419890 Let MaterialApp override the initial route (#6216)
Fixes #6215
2016-10-05 11:13:28 -07:00
Phil Quitslund
e44f6fe478 Bump Dart SDK to 1.20.0-dev.10.0. (#6212)
* Bump Dart SDK to `1.20.0-dev.10.0`.

`1.20.0-dev.10.0` corresponds to `1.20-RC0`.

* pubspec.lock cleanup

* check for pubspec.lock existence

* cleaned up conditional remove
2016-10-05 09:05:15 -07:00
Hans Muller
e2ff169d5b Have the scale gesture callback uses details objects (#6204) 2016-10-04 12:44:36 -07:00
Chris Bracken
38533ac8b7 Add icon update tool (#6201) 2016-10-04 09:52:14 -07:00
Adam Barth
67f97b455d Remove ChildView widget (#6195)
This widget now lives in Mozart:

https://fuchsia.googlesource.com/mozart/+/master/lib/flutter/child_view.dart
2016-10-03 23:35:43 -07:00
Adam Barth
8071a82d51 Isolate Mozart dependencies (#6194)
This patch removes the Mozart dependencies from object.dart and
layer.dart, which will make it easier for us to move the Mozart
dependencies purely into the Fuchsia tree.
2016-10-03 22:46:12 -07:00
Hans Muller
596637ade4 Added scale-to-zoom gesture support to the Gallery grid demo (#6185) 2016-10-03 16:08:15 -07:00
Chris Bracken
57d6cc4299 Use platform-specific back icon in Scaffold (#6182) 2016-10-03 15:34:15 -07:00
Adam Barth
8ec4f22941 Add landscape time picker (#6173)
Fixes #988
2016-10-03 12:00:49 -07:00
Jason Simmons
21acf22301 Use the engine's TextOverflow API to implement ellipsizing (#6104)
Fixes https://github.com/flutter/flutter/issues/4478
2016-10-03 10:02:30 -07:00
Chris Bracken
88d9cbaa01 Update to new Material Icons font (#6170) 2016-10-03 09:39:01 -07:00
Dragoș Tiselice
42f773c327 Fixed DragTarget calling setState after dispose. (#6150)
DragTarget would call setState after it was disposed in didLeave
and didDrop. Fixes #6128.
2016-09-30 13:42:26 -07:00
Adam Barth
3b952d8456 Update engine (#6146) 2016-09-29 22:47:20 -07:00
Adam Barth
c9eda86b0e Switch to PointerData API (#6131)
Now dart:ui does the decoding of the pointer data itself, which means we don't
need to do it in the framework.
2016-09-29 21:25:20 -07:00
Adam Barth
2a530f78d4 Update engine.version (#6144) 2016-09-29 18:16:11 -07:00
Hans Muller
6a1ac731d8 PopupMenuButton menus inherit the button theme (#6132) 2016-09-29 15:34:12 -07:00
Adam Barth
036f7ef59d Add support for landscape date pickers
Fixes #5141
2016-09-29 08:59:22 -07:00
Adam Barth
a3b06f31da Switch date picker to using a custom Dialog
Rather than removing all the padding from an AlertDialog, we now just use
Dialog directly for the date picker.
2016-09-29 08:59:22 -07:00
qchong
7f9c8c4b3e docs: Updates to API docs based on usability study feedback. (#6126) 2016-09-28 13:09:38 -07:00
Adam Barth
6469872abd Rename Container.align to alignment (#6116)
To match the Align widget (and several other widgets).

Fixes #6101
2016-09-28 11:17:04 -07:00
Adam Barth
c621ec82a0 Rename Interval.start to begin (#6115)
For consistency with Tween.

Fixes #5169
2016-09-28 10:30:50 -07:00
Ian Hickson
e01592a0c0 Fix globalToLocal and update spinning_mixed (#6035)
* globalToLocal was just broken when there was a rotation and a
  translation at the same time. This fixes that and adds a test.

* update graphic used by spinning_mixed since the old one went 404.

* simplify some of the code in the demo.

* fix MatrixUtils.transformPoint to be consistent with how we transform
  points elsewhere.

* stop transforming points elsewhere, just use
  MatrixUtils.transformPoint.

* make the Widget binding handle not having a root element.

* make the spinning_mixed demo update its widget tree.
2016-09-28 01:06:32 -07:00
Adam Barth
23b4318e1a Revert "Roll the engine (#6099)"
This version of the engine crashes on startup.

This reverts commit a426b6b3c8df5cdd9c0105d8361ce3ce36864d60.
2016-09-27 16:12:16 -07:00
Adam Barth
dc4a1638ee Specialize AlertDialog and SimpleDialog (#6098)
We were trying to cram too much functionality in to the Dialog widget. Now we
have AlertDialog and SimpleDialog to cover to two different kinds of dialogs in
the spec.
2016-09-27 15:44:11 -07:00
Matt Perry
f6da3b2a95 Add a Submit button to text fields demo. (#6102)
Fixes https://github.com/flutter/flutter/issues/6056
2016-09-27 17:11:22 -04:00
Jason Simmons
a426b6b3c8 Roll the engine (#6099) 2016-09-27 13:01:57 -07:00
Adam Barth
0734edbeb0 Dialogs shouldn't scroll their headers or buttons (#6082)
Rather than scrolling the entire contents of the dialog, we should instead
scroll only the part between the title and the button bar.

Also, polish up the padding in the simple dialog demo.

Fixes #6057
2016-09-27 09:20:33 -07:00
Adam Barth
4c5084cbd2 Update clip geometry during hitTest if needed (#6091)
The code previously assumed that paint would be called before hitTest, but that
assumption isn't valid because RenderOpacity hit tests its children without
painting them.

Fixes #6089
2016-09-27 09:17:18 -07:00
Adam Barth
55f48f72c9 Persistent bottom sheet should not overlap app bar (#6076)
The spec forbids persistent bottom sheets from overlapping the app bar. There
are also some fancy scroll-linked effects that we're supposed to do with
persistent bottom sheets, but those will need to wait for another patch.

Fixes #5143
2016-09-26 14:02:01 -07:00
David Yang
d5b3588578 Adding Reference to Text Input guide in Input API Documentation (#6075)
* Adding reference to Flutter-website Text Input guide in API docs for Input

* Grammar

* PR fixes
2016-09-26 13:00:54 -07:00
Adam Barth
8c048ec944 Polish SnackBar padding (#6071)
Previously, we were getting double padding: both inside and outside the button.
This patch moves all the padding inside the button so that the whole region is
hittable and the text is positioned correctly.

Fixes #6059
2016-09-26 12:01:23 -07:00
Ian Hickson
bc9b32b99f More docs for TickerProvider in AnimationController (#6073) 2016-09-26 12:00:36 -07:00
Ian Hickson
9e673853e5 Turn off AnimationControllers when not in use (#5902)
This requires all AnimationController objects to be given a
TickerProvider, a class that can create the Ticker.

It also provides some nice mixins for people who want to have their
State provide a TickerProvider. And a schedulerTickerProvider for those
cases where you just want to see your battery burn.

Also, we now enforce destruction order for elements.
2016-09-26 10:57:10 -07:00
Ian Hickson
78c74116a9 LayoutBuilder + GlobalKey + setState assert (#6068)
This silences an assertion that fired when reparenting a widget with a
global key inside a LayoutBuilder callback when that callback also
happened to call setState (directly or indirectly) on that widget.

Normally such setStates are considered ok since we know we haven't
cleaned that subtree yet, but we were not correctly handling the case
where the list needed resorting in that situation.
2016-09-26 10:27:53 -07:00
Adam Barth
c27b03b823 Add FittedBox (#6029)
This widget lets you apply an ImageFit to a child widget.

Fixes #5830
2016-09-23 17:40:16 -07:00
Ian Hickson
12054e33b7 Clean up some of the fn3 debugging logic. (#6024)
The debugging logic was lagging behind the recent actual logic changes,
especially around buildScope.
2016-09-23 17:00:12 -07:00
Adam Barth
c1a2967430 Use SDK sources to refer to our own packages (#6001)
Switch our pubspec.yamls to using SDK sources so that we can have consistent
source types when we depend on these packages from external packages using SDK
sources.
2016-09-22 20:39:35 -07:00
Dragoș Tiselice
2dc26ba986 Changed BottomNavigationBar to handle dark theme. (#6006)
Changed the fixed type to better support the dark theme.
2016-09-22 15:03:34 -07:00
Ian Hickson
6a5e658131 Make sure to rebuild widgets even when they move (#5975)
Previously in some rather esoteric cases involving global keys reversing
relative positions we would forget to build everyone.
2016-09-22 14:44:57 -07:00
Ian Hickson
7b247d2ce1 Minor improvements to hero docs (#5998) 2016-09-22 14:26:14 -07:00
Dragoș Tiselice
d35a8c49fd Changed BottomNavigationBar background. (#6005)
When switching from shifting to fixed, the BottomNavigationBar no
longer displays the old color of the background.
2016-09-22 13:50:50 -07:00
Dragoș Tiselice
3a6530d5a4 Added bottom navigation. (#5877) 2016-09-22 12:45:10 -07:00