2575 Commits

Author SHA1 Message Date
Nathan Kerr
9d016b7c10 Move Python script over to Dart. 2015-11-10 12:53:44 -08:00
Ian Hickson
0a1385d9a9 Merge pull request #66 from Hixie/better-tests
Run 'pub get' the first time the tests are run
2015-11-10 12:26:42 -08:00
Adam Barth
f0ebc2b0b1 Merge pull request #279 from abarth/faster_layout
Make layout_bench.dart 19% faster
2015-11-10 12:24:33 -08:00
Adam Barth
1d7cd6b7c0 Make layout_bench.dart 19% faster
Previously we would walk from every node in layout to the root to mark the root
as needing paint. Now we leave dirty bits throughout the tree so that we can
cut off the walk as soon as we find a dirty node.
2015-11-10 12:11:16 -08:00
Hans Muller
8c98ea3762 Merge pull request #269 from HansMuller/bottom_sheet_drag
Refactor bottom sheet support, add one to the stocks demo

Factored OverlayRoute out of the modal and persistent bottom sheet classes, since the bottom sheet classes need to drive the performance.

Added a bottom sheet to the stocks demo: long-press on a stock shows a modal bottom sheet.

Made AnimatedModalBarrier public.
2015-11-10 11:38:06 -08:00
Hans Muller
5e08b98e0d Refactor bottom sheet support, add a bottom sheet to the stocks demo
Factored OverlayRoute out of the modal and persistent bottom sheet clases, since the bottom sheet classes need to drive the performance.

Added a bottom sheet to the stocks demo: long-press on a stock shows a modal bottom sheet.

Made AnimatedModalBarrier public.
2015-11-10 11:27:17 -08:00
Devon Carew
0f2a9c4017 Merge pull request #275 from devoncarew/more_testing
test more packages on travis
2015-11-10 10:56:49 -08:00
Devon Carew
2644e85922 test more packages on travis 2015-11-10 10:43:47 -08:00
Devon Carew
84c273333c Merge pull request #274 from devoncarew/init_tweak
fix a ws issue in the sample app
2015-11-10 10:43:06 -08:00
Adam Barth
b9bc5e790f Merge pull request #87 from alhaad/run_mojo_devtools
Use --devtools-path flag to run_mojo.
2015-11-10 10:27:28 -08:00
Florian Loitsch
b6dc4318e4 Merge pull request #272 from floitschG/minor_doc_fixes
Minor doc fixes.
2015-11-10 10:09:11 -08:00
Adam Barth
d010d50360 Merge pull request #277 from abarth/update_readme
Update instructions for running benchmarks
2015-11-10 09:59:02 -08:00
Adam Barth
bb5d131cae Update instructions for running benchmarks 2015-11-10 09:44:58 -08:00
Adam Barth
4eaf9c3cca Merge pull request #276 from abarth/benchmarks
Add some basic benchmarks of the Stocks app
2015-11-10 09:35:59 -08:00
Adam Barth
68eebaa5db Add some basic benchmarks of the Stocks app
- animation_bench.dart. This benchmark measures the full main-thread pipeline
   for ticking the drawer entrance and exit animation.
 - build_bench.dart. This benchmark measures a full app rebuild when there's no
   state change.
 - layout_bench.dart. This benchmark measures a full relayout.
2015-11-10 09:29:37 -08:00
Devon Carew
20c2aa1690 fix a ws issue in the sample app 2015-11-10 08:48:03 -08:00
Adam Barth
778289f7d0 Use path dependencies for Playfair 2015-11-10 07:56:43 -08:00
Adam Barth
d3bb306735 Merge branch 'playfair' 2015-11-10 07:52:36 -08:00
Florian Loitsch
c5427fb9a8 Minor doc fixes. 2015-11-09 18:57:10 -08:00
Collin Jackson
16d7a95a11 Merge pull request #135 from collinjackson/request_body
Support for HTTP request body using DataPipeFiller
2015-11-09 16:40:37 -08:00
Collin Jackson
c3f55dcec2 Fix #104 by adding support for HTTP post using DataPipeFiller 2015-11-09 16:40:24 -08:00
Hixie
bd69e2c405 Run 'pub get' the first time the tests are run 2015-11-09 13:44:04 -08:00
Adam Barth
b5754d4483 Merge pull request #177 from abarth/search_for_snapshotter
Search all the build configurations for sky_snapshot
2015-11-09 13:43:40 -08:00
Adam Barth
7e8b111bcc Search all the build configurations for sky_snapshot
Previously, we assumed the first build configuration would have one. Now we
keep looking until we find one. Also, re-ordered the configurations so that
you'll get the Android one if you have both, which is probably what you would
expect.

Fixes #100
2015-11-09 13:31:49 -08:00
Alhaad Gokhale
7b19d08cc3 Use --devtools flag to run_mojo.
That way we can control if we want to use devtools to run on Linux and
also cleanly separate out the two uses.

R=@jamesr
2015-11-09 12:29:07 -08:00
Adam Barth
aafce51e05 Merge pull request #65 from abarth/better_errors
flutter start should give better errors when it can't find main
2015-11-09 12:13:32 -08:00
Adam Barth
6e7f575950 flutter start should give better errors when it can't find main
Now we suggest using -t to specify the main Dart file.

Fixes #53
2015-11-09 11:31:11 -08:00
Hans Muller
8a8bd0197c Merge pull request #62 from HansMuller/bottom_sheet_drag
Support drag-to-dismiss in persistent bottom sheets

Flinging a persistent bottom sheet downwards dismisses it, per the Material spec.

The showBottomSheet() function now returns a Future, like showModalBottomSheet() does, so that you can discover when it's been dismissed - with navigator.pop() - and with what value.

Factored the drag gesture handling code into _BottomSheetDragController

This CL was flutter/engine#1997
2015-11-09 10:44:47 -08:00
Hans Muller
da4fbdd4ae Updated {} and fling dismiss Future value 2015-11-09 09:39:19 -08:00
Ian Hickson
d355611d03 Merge pull request #61 from Hixie/dart-tests
Port test logic to Dart.
2015-11-09 09:11:38 -08:00
Ian Hickson
3419068cb3 Port test logic to Dart. 2015-11-09 09:00:49 -08:00
Hans Muller
9cb8188a0c Support drag-to-dismiss in persistent bottom sheets 2015-11-09 08:36:19 -08:00
Adam Barth
1cadf1256d Update CONTRIBUTING.md 2015-11-08 22:21:55 -08:00
Adam Barth
f4c62a860a Update CONTRIBUTING.md 2015-11-08 22:18:16 -08:00
Adam Barth
fdafd51f8c Merge pull request #58 from abarth/contributing
Add a CONTRIBUTING.md
2015-11-08 22:11:09 -08:00
Adam Barth
576795dcc6 Add a CONTRIBUTING.md
This document describes the workflow for contributing code to this repository.
2015-11-08 21:56:20 -08:00
Devon Carew
4112f66312 Merge pull request #52 from devoncarew/older_android
support older android devices (>= 17)
2015-11-07 21:59:56 -08:00
Devon Carew
3b9862a52c support older android devices (>= 16) 2015-11-07 21:55:21 -08:00
Adam Barth
9bc6e68635 Merge pull request #51 from abarth/init_from_path
Teach flutter init how to depend on flutter using a relative path
2015-11-07 21:36:13 -08:00
Adam Barth
2710e0f468 Teach flutter init how to depend on flutter using a relative path 2015-11-07 21:30:26 -08:00
Adam Barth
c9a79bfedb Merge pull request #48 from jeffallen/no-run-as
Avoid use of run-as
2015-11-07 09:53:01 -08:00
Jeff R. Allen
c8c2d23f26 Avoid use of run-as
Issue #1988 results from run-as not working on some phones,
because of Android issue 58373.

This change removes the need for run-as for running
"flutter start". It is still needed for tracing.
2015-11-07 15:28:01 +06:00
Adam Barth
45408d3ee6 Merge pull request #38 from abarth/test_flx
The FLX package should test itself
2015-11-07 00:09:03 -08:00
Adam Barth
00de3081d5 The FLX package should test itself
Rather than using the Flutter unit tests to test FLX, we can just test FLX
directly. Also, clean up the dependencies in the pubspec to match the code.
2015-11-06 23:59:17 -08:00
Adam Barth
a53a8fc9e2 Merge pull request #37 from abarth/pubspec
Update pubspecs and enable testing
2015-11-06 23:50:40 -08:00
Adam Barth
2f6c37672c Run unit tests on Travis 2015-11-06 23:47:04 -08:00
Adam Barth
2ed113430a Add dev/run_tests
This script runs the Flutter unit tests. By default, the script assumes you
have compiled a SkyShell in an "engine/src" that's a peer to the "flutter"
directory.
2015-11-06 23:14:17 -08:00
Adam Barth
08539b4e4d Rewire the pubspecs to use local paths
Using local paths ensures that each package sees each other package at HEAD.
2015-11-06 22:46:52 -08:00
Adam Barth
b7a212f76e Merge branch 'flutter' 2015-11-06 21:40:01 -08:00
Adam Barth
a491bcbc54 Merge pull request #36 from devoncarew/add_flutter_yaml
add a flutter.yaml file to the init template
2015-11-06 21:25:12 -08:00