Jenn Magder
6ca9cd7b8f
Use real flutter root for finding pub in command integration test ( #64021 )
2020-08-18 17:09:02 -07:00
Jonah Williams
a42c56791b
[flutter_tools] shrink fingerprinter API to currently used subset ( #63840 )
2020-08-18 17:01:06 -07:00
Jonah Williams
39c735f408
[flutter_tools] correctly forward error only stdout in non-verbose modes ( #63815 )
2020-08-18 16:56:05 -07:00
Jonah Williams
f0dd4ad530
[flutter_tools] add more info to coverage script ( #64065 )
...
Also output covered | total lines, and a summary percentage at the end + Kick tree
2020-08-18 12:18:54 -07:00
Jonah Williams
262c48d2ea
[flutter_tools] add cache busting query param ( #63818 )
2020-08-17 22:41:05 -07:00
Albert Viilik
654022aecb
Make deprecation notice link to website downloads ( #63829 )
2020-08-17 17:01:02 -07:00
Jonah Williams
042fa8cf66
[flutter_tools] trim trailing newline from vm service logging events ( #63976 )
2020-08-17 12:26:03 -07:00
Zachary Anderson
1884920e30
[flutter_tool] Handle Windows line endings in packages_test.dart ( #63806 )
2020-08-17 11:41:08 -07:00
stuartmorgan
70bd819c52
Separate blkid in the Linux library checks ( #63810 )
2020-08-17 10:51:03 -07:00
Helin Shiah
3d3b5349a7
Return host and port from devtools launcher ( #63795 )
2020-08-17 10:46:05 -07:00
Jonah Williams
08254b2156
Revert "Remove TODOs added for HTTP abort() change in dart sdk ( #63924 )" ( #63972 )
...
This reverts commit b1c17313f6
.
2020-08-17 10:25:01 -07:00
zichangg
b1c17313f6
Remove TODOs added for HTTP abort() change in dart sdk ( #63924 )
2020-08-17 09:46:08 -07:00
Zachary Anderson
f360d8b8e8
[flutter_tool] Fix some create_test.dart tests on Windows ( #63796 )
2020-08-14 15:26:29 -07:00
Juyeong Lee
5ec7426be7
Remove enableR8=true from gradle.properties ( #63339 )
2020-08-14 10:26:03 -07:00
stuartmorgan
6f0cfc9524
Surface Windows build errors in non-verbose mode ( #63707 )
2020-08-13 19:46:02 -07:00
Jonah Williams
06c3de3285
[flutter_tools] remove most globals from build system and tests ( #63697 )
...
Remove globals and testbed to simplify test cases, using the existing environment configuration. This is some pre-factoring work to make landing #63610 easier
2020-08-13 15:00:27 -07:00
stuartmorgan
fcbee10da9
[windows] Propagate startup errors in template ( #63612 )
2020-08-13 11:31:03 -07:00
Jonah Williams
2526ef1235
[flutter_tools] update size analysis ( #63617 )
2020-08-13 11:28:52 -07:00
Chase Latta
b1a9f56487
remove fuchsia_entrypoint_shim directory ( #63605 )
2020-08-13 11:26:05 -07:00
Shi-Hao Hong
0a7c6243fa
[gen_l10n] Absolute project path parameter ( #63368 )
2020-08-13 05:11:05 -07:00
Jenn Magder
6b2ef0df7b
Fix App.framework path in Podfile ( #63412 )
2020-08-12 13:36:12 -07:00
Jonah Williams
9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests ( #63536 )
2020-08-11 19:36:05 -07:00
Jonah Williams
16df32b1eb
[flutter_tools] handle invalid yaml in plugin dependency ( #63526 )
2020-08-11 19:31:03 -07:00
Christopher Fujino
8dcb4c338a
Fix version parsing to use git tag --points-at ( #63505 )
2020-08-11 17:29:35 -07:00
xster
df8e537f96
move compile/target sdk versions to 29 ( #62799 ) ( #63008 )
2020-08-11 14:51:02 -07:00
Greg Spencer
a344fb1e2c
Update prepare_package.dart to use the process_runner package instead having duplicate code. ( #62710 )
...
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Jonah Williams
49fac9a885
[flutter_tools] add more error context to tree shaker failure ( #63446 )
2020-08-11 11:44:03 -07:00
Jonah Williams
c86d090e6f
[flutter_tools] add --null-assertions flag for debugging with null safety ( #63416 )
2020-08-11 11:36:03 -07:00
James D. Lin
ec58182b3b
[flutter tools] Make SizeAnalyzer support .apk files that don't use libapp.so ( #63250 )
2020-08-10 21:06:05 -07:00
Michael Klimushyn
cb69bbb4d5
Remove unused l
and --isolate-filter
tools ( #63336 )
2020-08-10 10:51:04 -07:00
Adam Bahr
5cf3c8728c
Update "shortcut icon" to "icon" ( #63154 )
2020-08-07 21:26:03 -07:00
Ming Lyu (CareF)
99ea866247
update packages ( #63017 )
2020-08-06 16:21:05 -07:00
Nolan Scobie
43c1b34cf5
Add punctuation for unterminated sentences in doc comments ( #62755 )
...
* Add punctuation for unterminated sentences in doc comments
* Addressing review nit
2020-08-06 19:18:52 -04:00
Jenn Magder
0aafdf9aa9
Change minimum iOS version from 8.0 to 9.0 ( #62902 )
2020-08-06 13:46:15 -07:00
stuartmorgan
f534d6e669
Add flutter_engine.cc to Windows wrapper build ( #62999 )
2020-08-05 19:26:05 -07:00
Chris Yang
c9cd825fca
[flutter_tools] flutter version reports picks up release versions ( #63019 )
2020-08-05 15:20:27 -07:00
Jonah Williams
762d9f7f4e
[flutter_tools] warn when main library is relocated ( #62930 )
2020-08-05 15:11:15 -07:00
Ian Hickson
ef62463e9c
Update link to bug ( #62893 )
2020-08-05 15:06:24 -07:00
Ian Hickson
8ad4da4a4e
There's a bug filed about this now, so update comment. ( #62892 )
2020-08-05 15:01:21 -07:00
Marcus Tomlinson
145df39953
Explicitly find and link blkid using pkg-config ( #62979 )
2020-08-05 14:56:19 -07:00
Ian Hickson
2939c209aa
Update error message for bad UTF-8 decoding ( #62888 )
2020-08-05 14:56:14 -07:00
Jonah Williams
6393c5b2c3
[flutter_tools] remove reference to flutter tool test from user generated gitignores ( #62926 )
2020-08-04 19:06:04 -07:00
Chris Yang
2459f5c513
plugin template min flutter sdk version to 1.20 ( #62605 )
2020-08-04 12:31:05 -07:00
Jonah Williams
e8ad863a08
Revert "move compile/target sdk versions to 29 ( #62799 )" ( #62884 )
...
This reverts commit 5b3dc5251b
.
2020-08-04 11:20:16 -07:00
xster
5b3dc5251b
move compile/target sdk versions to 29 ( #62799 )
2020-08-04 08:26:08 -07:00
Jonah Williams
a0745e23bf
[flutter_tools] add --analyze-size flag ( #62697 )
2020-08-03 14:21:05 -07:00
Jacob MacDonald
67e9b2945e
update to use more null safe packages ( #62525 )
...
Updates all the dependencies used in the most basic test and flutter_test isolates.
2020-08-03 12:29:30 -07:00
Mehmet Fidanboylu
5a6dfa35ca
Remove mistakenly added DartDevelopmentService dependency ( #62792 )
2020-08-03 10:33:07 -07:00
Jonah Williams
c24772e8fb
[versions] update to the latest sdk versions ( #62687 )
2020-08-03 10:31:06 -07:00
Helin Shiah
5ce7282a36
Return devtools serve response instead of printing ( #62702 )
2020-08-03 10:26:12 -07:00
Helin Shiah
7cbec567de
Add daemon handler to start devtools ( #62608 )
2020-07-31 11:06:05 -07:00
Peter Lee
8b39af2ea7
Implement size analyzer to unzip & parse APK and AOT size snapshot to generate analysis json ( #62495 )
...
* Implement size analyzer to unzip & parse APK and AOT size snapshot to generate analysis json
2020-07-31 13:25:29 -04:00
Jonah Williams
30aef0a3b9
[flutter_tools] add snapshot analysis dependency ( #62590 )
2020-07-30 14:20:21 -07:00
Chris Yang
48fab86c6e
[flutter_tools] update pubspec .yaml message should not be displayed when creating a new plugin ( #62599 )
...
* update pubspec message should not be displayed when creating a new plugin
* formatting
* revikew
* review
* cleanup
2020-07-30 13:49:15 -07:00
Jonah Williams
fbd29b8880
[flutter_tools] fix formatting regression in analyze and add full coverage ( #62593 )
2020-07-30 13:41:02 -07:00
Angjie Li
12397fba6d
Allow Flutter Web Driver testing in debug mode. ( #62577 )
2020-07-30 13:40:04 -07:00
Jonah Williams
b880dad4ab
[flutter_tools] delete test that will start failing ( #62580 )
2020-07-30 10:06:02 -07:00
Ayush Bherwani
87ee003f0c
replaces deprecated api usage for android ( #62515 )
2020-07-29 21:36:04 -07:00
Jonah Williams
234d8fac4d
[flutter_tools] switch cache mode to reload ( #62076 )
2020-07-29 21:26:03 -07:00
Robert Ancell
392e25c8f2
Set the application-id in the Linux shell ( #60053 )
2020-07-30 08:46:29 +12:00
Ben Konyi
d6a25ae699
Temporarily disable Dart Development Service in flutter_tools ( #62508 )
...
Devtools doesn't currently support connections to DDS. Disable DDS
temporarily while a solution is worked on. See https://github.com/flutter/flutter/issues/62507
2020-07-29 12:32:10 -07:00
Yuqian Li
22bf19cece
Add purge-persistent-cache option to run and drive ( #62221 )
...
Fixes https://github.com/flutter/flutter/issues/39526
Needs https://github.com/flutter/engine/pull/20013 to land and roll first.
2020-07-29 12:24:39 -07:00
Ben Konyi
3a5a3eaf68
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #62147 )
...
This reverts commit adc9dde3ba
.
- Fixed issue where `FallbackDiscovery` would hold on to a `VmService` when launching on iOS devices, causing DDS to fail to start
- Fixed `flutter drive` case where DDS is already running in another flutter_tools instance
2020-07-29 10:05:40 -07:00
Jonah Williams
f707f6f6ea
[flutter_tools] add flutterRoot field to JSON machine output ( #62053 )
2020-07-29 08:16:04 -07:00
Lau Ching Jun
a317c2c06a
Wrap launching devtools in DevtoolsLauncher ( #62364 )
2020-07-28 19:46:05 -07:00
Jonah Williams
78efd3eb46
[flutter_tools] ensure desktop builds can run without flutter_tools' package_config ( #62426 )
2020-07-28 18:36:05 -07:00
Chris Yang
004f90f8fd
remove iOS folder ( #61561 )
2020-07-28 10:33:52 -07:00
Jenn Magder
5abe2d3364
Allow hyphens in iOS UDIDs ( #62225 )
2020-07-28 10:29:34 -07:00
includecmath
3215a0130b
[flutter_tools] Unified analyze error log format ( #61146 )
...
* Unified analyze error log format
* Fix review issues
2020-07-28 10:21:57 -07:00
Jonah Williams
59e0a2ec28
[flutter_tools] update device discovery constructors ( #61640 )
...
google3 callsites are updated, remove global lookup from constructor parameters.
2020-07-28 10:20:01 -07:00
Jenn Magder
e8e5de44ec
Parse .flutter-plugins-dependencies for add-to-app iOS modules ( #61269 )
2020-07-28 10:16:09 -07:00
Jonah Williams
d834673033
roll dart/engine to f27729e97b5a00c3a8d8d49edc7b998fa755b97a ( #62368 )
2020-07-27 17:51:31 -07:00
Zachary Anderson
ab3a4b0e69
Revert "bump nullsafety deps ( #61978 )" ( #62234 )
...
This reverts commit c46aa360b0
.
2020-07-24 16:31:42 -07:00
Alexandre Ardhuin
c46aa360b0
bump nullsafety deps ( #61978 )
2020-07-24 16:17:08 -07:00
雷宇辰
7779a14794
[flutter_tools] Make flutter git upstream configurable ( #61513 )
2020-07-24 16:16:31 -07:00
Jenn Magder
f9499f44f7
Detect exact device ID matches quickly ( #62070 )
2020-07-24 16:15:44 -07:00
Will Larche
7782845edd
[Material] Updated icons and fonts ( #61778 )
2020-07-24 15:41:13 -07:00
Jonah Williams
c6dce2318b
[flutter_tools] remove breakpoints from paused isolate on hot restart ( #62069 )
...
The embedder requires that the isolate is unpaused, because the runInView method requires interaction with dart engine APIs that are not thread-safe. These APIs must be run on the same thread that would be blocked by the pause. Simply unpausing is not sufficient, because this does not prevent the isolate from immediately hitting a breakpoint, for example if the breakpoint was placed in a loop or in a frequently called method. Instead, all breakpoints are first disabled and then the isolate resumed.
2020-07-24 15:34:55 -07:00
Jonah Williams
6c6c7ba8ec
[flutter_tools] ensure x64 is built if target-platforms is not specified ( #62096 )
...
In the add-2-app case, users may not specify the android target platforms field, but this only defaults to arm builds. Add x64 to the default list.
Fixes #62095
2020-07-24 15:33:13 -07:00
Zachary Anderson
523afbe58b
Ensure analytics are sent before disabling ( #62094 )
2020-07-24 15:31:18 -07:00
Jonah Williams
a7db3591cb
[flutter_tools] deflake fastReassemble test ( #62152 )
2020-07-24 15:17:39 -07:00
Zachary Anderson
5e0ba2290f
Pass --disable-dart-dev in more places ( #62217 )
2020-07-24 13:37:08 -07:00
Jonah Williams
a19fd72db5
[flutter_tools] check in script for generating per library unit coverage ( #61996 )
...
Allows generating a per-library coverage summary like https://gist.github.com/jonahwilliams/f298381c3fb9f472b2dfe54b82a20a88
2020-07-22 18:40:12 -07:00
Jonah Williams
3a976feb58
[flutter_tools] clean plugin dependencies file ( #62061 )
...
Clean even more, in case the plugin dependency update logic is wrong-o.
2020-07-22 18:39:33 -07:00
Pragya
d95f79f95f
Updated instructions of 'flutter help attach' ( #61569 )
2020-07-22 18:31:12 -07:00
huangchaoyang
9da74f66ca
Show correct errors when plugins yaml forgot the 'flutter.plugins.pla… ( #61338 )
2020-07-22 18:24:03 -07:00
Yazeed Al-Khalaf
d41b1fbb50
✒ Spell Check All .md
Files Related to Flutter 💙 ( #61564 )
...
* 🐛 Fix Spelling Issues in Main README.md
* 🐛 Fix spelling issues in dev README.md
* 🐛 Fix spelling issues in complex_layout README.md
* 🐛 Fix spelling issues in macrobenchmarks README.md
* 🐛 Fix spelling issues in platform_views_layout README.md
* 🐛 Fix spelling issues in test_Apps/stocks README.md
* 🐛 Fix spelling issues in bots README.md
* ✒ Spell Check dev/ci README.md
* ✒ Spell Check dev/ci/docker_linux README.md
* ✒ Spell Check dev/devicelab README.md
* ✒ Spell Check dev/docs README.md
* ✒ Spell Check dev/snippets README.md
* ✒ Spell Check dev/snippets/config/templates README.md
* ✒ Spell Check dev/tools/gen_keycodes README.md
* ✒ Spell Check dev/tools/vitool README.md
* ✒ Spell Check examples/catalog README.md
* ✒ Spell Check examples/flutter_view README.md
* ✒ Spell Check examples/image_list README.md
* ✒ Spell Check examples/layers README.md
* ✒ Spell Check examples/platform_channel README.md
* ✒ Spell Check examples/platform_channel_swift README.md
* ✒ Spell Check examples/platform_view README.md
* ✒ Spell Check packages/_flutter_web_build_script README.md
* ✒ Spell Check packages/flutter_localizations README.md
* ✒ Spell Check packages/flutter_tools README.md
* ✒ Spell Check CODE_OF_CONDUCT.md
* ✒ Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md
* ✒ Spell Check dev/integration_test/android_views README.md
* ✒ Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md
* ✒ Spell Check dev/integration_tests/flutter_gallery README.md
* ✒ Spell Check dev/integration_tests/gradle_deprecated_settings README.md
* ✒ Spell Check dev/integration_tests/ios_add2app_life_cycle README.md
* ✒ Spell Check dev/integration_tests/ios_host_app README.md
* ✒ Spell Check dev/integration_tests/ios_platform_view_tests README.md
* ✒ Spell Check dev/automated_tests/flutter_test README.md
* ✒ Spell Check .github/PULL_REQUEST_TEMPLATE.md
* ✒ Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/BUG.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/feature_request.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/performance_others.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/performance_speed.md
* ✒ Spell Check packages/flutter_tools/doc/daemon.md
* ✒ Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md
* ✒ Minimize line to 80 columns
* ✒ Minimize line to 80 columns
* ✒ Fix Typo
* ✒ Chnaged numbers to 1 for testing purposes
* ✒ Changed numbers to 1 for testing purposes
* ❌ Remove 'a' which is a typo
* ✒ Change a sentence to be better
* ✒ Remove 'a' which is a typo
* ✒ Fix small issue
* ✒ Fix small typo
* ✒ Fix some typos
* ❌ Remove trailing space
* ❌ Remove trailing space
* 🐛 Fix small typo
* ✒ Fix Typo
* 🐛 Fix small bug
2020-07-22 18:23:47 -07:00
Jonah Williams
9f040865c9
[flutter_tools] macOS cleanups, attach to log reader in release mode ( #61913 )
2020-07-22 18:23:20 -07:00
Jenn Magder
fe670c04cc
Only try to get build settings if the Xcode project exists ( #61979 )
2020-07-22 18:22:38 -07:00
Ben Konyi
adc9dde3ba
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61975 )" ( #61993 )
...
This reverts commit f7a1c87ffd
.
2020-07-21 16:17:23 -07:00
Ben Konyi
f7a1c87ffd
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61975 )
...
This reverts commit 4867f5931f
.
2020-07-21 15:44:38 -07:00
includecmath
aa9119e53b
[flutter_tools] Concise dart2js commands outputKernel & outputJavaScript ( #61881 )
2020-07-21 02:31:03 -07:00
Jonah Williams
8be1c9ef25
[flutter_tools] turn off fuchsia support by default ( #61634 )
2020-07-21 02:26:04 -07:00
Otokaze
a821bdbfd0
Add more tips for androidLicensesUnknown ( #61312 )
2020-07-21 02:21:03 -07:00
Jason Simmons
b3f0f092ec
Disable the deferred loading variant of gen_l10n_test ( #61912 )
2020-07-21 02:18:29 -07:00
Ben Konyi
4867f5931f
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61882 )" ( #61909 )
...
This reverts commit 895b7ef6fa
.
2020-07-20 16:41:01 -07:00
Ben Konyi
895b7ef6fa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61882 )
...
This reverts commit 38fe887342
.
2020-07-20 16:01:58 -07:00
Jonah Williams
07caa0fbfe
[flutter_tools] Add plumbing for widget cache ( #61766 )
...
To support #61407 , the tool needs to check if a single widget reload is feasible, and then conditionally perform a fast reassemble.
To accomplish this, the FlutterDevice class will have a WidgetCache injected. This will eventually contain the logic for parsing the invalidated dart script. Concurrent with the devFS update, the widget cache will be updated/checked if a single widget reload is feasible. If so, an expression evaluation with the target type is performed and the success is communicated through the devFS result. An integration test which demonstrates that this works is already present in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/hot_reload_test.dart#L86
Finally, when actually performing the reassemble the tool simply checks if this flag has been set and calls the alternative reassemble method.
Cleanups:
Remove modules, as this is unused now.
2020-07-20 14:03:44 -07:00
Helin Shiah
5b9ce492f3
Skip printing rendered error text in machine mode ( #61684 )
2020-07-20 09:41:03 -07:00
Jenn Magder
c4bfa4c7ab
Inject iproxy into context ( #61762 )
2020-07-20 07:46:05 -07:00
Jonah Williams
78a975444a
[flutter_tools] revert dart format changes ( #61760 )
2020-07-20 07:41:05 -07:00
Jenn Magder
55176c4d6f
Show device diagnostic messages in doctor ( #61585 )
2020-07-17 09:41:03 -07:00
Konstantin Scheglov
741e9675e7
Remote returns for function expression inferred return type void. ( #61582 )
2020-07-17 09:36:03 -07:00
Christopher Fujino
df542b6831
update packages and update template ( #61678 )
2020-07-16 18:32:46 -07:00
Ming Lyu (CareF)
8badf93609
Revert "update packages ( #61647 )" ( #61674 )
...
This reverts commit b7b60a2d2c
.
2020-07-16 20:13:18 -04:00
Ming Lyu (CareF)
b7b60a2d2c
update packages ( #61647 )
2020-07-16 18:55:42 -04:00
Ben Konyi
38fe887342
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )" ( #61641 )
...
This reverts commit 594c3541aa
.
2020-07-16 11:43:54 -07:00
Ben Konyi
594c3541aa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )
...
This reverts commit a1a5a8f635
.
2020-07-16 11:38:17 -07:00
Christopher Fujino
f796e047fd
Verbose process exceptions ( #61552 )
2020-07-16 11:31:03 -07:00
Jonah Williams
859fce9010
[flutter_tools] add feature for iOS, android, and fuchsia ( #61481 )
...
Add feature flags for android, ios, and fuchsia (on by default). After updating the g3 rollers, the fuchsia feature will be turned off by default. Creates a simpler base type of feature flags for g3 to extend.
Updates android, ios, fuchsia workflows to use feature flags check.
Removes concept of stable artifacts and checks on flutter version.
Fixes #58999
#52859
#12768
2020-07-16 09:51:59 -07:00
Jonah Williams
045f3a54f5
[flutter_tools] turn down flutter generate ( #61475 )
...
complete removal of all generate functionality
Fixes #61508
2020-07-16 09:51:22 -07:00
Danny Tuppeny
e8eb876489
Fix build (fix references to _flutter -> flutter) ( #61568 )
2020-07-15 12:45:55 -07:00
Danny Tuppeny
51fcf8fa7a
Add debounce support to daemon hot reload requests ( #55376 )
2020-07-15 11:56:05 -07:00
Todd Volkert
d009172fd2
Change xcodebuild to be a "slow operation" ( #61518 )
...
The Xcode build almost always takes longer than 2 seconds. With the
operation classified as a "fast operation", the Flutter tool will
warn the user that the build is "taking an unexpectedly long time".
This updates the operation to be a "slow operation", which will only
warn the user if it takes 2+ minutes.
2020-07-15 11:53:26 -07:00
Jonah Williams
d8b6fa153a
[flutter_tools] generate a synthetic flutter_gen package on pub get ( #61261 )
...
Allow configuring the flutter_manifest to support a synthetic package, this is done through flutter: generate: true.
When running pub get, insert a flutter_gen entry into the packages if it does not already exist. This points to .dart_tool/flutter_gen, which can be updated to contain the generated intl sources (But doesn't currently)
Adds an integration test that verifies this code can be run and imported when enabled.
Part of #60914
2020-07-15 10:12:52 -07:00
zichangg
3631adc99a
Fixing patch for coming breaking change in HttpClientRequest ( #61138 )
...
* Fixing patch for coming breaking change in HttpClientRequest
* Add noSuchMethod() and comment out abort()
* Add ignore: override_on_non_overriding_member
2020-07-15 10:07:57 -07:00
Danny Tuppeny
d19bd37749
Tweak message about debugging with web-server ( #61535 )
2020-07-15 17:57:14 +01:00
Jonah Williams
cb7770b3a5
[flutter_tools] add support for enable null safety asserts ( #61114 )
...
Enable null safety asserts for web debug mode. This induces runtime asserts at the boundaries between null safe and non-null safe libraries. Adds integration test that validates assertion error is thrown.
#61042
2020-07-15 09:54:39 -07:00
Jonah Williams
b010f78e3a
[flutter_tools] fix typo in test code ( #61548 )
2020-07-15 09:21:24 -07:00
Siva
e15cfc2c09
Remove code that morphs --sound-null-safety to --null-safety options ( #61491 )
2020-07-14 17:21:01 -07:00
Jenn Magder
4fba77476d
Support Xcode patch version comparison ( #61484 )
2020-07-14 17:16:02 -07:00
Ben Konyi
a1a5a8f635
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61395 )" ( #61498 )
...
This reverts commit f98184e487
.
2020-07-14 16:32:49 -07:00
Ben Konyi
f98184e487
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61395 )
...
This reverts commit 5b9c6e2b0e
.
2020-07-14 15:57:36 -07:00
Jonah Williams
485034cab3
[flutter_tools] update fastReassemble method for single widget reloads ( #61413 )
...
For #61407 , we need to be able to find all widgets that of a given type. Previously I experimented with using the type name, but of course this does not handles subtypes. The actual check needs to be an is check.
Since there is no way to convert a String to a Type at runtime for use in this check, we can instead evaluate an expression which assigns a closure to a field. The idea for this was inspired by how the dart devtools adds debug functionality to older versions of flutter.
Since the reload feature is not complete yet, adds an integration test which simulates how it will eventually behave
2020-07-14 12:25:13 -07:00
Jonah Williams
d22d65c6e7
[flutter_tools] add the feature for single widget reloads ( #61411 )
...
Implements the flutter config feature for #61407 , but does not implement any of the functionality.
2020-07-14 12:24:58 -07:00
Pasindu De Silva
5c9d09f05a
Add the ability to ignore lines from coverage depending on comments ( #61408 )
2020-07-14 01:46:02 -07:00
Jonah Williams
e666ea8de4
[flutter_tools] cleanups to web runner functionality ( #61178 )
...
Skip unnecessary parsing of chrome URI. Ensure stack traces are initialized in web server. Disclaimer on web server that it does not support debugging and remove help message. Fix generated entrypoint to check for main(List<String> args)
- Fixes #59643
- Fixes #55084
- Fixes #60417
2020-07-13 15:12:46 -07:00
Dan Field
eadc35f62b
Optionally invert oversized images ( #61209 )
...
* Optionally invert oversized images
2020-07-13 14:03:23 -07:00
Danny Tuppeny
f8135add8e
Add a flag for using WS for debug backend ( #61359 )
2020-07-13 13:31:04 -07:00
Jenn Magder
cda6c27ff7
Add spaces between sentences in help text ( #61135 )
2020-07-13 11:16:03 -07:00
xster
8bd2e6585b
Remove v1 Android create templates ( #61203 )
2020-07-11 12:15:19 -07:00
Anna Gringauze
9cbe1dccf3
Added web compiler debug metadata ( #61265 )
...
Made flutter tools serve metadata produced by the frontend server:
pass --experimental-emit-metadata flag to flutter engine
store and serve metadata from web asset server
store and serve merged metadata from web asset server
add tests to verify that metadata is served from memory
update dwds version so it can read metadata
configure dwds to read metadata from file
Prerequisite changes (landed):
sdk: https://dart-review.googlesource.com/c/sdk/+/150181
flutter engine: flutter/engine#19168
webdev:dart-lang/webdev#1064
2020-07-10 16:36:43 -07:00
Dan Field
cd80ed3009
Fix bold not getting cleared on new line ( #61256 )
...
* Fix bold not getting cleared on new line
2020-07-10 16:09:49 -07:00
Dan Field
5b9c6e2b0e
Revert "Add support for Dart Development Service (DDS) in Flutter Tools ( #59114 )" ( #61276 )
...
This reverts commit fe7bbf7226
.
2020-07-10 15:53:35 -07:00
Ben Konyi
fe7bbf7226
Add support for Dart Development Service (DDS) in Flutter Tools ( #59114 )
2020-07-10 15:35:21 -07:00
Jonah Williams
66556faef7
[flutter_tools] deflake integration test with tryToDelete ( #61253 )
2020-07-10 13:29:49 -07:00
Jonah Williams
1c1ef133ee
[flutter_tools] remove globals from device manager, flutter tester ( #61139 )
...
Remove global variables from device manager, flutter tester devices and update tests
2020-07-10 11:52:09 -07:00
Jonah Williams
fbca40add2
[flutter_tools] abstract logger construction (why can't I hold all these loggers) ( #61201 )
...
We have too many loggers, and the logger construction rules are too complicated to be untested. Capture these in a LoggerFactory and test that construction is correct.
2020-07-10 11:51:47 -07:00
Jonah Williams
6eaaf1650e
[flutter_tools] switch order of injection ( #61191 )
...
Inject loggers in the right order, test WIP. Otherwise verbose machine would not get the AppRunLogger
2020-07-09 18:04:37 -07:00
Jenn Magder
20fe2f88c5
Prefer tear offs to lambdas in test expects ( #61196 )
2020-07-09 17:58:51 -07:00
Jonah Williams
ed9a705ec2
[flutter_tools] allow unmuting of command logging ( #61198 )
...
Running flutter doctor -v prints out extra details instead of running in verbose mode. Allow disabling this with -vv so it can be debugged.
2020-07-09 17:55:53 -07:00
Jenn Magder
e110ca7209
Case insensitive check flavor names against Xcode schemes ( #61140 )
2020-07-09 16:56:02 -07:00
Alexandre Ardhuin
f32a73711a
use nnbd deps ( #61177 )
2020-07-09 23:01:22 +02:00
includecmath
72258eac5f
[flutter_tools] Separate style and data from AnalysisError ( #60591 )
2020-07-09 13:51:02 -07:00
Dan Field
c6fd42499a
Test update_packages for git packages ( #61127 )
2020-07-08 19:31:02 -07:00
Robert Ancell
266aeb81a0
Only try the GDK X11 backend, as the FlView only currently supports X11 ( #60654 )
2020-07-09 14:23:48 +12:00
Jonah Williams
d4589e0c71
[flutter_tools] ensure AppRunLogger is injected for run/attach machine ( #61103 )
...
run/attach --machine requires a different logger than daemon, which uses the NotifyingLogger. We have too many loggers!
Fixes #59463
2020-07-08 18:21:46 -07:00
includecmath
93eac884eb
[flutter_tools] Clean code analyze command ( #60200 )
2020-07-08 18:11:03 -07:00
Jonah Williams
741608a261
[flutter_tools] fix recursive asset variant issue ( #61129 )
...
Fixes #45075
Fixes #57210
If an asset was included directly from the project root directory, then the same asset when copied to various output or ephemeral directories would also be picked up as an asset variant. This could cause assets to be recursively copied into asset/build/ephemeral directories, as each time it would run it would pick up all of the previous "variants".
The solution is to include project ephemeral directories, in addition to the build directory.
2020-07-08 18:07:27 -07:00
Jonah Williams
0cff654220
[flutter_tools] add sdk constraint to plugin/package templates ( #60932 )
...
Gives plugin and package a constraint on the flutter version, which will be from 2 stable's ago when this goes to stable. Adds an upper bound of 2.0
2020-07-08 10:11:10 -07:00