Jonah Williams
c0af77bf87
Allow specifying device-vmservice-port and host-vmservice-port ( #44027 )
2019-11-13 13:01:41 -08:00
Jonah Williams
31a4ff80c7
add samsungexynos7570 to list of known physical devices ( #43042 )
2019-10-21 16:45:48 -07:00
liyuqian
31cb44825c
Add --cache-sksl flag to drive and run ( #42353 )
...
So we can test SkSL precompile using the command line tools.
See https://github.com/flutter/engine/pull/12412 .
2019-10-15 14:28:55 -07:00
Alexandre Ardhuin
83e5a8a0e4
some formatting changes ( #41640 )
2019-10-08 18:32:10 +02:00
Alexandre Ardhuin
890b939401
indent formal parameters correctly ( #41644 )
2019-10-04 11:00:18 +02:00
Alexandre Ardhuin
89427d672d
add missing trailing commas in flutter_tools ( #40968 )
2019-09-24 08:06:09 +02:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -07:00
Zachary Anderson
73c10e8ced
[flutter_tool] process.dart cleanup ( #39899 )
2019-09-11 18:20:42 -07:00
Emmanuel Garcia
6266d5f35d
Log flags in build apk and appbundle ( #39457 )
2019-08-29 21:37:35 -07:00
Jonah Williams
6f71ce26d6
Place terminalUi flag on terminal interface ( #39214 )
2019-08-27 14:20:51 -07:00
Zachary Anderson
a9aea962ab
[flutter_tool] Catch ProcessException from 'adb devices' ( #37196 )
2019-07-30 12:17:10 -07:00
Emmanuel Garcia
5a34e7981e
Catch exceptions thrown by runChecked* when possible ( #36109 )
2019-07-18 10:45:37 -07:00
Jonah Williams
adf45d1e40
Refactor signal and command line handler from resident runner ( #35406 )
2019-07-09 13:10:26 -07:00
Alexandre Ardhuin
758009ba70
more ui-as-code ( #35393 )
...
* more ui-as-code
* address review comments
2019-07-02 21:11:56 +02:00
Alexandre Ardhuin
919dcf53f3
enable lints prefer_spread_collections and prefer_inlined_adds ( #35189 )
2019-06-27 21:23:16 +02:00
Danny Tuppeny
f3be1d9d95
Add emulatorID
field to devices in daemon ( #34794 )
...
* Add emulatorId to Android and iOS emulator devices
* Update docs
* Review tweaks
* Add tests for AndroidConsole for getting avd names
* Remove unused import
* Remove duplicated header
* Fix imports
2019-06-26 16:39:23 +01:00
Jonah Williams
5c52498d4e
Add device category, ephemeral, platformType for daemon ( #33990 )
2019-06-18 15:23:14 -07:00
Jonah Williams
73330e1241
Remove compilation trace and dynamic support code ( #34529 )
2019-06-18 15:22:04 -07:00
Ben Konyi
e59d9a815d
Reland "Added --dart-flags option to flutter run ( #33924 )" ( #34181 )
...
Reland "Added --dart-flags option to flutter run (#33924 )"
This reverts commit 587687eedf81aa83521cca96b8fb65a4adc8dd90.
2019-06-11 11:37:47 -07:00
Emmanuel Garcia
8627ff433b
Allow multi-abi shared libraries in APKs and App bundles ( #34123 )
...
* Gradle generates ELF shared libraries instead of AOT snapshots.
* `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`.
* `flutter build apk` now has a flag called `--split-per-abi`.
2019-06-10 13:16:09 -07:00
Jonah Williams
f8f7b89976
Revert "Generate ELF shared libraries and allow multi-abi libs in APKs and App bundles ( #33696 )" ( #34121 )
2019-06-08 18:43:25 -07:00
Emmanuel Garcia
966b15b4a4
Generate ELF shared libraries and allow multi-abi libs in APKs and App bundles ( #33696 )
...
* Gradle generates ELF shared libraries instead of AOT snapshots.
* `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`.
* `flutter build apk` now has a flag called `--split-per-abi`.
2019-06-08 18:02:32 -07:00
Jonah Williams
587687eedf
Revert "Added --dart-flags option to flutter run ( #33924 )" ( #34092 )
2019-06-07 19:33:14 -07:00
Ben Konyi
67a529b895
Added --dart-flags option to flutter run ( #33924 )
2019-06-07 18:53:42 -07:00
Alexander Aprelev
30dbc4c767
Whitelist adb.exe heap corruption exit code. ( #33951 )
...
* Whitelist adb.exe heap corruption exit code.
In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows.
Fixes https://github.com/flutter/flutter/issues/33938 .
* Fix condition
* Fix 'shell am start' command
* Fix stop command
* Refactor into runAdbMostlyChecked(Sync/Async)
* runAdbMostlyChecked -> runAdbChecked
2019-06-06 12:01:03 -07:00
Jonah Williams
1d91bd2583
Revert "Start abstracting platform logic builds behind a shared interface ( #31889 )" ( #32003 )
...
This reverts commit e5459942c819ce9c9b2e72509a20c1f68fe0bf75.
2019-05-02 14:14:46 -07:00
Jonah Williams
e5459942c8
Start abstracting platform logic builds behind a shared interface ( #31889 )
2019-05-02 13:31:00 -07:00
Jonah Williams
4ff467191b
make FlutterProject synchronous ( #31757 )
2019-04-29 08:21:32 -07:00
Danny Tuppeny
fdcc8aafa7
Allow adb stdout to contain the port number without failing ( #31491 )
...
* Allow adb stdout to contain the port number without failing
* Add tests that port forwarder correctly responds to known ADB output
2019-04-26 21:03:25 +01:00
Jonah Williams
6b191841f3
Allow filtering devices to only those supported by current project ( #31446 )
2019-04-25 12:25:12 -07:00
Jonah Williams
9e51e13e91
add printError messages and tool exit to android device ( #31400 )
2019-04-24 19:30:39 -07:00
Ben Konyi
3764cb8515
Added support for authentication codes for the VM service. ( #30857 )
...
* Added support for authentication codes for the VM service.
Previously, a valid web socket connection would use the following URI:
`ws://127.0.0.1/ws`
Now, by default, the VM service requires a connection to be made with a
URI similar to the following:
`ws://127.0.0.1:8181/Ug_U0QVsqFs=/ws`
where `Ug_U0QVsqFs` is an authentication code generated and shared by
the
service.
This behavior can be disabled with the `--disable-service-auth-codes`
flag.
2019-04-18 21:01:50 -07:00
Jonah Williams
99866f4a3d
Make timeout durations configurable ( #30053 )
2019-03-27 16:21:16 -07:00
Alexander Aprelev
12c4e050be
Use source list from the compiler to track invalidated files for hot reload. ( #29693 )
...
* Use source list from the compiler to track invalidated files.
* Revert accidental change
* Fix first-time-seen-the-file logic
* Fix/simplify invalidate logic now that we can rely on compiler to let us know what is the cut-off point for invalidation.
* Update devfs mock to accommodate for new fields
* Fix deleted files case
* Analyzer found missing final
2019-03-20 21:58:15 -07:00
Alexandre Ardhuin
a6af422874
some spaces formatting ( #29452 )
...
* some space formattings
* always use blocks in if-else if a block is used
* format spaces in for and while
* allow multiline if conditions
* fix missing space
2019-03-20 23:23:31 +01:00
liyuqian
be5c83b9b8
Add dump-shader-skp flag to flutter tools ( #29258 )
...
This is the accompanying change for https://github.com/flutter/engine/pull/8148 and it needs the engine PR to land first.
For https://github.com/flutter/flutter/issues/813
2019-03-15 12:37:53 -07:00
liyuqian
3202d228b7
--verbose-logging to verbose-logging in android ( #29383 )
...
Sorry that I missed the typo during the review of https://github.com/flutter/flutter/pull/29321
2019-03-15 09:20:15 -07:00
Jonah Williams
25820ab2a4
add option for --verbose-system-logs ( #29321 )
2019-03-13 22:42:12 -07:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
Dan Field
15f2119f2c
Reland "Allow for gradle downloading missing SDK assets" ( #28097 ) ( #28355 )
...
* Allow for gradle downloading missing SDK assets if SDK licenses are present.
* Improvements for windows testing
2019-02-23 09:56:57 -08:00
Dan Field
74a9086037
Revert "Allow for gradle downloading missing SDK assets ( #28097 )" ( #28295 )
...
This reverts commit 6f5e88a59f5ac01fd55b5c3a11b7c2ddc6c7402c.
2019-02-21 16:53:45 -08:00
Dan Field
6f5e88a59f
Allow for gradle downloading missing SDK assets ( #28097 )
...
* Allow for gradle downloading missing SDK assets if SDK licenses are present.
* Fix license path for missing sdkmanager
* Cirrus re-run...
* Fix condition check
* rename props, add docs, rename method
* fix tests after param changes
* Fix weird path for flutter run and add tests
* remove print, fix tests
2019-02-21 15:57:20 -08:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
sjindel-google
95b34d7a07
Pass --verify-entry-points in debug mode. ( #27032 )
2019-01-30 07:33:55 -08:00
Chinmay Garde
e38efc890b
Add a flag to enable tracing to systrace. ( #27208 )
2019-01-28 19:55:01 -08:00
Jonah Williams
91fd89e8b3
Wrap dart:convert to track utf8 decode failures ( #26650 )
2019-01-25 16:16:26 -08:00
tonyzhao1
e4df6b4efc
Change the required version of adb, as older versions break hot reload. ( #24746 )
2019-01-25 10:37:46 -08:00
Alexandre Ardhuin
66f424f0f8
fix some bad indentations ( #26921 )
...
* fix some bad indentations
* remove suspicious line
2019-01-23 15:43:27 +01:00
Ian Hickson
31a9626c48
[O] Removing all timeouts (mark II) ( #26736 )
...
These are essentially self-inflicted race conditions. Instead of timeouts we're going to try a more verbose logging mechanism that points out when things are taking a long time.
2019-01-19 00:31:05 -08:00
Stanislav Baranov
eb8219edd5
Emulator support for dynamic mode on Intel architecture ( #26565 )
2019-01-17 14:21:35 -08:00