Commit Graph

4284 Commits

Author SHA1 Message Date
Hans Muller
dc85f0bbff Ease tab swipe transitions (#5111) 2016-07-28 10:59:36 -07:00
Ian Hickson
8c8409d6e4 Remove unnecessary import. (#5110)
This slipped in with an earlier commit.
2016-07-28 09:39:49 -07:00
Ian Hickson
0a11c5b0fc Rationalise error handling at the network layer (#5100) 2016-07-28 09:22:55 -07:00
Ian Hickson
2b343a932f Some cleanup for hot reload (#5108)
- show the next error fully after a hot reload
- hide _AssertionError in stacks
- immediately rebuild after a reassemble, so that hit tests work
- catch errors when notifying global key listeners
2016-07-28 08:54:58 -07:00
Ian Hickson
db8ff48dd4 Omit the package names from the license text. (#5102)
This was a minor typo in the original code. It makes the license display
slightly cleaner.
2016-07-27 14:28:53 -07:00
Adam Barth
8219ab61ab Don't rebuild routes on the second animation frame (#5097)
Previously we would rebuild every route on the second animation frame to
rejigger the offstage bit and the animations. Now we build the page once and
update the offstage bit in place and update the animations using
ProxyAnimations.
2016-07-27 13:49:30 -07:00
John McCutchan
b6644733c9 Support for synchronizing assets onto a DevFS 2016-07-27 13:28:17 -07:00
Phil Quitslund
1fe118fe20 Merge pull request #5076 from pq/dart_1.19.0-dev.0.0
Update Dart (1.19.0-dev.0.0) and analyzer (0.27.4-alpha.19).
2016-07-27 13:04:54 -07:00
Seth Ladd
78126b5565 update playfair readme (#5091) 2016-07-27 12:43:56 -07:00
Adam Barth
c27a9e8292 Add offstage attribute to OffStage (#5059)
Also, add a few more debugging flags.
2016-07-27 12:26:07 -07:00
pq
72de70250b Merge branch 'dart_1.19.0-dev.0.0' of github.com:pq/flutter into dart_1.19.0-dev.0.0 2016-07-27 11:16:46 -07:00
pq
13c3f9d946 Update Dart (1.19.0-dev.0.0) and analyzer (0.27.4-alpha.19). 2016-07-27 10:44:44 -07:00
pq
4bbf72a0c8 Update Dart (1.19.0-dev.0.0) and analyzer (0.27.4-alpha.19). 2016-07-27 10:02:54 -07:00
Ian Hickson
1097d92a8b Fix DatePicker (#5061)
Fundamentally the core problem was that we were not saying how wide a
date picker should be. It should be 330 pixels, if I'm measuring the
spec's mocks correctly.
2016-07-27 08:57:56 -07:00
Ian Hickson
edc548adf8 Update the license mechanism to show package names (#5051) 2016-07-26 13:09:47 -07:00
Hans Muller
a555ee4771 TimePicker layout tweaks (#5047) 2016-07-26 12:50:40 -07:00
Jason Simmons
3b577c537c Clear the pointer absorbing flag after temporarily setting it while popping a route (#5036)
Fixes https://github.com/flutter/flutter/issues/4910
2016-07-26 11:13:34 -07:00
Hans Muller
4c3018f725 A tap is not a scroll (#5038) 2016-07-26 09:55:43 -07:00
Adam Barth
b30959d748 Center AppBar title on iOS (#5039)
This patch adapts the AppBar to feel more like iOS by centering the title.

Fixes #4962
2016-07-25 18:40:59 -07:00
Adam Barth
0f68a2bac2 Be more explicit about the default TargetPlatform (#5034) 2016-07-25 17:05:41 -07:00
Adam Barth
e4e6b01afa Adapt FlexibleSpaceBar to iOS (#5037)
We should center the title of flexible space bars on iOS.

Related to #4962
2016-07-25 17:05:29 -07:00
Devon Carew
d3cc554828 Flutter run target 2 (#5035)
* This reverts commit 5e7e7b6ea7.

* default to lib/main.dart
2016-07-25 14:56:12 -07:00
Matt Perry
07ba37976c Fix bug where text input would remain underlined upon losing focused. (#5027)
BUG=https://github.com/flutter/flutter/issues/4904
2016-07-25 17:26:09 -04:00
Devon Carew
5e7e7b6ea7 Revert "make the flutter run -t target option optional (#5029)" (#5032)
This reverts commit 32ad81c89a.
2016-07-25 14:05:27 -07:00
Devon Carew
32ad81c89a make the flutter run -t target option optional (#5029) 2016-07-25 13:42:42 -07:00
Adam Barth
5717cd54e0 Add a platform field to Theme (#5024)
We'll use this field to adapt material widgets to iOS.
2016-07-25 12:58:13 -07:00
YoungSeok Yoon
486b783076 Fix the documentation for find.byElementPredicate (#4935) 2016-07-25 12:23:00 -07:00
Adam Barth
ae80d43364 Don't animate fab in a new scaffold (#5015)
If the scaffold is new and has a floating action button, we skip the entrance
animation for the fab.

Fixes #4445
2016-07-22 15:53:08 -07:00
Adam Barth
39e759212f Improve compositing strategy for Shrine (#5014)
This patch includes a number of improvements:

 * Material page routes now put a repaint boundary inside their transition so
   they don't repaint during the transition.
 * Heroes that are on a quest now get a repaint boundary so we repaint them
   individually.
 * I've hoisted the transparent material for the product items up in the widget
   tree, which doesn't affect performance but makes the ink splashes reach the
   edge of the product cards.
 * I've changed the repaint rainbow visualization to make it easier to see
   what's going on.
2016-07-22 14:09:48 -07:00
Adam Barth
1a292ff66a Hint that painting shadows are complex (#5000)
Previously, we considered them one operation in the compositor, which didn't
trigger caching. Now we have a way to explicitly hint that the compositor
should cache a layer.
2016-07-22 13:42:16 -07:00
John McCutchan
3871b0eb2a Merge pull request #4998 from johnmccutchan/hot_catch_reload_failures
Fix hot reload failure handling
2016-07-22 11:12:54 -07:00
John McCutchan
f6de2fbf2f Fix hot reload failure handling 2016-07-22 09:51:59 -07:00
Hans Muller
7beedd7a95 Report ScrollNotification depth (#4992) 2016-07-22 09:20:46 -07:00
Yegor
2f77a07940 log the contents of .packages and pubspec.lock on buildbots (#4989) 2016-07-21 13:27:49 -07:00
Dragoș Tiselice
6f0635d6e8 Merge pull request #4953 from flutter/drawer-header-update
Updated DrawerHeader to new spec.
2016-07-21 11:17:18 -07:00
Dragoș Tiselice
3aa26cb1cc Merge pull request #4971 from flutter/circle-avatar-background-image
Added backgroundImage to CircleAvatar.
2016-07-21 11:16:36 -07:00
John McCutchan
2f5a0dcdce Tweaks to --hot mode 2016-07-21 11:01:06 -07:00
Hans Muller
36eb4a066f Support for Material arc point and rect transitions (#4938) 2016-07-21 10:48:41 -07:00
Ian Hickson
69d78325ec Licenses (#4984)
This makes the about page show the licenses of all the Dart packages that a Flutter app uses.

Issues that this does not yet resolve:
- I'm still working on getting the full list of licenses for the sky_engine package.
- Some of the licenses don't print very readably.
- There's no scrollbar on the license page.

I'll provide fixes for the first two in the coming days, but this should unblock anyone who is wanting to see something here, even if it's not quite complete. :-)

----

The patch makes the following changes: 

- The license registry is now asynchronous, since the data comes from disk.
- I moved the default license collector from the foundation package to the services package since it uses the default asset bundle now.
- The FLX builder now includes the LICENSE files of each Dart package mentioned in the `.packages` file.
2016-07-21 09:09:48 -07:00
Dragos Tiselice
65e77142e9 Updated DrawerHeader and added UserAccountDrawer.
Removed old Stack layout and added a simple-to-extend interface for the
new drawer header. Also added a specialized UserAccountsDrawerHeader
consistent with Material Design guidelines.
2016-07-20 16:16:08 -07:00
John McCutchan
3dd963b088 Merge pull request #4982 from johnmccutchan/add_hot_mode
Add --hot mode for flutter run with Android devices and iOS simulators
2016-07-20 14:39:07 -07:00
John McCutchan
0de691621b Add --hot mode for flutter run 2016-07-20 14:38:25 -07:00
Eric Seidel
771d7910f0 Add a cross-reference to MaterialApp from CheckedModeBanner (#4981)
so that folks have some prayer of figuring out from our docs
how to turn it off. :)

@Hixie
2016-07-20 13:14:01 -07:00
Dragos Tiselice
83f37246d5 Added backgroundImage to CircleAvatar.
In order to have an efficient way to display clipped avatars,
backgroundImage was added inside of the container's BoxDecoration.
Fixes #4964. This commit also fixes #4567 where the radius property
actually sets the diamater.
2016-07-20 09:52:21 -07:00
Yegor
8893e32821 print gen_snapshot exit code; fix a missing type annotation (#4976) 2016-07-19 21:07:58 -07:00
Devon Carew
57b76a050f Hello services run (#4969)
* making flutter run work with gradle

* locate android studio

* add test for settings

* review comments
2016-07-19 20:00:02 -07:00
Ryan Macnak
932059b901 Also forward Observatory port for iOS in profile mode. (#4952) 2016-07-19 12:46:17 -07:00
Devon Carew
d0f43ed9bd update flutter run --devfs (#4942)
* update flutter run --devfs

* use async; add todo
2016-07-18 13:10:48 -07:00
Ryan Macnak
e42be3c363 Print local url for Observatory on iOS. (#4948) 2016-07-18 12:54:08 -07:00
Hans Muller
7a3c0a2eba Draw a smoother overscroll indicator on Android (#4945) 2016-07-18 12:20:00 -07:00