James D. Lin
566c1d1124
flutter_tools: Prefer using .of() over .from() when possible ( #55250 )
...
Prefer using `.of()` (which is statically type-checked) over
`.from()` (which is dynamically type-checked) when possible.
2020-04-21 22:09:50 -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
Katarina Sheremet
d8f353af5b
Support tags when running tests from command line ( #55152 )
2020-04-21 10:35:13 -07:00
Jenn Magder
8109dcc2b4
CrashReportSender dependency injection ( #54924 )
2020-04-20 15:23:09 -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
b7e30cfc26
[flutter_tools] update compilation to use package config ( #54467 )
2020-04-20 14:02:49 -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
Devon Carew
f050ee67e6
prettify the flutter web bootstrap file ( #55125 )
2020-04-20 08:24:50 -07:00
Jenn Magder
fc76fc2a96
Move GitHubTemplateCreator into reporting library ( #55002 )
2020-04-17 10:47:12 -07:00
Anna Gringauze
bc1c1b2ff8
Add flag to enable expression evaluation for web ( #55003 )
...
* Add flag to enable expression evaluation for web
Added flag --web-enable-expression-evaluation to flutter run commmand
that enables expression evaluation from IDEs for web target. Disabled
by default.
Helps https://github.com/flutter/flutter/issues/54520
* Update packages/flutter_tools/lib/src/build_runner/resident_web_runner.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-04-17 10:42:02 -07:00
Anna Gringauze
b69b2a8c9e
Convert expression evaluation exceptions to errors ( #54916 )
2020-04-17 10:40:02 -07:00
Zachary Anderson
bec63a54bf
[flutter_tools] Provide global options with subcommand help text ( #54884 )
2020-04-17 08:54:48 -07:00
Jonah Williams
4ee618bb72
[flutter_tools] don't elapse real time during fallback test ( #54717 )
2020-04-16 15:49:08 -07:00
Jonah Williams
e6abda7f00
[flutter_tools] remove Isolate implementations of vm_service methods ( #54920 )
2020-04-16 15:48:21 -07:00
Jenn Magder
66d77ca048
Support armv7s architecture ( #54989 )
2020-04-16 15:18:33 -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
Jonah Williams
ac20b614c5
[flutter_tools] ensure EventPrinter handles a null parent ( #54918 )
2020-04-15 20:10:16 -07:00
Jenn Magder
457972b757
Move doctor into globals ( #54912 )
...
* Move doctor into globals
* Fix tests
2020-04-15 19:44:42 -07:00
tauu
56b7c93584
[flutter_tools] fix build for projects with watchOS companion app ( #51126 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-15 12:13:06 -07:00
Jonah Williams
c141a53f9a
[flutter_tools] support any as a special web-hostname ( #54715 )
2020-04-15 10:55:01 -07:00
Jonah Williams
b6262e7c1c
[flutter_tools] remove runFromSource, move runInView to vm_service extension ( #54700 )
2020-04-15 10:35:01 -07:00
Jonah Williams
159710ecc5
[flutter_tools] fix response format of flutterVersion, flutterMemoryInfo ( #54786 )
2020-04-14 15:37:49 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration ( #54691 )
2020-04-14 13:01:54 -07:00
Jenn Magder
ddf63a8b05
Remove Finder extended attributes from iOS project files ( #54488 )
2020-04-14 11:07:51 -07:00
Zachary Anderson
57dd045cef
[flutter_tools] Handle empty gzip file on Windows ( #54679 )
...
* [flutter_tools] Handle empty gzip file on Windows
* Update packages/flutter_tools/test/general.shard/base/os_test.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update packages/flutter_tools/test/general.shard/base/os_test.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update packages/flutter_tools/test/general.shard/base/os_test.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-04-14 09:42:26 -07:00
Jonah Williams
9cc69d47a5
[flutter_tools] support machine and coverage together but for real ( #54692 )
2020-04-13 19:00:02 -07:00
Jonah Williams
8ed40ddd4b
[flutter_tools] refactor FlutterManifest to be context-free ( #54555 )
2020-04-13 18:55:01 -07:00
Jonah Williams
723bc76847
[flutter_tools] update coverage collector to use vmservice api ( #54682 )
2020-04-13 16:10:02 -07:00
Jonah Williams
ee43de0476
[flutter_tools] support enable-experiment in flutter analyze ( #54613 )
2020-04-13 16:00:03 -07:00
Jonah Williams
9cb9bfbd7c
[flutter_tools] use new output location for the apk ( #54328 )
2020-04-13 15:55:02 -07:00
Emmanuel Garcia
54dba4cd59
Don't import plugins that don't support android in settings.gradle ( #54407 )
2020-04-12 08:55: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
Jonah Williams
5adfd38dde
[flutter_tools] Move service methods to VmService extension methods ( #54337 )
2020-04-10 10:33:07 -07:00
Shi-Hao Hong
c16c3b0443
[gen_l10n] Expand integration tests ( #54314 )
2020-04-10 10:25:03 -07:00
Jenn Magder
df63c82c9c
Convert iOS simulator log reader to simctl, use unified logging filters ( #54154 )
2020-04-09 14:35:01 -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
Per Classon
4451ffca23
Add option for deferred loading to gen_l10n ( #53824 )
2020-04-09 03:57:01 -07:00
Jonah Williams
cb8bafb38d
[flutter_tools] surgically remove outputs from shared directory ( #53962 )
2020-04-08 19:09:59 -07:00
Shi-Hao Hong
5d63637e43
[gen_l10n] Fallback feature for untranslated messages ( #53374 )
...
* Generate methods using template resources if they do not exist in other locales
* Added a flag to either output of messages that have not been translated with detail into a file, or display a summary on the terminal.
* Add integration test for fallback message usage
2020-04-08 18:55:50 -07:00
Jonah Williams
412e4dd50e
[flutter_tools] migrate devfs web to package_config ( #54299 )
2020-04-08 14:41:11 -07:00
Christopher Fujino
19c8948e61
Fix frameworkVersionFor
for flutter doctor and usage ( #54217 )
2020-04-08 12:47:05 -07:00
Jonah Williams
4851888864
[flutter_tools] Migrate to package:vm_service 4: trigonometric boogaloo ( #54132 )
2020-04-08 12:33:33 -07:00
Zachary Anderson
090fc5cc53
[flutter_tools] Use gzip level 1 for devfs transfer compression ( #54123 )
2020-04-08 09:07:02 -07:00
Jonah Williams
fa35698ee3
[flutter_tools] allow passing non-config inputs ( #54228 )
2020-04-08 09:04:32 -07:00
Danny Tuppeny
589b14d841
Add a switch to use WebSockets for web debug proxy ( #54083 )
2020-04-08 09:02:03 -07:00
Jonah Williams
981afe39ae
[flutter_tools] ensure build fails if asset files are missing ( #54233 )
...
Ensure build fails if asset files are missing and that stderr messages are forwarded through Gradle
2020-04-07 19:42:57 -07:00
Jason Simmons
c663cd55a7
[flutter_tools] Refresh VM state before executing hot reload ( #53960 )
2020-04-07 15:41:02 -07:00
Per Classon
e8d2907595
[gen_l10n] Handle single, double quotes, and dollar signs in strings ( #54185 )
2020-04-07 12:21:02 -07:00
Jonah Williams
08fe78fff9
[flutter_tools] write SkSL file to local file ( #53859 )
2020-04-07 12:17:39 -07:00
Jonah Williams
98e43bc6ae
[flutter_tools] ensure the tool can find SDK manager on windows ( #54133 )
2020-04-06 13:41:14 -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
4037e5069e
[flutter_tools] update asset manifest to use package_config instead of package_map ( #53944 )
2020-04-06 11:25:05 -07:00
Jenn Magder
602475e56f
Sanitize error message sent to GitHub crash reporter ( #53936 )
2020-04-06 11:00:22 -07:00
Jonah Williams
61b3361781
Revert "[flutter_tools] Migrate to vm service 3 (reland): electric boogaloo ( #53957 )" ( #54114 )
...
This reverts commit d6b09626f2
.
2020-04-06 10:36:14 -07:00
Jonah Williams
d6b09626f2
[flutter_tools] Migrate to vm service 3 (reland): electric boogaloo ( #53957 )
2020-04-06 10:18:41 -07:00
Jonah Williams
f9c58bea49
[flutter_tools] also listen to web stderr stream ( #53949 )
2020-04-04 21:31:55 -07:00
Zachary Anderson
fef9d4d7cd
[flutter_tools] Launch DevTools with 'v' ( #53902 )
2020-04-04 19:51:01 -07:00
Shi-Hao Hong
4e811d2819
[gen_l10n] Fix plural parsing for translated messages ( #53954 )
2020-04-03 15:46:01 -07:00
Jonah Williams
58acf4e7b0
Revert "[flutter_tools] surgically remove outputs from shared directory ( #53773 )" ( #53956 )
...
This reverts commit 8a3bede1d3
.
2020-04-03 14:22:37 -07:00
Jonah Williams
8a3bede1d3
[flutter_tools] surgically remove outputs from shared directory ( #53773 )
2020-04-03 14:11:01 -07:00
Jonah Williams
66f4907754
Revert "[flutter_tools] update to package vm_service: electric boogaloo ( #53809 )" ( #53951 )
...
This reverts commit 66d7a6c266
.
2020-04-03 14:00:07 -07:00
Jonah Williams
1e86c1fb12
[flutter_tools] re-enable debug extension ( #53765 )
2020-04-03 13:26:15 -07:00
Jonah Williams
66d7a6c266
[flutter_tools] update to package vm_service: electric boogaloo ( #53809 )
2020-04-03 12:38:56 -07:00
Francisco Magdaleno
e012752634
[flutter_tools] Don't generate native registrant classes if no pluginClass is defined ( #53785 )
2020-04-03 11:51:01 -07:00
Jenn Magder
85ad699865
Remove URL shortening from GitHub reporter similar issues URL ( #53882 )
2020-04-03 10:32:55 -07:00
Shi-Hao Hong
6837b0e353
[gen_l10n] Add scriptCode handling ( #53868 )
...
* [gen_l10n] Add scriptCode handling
2020-04-03 09:46:01 -07:00
Christopher Fujino
2396616e09
Support old and new git release tag formats ( #53715 )
2020-04-03 09:39:28 -07:00
Jenn Magder
77ea848c46
Inject Usage dependency into FallbackDiscovery and BuildEvent ( #53443 )
...
* Usage dependency injection
* Review edits
2020-04-02 10:57:37 -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
Christopher Fujino
1a685e03a2
Improve downgrade-upgrade integration test ( #53775 )
2020-04-02 10:35:30 -07:00
Zachary Anderson
6fddb7ee8c
[flutter_tools] Handle full device when creating a temp directory ( #53691 )
2020-04-02 10:31:03 -07:00
Anna Gringauze
3a0d837741
Enable expression evaluation in debugger for web platform ( #53595 )
2020-04-02 10:26:03 -07:00
Shi-Hao Hong
19e7db585d
[gen_l10n] Escape special JSON characters in generateString utility function ( #53605 )
2020-04-01 11:16:01 -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
Lau Ching Jun
587b622396
Fuchsia device is ephemeral. ( #53717 )
2020-04-01 00:51:02 -07:00
Jonah Williams
bb5c340066
[flutter_tools] cache the base URL as index.html ( #53666 )
2020-04-01 00:36:02 -07:00
Jenn Magder
ad07c4041a
Delete unused NDK location checks ( #53694 )
2020-03-31 14:53:49 -07:00
Mubarak Imam
df90bb5fd6
fix issue with multiple java runtimes on macOS ( #52474 )
2020-03-31 11:36:01 -07:00
Jonah Williams
7bf74c3460
[flutter_tools] handle unsafe build outputs ( #53601 )
2020-03-31 11:01:01 -07:00
stuartmorgan
a2d62df3ee
Use feature flags for desktop cache ( #53608 )
2020-03-30 21:51:48 -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
Jonah Williams
4605b51a7e
[flutter_tools] use package Uuid consistently ( #53492 )
2020-03-30 12:46:06 -07:00
Dan Field
c8efcb632b
Only fetch tags when not on dev/beta/stable ( #53450 )
2020-03-27 22:31:01 -07:00
Jonah Williams
8403930d41
[flutter_tools] unpin SDK deps when upgrading packages ( #53429 )
2020-03-27 22:11:01 -07:00
Jenn Magder
ce40fbaf51
Include metadata in GitHub crash template ( #53118 )
2020-03-27 16:21:45 -07:00
Jenn Magder
57b0ddbd60
Uninstall app flag ( #53385 )
2020-03-27 10:13:54 -07:00
Jonah Williams
be3a4b37b3
[flutter_tools] don't trim log messages from the web ( #53379 )
2020-03-26 18:08:05 -07:00
Jonah Williams
2717eb6413
[flutter tools] rewrite launch non-prebuilt app tests ( #53351 )
2020-03-26 17:36:02 -07:00
Jonah Williams
c5800fe107
[flutter_tools] update iOS deploy tests for best practices ( #53343 )
2020-03-26 17:31:01 -07:00
Dmitry Borodin
5a3e7e4366
Updated obsolete URL ( #52158 )
2020-03-26 14:34:00 -07:00