Commit graph

10895 commits

Author SHA1 Message Date
Danny Tuppeny 11076bfb43 Add missing awaits 2018-05-09 16:03:59 +01:00
Danny Tuppeny f850d04ef4 Add missing await 2018-05-09 16:03:59 +01:00
Danny Tuppeny 3cb539fdb5 Switch streams to Future<Lists> 2018-05-09 16:03:59 +01:00
Danny Tuppeny e456330a91 Remove superflous whitespace 2018-05-09 16:03:59 +01:00
Danny Tuppeny 3bb6b5e660 Remove TODO
I can't come up with a better name; anything with Simulator or Device in it will be confused with the existing IOSSimulator/Device classes (which represent the running devices).
2018-05-09 16:03:59 +01:00
Danny Tuppeny a43dfe2000 Change start->launch when refering to emulators 2018-05-09 16:03:59 +01:00
Danny Tuppeny 16dc94ef93 Update "no devices" text to suggest "flutter emulators" 2018-05-09 16:03:59 +01:00
Danny Tuppeny b4c967abee Re-order columns 2018-05-09 16:03:59 +01:00
Danny Tuppeny ed3807d0e3 Use null instead of empty 2018-05-09 16:03:59 +01:00
Danny Tuppeny 76815faeac Flatten descriptions from Stream to List 2018-05-09 16:03:59 +01:00
Danny Tuppeny b5a3d26f75 Fix typo 2018-05-09 16:03:59 +01:00
Danny Tuppeny 445273f7d5 Fix filtering of emulator list
`flutter emulators nexus` will now return only those that'd match (eg. same things that `flutter emulators --start nexus` would match).
2018-05-09 16:03:59 +01:00
Danny Tuppeny 3626556d21 Remove unused code 2018-05-09 16:03:59 +01:00
Danny Tuppeny b7497d558f Remove unused emulator diagnostics 2018-05-09 16:03:59 +01:00
Danny Tuppeny e2b8c86b96 Add dantup to TODO comments 2018-05-09 16:03:59 +01:00
Danny Tuppeny 259dd571a2 Remove newline 2018-05-09 16:03:59 +01:00
Danny Tuppeny 2144c7a6d3 Tweak text because we check IDs and names
And it's not obvious to the use what the ID is.
2018-05-09 16:03:59 +01:00
Danny Tuppeny 1c7dce3406 Improve text 2018-05-09 16:03:59 +01:00
Danny Tuppeny 90bdcef9f9 Remove redundant lines from errors 2018-05-09 16:03:59 +01:00
Danny Tuppeny da5a64ec7f More Windows fixes
Added an exists check to ensure we don't try to run if emulator is missing, but that requires the file extension for Windows.
2018-05-09 16:03:59 +01:00
Danny Tuppeny 03b5fe3d94 Handle nulls caused by missing information 2018-05-09 16:03:59 +01:00
Danny Tuppeny 1037586dd7 Don't try to build emulators from empty output 2018-05-09 16:03:59 +01:00
Danny Tuppeny fe762666a2 Improve error message when no AVD path 2018-05-09 16:03:59 +01:00
Danny Tuppeny 7a33888693 Tidy up 2018-05-09 16:03:59 +01:00
Danny Tuppeny 5793a3c372 Fix crash on Windows caused by no HOME var
Windows sets HOMEDRIVE/HOMEPATH.
2018-05-09 16:03:59 +01:00
Danny Tuppeny b096c57bbd Remove launch status
It's too fast and leaves weird output on the screen
2018-05-09 16:03:59 +01:00
Danny Tuppeny cec37ab46a Fix typo 2018-05-09 16:03:59 +01:00
Danny Tuppeny 6ff84d084b Improve formatting 2018-05-09 16:03:59 +01:00
Danny Tuppeny c0b2e78391 Add support for iOS Simulator in flutter emulators 2018-05-09 16:03:59 +01:00
Danny Tuppeny 799678f0a7 Add some tests around device+ini parsing 2018-05-09 16:03:59 +01:00
Danny Tuppeny 4c67885b8e Add support for launching emulators 2018-05-09 16:03:59 +01:00
Danny Tuppeny 4d7c3c775f Read information about AVDs from config.ini 2018-05-09 16:03:59 +01:00
Danny Tuppeny 486e9534bf Add some emulator tests 2018-05-09 16:03:59 +01:00
Danny Tuppeny 2bdb3bbe0e Fix references to Devices and remove unused properties 2018-05-09 16:03:59 +01:00
Danny Tuppeny 53840fb0ce Add basic support for listing Android AVDs
Very basic support for "flutter emulators" which just lists the available Android AVDs.

Relates to:

https://github.com/flutter/flutter/issues/14822
https://github.com/Dart-Code/Dart-Code/issues/490
https://github.com/flutter/flutter/issues/13379
2018-05-09 16:03:59 +01:00
Todd Volkert 21c2e47f29
Add test of expectAsync.skip (#17415) 2018-05-08 23:23:34 -07:00
Anatoly Pulyaevskiy 50a1d91ff3 Allow customization of TextSpan in EditableText (#16909)
* Allow customization of TextSpan in EditableText

* Addressed PR comments

* Added test with custom-styled EditableText subclass

* More code style fixes
2018-05-08 17:40:54 -07:00
Chris Bracken 8b8d368d2b
Replace --prefer-shared-library with --build-shared-library (#17394)
This replaces the --prefer-shared-library flag, which falls back to
regular (non-shared-lib) compile if the NDK is not found, with the
--build-shared-library flag, which exits with an error message if the
NDK is not found.

This simplifies the set of allowed code paths through AOT compile,
resulting in better testability and easier-to-follow logic. It also
results in more predictable behaviour for continuous integration and
other scenarios.
2018-05-08 17:28:53 -07:00
Todd Volkert d1e49bc6ad
Roll engine to 11d6da3cd9b9449a0d56c068193f9a0addf89e33 (#17405)
This contains the following commits:

flutter/engine@11d6da3 Restore Skia revision
2018-05-08 15:29:52 -07:00
Todd Volkert d130e37aca
Roll engine to 2bc3b3ecf1c6b315d8c80395d287aa8cd5b0baa1 (#17403)
This contains the following commits:

flutter/engine@2bc3b3e Roll Skia back to d8a189fca3cdfa064de75a280d5af34cc5026bbe
flutter/engine@5d4a38c Roll src/third_party/skia/ d925f2d38..efb84e673 (4 commits)
flutter/engine@61b5028 Read/apply settings that apply process wide before creating any shell components.
flutter/engine@2d60865 Roll src/third_party/skia/ e7df0bb90..d925f2d38 (4 commits)
flutter/engine@8898939 Roll Skia to e7df0bb900ec266021bc6bf4477d533ce1b1f749
flutter/engine@8450a00 Roll Skia back to d8a189fca3cdfa064de75a280d5af34cc5026bbe
flutter/engine@3192223 Roll src/third_party/skia/ 6198f39ad..e7df0bb90 (1 commit)
flutter/engine@5f08fca Roll src/third_party/skia/ cea8e3d13..6198f39ad (1 commit)
flutter/engine@a0be877 Make thread names more descriptive.
flutter/engine@9110e89 Expose View:OfferServiceProvider to UI thread components in a thread safe manner.
flutter/engine@eb5bbda Specify a custom isolate snapshot per AOT shell launch.
flutter/engine@d97b6d8 Allow explicit specification of the isolate snapshot.
2018-05-08 15:29:02 -07:00
Chris Bracken 231b9425d6
Block debug AOT snapshot builds (#17393)
We previously blocked iOS AOT builds, but Android debug builds are
always JIT builds.
2018-05-08 11:06:58 -07:00
Chris Bracken 671489ff44
Update kernel compile log message (#17390)
Updates the message emitted when a kernel compile is skipped in the
build bundle action. Since we now use fingerprinting to enable
performance of script snapshots, AOT snapshots, and kernel compiles,
this helps a bit with debugging.

Also switches to trace level logging.
2018-05-08 11:06:40 -07:00
Peter Etelej e54887fb12 Fix minor dartdoc typo (#17381)
Minor typo fix for BottomAppBar doc
2018-05-08 08:17:44 -07:00
Danny Tuppeny 19ad6528e8 Don't write flutter stderr to output
Add to the extension thrown if it fails instead.
2018-05-08 10:23:40 +01:00
Danny Tuppeny 83296e74a1 Pass --run-forever to flutter-tester to ensure it doesn't prematurely quit
Without this, flutter-tester quits immediately after executing main().
2018-05-08 10:23:40 +01:00
Mikkel Nygaard Ravn 61c7171872
Recommend using Cocoapods 1.5.0 (#17308) 2018-05-08 08:02:39 +02:00
xster 372ac6d5d4
Let goldens push via ssh by default (#17369) 2018-05-07 21:52:50 -07:00
xster a811984efc Roll engine to 20b286dd428a0d8dd0f87b7a03ab67fbf0da2836 (#17370) 2018-05-07 21:50:44 -07:00
Todd Volkert 30abc54bdd
Enable deterministic rendering on flutter_tester tests (#17373) 2018-05-07 19:53:34 -07:00
Todd Volkert 2ba0deb77a
Make runAsync() run in child zone, not root zone (#17359)
Some APIs (such as the ones in package:test) assume you're running
in a child zone of the test zone by attempting to extract information
from the zone values. When we run runAsync() in the root zone, those
zone values are lost, and such API methods don't work.

The solution is to run in a child zone, but with a specification that
says to use the Root zone for task scheduling (both timers and
microtakss).
2018-05-07 18:33:44 -07:00