Commit Graph

5939 Commits

Author SHA1 Message Date
Jonah Williams
d983c1d1ae Ensure Chrome is closed on tab close (#43586) 2019-10-28 10:26:18 -07:00
Zachary Anderson
0dfabb2ae1 [flutter_tool] Use engine flutter_runner prebuilts (#43381)
* [flutter_tool] Use engine flutter_runner prebuilts

* Update packages/flutter_tools/lib/src/fuchsia/fuchsia_build.dart

Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
2019-10-28 09:38:08 -07:00
Jonah Williams
ab260bacd2 Refactor BuildMode into class, add jit_release configuration (#42476) 2019-10-28 09:37:29 -07:00
Jonah Williams
553662d101 Catch AppConnectionException from dwds (#43544) 2019-10-25 20:35:19 -07:00
Jonah Williams
4bd5eb5915 Enable track widget creation on by default (#43471) 2019-10-25 15:04:06 -07:00
Jonah Williams
4c47fdadd4 Add devfs for incremental compiler JavaScript bundle (#43219) 2019-10-25 15:03:13 -07:00
Jonah Williams
ed931e7941 initial bootstrap script for incremental compiler support (#43292)
* initial bootstrap script for incremental compiler support

* add more comments

* update to two scripts
2019-10-25 15:03:00 -07:00
Jonah Williams
ae207b5e42 Handle permission error during flutter clean (#43401) 2019-10-25 15:02:38 -07:00
Harry Terkelsen
eba69caf97 Don't html-escape in the plugin registrant templates. (#43448)
* Don't html-escape in the plugin registrant templates.

Fixes #43382

* Add test
2019-10-25 15:00:05 -07:00
Yegor
903ebd714d Fix and enable most of material tests for Web (#43019) 2019-10-24 21:35:14 -07:00
Jonah Williams
b9eb3f717a Revert "Enable dump-skp-on-shader-compilation in drive (#43022)" (#43438)
This reverts commit 4f385c8fb7.
2019-10-24 11:18:55 -07:00
liyuqian
4f385c8fb7 Enable dump-skp-on-shader-compilation in drive (#43022) 2019-10-24 11:04:59 -07:00
Jonah Williams
c1d3ca07fe catch ChromeDebugException from dwds (#43390) 2019-10-24 10:55:42 -07:00
Harry Terkelsen
dee4232d0c For --profile builds on web, still use -O4 but unminified names. (#43214) 2019-10-24 10:08:12 -07:00
Jonah Williams
096a8ac40a handle format error from vswhere (#43402) 2019-10-24 10:07:05 -07:00
Jonah Williams
9e7b6f9500 Catch version and option skew errors from build_daemon (#43403) 2019-10-24 09:06:45 -07:00
Jonah Williams
2237451711 Don't eagerly call runMain when --start-paused is provided to web application (#42144) 2019-10-24 07:57:52 -07:00
Jonah Williams
4c677e4148 Extra defensive programming for pub modification time assert (#43315) 2019-10-22 22:05:00 -07:00
James D. Lin
83704b1d91 Make ProjectFileInvalidator.findInvalidated able to use the async FileStat.stat (#42028)
Empirical measurements indicate on the network file system we use
internally, using `FileStat.stat` on thousands of files is much
faster than using `FileStat.statSync`. (It can be slower for files
on a local SSD, however.)

Add a flag to `ProjectFileInvalidator.findInvalidated` to let it
use `FileStat.stat` instead of `FileStat.statSync` when scanning for
modified files.  This can be enabled by overriding `HotRunnerConfig`.

I considered creating a separate, asynchronous version of
`findInvalidated`, but that led to more code duplication than I
liked, and it would be harder to avoid drift between the versions.
2019-10-22 20:48:23 -07:00
Jonah Williams
016ca1a0f1 Catch io.StdinException from failure to set stdin echo/line mode (#43225) 2019-10-22 20:35:43 -07:00
Jonah Williams
79a985f9fd Add compiler configuration to support dartdevc target (#43281) 2019-10-22 20:35:05 -07:00
Jonah Williams
8cac409d90 Clarify hot restart behavior on the web (#42931) 2019-10-22 12:36:56 -07:00
Jonah Williams
46ea99122b Revert "Extra defensive programming for pub modification time assert (#42491)" (#43235)
This reverts commit 3597bae6a0.
2019-10-21 20:54:02 -07:00
Ian Hickson
3597bae6a0 Extra defensive programming for pub modification time assert (#42491) 2019-10-21 20:15:20 -07:00
Emmanuel Garcia
e82ddc4c7a Ensure android.enableR8 is appended to a new line (#43187) 2019-10-21 16:52:30 -07:00
Jonah Williams
27105cba2f switch dart2js build to depfile, remove Source.function (#42977) 2019-10-21 16:46:44 -07:00
Jonah Williams
6c91a13731 Adding missing break in plugin validation check (#43180) 2019-10-21 16:46:07 -07:00
Jonah Williams
31a4ff80c7 add samsungexynos7570 to list of known physical devices (#43042) 2019-10-21 16:45:48 -07:00
Jonah Williams
6db4c44da8 remove period from URL so that it opens correctly in vscode (#43200) 2019-10-21 16:43:11 -07:00
Jonah Williams
39e4d9d152 Expand scope of rethrown gradle errors (#42966) 2019-10-18 14:56:39 -07:00
Jonah Williams
6fc99e98ad rename headless server to web server (#42970) 2019-10-18 12:41:47 -07:00
Jonah Williams
21be8372c9 implement debugTogglePlatform for the web (#42951) 2019-10-18 12:41:15 -07:00
Jonah Williams
e67f9a3f6c ensure we can disable --track-widget-creation in debug mode (#43016) 2019-10-18 12:40:50 -07:00
Jonah Williams
863fb2f2cc Remove linux-x64 unpack logic (#42962) 2019-10-17 19:22:03 -07:00
Jonah Williams
f53b32eb23 refactor depfile usage and update linux rule (#42487) 2019-10-17 17:42:40 -07:00
Ryan Macnak
315471bfb0 Do not produce an error when encountering a new type in a service response. (#42972)
Flutter tool's service client library tries to "upgrade" sub-components of service responses with higher level model objects. It does this for all members of the response, rather than only those documented in the version it targets, and it errors out when encountering a new type. This causes it to fail when a new field is introduced with a new typed. Clients are required to ignore this.
2019-10-17 16:56:57 -07:00
Ferhat
f7ce5ae3fc [web] Update web runner message with flutter.dev/web (#42676)
* Update web runner message with flutter.dev/web

* Update spoopy test to use Warning instead
2019-10-17 15:08:15 -07:00
Emmanuel Garcia
08c645b3b2 Test the Android embedding v2 (#42708)
* Test the Android embedding v2

* Update integration tests

* Split into shards
2019-10-16 21:26:10 -07:00
Jonah Williams
cb518c4219 Fix progress indicators for release/profile builds of web. (#42857) 2019-10-16 16:10:06 -07:00
Jonah Williams
01f779e97a Fix NPE in Chrome Device (#42813) 2019-10-16 15:46:07 -07:00
Emmanuel Garcia
0a93f4eb75 Remove isNewAndroidEmbeddingEnabled flag when reading an existing pro… (#42684) 2019-10-16 12:47:04 -07:00
Jenn Magder
357d02c87b Always embed Flutter.framework build mode version from Xcode configuration (#42029) 2019-10-15 15:33:55 -07:00
Jonah Williams
ad1d67e0a1 serve correct content type from debug server (#42701) 2019-10-15 15:25:57 -07:00
Jonah Williams
68e768dbcf fix type error in manifest asset bundle (#42791) 2019-10-15 15:25:33 -07:00
liyuqian
31cb44825c Add --cache-sksl flag to drive and run (#42353)
So we can test SkSL precompile using the command line tools.
See https://github.com/flutter/engine/pull/12412.
2019-10-15 14:28:55 -07:00
Jonah Williams
e22d4aa140 Add debugging option to write vmservice address to file after starting (#41583) 2019-10-15 13:05:47 -07:00
Christopher Fujino
428d7d7f2d dispose devices on cleanupAtFinish() for run_cold.dart (#42668) 2019-10-15 12:50:44 -07:00
Jonah Williams
daa7143c08 Unpin test and update packages (#42699) 2019-10-15 12:50:10 -07:00
Jenn Magder
649cf82018 use_modular_headers (#42204) 2019-10-15 12:36:50 -07:00
Jonah Williams
e372641789 Ensure we stop the status when browser connection is complete (#42698) 2019-10-14 21:36:31 -07:00