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
Jonah Williams
72397fd448
[flutter_tools] Lazily inject logger into web devices ( #55961 )
...
Constructing the WebDevices with the global logger too early will lead to them grabbing the StdoutLogger when running in daemon mode. This prevents IDEs from seeing the correct debug message.
2020-04-29 11:35:40 -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
Jonah Williams
d46da3ae11
[flutter_tools] remove PackageMap and finish PackageConfig migration ( #55244 )
2020-04-21 19:55:15 -07:00
Jonah Williams
77c05f7501
[flutter_tools] check if requireloader is defined ( #55085 )
2020-04-20 13:02:26 -07:00
Jonah Williams
9e72bf565e
[flutter_tools] don't compute hashes of well known artifacts ( #53848 )
2020-04-20 12:21:20 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines ( #54973 )
2020-04-16 10:56:49 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )" ( #54967 )
...
This reverts commit b8bd09db21
.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )
2020-04-15 22:25:32 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes ( #52507 )
2020-04-06 13:36:01 -07:00
Jonah Williams
72343ee0e4
[flutter_tools] refactor build_system and targets to be context-free ( #53268 )
2020-03-30 12:51:04 -07:00
xster
1376746237
Reland #53153 to attach to existing modules and apps for Android ( #53289 )
2020-03-25 16:45:49 -07:00
Jenn Magder
b684041bb8
Revert "Let flutter attach find the service port by looking through old logs again ( #53153 )" ( #53282 )
...
This reverts commit 0c5ffdc9ef
.
2020-03-25 10:53:45 -07:00
xster
0c5ffdc9ef
Let flutter attach find the service port by looking through old logs again ( #53153 )
2020-03-24 23:26:01 -07:00
Devon Carew
d6614dbafd
save and restore the chrome session local storage information ( #53030 )
...
save and restore the chrome session local storage information
2020-03-24 12:20:13 -07:00
Jenn Magder
70c651b0a4
Move BuildSystem to globals ( #53139 )
2020-03-24 11:23:10 -07:00
Yegor
7b4c195f99
Fix web test flakiness; enable web golden tests ( #52789 )
...
* Fix web test flakiness; enable web golden tests
The fix is three-part:
- Only allow one test to load _and_ test at any point in time.
- Use a fresh Chrome instance for each test file.
- Increase Cirrus resources.
The first two changes only fix the "Unknown error loading" error, but not hanging tests. The resource increase also prevents hanging tests.
Other minor changes:
- Remove test batching (it's no longer necessary)
- Fix the Chrome class, which was using the wrong Completer.
2020-03-18 15:11:48 -07:00
Jonah Williams
6884086e5c
[flutter_tools] Update to latest dwds APIs ( #51004 )
...
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Jenn Magder
2f216ceee5
Add timeout flag to devices command, pipe through discovery ( #51678 )
2020-03-16 14:15:00 -07:00
Jonah Williams
028b7dced1
[flutter_tools] remove context from WebWorkflow ( #52613 )
2020-03-16 11:33:00 -07:00
Jonah Williams
fdb7bd3c0f
[flutter_tools] attempt to fix .first crasher in web loading ( #52301 )
2020-03-10 12:09:37 -07:00
Jonah Williams
c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds ( #52044 )
2020-03-06 14:53:36 -08:00
Jenn Magder
f6a55125d2
Add usage event for failed iOS project migration ( #51879 )
2020-03-06 12:14:29 -08:00
Zachary Anderson
6c408a0567
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #52021 )
...
* Reland: [flutter_tool] Where possible, catch only subtypes of Exception
* Add armv7f to getIOSArchForName
2020-03-06 10:22:12 -08:00
Jonah Williams
8872d1d8c4
[flutter_tools] Reland: supports tree-shake-icons for web builds ( #52054 )
2020-03-05 17:18:44 -08:00
Jonah Williams
c411f588c6
Revert "[flutter_tools] supports tree-shake-icons for web builds ( #51808 )" ( #52045 )
...
This reverts commit aed961993d
.
2020-03-05 13:02:22 -08:00
Jonah Williams
ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )" ( #52041 )
...
This reverts commit ee60eeea3e
.
2020-03-05 12:51:42 -08:00
Jonah Williams
ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )
2020-03-05 12:38:40 -08:00
Jonah Williams
aed961993d
[flutter_tools] supports tree-shake-icons for web builds ( #51808 )
...
* [flutter_tools] supports tree-shake-icons for web builds
* Update compile.dart
* fix icon_tree_shaker
2020-03-05 12:35:04 -08:00
Jenn Magder
cbbb7ec5a7
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )" ( #51960 )
...
This reverts commit 57c6721cd5
.
2020-03-04 12:40:15 -08:00
Flutter GitHub Bot
57c6721cd5
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )
2020-03-04 11:41:02 -08:00
Zachary Anderson
b32ee2f15c
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )" ( #51616 )
...
This reverts commit 9de7787f25
.
2020-02-27 22:57:13 -08:00
Zachary Anderson
9de7787f25
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )
2020-02-27 22:46:23 -08:00
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
65a7941228
[flutter_tools] reduce globals in web validator and chrome launcher ( #51443 )
2020-02-26 10:37:52 -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
Angjie Li
5ee4147283
Allow developers to run flutter driver web test directly ( #51084 )
2020-02-22 16:49:03 -08:00
Jonah Williams
67362ce5e0
[flutter_tools] fix debug stack traces ( #50872 )
2020-02-18 11:28:02 -08:00
Jonah Williams
ea4d969ecc
[flutter_tools] move dwds imports to not require g3 visibility ( #50823 )
2020-02-14 14:56:03 -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
Jonah Williams
550c82d5d4
[flutter_tools] initialize web stack trace formatter ( #50680 )
2020-02-13 10:03:02 -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
Jonah Williams
18f38cd45b
Switch flutter_tools to use frontend_server for web compilation ( #50365 )
2020-02-11 15:43:46 -08:00
Alexandre Ardhuin
b953c3e5a8
use raw strings to avoid escaping ( #50322 )
2020-02-07 16:35:55 +01:00
Alexandre Ardhuin
5c28e3eeea
unnecessary escapes fixes ( #50178 )
...
* unnecessary escapes fixes
* replace some strings with raw strings
* update regexp
* address review comments
2020-02-07 06:35:50 +01:00