Commit Graph

7577 Commits

Author SHA1 Message Date
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
556e3d9e74 Keep Flutter.framework binaries writable so they can be code signed (#40174) 2019-09-10 15:17:56 -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
Jonah Williams
f19e4ab4f7 roll dwds (#40001) 2019-09-07 15:35:14 -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
Jonah Williams
0167f53101 update packages --force upgrade (#39932) 2019-09-05 19:35:59 -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
Devon Carew
57e6042f68 update to the latest package:dwds (#39834) 2019-09-05 09:50:10 -07:00
Ian Hickson
2efbc11b7a Revert "Keep Flutter.framework binaries writable so they can be code signed (#39539)" (#39859)
This reverts commit 72cacb4040.
2019-09-04 17:47:39 -07:00
Jenn Magder
72cacb4040 Keep Flutter.framework binaries writable so they can be code signed (#39539) 2019-09-03 18:00:45 -07:00
Emmanuel Garcia
d230234d67 Revert Maven dependencies (#39747) (39157) (#39784) 2019-09-03 17:49:10 -07:00
Harry Terkelsen
6f4359d1b7 Add lib/generated_plugin_registrant.dart to gitignore (#39781) 2019-09-03 16:03:09 -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
476a4de17e Add delay to recompile request for web (#39752) 2019-09-03 11:53:46 -07:00
Jonah Williams
76ebcc8a14 remove web flag from create (#39756) 2019-09-03 11:53:27 -07:00
Emmanuel Garcia
1b429bdb47 Fix type mismatch in Gradle (#39747) 2019-09-03 11:39:30 -07:00