stuartmorgan
d1761f1072
Pass Linux build mode on command line ( #41551 )
...
Currently Linux builds override the default BUILD mode by putting it in
the generated config. That makes it sticky for manual runs of make,
which is inconsistent with how other platforms work.
Instead, pass the build mode as a command-line override, the same way
someone would if building directly with make. This makes the flow of
controlling the mode less confusing.
Fixes #41528
2019-09-30 09:36:40 -07:00
Jonah Williams
c8b3c9b727
use IOOverrides to allow inject file system, write test, find bug ( #40066 )
2019-09-30 08:41:12 -07:00
Zachary Anderson
45f3c8d060
[flutter_tool] Report to analytics when the tool is killed by a signal ( #41493 )
...
* [flutter_tool] Report to analytics when the tool is killed by a signal
* Fix analyzer lint
2019-09-30 07:38:11 -07:00
Danny Tuppeny
7e73cd74b1
Fix visibility of web server device when Chrome is not available ( #40757 )
...
* Fix visbility of web server device when Chrome is not available
* Add tests
* Update workflow test
* Fix tests to not rely on Chrome being on the underlying machine
2019-09-30 14:45:30 +01:00
Alexander Aprelev
839fdbd2ed
Retry devfs uploads in case they fail. ( #41406 )
...
* Retry devfs uploads in case they fail.
Fixes #34959 .
2019-09-29 21:32:06 -07:00
Jonah Williams
69af9adeac
Update minimum build_runner version and enable incremental builder ( #41499 )
2019-09-29 13:01:33 -07:00
Jonah Williams
07e5cf005c
Reland: Exit resident web runner on compilation failure ( #41505 )
2019-09-27 18:54:58 -07:00
Jonah Williams
7a487b2cbf
Ensure we find dart.exe on local engines ( #41514 )
2019-09-27 18:54:24 -07:00
Jonah Williams
d968b7cfd6
Revert "Dont update last compiled time when compilation is rejected ( #41424 )" ( #41515 )
2019-09-27 15:18:06 -07:00
Zachary Anderson
feaaa5d738
[flutter_tool] Add analytics events for ios-mdns fallback success/failure ( #41482 )
2019-09-27 12:18:59 -07:00
Jonah Williams
618fac92c9
Revert "Exit resident web runner on initial compilation failure ( #41441 )" ( #41498 )
2019-09-27 11:50:23 -07:00
Emmanuel Garcia
2466ca5bb0
Copy Flutter assets before merging the rest of resources ( #41333 )
2019-09-27 10:53:37 -07:00
Jonah Williams
d7a8dda219
Dont update last compiled time when compilation is rejected ( #41424 )
2019-09-27 10:32:57 -07:00
Jonah Williams
a1852a1993
Exit resident web runner on initial compilation failure ( #41441 )
2019-09-27 10:32:38 -07:00
Zachary Anderson
716a672bc8
[flutter_tools] Adds tests of mdns analytics events ( #41410 )
2019-09-27 08:07:26 -07:00
Alexandre Ardhuin
f11c34109c
fix bad indentations(mainly around collection literals) ( #41355 )
2019-09-27 10:46:45 +02:00
Devon Carew
1044457225
add tests to ensure the sdk is well-formed ( #41408 )
...
add tests to ensure the sdk is well-formed
2019-09-26 18:22:25 -07:00
Jonah Williams
efd2ba296b
Flutter build bundle without --precompiled should always perform a debug build. ( #41401 )
2019-09-26 15:57:57 -07:00
Jonah Williams
c93839131c
Fix timing issues in initialization of web resident runner ( #41347 )
2019-09-26 14:23:19 -07:00
stuartmorgan
56d68a9071
Add the beginnings of plugin support for Windows and Linux ( #41015 )
...
Adds very preliminary support for Windows and Linux plugins:
- Adds those platforms to the new plugin schema, initially supporting just a plugin class.
- Adds C++ plugin registrant generation for any Windows or Linux plugins found.
This doesn't have yet have any build tooling for either platform, so anyone using the generated registrant still needs to do manual build configuration. This reduces the manual work, however, and creates a starting point for future tooling work.
As with all Windows and Linux work at this time, this is not final, and subject to change without warning in the future (e.g., Windows could potentially switch to a C# interface, or
'linux' may change to 'gtk' or 'linux_gtk' in pubspec.yaml).
2019-09-26 14:01:57 -07:00
Zachary Anderson
bb7e3f6045
[flutter_tools] Report iOS mDNS lookup failures to analytics ( #41384 )
2019-09-26 13:41:11 -07:00
Jonah Williams
0980fa2ddd
Serve every html file under web ( #41386 )
2019-09-26 13:24:05 -07:00
Zachary Anderson
7fa5dd7454
[flutter_tools] Allows adding multiple signal handlers ( #41304 )
2019-09-26 08:12:48 -07:00
Emmanuel Garcia
975e770e13
Add embedding as API dependency instead of compile only dependency ( #41142 )
2019-09-25 17:59:17 -07:00
Jonah Williams
89ebd700f2
Support deferred imports on profile/release builds of Flutter Web ( #41222 )
2019-09-25 15:12:58 -07:00
Jonah Williams
7065e43306
Allow skipping chrome launch with --no-web-browser-launch ( #40627 )
2019-09-25 13:55:54 -07:00
Jonah Williams
9bd02a1787
Re-Re-Re-land implement flutter build bundle with assemble ( #41302 )
2019-09-25 13:55:29 -07:00
Francisco Magdaleno
d2a95ee344
Fix crash on vswhere query on missing installations ( #40786 )
2019-09-25 13:38:53 -07:00
Zachary Anderson
5142238c85
[flutter_tool] Report rss high watermark in command analytics events ( #40988 )
2019-09-25 11:26:06 -07:00
Jonah Williams
cc3ca9a916
Revert "Re-Re-land Implement flutter build bundle with assemble ( #41230 )" ( #41295 )
2019-09-25 10:57:58 -04:00
Jonah Williams
84a476a4db
Re-Re-land Implement flutter build bundle with assemble ( #41230 )
2019-09-25 10:17:04 -04:00
Emmanuel Garcia
48ce60824a
Revert "Revert "Use AndroidX in new projects by default ( #40925 )" ( #40995 )" ( #41001 )
...
This reverts commit 8e23179627
.
2019-09-24 16:55:09 -07:00
Tong Wu
28bd51f998
Force upgrade packages again. ( #40997 )
2019-09-24 16:51:31 -07:00
Emmanuel Garcia
16d408a7a0
Reland #40810 : Re-enable AAR plugins when an AndroidX failure occurred ( #41160 )
2019-09-24 16:16:22 -07:00
Jenn Magder
9a66018f0d
Make module pod headers public ( #40927 )
2019-09-24 12:20:00 -07:00
Todd Volkert
8699d24d42
Bump version of just package:multicast_dns ( #41207 )
2019-09-24 12:06:42 -07:00
Alexandre Ardhuin
b873162194
fix some bad indentations ( #41172 )
2019-09-24 21:03:37 +02:00
Francisco Magdaleno
1ea760096a
Update toolchain description to request the latest version ( #40795 )
2019-09-24 12:00:05 -07:00
Alexandre Ardhuin
89427d672d
add missing trailing commas in flutter_tools ( #40968 )
2019-09-24 08:06:09 +02:00
Liam Appelbe
b0563e1a3d
Unit test for build.dart::GenSnapshot ( #37642 )
...
* Unit test for build.dart::GenSnapshot
* Fix analysis errors
* Switch to testLogger
2019-09-23 10:09:22 -07:00
Emmanuel Garcia
2c8813c86c
Revert "Re-enable AAR plugins when an AndroidX failure occurred ( #40810 )" ( #41042 )
...
This reverts commit 96482eeb5c
.
2019-09-23 09:28:38 -07:00
Emmanuel Garcia
8e23179627
Revert "Use AndroidX in new projects by default ( #40925 )" ( #40995 )
2019-09-20 13:37:10 -07:00
Jonah Williams
57c319a9a0
Revert "Run flutter update-packages --force-upgrade
. ( #40766 )" ( #40979 )
2019-09-20 12:23:19 -04:00
Emmanuel Garcia
407668f4d5
Stop using deprecated features from Gradle ( #40900 )
2019-09-20 08:29:53 -07:00
Emmanuel Garcia
f7173dcc60
Use AndroidX in new projects by default ( #40925 )
2019-09-20 08:29:21 -07:00
Emmanuel Garcia
96482eeb5c
Re-enable AAR plugins when an AndroidX failure occurred ( #40810 )
2019-09-20 08:28:52 -07:00
Tong Wu
c238045a96
Run flutter update-packages --force-upgrade
. ( #40766 )
2019-09-20 07:58:53 -07:00
stuartmorgan
0412977e48
Support create for macOS (app and plugin) ( #40851 )
...
Adds macOS support for `flutter create`:
- Currently it is behind a hidden flag.
- Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
- Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.
This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).
Fixes #30703
2019-09-19 17:06:18 -07:00
stuartmorgan
86c342eceb
Move iOS and Android gitignore rules into folders ( #40864 )
...
Rather than have a monolithic .gitignore covering all platforms in the
app template, have each platform folder contain its own rules.
Fixes #40793
2019-09-19 17:04:53 -07:00
Jonah Williams
f8ba6756c3
Revert "Reland: implement build bundle with assemble ( #40470 )" ( #40862 )
2019-09-19 09:04:07 -07:00