Dan Field
f4b4616f87
Diagnose failure in CI, Mark III ( #42037 )
2019-10-04 20:01:04 -07:00
Ian Hickson
a22f4e9be5
trying to diagnose failure in CI, mark II ( #42036 )
...
* remove prints
* Remove the setUpAll() to see if that changes the error message.
2019-10-04 19:43:54 -07:00
Ian Hickson
4e6b77c087
trying to diagnose failure in CI ( #42035 )
2019-10-04 19:01:37 -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
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
db9ad60bfe
Deflake web_fs_test.dart in flutter_tools ( #41952 )
2019-10-03 19:07:38 -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
Ian Hickson
8c6d60bcfd
Move commands into their own shard ( #39140 )
2019-10-02 12:46:51 -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
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
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
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
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
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
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
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
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
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
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
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
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
Jonah Williams
69a296463e
Allow skipping webOnlyInitializePlatform in Flutter for Web ( #40301 )
2019-09-13 10:20:30 -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
1fec30efb6
Place existing dill into hot reload temp directory to boost initialization time ( #40366 )
2019-09-12 12:45:53 -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
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
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
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
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
477ae6b8ce
cleanup use of build runner internals ( #40045 )
2019-09-09 18:16:03 -07:00
Jonah Williams
0f365d3add
remove dart dir chrome profile ( #39934 )
2019-09-09 18:14:13 -07:00
Jonah Williams
b4c3671718
Register reload sources call and make 'r' restart for web ( #39950 )
2019-09-06 10:41:15 -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
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
Jonah Williams
af851ab6bc
Revert "remove input files argument to target ( #39701 )" ( #39768 )
...
This reverts commit 5e7beaf7b8
.
2019-09-03 12:47:33 -07:00
Jonah Williams
5e7beaf7b8
remove input files argument to target ( #39701 )
2019-09-03 12:46:08 -07:00
Jonah Williams
cc9b614efd
minor cleanup and prevent multiple exit ( #39751 )
2019-09-03 11:00:39 -07:00
Harry Terkelsen
d33cf11556
Automatically generated registrants for web plugins ( #39628 )
...
* WIP on web plugin registry
* WIP on registering plugins
* WIP on web plugin registration
* Only generate `package:flutter_web_plugins` imports if plugins are
defined
* Add parsing test
* Add documentation
* Fix analyzer warnings
* add license headers
* Add tests for package:flutter_web_plugins
* Run `flutter update-packages --force-upgrade`
* Fix analyzer errors
* Fix analyzer error in test
* Update copyright and remove flutter SDK constraints
* Enable tests since engine has rolled
* add flutter_web_plugins tests to bots
* Create an empty .packages file for WebFs test
2019-09-03 10:37:34 -07:00
Zachary Anderson
b9029c7672
[flutter_tool] Add onError callback to asyncGuard. Use it in Doctor ( #39445 )
2019-09-03 08:14:44 -07:00
Emmanuel Garcia
b63cb44105
Use new Maven artifacts from Gradle ( #39157 )
2019-09-02 10:35:17 -07:00
Jonah Williams
f12a5ec347
dont hide build commands ( #39555 )
2019-09-01 23:57:11 -07:00
Kaushik Iska
fc05c3738c
Flutter Plugin Tool supports multi-platform plugin config ( #38632 )
2019-08-29 21:51:31 -07:00
Jonah Williams
b2a4ebe38f
Handle single unsupported device ( #39541 )
2019-08-29 21:39:38 -07:00
Emmanuel Garcia
6266d5f35d
Log flags in build apk and appbundle ( #39457 )
2019-08-29 21:37:35 -07:00
Jonah Williams
2dbf0106d8
Create dart tool directory if it is missing ( #39543 )
2019-08-29 21:31:57 -07:00
Dan Field
eefe9d9527
keep symbols for profile ( #39530 )
2019-08-29 20:54:30 -07:00
Jonah Williams
359b532570
Remove run in shell and add unit test for chrome launching ( #39462 )
2019-08-29 19:35:06 -07:00
Dan Field
632526aab9
Update validation to support Xcode11 version ( #39463 )
2019-08-29 15:28:05 -07:00
Dan Field
cb965495d7
Reland "Relax arguments around local engine, build hello_world with bitcode" ( #39434 )
2019-08-28 15:19:04 -07:00
Emmanuel Garcia
4a1c62c28b
Add missing files in the Gradle wrapper directory ( #39145 )
2019-08-28 14:52:08 -07:00
Jonah Williams
f362419601
make sure profile is forwarded through build web command ( #39414 )
2019-08-28 14:05:01 -07:00
Jonah Williams
393106fbf5
Revert "Relax requirements around local engine, build hello_world with bitcode ( #39357 )" ( #39431 )
...
This reverts commit 202c1b4224
.
2019-08-28 13:12:45 -07:00
Dan Field
202c1b4224
Relax requirements around local engine, build hello_world with bitcode ( #39357 )
2019-08-28 10:27:01 -07:00
Zachary Anderson
b7c714e84c
[flutter_tool] Use a timeout for xcode showBuildSettings ( #39280 )
2019-08-28 10:03:53 -07:00
xster
4640690d0f
let flutter build aar use a local engine ( #39312 )
2019-08-27 23:46:33 -07:00
Jonah Williams
55a1ba761d
Use output dir instead of specific paths in assemble rules ( #39274 )
2019-08-27 22:52:51 -07:00
Jonah Williams
23637844a3
fix source map loading and service protocol for flutter web ( #39189 )
2019-08-27 19:06:48 -07:00
Emmanuel Garcia
5353d5e877
Fid app bundle in Gradle 3.5 ( #39126 )
2019-08-27 17:08:02 -07:00
Zachary Anderson
91ae1409b9
[flutter_tool] Create a temp snapshot to run create_test.dart tests ( #39338 )
2019-08-27 14:28:03 -07:00
Jonah Williams
6f71ce26d6
Place terminalUi flag on terminal interface ( #39214 )
2019-08-27 14:20:51 -07:00
stuartmorgan
7407695816
Add profile support on macOS ( #39264 )
...
Fix some places where Debug/Release was treated as a binary switch.
Makes similar changes to Windows and Linux to simplify adding profile
support to those platforms in the future. This means `--profile` builds
will fail on Linux and Windows for now, but that's fine since they
aren't actually supported, and unlike `--release` don't provide useful
functionality at the native code level.
Also fixes 'stopApp' always using Debug on macOS, to avoid showing an
error when running Profile (or Release).
Fixes #33203
2019-08-26 16:30:30 -07:00
Jonah Williams
0f8b8c91a3
Kill resident runner on browser disconnect. ( #39066 )
2019-08-26 15:06:36 -07:00
Zachary Anderson
e9bd2ef087
[flutter_tool] Some additional input validation for 'version' ( #39136 )
2019-08-26 12:12:50 -07:00
Christopher Fujino
d1e0273ecb
refactor cocoapods validator to detect broken install ( #38560 )
2019-08-23 09:21:09 -07:00
Jonah Williams
b2d19d2af5
Add support for macOS release/profile mode (3 of 3) ( #38909 )
2019-08-23 08:46:24 -07:00
Michael Thomsen
01a5d112d5
Make forward calls run interactively ( #39052 )
2019-08-23 11:16:30 +02:00
Mehmet Fidanboylu
d921098dd4
Break dependency of tools/lib/src from lib/src/commands/ ( #39072 )
2019-08-22 21:14:03 -07:00
Jonah Williams
9818d2df3b
Add web workflow to default validators ( #39006 )
2019-08-22 09:30:19 -07:00
Zachary Anderson
663dc1d774
[flutter_tool] Teach crash reporter about HttpException ( #39005 )
2019-08-22 09:18:25 -07:00
Jonah Williams
33e7af728a
Dont throw StateError when calling assemble with bad target ( #39000 )
2019-08-21 23:44:39 -07:00
Jenn Magder
892d62f03a
Clean Xcode workspace during flutter clean ( #38992 )
2019-08-21 18:42:56 -07:00
∂ω∂
4277f364ff
flutter_tools/version: git log.showSignature=false ( #38576 )
2019-08-21 13:55:57 -07:00
Zachary Anderson
36e8b93d1c
[flutter_tool] Only send one crash report per run ( #38925 )
2019-08-21 13:07:52 -07:00
Zachary Anderson
3ceef86b9a
[flutter_tool] Handle crashes from doctor validators ( #38920 )
2019-08-21 11:15:02 -07:00
stuartmorgan
01530928f0
Add build warning for non-debug desktop builds ( #38932 )
...
When building in profile or release mode on desktop, add a prominent
warning that it's actually a debug build. This is to help address issues
with people being unaware of the current state of builds due to
following third-party guides rather than official documentation.
macOS is not included since PRs are in flight for macOS release support.
2019-08-20 20:16:29 -07:00
Jonah Williams
3b4ab4eb30
Throw error when hot reload enters bad state ( #38907 )
2019-08-20 14:30:03 -07:00
Zachary Anderson
398ac1f6c8
[flutter_tool] Remove some async file io ( #38654 )
2019-08-20 13:15:08 -07:00
Zachary Anderson
28bedb10da
[flutter_tool] Move http request close under try-catch ( #38894 )
2019-08-20 12:53:59 -07:00
Jonah Williams
2504a416bb
Create correctly structured framework for macOS ( #38748 )
2019-08-20 10:49:15 -07:00
Jonah Williams
700020fc6b
per file caching ( #38869 )
2019-08-20 10:40:02 -07:00
stuartmorgan
2daab305aa
Use GLFW-name artifacts on Windows and Linux ( #38858 )
...
Switch from the un-suffixed Windows and Linux libraries to the
_glfw-suffixed versions, in preparation for having non-GLFW versions
using the previous library/wrapper names.
Part of #38589
2019-08-20 06:29:49 -07:00
Jonah Williams
ae29174560
Handle compilation failures from web application ( #38723 )
2019-08-19 17:33:46 -07:00
Jonah Williams
7ed27b51a3
print service url when connecting to web applications ( #38823 )
2019-08-19 17:32:43 -07:00
Michael Thomsen
79d8967500
Fix publish cmd ( #38490 )
2019-08-19 08:02:13 +01:00
Todd Volkert
c22ce95e15
Change from using defaults
to plutil
for Plist parsing ( #38662 )
...
We were using the `defaults` command-line utility to parse
Plist files, but it was never supported by Apple, and it
appears that in an upcoming OS release, it will be less likely
to work:
> WARNING: The defaults command will be changed in an upcoming
> major release to only operate on preferences domains. General
> plist manipulation utilities will be folded into a different
> command-line program.
Fixes https://github.com/flutter/flutter/issues/37701
2019-08-16 17:10:07 -07:00
Dan Field
a3221667de
Kill dead code ( #38652 )
2019-08-16 10:10:23 -07:00
Todd Volkert
1d8deb1bb8
Handle case of a connected unpaired iOS device ( #38629 )
...
Fixes https://github.com/flutter/flutter/issues/36789
Fixes https://github.com/flutter/flutter/issues/37000
https://github.com/flutter/flutter/issues/36524
https://github.com/flutter/flutter/issues/24600
2019-08-15 17:59:37 -07:00
Jonah Williams
1df165ea13
Rename iOS arch for macOS release mode (macOS release mode 2 of 3) ( #38645 )
2019-08-15 17:38:35 -07:00
Jonah Williams
01feddbece
Support for macOS release mode (1 of 3) ( #37425 )
2019-08-15 16:36:45 -07:00
Zachary Anderson
0566971d29
[flutter_tool] Throw tool exit on malformed storage url override ( #38637 )
2019-08-15 14:59:46 -07:00
Zachary Anderson
e24a27d374
[flutter_tool] Flip create language defaults to swift and kotlin ( #38339 )
2019-08-15 12:13:28 -07:00
Zachary Anderson
a40ab895cf
[flutter_tool] Observatory connection error handling cleanup ( #38353 )
2019-08-15 12:13:03 -07:00
Alexander Aprelev
f5dcbdab3a
Increase pattern that matches operation duration. ( #36392 )
...
On Flutter HHH buildbot some operations that over a second: 4 digits for milliseconds, rather than 3 that are currently allowed.
2019-08-15 10:16:30 -07:00
Ingo Reinhart
ed88d28d52
use common emulator/device list ( #38296 )
2019-08-15 10:13:18 -07:00
Jonah Williams
5ec039dd45
Don't reload if compilation has errors ( #38586 )
2019-08-15 09:08:19 -07:00
Dan Field
07f079a932
Improve bitcode check ( #38587 )
2019-08-14 23:30:26 -07:00
Jonah Williams
64add554d7
handle unexpected exit from frontend server ( #38497 )
2019-08-14 19:00:31 -07:00
Jonah Williams
388d69eb9b
Catch errors thrown into the Zone by json_rpc ( #38486 )
2019-08-14 13:10:41 -07:00
Zachary Anderson
d220631eca
[flutter_tool] Fix bug in manifest yaml validation ( #38472 )
2019-08-14 07:57:30 -07:00
Christopher Fujino
cd1e55b58a
refactor flutter upgrade
to be 2 part, with the second part re-entrant ( #38325 )
2019-08-13 15:53:54 -07:00
David Shuckerow
9615eb99aa
Tests for flutter test [some_directory]
( #36866 )
...
* Add a test for a directory instead of a single test.
* Add test data to a child directory to test the command.
* Add test data to a child directory to test the command.
* Add test data to a child directory to test the command.
* Correct test.
2019-08-13 14:57:43 -07:00
Jonah Williams
ca5411e3aa
Fix type error hidden by implicit downcasts ( #38102 )
2019-08-12 15:21:28 -07:00
Jonah Williams
4b73746aff
Catch filesystem exception from flutter create ( #38101 )
2019-08-12 09:51:03 -07:00
Jonah Williams
2185825338
Catch FormatException caused by bad simctl output ( #37958 )
2019-08-10 00:57:23 -07:00
jmagman
0a58610ce7
Clean ephemeral directories ( #37966 )
2019-08-09 17:26:51 -07:00
Jonah Williams
77e15103da
Catch failure to create directory in cache ( #37871 )
2019-08-09 16:21:32 -07:00
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
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
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
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
Christopher Fujino
39a04dcd7f
Support macOS Catalina-style signing certificate names ( #37733 )
2019-08-07 09:18:11 -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
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
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