6580 Commits

Author SHA1 Message Date
Adam Barth
7e8274e24f Update engine.version (#4580) 2016-06-15 14:52:33 -07:00
Hans Muller
5766cdacd3 Define LayoutWidgetBuilder in terms of BoxConstraints instead of Size (#4578) 2016-06-15 14:11:58 -07:00
Devon Carew
661740d2d6 updates from previous review (#4577) 2016-06-15 11:25:31 -07:00
Ali Ghassemi
fc2dbdeeb7 Remove unused consts in floating action button code (#4574) 2016-06-15 10:22:25 -07:00
Ali Ghassemi
e2299fdbc4 Remove unused consts in floating action button code.
FAB segue animation is done in scaffold and the consts are there.
2016-06-15 09:40:06 -07:00
Devon Carew
fc47909e9f send application files to the observatory's devfs (#4572)
* send application files to the observatory's devfs

* update comment
2016-06-15 09:29:23 -07:00
Eric Seidel
7fcaf093cb Merge pull request #4573 from eseidelGoogle/switch
Fix the switch to match the Material Design spec.
2016-06-15 09:17:08 -07:00
Eric Seidel
3ee2f6f727 Fix the switch to match the Material Design spec.
Our track and head were slightly off in size.
These now exactly match the sizes in
https://material.google.com/components/selection-controls.html#selection-controls-switch
We took the liberty of assuming the head overlaps the edge
of the track by 2 pixels (instead of the head and the track ending at the same point)
which the provided designs were conflicted about.

Huge thanks to @DaveShuckerow for noticing this issue!

@abarth
2016-06-15 09:11:27 -07:00
Ian Hickson
0d21e69b1d Fix flutter upgrade and flutter build ios (#4564)
* Fix `flutter upgrade`

* Fix builds on iOS
2016-06-14 18:16:55 -07:00
Phil Quitslund
0f1132f93a Merge pull request #4559 from pq/missing_returns
Add missing returns.
2016-06-14 15:41:49 -07:00
pq
d3b4186744 Review nits. 2016-06-14 15:32:42 -07:00
pq
d81212a387 Cleanup. 2016-06-14 15:21:42 -07:00
pq
f5a4e63237 Added asserts. 2016-06-14 15:19:14 -07:00
Ian Hickson
294376fb01 fix reentrant locking in pub upgrade (#4556) 2016-06-14 12:39:20 -07:00
Hans Muller
0e50ee6e7f Remove implicit dart:ui dependency (#4561) 2016-06-14 12:35:59 -07:00
Hans Muller
3f7dd71057 Shrine Tweaks (#4558) 2016-06-14 12:15:41 -07:00
pq
7a95548746 Add missing returns.
As of `1.18.0-dev-0`, these cases will get flagged.  In the meantime, the
2016-06-14 12:13:56 -07:00
Chinmay Garde
9782d97faa Enable launching applications on the iOS device with observatory and diagnostics server connected. (#4424) 2016-06-14 11:47:51 -07:00
Ian Hickson
f92f71feb9 Lock flutter tool while updating artifacts (#4476)
This prevents multiple simultaneous runs of the analyzer from stomping
over each other (e.g. multiple runs of 'update-packages'). Certain
long-lived commands (like analyze, run, logs) are exempted once they've
done enough work to be safe from most stomping action.

This still doesn't make us entirely safe from craziness, e.g. if you're
half way through an 'update-packages' run and you call 'git pull', who
knows what state you'll end up in. But there's only so much one can do.

Fixes https://github.com/flutter/flutter/issues/2762
2016-06-14 10:16:08 -07:00
Adam Barth
d8c52527cc Two minor improvements (#4554)
Add `@required` for some required parameters in `RRect`. Use elvis
operator to simplify a function.
2016-06-14 09:33:41 -07:00
Ian Hickson
2b2d782503 "--watch --flutter-repo" wasn't analyzing flutter (#4548) 2016-06-13 19:19:35 -07:00
Hans Muller
f21b140115 One list of GalleryItems to rule them all (#4549) 2016-06-13 16:50:12 -07:00
Adam Barth
d542c3b121 Update engine (#4545) 2016-06-13 15:45:05 -07:00
Hans Muller
ebaf9e29a0 Gallery shrine demo uses image assets (#4544) 2016-06-13 14:48:24 -07:00
Ian Hickson
2cdda9e679 Provide a way to save the analyzer results to disk (#4541) 2016-06-13 13:29:10 -07:00
Devon Carew
b6c3ae37f6 send supportsRestart flag when starting an app (#4513)
* send supportsRestart flag when starting an app

* remove unused imports

* review comments
2016-06-13 13:16:20 -07:00
Hans Muller
187ff00294 New gallery app bar background (#4539) 2016-06-13 12:41:29 -07:00
Todd Volkert
2099d3789c Pull iOS build templates from flutter tools vs engine artifacts (#4526) 2016-06-13 12:30:08 -07:00
Ian Hickson
c9bcf1074e Analyzer was confused when you deleted files (#4528)
Also, make it clear the screen between results so it's more obvious
what's going on when you have new results (especially when you have
fixed everything).
2016-06-13 12:20:03 -07:00
Adam Barth
1d5d7f4ad3 Reorganize the calculator demo (#4536)
This patch is a warmup to improving the visuals in the calculator demo.

Related to #4535
2016-06-13 11:44:46 -07:00
Adam Barth
d2e3493a6c Add an example to MediaQuery docs. (#4532)
Fixes #4511
2016-06-13 11:36:52 -07:00
Adam Barth
053df166c4 AnimationController.fling should respect upper and lower bounds (#4533)
Instead of flinging to between 0.0 and 1.0, we should adapt the default
spring to the controller's upper and lower bounds.

Fixes #3545
2016-06-13 11:32:13 -07:00
Adam Barth
1a3adae101 Use @required for onPressed and onChanged (#4534)
We now use the `@required` annotation to encourage developers to
explicitly set onPressed and onChanged callbacks to null when that would
disable the widget.

Fixes #287
2016-06-12 13:25:06 -07:00
Adam Barth
cc44696754 Remove leftover app.so references (#4531)
This file is now app.dylib.
2016-06-11 21:16:42 -07:00
Todd Volkert
d2ee6f7838 Rename app.so -> app.dylib (#4522) 2016-06-10 16:57:21 -07:00
Todd Volkert
09f458a573 Update engine (#4527) 2016-06-10 16:57:09 -07:00
Devon Carew
1ff3a2a039 show progress while running the analysis server (#4525) 2016-06-10 16:39:43 -07:00
Jason Simmons
484c36f145 Set the android:debuggable flag when building an APK in debug mode (#4523)
See https://github.com/flutter/flutter/issues/4438
2016-06-10 16:06:12 -07:00
Devon Carew
b2938f40e3 expose the devfs api (#4521) 2016-06-10 15:08:12 -07:00
Phil Quitslund
d97ec68351 Merge pull request #4516 from pq/1_17_1
Bump Dart SDK to patched stable.
2016-06-10 15:04:18 -07:00
Adam Barth
0b6df634af Polish HostMessages (#4515)
Cleans up a few style nits in hello_services and adds support for automatic
JSON encoding and decoding to the HostMessages interface.
2016-06-10 15:04:01 -07:00
Matt Perry
2315432d2f Pesto polish fixes. (#4514)
- Fix the background color and AppBar transparency on the Recipe page.
- Use a Hero animation for the recipe card.
- Draw the background image under the status bar on the recipe page.
- Added instructional text on favorites page when there are no favorites.

BUG=https://github.com/flutter/flutter/issues/4403
BUG=https://github.com/flutter/flutter/issues/4405
BUG=https://github.com/flutter/flutter/issues/4436
BUG=https://github.com/flutter/flutter/issues/4399
2016-06-10 16:33:50 -04:00
Jason Simmons
505b28245a Remove redundant license files (#4510) 2016-06-10 12:01:07 -07:00
pq
c1f10dbf38 Bump Dart SDK to patched stable.
`1.17.1` fixes:
* crash in async functions
* GC bug in weak properties

Relevant patches here:
* https://github.com/dart-lang/sdk/issues/26680
* https://github.com/dart-lang/sdk/issues/26681
2016-06-10 08:40:57 -07:00
Devon Carew
b5c8f2a43f print stack traces from the analysis server (#4507) 2016-06-10 06:48:16 -07:00
Matt Perry
ffde6777fc Pull Flutter gallery assets from Google's git repo. (#4493)
This repo contains the final licensed images.
2016-06-09 16:03:10 -04:00
Kaiyuan Wang
8446ae3c87 Fix flutter drive crash issue when run in develop mode (#4492) 2016-06-09 12:39:14 -07:00
Adam Barth
696f4710f1 Improve hitTestSelf and hitTestChildren docs (#4484)
Fixes #4427
2016-06-09 10:10:13 -07:00
Adam Barth
2be1eb480f DropDownMenu should animation away when interrupted (#4485)
If you tap outside the drop down menu while its animating in, we should
animate it away smoothly. Previously, we jumped to the reverseCurve,
which made the menu disappear immediately. Now we hold the animations as
state, which means we keep their _curveDirection property and don't
switch curves unless the animation actually finishes.

Also, fix a subtle bug in CurvedAnimation whereby we'd never set the
_curveDirection if we didn't see a status change in the parent
animation. Now we initialize _curveDirection based on the current value
of the parent's status.

Fixes #4379
2016-06-09 10:09:07 -07:00
Adam Barth
4e3e40a174 Rename relayoutSubtreeRoot -> relayoutBoundary (#4483)
Fixes #4425
2016-06-09 08:44:48 -07:00