Commit Graph

10223 Commits

Author SHA1 Message Date
Hans Muller
53a2ec1bc9 Add support for baseline alignment to TextField (RenderEditable) (#13006) 2017-11-14 10:43:22 -08:00
Michael Goderbauer
736b414f13 Add text field content to semantics (#13000)
* Add text field content to semantics

* remove controller dup
2017-11-14 09:52:24 -08:00
Matt Sullivan
62ed4f5911 Fixed typo in navigator.dart doc comments (#12995) 2017-11-13 17:06:11 -08:00
Greg Spencer
7adb720dcc Fixed a typo that I forgot to push before committing ide-config change. (#12998) 2017-11-13 15:27:16 -08:00
Greg Spencer
2a26f29c9d Switch to concurrency of two, to see if that is a good balance. (#13003) 2017-11-13 15:26:42 -08:00
Greg Spencer
e2b9f8906d Turn on concurrency for coverage shard so that it runs in parallel to fix Travis timeouts. (#13001) 2017-11-13 13:20:38 -08:00
Ian Hickson
9d0041c982 AnimatedAlign (#12871) 2017-11-13 11:31:15 -08:00
Greg Spencer
797b39e9b2 Creates a new flutter command 'ide-config' and removes *.iml and .idea from tree. (#12958)
Creates a new (hidden) flutter command 'ide-config' that will create and/or update
existing .iml files and some files under the .idea directory, as well as
removing existing *.iml files and the .idea directory.

It also:

 * Adds *.iml to the .gitignore
 * Removes existing .iml files from the repo, and moves them to the
   packages/flutter_tools/ide_templates/intellij directory.
 * Adds a flag to ide-config ('--update-templates') that will take any new .iml
   files in the flutter tree and add them to the existing templates.
     - If --overwrite is also specified, then all existing templates will also
       be overwritten with the contents from the flutter tree, and any that have
       been deleted from the flutter tree will also be removed from the
       templates.
 * Added new run configurations for all existing app targets that will now also
   be automatically added to IntelliJ.
 * Setting up the environment also includes setting the coding style guidelines
   and the git VCS.
 * Note that after this PR lands, Flutter developers will need to run it once to
   re-create the .iml files and configuration files that have been removed.

After this PR lands, .iml files will no longer appear in the untracked files
section for git.
2017-11-13 10:55:22 -08:00
Jakob Andersen
9be85b6b4b Support IPv6-only hosts in vmservice_test.dart. (#12985)
If we fail to bind to IPv4 loopback, try IPv6. Some hosts only support IPv6,
causing the test in vmservice_test.dart to fail, since it couldn't find an
available port.
2017-11-11 21:33:40 +01:00
Mehmet Fidanboylu
96942bc797 Get rid of static version methods which ignore the AppContext (#12971)
* Get rid of static version methods which ignore the AppContext

* Review comments

* Review Comments

* Make branch behave the same as original implementation

* Fix tests
2017-11-10 17:31:18 -08:00
Yegor
870da175bc remove unused forwardPort; truthier console messages (#12981) 2017-11-10 16:51:16 -08:00
amirh
c1d742b29f Implement MultiFrameImageStreamCompleter - handles scheduling for animated image frames (#12955)
* Implement MultiFrameImageStreamCompleter

* only decode frames while there are active listeners

* review comments followup

* multiply animation frame timer duration by time dilation

* lint
2017-11-10 14:55:59 -08:00
xster
e94038154b Print a warning when cocoapods specs repo is out of date (#12915) 2017-11-10 12:41:58 -08:00
Chris Bracken
3cbb8750a9 Roll engine to 11d68f63da31b9cca512e793d664ebdf61a6faa9 (#12974) 2017-11-10 12:32:46 -08:00
Devon Carew
60af4ed725 tweak the text for the "elements didn't reload" message (#12826)
* tweak the text for the 'elements didnt reload' message

* review comments

* prefix items with a list char

* add a hostIsIde param instead of the isDaemonMode top-level function

* add a trailing comma
2017-11-10 11:34:34 -08:00
Zachary Anderson
f993cc36dd [flutter_tool] Fix fuchsia_reload command for new .packages location (#12825) 2017-11-10 10:10:07 -08:00
Alexander Aprelev
9ae893bd45 Use IKG for restarts, use IKG with ProtectedFileByteStore. (#12953)
* Use IKG for restarts, use IKG with ProtectedFileByteStore.

* Fix comment, add end of file newline.

* Remove unused import
2017-11-10 10:09:37 -08:00
Chris Bracken
3c4e7fe36c Roll engine to 45464c0a31e143055d6109c89b2f818d3fc819e5 (#12961) 2017-11-10 09:43:47 -08:00
Alexander Aprelev
edc0781420 Reset list of dirty assets to be evicted when we do restart (#12743) 2017-11-10 09:24:05 -08:00
Mikkel Nygaard Ravn
c936aa8cd4 One more timeout. Centralize definitions. (#12970) 2017-11-10 15:56:17 +01:00
Mikkel Nygaard Ravn
e3d5cbc929 Make timeout more robust (#12969) 2017-11-10 13:51:52 +01:00
Mikkel Nygaard Ravn
a836201a74 Raise timeout limit for tests that call pub (#12968) 2017-11-10 12:33:34 +01:00
Mikkel Nygaard Ravn
46b2d6462e Update timeouts for flutter create tests (#12965) 2017-11-10 09:35:11 +01:00
Mikkel Nygaard Ravn
7298f9ca0b Expose isMethodCall matcher in flutter_test (#12942) 2017-11-10 08:09:14 +01:00
Alexandre Ardhuin
aefc62f8f3 try some lints (#12719)
* try some lints

* remove avoid_returning_this rule
2017-11-10 07:49:44 +01:00
Todd Volkert
454db9d47c Re-organize flutter_tools code to better support proper layering. (#12957)
* executable.dart#main() depends on runner.dart#run()
* Refactor code such that non-commands don't depend on commands.

No code was actually changed in this PR - code was merely moved from
point A to point B.
2017-11-09 21:45:31 -08:00
Alexander Aprelev
5af7b423dd Roll engine with rolled dart (#12936) 2017-11-09 16:59:21 -08:00
xster
9038cb3c1c Revert to previously working font file for material icons (#12954) 2017-11-09 16:41:03 -08:00
Chris Bracken
93c81ffc76 Revert "Roll engine to 45464c0a31e143055d6109c89b2f818d3fc819e5 (#12950)" (#12952)
This reverts commit 5939ff45bf.
2017-11-09 12:51:45 -08:00
Yegor
d1c45f171e fix the flavors test (#12949) 2017-11-09 10:20:03 -08:00
Alexander Markov
5939ff45bf Roll engine to 45464c0a31e143055d6109c89b2f818d3fc819e5 (#12950) 2017-11-09 10:15:36 -08:00
Mikkel Nygaard Ravn
177e99b382 Support unpacking platform error events (#12938) 2017-11-09 17:16:48 +01:00
Alexandre Ardhuin
436aa93086 enable lint avoid_classes_with_only_static_members (#12602) 2017-11-09 07:12:36 +01:00
Greg Spencer
3541ad0a64 Add an UnconstrainedBox and factor out debug overflow indicator. (#12856)
UnconstrainedBox will allow its child to size itself as if it had no constraints, and then attempt to fit around that object, until its own constraints are exceeded, in which case it will clip and display an overflow warning.

I also factored out DebugOverflowIndicator, which will draw overflow indicators on containers which overflow but aren't expected to.
2017-11-08 20:15:06 -08:00
Adam Barth
fb86a0338c Document MaterialApp's _errorTextStyle (#12842) 2017-11-08 19:46:51 -08:00
Devon Carew
30ff005456 fix an issue reported by the public_member_api_docs lint (#12889) 2017-11-08 19:05:12 -08:00
Chris Bracken
50decbcdce Roll engine to bc2acf7bddd855898ceb245a8a2ecf83c634ec8d (#12933) 2017-11-08 18:08:59 -08:00
xster
152f5258b0 Let RenderSliverFixedExtentBoxAdapter handle disappearing top items (#12919)
* fix with first part of test

* Test without reshifting

* Let sliver fixed extend list also handle disappearing top items.
2017-11-08 17:06:46 -08:00
Ian Hickson
97b3742f63 Automatically flip material icons in RTL. (#12876)
I'm not really sure how to test this without a reference test, since
eventually we want to move this to a font feature and thus the obvious
test (looking for the Transform widget) isn't really valid.
2017-11-08 14:22:14 -08:00
Devon Carew
b6bd628bcd address unused element issues and new warnings (#12890)
* address unused element issues and new warnings

* add a missing return
2017-11-08 14:06:55 -08:00
Alexandre Ardhuin
15601fe55c Enable lint prefer asserts in initializer lists (#12903)
* enable lint prefer_asserts_in_initializer_lists

* enable --assert-initializer
2017-11-08 22:59:49 +01:00
Yegor
a75f003b9c add within matcher for comparing metric-space values (#12908) 2017-11-08 13:36:16 -08:00
Mikkel Nygaard Ravn
b04b89ac95 Clarify documented semantics of StatefulWidget (#12880) 2017-11-08 20:39:05 +01:00
Ulf Sauer
7837fe6ebb Fix duplicate word in documentation (#12874) 2017-11-08 11:24:16 -08:00
Yegor
d4830fcf1b smoke test VM service connection before returning VMService object (#12914) 2017-11-08 10:43:47 -08:00
Chris Bracken
e1cbbc1c18 Roll engine to dd6585bb9a5d74dd3c7378e80086d39f378e02a6 (#12918) 2017-11-07 19:28:42 -08:00
amirh
48d48e2611 roll engine to 179bd4a79913df6c23f97c1940388f4b78aa7476 (#12916) 2017-11-07 18:14:22 -08:00
Hans Muller
c4cdbf86eb Transform Widget alignment is AlignmentGeometry (#12870)
* a => an
2017-11-07 14:43:57 -08:00
Todd Volkert
16c363ac07 Clarify docs in FlutterDriver.requestData() (#12909) 2017-11-07 14:43:41 -08:00
xster
8f79643680 Error message for unregistered phone (#12911) 2017-11-07 13:23:43 -08:00