Jonah Williams
a926715dac
[flutter_tools] URI encode dart-define values ( #57873 )
2020-05-27 10:11:04 -07:00
Jonah Williams
ba847d54f0
[flutter_tools] validate android arch and build number ( #57830 )
2020-05-27 10:10:51 -07:00
Jonah Williams
600338286f
[flutter_tools] add vm service method to pull SkSL ( #57813 )
2020-05-27 10:10:41 -07:00
Jonah Williams
f640ad6914
[flutter_tools] ensure emulator command does not crash with missing avdmanager ( #57703 )
2020-05-27 10:10:30 -07:00
Jonah Williams
ffc56ff735
[flutter_tools] hide all development tools ( #57690 )
2020-05-27 10:10:19 -07:00
Neevash Ramdial
428ce0815b
[flutter_tools] Support latest IntelliJ via Jetbrain toolbox ( #57963 )
2020-05-27 10:07:28 -07:00
James D. Lin
c6f7792311
[flutter tools] Improve messages when we fail to connect to the Observatory ( #57355 )
2020-05-21 17:47:02 -07:00
Jonah Williams
359daf4f73
[flutter_tools] reland: remove globals from android device/testing ( #57614 )
2020-05-20 13:21:22 -07:00
Jenn Magder
adead099a6
Always show diagnostics ( #57532 )
2020-05-19 18:17:03 -07:00
Jonah Williams
5e33ecee46
Revert "[flutter_tools] remove globals/context for android testing ( #57445 )" ( #57611 )
...
This reverts commit 602d8baf34ec9d875fd6e74e99699bf62885d9f3.
2020-05-19 13:06:14 -07:00
Jonah Williams
602d8baf34
[flutter_tools] remove globals/context for android testing ( #57445 )
2020-05-19 12:37:07 -07:00
Jonah Williams
d0d9da832b
[flutter_tools] prevent wildcard assets from causing build invalidation issues ( #56472 )
2020-05-19 12:37:04 -07:00
Jonah Williams
91ec439348
[flutter_tools] handle missing null check in manifest parser ( #57400 )
2020-05-18 12:47:29 -07:00
Jonah Williams
70b889a9a3
[flutter_tools] reland: integrate l10n tool into hot reload/restart/build ( #57510 )
...
Reland: #56167
2020-05-18 12:47:18 -07:00
Jonah Williams
27a6705aa4
[flutter_tools] chunk the hashing of large files ( #57506 )
...
For files larger than 250 KB (roughly the size of framework.dart), chunk the conversion. This may be important for large assets like images.
2020-05-18 12:45:20 -07:00
Jonah Williams
49ad67ccf0
[flutter_tools] minor cleanups to try catch ( #57446 )
...
- OsError now implements exception, remove workaround.
- Prefer is check to catching TypeError
2020-05-18 09:38:22 -07:00
stuartmorgan
30d405c794
Temporarily allow pluginClass: none on desktop ( #57498 )
...
Treats 'pluginClass: none' as equivalent to having no 'pluginClass'
entry on the desktop platforms, to satisy stable channel plugin
validation of Dart-only desktop plugin implementations. See
issue for full details.
Part of https://github.com/flutter/flutter/issues/57497
2020-05-18 09:26:37 -07:00
stuartmorgan
25e9d0494b
Add Linux GTK artifacts to unpack list ( #57452 )
...
To simplify development of the in-progress GTK embedding, which will
replace the GLFW embedding on Linux, add the GTK artifacts to the unpack
list. This means that until the transition, both the GLFW and GTK
artifacts will be unpacked.
Part of #54860
2020-05-18 09:26:07 -07:00
stuartmorgan
f991308e3e
Fix CMake invocation for 3.10 compat ( #57415 )
...
The -S/-B format of specifying source and build directories wasn't added
until 3.13. For 3.10 compatibility, use the older form of having the
working directory as the build directory, and the last argument as the
source directory.
Fixes #57409
2020-05-18 09:25:28 -07:00
Jonah Williams
b19b744bb7
[flutter_tools] check for Runner.sln when parsing for plugins ( #57392 )
...
Throw a toolExit if the windows plugin logic runs on an invalid windows project. Update the supported project check to validate the existence of a Runner.sln file
2020-05-18 09:24:51 -07:00
stuartmorgan
8abf0a6d8c
Switch to CMake for Linux desktop ( #57238 )
...
Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja.
Also updates doctor to check for cmake and ninja in place of make.
Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue.
Fixes #52751
2020-05-16 15:07:34 -07:00
Jonah Williams
afdc440840
[flutter_tools] surface missing assets originating package ( #55701 )
2020-05-16 14:52:04 -07:00
Zachary Anderson
533cd7a6d1
[flutter_tools] Delete system temp entries on fatal signals ( #55513 )
2020-05-14 14:27:02 -07:00
Jonah Williams
bd47262183
[flutter_tools] fix period in URL for androidX incompat ( #57182 )
2020-05-14 12:32:03 -07:00
Jonah Williams
a801496701
[flutter_tools] allow adb to fail to unforward without crashing ( #57173 )
2020-05-14 12:27:01 -07:00
Jonah Williams
1000ae802d
[flutter_tools] ensure package_config is re-created if pub get is run ( #57184 )
2020-05-14 11:22:07 -07:00
Jonah Williams
a2cf9ecc46
[flutter_tools] expose track-widget-creation to build aar ( #57117 )
2020-05-14 11:17:06 -07:00
Jonah Williams
8a77381e58
[flutter_tools] do not set timestamp of package_config file ( #57077 )
2020-05-14 11:12:08 -07:00
Christopher Fujino
a2f5364dc0
throw more specific toolexit when git fails during upgrade ( #57162 )
2020-05-14 11:03:07 -07:00
Jenn Magder
bd430081e0
Make initial daemon devices population fast ( #56959 )
2020-05-14 11:00:51 -07:00
Jenn Magder
1eaa8c300c
Swap xcode_tests from MockProcessManager to FakeProcessManager ( #56502 )
2020-05-13 09:17:03 -07:00
Jonah Williams
9e9524977e
[flutter_tools] introduce a BuildSystem interface ( #56946 )
2020-05-13 09:12:08 -07:00
Anna Gringauze
e88ef6d554
Updated dwds (and other packages) ( #56958 )
2020-05-13 09:07:09 -07:00
Jonah Williams
7f400af35a
[flutter_tools] expand Regexp log match to include more AndroidRuntime failures ( #56943 )
2020-05-12 07:35:02 -07:00
Nate Bosch
59a8ef3a21
Remove direct uses of LocalPlatform ( #56605 )
...
When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
2020-05-11 12:59:29 -07:00
Jenn Magder
4ecb1bbe2d
Add mirror overrides to doctor output ( #56928 )
2020-05-11 11:57:02 -07:00
Jenn Magder
9c87b32477
Remove Runner target check, prefer schemes ( #56620 )
2020-05-11 11:56:44 -07:00
Luke Cheng
793e6a48a1
typo fix on the FLUTTER_STORAGE_BASE_URL usage ( #56685 )
2020-05-09 21:14:01 -07:00
Jonah Williams
d70d0913b2
Revert "[flutter_tools] integrate l10n tool into build/run ( #56167 )" ( #56800 )
...
This reverts commit f865ac7e259d320d7e565f887f894f293a463782.
2020-05-09 17:50:46 -07:00
Zachary Anderson
04fe25e63e
[flutter_tools] Don't try to execute gradle wrapper out of /tmp ( #56706 )
2020-05-08 14:00:28 -07:00
Jonah Williams
f865ac7e25
[flutter_tools] integrate l10n tool into build/run ( #56167 )
...
* [flutter_tools] integration l10n tool
* add runtime skip to build system
* Update build_system.dart
* add links to issues, comments
* Update packages/flutter_tools/test/general.shard/build_system/build_system_test.dart
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
* Update packages/flutter_tools/lib/src/build_system/targets/localizations.dart
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
* Update localizations.dart
* switch to gen_l10n localizations
* fix tests
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2020-05-08 12:06:15 -07:00
Jenn Magder
0dc7be3bb0
Always remove the workspace settings ( #56703 )
2020-05-08 12:05:52 -07:00
Jonah Williams
2304838a98
[flutter_tools] fix aar defaults test ( #56694 )
2020-05-08 10:04:04 -07:00
Jonah Williams
c57092511a
[flutter_tools] rename to .sksl.json ( #56634 )
2020-05-08 09:44:03 -07:00
Jonah Williams
717f9de662
[flutter_tools] enable tree-shake-icons by default for non-web targets ( #56633 )
...
Enable tree-shake-icons by default for non-web targets. Make missing fonts a status print
2020-05-08 09:42:43 -07:00
Bogdan Lukin
80a14af582
[flutter_tools] ensure track-widget-creation can be changed on devcompiler ( #56564 )
...
Workaround for cached web builds with --[no-]track-widget-creation flags.
Similar PR: #23299
2020-05-07 18:58:43 -07:00
Jenn Magder
0a4f6cdef0
Add split-debug and obfuscation to build aar ( #56342 )
2020-05-07 18:14:02 -07:00
Jonah Williams
2d26cbb2bf
[flutter_tools] reduce initial cache size on web ( #56103 )
2020-05-07 17:59:02 -07:00
Jenn Magder
4be791994f
Swap xcodeproj_tests from MockProcessManager to FakeProcessManager ( #56505 )
2020-05-07 15:18:27 -07:00
xster
f6b47a5f35
let the embedding maven engine dependency reference the storage proxy ( #56164 )
2020-05-07 11:36:02 -07:00