Jonah Williams
6c91a13731
Adding missing break in plugin validation check ( #43180 )
2019-10-21 16:46:07 -07:00
Jonah Williams
31a4ff80c7
add samsungexynos7570 to list of known physical devices ( #43042 )
2019-10-21 16:45:48 -07:00
Jonah Williams
6db4c44da8
remove period from URL so that it opens correctly in vscode ( #43200 )
2019-10-21 16:43:11 -07:00
Jonah Williams
39e4d9d152
Expand scope of rethrown gradle errors ( #42966 )
2019-10-18 14:56:39 -07:00
Jonah Williams
6fc99e98ad
rename headless server to web server ( #42970 )
2019-10-18 12:41:47 -07:00
Jonah Williams
21be8372c9
implement debugTogglePlatform for the web ( #42951 )
2019-10-18 12:41:15 -07:00
Jonah Williams
e67f9a3f6c
ensure we can disable --track-widget-creation in debug mode ( #43016 )
2019-10-18 12:40:50 -07:00
Jonah Williams
863fb2f2cc
Remove linux-x64 unpack logic ( #42962 )
2019-10-17 19:22:03 -07:00
Jonah Williams
f53b32eb23
refactor depfile usage and update linux rule ( #42487 )
2019-10-17 17:42:40 -07:00
Ryan Macnak
315471bfb0
Do not produce an error when encountering a new type in a service response. ( #42972 )
...
Flutter tool's service client library tries to "upgrade" sub-components of service responses with higher level model objects. It does this for all members of the response, rather than only those documented in the version it targets, and it errors out when encountering a new type. This causes it to fail when a new field is introduced with a new typed. Clients are required to ignore this.
2019-10-17 16:56:57 -07:00
Ferhat
f7ce5ae3fc
[web] Update web runner message with flutter.dev/web ( #42676 )
...
* Update web runner message with flutter.dev/web
* Update spoopy test to use Warning instead
2019-10-17 15:08:15 -07:00
Emmanuel Garcia
08c645b3b2
Test the Android embedding v2 ( #42708 )
...
* Test the Android embedding v2
* Update integration tests
* Split into shards
2019-10-16 21:26:10 -07:00
Jonah Williams
cb518c4219
Fix progress indicators for release/profile builds of web. ( #42857 )
2019-10-16 16:10:06 -07:00
Jonah Williams
01f779e97a
Fix NPE in Chrome Device ( #42813 )
2019-10-16 15:46:07 -07:00
Emmanuel Garcia
0a93f4eb75
Remove isNewAndroidEmbeddingEnabled flag when reading an existing pro… ( #42684 )
2019-10-16 12:47:04 -07:00
Jenn Magder
357d02c87b
Always embed Flutter.framework build mode version from Xcode configuration ( #42029 )
2019-10-15 15:33:55 -07:00
Jonah Williams
ad1d67e0a1
serve correct content type from debug server ( #42701 )
2019-10-15 15:25:57 -07:00
Jonah Williams
68e768dbcf
fix type error in manifest asset bundle ( #42791 )
2019-10-15 15:25:33 -07:00
liyuqian
31cb44825c
Add --cache-sksl flag to drive and run ( #42353 )
...
So we can test SkSL precompile using the command line tools.
See https://github.com/flutter/engine/pull/12412 .
2019-10-15 14:28:55 -07:00
Jonah Williams
e22d4aa140
Add debugging option to write vmservice address to file after starting ( #41583 )
2019-10-15 13:05:47 -07:00
Christopher Fujino
428d7d7f2d
dispose devices on cleanupAtFinish() for run_cold.dart ( #42668 )
2019-10-15 12:50:44 -07:00
Jonah Williams
daa7143c08
Unpin test and update packages ( #42699 )
2019-10-15 12:50:10 -07:00
Jenn Magder
649cf82018
use_modular_headers ( #42204 )
2019-10-15 12:36:50 -07:00
Jonah Williams
e372641789
Ensure we stop the status when browser connection is complete ( #42698 )
2019-10-14 21:36:31 -07:00
Yegor
3bc3b323c4
Reland: fix and add painting web tests ( #42689 )
2019-10-14 21:22:44 -07:00
Jonah Williams
f8a5baf359
Dont close debug connection on exit ( #42655 )
2019-10-14 17:29:04 -07:00
Jonah Williams
0dce0c6e30
catch appInstanceId error from dwds ( #42656 )
2019-10-14 17:28:28 -07:00
Ryan Macnak
b7773da37b
Pass build mode-specific bytecode generation options to frontend_server. ( #42471 )
...
Fixes various Flutter framework test failures when bytecode is enabled.
2019-10-14 15:26:14 -07:00
Yegor
163be41d80
Revert "Fix and enable painting tests on the Web ( #42546 )" ( #42687 )
...
This reverts commit 13a1b1e3b9
. It broke the build.
2019-10-14 15:14:16 -07:00
Yegor
13a1b1e3b9
Fix and enable painting tests on the Web ( #42546 )
...
fix and enable painting tests on the Web
2019-10-14 14:34:15 -07:00
Jenn Magder
a62bb3d9ab
Update minimum version to Xcode 10.2 ( #42254 )
2019-10-14 12:45:40 -07:00
Mouad Debbar
ba70e0e074
Print correct hostname when web server is launched ( #42531 )
2019-10-14 09:54:36 -07:00
Jonah Williams
04e04ffa95
Deflake wildcard asset test ( #42597 )
2019-10-14 08:49:02 -07:00
Emmanuel Garcia
532a8fed41
Print message and log event when app isn't using AndroidX ( #42548 )
2019-10-12 18:58:22 -07:00
Zachary Anderson
af93b6af80
[flutter_tool] Improve yaml font map validation ( #42538 )
2019-10-11 12:17:37 -07:00
Ian Hickson
08643c41d7
Always fake ProcessManager when you fake Filesystem in tests ( #42369 )
...
...because otherwise, processes that think they're manipulating your
filesystem will be doing crazy things the test is ignoring, leading to
(at best) failures and (at worst) flakes or disk corruption.
2019-10-11 11:23:12 -07:00
Ian Hickson
292519be98
Roll dart package dependencies ( #42496 )
2019-10-11 11:12:31 -07:00
Jonah Williams
7ab653c6ca
Add error logging to flutter generate ( #42209 )
2019-10-11 07:16:11 -07:00
Lau Ching Jun
4416c4f8d6
Add Android x64 profile artifacts ( #42508 )
2019-10-11 06:57:45 -07:00
Ian Hickson
53be552ae1
Be more verbose when pub fails ( #42187 )
2019-10-10 19:37:01 -07:00
Jonah Williams
2b635816c6
Wrap dwds in async guard, only catch known error types ( #42364 )
2019-10-10 16:34:27 -07:00
Jonah Williams
03a45dc383
Add support for Android x86_64 ABI to Flutter ( #42401 )
2019-10-10 16:34:16 -07:00
Ryan Macnak
2a40c2ddb5
Pass -Ddart.developer.causal_async_stacks=true to frontend_server invocations. ( #42354 )
...
Bytecode generation will otherwise omit prologue code, causing --causal-async-stacks passed to the VM to behave inconsistently.
2019-10-10 10:41:24 -07:00
Sahil Soni
ff15a39c07
[BUG] Process all children of intent-filter instead of just the first one to identify default activity ( #40029 )
2019-10-10 10:05:43 -07:00
Lau Ching Jun
5a41374ac3
Add option to precache unsigned mac binaries. ( #42376 )
2019-10-09 22:24:15 -07:00
Jonah Williams
480342899e
Switch desktop build commands to use process utils ( #42373 )
2019-10-09 18:58:27 -07:00
Christopher Fujino
ed482c3e09
Stop leaking iproxy processes ( #42026 )
2019-10-09 16:30:27 -07:00
stuartmorgan
d992d6de20
Make desktop stopApp only apply to processes Flutter started ( #41519 )
2019-10-09 16:28:10 -07:00
Jonah Williams
861fe0a276
Ensure precache --web works on dev branch ( #42289 )
2019-10-09 16:27:39 -07:00
Jonah Williams
6a99a8d9e4
Ensure web restart analytics events aren't sent for failures/dont serve devtools by default ( #42260 )
2019-10-08 20:06:13 -07:00
Jonah Williams
25b3ea7ed2
Revert removal of linux support from unpack command ( #42276 )
2019-10-08 19:18:18 -07:00
Jonah Williams
14c1c211d5
Catch argument error from Make when it isn't installed ( #42252 )
2019-10-08 14:53:55 -07:00
Jonah Williams
fde267516b
Make Pub an interface in the flutter tool ( #42257 )
2019-10-08 14:53:28 -07:00
Alexandre Ardhuin
83e5a8a0e4
some formatting changes ( #41640 )
2019-10-08 18:32:10 +02:00
Ian Hickson
cdc2d9901d
More consistent temp directory naming ( #42063 )
...
Applying our style guide:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#have-good-hygiene-when-using-temporary-directories
2019-10-07 16:43:04 -07:00
Yegor
ebfe6020b8
Enable more web tests; use blacklist to filter them out ( #41922 )
...
Add more web tests;use blacklist instead of whitelist
2019-10-07 15:05:24 -07:00
Zachary Anderson
cf0d4979c7
[flutter_tool] Re-work analytics events to use labels and values ( #42016 )
2019-10-07 15:04:55 -07:00
Dan Field
4566b34033
Do not validate the Android SDK when building an appbundle ( #41946 )
2019-10-07 10:38:19 -07:00
Dan Field
3af16678ad
Reland "AOT support for Linux Desktop I: switch Linux builds to assemble ( #41612 )" ( #42030 )" ( #42038 )
...
This reverts commit 142a8630ec
.
2019-10-07 10:37:58 -07:00
Zachary Anderson
3b66db6bf7
Updates packages ( #41936 )
2019-10-07 09:46:57 -07:00
Ian Hickson
1196f91f71
Fix local test failures in flutter_tools ( #42015 )
...
* Minor clean-up in terminal.dart
* Don't wrap text in tests (otherwise we'll be sensitive to the terminal width).
2019-10-06 14:38:17 -07:00
Ian Hickson
142a8630ec
Revert "AOT support for Linux Desktop I: switch Linux builds to assemble ( #41612 )" ( #42030 )
...
This reverts commit 3024053c82
.
2019-10-04 17:51:51 -07:00
James D. Lin
fcbe8f44ea
Restructure ProjectFileInvalidator.findInvalidated a bit ( #42008 )
...
Restructure ProjectFileInvalidator.findInvalidated a bit
I plan to modify `ProjectFileInvalidator.findInvalidated` to allow
it to use `FileStat.stat` instead of `FileStat.statSync`.
Restructure `findInvalidated` a bit so that `FileStat.statSync` is
called in only one place.
Note that this change now always counts the `.packages` file as one
of the files scanned, even if it does not exist. I think that this
is okay since it more accurately reflects the number of times that we
hit the filesystem with `stat()`, and it is consistent with how other
files are counted.
2019-10-04 17:22:35 -07:00
James D. Lin
14c5c6e161
Clean up ProjectFileInvalidator.findInvalidated a bit ( #41889 )
...
In preparation for some refactoring that I will be doing to
`ProjectFileInvalidator.findInvalidated`, make its code a bit
clearer:
* Indicate which arguments may be null.
* Don't bother calling `FileStat.statSync` on the `.packages` file
for the initial load. This makes the checks for the `.packages`
file consistent with those for other files.
* Use `DateTime.isAfter()` instead of comparing microseconds
ourselves.
While I was touching this file, I also removed some unnecessary
comparisons to `false`. (`_ManifestAssetBundle.wasBuiltOnce()` is the
only implementation I can find of `AssetBundle.wasBuiltOnce()`, and
it never returns `null`.)
2019-10-04 12:55:17 -07:00
Jonah Williams
3024053c82
AOT support for Linux Desktop I: switch Linux builds to assemble ( #41612 )
2019-10-04 12:13:36 -07:00
Ryan Macnak
cdb3578b14
Plumb --enable-asserts through to frontend_server invocation in debug mode. ( #41832 )
...
Bytecode generation will otherwise omit assert code, causing --enable-asserts to have no effect in the VM.
2019-10-04 12:07:23 -07:00
Emmanuel Garcia
5961bcc505
Generate projects using the new Android embedding ( #41666 )
...
* Generate projects using the new Android embedding
* Add comment about usesNewEmbedding:true
* Feedback
* Rework way to detect new embedding in new apps
2019-10-04 06:23:03 -07:00
Alexandre Ardhuin
890b939401
indent formal parameters correctly ( #41644 )
2019-10-04 11:00:18 +02:00
Jonah Williams
ae18f07324
Ensure plugin registrants are generated in build_web ( #41906 )
2019-10-04 00:36:09 -07:00
Jonah Williams
f25812bae5
Revert "replace package:vm_service_client with package:vm_service in the devicelab project ( #41646 )" ( #41960 )
2019-10-03 21:30:37 -07:00
Devon Carew
4de496a4e5
replace package:vm_service_client with package:vm_service in the devicelab project ( #41646 )
2019-10-03 20:43:34 -07:00
Jonah Williams
6edd79abab
Upload x64 android host release ( #41933 )
2019-10-03 16:23:53 -07:00
Mouad Debbar
61d364f307
[web] Make it clear that lowercase "r" can also perform hot restart ( #41815 )
2019-10-03 11:53:41 -07:00
Zachary Anderson
c7c8a6c498
[flutter_tools] Add more info to pub get failure event ( #41652 )
2019-10-03 11:08:42 -07:00
Jonah Williams
517c08e801
Make output directory a build input ( #41862 )
2019-10-03 11:07:53 -07:00
Jonah Williams
aeede20785
Handle missing .packages file in the flutter tool for prebuilt artifacts ( #41697 )
2019-10-02 15:18:34 -07:00
Jonah Williams
39f85f94ec
Reland: don't update last compile time when compilation is rejected. ( #41580 )
...
* dont update last compiled time when compilation is rejected
* lets try flushing, thats a neat trick
* windows man
* Update hot_reload_test.dart
* Update hot_reload_test.dart
* Update devfs.dart
* Update hot_reload_test.dart
* Update hot_reload_test.dart
* add test that verifies when compile is good that time is updated
* Update devfs_test.dart
2019-10-02 12:46:33 -07:00
Jonah Williams
0af2a84cbb
Handle empty entry in asset list and add more explicit validation ( #41735 )
2019-10-02 12:45:51 -07:00
Jonah Williams
b1a6aa3ab8
Add support for downloading x86 Android JIT release artifact ( #41751 )
2019-10-02 12:45:35 -07:00
Jonah Williams
a9f385bbff
Reduce log verbosity by removing individual used files ( #41788 )
2019-10-02 12:45:04 -07:00
Jonah Williams
6714baab41
Download Android x64 release artifacts ( #41698 )
2019-10-01 14:04:37 -07:00
Jonah Williams
b2f38396f4
Reland: Switch to assemble API for dart2js ( #41659 )
...
* Stop using build_runner for dart2js
* fixes to yield when computing hashes and to imports
* add missing await
* Update filecache_test.dart
* Fix paths in filecache test
* use file uri for import
* add test cases and configurable override
* remove test dep
* fix filepaths for windows
* test no longer failing
* fix paths for test cases
* fix typo
* address comments
* make a constant
* make filehash async and use constant
* fix silly logic error
2019-10-01 14:03:42 -07:00
Jonah Williams
ce2c708a90
Add more information to cannot find Chrome message ( #41695 )
2019-10-01 14:03:12 -07:00
Yegor
8246785f3f
Spawn no more than 1 iframe in web tests. Using multiple iframes in DDK mode times out tests. Also set concurrency to 1 to guarantee that the test runner does not even attempt to parallelize tests. ( #40630 )
...
Spawn no more than 1 iframe in web tests. Using multiple iframes in DDK mode times out tests. Also set concurrency to 1 to guarantee that the test runner does not even attempt to parallelize tests.
2019-10-01 13:58:05 -07:00
Jonah Williams
06a6fdbf23
Revert "Switch to assemble API for dart2js ( #41447 )" ( #41658 )
2019-09-30 18:35:01 -07:00
Jonah Williams
ccc3dd968c
Switch to assemble API for dart2js ( #41447 )
2019-09-30 18:26:28 -07:00
Christopher Fujino
11d0235121
change printStatus calls to printTrace inside MDnsObservatoryDiscovery ( #41621 )
2019-09-30 14:15:17 -07:00
Jenn Magder
1eb1e2226b
Skip pod initialization if version >= 1.8.0. ( #41491 )
2019-09-30 13:14:42 -07:00
Jonah Williams
e8517a434d
Add analytics tracking for compile and refresh times for Flutter Web ( #41545 )
2019-09-30 12:45:03 -07:00
Jacob MacDonald
94993055f2
track unused inputs in build_runner ( #41610 )
2019-09-30 12:20:00 -07:00
Jonah Williams
06864e445c
Rename Server/web device to Headless Server/headless-server ( #41618 )
2019-09-30 12:19:45 -07:00
Jonah Williams
41b87255f5
Add support for depfile dependency in assemble ( #41530 )
2019-09-30 12:17:45 -07:00
Alexandre Ardhuin
f0553ba58e
Missing trailing commas ( #41473 )
...
* add missing trailing commas
* add more missing trailing commas
* add more and more missing trailing commas
2019-09-30 18:48:23 +02:00
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
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
Alexandre Ardhuin
f11c34109c
fix bad indentations(mainly around collection literals) ( #41355 )
2019-09-27 10:46:45 +02: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
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
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
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
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
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
Jonah Williams
f8ba6756c3
Revert "Reland: implement build bundle with assemble ( #40470 )" ( #40862 )
2019-09-19 09:04:07 -07:00
Jonah Williams
ea7876ae82
Reland: implement build bundle with assemble ( #40470 )
2019-09-19 07:46:50 -07:00
Jonah Williams
2a36ad31fa
Ensure Flutter for Web debug builds are only accessible through Flutter run ( #40783 )
2019-09-18 23:10:24 -07:00
stuartmorgan
c32e543207
Invalidate macOS pods on plugin changes ( #40730 )
...
When the plugin list changes, iOS pods are invalidated, but that was
never wired up for macOS.
Should fix #39327
2019-09-18 21:42:57 -07:00
Jenn Magder
d95adf999c
Move build info checks from generating files to the xcode build ( #40792 )
2019-09-18 16:57:31 -07:00
Christopher Fujino
0b24a5a2ff
Implement mdns for flutter run
( #40447 )
2019-09-18 11:01:08 -07:00
Jonah Williams
5de5bb0172
fix platform environment ( #40692 )
2019-09-17 17:07:55 -07:00
Jenn Magder
9a68b0df3e
Warn when build number and version can't be parsed on iOS ( #40611 )
2019-09-17 17:07:41 -07:00
Emmanuel Garcia
8a1bf5b827
Reland #39157 ( #39798 )
2019-09-17 08:19:33 -07:00
Alexandre Ardhuin
df4bf453ab
more UI-as-code ( #35516 )
2019-09-17 16:23:44 +02:00
stuartmorgan
d03aecab58
Add an ephemeral directory for Linux ( #40587 )
...
Moves the generated config into that directory. Matches the structure of
the other desktop projects.
Also fixes #40265
2019-09-16 16:04:55 -07:00
Jonah Williams
79107e0fe2
Dont kill other processes when starting desktop application ( #40472 )
2019-09-16 13:12:50 -07:00
Zachary Anderson
8a33d2446d
[flutter_tool] Remove the synchronous -showBuildSettings ( #40435 )
2019-09-16 07:51:50 -07:00
Emmanuel Garcia
4d404da6df
Update Kotlin and Gradle version ( #40181 )
2019-09-13 19:37:07 -07:00
Jonah Williams
6f5df21e5b
pass through --web-port in release mode too ( #40465 )
2019-09-13 19:15:52 -07:00
Emmanuel Garcia
2c857b9370
Enable R8 ( #40453 )
2019-09-13 19:06:40 -07:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -07:00
Jonah Williams
6ba8fa9987
Remove direct flutter tool usage of protobuf for encoding file caches ( #40410 )
2019-09-13 12:49:03 -07:00
Jenn Magder
b80b9bea38
Set DEFINES_MODULE for FlutterPluginRegistrant to generate modulemap ( #40302 )
2019-09-13 11:03:46 -07:00
Jonah Williams
69a296463e
Allow skipping webOnlyInitializePlatform in Flutter for Web ( #40301 )
2019-09-13 10:20:30 -07:00
Jenn Magder
ba13aa943c
Make FlutterPluginRegistrant a static framework so add-to-app can use plugins with static frameworks ( #40401 )
2019-09-12 18:51:49 -07:00
Francisco Magdaleno
09bb07f8dd
Adds list required components when VS is not installed ( #40397 )
2019-09-12 18:44:36 -07:00
stuartmorgan
72888c7f75
Harden macOS build use of Xcode project getInfo ( #40375 )
...
- Makes build_macos.dart handle the case where there is only one Xcode
project in the macos/ directory, but it's not called Runner.xcodeproj
- Makes getInfo throw a tool exit when trying to get project info and it
can't find a project, since that is a configuration error by the user
rather than a tool bug.
2019-09-12 16:03:02 -07:00
Francisco Magdaleno
576a455a64
[windows] Refactor to optimize vswhere queries ( #40197 )
2019-09-12 15:48:25 -07:00
Jonah Williams
91af071570
ensure dart2js does not compile unsupported packages ( #40368 )
2019-09-12 15:25:21 -07:00
Jonah Williams
1667d0caa4
rename port to web-port and hostname to web-hostname ( #40370 )
2019-09-12 15:25:03 -07:00
Jonah Williams
1fec30efb6
Place existing dill into hot reload temp directory to boost initialization time ( #40366 )
2019-09-12 12:45:53 -07:00
Ryan Macnak
a6138bb005
Remove dead accessors of _getUnusedChangesInLastReload. ( #39837 )
...
This was part of a disused tool to explain what did and did not run after reload.
2019-09-12 12:34:58 -07:00
Jonah Williams
925a52fa6b
add host and port to run configuration for web devices ( #40191 )
2019-09-12 08:58:49 -07:00
Francisco Magdaleno
f5733f7a62
Fix crash on vswhere search from flutter doctor ( #40263 )
...
Fixes a crash introduced on #40011 due to an incorrect type in the vswhere search
Fixes #40238
2019-09-11 21:03:42 -07:00
Jonah Williams
270878fc50
fix copy command and remove resolve sync for macOS assemble ( #40294 )
2019-09-11 20:29:27 -07:00
Zachary Anderson
73c10e8ced
[flutter_tool] process.dart cleanup ( #39899 )
2019-09-11 18:20:42 -07:00
Emmanuel Garcia
3712ea63d8
Flip the default for proguard ( #40282 )
2019-09-11 17:51:51 -07:00
Jonah Williams
6d37867c4a
Place hot reload artifacts in a temp directory ( #40171 )
2019-09-11 12:57:43 -07:00
Jonah Williams
963c8a8921
Remove io and isolate from libraries for web sdk ( #40259 )
2019-09-11 12:40:33 -07:00
Jonah Williams
8eee93fa64
Ensure we send hot restart events for flutter web ( #40175 )
2019-09-11 09:38:42 -07:00
Christopher Fujino
c5e2bf5cfe
catch errors during gradle update ( #37526 )
2019-09-11 09:21:42 -07:00
Zachary Anderson
2c94f2b4d9
[flutter_tool] Kill a timing out process before trying to drain its stdout/err streams ( #40159 )
2019-09-11 08:30:29 -07:00
stuartmorgan
e6ae95c4ce
Add an ephemeral directory to Windows projects ( #40194 )
...
Moves files generated in windows/flutter/ as part of the build to an ephemeral/ subdirectory, matching the approach used on macOS (and in the future, Windows).
Adds that directory to the generated properties file to minimize hard-coding of paths in the project.
2019-09-11 07:46:57 -07:00
stuartmorgan
ef97a69dab
Make Swift plugin template swift-format compliant ( #40195 )
...
swift-format will alphabetize import statements, so Flutter* should be
before Foundation. Also, separating the "Generated file" comment
prevents the formatter from thinking that the comment is associated with
the following import, rather than the file, if it does re-order.
2019-09-11 07:43:50 -07:00
Jonah Williams
32c946f31b
make sure we launch with dwds ( #40210 )
2019-09-10 20:49:27 -07:00
Jonah Williams
609a78fdca
Revert "build bundle with assemble ( #37508 )" ( #40204 )
2019-09-10 20:03:52 -07:00
Jonah Williams
f614144f0a
Add "web" server device to allow running flutter for web on arbitrary browsers ( #39951 )
...
* add web server device
* remove extra async
* fixes to server device
* testing updates
* fix test cases
* address comments
2019-09-10 19:29:31 -07:00
Jonah Williams
a7aff56741
build bundle with assemble ( #37508 )
2019-09-10 19:28:38 -07:00
Jonah Williams
8504f3ae13
Update the supported library set for Flutter for web ( #39983 )
2019-09-10 17:27:30 -07:00
Emmanuel Garcia
f098de1fde
Enable Proguard by default on release mode ( #39986 )
2019-09-10 17:22:55 -07:00
Francisco Magdaleno
362cde43ff
[windows] Searches for pre-release and 'all' Visual Studio installations ( #40011 )
2019-09-10 17:01:53 -07:00
Jenn Magder
12229264e2
Show CocoaPods version in hint text ( #40117 )
2019-09-10 13:26:32 -07:00
Sam Rawlins
2bc8f999f7
Remove visibleForTesting annotation; this constructor is used outside of testing ( #39997 )
2019-09-10 13:12:53 -07:00
Jonah Williams
f877c97b3b
Use persisted build information to automatically clean old outputs in assemble ( #39654 )
2019-09-10 09:57:47 -07:00
Jonah Williams
79ec38f7f3
ensure we use pub from flutter sdk ( #40131 )
2019-09-10 07:41:59 -07:00
Jonah Williams
477ae6b8ce
cleanup use of build runner internals ( #40045 )
2019-09-09 18:16:03 -07:00
Jonah Williams
eb7eb3ce3c
use build runners script gen ( #40049 )
2019-09-09 18:15:17 -07:00
Jonah Williams
0f365d3add
remove dart dir chrome profile ( #39934 )
2019-09-09 18:14:13 -07:00
Christopher Fujino
f945079c65
remove fallback code for ios/usb artifacts ( #39585 )
2019-09-06 14:23:20 -07:00
Jonah Williams
b2da79ce98
roll build runner and remove delay ( #39988 )
2019-09-06 14:19:12 -07:00
Harry Terkelsen
83da35fbbc
If there are no web plugins, don't generate a plugin registrant ( #39910 )
2019-09-06 12:54:31 -07:00
Jonah Williams
b4c3671718
Register reload sources call and make 'r' restart for web ( #39950 )
2019-09-06 10:41:15 -07:00
Jonah Williams
296e97f322
Revert "Correct libraries path and remove dart:io and dart:isolate for web dart platform ( #39364 )" ( #39985 )
...
This reverts commit 3f4d27c4bc
.
2019-09-06 09:24:14 -07:00
Jonah Williams
3f4d27c4bc
Correct libraries path and remove dart:io and dart:isolate for web dart platform ( #39364 )
2019-09-06 08:21:41 -07:00
stuartmorgan
4c2c7c417d
Switch to the Win32 Windows embedding ( #39836 )
...
Pulls the Win32 embedding artifacts instead of the GLFW versions for
Windows.
Fixes #38590
2019-09-05 10:09:12 -07:00
stuartmorgan
3948e8759e
Allow specifying a project for Xcode getInfo ( #39782 )
...
Avoids unnecessarily breaking projects that have another .xcodeproj in
their macos/ directory, which worked until the addition of the getInfo
call.
2019-09-05 10:07:03 -07:00
Jonah Williams
dd7694256e
remove input files argument to target ( #39769 )
2019-09-05 09:56:37 -07:00
Jonah Williams
4728ef5c16
handle browser refresh ( #39776 )
2019-09-05 09:56:05 -07:00
Jonah Williams
06348522c3
workaround for mangled web sdk source map packages ( #39774 )
2019-09-05 09:55:54 -07:00
Zachary Anderson
0f2af976a2
[flutter_tools] Add a timeout to another showBuildSettings command ( #39579 )
2019-09-05 09:50:46 -07:00
Kenzie Schmoll
d50d9c5e60
Register flutterVersion service in flutter_tools. ( #39524 )
...
* Register getFlutterVersion service in flutter_tools.
* Add short revision ids to response.
* Rename method and remove obsolete comments.
* Fix broken test by adding sendPeerNotifications flag.
* Implement mockPeer.sendNotification.
2019-09-05 09:50:36 -07:00
Emmanuel Garcia
d230234d67
Revert Maven dependencies ( #39747 ) (39157) ( #39784 )
2019-09-03 17:49:10 -07:00
Jonah Williams
d804097014
print launching on device message ( #39748 )
2019-09-03 12:55:06 -07:00