David Martos
526339b63a
Avoid killing Flutter tool process ( #37471 ) ( #37500 )
2019-08-09 11:25:12 -07:00
Yegor
9bc298deb6
update dependencies; add a Web smoke test ( #37816 )
...
update dependencies; add a Web smoke test
2019-08-09 09:58:49 -07:00
liyuqian
218b113343
Listen to ExtensionEvent instead of TimelineEvent ( #37900 )
...
TimelineEvents may not be sent if there aren't enough to form a group.
Hence we should always use ExtensionEvent as the trigger.
See also https://github.com/flutter/flutter/pull/37503
2019-08-08 18:43:33 -07:00
Jonah Williams
f98df595f3
Restructure resident web runner usage to avoid SDK users that don't support dwds ( #37815 )
2019-08-08 16:36:27 -07:00
Mehmet Fidanboylu
41cc80c5be
Expose the timeline event names so they can be used in other systems that do tracing ( #37863 )
2019-08-08 15:23:08 -07:00
jmagman
5ed3b418a1
Add COMPILER_INDEX_STORE_ENABLE=NO to macOS build and tests ( #37806 )
2019-08-07 18:02:06 -07:00
Jonah Williams
8e6205fe1d
Handle thrown maps and rejects from fe server ( #37743 )
2019-08-07 17:00:36 -07:00
jmagman
e6d94ee40f
Use relative paths when installing module pods ( #37738 )
2019-08-07 12:59:11 -07:00
Jason Simmons
4f302dc18c
Remove unused no-build flag from the flutter run command ( #37735 )
...
The use-application-binary flag can be used to run a previously built
app package.
2019-08-07 12:44:02 -07:00
Emmanuel Garcia
6fb0325dd6
Remove dead flag ( #37752 )
2019-08-07 10:10:39 -07:00
Christopher Fujino
39a04dcd7f
Support macOS Catalina-style signing certificate names ( #37733 )
2019-08-07 09:18:11 -07:00
Emmanuel Garcia
c08a3c7a0a
Add metadata to indicate if the host app contains a Flutter module ( #37731 )
2019-08-06 22:38:09 -07:00
masashi-sutou
626ca086d0
Recommend to use the final version of CDN support for the CocoaPods trunk specs repo ( #36237 )
2019-08-06 13:19:42 -07:00
walsha2
107f36548a
Closes #37593 Add flutter_export_environment.sh to gitignore ( #37595 )
2019-08-06 13:18:41 -07:00
sjindel-google
0564f0a812
Tests for Engine ensuring debug-mode apps are attached on iOS. ( #37043 )
...
This PR contains the tests for flutter/engine#10186 .
2019-08-06 20:08:09 +02:00
Jonah Williams
91b8dcbc90
fix windows path for dwds ( #37658 )
2019-08-06 10:03:42 -07:00
Jonah Williams
fef69b2044
Partial macOS assemble revert ( #37664 )
2019-08-06 09:15:50 -07:00
Zachary Anderson
0bba472858
[flutter_tool] Remove unintended analytics screen send ( #37514 )
2019-08-06 09:08:43 -07:00
Liam Appelbe
0cd0c66021
Change priority of gen_snapshot search paths ( #37647 )
2019-08-06 08:45:08 -07:00
Emmanuel Garcia
f3690d153b
Update packages
2019-08-06 06:19:42 -07:00
Jonah Williams
64f1ac98f9
add missing library to build.gn ( #37654 )
2019-08-05 22:57:09 -07:00
Jonah Williams
caa56d6ac4
enable track widget creation on debug builds ( #37512 )
2019-08-05 22:07:35 -07:00
Jonah Williams
a785db78fb
Reland "Integrate dwds into flutter tool for web support ( #34252 )" ( #37649 )" ( #37650 )
2019-08-05 16:51:57 -07:00
Jonah Williams
433436e1ee
Revert "Integrate dwds into flutter tool for web support ( #34252 )" ( #37649 )
2019-08-05 15:58:04 -07:00
Zachary Anderson
500d7c50df
[flutter_tool] Additional flutter manifest yaml validation ( #37422 )
2019-08-05 13:14:57 -07:00
Jonah Williams
4ccd81199f
Integrate dwds into flutter tool for web support ( #34252 )
2019-08-05 12:41:58 -07:00
stuartmorgan
018d45dc06
Use macOS ephemeral directory for Pod env script ( #37509 )
...
On macOS, any file that isn't intended to be checked in should be in the
ephemeral directory.
2019-08-02 16:44:04 -07:00
Christopher Fujino
5fb2d2aeea
have xcodeSelectPath also catch ArgumentError ( #37521 )
2019-08-02 16:08:49 -07:00
Emmanuel Garcia
40c5cc9708
Find the app bundle when the flavor contains underscores ( #37457 )
2019-08-02 16:02:46 -07:00
Emmanuel Garcia
80ee3dd04c
Print message when HttpException is thrown after running flutter run
( #37440 )
2019-08-02 16:02:02 -07:00
Jenn Magder
975156e91c
If xcode_backend.sh script fails or substitute variables are missing, fail the host Xcode build ( #37449 )
2019-08-02 13:01:25 -07:00
Liam Appelbe
0cf4033404
Switch iOS gen_snapshot from multi-arch binary to multiple binaries ( #37445 )
...
* Switch iOS gen_snapshot from multi-arch binary to multiple binaries
* Make snapshotterPath mutable
2019-08-02 07:43:07 -07:00
stevemessick
93dd90fc1a
Add .android/Flutter/flutter.iml to module template. ( #37405 )
2019-08-01 15:47:00 -07:00
Chinmay Garde
9ea78d4488
Revert "Remove multi-arch check in iOS builds ( #37407 )" ( #37413 )
...
This reverts commit 5809219509
.
2019-08-01 11:43:32 -07:00
Liam Appelbe
5809219509
Remove multi-arch check in iOS builds ( #37407 )
...
* Remove multi-arch check in iOS builds
* Manual roll of https://github.com/flutter/engine/pull/10010
2019-08-01 11:16:21 -07:00
GroovinChip
ced207836b
Improve Windows build failure message ( #36845 )
...
* Improve Windows build failure message
* Undo dartfmt to match source formatting
* Removed prompt to file new issue per PR change request
2019-08-01 10:32:38 -07:00
Majid Hajian
7244cbb9b2
add line-length to flutter format commandline ( #36679 )
2019-08-01 10:27:41 -07:00
Jonah Williams
cf6613583d
only build macOS kernel in debug mode ( #37365 )
2019-08-01 09:23:40 -07:00
Zachary Anderson
2b03e2089d
[flutter_tool] Add missing toString() ( #37331 )
2019-08-01 09:23:05 -07:00
Zachary Anderson
2e183b6233
[flutter_tool] Include the local timezone in analytics timestamp ( #37345 )
2019-07-31 23:28:18 -07:00
Jonah Williams
602f76ca00
fix errors caught by roll of macOS assemble ( #37351 )
2019-07-31 21:14:40 -07:00
Jonah Williams
2ab469952b
Flutter assemble for macos take 2! ( #36987 )
2019-07-31 16:19:22 -07:00
Jenn Magder
dd1fb3bcb7
Build number (part after +) is documented as optional, use entire app version if not present ( #37036 )
2019-07-31 16:18:09 -07:00
Zachary Anderson
c7596da5a4
[flutter_tool] Re-try sending the first crash report ( #37198 )
2019-07-31 13:51:19 -07:00
Jenn Magder
1bcaa15018
Make podhelper.rb a template to avoid passing in the module name ( #37276 )
2019-07-31 11:34:22 -07:00
liyuqian
e77237d6d3
Reland "Fix the first frame logic in tracing and driver ( #35297 )" ( #37192 )
...
This relands https://github.com/flutter/flutter/pull/35297
The followings have been done to fix the broken tests:
1. Add `didSendFirstFrameRasterizedEvent` extension and its tests
2. Wait for `didSendFirstFrameRasterizedEvent` instead of
`didSendFirstFrameEvent` during start up tests
3. Mark missed (probably newly added) start up tests as flaky
2019-07-31 11:01:52 -07:00
Dan Field
a8fbe02a9d
hide symbols from spotlight ( #37217 )
2019-07-30 14:24:58 -07:00
xster
dfad03952f
do not strip symbols when building profile ( #37210 )
2019-07-30 13:09:40 -07:00
Zachary Anderson
d208ce2dff
[flutter_tool] Usage refactor cleanup ( #37186 )
2019-07-30 12:18:15 -07:00
Zachary Anderson
a9aea962ab
[flutter_tool] Catch ProcessException from 'adb devices' ( #37196 )
2019-07-30 12:17:10 -07:00
Zachary Anderson
99d66f2709
[flutter_tool] Make a couple file operations synchronous ( #37044 )
2019-07-30 12:16:32 -07:00
Jenn Magder
bd47a31e32
Vend Flutter module App.framework as a local CocoaPod pod to be installed by a host app ( #36793 )
2019-07-30 09:58:39 -07:00
Zachary Anderson
a5d23d2a25
[flutter_tool] More gracefully handle Android sdkmanager failure ( #37194 )
2019-07-30 08:19:58 -07:00
Jonah Williams
c9a5f94372
Include flutter_runner in precache artifacts. ( #36318 )
2019-07-29 16:13:47 -07:00
Emmanuel Garcia
9f39cad4ed
Allow flavors and custom build types in host app ( #36805 )
...
Fixes these issues:
#30916
#34089
#36479
#29648
2019-07-29 09:26:41 -07:00
Zachary Anderson
ef146f63bb
[flutter_tool] Clean up usage events and custom dimensions ( #36785 )
2019-07-29 07:24:02 -07:00
Jonah Williams
51d2d3511c
Expose functionality to compile dart to kernel for the VM ( #36598 )
2019-07-26 19:50:57 -07:00
Jonah Williams
3068fc4f7c
Revert "Fix the first frame logic in tracing and driver ( #35297 )" ( #37027 )
...
This reverts commit 68fc7231b3
.
2019-07-26 13:08:36 -07:00
liyuqian
68fc7231b3
Fix the first frame logic in tracing and driver ( #35297 )
...
This should fix https://github.com/flutter/flutter/issues/31442 and https://github.com/flutter/flutter/issues/34867
2019-07-26 09:38:12 -07:00
Michael Klimushyn
30eec11e7d
Roll back the AAR build experiment ( #36966 )
...
* Roll back the AAR build experiment
This has been breaking flutter/plugins CI for the past day.
* Remove integration tests that rely on the AAR flag
2019-07-25 20:54:10 -07:00
Jonah Williams
188093c912
Rearrange flutter assemble implementation ( #36240 )
2019-07-25 08:50:03 -07:00
Emmanuel Garcia
c469b1fea9
Add annotation dependency to plugins ( #36886 )
...
Fixes #36817
2019-07-25 08:49:24 -07:00
Jonah Williams
76d058163b
Adjust phrasing of features ( #36874 )
...
* adjust phrasing of features
* word smithing
* more wordsmithing
2019-07-25 08:48:01 -07:00
Jonah Williams
16e484b179
Remove Chain terse parsing ( #36860 )
2019-07-25 08:47:39 -07:00
Siva
c15cfdd6af
flutter/engine@ef99738...72341ed ( #36885 )
...
flutter/engine@72341ed03 Roll fuchsia/sdk/core/linux-amd64 from gQ3ztEQmdEh3iE6n9EO6iGRdmDSX-edmP5WyE-Ui4BEC to gTG1jp04GzBudVJqRxulXYOEQgbYTUQgnqLDYAq7z3sC (#10115 )
flutter/engine@d66031f2a Roll src/third_party/dart 82f657d7cb..0c97c31b6e (7 commits) (#10114 )
flutter/engine@f742514a5 Cache font family lookups that fail to obtain a font collection (#10109 )
flutter/engine@7c177724c Roll fuchsia/sdk/core/mac-amd64 from A21rwGAUjpjVTX8HgpT9Iyx6J_QZBRDhu-5GAclrf00C to UCAnzi4k9pA30l_iZ2Ru51Tc3Ke6iacIdjFMgVUVdRMC (#10107 )
flutter/engine@c3165da09 Roll src/third_party/skia fdf4bfe6d389..b3956dc6ba6a (1 commits) (#10101 )
flutter/engine@71702b3f8 Roll fuchsia/sdk/core/linux-amd64 from gPDgr6u-BPJTgV2Nf0tlg9MTY3JwGW0cETtsQcx365AC to gQ3ztEQmdEh3iE6n9EO6iGRdmDSX-edmP5WyE-Ui4BEC (#10103 )
flutter/engine@f393da22d [fuchsia] copy over the cmx file (#10087 )
flutter/engine@8ebd15d26 Roll src/third_party/skia f564f1515bde..fdf4bfe6d389 (1 commits) (#10100 )
flutter/engine@f529a251b Roll fuchsia/sdk/core/mac-amd64 from lvLKs8Q4CKm_XLoZCQ72RO0RHI6yvJXnA9M_M8r4-aAC to A21rwGAUjpjVTX8HgpT9Iyx6J_QZBRDhu-5GAclrf00C (#10099 )
flutter/engine@d409df823 Roll src/third_party/dart 9c148623c5..82f657d7cb (25 commits)
flutter/engine@acd139ce6 Roll src/third_party/skia 1cd1ed8976c4..f564f1515bde (1 commits) (#10097 )
flutter/engine@f2c9da4a0 Roll src/third_party/skia 3ae30cc2e6e0..1cd1ed8976c4 (1 commits) (#10096 )
flutter/engine@d2f0b9ef1 Roll fuchsia/sdk/core/linux-amd64 from MCDItwEzechMpZAiI0QOzuiTtNUGArUa4TprH0Er-7QC to gPDgr6u-BPJTgV2Nf0tlg9MTY3JwGW0cETtsQcx365AC (#10095 )
flutter/engine@0f4db494a Roll fuchsia/sdk/core/mac-amd64 from EH_61w2lpSn0UmpJkynWM6tiT0nnKk1GhTRRKK2cGMwC to lvLKs8Q4CKm_XLoZCQ72RO0RHI6yvJXnA9M_M8r4-aAC (#10094 )
flutter/engine@298799991 Roll src/third_party/skia 0f9c660aa939..3ae30cc2e6e0 (1 commits) (#10093 )
flutter/engine@a4d2d3648 Roll fuchsia/sdk/core/linux-amd64 from tCzkXNr7cb5OAbS5NcJ4F_g0DgVj3w8rfbT14AcaTHoC to MCDItwEzechMpZAiI0QOzuiTtNUGArUa4TprH0Er-7QC (#10090 )
flutter/engine@d27a6373d Roll fuchsia/sdk/core/mac-amd64 from xNAaLqZJk8Bkz00BaHGzE8hCpiohggO7KabM3g2wdsQC to EH_61w2lpSn0UmpJkynWM6tiT0nnKk1GhTRRKK2cGMwC (#10089 )
flutter/engine@20dc17282 Roll src/third_party/skia d15571af2e1b..0f9c660aa939 (1 commits) (#10088 )
flutter/engine@9e7260b9d Roll fuchsia/sdk/core/linux-amd64 from kU0OwJYlceN477ejdh9RXrl7Mp-wUTNvQozlaV96xmQC to tCzkXNr7cb5OAbS5NcJ4F_g0DgVj3w8rfbT14AcaTHoC (#10086 )
flutter/engine@0e621d902 [fuchsia] Use the new far package model (#10085 )
flutter/engine@bdc713695 [fuchsia] Add sysroot and clang libs to package (#10082 )
flutter/engine@72f747ae4 Roll fuchsia/clang/linux-amd64 from apsjZJ9ZIwlS08divc0QwxuNgIFeN4X-52mKR9d8qacC to zHiuOGMDwdWPUkV1B2fHKyRy2fGWGcUgfa2z6dyGAZQC (#10084 )
flutter/engine@bfe689ee8 Roll fuchsia/clang/mac-amd64 from USm3Qt9wen4bXoFF0T9Xt8NX-pyEfte2cTYi7geLAhQC to UYD9C8IEkWVi83ef4zwO1Ump2B8cP9Nd5WECjU8l3AUC (#10083 )
flutter/engine@cf5d76c17 [fuchsia] Add support for libs in packages (#10081 )
flutter/engine@c4c64896a Roll src/third_party/skia 829144cc76fe..d15571af2e1b (2 commits) (#10080 )
flutter/engine@25e5d597e Roll fuchsia/sdk/core/linux-amd64 from S_24mhItBb7pfUof8zsJPPSctC7xdlfjDEXEtyO25GYC to kU0OwJYlceN477ejdh9RXrl7Mp-wUTNvQozlaV96xmQC (#10079 )
flutter/engine@f7e0614b8 Change ParagraphBuilder to replace the parent style's font families with the child style's font families (#10074 )
flutter/engine@eb74f2ce7 One more luci fix (#10078 )
flutter/engine@6e732c7f1 Change flutter runner target for LUCI (#10075 )
flutter/engine@44ec59b70 Roll src/third_party/dart fedd74669a..9c148623c5 (70 commits) (#10066 )
flutter/engine@abf93699f Basic structure for flutter_jit_runner far (#10073 )
flutter/engine@3c76b90b2 Track clusters and return cluster boundaries in getGlyphPositionForCoordinates (emoji fix) (#10063 )
flutter/engine@e8fb641f6 Enable consts from environment in DDK for flutter_web (#10069 )
flutter/engine@bd3870219 [macos] Revert check on FlutterCodecs and refactor message function] (#10009 )
flutter/engine@d6e1a93e2 Roll src/third_party/skia e11dfd3da4d7..829144cc76fe (4 commits) (#10072 )
flutter/engine@d595af681 Roll fuchsia/sdk/core/linux-amd64 from XqtWTBni4xpYCTr7gqU7rFTuXNY1TZ_zOqBJrZM8c_kC to S_24mhItBb7pfUof8zsJPPSctC7xdlfjDEXEtyO25GYC (#10071 )
2019-07-24 22:44:12 -07:00
Jonah Williams
93f511cf77
Unbreak build_runner ( #36884 )
2019-07-24 16:12:56 -07:00
Matt Carroll
a7387b127d
Added demo projects for splash screen support on Android. ( #35728 )
2019-07-24 13:44:13 -07:00
Jonah Williams
40884af28e
check for directory instead of path separator ( #36787 )
2019-07-24 13:20:08 -07:00
Jonah Williams
15e322c0e5
Expose build-dir config option ( #36773 )
2019-07-24 12:13:51 -07:00
sjindel-google
6e963b9985
Remove flaky check for analyzer message. ( #36832 )
2019-07-24 20:21:31 +02:00
Jiahao
4de9b4461b
Parameterize CoverageCollector with a library name predicate ( #36774 )
...
An optimization to the coverage collection speed was added in #30811 . This commit further expands on it to parameterize the CoverageCollector with a custom predicate, allowing internal use cases to filter the RPC calls to the Dart VM based on scripts of interest to coverage collection.
2019-07-24 10:58:37 -07:00
Ian Hickson
e8d7306828
Some minor cleanup for flutter_tools ( #36569 )
2019-07-24 10:58:09 -07:00
Zachary Anderson
6fe45fb1ac
[flutter_tool] Improve Windows flutter clean error message ( #36784 )
2019-07-24 10:56:06 -07:00
Jonah Williams
3b4d9f6780
more resident runner verification tests ( #36595 )
2019-07-23 15:38:52 -07:00
Jonah Williams
694d54ccac
Place build outputs under dart tool ( #36585 )
2019-07-23 15:36:55 -07:00
Jonah Williams
14aa4d0a45
fix analytics reporting test ( #36556 )
2019-07-23 11:02:02 -07:00
Zachary Anderson
ebdc2cf73b
[flutter_tool] Add some useful commands to the README.md ( #36560 )
2019-07-23 09:47:06 -07:00
Emmanuel Garcia
242a4225a1
Flutter build aar ( #36732 )
...
`flutter build aar`
This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects.
This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps.
This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app.
`flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files.
In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`:
repositories {
maven {
url "<path-to-flutter-module>build/host/outputs/repo"
}
}
dependencies {
implementation("<package-name>:flutter_<build-mode>:1.0@aar") {
transitive = true
}
}
2019-07-23 09:27:42 -07:00
Emmanuel Garcia
c9b466f9e2
Revert "Add flutter build aar ( #35217 )" ( #36731 )
...
This reverts commit 11460b8378
.
2019-07-22 22:07:59 -07:00
Emmanuel Garcia
11460b8378
Add flutter build aar ( #35217 )
...
`flutter build aar`
This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects.
This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps.
This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app.
`flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files.
In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`:
repositories {
maven {
url "<path-to-flutter-module>build/host/outputs/repo"
}
}
dependencies {
implementation("<package-name>:flutter_<build-mode>:1.0@aar") {
transitive = true
}
}
2019-07-22 20:46:01 -07:00
Jonah Williams
e5ea996a1f
disable flaky windows test ( #36722 )
2019-07-22 18:14:43 -07:00
Jonah Williams
3fedb8cb5a
Reland: use flutter features for web and desktop ( #36699 )
2019-07-22 15:34:03 -07:00
Ian Hickson
542fbd4c71
Some minor fixes to the tool_coverage tool. ( #36570 )
...
Extracted from https://github.com/flutter/flutter/pull/36205
2019-07-22 13:02:02 -07:00
Danny Tuppeny
d42d0c5171
Re-enable flutter test
expression evaluation tests ( #36431 )
...
Plus:
- Resume the app being run after expression has been evaluated to prevent the test run being forcefully terminated because it didn't end
- Skip non-JSON when waiting for JSON (eg. when running in verbose mode for debugging locally)
- Pass defaultTimeout in waitForJson (otherwise the assert in _timeoutWithMessages fails when it's not provided)
Closes https://github.com/flutter/flutter/issues/26518 (the original reason for skip was fixed in https://github.com/dart-lang/sdk/issues/34224 ).
2019-07-22 19:43:37 +01:00
Jonah Williams
8eae2dfb92
Revert "Use FlutterFeatures to configure web and desktop devices ( #36465 )" ( #36654 )
...
This reverts commit bd52a78c71
.
2019-07-21 21:47:43 -07:00
Jonah Williams
bd52a78c71
Use FlutterFeatures to configure web and desktop devices ( #36465 )
2019-07-21 18:21:15 -07:00
Jonah Williams
9bd50c5459
Ensure fx flutter attach can find devices ( #36564 )
2019-07-21 10:24:04 -07:00
Zachary Anderson
76cbbeb627
[flutter_tool] Send the local time to analytics with screens and events ( #36545 )
2019-07-19 14:54:18 -07:00
Jonah Williams
6830edd0be
Clean up flutter driver device detection. ( #36434 )
2019-07-19 14:48:17 -07:00
Jenn Magder
5e650af7fa
Clean up host_app_ephemeral_cocoapods Profile build settings ( #36498 )
2019-07-19 12:49:26 -07:00
Christopher Fujino
9bd2e4000b
Throw exception if instantiating IOSDevice on non-mac os platform ( #36288 )
2019-07-19 12:20:45 -07:00
Todd Volkert
7b556dcc18
Fix the web builds by reverting version bump of build_modules ( #36548 )
2019-07-19 09:36:36 -07:00
Dan Field
c953cd19d2
Enable bitcode compilation for AOT ( #36471 )
2019-07-18 22:42:47 -07:00
Todd Volkert
e6128a0c14
Fix flutter pub -v
( #36513 )
...
When we were running `pub` within `flutter pub`, we were
unconditionally including the `--verbosity=warning` argument.
Then we were conditionally including `--verbose` if we were
running in verbose mode. However, the former argument
supersedes the latter, and we were never able to run `pub`
in verbose mode.
2019-07-18 22:22:22 -07:00
Todd Volkert
1170105eae
flutter update-packages --force-upgrade ( #36510 )
2019-07-18 22:21:58 -07:00
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
757b5365fa
Add missing test case for Usage ( #36379 )
2019-07-18 10:41:13 -07:00
Jonah Williams
1957c66300
add testing to screenshot and printDetails method ( #36418 )
2019-07-18 10:40:40 -07:00
Jonah Williams
962a3cfd1c
Add missing protobuf dependency ( #36394 )
2019-07-17 15:45:13 -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
Todd Volkert
57efab6e58
FakeHttpClientResponse improvements ( #36289 )
...
Update `FakeHttpClientResponse` to be impervious to Dart SDK
changes to the `HttpClientResponse` stream type (between `List<int>`
and `Uint8List`).
2019-07-17 08:42:12 -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
Ian Hickson
d919e694b8
Move tools tests into a general.shard directory in preparation to changing how we shard tools tests ( #36108 )
2019-07-13 11:51:44 -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
Anoop B
90326b6184
[ImgBot] Optimize images ( #35971 )
2019-07-11 21:16:48 -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
Ian Hickson
176ebfd53e
flutter/tests support ( #33140 )
...
This introduces a script that implements the conventions described in https://github.com/flutter/tests/pull/1 .
2019-07-10 12:10:28 -07:00
Jenn Magder
ec2c3f2116
Disable CocoaPods input and output paths in Xcode build phase for ephemeral add2app ( #35833 )
2019-07-10 10:40:15 -07:00
Jonah Williams
2b20345bb8
use pub run for create test and remove [INFO] logs ( #35839 )
2019-07-10 08:48:01 -07:00
Jonah Williams
adf45d1e40
Refactor signal and command line handler from resident runner ( #35406 )
2019-07-09 13:10:26 -07:00
chunhtai
a76e39f984
Rendering errors with root causes in the widget layer should have a reference to the widget ( #32511 )
2019-07-09 10:18:30 -07:00
Alexandre Ardhuin
b041a589c8
enable lint prefer_if_null_operators ( #35745 )
2019-07-09 10:53:35 +02:00
Jenn Magder
559c9982dd
UIApplicationLaunchOptionsKey -> UIApplication.LaunchOptionsKey ( #35763 )
2019-07-08 16:55:27 -07:00
Dan Field
e3acb5ca71
Refactor keymapping for resident_runner ( #35762 )
2019-07-08 16:38:49 -07:00
Jenn Magder
f3150ed0b5
Remove Swift Obj-C Inference build setting ( #35756 )
2019-07-08 16:04:16 -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
Karen Rustad Tölva
9155795883
Fix typo in main.dart templates ( #35684 )
2019-07-08 10:36:44 -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
Jonah Williams
e6a7419603
disable a test case in xcode_backend.sh ( #35708 )
2019-07-08 08:04:48 -07:00
Todd Volkert
3bf91b5436
Prepare for Socket implements Stream<Uint8List> ( #35646 )
...
An upcoming change in the Dart SDK changes `Socket` from
implementing `Stream<List<int>>` to implementing `Stream<Uint8List>`.
This forwards-compatible change in flutter_tools prepares for that
Dart SDK change.
https://github.com/dart-lang/sdk/issues/36900
2019-07-05 12:59:32 -07:00
Jonah Williams
93edc014ae
update packages ( #35573 )
2019-07-04 11:26:19 -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
Jonah Williams
b8597f0a7e
Move usage flutter create tests into memory filesystem. ( #35160 )
2019-07-03 10:49:33 -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
Jenn Magder
95a1816698
Clean up host_app_ephemeral Profile build settings ( #35307 )
2019-07-01 11:02:25 -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
Jonah Williams
c9b283386b
ensure test isolate is paused before collecting coverage ( #35188 )
2019-06-27 13:50:47 -07:00
Alexandre Ardhuin
919dcf53f3
enable lints prefer_spread_collections and prefer_inlined_adds ( #35189 )
2019-06-27 21:23:16 +02:00
Jonah Williams
a0b2878e76
Make tool coverage collection resilient to sentinel coverage data ( #35186 )
2019-06-27 11:17:58 -07:00
Jonah Williams
8532f4d08e
Allow multi-root web builds ( #34896 )
...
* fix multiroot builds
* remove shout
* add basic test
* Update web_compilation_delegate.dart
* Address review feedback
* Update multiroot_asset_reader_test.dart
* Update multiroot_asset_reader_test.dart
* remove unpassable test
* fix for windows
* facepalm
2019-06-27 06:01:41 -07:00
Todd Volkert
883d6eadcb
More HttpClientResponse implements Stream<Uint8List>
fixes ( #35149 )
...
https://github.com/dart-lang/sdk/issues/36900
2019-06-26 16:56:10 -07:00
Jonah Williams
33ad5bac34
Attempt to enable tool coverage redux ( #35074 )
2019-06-26 16:02:49 -07:00
Dan Field
bb79ff3b49
More shards ( #34877 )
...
Shard tool_tests
2019-06-26 13:55:16 -07:00
Lau Ching Jun
cfe4d0d7b9
Add FlutterProjectFactory so that it can be overridden internally. ( #35092 )
...
Also update the comments since we don't return Future<FlutterProject>
anymore.
2019-06-26 13:29:53 -07:00
Lau Ching Jun
c8cefce300
Move findTargetDevices to DeviceManager ( #35084 )
...
This allows us to override the behavior internally.
2019-06-26 10:09:14 -07: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
Josh Burton
577c2fc48c
Ensures flutter jar is added to all build types on plugin projects ( #34573 )
2019-06-25 10:40:55 -07:00
Alexandre Ardhuin
c7408be181
prepare for lint update of prefer_final_fields ( #35059 )
2019-06-25 19:39:34 +02:00
Emmanuel Garcia
2cf8213468
Break down flutter doctor validations and results ( #34624 )
2019-06-25 10:22:08 -07:00
Alexandre Ardhuin
fecf99ff1e
enable lint avoid_bool_literals_in_conditional_expressions ( #35055 )
2019-06-25 17:40:05 +02:00
Jonah Williams
25b5656969
Reland: rename web device ( #34885 )
2019-06-24 11:09:07 -07:00
Danny Tuppeny
8dbfc82bc7
Tweak the display name of emulators ( #34785 )
2019-06-24 11:41:02 +01:00
Todd Volkert
bb6c3f8131
Remove flutter_tools support for old AOT snapshotting ( #34895 )
...
Android now exclusively uses ELF shared libraries, and
iOS uses assembly.
2019-06-22 19:30:24 -07:00
Jonah Williams
d644015620
Revert "set web device name to Chrome ( #34856 )" ( #34884 )
2019-06-21 15:04:44 -07:00
Jonah Williams
19d7925f1f
set web device name to Chrome ( #34856 )
2019-06-21 14:26:25 -07:00
Jonah Williams
25a3121dfd
Prefer ephemeral devices from command line run ( #34802 )
2019-06-20 14:33:58 -07:00
Jason Simmons
300e8f842b
Remove flags related to dynamic patching ( #34736 )
2019-06-20 12:06:30 -07:00
Jenn Magder
1b176c5df1
Update Xcode projects to recommended Xcode 10 project settings ( #34738 )
2019-06-20 08:48:19 -07:00
Jenn Magder
fa491fc9fe
Close platform when tests are complete (dispose compiler and delete font files) ( #34685 )
2019-06-20 08:47:54 -07:00
Jonah Williams
b9932d55e7
Add linux doctor implementation ( #34755 )
2019-06-20 08:20:57 -07:00
Jonah Williams
d7e53d4816
move hack flag to common ( #34754 )
2019-06-19 16:29:11 -07:00
Jonah Williams
830fb38640
Revert "Add basic desktop linux checks ( #31873 )" ( #34753 )
...
This reverts commit f221ad1f92
.
2019-06-19 16:03:05 -07:00
Jonah Williams
f221ad1f92
Add basic desktop linux checks ( #31873 )
2019-06-19 15:51:21 -07:00
Jonah Williams
d4d10dac61
Revert "Check whether FLUTTER_ROOT and FLUTTER_ROOT/bin are writable. ( #34291 )" ( #34750 )
...
This reverts commit 49449505b6
.
2019-06-19 15:37:04 -07:00
Jonah Williams
0d9a1b201e
Remove environment variable guards for command line desktop and web ( #33867 )
2019-06-19 13:39:27 -07:00
Jonah Williams
5d3efbde80
unpin build daemon ( #34686 )
2019-06-19 11:43:38 -07:00
Jonah Williams
7851a75183
Fix NPE in flutter tools ( #34725 )
2019-06-19 11:43:06 -07:00
Jonah Williams
0d4f4bddb6
Don't crash on invalid .packages file in initial run( #34527 )
2019-06-19 10:52:23 -07:00
Jonah Williams
49449505b6
Check whether FLUTTER_ROOT and FLUTTER_ROOT/bin are writable. ( #34291 )
2019-06-19 09:12:43 -07:00
Danny Tuppeny
d9983e1be7
Add category/platformType to emulators ( #34721 )
2019-06-19 17:10:39 +01:00
Devon Carew
2b0c351880
fix a typo ( #34584 )
2019-06-19 07:26:10 -07:00
Emmanuel Garcia
c50fa3d2bd
Re-land config lib dependencies for flavors ( #34668 )
2019-06-18 22:37:42 -07:00
Jonah Williams
7472fad194
Remove most of the target logic for build web, cleanup rules ( #34589 )
2019-06-18 17:04:11 -07:00
Emmanuel Garcia
9dbc66979a
Revert "Config lib dependencies when using flavors ( #34592 )" ( #34655 )
...
This reverts commit 358b9bd381
.
2019-06-18 15:30:59 -07: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
Jenn Magder
8be46a0c4a
Kill compiler process when test does not exit cleanly ( #34616 )
2019-06-18 11:24:19 -07:00
stuartmorgan
cc541e6724
Add missing pieces for 'driver' support on macOS ( #34376 )
...
- Adds desktop projects to ApplicationPackageStore
- Plumbs target overrides through the macOS build
2019-06-18 11:14:46 -07:00
Jason Simmons
c19f78866d
Remove portions of the Gradle script related to dynamic patching ( #34606 )
2019-06-18 11:11:38 -07:00
Emmanuel Garcia
358b9bd381
Config lib dependencies when using flavors ( #34592 )
2019-06-17 15:05:16 -07:00
Jonah Williams
a772d4d314
retry on HttpException ( #34526 )
2019-06-17 10:48:01 -07:00
Emmanuel Garcia
09c09bf14b
Add back ability to override the local engine in Gradle ( #34460 )
2019-06-16 21:52:44 -07:00
Josh Burton
07dc236237
Handles parsing APK manifests with additional namespaces or attributes ( #34535 )
2019-06-16 00:18:38 -07:00
Zachary Anderson
dfecafa4ab
[flutter_tool,fuchsia] Update the install flow for packaging migration. ( #34447 )
2019-06-14 09:46:23 -07:00
Michael Thomsen
264de26572
Change API doc link to api.dart.dev ( #34388 )
2019-06-14 14:19:36 +02:00
Ian Hickson
d310d31de3
Roll pub dependencies ( #33677 )
2019-06-13 18:07:16 -07:00
Todd Volkert
530824f423
Skip flaky test on Windows ( #34464 )
...
https://github.com/flutter/flutter/issues/34446
2019-06-13 17:56:07 -07:00
Jonah Williams
f68bc1beb2
Dont depend on web SDK unless running tests on chrome ( #34457 )
2019-06-13 17:51:36 -07:00
Emmanuel Garcia
1c6cda9a0d
Refactor Gradle plugin ( #34353 )
2019-06-13 16:05:28 -07:00
Emmanuel Garcia
2488c38931
Remove unused flag --target-platform
from flutter run
( #34369 )
2019-06-13 11:47:42 -07:00
Emmanuel Garcia
afdc783ce5
Report commands that resulted in success or failure ( #34288 )
...
This is added as a dimension cd26
2019-06-13 10:27:23 -07:00
Zachary Anderson
3b42341aac
[flutter_tool,fuchsia] Prefetch tiles when starting an app ( #34276 )
2019-06-13 09:52:09 -07:00
Todd Volkert
8163c0aebb
Re-apply compressionState changes. ( #34341 )
...
This re-applies the changes that were made in #33697 and #33729 ,
but which were reverted in #33792 and #33790 , respectively due to
the Dart SDK not having received the update within Google yet.
The SDK has now rolled, so these changes can be re-applied.
https://github.com/flutter/flutter/issues/32374
https://github.com/flutter/flutter/issues/33791
2019-06-12 13:47:47 -07:00
Jenn Magder
c40d701e96
Change Xcode project developmentRegion to 'en' and plist CFBundleDevelopmentRegion to DEVELOPMENT_LANGUAGE ( #34293 )
2019-06-12 11:31:17 -07:00
Zachary Anderson
22ca3f96ca
[flutter_tool] Don't truncate verbose logs from _flutter.listViews ( #34255 )
2019-06-12 11:18:53 -07:00
Todd Volkert
fb2f18e7e8
Prepare for Uint8List SDK breaking changes ( #34295 )
...
https://github.com/dart-lang/sdk/issues/36900
2019-06-12 10:22:50 -07:00
Emmanuel Garcia
d9c1962973
Instrument usage of include_flutter.groovy and xcode_backend.sh ( #34189 )
...
This is done via `flutter build bundle`. As a consequence, this PR introduces a new way to disable analytics via the `FLUTTER_SUPPRESS_ANALYTICS` env flag.
2019-06-11 14:46:00 -07:00
Jason Simmons
89d887f331
Strip debug symbols from ELF library snapshots ( #34250 )
...
AOT compiled code is now packaged as an ELF library for Android targets.
By default gen_snapshot's output contains debug symbols. The symbols could
be stripped as a separate step, but that requires NDK tools that the user
may not have available.
This change passes a gen_snapshot flag that omits the symbols, and it filters
out a warning printed when that flag is used.
2019-06-11 13:34:24 -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 587687eedf
.
2019-06-11 11:37:47 -07:00
Jonah Williams
ca14af6b92
Compatibility pass on flutter/rendering tests for JavaScript compilation. (5) ( #33355 )
2019-06-10 17:29:46 -07:00
Todd Volkert
1b3fc53595
Consider all non-interactive terminals to be bots ( #34179 )
2019-06-10 16:32:08 -07:00
Jonah Williams
f530b809b6
Reland: More verification on flutter build web, add tests and cleanup ( #34173 )
2019-06-10 15:37:23 -07:00
Jenn Magder
c8bf7abeee
Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system ( #34167 )
...
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-10 14:30:28 -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
71bfe3be9f
Revert "More verification on flutter build web, add tests and cleanup ( #34090 )" ( #34166 )
2019-06-10 12:01:14 -07:00
Jonah Williams
354ce1aa5a
More verification on flutter build web, add tests and cleanup ( #34090 )
2019-06-10 11:27:25 -07:00
Jonah Williams
392e825b24
Use product define for flutter web and remove extra asset server ( #34159 )
2019-06-10 09:54:02 -07:00
Alexander Aprelev
d91797807e
Report async callback errors that currently go unreported. ( #34081 )
...
* Report async callback errors that currently go unreported.
* Add a test
2019-06-10 09:52:22 -07:00
Jonah Williams
7f7c00a4e9
Enable web foundation tests ( #34032 )
2019-06-09 11:03:46 -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
Jonah Williams
8896f48c0f
make running on web spooky ( #34084 )
2019-06-07 18:17:04 -07:00
Jonah Williams
317e4cb013
don't warn on CHROME_EXECUTABLE missing if we've already located it. ( #34079 )
2019-06-07 18:16:54 -07:00
Josh Burton
9223a44b8a
Adds the androidX flag to a modules pubspec.yaml template so it is se… ( #34066 )
...
This is a small follow up to the previous AndroidX PR: https://github.com/flutter/flutter/pull/31028
This fixes an issue mentioned [here](https://github.com/flutter/flutter/issues/28805 ) where the androidX flag for a module is not set when creating a new project:
`flutter create --androidx -t module my_flutter`
2019-06-07 16:09:21 -07:00
Christopher Fujino
10d8758b2f
add analytics fields for attached device os version & run mode ( #34074 )
...
Adds two new custom analytics dimensions: run_target_os_version and run_target_mode_name that are sent with each invocation of flutter run and show up in Google Analytics as "screens".
2019-06-07 16:03:53 -07:00
Zachary Anderson
b847ba5a63
[flutter_tool] Send build timing to analytics ( #34049 )
2019-06-07 13:50:45 -07:00
Jonah Williams
bd413bff1b
Add flutter create for the web ( #34018 )
2019-06-07 13:15:38 -07:00
Jonah Williams
ef5fc1ae65
limit open files on macOS when copying assets ( #34050 )
2019-06-07 12:59:33 -07:00
Danny Tuppeny
d2e6ab69a2
Increase daemon protocol version for getSupportedPlatforms ( #33980 )
2019-06-07 07:48:27 +01:00
Jonah Williams
c91b657116
Codegen an entrypoint for flutter web applications ( #33956 )
2019-06-06 21:05:55 -07:00
stuartmorgan
17d6f6a072
Make plugins Swift-first on macOS ( #33997 )
...
Instead of sharing the iOS codepath that uses an ObjC generated plugin
registrant and expecting plugins to have an ObjC interface layer, switch
to generating a Swift registrant and expecting plugins to have a Swift
interface.
This means plugins on macOS that use Swift won't need an ObjC wrapper,
and plugins that use ObjC will need a Swift wrapper (inverting the
structure relative to iOS).
2019-06-06 15:49:24 -07:00
stuartmorgan
fb8df82c06
Add 'doctor' support for Windows ( #33872 )
...
Moves the logic for finding vcvars64.bat to a new VisualStudio class
that encapsulates finding, and providing information about, VisualStudio
installations. Adds a validator for it, and runs it for Windows
workflows in doctor.
2019-06-06 14:02:27 -07:00
stuartmorgan
9751f3e537
Add use_frameworks to macOS Podfile template ( #33987 )
...
This wasn't included originally since it didn't seem to be necessary for
macOS in testing, but not having it breaks Swift plugins. This matches
the iOS Swift Podfile template.
2019-06-06 12:43:37 -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
Zachary Anderson
5555725fe3
[flutter_tool] Fix 'q' for Fuchsia profile/debug mode ( #33846 )
2019-06-06 11:16:19 -07:00
Zachary Anderson
5180201fe1
[flutter_tool] Track APK sha calculation time ( #33923 )
2019-06-05 15:28:19 -07:00
Jonah Williams
b3382b9907
Reland support flutter test on platform chrome ( #33859 )
2019-06-05 15:27:49 -07:00
Jonah Williams
7548614350
Prevent windows web doctor from launching chrome ( #33874 )
2019-06-05 15:16:50 -07:00
Jonah Williams
50ea6f32d3
add benchmarks to track web size ( #33892 )
2019-06-05 12:40:21 -07:00
Jenn Magder
035e3d37d7
Revert "Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system ( #33852 )" ( #33882 )
...
This reverts commit d053fe5cb3
.
2019-06-04 15:35:35 -07:00
Kaushik Iska
92bfc99132
Added a benchmark for ImageCache ( #33814 )
...
* Add an image cache benchmark for a monochrome image
2019-06-04 12:32:52 -07:00
Jenn Magder
d053fe5cb3
Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system ( #33852 )
...
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-04 12:17:57 -07:00
Greg Spencer
387e2b0602
Add actions and keyboard shortcut map support ( #33298 )
...
This implements the keyboard shortcut handling and action invocation in order to provide a place in the infrastructure for keyboard events to trigger actions. This will allow binding of key events to actions like "move the focus to the next widget" and "activate button".
2019-06-04 11:30:24 -07:00
Jonah Williams
83986acbdb
Add a real-er web restart, doctor, workflow ( #33786 )
2019-06-03 23:19:42 -07:00
Jenn Magder
9734f4ed43
Revert "Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system ( #33684 )"
...
This reverts commit ef792fc30d
.
2019-06-03 17:19:53 -07:00
Jenn Magder
ef792fc30d
Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system ( #33684 )
...
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-03 16:11:33 -07:00
Todd Volkert
52fc807dd2
Remove references to HttpClientResponseCompressionState ( #33792 )
...
https://github.com/flutter/flutter/issues/33791
2019-06-03 14:53:43 -07:00
Todd Volkert
b835b45a3c
Revert "Add capability to flutter test --platform=chrome" ( #33800 )
...
This reverts https://github.com/flutter/flutter/pull/33525
2019-06-03 14:53:01 -07:00
Dan Field
639c9935ae
wire in fuchsiaApp ( #33781 )
2019-06-03 14:31:56 -07:00
Zachary Anderson
590dbbd924
[flutter_tool] Log an Android X related failure to analytics ( #33782 )
2019-06-03 13:16:44 -07:00
Kate Lovett
89d4267299
Removing old golden checkout for integration test ( #33676 )
...
* Removing old golden checkout for integration test
* Removed unused import
2019-06-03 09:59:59 -07:00
Chris Bracken
264381a670
Default optional bool param to false ( #33704 )
...
In runTests, we previously now default the optional boolean `web`
parameter to false to ensure (or at least improve the odds) that the
conditional on line 70 evaluates to true or false.
2019-06-01 01:42:34 -07:00
Chris Bracken
98ea501995
Revert "Add real-er restart for web using webkit inspection protocol ( #33629 )" ( #33703 )
...
Revert "fix devicelab manfiest (#33698 )"
This reverts commit 5a6a00dc54
.
This reverts commit 0d79f0fc79
.
2019-05-31 21:53:30 -07:00
Chris Bracken
2467c528f5
Roll engine 69ebe5fb28fc..a4b7d1c2895d (3 commits) ( #33697 )
...
69ebe5fb28..68a3ca46b4
git log 69ebe5fb28fca271b23010d43d4dc7f6e5286c4f..a4b7d1c2895d82228705a021cdb7fdb2f71ac2a5 --no-merges --oneline
4c6253cdd Copy the macOS podspec during builds (#9158 )
68a3ca46b Roll src/third_party/dart 445a23a9bc..0e6b74543c (29 commits) (#9159 )
1d1cff1fa Roll src/third_party/skia 3cd435eecf5e..09f5aedf2cc8 (3 commits) (#9160 )
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (cbracken@google.com ), and stop
the roller if necessary.
2019-05-31 21:17:43 -07:00
Josh Burton
d0e45a2369
Adds support for generating projects that use AndroidX support libraries ( #31028 )
2019-05-31 18:33:02 -07:00
Jonah Williams
5a6a00dc54
Add real-er restart for web using webkit inspection protocol ( #33629 )
2019-05-31 17:37:01 -07:00
Jonah Williams
4db845fb6a
Add capability to flutter test --platform=chrome ( #33525 )
2019-05-31 15:55:51 -07:00
stuartmorgan
3ebebebb8d
Implement plugin tooling support for macOS ( #33636 )
...
Enables the CocoaPods-based plugin workflow for macOS. This allows a
macOS project to automatically fetch and add native plugin
implementations via CocoaPods for anything in pubspec.yaml, as is done
on iOS.
2019-05-31 13:19:44 -07:00
Jonah Williams
27876e09be
Revert "Devfs cleanup and testing ( #33374 )" ( #33673 )
...
This reverts commit 445505d6f2
.
2019-05-31 13:17:12 -07:00
Jason Simmons
b7bd5768c6
Change screenshot observatory port flag to a URI that can include the authentication code ( #33666 )
...
Fixes https://github.com/flutter/flutter/issues/32750
2019-05-31 13:15:49 -07:00
Jonah Williams
445505d6f2
Devfs cleanup and testing ( #33374 )
2019-05-30 16:13:46 -07:00
Jason Simmons
e810512b32
Use Dart's new direct ELF generator to package AOT blobs as shared libraries in Android APKs ( #33611 )
...
This is a replacement for the old implementation of --build-shared-library
that emits an AOT assembly snapshot and feeds it to the Android NDK toolchain.
2019-05-30 16:07:22 -07:00
stuartmorgan
932200caea
Restructure macOS project files ( #33608 )
...
Rather than macos/Flutter containing a mixture of files that should and
shouldn't be checked in, create clear locations for:
- Files that are "owned" by Flutter, but should be checked in
(Flutter/). This will contain files like the top-level Flutter
xcconfigs, generated plugin registrants, etc.
- Files that are generated by Flutter on the fly, and should not be
checked in (Flutter/ephemeral/). This will contain Flutter SDK caches,
the generated xcconfig, etc.
Also adds Flutter-owned Debug and Release xcconfig variants, in
preparation for PodSpec tooling.
2019-05-30 13:43:31 -07:00
stuartmorgan
5f6f70e677
Pass local engine variables to Windows build ( #33540 )
...
The props file used in the Windows build didn't include the local engine
build flags when applicable.
2019-05-30 12:45:33 -07:00
Jonah Williams
f38ee15286
add daemon command to enumerate supported platforms ( #33472 )
2019-05-30 10:14:23 -07:00
Jonah Williams
7263c127ed
Add local overrides to testbed and provide more defaults ( #33264 )
2019-05-29 22:49:53 -07:00
Jonah Williams
da600bacfe
Reland - Wire up hot restart and incremental rebuilds for web ( #33533 )
2019-05-29 22:46:28 -07:00
Emmanuel Garcia
3bbdf017c4
Add to app measurement ( #33458 )
2019-05-29 20:56:28 -07:00
Jason Simmons
311cde98a6
Reland "Clean up some flutter_tools tests and roll dependencies" ( #33225 )
...
This relands flutter/flutter#33163 with a fix to the integration_ui test.
2019-05-29 19:04:35 -07:00
Zachary Anderson
b84ac50dfe
[flutter_tool] Misc. fixes for Fuchsia ( #33466 )
2019-05-29 15:37:07 -07:00
stuartmorgan
79ae04d4ed
Build the solution on Windows ( #33528 )
...
Switch from building Runner.vcxproj to Runner.sln on Windows, to allow
for multiple-project builds (e.g., separate plugin projects).
2019-05-29 13:17:23 -07:00
Jonah Williams
925f5f1c53
Revert "Wire up hot restart and incremental rebuilds for web ( #33197 )" ( #33529 )
...
This reverts commit 52ae99682e
.
2019-05-29 12:09:01 -07:00
Zachary Anderson
8139a368ea
[flutter_tool] Use product runner in Fuchsia release build ( #33282 )
2019-05-29 10:08:58 -07:00
Jonah Williams
52ae99682e
Wire up hot restart and incremental rebuilds for web ( #33197 )
2019-05-29 09:49:16 -07:00
stuartmorgan
aecf053ee0
Use vswhere to find Visual Studio ( #33448 )
...
Rather than hard-coding a set of locations to check, use vswhere (which
is installed by VS 2017 and later), and construct the vcvars64.bat path
relative to that. This will allow Windows builds to work without special
configuration for people who have VS installed at a custom path.
Also adds error logging with different messages for each failure point,
so that rather than the not-very-informative 'failed to find
vcvars64.bat' message, the failure will provide feedback about what to
do.
This is an interim solution; later this will be replaced by a
VisualStudio class with associated validator to match the structure of
the other toolchains.
Fixes #33249
2019-05-29 09:17:17 -07:00
stuartmorgan
e1a784ae3f
Wrap Windows build invocation in a batch script ( #33443 )
...
Invoking msbuild with runInShell makes handling path escaping more
error-prone, and substantially increases the chances of running into
maximum path limits. This replaces the direct call with a .bat wrapper
that calls vsvars64.bat then msbuild, and uses relative paths within the
script to keep command lengths short.
Fixes https://github.com/flutter/flutter/issues/32792
2019-05-28 21:53:03 -07:00
Jonah Williams
c56b455180
ensure unpack declares required artifacts ( #33454 )
2019-05-28 17:35:05 -07:00
Jonah Williams
d729e70e0c
correctly pin build_daemon ( #33463 )
2019-05-28 15:28:24 -07:00
Jason Simmons
f9e28e7df7
Do not return null from IosProject.isSwift ( #33450 )
2019-05-28 14:27:38 -07:00
Jonah Williams
8e3e0a89f4
Revert "Instrument add to app flows ( #33297 )" ( #33449 )
...
This reverts commit faec4ca361
.
2019-05-28 12:52:58 -07:00
Emmanuel Garcia
faec4ca361
Instrument add to app flows ( #33297 )
2019-05-28 11:11:20 -07:00
Luiz Dubas
841e1cf0af
Add mustRunAfter on mergeAssets task to force task ordering ( #33272 )
...
Co-authored-by: Miguel Lemos <miguelslemos@gmail.com>
2019-05-28 10:01:19 -07:00
Jonah Williams
75d75bfaec
fix relative paths and snapshot logic in tool ( #33283 )
2019-05-25 19:47:17 -07:00
Jonah Williams
582c5587cd
make sure we build test targets too ( #33284 )
2019-05-25 19:46:44 -07:00
stuartmorgan
81c38b22cb
Implement macOS support in flutter doctor
( #33277 )
...
Splits Xcode validation out of the iOS validator and into a stand-alone
validator, and groups the CocoaPods validator with that top-level
validator instead of the iOS validator. iOS now validates only the
iOS-specific tools (e.g., ideviceinstaller).
Reorganizes many of the associated clases so that those that are used by
both macOS and iOS live in macos/ rather than ios/. Moves some
validators to their own files as part of the restructuring.
This is the macOS portion of #31368
2019-05-24 22:51:02 -04:00
Chris Bracken
156b4220b4
Americanise spellings ( #33323 )
...
Updates documentation and non-public API to use American spellings for
consistency with the rest of the codebase.
No changes to behaviour... other than how it's spelt.
2019-05-24 19:13:02 -07:00
Chris Bracken
4d9923201b
Correct typos ( #33322 )
...
Corects a bnuch of typeos throuhgout teh Fluter codebsae.
Made use of the `misspell` tool:
https://github.com/client9/misspell
2019-05-24 19:12:45 -07:00
stuartmorgan
0f6e4e6190
Add macosPrefix to the pubspec schema for plugins ( #33287 )
...
Adds a new macosPrefix, which serves the same purpose as iosPrefix but
for macOS plugins.
It is not yet used by the tooling, but this allows for plugins to start
to be written using it in preparation for tooling support for plugins.
Part of #32718
2019-05-24 15:39:48 -04:00
Zachary Anderson
f5827f0f07
[flutter_tool] Improve Fuchsia 'run' tests ( #33263 )
2019-05-24 07:48:41 -07:00
Jonah Williams
7ec9a6fa72
no longer necessary with ddc fix ( #33271 )
2019-05-23 23:49:41 -07:00
Emmanuel Garcia
12a0e475e2
Make paths absolute in settings.gradle ( #33228 )
2019-05-23 23:32:11 -07:00
Jonah Williams
1bd85dd6c2
disable flaky devfs test ( #33285 )
2019-05-23 17:05:29 -07:00
Todd Volkert
c6129b4e85
Add cast to prepare for package:file update ( #33268 )
2019-05-23 12:33:24 -07:00
Devon Carew
0e8720e926
use the --disable-server-feature-completion cli arg to the analysis server ( #33232 )
2019-05-23 07:48:23 -07:00
stuartmorgan
ef9866bf27
Build macOS via workspace, rather than project ( #33198 )
...
This is necesasry to integrate CocoaPods, since CocoaPods operates
primarily on the workspace rather than the project.
2019-05-22 19:58:29 -04:00
Jonah Williams
a30ffb60ad
Revert "Clean up some flutter_tools tests and roll dependencies ( #33163 )" ( #33206 )
2019-05-22 12:20:02 -07:00
Emmanuel Garcia
dc28ba8919
Remove colon from Gradle task name since it's deprecated ( #33191 )
2019-05-22 09:58:08 -07:00
Ian Hickson
e5f81e1048
Clean up some flutter_tools tests and roll dependencies ( #33163 )
...
* Clean up some flutter_tools tests
* Remove arbitrary retry that happens even for fundamental errors, and generally clean up _DevFSHttpWriter.
* Update dependencies (requires fixes; see next commit)
* Fixes for new dependencies.
2019-05-22 09:31:37 -07:00
Zachary Anderson
2eee3f3283
[flutter_tool] Don't look for Fuchsia artifacts on Windows ( #33146 )
2019-05-21 16:12:27 -07:00
Christopher Fujino
041755faad
don't send crash reports if on a user branch ( #33078 )
...
* don't send crash reports if on a user branch.
* add test to test/crash_reporting_test.dart
2019-05-21 11:58:41 -07:00
Zachary Anderson
94ce956f0a
[flutter_tool] Adds support for 'run' for Fuchsia devices ( #32849 )
2019-05-21 08:49:43 -07:00
Michael Thomsen
7ae3caf309
Rename flutter packages
to flutter pub
( #33041 )
2019-05-21 16:38:58 +02:00
Emmanuel Garcia
90f38907d7
Support ARM 32 and 64 bits in app bundles
2019-05-20 13:09:20 -07:00
Sam Rawlins
c2a93bd545
Fix missing return statements on function literals ( #33058 )
2019-05-20 12:51:57 -07:00
Devon Carew
50a9c31f5e
reduce retry attempts for flutter creatte --list-samples ( #32833 )
2019-05-16 18:20:30 -07:00
Alexandre Ardhuin
4fa32df141
use null aware operators ( #32711 )
...
* use null aware operators
* rollback changes about null-aware operator
* disable lint prefer_is_not_empty
2019-05-16 22:25:51 +02:00
stuartmorgan
f8b07e230a
Change the way macOS app names are located ( #32706 )
...
Instead of requiring a name_output.sh, expect a file called
.app_filename in the macos/Flutter directory containing just the name of
the application. The expectation is that the Xcode build will create
that file with a script.
This is not intended as a long-term solution, but it's a substantial
improvement over name_output.sh:
- name_output.sh required constructing the full build output path; this
made sense when it was coupled with build.sh, but now that the
decision for where build output goes lives in flutter_tool, that logic
should as well.
- Changing the name of the application required also updating
name_output.sh, which is error-prone. With .app_filename, it can be
created using $PRODUCT_NAME, which means that the usual way of setting
the application name will automatically update this flow as well.
Part of #30706
2019-05-16 11:00:05 -04:00
stuartmorgan
4e1bfca847
Streamline Windows build process ( #32783 )
...
Allows Windows builds to use the same structure and script as Linux
builds now use, calling into tool_backend to manage copying resources to
the project directory and building the bundle.
Also switches from expecting name_update.bat to expecting flutter\exe_filename
to be written during the build, as with the recent changes to the macOS build, to
reduce the amount of boilerplate needed in a windows\ project directory.
2019-05-15 19:32:47 -04:00
Greg Spencer
bb3c660522
Implements focus handling and hover for Material buttons. ( #31438 )
...
This implements focus and hover handling for Material buttons. It inserts Focus widgets into the tree in order to allow buttons to be focusable via keyboard traversal (a.k.a. TAB traversal), and Listener widgets into the InkWell to allow the detection of hover states for widgets.
Addresses #11344 , #1608 , and #13264 .
2019-05-14 20:48:29 -07:00
stuartmorgan
6722fb448c
Teach flutter msbuild for Windows ( #32335 )
...
Eliminates the need for a build.bat in the Windows build workflow, adding
preliminary support for building using msbuild. The handling of
vcvars64.bat may be refined in the future, but this serves as a starting point.
2019-05-14 19:24:40 -04:00
Zachary Anderson
8841afeb1f
[flutter_tool] Build a Fuchsia package ( #32519 )
2019-05-14 10:59:23 -07:00
Kate Lovett
054d9bb2f1
Updating dart.dev related links ( #32641 )
...
* Updating dart.dev related links
* Update packages/flutter_tools/lib/src/base/context.dart
2019-05-14 10:35:00 -07:00
Jason Simmons
f5cf209a66
Remove appbundle build steps that are required for APKs but not AABs ( #32515 )
...
Some parts of the appbundle build process were based on the logic for building
APK packages. However, these steps (copying to a directory shared by all
build variants, and calculating a SHA) are not necessary for an appbundle.
2019-05-13 15:36:47 -07:00
Danny Tuppeny
b76a1e8312
Comment out .vscode/ in gitignore for templates ( #32404 )
2019-05-13 09:06:30 +01:00
stuartmorgan
710a0cb9a5
Adjust macOS build flow ( #32538 )
...
- Removes SYMROOT from the Generated.xcconfig. Having it causes current
versions of Xcode to switch the project's build output to "Legacy",
which causes anything not overridden to use a project-relative build
directory instead of a shared directory in DerivedData, breaking
anything with subprojects that it depends on.
This means that `flutter run` and builds from Xcode will use
completely different build directories, but that each should be
internally consistent.
- Moves the FlutterMacOS.framework to $SRCROOT/Flutter. This is
consistent with the approach we're moving to for all desktop
platforms, and avoids issues finding it now that SYMROOT doesn't match
for the two different build modes.
Fixes #32494
2019-05-11 21:12:42 -04:00
Jonah Williams
8b0243f413
Teach Linux to use local engine ( #31631 )
2019-05-11 00:08:29 -07:00
Kate Lovett
829bdeb426
Fixing accidental merge from WIP branch. ( #32520 )
...
Revert "Merge branch 'master' into master"
This reverts commit e3a03c04c4
, reversing
changes made to 6474982649
.
2019-05-10 15:53:41 -07:00
Kate Lovett
e3a03c04c4
Merge branch 'master' into master
2019-05-10 15:16:40 -07:00
Sam Rawlins
9c77e8e8a0
Fix missing return statements on function literals ( #31825 )
2019-05-09 12:43:51 -07:00
Jonah Williams
4d3b51e284
Allow flutter web to be compiled with flutter ( #32360 )
2019-05-09 08:57:26 -07:00
stuartmorgan
e8c5c98132
Fix assignment in macos_build_flutter_assets.sh ( #32406 )
...
Bash assignment doesn't have spaces around '='.
Fixes #32341
2019-05-09 10:16:30 -04:00
Matthew Lloyd
969c6ef1dc
Add reference to Runner-Bridging-Header.h to iOS template's profile configuration ( #32266 )
2019-05-07 23:59:01 -07:00
Jonah Williams
eb996afaa8
make hotfix use a plus instead of minus ( #32060 )
2019-05-07 10:11:00 -07:00
Emmanuel Garcia
cc7ec6d624
Bump multicast_dns version
2019-05-06 11:14:41 -07:00
Zachary Anderson
61236c873e
[flutter_tool] In 'attach' use platform dill and patched sdk dir from the Fuchsia SDK ( #32071 )
2019-05-06 09:26:58 -07:00
Jonah Williams
99e7b0a0ff
dont NPE with empty pubspec ( #32072 )
2019-05-06 08:01:45 -07:00
Antti Ahti
526113db32
Fix tab indentation ( #31798 )
...
Code indentation was done with tabs in some places. Replaced with spaces.
2019-05-06 14:09:54 +02:00
Jonah Williams
6a250c8d65
update packages and unpin build ( #32066 )
2019-05-03 16:54:35 -07:00
Zachary Anderson
3d276cc6a8
[flutter_tool] Pull the right Fuchsia SDK for the platform ( #31998 )
2019-05-02 15:26:59 -07:00
Kate Lovett
4676c66b9a
Merge branch 'gold' into master
2019-05-02 15:01:35 -07:00
Jonah Williams
1d91bd2583
Revert "Start abstracting platform logic builds behind a shared interface ( #31889 )" ( #32003 )
...
This reverts commit e5459942c8
.
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
Jonas Termansen
8b9eb3e2b2
Report CompileTime metric in flutter build aot --report-timings. ( #31895 )
...
This is the correct metric to report for compilation time benchmarks rather
than RunTime. Rename the 'gen_snapshot' value to merely 'snapshot' for
backwards compatibility and overall simplicity.
This change simplifies Dart's benchmarking of Flutter by making it easier to
adopt --report-timings (made for Dart to use), which makes the benchmarks
much more robust.
2019-05-02 15:22:43 +02:00
Jonah Williams
83aa065f6a
Add commands to swap dart imports for local development ( #31925 )
2019-05-02 01:14:15 -07:00
Dan Field
df669ab1ea
Avoid NPE for flutter attach mDNS ( #31926 )
2019-05-01 13:41:00 -07:00
Zachary Anderson
6a69f8c98c
[fuchsia] Add support for the 'device' command using the SDK ( #31910 )
2019-05-01 13:24:09 -07:00
Jacob Richman
63aa5b3647
Refactor core uses of FlutterError. ( #30983 )
...
Make FlutterError objects more structured so they can be displayed better in debugging tools such as Dart DevTools.
2019-05-01 11:20:12 -07:00
Todd Volkert
3d09f939ba
Make Gradle error message more specific ( #31850 )
2019-05-01 10:28:57 -07:00
Victor Maraccini
74c6237abc
Fix bundle id on iOS launch using flutter run ( #31039 )
2019-05-01 10:21:43 -07:00
Emmanuel Garcia
3e65bb060f
Fix #31764 : Show appropriate error message when fonts pubspec.yaml isn't iterable
...
Show appropriate error message when fonts isn't iterable
2019-05-01 09:49:39 -07:00
Dan Field
a8504405a8
Revert "Handle notification errors ( #31868 )" ( #31886 )
...
This reverts commit c0d5fd23ab
.
2019-04-30 23:27:30 -07:00
Jonah Williams
c82fc132a8
add stderr to log processor for desktop ( #31874 )
2019-04-30 19:18:15 -07:00
chunhtai
e2dfd73c2e
only build asset when there is asset declared in pubspec ( #31804 )
2019-04-30 16:03:47 -07:00
Dan Field
c0d5fd23ab
Handle notification errors ( #31868 )
2019-04-30 15:42:22 -07:00
Jonah Williams
5e77d6508e
Initial sketch of tools testbed ( #31765 )
2019-04-30 15:42:16 -07:00
Jonah Williams
48936d9a95
Remove deprecated commands ( #31759 )
2019-04-30 14:43:03 -07:00
Keerti Parthasarathy
eae67f05df
Make const available for classes that override AssetBundle ( #31807 )
2019-04-30 09:10:04 -07:00
Dan Field
eac2104bc6
remove assert for Flutter Driver ( #31815 )
2019-04-29 17:03:25 -07:00
Jonah Williams
37e25238a8
Attempt to reduce usage of runtimeType ( #31696 )
2019-04-29 16:44:50 -07:00
Dan Field
fe9512fa72
Re-enable const ( #31600 )
...
* Re-enable const
2019-04-29 16:02:42 -07:00
Jonah Williams
c1c15dd702
Revert "update packages and unpin build ( #31736 )" ( #31795 )
2019-04-29 09:56:55 -07:00
Jonah Williams
41b18422df
update packages and unpin build ( #31736 )
2019-04-29 09:10:01 -07:00
Jonah Williams
4ff467191b
make FlutterProject synchronous ( #31757 )
2019-04-29 08:21:32 -07:00
Antti Ahti
bf8262d85b
Remove trailing whitespace from README template ( #31762 )
2019-04-29 13:04:55 +02: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
9d364043af
Refactor the test compiler into a separate library ( #31642 )
2019-04-26 12:33:41 -07:00
chunhtai
d121df9987
fix 31511: Test performance has regressed ( #31582 )
2019-04-26 09:02:38 -07:00
Jonah Williams
fdae7bb871
add check that xcode project configuration is not missing ( #31621 )
2019-04-25 15:51:25 -07:00
Jonah Williams
0acd3e6b04
refactor context to be implicit-downcast safe ( #31622 )
2019-04-25 15:51:08 -07:00
Jonah Williams
52415cb0a5
baby-steps to testing/refactoring flutter_platform ( #31616 )
2019-04-25 14:01:28 -07:00
Jonah Williams
6b191841f3
Allow filtering devices to only those supported by current project ( #31446 )
2019-04-25 12:25:12 -07:00
Dan Field
1db5d66932
Capture JSON RPC errors that presently get swallowed ( #31584 )
...
* Update packages
* Capture JSON RPC errors that presently get swallowed
2019-04-25 08:27:00 -07:00
Jonah Williams
482078387e
make sure we exit early if the Runner.xcodeproj file is missing ( #31591 )
2019-04-25 00:12:17 -07:00
Jonah Williams
9e51e13e91
add printError messages and tool exit to android device ( #31400 )
2019-04-24 19:30:39 -07:00
Kate Lovett
1fcd1b02de
Changes for uploading baseline images.
2019-04-24 13:38:49 -07:00
Jonah Williams
37c73e77f1
Remove need for build/name scripts on Linux desktop ( #31567 )
2019-04-24 13:34:56 -07:00
Jonah Williams
e4a1913e01
Support local engine and asset sync for macOS ( #31515 )
2019-04-23 17:20:22 -07:00
Jonah Williams
15ba39560a
replace no-op log reader with real implementation ( #31526 )
2019-04-23 17:19:47 -07:00
Jonah Williams
6a22f41239
add desktop artifacts to run/target_platform selectors ( #31505 )
2019-04-23 15:08:47 -07:00
Jonah Williams
661e0350fb
Disable all Dart fingerprinters ( #31463 )
2019-04-23 11:58:37 -07:00
Jonah Williams
15f271ef07
if there is no .ios or ios sub-project, don't attempt building for iOS ( #31406 )
2019-04-23 09:49:49 -07:00
Jonah Williams
be73969657
Add more context to flutter create sample ( #31434 )
2019-04-22 22:22:46 -07:00
Jonah Williams
abbb66ad79
Set SYMROOT as absolute in Generated.xcconfig for macOS ( #31451 )
2019-04-22 22:22:17 -07:00
Jonah Williams
096439b417
add ignorable track-widget-creation flag to build and remove --track-widget-creation from xcode backend aot build aot ( #31399 )
2019-04-22 16:21:17 -07:00
Jonah Williams
a476a08e62
check if project exists before regenerating platform specific tooling ( #31342 )
2019-04-22 15:18:15 -07:00
Jonah Williams
7f959d8b78
Add Xcode build script for macOS target ( #31329 )
2019-04-22 13:51:00 -07:00
Stanislav Baranov
e2a3c2ee45
Remove support for building dynamic patches on Android. ( #31359 )
2019-04-22 10:40:50 -07:00
Jonah Williams
18e294dbd7
throw toolExit instead of rethrowing on filesystem exceptions ( #31404 )
2019-04-22 09:56:14 -07:00
Danny Tuppeny
783d80d799
Add a note about events coming from the server ( #31419 )
2019-04-22 17:36:07 +01:00
Stanislav Baranov
08445c8a01
Stop precaching the artifacts for dynamic mode. ( #31282 )
2019-04-22 09:05:38 -07:00
Keerti Parthasarathy
b593f5167b
Add track-widget-creation flag to attach command ( #31262 )
...
* Add track-widget-creation flag to attach command
* use the flag
2019-04-22 07:51:33 -07:00
Kate Lovett
beebd5c4a7
Progress.
2019-04-19 15:00:13 -07:00
Kate Lovett
7e542fc334
Committing progress.
2019-04-19 14:33:49 -07:00
Ben Konyi
1459b1e91f
Fixed failing tests caused by introduction of authentication codes ( #31315 )
2019-04-19 11:45:53 -07:00
Christopher Fujino
eaf058d81d
Add flutter attach documentation ( #31279 )
...
* add attach.md document
2019-04-19 08:50:30 -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
Devon Carew
086fd993c6
add daemon.log to the daemon spec ( #31273 )
...
* add daemon.log to the daemon spec
* mention use in flutter run --machine
2019-04-18 20:07:52 -07:00
stuartmorgan
d9718aa4b9
Add desktop workflows to doctor ( #31283 )
...
The 'doctor' check to determine if any devices can be listed for the
device should consider desktop workflows as well.
This has no effect unless the environment variable to enable desktop
device listing is set.
2019-04-18 18:24:31 -07:00
Jonah Williams
ac36e4423e
Add flutter run support for linux and windows ( #31229 )
2019-04-18 18:05:04 -07:00
Jonah Williams
65f45999a3
initial work on coverage generating script for tool ( #29494 )
2019-04-18 17:59:14 -07:00
Jonah Williams
f5672b9316
add --force flag to precache ( #31278 )
2019-04-18 16:04:21 -07:00
chunhtai
b275e11170
fix issue 12999: Make assets available during tests ( #31207 )
2019-04-18 15:31:47 -07:00
Jonah Williams
e69a8a15b3
pass track widget creation flag through to build script ( #31277 )
2019-04-18 15:03:34 -07:00
Devon Carew
d075d647c3
remove the unused hintMessage and hintId fields from the reload results ( #31267 )
2019-04-18 11:00:54 -07:00
Jonah Williams
da92fc1109
Add run capability for macOS target ( #31218 )
2019-04-17 22:40:26 -07:00
Jonah Williams
3c8c630f01
Allow disabling all fingerprint caches via environment variable ( #31171 )
2019-04-17 17:27:50 -07:00
Jonah Williams
86c938b5b3
Add desktop projects and build commands (experimental) ( #31205 )
2019-04-17 12:16:55 -07:00
Jonah Williams
5228a7851a
Fuchsia step 1: add SDK version file and artifact download ( #31073 )
2019-04-16 13:24:58 -07:00
Dima Rostopira
e6f33e92a9
Add sorting to flutter version command ( #31064 )
2019-04-16 10:23:56 -07:00
Alexander Aprelev
d775908c7e
Download and handle product version of flutter patched sdk ( #31063 )
...
* Support release/debug flavors of flutter_patched_sdk
* Use [anyNamed] instead of [any] for mocking named arguments
* Fix use of local engine in release mode
2019-04-15 21:02:20 -07:00
Jonah Williams
1c779442a0
Add null checks to coverage collection ( #31092 )
2019-04-15 17:33:28 -07:00
liyuqian
a8116e9ea3
Allow profile widget builds in profile mode ( #30990 )
...
## Description
Previously, such function is only available in the debug mode. But the
performance information is very noisy in debug mode with JIT. I feel
that such function is as important and useful as the performance overlay
and the `--trace-skia` option for the GPU thread. So we should give it
the same ability to run in both profile and debug mode.
I've tested it using flutter_gallery in the profile mode. There's no
observable difference in the performance overlay between toggling widget
build profiling.
## Related Issues
https://github.com/flutter/flutter/issues/30984
2019-04-15 13:57:43 -07:00
Jonah Williams
28cb589cd3
make flutterProject option of CoverageCollector optional ( #31074 )
2019-04-15 12:26:43 -07:00
Christopher Fujino
be5f345f33
New flag to flutter drive
to skip installing fresh app on device ( #30818 )
...
* add a --build/--no-build flag to flutter drive command
2019-04-15 09:31:51 -07:00
Jonah Williams
301eaa8c32
Make coverage, like, really fast ( #30811 )
2019-04-15 08:59:28 -07:00
Jonah Williams
cadde2459b
Add toggle for debugProfileWidgetBuilds ( #30867 )
2019-04-11 12:44:33 -07:00
Jonah Williams
259641c4b3
Allow downloading of desktop embedding artifacts ( #30648 )
2019-04-10 22:08:44 -07:00
Dan Field
d2790bd2bb
Check for invalid elevations ( #30215 )
...
* Check for invalid elevation usage in the layer tree
2019-04-10 14:57:46 -07:00
Jonah Williams
316d44989a
warn on uncomitted changes ( #30235 )
2019-04-10 12:24:53 -07:00
ShaLi Shaltiel
a018264131
Updated package template .gitignore file ( #27034 )
2019-04-09 10:12:32 -07:00
Michael Thomsen
811f1ad98f
Forward missing pub commands ( #30115 )
2019-04-09 17:03:09 +02:00
Jonah Williams
ed49122aa3
register gradle wrapper as universal artifact ( #30755 )
2019-04-08 20:22:34 -07:00
Jonah Williams
9baffb97ca
Reland: Ensure that flutter run/drive/test/update_packages only downloads required artifacts ( #30254 )
2019-04-08 13:49:09 -07:00
Jonah Williams
99b4459944
Allow disabling experimental commands, devices on stable branch ( #30153 )
2019-04-08 13:48:21 -07:00
Lau Ching Jun
294d7ea0cf
Mark ios-deploy version 2.0.0 as bad ( #30578 )
...
Mark ios-deploy version 2.0.0 as bad.
ios-deploy before version 1.9.4 declares itself as v2.0.0
https://github.com/ios-control/ios-deploy/commits/master/src/ios-deploy/version.h
2019-04-08 12:37:43 -07:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev ( #30562 )
2019-04-05 11:39:30 -07:00
Wai Hon Law
e8d968ed8d
Update repair command for Arch Linux ( #30428 )
...
The current repair command for Arch Linux is no longer valid because
`lib32-libstdc++5` had been removed from multilib.
Actually, `lib32-gcc-libs` from core just work.
Also see https://github.com/flutter/flutter/issues/25035
2019-04-05 07:55:29 -07:00
Vyacheslav Egorov
01e3496ad9
Introduce --report-timings flag for flutter build aot command. ( #30032 )
...
This flag makes flutter build aot report timings for substeps (e.g.
frontend compilation and gen_snapshot) in a machine readable form.
2019-04-03 12:12:18 +02:00
Zachary Anderson
61b5caff9a
[fuchsia_tester] Plumb through the location of icudtl ( #30218 )
2019-04-01 07:48:50 -07:00
Jonah Williams
c10e7ba6e9
Revert "Ensure that flutter run/drive/test/update_packages only downloads required artifacts ( #30075 )" ( #30232 )
2019-03-29 20:41:07 -07:00
Jonah Williams
89807e68d0
Ensure that flutter run/drive/test/update_packages only downloads required artifacts ( #30075 )
2019-03-29 20:33:37 -07:00
Jonah Williams
b8bcfaa56f
make sure flutter test asks for cache upgrades ( #30216 )
2019-03-29 15:58:16 -07:00
dacaiguoguo
1c0f82541c
Set custom flutter_assets by add FLTAssetsPath to AppFrameworkInfo.plist ( #29499 )
...
* Get FLTAssetsPath from AppFrameworkInfo.plist
2019-03-29 15:45:18 -07:00
Jonah Williams
8220f8f4e3
add missing test case and handle wildcard removal ( #30205 )
2019-03-29 14:26:56 -07:00
Jonah Williams
1bfa2f2311
Intercept errors thrown by synchronous Completers in image resolution. ( #30139 )
2019-03-29 10:05:18 -07:00
Jonah Williams
876b45f64e
skip .dart_tool folders when running update-packages ( #30082 )
2019-03-28 12:15:59 -07:00
Christopher Fujino
ec93c87c89
Move spinner _defaultSlowWarning
message to a new line ( #30071 )
...
* write newline before adding slow restart message to spinner
* update existing test
2019-03-28 10:08:44 -07:00
Jonah Williams
3c93b65a9b
Update to latest matcher ( #30019 )
2019-03-27 17:21:10 -07:00
Jonah Williams
99866f4a3d
Make timeout durations configurable ( #30053 )
2019-03-27 16:21:16 -07:00
Jonah Williams
50f1e1822a
ensure packages file is updated when using build_runner ( #29885 )
2019-03-27 14:40:52 -07:00
Jonah Williams
7d678f2adc
Lazy cache 5: The Empire Strikes Back ( #29986 )
2019-03-27 13:54:09 -07:00
Jonah Williams
bafe7cbbb4
Watch wildcard directories in addition to asset bundle ( #29883 )
2019-03-26 21:40:53 -07:00
Jonah Williams
141f87b327
ensure that fe server is always built with tool ( #29768 )
2019-03-26 17:11:04 -07:00
Jonah Williams
164dae3bf1
Revert "Lazy cache 4 ( #29785 )" ( #29985 )
2019-03-26 10:01:22 -07:00
Zachary Anderson
7ea7d8d003
[fuchsia] Fix flutter_tool BUILD.gn deps ( #29942 )
2019-03-26 08:57:40 -07:00
Jonah Williams
d71f324e48
Lazy cache 4 ( #29785 )
2019-03-26 08:45:29 -07:00
Jonah Williams
44b22c7b04
Fix cache location, artifacts, and re-enable dart2js test ( #29783 )
2019-03-25 18:47:37 -07:00
Jonah Williams
beaf7e28fa
Update upgrade to reset off of hotfix branches ( #29786 )
2019-03-25 09:42:28 -07:00
Jonah Williams
377dfbd90d
dont fail build if codegen fails ( #29818 )
2019-03-25 08:43:13 -07:00
Alexandre Ardhuin
bfa1d25bf9
some formatting of map, parameters and spaces ( #29760 )
2019-03-23 00:02:21 +01:00
Amir Hardon
e2cd5931a7
Revert "Update upgrade to rebase and stash local changes. ( #29192 )" ( #29780 )
...
This reverts commit e38be671a7
.
2019-03-21 20:34:07 -07:00
Jonah Williams
6701bbc528
update fuchsia-attach ( #29764 )
2019-03-21 16:13:04 -07:00
Jonah Williams
40cbdd11cd
Use Dart version in script cache check ( #29721 )
2019-03-21 15:56:13 -07:00
Jonah Williams
e38be671a7
Update upgrade to rebase and stash local changes. ( #29192 )
2019-03-21 14:32:52 -07:00
Jonah Williams
fc9f7dea1a
Allowing adding/updating packages during hot reload ( #29747 )
2019-03-21 13:59:38 -07:00
Jonah Williams
469a859c72
Enable code generation features in tool ( #29399 )
2019-03-21 13:12:10 -07:00
Christopher Fujino
a4b9ef2e79
Fix more tests for ANSI terminals ( #29699 )
...
* have tests that log error messages use a FakePlatform that does not support Ansi color, to fix tests started from color terminals
* add the override to the other tests too, in case someone copy & pastes them in the future for a test involving an error message
2019-03-21 09:11:58 -07:00
Jonah Williams
377f4451ca
fix asset reloading ( #29469 )
2019-03-21 09:03:28 -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
Jonah Williams
5f727126ca
Download secondary SDK ( #29633 )
2019-03-20 15:41:45 -07:00
Jonah Williams
c72f18fcd5
Add builders and engine hash to fingerprint ( #29434 )
2019-03-20 15:40:37 -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
Lau Ching Jun
c33d263830
Fix typo ( #29625 )
2019-03-20 14:22:10 -07:00
Jonah Williams
b123846cb0
Improve flutter test startup time ( #29404 )
2019-03-20 13:58:57 -07:00
Ben Konyi
e8b98f9648
Manual engine roll for 2019-03-19 ( #29627 )
...
* Manual engine roll for 2019-03-19
* Applying patch for Dart SDK changes (see PR #29004 )
2019-03-19 20:01:03 -07:00
Jonah Williams
edd4c6207a
prevent stream notifications from interfering with reload ( #29467 )
2019-03-19 16:19:45 -07:00
Shi-Hao Hong
dffbfebbf1
added friendlier error for invalid AndroidManifest.xml ( #29604 )
2019-03-19 14:44:22 -07:00
Jonah Williams
f8f2b043e1
remove explicit frame schedule ( #29461 )
2019-03-19 10:24:55 -07:00
Priit Lätt
cdbd0f9ddd
Use async execution for xcodebuild commands ( #29048 )
2019-03-19 09:19:34 -07:00
Jonah Williams
75c50da5f6
Ensure that different formatting of ndk properties file does not crash tool ( #29528 )
2019-03-18 10:51:24 -07:00
Jonah Williams
72605d2406
Switch flutter_tools from script to app-jit snapshot. ( #27749 )
2019-03-15 19:33:24 -07:00
Jonah Williams
fa52f345d6
fix for sometimes packages file is an APK ( #29456 )
2019-03-15 15:52:40 -07:00
Jonah Williams
cd803ac7f2
Improve hot reload performance ( #28152 )
2019-03-15 15:02:45 -07: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
Jason Simmons
e5696c2e7c
Use fs.identical to compare paths when finding the engine source path ( #29386 )
...
This will handle paths with symlinks that resolve to the same location.
2019-03-15 09:32:10 -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
Christian Wenz
428d104054
Properly escape Android SDK Manager path in error message ( #29134 )
2019-03-15 08:58:33 -07:00
Brian Wilkerson
439fbbe69e
Update SDK constraints to reflect the fact that set literals are being used ( #29389 )
2019-03-15 07:53:27 -07:00
Jonah Williams
7bed378e22
Only run codegen at start of flutter_test ( #29171 )
2019-03-14 17:12:40 -07:00
Jonah Williams
25820ab2a4
add option for --verbose-system-logs ( #29321 )
2019-03-13 22:42:12 -07:00
Danny Tuppeny
126c58ef7c
Add a flutter create --list-samples
command ( #28938 )
...
* Add a `flutter create --list-samples` command
* Add some comments/docs
* Tweak text
2019-03-12 11:47:17 +00:00
Paul Berry
c78ccb0b5e
Cause flutter analyze
to fail if the analysis server experienced an error. ( #29126 )
...
Substantially reduces the danger that a bug in the analysis server
might prevent errors from being detected by `flutter analyze`.
2019-03-11 09:47:20 -07:00
Dan Field
2a644f301e
Run non-perf sensitive tests on Cirrus ( #27971 )
...
* Run non-perf sensisitive tests on Cirrus
2019-03-10 07:52:44 -07:00
Alexandre Ardhuin
a0d1f93b07
fix block formatting ( #29051 )
2019-03-09 09:03:11 +01:00
Jonah Williams
ac6afa4d20
fix windows codegen ( #29062 )
2019-03-08 19:26:45 -08:00
Ian Hickson
a07c9a12bd
Support hotfix version numbers ( #28672 )
2019-03-08 19:26:34 -08:00
Jonah Williams
8c0cf1ddf7
Revert "Lazily download artifacts (III) ( #27903 )" ( #29064 )
...
This reverts commit 3fd36200d9
.
2019-03-08 13:31:51 -08:00
Jonah Williams
3fd36200d9
Lazily download artifacts (III) ( #27903 )
2019-03-08 13:15:50 -08:00
Jonah Williams
d4a441a0d9
Add integration to all targets ( #29020 )
2019-03-08 12:25:35 -08:00
Jonah Williams
77142b8257
Revert "re-enable dart2js test ( #29010 )" ( #29030 )
...
This reverts commit 6a7f231d89
.
2019-03-07 22:18:15 -08:00
Jonah Williams
6a7f231d89
re-enable dart2js test ( #29010 )
2019-03-07 21:56:02 -08:00