2257 Commits

Author SHA1 Message Date
Michael Goderbauer
7ede6b530e Use 7-Zip to unzip SDK, if available. (#8721)
Windows' built-in unzippers are painfully slow. It drives me mad!

Unzip SDK with 7-Zip: ~10s
Unzip SDK with Windows: ~90s
2017-03-10 15:21:08 -08:00
Michael Goderbauer
03d3186531 Transfer URIs instead of platform-dependent file paths (#8701) 2017-03-10 10:13:53 -08:00
Michael Goderbauer
906103dd10 eliminate sky snapshot (#8631)
* eliminate sky snapshot

* roll engine
2017-03-08 13:33:06 -08:00
Michael Goderbauer
e2dccc5e48 Ensure compatibility with older PowerShell versions and better error handling (#8652)
This should make our scripts compatible with PowerShell 2 or newer. PowerShell 2 was released in October 2009 and shipped with Windows 7 as default. (I suspect the scripts are now also compatible with PowerShell 1, but that's unconfirmed). This fixes #8606.

The PR also introduces better error handling when Flutter fail to download the Dart SDK to fix #8627.
2017-03-08 10:52:07 -08:00
Michael Goderbauer
4d394591cf fix for PowerShell Script when flutter/bin is not in PATH (#8620) 2017-03-07 15:00:01 -08:00
Michael Goderbauer
582df7b643 Minor fixes to SDK update PowerShell Script (#8617)
* for Win 7, we need to import BitsTransfer before using it
* switch to PowerShell's build-in archive expander (instead of relying on .NET)
2017-03-07 11:14:59 -08:00
Mikkel Nygaard Ravn
2571474755 Engine roll (#8583)
Engine roll to include https://github.com/flutter/engine/pull/3462
2017-03-06 14:56:09 +01:00
Michael Goderbauer
d579d58702 Enable Hot Reload on Windows (backed by gen_snapshot) (#8512)
* Enable Hot Reload on Windows (backed by gen_snapshot)

\o/

Two caveats:
* Hot Reload on Windows is slower than on other platforms because gen_snapshot is slower then sky_snapshot
* We currently cannot hot reload projects with spaces in the path

* enable tests
2017-03-02 10:57:27 -08:00
Michael Goderbauer
46f2542b3f Update DArt SDK to 1.23.0-dev.2.0 (#8504)
This one comes with sweet Unicode support for Windows!
2017-03-01 12:59:28 -08:00
Mikkel Nygaard Ravn
390993d070 PlatformXxxChannel concepts added to support Flutter/platform interop (#8394)
New concepts: PlatformMessageChannel (basic message send/receive superseding some existing  PlatformMessages methods), PlatformMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 14:35:41 +01:00
Jason Simmons
6571b41f40 Roll engine (#8480) 2017-02-28 17:09:11 -08:00
Michael Goderbauer
96ba7f76d2 Revert "Simplify path handling logic in dependency checker and devFS (#8414)" (#8467)
This reverts commit e7bde11cc3a68b27c17ef8b18258cd384d043fb8.

Reason: broke hot reload when using "package:" style imports for sources
within the same project.
2017-02-28 11:17:26 -08:00
Jason Simmons
af03ed1c79 Roll engine (#8441) 2017-02-27 17:11:13 -08:00
Michael Goderbauer
e7bde11cc3 Simplify path handling logic in dependency checker and devFS (#8414)
* Simplify path handling logic in dependency checker and devFS

Simplification will make it easier to port this to Windows.

* Roll Engine to 0a7b177c330367904597a6129b3eb653d29dfca0
2017-02-27 11:01:14 -08:00
Chris Bracken
b880dff349 Roll engine to 335daf19304ffbbf96c1e1ff840e546f17ce50d6 (#8404) 2017-02-24 13:37:42 -08:00
Jason Simmons
b592868249 Roll the engine (#8402) 2017-02-24 12:20:22 -08:00
Michael Goderbauer
756842a29e Don't delete old Dart SDK if it is in use (#8385) 2017-02-24 09:28:58 -08:00
Michael Goderbauer
b65ed45222 Improvments to bat file (#8377)
Mainly: Don't call out to PoerShell (expansive!) if Dart SDK is upto date.
2017-02-23 12:09:52 -08:00
Phil Quitslund
c458fb9d2c Bump Dart SDK to 1.23.0-dev.0.0 (#8222)
* ups pinned `test` to `0.12.15+9` (to play nice w/ the latest analyzer)
* integrates `analyzer` with analysis driver defaulting to ON
2017-02-16 16:50:35 -08:00
Ryan Macnak
9ec5330f32 Roll engine to ab0953092743319e0dde3a0c8f582d261c232964. (#8223)
Update stack_trace_test.dart for changes to the naming of async body functions.
2017-02-16 16:13:17 -08:00
Todd Volkert
54f79e5aad Roll engine to 8218674d4af35b94cd9844aad3487dcffcdf6423 (#8208)
Fixes #8200
2017-02-15 16:34:54 -08:00
Ryan Macnak
15af4a04af Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74. (#8124)
* Roll engine to b64c88766dbd83bf4bab1cd1cd1757139b6cdb74.

Picks up changes to include inlined frames and line numbers in AOT stack traces.

* Adjust/weaken stack_trace_test.dart to pass in the face of async causal stack traces (Issue #8128).
2017-02-14 16:32:28 -08:00
Michael Goderbauer
769646218a Add git config option to automatically convert CRLF to LF (#8122) 2017-02-14 10:21:33 -08:00
Chris Bracken
30f3a896e6 Roll engine to f306a6f7011244e5b5c7470e178760bf87560e4b (#8044) 2017-02-09 16:00:54 -08:00
Chris Bracken
1a741cdbbe Roll engine to 4baeae886a42ca4056a3af8cd498903482b25ddf (#7961) 2017-02-08 12:51:29 -08:00
Phil Quitslund
197141c5cb Bump to Dart SDK 1.22.0-dev.10.6 (#7953)
Bump to keep up w/ DDC fixes.
2017-02-07 16:55:48 -08:00
Phil Quitslund
795c0c6062 Bump Dart SDK to 1.22.0-dev.10.5. (#7927)
* has all the cherry-picks fixing known issues merged.
2017-02-07 10:39:24 -08:00
Chris Bracken
11532cea5f Roll engine to cbf49d06521ff4c673084803c2a2afa8fc905132 (#7914) 2017-02-06 17:13:05 -08:00
Jason Simmons
883bae074a Roll engine (#7862) 2017-02-03 14:39:16 -08:00
Chris Bracken
484067edd7 Roll engine to c354127d4dfd2b960a6fa7ca173d65cb005801fa (#7843) 2017-02-02 17:33:55 -08:00
Michael Goderbauer
4c0fdc02ea Roll Engine to b8d144dab8b5e597017b76b019523aa73d56ef44 (#7820)
With this commit `flutter run --release` and `flutter run --profile` is fully supported on Windows.
2017-02-02 10:49:07 -08:00
Chinmay Garde
9c4b10014b Roll engine to pull in fixes to service integration on iOS. (#7801) 2017-02-01 17:08:44 -08:00
Michael Goderbauer
f02153ae5d Roll Engine to 4da9d87cf10a57ae0181fb6bdb1d9cec48014d03 (#7777) 2017-02-01 16:49:48 -08:00
Michael Goderbauer
40aab7f553 Bump Dart SDK to 1.22.0-dev.10.3 (#7791) 2017-02-01 16:33:27 -08:00
Chris Bracken
cfa8e5b0b8 Roll engine to 2d54edf0f96b76ecb111e481fb775c617acc23d4 (#7759) 2017-01-31 14:32:59 -08:00
Ian Hickson
56eca97a75 Engine roll to pick up Ahem font crash (#7691) 2017-01-26 23:58:54 -08:00
Chris Bracken
3cde53590c Roll engine to fb69728f33fec15fd39a2b7528cdd8eb45a254d9 (#7650) 2017-01-25 19:52:18 -08:00
Chris Bracken
efa1120a99 Roll the engine to 8fea842f027cdc98e2d338f1a04b2c0cb319e204 (#7635) 2017-01-25 12:33:32 -08:00
Chris Bracken
ba4d78acb3 Roll engine to 16b2964f5c300ceea7aac17a82a6afd1ac36b594 (#7612) 2017-01-24 11:10:52 -08:00
Michael Goderbauer
51dc83dd80 Launch Flutter Tools on Windows. (#7613)
This brings the Windows script up to par with the Linux/Mac script.

`flutter doctor` works.

There are two scripts (`bin/flutter` and `bin/internal/update_dart-sdk`), which are platform dependent (bash script on Linux/Max, PowerShell script on Windows) and we need to keep an eye on making sure that their logic stays in sync. Both scripts are rather simple and I am not expecting many changes to them. I also made sure that both versions follow the same structure to make it easier to keep them consistent.

Required for https://github.com/flutter/flutter/issues/138
2017-01-24 10:58:11 -08:00
Phil Quitslund
6a612caa50 Bump Dart SDK to 1.22.0-dev.9.1. (#7608)
Latest patch release, aligned with the internal SDK roll.
2017-01-24 10:53:30 -08:00
Ryan Macnak
76460967e6 Adapt to refactoring of snapshot APIs in the Dart VM. (#7589) 2017-01-23 13:28:35 -08:00
Chris Bracken
1e1463216a Roll engine to 858e401c4d83f44634341a0e1fe2b01428fe6746 (#7576) 2017-01-22 09:34:12 -08:00
Matt Perry
75f39789c7 Add support for specifying maxLines for Text. (#7493)
Overflow handling works with clipping, adding an ellipsis on the last
line, or fading the last line.

Fixes https://github.com/flutter/flutter/issues/7271
2017-01-18 12:34:34 -05:00
Phil Quitslund
41251d2450 Update to Dart SDK 1.22.0-dev.8.0. (#7461)
* Update to Dart SDK `1.22.0-dev.6.0`.

* Update SDK summary generation to create spec and strong summaries.

* Updated to dev.8.0.

* Fixed console out.
2017-01-17 09:50:52 -08:00
Michael Goderbauer
394a736984 Roll engine to b3ed79122edd7172327ce415688ef674d6a7fa5d (#7476)
fixes #7433
2017-01-12 18:56:43 -08:00
Chris Bracken
bd1f9cdcab Roll engine to fc421489b154c6ceb1b8a063541d5a5d4372db6b (#7451) 2017-01-11 15:01:11 -08:00
Yegor
7a10ed9315 Revert "Bump to Dart SDK 1.22.0-dev.5.0 (#7382)" (#7435)
This reverts commit ef25a2033781a9ab3195bddd8572e9a449d1c7e4 to unbreak the build.
2017-01-10 18:14:58 -08:00
Phil Quitslund
ef25a20337 Bump to Dart SDK 1.22.0-dev.5.0 (#7382)
* Bump Dart SDK to 1.22.0-dev.5.0.

* Suppress spurious `FutureOr` type warning.

* Fixed linter dep post merge.

* Formatting tweaks.
2017-01-10 14:55:31 -08:00
Adam Barth
5b1e7c0a37 Rename TransferMode to BlendMode (#7357)
Skia calls this BlendMode now and that's a better name.

Fixes #7200
2017-01-06 00:07:47 -08:00