4628 Commits

Author SHA1 Message Date
Chris Bracken
38533ac8b7 Add icon update tool (#6201) 2016-10-04 09:52:14 -07:00
Dan Rubel
9f673ad445 flutter analyze --watch (#6093) 2016-10-04 08:20:24 -04: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
Dan Rubel
8b164d7c46 improve "no device connected" message after "flutter run" (#6179) 2016-10-03 22:19:58 -04:00
P.Y. Laligand
522f607b05 Allow an output file header to be specified when building for Fuchsia. (#6181) 2016-10-03 17:36:15 -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
Hans Muller
b329894b4d Added byTooltip() to CommonFinders (#6178) 2016-10-03 12:52:06 -07:00
Jason Simmons
4d8f4f421a Screenshot API for flutter driver (#6175) 2016-10-03 12:26:30 -07:00
Adam Barth
8ec4f22941 Add landscape time picker (#6173)
Fixes #988
2016-10-03 12:00:49 -07:00
Hans Muller
66127250c9 Fix Gallery example code display initialization (#6176) 2016-10-03 12:00:01 -07:00
Jason Simmons
35de41d648 Require the diagnotic-port flag on the flutter skia command (#6174)
The diagnostic port forward can be arbitrarily assigned and typically
is not the default

Fixes https://github.com/flutter/flutter/issues/5867
2016-10-03 11:24:18 -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
Dan Rubel
08d788099b Prevent "install XCode" dialog when flutter doctor is run (#6164)
fixes https://github.com/flutter/flutter/issues/6163
2016-10-02 12:23:03 -04:00
P.Y. Laligand
b4e379ad6c Goodbye "build mojo", we hardly knew ye. (#6162) 2016-10-01 08:50:04 -07:00
P.Y. Laligand
928d49dc27 Dedicated executable to build flx files for Fuchsia. (#6159) 2016-09-30 18:12:27 -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
Ian Hickson
dd34b28f7d Upgrade web_socket_channel dependency. (#6153)
Turns out the lowest version allowed here isn't compatible with
flutter_tools' usage of this package.
2016-09-30 12:50:05 -07:00
P.Y. Laligand
030b110f69 New "build mojo" command to build flx files for Fuchsia. (#6112) 2016-09-30 10:23:33 -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
Devon Carew
d3d9e1cadb use less granular progress (#6130)
* use less granular progress

* update restart text
2016-09-29 15:02:17 -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
John McCutchan
8da84b1c2d Make flutter tools crash log writing fail gracefully (#6122) 2016-09-28 12:44:18 -07:00
Devon Carew
d9bbd2fb53 make app ids more unique (#6113)
* make app ids more unique

* in-line the uuid class
2016-09-28 11:18:05 -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
Chris Bracken
e6ed26d658 Doctor check for libimobiledevice/Xcode compatibility (#6111)
libimobiledevice 1.2.0 is incompatible with Xcode >= 8.0. Since the
libimobiledevice tools don't include a --version flag, check for valid
exit code on running idevicename, if an iOS device is connected.
2016-09-28 10:01:07 -07:00
John McCutchan
ca8070f904 Fix flutter run --use-application-binary (#6106)
When using --use-application-binary:

- [x] Stop flutter run from checking for a pubspec.yaml in current directory
- [x] Stop flutter run from invoking pub get
- [x] Set 'shouldBuild' based on --use-application-binary
- [x] Stop requiring 'lib/main.dart' to be present before running.
- [x] Stop building an FLX when launching on Android
2016-09-28 08:46:16 -07:00
Devon Carew
cf794f42ef return info about whether a device is an emulator (#6114) 2016-09-28 01:10:40 -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
Devon Carew
7238d93e13 fix devices test; print on test failure (#6039)
* fix devices test; print on test failure

* mock out a call to Doctor
2016-09-26 21:28:16 -07:00
Devon Carew
f7d501024c share a common default for enabling hot reload (#6081) 2016-09-26 19:02:04 -07:00
Chris Bracken
c5567a5fd2 Fix race condition locating observatory port on iOS (#6090)
Ensure that we're monitoring logs before we launch the app on the
device. This prevents the case where we start monitoring after the ports
have already been logged.

Also update the regex to use an optional capture group.
2016-09-26 17:12:20 -07:00
Chris Bracken
c2386fb725 Update iOS template to Xcode 8 recommended settings 2016-09-26 15:04:07 -07:00
Chris Bracken
a45e4e923c Support Xcode variable substitution in Info.plist
As of Xcode 7, Apple recommends setting CFBundleIdentifier to
$(PRODUCT_BUNDLE_IDENTIFIER).
2016-09-26 15:04:07 -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