2596 Commits

Author SHA1 Message Date
Collin Jackson
b79c78c05e Raw keyboard example 2015-11-11 10:55:06 -08:00
Jason Simmons
05ad96a1b4 Merge pull request #308 from jason-simmons/pointer_raw_examples
Update the raw examples to handle PointerPacket events
2015-11-11 10:47:50 -08:00
Jason Simmons
c94e4c4154 Update the raw examples to handle PointerPacket events 2015-11-11 10:44:47 -08:00
Adam Barth
b1435e2973 Merge pull request #305 from abarth/input_layout
Give loose contraints to text inside input widget
2015-11-11 09:56:29 -08:00
Hans Muller
6d57a2a247 Merge pull request #306 from HansMuller/named_parameters
Named parameters for the mock_events.dart TestPointer class
2015-11-11 09:55:53 -08:00
Hans Muller
b8286be18d Named parameters for the mock_events.dart TestPointer class 2015-11-11 09:47:06 -08:00
Adam Barth
64a645352c Give loose contraints to text inside input widget
The input widget scrolls, so it should give its text loose constraints.  That
way the text ends up being its intrinsic size even if put in a context with
tight constraints.

Fixes #298
2015-11-11 09:37:01 -08:00
Hans Muller
7791acd81d Merge pull request #303 from HansMuller/bottom_sheet_test
Add a unit test for persistent bottom sheets

ShowBottomSheet now clears its placeholder after the bottom sheet has been dismissed.

Added support for generating fling gestures to WidgetTester.
2015-11-11 09:10:05 -08:00
Hans Muller
b4c3970319 Add a unit test for persistent bottom sheets 2015-11-11 08:49:50 -08:00
Jason Simmons
97b1d21b4b Merge pull request #268 from jason-simmons/idl_pointer_event
Receive pointer events through PointerPackets
2015-11-10 16:07:21 -08:00
Jason Simmons
480c5ae4eb Receive pointer events through PointerPackets 2015-11-10 16:06:24 -08:00
Jason Simmons
587a6e86d4 Update CONTRIBUTING.md 2015-11-10 16:06:09 -08:00
Adam Barth
fa4147147a Merge pull request #295 from abarth/fix_more_warnings
Fix remaining analyzer warnings
2015-11-10 14:36:11 -08:00
Adam Barth
b1a17cb0f8 Fix remaining analyzer warnings
Constructor tear-offs aren't supported by the analyzer yet.
2015-11-10 14:12:15 -08:00
Adam Barth
7ea598d9c2 Merge pull request #294 from abarth/fix_warnings
Fix analyzer warnings in mojo_client.dart
2015-11-10 14:11:45 -08:00
Adam Barth
c685cb804d Fix analyzer warnings in mojo_client.dart 2015-11-10 14:06:22 -08:00
Adam Barth
953f19042c Merge pull request #293 from abarth/rm_sky_tools
Rename sky_tools to flutter_tools
2015-11-10 13:48:35 -08:00
Adam Barth
da0a12c611 Rename sky_tools to flutter_tools 2015-11-10 13:20:35 -08:00
Adam Barth
6e633a6512 Merge pull request #292 from abarth/run_forever
Don't run these benchmarks forever by default
2015-11-10 13:19:09 -08:00
Adam Barth
f7d8100754 Don't run these benchmarks forever by default
Running forever is useful for profiling but makes these scripts less useful for
measurement.  :)
2015-11-10 13:08:11 -08:00
Ian Hickson
75f2f1abba Merge pull request #290 from TheBosZ/master
Move Python script over to Dart.
2015-11-10 12:58:59 -08:00
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