Zachary Anderson
6f0ed5e142
[flutter_tools] Restore base/platform.dart ( #56410 )
2020-05-06 08:15:39 -07:00
Jonah Williams
9b7b9d795e
[flutter_tools] reland remove flutter view cache ( #56387 )
...
Fixes #56194
Remove caching of FlutterView and poll forever if the list of flutter views is empty. Added test for missing release mode logic.
2020-05-05 12:09:51 -07:00
Jonah Williams
d98d3a973f
Revert "[flutter_tools] remove flutter view cache ( #56223 )" ( #56385 )
...
This reverts commit 209bdcb669
.
2020-05-05 11:15:33 -07:00
Jonah Williams
209bdcb669
[flutter_tools] remove flutter view cache ( #56223 )
...
Remove caching of FlutterView. Perhaps the FlutterView RPC might return an empty list if the VM is not quite up yet? We had some old logic to poll the flutter views RPC for up to 200ms. That doesn't seem like a great approach, so instead we could forgo it entirely and trust that either the views come up before the developer tries to interact, or we crash.
2020-05-05 10:47:01 -07:00
Peter Lauri
f6db8ccd20
[flutter_tools] fix version tag v
stripping and support old "dev" and new "pre" tags ( #55602 )
2020-05-04 11:24:03 -07:00
Jonah Williams
a58d50deb1
[flutter_tools] allow pulling performance data from assemble ( #55699 )
2020-04-29 13:04:59 -07:00
Jonah Williams
534b0608ce
[flutter_tools] remove vm service ( #55794 )
...
Finishes the gradual vm service migration by deleting the flutter tooling's vm_service
2020-04-29 11:52:46 -07:00
Katarina Sheremet
3b067049ad
Support tags in testWidgets ( #55141 )
2020-04-28 15:49:01 -07:00
kwkr
1ac09088c3
Fix/use contains ignoring whitespace ( #55887 )
2020-04-28 13:12:12 -07:00
Jonah Williams
ffcf1db3ca
[flutter_tools] reland migrate FlutterViews to package:vm_service ( #55797 )
...
Move FlutterView and related RPCs to the package:vm_service implementation. Update some getIsolate calls with catchError to match previous behavior.
- Updates tests that were previously mocking FlutterViews to use real views
- Moves the FlutterView cache from VM to FlutterDevice
- Catch SentinelException during Isolate.kill
2020-04-27 17:41:42 -07:00
Jenn Magder
958ab9336f
Revert "[flutter_tools] reland migrate FlutterView to new vmservice ( #55774 )" ( #55788 )
...
This reverts commit a18e6361cf
.
2020-04-27 16:19:25 -07:00
Jonah Williams
a18e6361cf
[flutter_tools] reland migrate FlutterView to new vmservice ( #55774 )
2020-04-27 15:54:59 -07:00
Jenn Magder
d40699a3b8
Remove v prefix in doctor version ( #55773 )
2020-04-27 15:48:22 -07:00
Christopher Fujino
069dc9c72d
[flutter_tools] catch ProcessException and throw ToolExit during upgrade ( #55759 )
2020-04-27 15:04:02 -07:00
Jonah Williams
1ab3878996
[flutter_tools] support --enable-experiment in flutter test ( #55564 )
...
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Jonah Williams
07c451fea9
Revert "[flutter_tools] migrate FlutterView to new vm_service ( #55341 )" ( #55772 )
...
This reverts commit 2e50fd75eb
.
2020-04-27 14:26:56 -07:00
Jonah Williams
2e50fd75eb
[flutter_tools] migrate FlutterView to new vm_service ( #55341 )
...
Move FlutterView and related RPCs to the package:vm_service implementation. Update some getIsolate calls with catchError to match previous behavior.
- Updates tests that were previously mocking FlutterViews to use real views
- Moves the FlutterView cache from VM to FlutterDevice
- Catch SentinelException during Isolate.kill
2020-04-27 14:16:28 -07:00
Jonah Williams
dd88b20435
[flutter_tools] quality pass on Linux build ( #55556 )
...
- Update the Linux build to support most of the build configuration, though like windows most only make sense for profile/release.
- Ensure VERBOSE_SCRIPT_LOGGING is set when the logger is verbose
- Automatically run pub get like other build commands
2020-04-25 19:02:03 -07:00
Christopher Fujino
4552af155c
[flutter_tools] enable flutter upgrade
to support force pushed branches ( #55594 )
2020-04-24 17:55:16 -07:00
Jonah Williams
35edbe3d9d
Revert "[flutter_tools] fix version tag v
stripping ( #55385 )" ( #55577 )
...
This reverts commit c91a3a74ec
.
2020-04-24 09:38:49 -07:00
Peter Lauri
c91a3a74ec
[flutter_tools] fix version tag v
stripping ( #55385 )
2020-04-24 09:11:54 -07:00
Jonah Williams
2f0d41b2a6
[flutter_tools] set test directory base as additional root, allow running without index.html ( #55531 )
2020-04-24 09:09:53 -07:00
Christopher Fujino
37ac9015ad
[flutter_tools] check first for stable tag, then dev tag ( #55342 )
2020-04-23 15:19:27 -07:00
Jonah Williams
543186f105
[flutter_tools] quality pass on windows build ( #55436 )
2020-04-23 12:29:48 -07:00
Jonah Williams
8df0d68633
[flutter_tools] remove globals from pub ( #55412 )
2020-04-22 16:34:12 -07:00
Jonah Williams
27d11da88f
Revert "[flutter_tools] default tree-shake-icons to enabled and improve performance ( #54923 )" ( #55413 )
...
This reverts commit 0b93a9219b
.
2020-04-22 15:43:09 -07:00
Jonah Williams
0b93a9219b
[flutter_tools] default tree-shake-icons to enabled and improve performance ( #54923 )
2020-04-22 13:17:46 -07:00
Jonah Williams
c8164dad80
[flutter_tools] migrate windows to assemble ( #55187 )
2020-04-22 12:26:49 -07:00
Jonah Williams
f2761b6b04
[flutter_tools] refactor Chrome launch logic to remove globals/statics ( #55160 )
2020-04-22 01:28:51 -07:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos ( #54617 )
2020-04-21 20:39:36 -07:00
Katarina Sheremet
d8f353af5b
Support tags when running tests from command line ( #55152 )
2020-04-21 10:35:13 -07:00
Jonah Williams
9202e54704
[flutter_tools] move service extensions off of deprecated vm service ( #55012 )
2020-04-20 15:15:54 -07:00
Jonah Williams
6a390aa7dc
[flutter_tools] fix type error in symbolize ( #55212 )
2020-04-20 12:21:44 -07:00
Jonah Williams
9e72bf565e
[flutter_tools] don't compute hashes of well known artifacts ( #53848 )
2020-04-20 12:21:20 -07:00
kwkr
d21ab5184a
Fix/set mocks defaults ( #54756 )
2020-04-20 12:20:03 -07:00
Jenn Magder
457972b757
Move doctor into globals ( #54912 )
...
* Move doctor into globals
* Fix tests
2020-04-15 19:44:42 -07:00
Jonah Williams
ee43de0476
[flutter_tools] support enable-experiment in flutter analyze ( #54613 )
2020-04-13 16:00:03 -07:00
Herbert Poul
3441743c5c
[macos] build: add build-number and buid-name arguments ( #53928 )
2020-04-11 13:20:01 -07:00
Christopher Fujino
03c566768b
[flutter_tools] Remove fromPlatform from tests ( #54152 )
2020-04-10 16:51:28 -07:00
Christopher Fujino
2adb1fc095
Fix environment leakage in doctor_test ( #54478 )
2020-04-10 13:35:38 -07:00
Jonah Williams
d081364d3c
[flutter_tools] remove indirection around App.framework production ( #53853 )
2020-04-10 13:34:45 -07:00
Jonah Williams
0700be79e5
[flutter_tools] disable cache in devices test ( #54389 )
2020-04-10 10:33:23 -07:00
Kirill Pertsev
d6806392a8
Implements --machine flag for devices
command ( #50581 )
2020-04-09 09:14:16 -07:00
Jonah Williams
74a1b9b33e
[flutter_tools] make verbose macOS builds actually verbose ( #54320 )
2020-04-09 09:00:44 -07:00
Christopher Fujino
19c8948e61
Fix frameworkVersionFor
for flutter doctor and usage ( #54217 )
2020-04-08 12:47:05 -07:00
Jonah Williams
fa35698ee3
[flutter_tools] allow passing non-config inputs ( #54228 )
2020-04-08 09:04:32 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes ( #52507 )
2020-04-06 13:36:01 -07:00
Christopher Fujino
2396616e09
Support old and new git release tag formats ( #53715 )
2020-04-03 09:39:28 -07:00
Ferhat
c3ec1caac2
Replace isInstanceOf<T> uses with isA<T> ( #53834 )
...
* Replace isInstanceOf<T> uses with isA<T>
* Update isInstanceOf in flutter tools
2020-04-02 10:57:07 -07:00
stuartmorgan
445b5a14f2
Precache platform filter change ( #53701 )
...
Makes the following changes to the behavior of precache:
- The --all-platforms flags now fetches all artifacts, rather than just
turning off platform filtering of selected artifacts.
- Explicitly requested artifacts are no longer subject to platform
filtering. E.g., 'precache --ios' will download iOS artifacts on
Windows and Linux (but 'precache' without an 'ios' flag will still
only download iOS artifacts on macOS).
- Desktop platform artifacts now respect the bypassing of platform
filtering.
Fixes #53272
2020-04-01 10:54:59 -07:00