Commit graph

5181 commits

Author SHA1 Message Date
Yegor f3a4f722c4 [flutter_test] new WidgetTester API based on finder objects (#3288) 2016-04-13 23:40:15 -07:00
Ian Hickson a5a34d9704 AnimatedDefaultTextStyle (#3324) 2016-04-13 20:58:42 -07:00
Alhaad Gokhale c40f4cfedb Merge pull request #3329 from alhaad/repaint_childview
Repaint child view on attach / detach.
2016-04-13 20:26:52 -07:00
Devon Carew b172dd5a1a run pub for analyze and test (#3310)
* run pub for analyze and test

* don't run pub when doing repo analysis

* move logic for when to run pub into the commands

* re-write ternary expression
2016-04-13 19:55:28 -07:00
Alhaad Gokhale 6f9acb84ff Repaint child view on attach / detach. 2016-04-13 18:01:49 -07:00
Viktor Lidholt ec85af59b4 Improvements to the Grid list demo (#3315)
* Improvements to the Grid list demo

* More nits and fixes to grid demo in gallery
2016-04-13 15:25:27 -07:00
Ian Hickson cf8d79d027 mention infra in travis/test.sh (#3320) 2016-04-13 15:15:28 -07:00
Ian Hickson ae9c26a4ee Update README.md 2016-04-13 14:56:54 -07:00
Ian Hickson 571e2e84aa Stop importing identifiers we don't use. (#3314) 2016-04-13 14:42:07 -07:00
Phil Quitslund 8303cec2fc Merge pull request #3301 from pq/dart_bump_dev5
Bump dart SDK to 1.16.0-dev.5.0.
2016-04-13 14:05:06 -07:00
Ian Hickson 7861d02943 Fix dependency skew. (#3306)
...by adding tests to our examples that don't import flutter_test, which
pins the relevant dependencies.

Also, provide more information when complaining about leaked transient
callbacks in tests.

Also, make tests display full information when they have an exception,
by bypassing the throttling we have for Android logging in tests.

Also, make the word wrapping not wrap stack traces if they happen to
be included in exception output.

Also, fix a leaked transient callback in the checkbox code.
2016-04-13 13:53:39 -07:00
pq 6f12287c78 Bump dart SDK to 1.16.0-dev.5.0.
Among other things, grabs support for `@optionalTypeArgs`.

This is the last dev push for 1.16.  Here on out we're in cherry-pick season until 1.16 final.
2016-04-13 12:56:03 -07:00
Eric Seidel 74fe401839 Merge pull request #3295 from eseidelGoogle/fix_drive
Move flutter drive to use 8183 to not conflict with diagnostic server
2016-04-13 11:33:36 -07:00
Eric Seidel 341bd47624 Move flutter drive to use 8183 to not conflict with diagnostic server
When @jason-simons added the diagnostic server on Android this
happened to conflict with flutter drive's usage of 8182.

We really should fix both of these port users to be dynamic
but this fixes https://github.com/flutter/flutter/issues/3291
for now.

@yjbanov
2016-04-13 11:22:38 -07:00
Devon Carew dd81a21c93 small change to the generated dartdoc styles (#3290) 2016-04-13 10:04:35 -07:00
Ian Hickson e1aaf39f82 Fix Block intrinsic functions (#3286)
* Fix Block intrinsic functions

* Update block_test.dart

Fix the test per travis
2016-04-13 09:35:10 -07:00
Ian Hickson ecf1cce82c Provide details when reporting invalid constraints (#3281)
This also shrinks the width of the error messages a bit because now that
we use 'package:' URLs the stacks are a bit narrower.
2016-04-12 15:42:00 -07:00
Jason Simmons 3525aa1b0a Use the flutter.jar in the artifact cache by default (#3278)
See https://github.com/flutter/flutter/issues/3233
2016-04-12 14:26:22 -07:00
Adam Barth ec4a6a96f2 Add more dartdocs to material.dart (#3279) 2016-04-12 14:18:58 -07:00
Devon Carew 8d02f304cf update styles for the generated dartdocs (#3276)
* styles updates for the api docs

* update library docs

* use the new --favion and --use-categories options for dartdoc
2016-04-12 13:08:57 -07:00
Adam Barth 47715c5076 Add padding support to LazyBlock (#3272)
Also fill in some related dartdocs.
2016-04-12 13:05:44 -07:00
Adam Barth d9b73a2b7a Improve docs about why we pin analyzer (#3254) 2016-04-12 12:42:14 -07:00
Adam Barth 69f994446b Add more dartdoc to material.dart (#3261)
Now past halfway though material.dart by files.
2016-04-12 12:41:59 -07:00
Viktor Lidholt 2f60932df9 Adds nice photos and hero animations to the Grid gallery demo (#3258) 2016-04-12 12:12:00 -07:00
Jason Simmons 0f70464e1d Treat pointer cancel events similarly to pointer up events (#3242) 2016-04-12 11:17:43 -07:00
Tony Gentilcore c49d291f34 Merge pull request #3271 from flutter/tonygentilcore-patch-1
Roll engine to c3504b519fcd95179ea832460758712ecd0e433d
2016-04-12 10:57:25 -07:00
Tony Gentilcore b6c497a4f1 Roll engine to c3504b519fcd95179ea832460758712ecd0e433d
This picks up a change which fixes deps files generated by the snapshotter.
2016-04-12 10:34:49 -07:00
Hans Muller ba5a04e85a ClampOverscrolls Inherited Widget (#3267)
* ClampOverscrolls Inherited Widget
2016-04-12 10:12:44 -07:00
Devon Carew 8849cd6b2d add a --deploy flag to build apk (#3249)
* add a --deploy flag to build apk

* update command description

* use an enum instead of a bool param for build variants

* rename buildForDeploy flag to buildVariant

* review comments
2016-04-12 09:21:17 -07:00
Devon Carew b4173e20d4 fix to showing a progress display for long tasks (#3265) 2016-04-12 08:39:24 -07:00
Phil Quitslund 64a5007126 Merge pull request #3252 from pq/cli_flags
Migrate `enable-strict-call-checks` flag to options file.
2016-04-11 16:19:30 -07:00
pq f270c3d069 Migrate enable-strict-call-checks flag to options file.
As per https://github.com/dart-lang/sdk/issues/25723, moves last command-line flag to `.analysis_options`.
2016-04-11 14:05:44 -07:00
Phil Quitslund 9b2d2ad9d2 Merge pull request #3245 from pq/lint_fixes
Analyze Command lint cleanup.
2016-04-11 13:17:59 -07:00
pq 937f0eaf12 Analyze Command lint cleanup.
The push to dev-4 allows us to cleanup a few more bits:
  * `api_docs` lint message special casing (lint fixed)
  * `allowedIdentifiersPattern` (lint fixed)
2016-04-11 11:18:15 -07:00
Devon Carew 2a33e3f0c0 make flutter upgrade less verbose (#3237)
* more terse flutter upgrade

* fix an issue when updating and the engine update code has changed

* call flutter precache; add a --no-color hidden option

* fix a lint related to getters/setters
2016-04-11 11:17:09 -07:00
Ian Hickson 47f5c6f2e0 Add even more careful checks around BoxConstraints (#3243)
I ran into a case where I was setting minHeight=∞ and then calling
layout() with that constraint, which is all kinds of bad. To try to
catch this earlier, this patch now provides a way to catch constraints
that are requiring infinite values.

We don't _always_ check this because there are valid uses for
BoxConstraints.biggest, e.g. as an additionalConstraint.
2016-04-11 11:10:11 -07:00
Seth Ladd f43e1dfaff Fix instruction when app is missing enableFlutterDriverExtension (#3239) 2016-04-11 09:17:51 -07:00
Seth Ladd 3e661965c2 de-dupe API docs in flutter_driver (#3240) 2016-04-11 09:11:32 -07:00
Devon Carew 7ad1e38eac Fix windows crash (#3236)
* better messaging about windows support

* fix lints
2016-04-11 08:34:01 -07:00
Devon Carew 26906240e5 fix an issue parsing adb devices (#3235) 2016-04-11 07:50:03 -07:00
krisgiesing 504610791f Update wording on viewport test (#3228) 2016-04-08 23:52:52 -07:00
stevemessick 8847b86681 Add validity checks to create (#3215)
* Add validity checks to create

* Adjust indent
2016-04-08 20:37:50 -07:00
Hans Muller d9e0c32da2 Remove ScrollableListPainter (#3226)
* Remove ScrollableListPainter
2016-04-08 17:08:35 -07:00
Hans Muller df0a9fc179 Scrollbar cleanups (#3229) 2016-04-08 16:45:54 -07:00
Viktor Lidholt 83ef964ac6 Updates selection controls gallery demo (#3225) 2016-04-08 14:33:34 -07:00
Hans Muller 34f23cc456 Added OverscrollIndicator, removed OverscrollIndicatorPainter (#3220)
* Added OverscrollIndicator, removed OverscrollIndicatorPainter
2016-04-08 14:21:00 -07:00
Devon Carew 1311ae6ffe add a target for android-x64 (#3224)
* add a target for android-x64

* update armeabi-v7a to x86_64
2016-04-08 14:04:46 -07:00
Devon Carew 2115f987e1 rev the dart sdk to 1.16.0-dev.4.0 (#3221) 2016-04-08 13:19:24 -07:00
Adam Barth 295d3749bd FlexibleSpaceBar fails to animate (#3222)
We need to listen to the Scaffold's animation so that we rebuild every time it
ticks so that we can drive our animations.
2016-04-08 13:05:47 -07:00
Adam Barth 9a40679d87 Improve the docs for Overlay (#3216)
Fixes #3197
2016-04-08 12:33:48 -07:00