6160 Commits

Author SHA1 Message Date
Adam Barth
b342f2c40c Update engine.version (#5244) 2016-08-04 18:04:00 -07:00
Hans Muller
4770acebd1 updated Android launcher icons (#5238) 2016-08-04 15:35:26 -07:00
Matt Perry
92d0445a8f Add a fade-in animation for the text selection controls. (#5190)
BUG=https://github.com/flutter/flutter/issues/3938
2016-08-04 16:51:09 -04:00
Adam Barth
40d26f433e Update engine.version (#5221) 2016-08-04 13:05:43 -07:00
Adam Barth
628884a8a8 Make AppBar a Hero (#5214)
This patch improves the Post and Shrine transitions by making the AppBar
into a Hero and changing the default MaterialPageTransition. Now the
AppBar transitions smoothly between screens and the
MaterialPageTransition doesn't involve a fade effect.

Also, rejigger the bounds of the image header in Pesto to avoid the
"pop" at the end of the animation by laying out the image header at its
final visual size instead of relying on occlusion to size the image
header.

Fixes #5202
Fixes #5204
2016-08-04 13:05:18 -07:00
Matt Perry
8f3c498f2d Initialize ScrollBehavior's content size to infinite rather than 0. (#5199)
Why this matters: If you navigate back to a page with a Scrollable that
has a nonzero scrollOffset, we will restore that scrollOffset. We clamp
the scrollOffset to the contentExtent before the first layout, before
contentExtent is updated to its proper value. Initializing contentExtent
to INFINITY effectively disables the first clamp, until we can get a
valid value from layout. Since the previous scrollOffset was valid, it
seems safe to assume it's still valid.

BUG=https://github.com/flutter/flutter/issues/4883
BUG=https://github.com/flutter/flutter/issues/4797
2016-08-04 15:46:24 -04:00
Hans Muller
3a7508d702 New gallery identity (#5210) 2016-08-04 11:07:59 -07:00
Chris Bracken
0ba0127c1a Support a user-specified observatory port in CoverageCollector (#5217) 2016-08-04 10:43:04 -07:00
Jason Simmons
f8a80b1da6 Notify a Scrollable that the associated animation has stopped (#5209)
This also required changing the AnimationController state transition
logic to signal completion of the animation during the tick that
finishes the simulation.

Fixes https://github.com/flutter/flutter/issues/3675
2016-08-04 10:26:35 -07:00
Jason Simmons
b87cc8b14c Handle disposal of a HeroState while a hero is animating (#5189)
Fixes https://github.com/flutter/flutter/issues/5178
2016-08-04 10:26:26 -07:00
Adam Barth
22210c8baf Dispose AnimationController in examples (#5207)
These examples should show the best practices for working with
AnimationControllers.

Fixes #5206
2016-08-04 08:55:59 -07:00
Chris Bracken
88536859b4 Correct style in finalizeCoverage parameter list (#5213) 2016-08-03 19:54:33 -07:00
Chris Bracken
a1fa7c94e3 Support passing a custom coverage formatter to finalizeCoverage() (#5208) 2016-08-03 16:58:47 -07:00
Ian Hickson
1aeea6263a Fix some misuse of types (#5197)
Thanks to @leafpetersen for catching these.
2016-08-03 13:18:41 -07:00
Ian Hickson
c8db0041d8 Add debugPrintTransientCallbackRegistrationStack (#5198)
Adds Scheduler.debugPrintTransientCallbackRegistrationStack so that you
can find out how your current callback got registered.
2016-08-03 13:18:02 -07:00
Ian Hickson
d7fb51a551 Hot reload UI polish (#5193)
* General improvoments to the loader app:
   * Show a message after 8 seconds if no connection comes in.
   * Show a progress bar as files are being uploaded.
   * Hide the spinner just before launching the application.

* General improvements to the "flutter run" UI:
   * Add "?" key as a silent alias for "h".
   * Make the help text bold so it doesn't get mixed with the logs.
   * Make "R" do a cold restart when hot reload is enabled.

* Supporting features and bug fixes:
   * Add support for string service extensions.

* Other bug fixes:
   * Expose debugDumpRenderTree() outside debug mode.
   * Logger.supportsColor was missing a getter.
   * Mention in the usage docs that --hot requires --resident.
   * Trivial style fixes.
2016-08-02 16:52:57 -07:00
Jason Simmons
5c2623d977 Fix overflow of text on Pesto recipe cards (#5192) 2016-08-02 16:31:46 -07:00
Jason Simmons
39be1c3747 Tell image listeners if they are being called synchronously by the ImageStream (#5161)
Image listeners installed in paint handlers need to know whether the listener
is being called during the paint.

Fixes https://github.com/flutter/flutter/issues/4937
2016-08-02 16:07:21 -07:00
Hans Muller
2656006c41 OverscrollIndicator tracks horizontal drag input, etc (#5183) 2016-08-02 15:58:02 -07:00
Chinmay Garde
64fa825ba1 Update engine to pull in fixes for crashes related to accessibility. (#5184) 2016-08-02 14:38:06 -07:00
Adam Barth
4086e7a3c3 Improve performance of Pesto hero animation (#5182)
Previously we were resizing a paragraph of text during the animation. Now we
animate the text and the image separately. Also, add a default hero tag for
FloatingActionButton so that it animates as part of the hero transition as
well.
2016-08-02 11:35:15 -07:00
Adam Barth
82b7fc0d95 Update engine.version (#5179) 2016-08-01 21:12:20 -07:00
Seth Ladd
b34b453c6c Docs colors logo (#5176)
* update the color and logo for the docs site

* update the color and logo for the docs site

* remove unused file

* removed unused script code

* tweak styles for inherited names
2016-08-01 15:43:10 -07:00
Hans Muller
56a2d2262c Pesto home stack (#5168) 2016-08-01 15:09:50 -07:00
Adam Barth
fb3e64cce4 Add a semantic version for Flutter (#4923)
This patch starts a semantic versioning scheme for Flutter. We're still
experimenting with semantic versioning, which means the version number
might not be reliable yet.
2016-08-01 14:15:37 -07:00
Ian Hickson
735120f113 Extract applyImageFit logic. (#5158)
Also, add FractionalOffset.inscribe.
2016-07-29 16:52:42 -07:00
Dragoș Tiselice
f3444fcf28 Added BorderRadius. (#5072)
* Added custom radii to RRect.

This is the first commit towads an implementation of
MergeableMaterial. It adds custom radii to RRect.

* Renamed RRect constructors and added BorderRadius.

BorderRadius is a class similar to EdgeInsets that lets you define
all rounded corners of a rounded rectangle easily.
2016-07-29 16:17:57 -07:00
Ian Hickson
51f8fb9979 Add a scrollbar to the license screen. (#5114)
And make Scrollbar work with LazyBlock.

And an about box to the Stocks sample app.
2016-07-29 15:44:12 -07:00
Jason Simmons
2b3099c814 Always select a diagonal for ArcTween even if begin and end rects are equal (#5151)
Fixes https://github.com/flutter/flutter/issues/5086
2016-07-29 15:28:40 -07:00
Matt Perry
f59d04bfab Remove drawer history entry when drawer is disposed. (#5157)
BUG=https://github.com/flutter/flutter/issues/5103
2016-07-29 15:22:49 -07:00
Hans Muller
566cacbd83 Don't leave tabs hanging in the middle (#5153) 2016-07-29 14:15:59 -07:00
Adam Barth
c674b4a803 Rename Image.fromNetwork and Image.fromAssetBundle (#5149)
These now have sorter names to make the callers less verbose.
2016-07-29 13:28:08 -07:00
Adam Barth
79364f0a06 Add Container.align and Container.position (#5128)
These let you add Align widget to the inside or outside of a container.
Several customers have asked for these properties.

Fixes #4950
2016-07-29 10:27:11 -07:00
Adam Barth
534097ffb6 Use named Image constructors (#5129)
Some folks didn't realize these existed and asked us to add them. By
using them in examples, hopefully folks will discover them more easily.
2016-07-29 08:27:28 -07:00
Phil Quitslund
408e4240d0 Lint updates in flutter analysis options. (#5130)
* Adds `empty_statements` (new in `0.1.21`).
* (Re)enables `iterable_contains_unrelated_type` (fixed in linter#245).
2016-07-28 22:50:40 -07:00
Hans Muller
3cebd04116 More gallery tweaks (#5125) 2016-07-28 16:23:17 -07:00
Hans Muller
a46e337788 AppBar: pad toolbars not tab bars (#5124) 2016-07-28 16:10:32 -07:00
John McCutchan
b11b2a1d46 Add loader screen for --hot mode (#5113) 2016-07-28 13:48:48 -07:00
Hans Muller
578d98ea46 Gallery demo tweaks (#5116) 2016-07-28 12:35:26 -07:00
Jason Simmons
a25da4af87 Update engine (#5115) 2016-07-28 11:40:31 -07:00
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
Adam Barth
ac14648b1f Update README.md (#5101) 2016-07-27 13:45:58 -07:00
John McCutchan
661ba7b1d1 Merge pull request #5046 from johnmccutchan/devfs_assets
DevFS asset support and deletion support
2016-07-27 13:30:56 -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