7303 Commits

Author SHA1 Message Date
Michael Goderbauer
f3f2747a85 Unify engineDirs and toolsDir in Cache of Flutter Tools. (#7644)
The zip files downloaded from cloud storage are not clearly separated
into engine artifacts and tools anyways.

Also, because of this unclear separation, we were downloading
`linux-x64/artifacts.zip` twice before.
2017-01-26 10:23:52 -08:00
Ian Hickson
7c40446a69 proxy_box tests (#7658) 2017-01-26 08:00:24 -08:00
Adam Barth
a4eca31777 Use ScrollView in examples a manual_tests (#7645)
This patch deploys ScrollView in a number of demos and manual tests.
2017-01-25 21:59:03 -08:00
P.Y. Laligand
905353b4d1 Added missing dependency. (#7651) 2017-01-25 20:23:19 -08:00
Chris Bracken
3cde53590c Roll engine to fb69728f33fec15fd39a2b7528cdd8eb45a254d9 (#7650) 2017-01-25 19:52:18 -08:00
xster
606ee3610a Add a flutter tools section to CONTRIBUTING.md (#7640)
* Tweak the contributor guide with info on working with the flutter tool

* Slight phrasing

* Review edits on doc phrasing

* Review notes

* Small review tweak
2017-01-25 19:00:06 -08:00
Ian Hickson
46792dc2c4 Speed up hot reload in the framework. (#7647) 2017-01-25 17:54:56 -08:00
Ian Hickson
25223c75bd New scrollbars for the scrollable refactor (#7646) 2017-01-25 17:51:25 -08:00
Todd Volkert
417c2f25fc Migrate flutter_tools to use package:platform (#7642) 2017-01-25 16:06:41 -08:00
Adam Barth
600c75cb11 Viewport2 should clip visual overflow (#7641)
When you put a box in a Viewport2, it might paint outside its allocated bounds.
This patch teaches Viewport2 to clip when that happens.
2017-01-25 15:54:46 -08:00
Ian Hickson
9ff2e978cd Sliver Padding (#7628) 2017-01-25 15:00:57 -08:00
Hans Muller
9cfcd3fdec Corrected the "Routes can return a value" example (#7638) 2017-01-25 15:00:18 -08:00
Ian Hickson
1426ef9944 Appbar slivers. (#7631) 2017-01-25 13:18:57 -08:00
Adam Barth
eba5fb1a18 Add a sliver-based ScrollView (#7627)
This patch introduces ScrollView, which is a convenience widget for using a
SliverBlock. This patch also switches a number of tests from Block to
ScrollView. Once we support more features of block (e.g., padding and
shrinkwrapping), we'll be able to move over more clients.
2017-01-25 12:51:22 -08:00
Chris Bracken
efa1120a99 Roll the engine to 8fea842f027cdc98e2d338f1a04b2c0cb319e204 (#7635) 2017-01-25 12:33:32 -08:00
xster
ee97e5639e Change file system copy folder to copy directory (#7624)
* Change file_system’s copy folder to copy director which takes into account the file system

* Address review comments.
Test with 2 different instances of file systems.
2017-01-25 11:41:48 -08:00
Michael Goderbauer
9733aab929 Fix broken device test (#7637) 2017-01-25 11:25:07 -08:00
Adam Barth
0eb8f94b1c Fix display list harness diagnostics (#7634) 2017-01-25 10:08:11 -08:00
Hans Muller
e5aa1b1e4e Added PageRouteBuilder (#7632) 2017-01-25 08:50:30 -08:00
Ian Hickson
94fab77bea More docs updates for services. (#7633) 2017-01-24 23:34:16 -08:00
Ian Hickson
6bd578ff52 Reword the SystemChrome docs to be in the Flutter voice and style. (#7599) 2017-01-24 23:29:33 -08:00
Michael Goderbauer
c47069a6b1 Tiny improvement to flutter doctor output on Windows. (#7629)
Follow-up to #7625
2017-01-24 17:29:06 -08:00
Michael Goderbauer
aaaf0dac19 Teach Flutter Tools about IntelliJ and Android SDK on Windows. (#7622)
Required for https://github.com/flutter/flutter/issues/138
2017-01-24 16:53:20 -08:00
Michael Goderbauer
e14925d366 Fix Encoding for PowerShell script (#7625)
fixes #7623
2017-01-24 16:38:35 -08:00
Ian Hickson
58348612a3 Factor out debugPaintPadding and test it (#7598)
I plan to use this to implement similar logic in SliverPadding.

To make this easier to test I extended the paints matcher to accept a
function that takes a canvas. While I was at it I also made it accept
a Finder, it'll go and find the render object for you.

Also added support for paints..path and fixed some grammar in the
error messages.

Also improved the docs for debugPaint*.
2017-01-24 16:08:27 -08:00
Adam Barth
559621ca5a Add SingleChildScrollView (#7620)
This widget is a replacement for ScrollableViewport that uses the new
Scrollable2 machinery. The widget is not based on Slivers but does use the new
scroll behavior classes.
2017-01-24 15:16:01 -08:00
Ian Hickson
f683abd757 Sliver Block (#7618) 2017-01-24 15:06:53 -08:00
Chinmay Garde
2380d854c5 Add a Fuchsia target for the Flutter gallery. (#7619) 2017-01-24 14:03:06 -08:00
Hans Muller
8c5bee9405 Add Navigator.pushReplacement() and Navigator.pushReplacementNamed() (#7611) 2017-01-24 11:36:48 -08:00
Ian Hickson
1bdf351818 Merge pubspec.yaml and flutter.yaml. (#7605) 2017-01-24 11:19:31 -08:00
Chris Bracken
ba4d78acb3 Roll engine to 16b2964f5c300ceea7aac17a82a6afd1ac36b594 (#7612) 2017-01-24 11:10:52 -08:00
Michael Goderbauer
51dc83dd80 Launch Flutter Tools on Windows. (#7613)
This brings the Windows script up to par with the Linux/Mac script.

`flutter doctor` works.

There are two scripts (`bin/flutter` and `bin/internal/update_dart-sdk`), which are platform dependent (bash script on Linux/Max, PowerShell script on Windows) and we need to keep an eye on making sure that their logic stays in sync. Both scripts are rather simple and I am not expecting many changes to them. I also made sure that both versions follow the same structure to make it easier to keep them consistent.

Required for https://github.com/flutter/flutter/issues/138
2017-01-24 10:58:11 -08:00
Phil Quitslund
6a612caa50 Bump Dart SDK to 1.22.0-dev.9.1. (#7608)
Latest patch release, aligned with the internal SDK roll.
2017-01-24 10:53:30 -08:00
Todd Volkert
9ba607862e Update to package:process v1.0.1 (#7607) 2017-01-24 10:09:29 -08:00
Adam Barth
a3a70c6b23 Fix flutter tool (#7609)
We need to pin `package:process` because version 1.0.1 contains a breaking
change to the package's API.
2017-01-24 09:46:36 -08:00
Yegor
862657e4e4 devicelab: add more hot-reload metrics (#7602) 2017-01-24 09:04:48 -08:00
Adam Barth
134096022c Test PaginatedDataTable (#7594)
This patch contains some basic tests for PaginatedDataTable.
2017-01-23 21:36:42 -08:00
Yegor
4bec9cd940 update build benchmark to match #7589 (#7600) 2017-01-23 17:49:01 -08:00
Devon Carew
a6777b2a60 remove flutter setup (#7596) 2017-01-23 15:22:16 -08:00
Hans Muller
44f957d606 Prevent overlapping hero transitions from starting (#7568) 2017-01-23 14:52:32 -08:00
Ian Hickson
a34ae0f99d Talk about how to resize IconButtons more. (#7595)
Answers http://stackoverflow.com/questions/41729278/why-is-this-icon-being-clipped
2017-01-23 14:42:30 -08:00
James Robinson
6c5974fd5f [gn] Update flutter_tools GN build (#7592)
This package depends on package:process now.
2017-01-23 13:46:37 -08:00
Ian Hickson
84c0b34782 Test some of the sliver helper classes (#7574) 2017-01-23 13:36:44 -08:00
Ryan Macnak
76460967e6 Adapt to refactoring of snapshot APIs in the Dart VM. (#7589) 2017-01-23 13:28:35 -08:00
Adam Barth
bf296f715e Test DataTable (#7591)
This patch adds a basic test for the DataTable widget.
2017-01-23 12:40:51 -08:00
Ian Hickson
94cac1a69c flutter test --start-paused (#7584)
Make debugging tests in a debugger easier.

Fixes https://github.com/flutter/flutter/issues/163
2017-01-23 11:31:59 -08:00
Michael Thomsen
ef1d7a1929 Update gradle versions in hello_services to those currently shipped in Android Studio (#7587) 2017-01-23 19:00:09 +01:00
Todd Volkert
03d163ce88 Update tools to use package:process (#7590) 2017-01-23 09:46:38 -08:00
Michael Thomsen
24f1b2ee09 Update IntelliJ template for new projects and existing samples (#7501)
* Disable 'Show Excluded' by default

* Move .iml file inside .idea dir

* Remove pub and build excludions as they are automatically set by the Dart plugin

* Exclude .idea folder (new users will edit it through the IJ UI, not the file)

* Move .iml files into .idea dir to be consistent with template changes

* Add workspace.xml from new template to existing samples

* Update current examples to match template changes for excluding folders

* Add missing flutter.yaml to make sure there are no analysis errors

* Add back .pub and build excludeFolder tags per https://github.com/flutter/flutter-intellij/issues/630#issuecomment-272887230

* Remove workspace.xml from example per review feedback
2017-01-23 16:33:18 +01:00
Ian Hickson
63aa1397a3 Increase the strictness of our requiring explicit types (#7585)
...now that we have generic methods, their types need to be specified too.
2017-01-23 01:04:31 -08:00