5016 Commits

Author SHA1 Message Date
Adam Barth
1146587cc7 Improve Scaffold.of docs (#7339)
The docs now include all the information contained in the exception.

Fixes #6994
2017-01-04 16:30:37 -08:00
Adam Barth
86e5fce61a Tooltip update can cause assert (#7338)
We were trying to update the tooltip overlay entry, but that cannot work
because the overlay entry might have already built. Instead, we keep the
old value.

Fixes #7151
2017-01-04 16:08:29 -08:00
Adam Barth
3176921d16 Add CupertinoSlider (#7336)
This widget matches the style of the iOS slider widget. We don't yet
have the proper visual design for the disabled state.
2017-01-04 16:08:19 -08:00
Adam Barth
96fa6c3ea4 IgnorePointer and AbsorbPointer should crossdoc each other. (#7337)
Fixes #7252
2017-01-04 15:09:10 -08:00
Adam Barth
9552de30ba Tweak visual appearance of CupertinoSwitch (#7328)
This patch makes the CupertinoSwitch follow the style of the iOS switch
more accurately.
2017-01-04 12:41:13 -08:00
Adam Barth
732a83d408 Add CupertinoSwitch (#7326)
This patch contains a first draft of an iOS-style switch. We'll likely need to
tweak the constants upon closer study, but the basics are here.
2017-01-03 22:11:35 -08:00
lequem
500981fe0f make dialog background color configurable (#7320) (#7323) 2017-01-03 15:02:06 -08:00
Michael 'afrolion' Perrotte
2bb93db2b7 fixed doc typo (#7270) 2017-01-02 21:35:06 -08:00
Hans Muller
d05c7f62f2 UserAccountsDrawerHeader gallery demo, etc (#7297) 2016-12-21 06:19:42 -08:00
Hans Muller
c9c577aeeb BoxDecoration should clip its backgroundImage if shape is BoxShape.circle (#7292) 2016-12-20 07:54:57 -08:00
Devon Carew
49ebb3e266 hide some options from flutter -h (#7288) 2016-12-19 15:21:06 -08:00
Luke
1b9939af95 Rename DestinationLabel on BottomNavigationBar (#7281)
* rename DestinationLabel and labels properties to BottomNavigationBarItem and items

* update/fix comments

* grammatical changes

* add myself to AUTHORS
2016-12-17 18:14:37 -08:00
Ian Hickson
3e3d21926b Curves.decelerate (#7284)
Port DecelerateInterpolator to Flutter.

Also, hide the Curve subclasses that you can't extend and that have no
statics and are generally not useful.
2016-12-16 15:30:41 -08:00
Matt Perry
6d4191e98c Forms provide more control over when they validate. (#7283)
Callers can manually validate by calling validate(), or tell the Form to
validate on every change by setting the `autovalidate` parameter.

Fixes https://github.com/flutter/flutter/issues/7219
2016-12-16 18:14:37 -05:00
Hans Muller
0d746ff155 AppBar Menu and action button center alignment (#7280) 2016-12-16 12:11:20 -08:00
Hans Muller
dbf1cfdbf0 Do not pad the Input/InputContainer icon (#7282) 2016-12-16 12:10:57 -08:00
John McCutchan
2546259a64 DependencyChecker with tests (#7268)
- [x] Introduce DependencyChecker which can determine if any dependencies have been modified.
- [x] Move the DartDependencyBuilder into a separate file.
- [x] Add unit tests for DartDependencyBuilder.
- [x] Add unit tets for DependencyChecker

Part of #7014
2016-12-15 15:05:15 -08:00
Ian Hickson
977a25f29c Listenable.merge (#7256)
Sometimes you have several listenables, but you want to hand them to an
API (e.g. CustomPainter) that only expects one.
2016-12-15 13:54:53 -08:00
Ian Hickson
971ca4b835 Check exit code for test subprocess (#7269) 2016-12-15 13:43:45 -08:00
Ian Hickson
502592e56c Revert "Use test fonts in the test shell and remove custom font installation on Travis." (#7265) 2016-12-15 11:01:39 -08:00
Matt Perry
bf289a2aea Animate size of label text over text fields. (#7241)
* Animate size of label text over text fields.

Also fade in the hintText so it doesn't pop in immediately as the label
text slides up.

Fixes https://github.com/flutter/flutter/issues/7217

* rm annotations

* test

* rename
2016-12-14 15:29:36 -05:00
Devon Carew
3759332890 update create template intellij metadata (#7255) 2016-12-14 03:42:55 -08:00
Jason Simmons
f2342a6141 Provide an empty asset manifest if the FLX does not contain any assets (#7243)
Without this, an FLX with no assets may be completely empty in AOT mode.
This will result in a warning when the engine's unzip library tries to
parse the FLX.

Fixes https://github.com/flutter/flutter/issues/7060
2016-12-13 13:43:28 -08:00
Jason Simmons
8782d95c6a Check the type of a hot reload report message (#7249)
See https://github.com/flutter/flutter/issues/7248
2016-12-13 13:43:19 -08:00
Chinmay Garde
3bc6a1bf6f Use test fonts in the test shell and remove custom font installation on Travis. (#7250) 2016-12-13 12:18:02 -08:00
YoungSeok Yoon
158ed8a0c0 Use the new path to the linter package (#7230) 2016-12-12 12:15:39 -08:00
Matt Perry
7d346dd184 Improve docs for Input and Form and friends. (#7208)
Fixes https://github.com/flutter/flutter/issues/7017
2016-12-12 14:24:45 -05:00
Matt Perry
5a864ded89 Always reserve space for error text in text fields. (#7206)
Fixes https://github.com/flutter/flutter/issues/6943
2016-12-12 14:24:36 -05:00
Yegor
25e6cc6743 tools: add timeout to VM service client (#7175) 2016-12-12 10:58:21 -08:00
John McCutchan
05866a27ed Add fine grained hot reload benchmark timers (#7237) 2016-12-12 10:27:05 -08:00
Devon Carew
bf25b31a65 some updates to the launch verbiage (#7236) 2016-12-12 09:31:58 -08:00
Yegor
2aead430a7 add GPU traces to timeline summary (#7190) 2016-12-09 16:15:31 -08:00
Alexandre Ardhuin
9eaaa91df7 use isEmpty and isNotEmpty (#7207) 2016-12-09 15:37:42 -08:00
Alexandre Ardhuin
778b30ac0b prefer_const_constructor in packages/flutter/bin (#7180) 2016-12-09 15:20:33 -08:00
Alexandre Ardhuin
c8447c91a9 prefer_const_constructor in packages/flutter/test (#7181) 2016-12-09 15:20:27 -08:00
Andrew Wilson
b0ee29d745 Fix _DragAvatar to display in the proper position for Overlays whose Point.origin is not the global Point.origin. (#7223) 2016-12-09 14:46:08 -08:00
Alexandre Ardhuin
1272e053c7 prefer_const_constructor in packages/flutter/lib (#7179) 2016-12-09 13:53:17 -08:00
Jason Simmons
37d78753a2 Propagate exceptions when parsing invalid JSON received from VM service RPCs (#7222)
The default rpc.Peer constructor was applying a transformer that filters
out these errors.

See https://github.com/flutter/flutter/issues/7174
2016-12-09 11:38:38 -08:00
Ian Hickson
4f2c6dffc7 Add annotations to the foundation Binding (#7214) 2016-12-08 23:34:09 -08:00
Todd Volkert
69bcfc082f Minor touch-ups in ProcessManager impls (#7196) 2016-12-08 09:51:05 -08:00
Todd Volkert
622e4396c9 Add tests for nested contexts (#7197)
This tests against the failure that was fixed in #7189
2016-12-08 09:39:32 -08:00
Todd Volkert
1155f96651 Add tests for process_manager.dart (#7178) 2016-12-07 21:03:58 -08:00
Todd Volkert
a4f2ad984d Fix context.dart to properly handle nested zones (#7189)
This fixes an infinite loop in the code that walks the parent
context chain looking for a variable.

This also includes a fix in build_info.dart whereby if the context
is set but the config is not yet set, we were trying to dereference
null.
2016-12-07 19:51:27 -08:00
Devon Carew
bec4a6c790 updates for flutter run --machine (#7183)
* have flutter run --machine log to stdout

* add a test

* add docs; fix type annotation lint
2016-12-07 12:48:47 -08:00
Collin Jackson
211fefc217 rename Sky to Flutter and add clarifying comment to template (#7165)
* s/sky/flutter/ in Android templates

* update engine.version with a compatible engine version

* replace more SkyActivity references with FlutterActivity
2016-12-06 16:03:32 -08:00
Dan Rubel
b265a8f5e4 setup protocol discovery before launching simulator (#7172) 2016-12-06 12:41:55 -08:00
Dan Rubel
cb6bfe39aa shorten exception info sent to analytics (#7169) 2016-12-06 12:16:49 -08:00
Hans Muller
f6cde06af3 Correct scrollable tabs fling velocity (#7170) 2016-12-06 10:48:45 -08:00
Todd Volkert
7536404b20 Add --replay-from argument to Flutter tools (#7146)
This argument will enable mocking of os-layer process invocations,
where the mock behavior will come from replaying a previously-
recorded set of invocations. At the point of process invocation,
the key metadata for the invocation will be looked up in the
recording's manifest, and iff a matching record exists in the
manifest, the process will be mocked out with data derived from
the corresponding recorded process (e.g. stdout, stderr, exit code).
2016-12-06 10:09:00 -08:00
Dan Rubel
93e662abaa Cleanup common port forwarding code (#7142)
This moves the various copies of port forwarding code in the Device subclasses into the ProtocolDiscovery class.

* move port forwarding to a common location
* throw exception if protocol Uri is not discovered or port forwarding fails
* cancel discovery protocol subscriptions on iOS launches (wasn't happening before)
* fix iOS port forwarding to match other implementations
* add tests
2016-12-06 09:19:12 -08:00