Commit graph

5761 commits

Author SHA1 Message Date
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
Adam Barth afe3158d5b Remove clients of getTotalMatrix (#4487)
Instead of using getTotalMatrix and setMatrix, we can just use
save/restore, which is more idiomatic.

The getTotalMatrix/setMatrix pattern was introduced to improve
performance, but the original code was calling getTotalMatrix/setMatrix
at every node in the sprite tree, which is much slower than the normal
save/transform/restore pattern.

Related to #4254
2016-06-09 08:44:38 -07:00
Adam Barth c02c553867 Fix types for flutter test in checked mode (#4488)
Fixes #4059
2016-06-09 07:27:23 -07:00
Adam Barth e190327fdc HitTestResult.path should be unmodifiable (#4482)
Fixes #4428
2016-06-09 00:11:46 -07:00
Ian Hickson f75fd5c389 Header for PaginatedDataTable (#4468)
Also renames ButtonTheme.footer to ButtonTheme.bar.
2016-06-08 17:29:26 -07:00
Ian Hickson 1fe57277cf Improve interactivity of the Contacts demo (#4479)
We're explicitly saying that making these icons do anything useful is
out of scope, so the best we'll do here is show a snackbar.
2016-06-08 17:27:24 -07:00
Matt Perry 479c7da9f1 Add a 'Return to Gallery' drawer option to Pesto. (#4472)
* Add a 'Return to Gallery' drawer option to Pesto.

BUG=https://github.com/flutter/flutter/issues/4402

* oops
2016-06-08 17:04:40 -04:00
Devon Carew fcd68c8a21 Support route (#4470)
* support --route in flutter run --resident

* also for the daemon app.start command
2016-06-08 13:44:54 -07:00
Matt Perry 3e0e6b9997 Smoothly scale the Pesto logo as the app bar resizes. (#4465)
Also update the assets version to pull in better quality logo images.

BUG=https://github.com/flutter/flutter/issues/4407
2016-06-08 15:49:21 -04:00
Devon Carew d3e5e48701 revmoe the debug:true param from the atom launch config (#4464) 2016-06-08 12:21:45 -07:00
Jason Simmons 0db04819dc More flexibility for defining the locations of assets packaged in an FLX (#4462)
* Add a map of relative to absolute paths for assets located outside the app's
  source directory
* If a "packages" directory exists, obtain assets from there instead of
  using the packages/ prefix to indicate package map lookup
2016-06-08 11:32:30 -07:00
Phil Quitslund d303081e9a Merge pull request #4452 from pq/1_17_stable
Bump to stable 1.17.0 Dart SDK.
2016-06-08 09:46:21 -07:00
Devon Carew 5c59862208 Update usage.dart (#4451)
Update the analytics code.
2016-06-08 09:38:12 -07:00
pq 048a2d4a7d Bump to stable 1.17.0 Dart SDK. 2016-06-08 09:21:50 -07:00
Ian Hickson 007d0a2f39 Cache intrinsic dimensions (#4446)
Also, make sure that the parent is notified when they change.

Fixes #2298
2016-06-07 22:07:12 -07:00
Todd Volkert 6c896dcc70 Remove TODO (#4448)
It's TODONE
2016-06-07 21:34:50 -07:00
Adam Barth 6e530ea862 Make pesto demo scroll fast (#4443)
We can viewport the content using a ScrollableGrid. Also, we can use the
padding mechanisms of the grid to avoid extra padding widgets.
2016-06-07 19:52:03 -07:00
Adam Barth 440aa5ee2f Add -t support to flutter run on iOS (#4439) 2016-06-07 16:41:53 -07:00
Adam Barth 35ea6a1cef Improve gallery visuals on iOS (#4437)
1. Use the primary color brightness to determine the color of the status bar.
    The status bar overlaps the toolbar, which has the primary color.
 2. Use Roboto for text.
2016-06-07 16:32:14 -07:00
Adam Barth 7d9f8d903d Introduce TapDownDetails and TapUpDetails (#4431)
We have these details objects for the same reason we now have drag details
objects: future extensibility.
2016-06-07 16:16:53 -07:00