Commit Graph

4129 Commits

Author SHA1 Message Date
Zachary Anderson
483f49962c Revert "[flutter_tool] Where possible, catch only subtypes of Exception (#51440)" (#51539)
This reverts commit f1cd47ef5c.
2020-02-26 23:42:19 -08:00
Zachary Anderson
f1cd47ef5c [flutter_tool] Where possible, catch only subtypes of Exception (#51440) 2020-02-26 21:45:02 -08:00
Jonah Williams
80619f100f [flutter_tools] remove globals from plist parser and update tests (#51444) 2020-02-26 18:31:42 -08:00
Jenn Magder
e31521eab5 Validate empty pubspec plugin section (#51503) 2020-02-26 15:44:35 -08:00
Christopher Fujino
f794091e1d don't do a version check when testing (#51507) 2020-02-26 15:36:02 -08:00
Jenn Magder
0407a318c6 Replace clean command test functions with test groups (#51508) 2020-02-26 15:13:43 -08:00
Alexander Aprelev
0a9b358e3d Fix expression evaluation test leaking flutter_tester processes. (#51496)
* Fix expression evaluation test leaking flutter_tester processes.

Let flutter_tester process complete, wait for it completion, kill the test only if didn't complete on time.

* Type annotation
2020-02-26 13:42:40 -08:00
Lynn
2243c42ebc Fix flutter doctor (pluginsPath) check for Mac (#50324) 2020-02-26 13:41:03 -08:00
Jonah Williams
65a7941228 [flutter_tools] reduce globals in web validator and chrome launcher (#51443) 2020-02-26 10:37:52 -08:00
Jonah Williams
55072246d0 [flutter_tools] remove build script from tool package (#50690) 2020-02-26 08:25:04 -08:00
Jonah Williams
53457c2241 [flutter_tools] Reland initialize frontend_sever with build (#51477) 2020-02-26 08:06:03 -08:00
Jonah Williams
421056ee54 Revert "[flutter_tools] initialize frontend server with build (#49405)" (#51476)
This reverts commit 59cc3cdf01.
2020-02-26 07:24:18 -08:00
Zachary Anderson
bc4bd7bd55 [flutter_tools] Don't try to run pub before the version command (#51436) 2020-02-25 17:19:47 -05:00
stuartmorgan
22c807773a Automatically add plugin projects to Windows .sln (#51246)
Adds utility code for managing list of plugin projects within a solution file, updating them as the plugins change.

This is a prototype of an approach to solution-level portion of Windows plugin tooling; it may not be what the final plugin handling on Windows uses, but it makes things much better in the short term, and gives us a baseline to evaluate other possible solution management systems against.

Part of #32719
2020-02-25 14:16:27 -08:00
Nate Bosch
9228b87eb3 Don't use a default test randomize ordering seed (#51018)
Fixes #51010

The test package differentiates between passing and not passing this
argument. A previous version had a bug that treated passing `0`
identically to not passing the argument, and the flutter test runner
relied on this bug by always passing a value and using a default of `0`.

- Remove the argument defaults throughout to make it clear that `null`
  is a valid value and the default.
- Remove the argument defaulting on the argument parser.
- Update the wording of the usage for this argument, this will also be
  updated on the `package:test` side.
2020-02-25 13:01:40 -08:00
Zachary Anderson
d73dd6b356 [flutter_tools] Rework iOS vmservice handshake failure usage event (#51419) 2020-02-25 15:22:17 -05:00
Christopher Fujino
704fb4cbc7 Remove usage of ideviceinstaller in favor of ios-deploy (#50772) 2020-02-25 09:09:40 -08:00
Hans Muller
9b3754d56f Extend the gen_l10n integration test (#51375) 2020-02-24 16:42:30 -08:00
Jonah Williams
59cc3cdf01 [flutter_tools] initialize frontend server with build (#49405) 2020-02-24 14:21:33 -08:00
Jonah Williams
3411129cc5 [flutter_tools] don't fix chrome window size, add more logs (#51346) 2020-02-24 12:26:05 -08:00
Dan Field
4df8fdb7df update cache for flutter test/fast command (#51235) 2020-02-22 18:24:03 -08:00
Angjie Li
5ee4147283 Allow developers to run flutter driver web test directly (#51084) 2020-02-22 16:49:03 -08:00
Jonah Williams
bb74a328b5 [flutter_tools] adds etag/cache control header to debug asset server (#51143) 2020-02-21 14:15:54 -08:00
Jonah Williams
25a813110d [flutter_tools] reload dart_sdk when sources update (#51067) 2020-02-20 12:26:47 -08:00
Alexandre Ardhuin
7d7ac7c32b start multiline strings with newline (#50825) 2020-02-20 10:16:28 +01:00
Jonah Williams
6d0b1ef868 [flutter_tools] include LICENSE files as build dependencies (#50945) 2020-02-19 18:56:04 -08:00
Jonah Williams
9295b34850 cleanup of tool build tests (#50904) 2020-02-19 18:46:04 -08:00
Jenn Magder
85b54d4c0c Change DeviceManager.getAllConnectedDevices() return value from Stream to List (#51015) 2020-02-19 17:40:24 -08:00
Francisco Magdaleno
6815e72086 Revert "[flutter_tools] move engine unpack to the flutter tool (#50707)" (#51076)
This reverts commit 0a623e879c.
2020-02-19 13:55:48 -08:00
Jonah Williams
0a623e879c [flutter_tools] move engine unpack to the flutter tool (#50707) 2020-02-19 13:36:04 -08:00
Angjie Li
11549e45a3 Use Async WebDriver for WebFlutterDriver. (#50835) 2020-02-19 13:31:10 -08:00
Martin Kustermann
d2947571bd Ensure to close connection to VM after collecting coverage (#50943) 2020-02-18 12:39:37 -08:00
Jacob MacDonald
11589ca20d serve the generated main.dart file so source_maps work for it (#50976) 2020-02-18 12:36:03 -08:00
Jonah Williams
57acc68740 [flutter_tools] ensure zoned errors are caught in new web runner (#50895) 2020-02-18 11:27:14 -08:00
Jonah Williams
3bb4ba61bd [flutter_tools] use uri resolution for asset requests (#50844) 2020-02-14 21:46:03 -08:00
Jonah Williams
238dac141b Revert "[flutter_tools] More Linux version detail (#50739)" (#50840)
This reverts commit c725f107a1.
2020-02-14 16:10:47 -08:00
Jonah Williams
ea4d969ecc [flutter_tools] move dwds imports to not require g3 visibility (#50823) 2020-02-14 14:56:03 -08:00
Zachary Anderson
bf32974189 [flutter_tools] Handle asynchronous errors writing to stdio (#50779) 2020-02-14 10:38:02 -08:00
Zachary Anderson
c268b6c3d4 [flutter_tools] Collect more information in ios-handshake failure event (#50804) 2020-02-14 09:40:52 -08:00
Yegor
b34046903b Fix stack trace parsing on non-debug builds; add e2e tests (#50652)
* Fix stack trace parsing on non-debug builds; add e2e tests
2020-02-13 18:34:08 -08:00
Zachary Anderson
c725f107a1 [flutter_tools] More Linux version detail (#50739) 2020-02-13 14:49:11 -08:00
Jonah Williams
9431229e4c [flutter_tools] remove globals from depfile usage (#50710) 2020-02-13 13:59:40 -08:00
stuartmorgan
f4177a6dde Generate a Property Sheet for Windows plugins (#50740)
Generates a Property Sheet for Windows builds containing link and include path
information for any included plugins. This allows automating part of the process
of integrating plugins into the build that is currently manual.

To support this change, refactored msbuild_utils into a PropertySheet class so that
it can be used to make different property sheets.
2020-02-13 12:53:28 -08:00
Jonah Williams
e2554a9202 Add "flutter downgrade" command (#50506) 2020-02-13 11:56:45 -08:00
Jonah Williams
d3a41816d1 [flutter_tools] ensure all source maps load correctly for release and profile (#50702) 2020-02-13 10:01:04 -08:00
Zachary Anderson
450fc25c1e [flutter_tool] Disable analytics on more bots (#50669) 2020-02-13 09:58:03 -08:00
stuartmorgan
7bdd4757ec Create plugin symlinks for Windows and Linux (#50599)
This makes ephemeral symlinks to each plugin, for use by build systems.
This is similar to the logic implemented in the Podfile on iOS and
macOS, but managed internally to the Flutter tool.

Exploration for addressing #32719 and #32720
Related to #41146
2020-02-12 16:23:27 -08:00
Dan Field
24f8f799da add an --enable-vmservice flag (#50663) 2020-02-12 14:52:09 -08:00
Zachary Anderson
b9ecebf101 Reland: [flutter_tools] Disable analytics for more bots (#50641) 2020-02-12 10:58:02 -08:00
Zachary Anderson
1903ce012e Revert "[flutter_tools] Disable analytics for more bots (#50579)" (#50622)
This reverts commit 0a38f29c0d.
2020-02-11 22:47:41 -08:00