Zachary Anderson
82a4ba40bb
[flutter_tool] Send analytics command before the command runs ( #36490 )
2019-07-18 18:05:44 -07:00
Jonah Williams
d1190b638f
remove unrelated code ( #36481 )
2019-07-18 16:49:39 -07:00
Todd Volkert
adb2aeebe3
Ensure that cache dirs and files have appropriate permissions ( #28090 )
...
This is a partial re-application of #24669 , which was
reverted due to Fuchsia breakages.
https://github.com/flutter/flutter/issues/24413
2019-07-18 15:29:06 -07:00
Emmanuel Garcia
5a34e7981e
Catch exceptions thrown by runChecked* when possible ( #36109 )
2019-07-18 10:45:37 -07:00
Jonah Williams
7b0cc5051b
release lock in flutter pub context ( #36218 )
2019-07-18 10:41:39 -07:00
Jonah Williams
1957c66300
add testing to screenshot and printDetails method ( #36418 )
2019-07-18 10:40:40 -07:00
Christopher Fujino
42a9c031e5
Fix invocations of ideviceinstaller not passing DYLD_LIBRARY_PATH ( #36327 )
...
* add failing tests
* fix tests
* be more specific with try-catch
* add further mocking to get tests to pass again
* fix analyzer failure
2019-07-17 13:44:49 -07:00
xster
03220cacd1
Make sure add-to-app build bundle from outer xcodebuild/gradlew sends analytics ( #36122 )
2019-07-17 11:17:04 -07:00
Tim Sneath
07735578af
Fix spelling error and clarify universal flag ( #36331 )
2019-07-17 10:46:48 -07:00
Jonah Williams
36c37ccab5
Implement feature flag system for flutter tools ( #36138 )
2019-07-16 17:33:28 -07:00
Todd Volkert
aa9a115181
Move reporting files to reporting/ ( #36017 )
...
Slight cleanup of file locations in flutter_tools
to make it easier to see which files are responsible
for data reporting.
2019-07-16 13:21:06 -07:00
Christopher Fujino
540c747656
Revert "Keep LLDB connection to iOS device alive while running from CLI. ( #36194 )" ( #36293 )
...
This reverts commit 5501a1c1e7
.
2019-07-16 12:34:49 -07:00
sjindel-google
5501a1c1e7
Keep LLDB connection to iOS device alive while running from CLI. ( #36194 )
...
## Description
Instead of detaching from the spawned App process on the device immediately, keep the LLDB client connection open (in autopilot mode) until the App quits or the server connection is lost.
This replicates the behavior of Xcode, which also keeps a debugger attached to the App after launching it.
## Tests
This change will be covered by all running benchmarks (which are launched via "flutter run"/"flutter drive"), and probably be covered by all tests as well.
I also tested the workflow locally -- including cases where the App or Flutter CLI is terminated first.
## Breaking Change
I don't believe this should introduce any breaking changes. The LLDB client automatically exits when the app dies or the device is disconnected, so there shouldn't even be any user-visible changes to the behavior of the tool (besides the output of "-v").
2019-07-16 19:15:15 +02:00
Zachary Anderson
fa65ddf51d
[flutter_tool] Allow analytics without a terminal attached ( #36208 )
2019-07-16 09:48:49 -07:00
chunhtai
1166015931
Enable widget load assets in its own package in test ( #35991 )
2019-07-16 09:47:42 -07:00
Jonah Williams
b257c33b69
Use DeviceManager instead of device to determine if device supports project ( #36213 )
2019-07-15 16:10:39 -07:00
Jonah Williams
6b17840cbf
Don't try to flutterExit if isolate is still paused ( #36199 )
2019-07-15 15:44:58 -07:00
Christopher Fujino
102ab1e6d9
Reland bundle ios deps ( #36093 )
...
This updates the flutter tool cache to download binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-15 09:22:29 -07:00
Jonah Williams
e3ee5c6bbb
Add better handling of JSON-RPC exception ( #36082 )
2019-07-13 16:02:09 -07:00
Zachary Anderson
13382f41c0
[flutter_tool] Catch a yaml parse failure during project creation ( #36105 )
2019-07-12 23:24:04 -07:00
Jonah Williams
7056214151
Handle google3 version of pb ( #36084 )
2019-07-12 13:45:26 -07:00
Jonah Williams
0a97553e5e
Revert "Merge branches 'master' and 'master' of github.com:flutter/flutter into timsneath-precache2" ( #36096 )
2019-07-12 13:42:32 -07:00
Tim Sneath
67ab890b60
Merge branches 'master' and 'master' of github.com:flutter/flutter into timsneath-precache2
2019-07-12 12:59:08 -07:00
Tim Sneath
7349970462
Update comments to match precache help
2019-07-12 12:59:01 -07:00
Tim Sneath
b322fdd518
Update precache help
2019-07-12 12:57:28 -07:00
Christopher Fujino
e91822da24
Revert "Bundle ios dependencies ( #34669 )" ( #36071 )
...
This reverts commit 14d489adc5
.
2019-07-12 09:03:34 -07:00
Jonah Williams
7b150f81c5
move reload and restart handling into terminal ( #35846 )
2019-07-12 08:48:14 -07:00
Christopher Fujino
14d489adc5
Bundle ios dependencies ( #34669 )
...
This updates the flutter tool to cache binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-12 08:36:18 -07:00
Jonah Williams
e91b98a41f
Add initial implementation of flutter assemble ( #32816 )
2019-07-11 16:53:17 -07:00
Ben Konyi
8d81c30a7c
[WIP] Use public _registerService RPC
2019-07-11 16:01:07 -07:00
Jonah Williams
ae8ff41abf
Revert "Keep LLDB connection to iOS device alive while running from CLI. ( #35731 )" ( #35996 )
...
This reverts commit d200dc150b
.
2019-07-11 10:44:41 -07:00
sjindel-google
d200dc150b
Keep LLDB connection to iOS device alive while running from CLI. ( #35731 )
2019-07-11 18:56:48 +02:00
Jonah Williams
adf45d1e40
Refactor signal and command line handler from resident runner ( #35406 )
2019-07-09 13:10:26 -07:00
Dan Field
e3acb5ca71
Refactor keymapping for resident_runner ( #35762 )
2019-07-08 16:38:49 -07:00
Jonah Williams
1e26c41f17
Remove web, fuchsia, and unsupported devices from all ( #35709 )
2019-07-08 15:58:38 -07:00
Jonah Williams
bcd28e7e45
Don't pause on tool tests ( #35657 )
2019-07-08 13:14:48 -07:00
Lau Ching Jun
d3eee57c0b
Update the help message on precache command for less confusion ( #35480 )
2019-07-08 11:04:24 -07:00
Jonah Williams
4f0f88b5ea
Disable incremental compiler in dartdevc ( #35681 )
2019-07-08 10:36:11 -07:00
Jonah Williams
34467289d6
Add timer checking and Fake http client to testbed ( #35392 )
2019-07-08 10:04:48 -07:00
Sam Rawlins
5b6ebf1230
Add type to StreamChannel in generated test code. ( #35367 )
...
This is necessary for those who wish to comply with static analysis like
`strict-raw-types: true`, which includes generated code within their package.
2019-07-03 14:11:11 -07:00
Todd Volkert
4cd12fc8b7
Mark update-packages as non-experimental ( #35467 )
...
Marking it as experimental was breaking tests and packaging
scripts on stable branches.
2019-07-02 18:24:25 -07:00
Jonah Williams
556e374e02
fix default artifacts to exclude ios and android ( #35303 )
2019-07-02 17:40:55 -07:00
Siva
f496595773
Use the new service protocol message names ( #35482 )
...
* Use the new service protocol message names
clearVMTimeline
setVMTimelineFlags
getVMTimeline
getVMTimelineFlags
* Fix clearTimeline at another spot.
2019-07-02 16:10:04 -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
stuartmorgan
d6bd1c0584
Add --target support for Windows and Linux ( #34660 )
...
- Adds desktop projects to ApplicationPackageStore
- Plumbs target overrides through the desktop builds
2019-07-01 14:49:34 -07:00
Zachary Anderson
97127730f2
[flutter_tool] Fill in Fuchsia version string ( #34516 )
2019-06-28 12:12:53 -07:00
David Shuckerow
df6e4d4872
Make it possible to override the FLUTTER_TEST env variable ( #34301 )
...
* Make it possible to override the FLUTTER_TEST env variable without unsetting it.
* Switch to using platform instead of Platform.
* Document the bindings, and introduce tests that initialize multiple WidgetsBindings with different environments.
* Add tests for the flutter platform test.
* Add license headers
* Fix lints
* Remove trailing whitespace
* Respond to Jonahs comments
* Respond to Ians comments
* Mock out the HttpServer in flutter_platform_test
* Mock out the HttpServer in flutter_platform_test
* Explain why we mock out the HttpServer in flutter_platform_test
2019-06-28 10:37:27 -07:00
Jonah Williams
a1d3edc446
Twiggle bit to exclude dev and beta from desktop and web ( #35221 )
2019-06-27 19:04:02 -07:00
Jonah Williams
3d77923b39
fix coverage collection to un-red build ( #35231 )
2019-06-27 17:47:20 -07:00
Todd Volkert
04e2f22650
Force-upgrade package deps ( #35206 )
2019-06-27 14:02:23 -07:00