Commit graph

621 commits

Author SHA1 Message Date
Michael Goderbauer a67d648742 Roll engine to 883f81c8448e483c51cf1d978dffb332bf47603d (#11966) 2017-09-06 16:30:13 -07:00
Chris Bracken 0244f5dd6a Revert "Roll engine to ceb6d05c2fb3bd5c31a25d4b08be9fd97b55a446 (#11933)" (#11959)
This roll caused performance regressions in benchmarks:
* complex_layout_scroll_perf
* flutter_gallery_transition_perf

This reverts commit f430a45a5b.
2017-09-06 11:39:10 -07:00
Michael Goderbauer f430a45a5b Roll engine to ceb6d05c2fb3bd5c31a25d4b08be9fd97b55a446 (#11933)
* Roll engien to 79332e5c42555875c7070c33810dab3f0012ace1

* Remove deprecated @proxy

* Roll engine to ceb6d05c2fb3bd5c31a25d4b08be9fd97b55a446
2017-09-05 21:12:46 -07:00
Carlo Bernaschina e216004b86 Roll Engine to 29e0c1c2814ebbb325f1ddbc5d365a2960ec4575 (#11879) 2017-08-31 23:12:35 -07:00
Alexander Aprelev c5750cd7ea Introduce --preview-dart-2 option to run new frontend compiler in flutter tools. (#11741)
This adds --preview-dart-2 flag that enables use of Dart 2.0 Frontend in Flutter tools.
2017-08-31 13:35:55 -07:00
Alexander Aprelev 6296205119 Roll engine forward (#11821)
* Roll engine forward

* Update engine dep one commit further

* Update engine dep one commit further
2017-08-29 14:01:47 -07:00
Sarah Zakarias f1a23e263c roll engine (#11814) 2017-08-29 14:58:31 +02:00
Michael Goderbauer 76a1ab0269 Roll engine to 60bce44c9fdf20dbe5e6f7dd02e776b9ab0dd585 (#11805) 2017-08-28 17:34:33 -07:00
Carlo Bernaschina f3245d00b0 Roll Engine to f5371156d29b8cca3df05452f7e09f1314b1d9a1 (#11786) 2017-08-25 14:57:03 -07:00
xster 7676e5119e Engine roll (#11765) 2017-08-23 14:43:40 -07:00
Jason Simmons bb2554abcd Fix the continue-at flag in the curl command used to download the Dart SDK (#11757)
Fixes https://github.com/flutter/flutter/issues/11722
2017-08-23 11:28:19 -07:00
Chris Bracken 1962b61b67 Roll engine to 0062701c7c10029e86394e2599047ae993f7f492 (#11746) 2017-08-23 09:31:37 -07:00
Jason Simmons e843cb342d roll engine (#11740) 2017-08-22 17:11:34 -07:00
Chris Bracken 1e0b1f11c8 Roll engine to 600567ef152452ded9914aa6aa441ce8cc66b74b (#11707) 2017-08-21 13:41:54 -07:00
Carlo Bernaschina 79d08f683a Roll engine to e40d4a9fa6315ddc3617ea41e61f93bb45f7c5e1 (#11693) 2017-08-21 12:45:48 -07:00
Zachary Anderson 47fe630e4e Roll Dart SDK forward for analyzer fix for Fuchsia (#11637) 2017-08-16 19:31:59 -07:00
Carlo Bernaschina 2e57189aa4 Roll engine to a246501917b8b77e856db253817ce7c2cc25b9c2 (#11643) 2017-08-16 16:19:45 -07:00
xster 225da92342 Revert engine roll (#11621)
* Revert "Create template splash screens for Android and iOS (#11505)"

This reverts commit 1ad4a088f1.

* Revert "Roll engine (#11619)"

This reverts commit ea78f448e4.
2017-08-14 18:41:56 -07:00
xster ea78f448e4 Roll engine (#11619)
* roll

* kick the tests again

* Revert "kick the tests again"

This reverts commit 4480a02ce2.
2017-08-14 17:17:49 -07:00
Jason Simmons 4f61061733 Roll engine to fef7d827d6e22830ee6c88e8260f118a6b3fbcd9 (#11588) 2017-08-10 18:03:19 -07:00
Alexandre Ardhuin 8a88e2efca Bump Dart SDK to 1.25.0-dev.9.0 (#11509)
* Bump Dart SDK to 1.25.0-dev.9.0

* add link to sdk bug
2017-08-09 14:45:55 +02:00
Jason Simmons 7d3a1f9616 Roll engine to f0d440bec3ed79f01890e956b07b6e8e6182db62 (#11553) 2017-08-08 11:39:12 -07:00
Alexander Markov 8f57c67d9b Roll engine to cc7e71eaace0ee43cc718059e0fdd12c798205a0 (#11542)
Roll engine in order to fix regression of AOT snapshot build time.
2017-08-08 10:00:50 -07:00
Yegor bbc15724bd roll engine ff50334587 to get async stacks (#11519) 2017-08-07 10:03:09 -07:00
Carlo Bernaschina 802d5d2028 Roll engine to 73afec408194dd6e03c0d8483f0ea1332113b9a4 (#11518) 2017-08-04 12:54:11 -07:00
Michael Goderbauer 58f47bd906 Roll engine to 1de56a33d256ce4002a28ffe281163622e0c4010 (#11494) 2017-08-02 17:34:23 -07:00
xster ead51eae68 Roll engine (#11457)
* roll

* no-op commit

* revert no-op
2017-07-31 16:29:50 -07:00
Jason Simmons b7bf2cd528 roll engine (#11456) 2017-07-31 14:02:37 -07:00
Jason Simmons 2225e21fc0 roll engine (#11422) 2017-07-26 20:55:16 -07:00
Jason Simmons 5278588d80 roll engine (#11360) 2017-07-24 14:00:48 -07:00
Michael Goderbauer e6f71555f6 Revert "Work around to fix appveyor build (#11295)" (#11297)
This reverts commit bc4a3f1703.
2017-07-24 12:54:07 -07:00
Phil Quitslund c0e9809653 Bump Dart SDK to 1.25.0-dev.7.0. (#11342) 2017-07-21 11:43:30 -07:00
Devon Carew 3b35c0c9fc copy the dart sdk directory when we're upgrading it (#11331) 2017-07-20 21:34:27 -07:00
Todd Volkert 56700930a5 Rev engine to 5fcfb995bbce72b5f1ee807121f51a3c0280c8b4 (#11318) 2017-07-19 21:26:35 -07:00
Carlo Bernaschina 05ccad7de0 Roll engine to 53c9a702821b154f137541d4a528fbd25f00ad1b (#11310)
Required for https://github.com/flutter/flutter/pull/11282
2017-07-19 16:49:40 -07:00
Ryan Macnak 63b686709d Roll engine to "Speculatively disable GN argument 'enable_profiling' to test its effect on benchmarks." (#11303) 2017-07-19 14:18:30 -07:00
Michael Goderbauer bc4a3f1703 Work around to fix appveyor build (#11295)
* work around for appveyor connectivity issues

Unfortuantelly, this slows down our build :(

* review feedback
2017-07-19 12:05:30 -07:00
Todd Volkert df5cb390e2 Rev engine to 488584f8b7cf188d4699880d7b55144cd48067bf (#11291) 2017-07-19 10:55:56 -07:00
Todd Volkert 46b2e88612 Roll engine to c757fc74512fe9039a31e194906bf3700b4c1319 (#11266)
Fixes https://github.com/flutter/flutter/issues/11238
2017-07-17 22:51:56 -07:00
Ryan Macnak 1650420db5 Update --local-engine to account for changed host architecture of 32-bit Android debug builds. (#11263)
Roll engine to 03e642bc8940441bbad5c2fb7d3ca868c1fdad54.
2017-07-17 14:56:27 -07:00
Ryan Macnak fce76bcfd6 Revert "Update --local-engine to account for changed host architecture of 32-bit Android debug builds. (#11251)" (#11259)
This reverts commit 3f514fcfdf.
2017-07-17 13:47:03 -07:00
Ryan Macnak 3f514fcfdf Update --local-engine to account for changed host architecture of 32-bit Android debug builds. (#11251)
Roll engine to 7480e32854606e554ae37f8bd241c050bdc565c4.
2017-07-17 12:20:14 -07:00
Todd Volkert 547708b327 Roll engine to f56da86f9807a7d4c924cdb5a28d77baad0537b1 (#11219) 2017-07-13 18:08:14 -07:00
Ryan Macnak e4bcc7e762 Roll engine to 431a2511513186b06c4ef32d8abbb3d9b937e5d6. (#11157) 2017-07-11 15:37:59 -07:00
Michael Goderbauer d96614760b Revert "Roll engine to 9117705b3653565a240314481c63eb93090f7232" (#11117)
* Revert "test missed a mock (#11098)"

This reverts commit 1a01de9ab3.

* Revert "Roll engine to 9117705b3653565a240314481c63eb93090f7232 (#11114)"

This reverts commit 12b395280b.
2017-07-07 15:12:59 -07:00
Michael Goderbauer 12b395280b Roll engine to 9117705b3653565a240314481c63eb93090f7232 (#11114) 2017-07-07 13:26:35 -07:00
Michael Goderbauer 177cf91260 Roll dart to 1.25.0-dev.4.0 (#11089) 2017-07-05 16:26:11 -07:00
Ian Hickson 58718e8bc7 Revert checked-mode patch. (#11086) 2017-07-05 15:34:02 -07:00
Ian Hickson 5f20f83415 Always run the flutter tool in checked mode. (#11069)
(Needs https://github.com/dart-lang/sdk/issues/28519)
2017-07-02 09:34:31 -07:00
Alexander Aprelev d9ca775f40 Roll engine dependency forward (#11046) 2017-06-29 15:42:53 -07:00
Alexander Aprelev 86e6ffeed4 Rev up the engine dependency (#10988) 2017-06-26 21:03:32 -07:00
Yegor a4a276b71a rev engine (38b3e89) and Dart SDK (1.24.2) (#10985) 2017-06-26 18:08:56 -07:00
Mikkel Nygaard Ravn c5999c74c0 Add gradle wrapper to project template (#10928) 2017-06-26 12:47:43 +02:00
Ian Hickson 02171dcaf2 Roll engine (#10944)
Picks up primarily stability fixes.
2017-06-23 15:29:24 -07:00
Todd Volkert 128967cd2a Bump Dart SDK version to 1.24.0 (stable) (#10931)
https://github.com/flutter/flutter/issues/10650
2017-06-23 14:08:34 -07:00
Jason Simmons c78bfc5625 Roll engine (#10892) 2017-06-21 14:40:49 -07:00
Chris Bracken 7d16a96500 Roll engine to fffe502d437ac7931f08c6cef3e3f71fbd36adaa (#10859) 2017-06-20 10:47:07 -07:00
Ian Hickson cf9303903c Roll engine (#10808) 2017-06-19 09:51:36 -07:00
Jason Simmons 6965312822 Align doubles to 8 bytes in the StandardMessageCodec (#10758)
See https://github.com/flutter/flutter/issues/10701
2017-06-16 10:05:18 -07:00
Alexander Aprelev 3db402ec98 Roll Flutter Engine dependency (#10753) 2017-06-15 23:01:25 -07:00
Michael Goderbauer d3f9608247 roll engine to 18fdfb86bb3876fcbb4e1d25e5b2aad0c5cd669f (#10711) 2017-06-14 17:10:56 -07:00
Alexander Aprelev 272faba1c0 Support 'be' channel so you can download dart-sdk from the tip. (#10625)
* Support 'be' channel so you can download dart-sdk from the tip.

This is triggered when you put 'hash/<build hash>' into dart-sdk.version file. For example, 'hash/c0617d20158955d99d6447036237fe2639ba088c'

* Add README.md

* Fix grammar, spacing, 80 chars, nicer ===
2017-06-13 08:28:16 -07:00
Todd Volkert b4ba972bf3 Rev engine to ffe8181ffe7432b61a67323c80fd8025704e4695 (#10651) 2017-06-12 21:47:41 -07:00
Chris Bracken 4bde698ffc Roll engine to ffe8181ffe7432b61a67323c80fd8025704e4695 (#10597) 2017-06-09 10:54:47 -07:00
Chris Bracken 21441aa366 Roll engine to 4d423b62b99b9d943a26fad776769cfe2c7f016d (#10591) 2017-06-08 18:13:49 -07:00
Phil Quitslund 95544383ef Bump to Dart SDK 1.24.0-dev.6.7. (#10585)
* Bump to Dart SDK 1.24.0-dev.6.7.

* nits and fixes
2017-06-08 15:15:18 -07:00
Chris Bracken b5365d9352 Roll engine to 1f765cdba7aee9d0a953043209b05d2c59270391 (#10572)
This picks up the latest engine build, built with ios_deployment_target
set to iOS 8 (changed from iOS 7).
2017-06-07 16:10:29 -07:00
Todd Volkert b83ddcd192 Rev engine to pick up FlutterActivity change (#10560)
https://github.com/flutter/flutter/issues/10072
2017-06-07 13:41:42 -07:00
Kevin Moore a5aaaa8422 bin/flutter: don’t warn about running as root within Docker container (#10535)
Closes https://github.com/flutter/flutter/issues/10529

Via https://stackoverflow.com/a/25518345/39827
2017-06-06 12:22:34 -07:00
Michael Goderbauer cee36e306a Roll engine to 8686a458104628c4cd5e142e59cac53458724e31 (#10518) 2017-06-05 18:06:55 -07:00
Chris Bracken 03e7ebe67d Roll engine to c3721a589b50e3d2c2e56befbfd6f860d0de12a1 (#10512) 2017-06-05 15:44:54 -07:00
Chris Bracken 7c68cf50bc Roll the engine to bd09286e4aec422a1f77eac9de84274f22484846 (#10467) 2017-06-02 16:15:21 -07:00
Chris Bracken a8fe276c55 Roll engine to 9af413ca8b44ede5dd961dca099149ead4ac8358 (#10457) 2017-06-02 12:36:50 -07:00
Michael Goderbauer a6069aee30 Roll engine to 1f2aa075717169d6058ad97b3b5c2794a97a43d7 (#10447)
Picks up accessibility fixes.
2017-06-02 10:10:36 -07:00
Chris Bracken 9452a3448c Support inactive, suspending AppLifecycleStates (#10306)
* Rolls the engine to 75c74dc463d56e17be10315cfde409010fd8f90b.
* Adds framework support for the `AppLifecycleState.inactive` and `AppLifecycleState.suspending` states.

What are the new states?
------------------------
* `AppLifecycleState.inactive` is emitted on iOS only and corresponds to iOS's foreground inactive state. Current iOS state transitions are:
`resumed` <--> `inactive` <--> `paused`

* `AppLifecycleState.suspending` is currently emitted on Android only and corresponds to the
transition to Android's stopped state. Current Android state transitions are:
`resumed` <--> `paused` --> `suspending` --> `resumed`

These transitions may change in future.

This is a breaking change on iOS
--------------------------------

This changes the semantics of the `AppLifecycleState.paused` state on
iOS. The behaviour associated with this state is unchanged on Android.

For background on iOS application states see the state transition
diagram in the [App Programming Guide for iOS](https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/TheAppLifeCycle/TheAppLifeCycle.html#//apple_ref/doc/uid/TP40007072-CH2-SW6).

On iOS, prior to this change, `AppLifecycleState.paused` corresponded to
a transition to the _foreground inactive_ state. It now corresponds to a
transition to the _background state_. The newly-added
`AppLifecycleState.inactive` state now corresponds to entering the
_foreground inactive_ state, which (currently) has no exact analogue on
Android.

Briefly, the _foreground inactive_ state is the state entered when
switching from an app to the app switcher, receiving a phone call, or
responding to a TouchID request. Apps are permitted to continue
animating/updating views in this state if desired. From the _foreground
inactive_ state, the app may transition back to _active_ (e.g., entering
the app switcher then resuming the app), or to the _background_ state
(e.g., switching to the home screen or another app).

What to change
--------------
If your app does not handle the `AppLifecycleState.paused` state in a
`WidgetsBindingObserver.didChangeAppLifecycleState` implementation, no
changes are required.

If you do handle `AppLifecycleState.paused`, you may additionally wish
to also handle `AppLifecycleState.inactive`. For example, games should
probably pause on entering the app switcher rather than wait to be
backgrounded.

More details
------------
For background on Android application states see the state transition
diagram in the [Android Activity Lifecycle docs](https://developer.android.com/guide/components/activities/activity-lifecycle.html#alc).
2017-05-25 10:52:21 -07:00
Chris Bracken f1816d6d23 Roll engine to af60e003d06a82310d9d5240fdb6753729edb10f (#10285) 2017-05-23 19:34:18 -07:00
Chris Bracken 8046f68a31 Roll engine to 1295b4718b204c627c71d80e309b3d5fea0592b8 (#10279) 2017-05-23 16:42:35 -07:00
Todd Volkert daad83880f Revert "Roll engine to 8b09c7231e0d32ec8aba476dd2b8319a8e5d6a73 (#10262)" (#10269)
This reverts commit 4a9205572b.
2017-05-23 08:01:42 -07:00
Chris Bracken 4a9205572b Roll engine to 8b09c7231e0d32ec8aba476dd2b8319a8e5d6a73 (#10262) 2017-05-22 17:12:02 -07:00
Phil Quitslund f21abb6ead Bump Dart SDK to 1.24.0-dev.3.0. (#10110)
* Bump Dart SDK to `1.24.0-dev.3.0`.

* Fix (mega) gallery creation.
2017-05-22 10:01:22 -07:00
Chris Bracken 0ec9132248 Roll engine to 5a7e862cbeabdf021374c2b122505a5fcd6ca37b (#10222) 2017-05-20 12:36:50 -07:00
Chris Bracken bac2f0d01f Roll engine to 82815836eba0a9ebaaa9d191944710d7581ec865 (#10167) 2017-05-18 10:08:11 -07:00
Todd Volkert 97f7ddf291 Remove root restriction (#10129)
* Remove root restriction

https://github.com/flutter/flutter/issues/9547

* Add back log msg
2017-05-16 20:03:55 -07:00
Ian Hickson ce2c834f70 Adjust the tests to handle a higher-DPI test harness. (#10056)
Requires https://github.com/flutter/engine/pull/3688
2017-05-15 16:47:14 -07:00
Adam Barth a8b553d52b Update engine (#10088) 2017-05-15 11:18:12 -07:00
Adam Barth c5cf8e0190 Update engine (#10067) 2017-05-13 11:11:58 -07:00
Jason Simmons b4e0e541ec roll engine (#10047) 2017-05-12 12:43:30 -07:00
Michael Goderbauer edb61cb2ea Add error handling to batch script (#10007) 2017-05-11 14:02:29 -07:00
Chris Bracken 5be2fb0b8a Roll engine to f99d3ef1083b9a126b64fab0c576647108c9a7eb (#9997) 2017-05-11 10:35:33 -07:00
Chris Bracken 6ab2958039 Roll engine to f2581c9bcc32f9e2e7372eb7e94a8aa9f5aab0b2 (#9978) 2017-05-10 17:25:33 -07:00
Jason Simmons d9165f96d4 Roll engine (#9970) 2017-05-10 15:08:23 -07:00
Mikkel Nygaard Ravn c1feee93d3 iOS plugin registry (#9818) 2017-05-09 12:00:07 +02:00
Chris Bracken 9846385b32 Roll engine to 1b01211ee68fffae3c2acb33ce03b5a3c0d6c774 (#9861) 2017-05-05 18:11:33 -07:00
Ian Hickson 031c4360af Roll engine (#9830) 2017-05-05 07:34:24 -07:00
Todd Volkert 20da5c1beb Rev engine (#9829) 2017-05-04 22:10:42 -07:00
Michael Goderbauer c256e6d557 Populate PUB_ENVIRONMENT for initial pub get and correctly detect APPVEYOR as bot (#9725)
* Populate PUB_ENVIRONMENT for initial pub get

* review comments

* change order
2017-05-02 11:25:59 -07:00
Mikkel Nygaard Ravn bba043bab3 Roll engine to da8ebf40bd5fc76774bc4d291094344074fa432c (#9680) 2017-04-29 00:53:32 +02:00
Chris Bracken 9da22bd92f Roll engine to 7c699ce7721b32d7893e68e260474a7eec811fd5 (#9660) 2017-04-27 16:51:09 -07:00
Jason Simmons 1d6a8249f8 roll engine (#9650) 2017-04-27 13:34:48 -07:00
Mikkel Nygaard Ravn 70ff50f929 Integration test for channel communication (#9621) 2017-04-27 08:44:28 +02:00
Brian Slesinsky 054c937917 don't use curl progress bar since it looks bad in IDEA console window (#9538)
Without this flag, it shows progress via increasing numbers instead of a progress bar. For some reason, the IDEA console seems to be okay with that.
2017-04-23 10:30:27 -07:00
Phil Quitslund bd8f3f3a29 Bump Dart SDK to 1.23.0-dev.11.11. (#9530) 2017-04-21 13:25:04 -07:00
Todd Volkert ca2bf1efd0 Redirect curl's stderr to stdout, since it draws its progress bar to stderr (#9497) 2017-04-20 11:37:10 -07:00
xster 311d35354a roll (#9488) 2017-04-19 18:45:14 -07:00
Adam Barth ab1aa07e8f Update engine (#9484) 2017-04-19 15:42:02 -07:00
Mikkel Nygaard Ravn 945cfc3ee2 Make naming consistent across channel APIs (#9270) 2017-04-18 15:23:15 +02:00
Jason Simmons 70536223ee roll engine (#9397) 2017-04-14 10:37:19 -07:00
Phil Quitslund c4482b4ace Bump to Dart SDK 1.23.0-dev.11.7 (#9396)
Brings us inline with the latest internal push.
2017-04-14 08:33:33 -07:00
Chris Bracken 62613ddf6e Roll engine to 5c4e20c4c53751bf7a1caf85bb45338335580e8b (#9382) 2017-04-13 12:30:58 -07:00
Ian Hickson bf017b79b3 Move Point to Offset (#9277)
* Manually fix every use of Point.x and Point.y

Some of these were moved to dx/dy, but not all.

* Manually convert uses of the old gradient API

* Remove old reference to Point.

* Mechanical changes

I applied the following at the root of the Flutter repository:

git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'

* Mechanical changes - dartdocs

I applied the following at the root of the Flutter repository:

git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'

* Further improvements and a test

* Fix minor errors from rebasing...

* Roll engine
2017-04-12 15:06:12 -07:00
Chris Bracken 7b0b5c5760 Roll engine to 059ab3a47165d98cb1d7ac5e2a2e4b50abf39832 (#9352) 2017-04-12 14:43:34 -07:00
Ian Hickson 2a54524337 Fix tests to use Ahem, and helpful changes around that (#9332)
* Fix tests to use Ahem, and helpful changes around that

- Fix fonts that had metric-specific behaviours.

- LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
  to LiveTestWidgetsFlutterBinding.framePolicy.

- LiveTestWidgetsFlutterBinding now defaults to using a frame policy
  that pumps slightly more frames, to animate the pointer crosshairs.

- Added "flutter run --use-test-fonts" to enable Ahem on devices.

- Changed how idle() works to be more effective in live mode.

- Display the test name in live mode (unless ahem fonts are enabled).

- Added a toString to TextSelectionPoint.

- Style nit fixes.

* Roll engine to get Ahem changes.

* Update tests for dartdoc changes.

* Fix flutter_tools tests
2017-04-12 13:33:02 -07:00
Phil Quitslund 5b89c10105 Bump to Dart SDK 1.23.0-dev.11.6. (#9285)
Pulls in latest 1.23. cherry picks, including @abarth’s fix to restrict `@immutable` checks to instance fields.
2017-04-07 09:43:09 -07:00
Michael Goderbauer d2abdf8e6b Roll Dart to 1.23.0-dev.11.5 (#9151)
* Roll Dart to 1.23.0-dev.11.3.

This is expected to fix the Windows crashes reported in https://github.com/flutter/flutter/issues/8912.

* fix tests

* Roll to 1.23.0-dev.11.5

* Fix tests
2017-04-05 09:47:02 -07:00
Chris Bracken c6cd0bc344 Roll engine to 5d9a6422577d95c242f45f48c47b431f7cf3c548 (#9181) 2017-04-04 09:51:55 -07:00
Chris Bracken a246811953 Roll engine to 878f0ff09dd1d03029c2deac1a5f44d95a83a465 (#9170) 2017-04-03 19:47:41 -07:00
Jason Simmons 91dbb3c91e roll engine and update tools for the removal of dart:jni (#9137) 2017-03-31 16:20:14 -07:00
Collin Jackson 60e05e9a0e Remove Android support library in Flutter builds. Fixes #9120, #9102, #9121. (#9123)
This reverts commit 8f9d4a2260.
2017-03-31 09:35:25 -07:00
Jason Simmons 72effdd27c Roll the engine and update for new binary names (#9089) 2017-03-29 15:31:36 -07:00
Phil Quitslund ab6df3af40 Bump to Dart SDK 1.23.0-dev.10 (#9051)
* Bump to Dart SDK 1.23.0-dev.10

* allows us to understand flutter usage via telemetry
* brings in `@immutable`

Fixes: #9042

* completer fix

* Update to platform 1.1.1.
2017-03-28 14:53:03 -07:00
Mikkel Nygaard Ravn b9aec9389e Engine roll to get #3498 (#8966) 2017-03-23 07:58:27 +01:00
Jason Simmons 09b6850499 roll engine (#8917) 2017-03-20 15:25:27 -07:00
Adam Barth 3e37b1ef13 Update engine (#8879) 2017-03-18 13:59:41 -07:00
Mikkel Nygaard Ravn dce4bf8599 Remove old platform messaging API (#8837)
Breaking change: removed deprecated methods of PlatformMessages, leaving only binary messaging there. All other use of platform communication now goes through PlatformMessageChannel and PlatformMethodChannels. Retained use of String and JSON codecs for now.

Companion engine PR: flutter/engine#3482
2017-03-17 11:56:50 +01:00
Chris Bracken 60bb5d43dd Roll engine to 4a5a32466958dab49b9940e4528ee6d523f4a5ac (#8843) 2017-03-16 19:35:01 -07:00
Michael Goderbauer c9a9c627b6 Remove nasty ANSI workaround for Windows (#8839)
The problem has been fixed upstream in the Dart VM.

This simplifies our setup instructions on Windows (will update the wiki).
Furthermore, this also means that going forward there is no diffrence between PowerShell and Cmd for the Flutter experience on Windows.
2017-03-16 18:04:14 -07:00
Phil Quitslund cf08b44ee6 Update to Dart SDK 1.23.0-dev.9.0. (#8829)
Fixes: #8812
2017-03-16 14:26:15 -07:00
Chris Bracken 06faf0f15b Roll the engine to 2937f06a15cecf5e9398334617ca156316dae52b (#8806) 2017-03-15 14:08:25 -07:00
Michael Goderbauer a097396f56 Optimize EXIT behaviour of batch script (#8799)
Some Windows Versions close the entire shell if EXIT is called without
/B.

This also adds retry logic for downloading the Dart SDK.
2017-03-15 11:08:31 -07:00
Mikkel Nygaard Ravn 898b6f8549 Enable iOS use of platform channels (#8695)
Changed standard encoding to use host endianness. Engine roll.
2017-03-14 00:24:41 +01:00
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
Chris Bracken 81b81d3087 Exit with error message when run as root (#8626) 2017-03-07 13:58:48 -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 ae1a719e03 fix FLUTTER_ANSI_TERMINAL check (#8544)
* fix FLUTTER_ANSI_TERMINAL check

should have been included in the previous PR :(

* review comments
2017-03-02 16:25:33 -08:00
Michael Goderbauer 1f7b8ae11f Enable ANSI codes in PowerShell (#8537) 2017-03-02 13:09:36 -08: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 e7bde11cc3.

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
Michael Goderbauer 2d4e4dd6dc Fix timestamp comparison in BAT file (#8407) 2017-02-24 15:26:36 -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
Michael Goderbauer a49c854f67 Exit Code Fixes for Windows (#8006)
* return 1 when checks in `flutter.bat` fail
* don't assume file extension of git (depending on the system it can be `git.exe` or `git.bat`)
2017-02-08 21:51:11 -08:00
Chris Bracken 4f05643cac Support flutter install paths containing spaces (#8014) 2017-02-08 19:27:11 -08:00
Michael Goderbauer 6d41c704b9 Preserve exit code on Windows (#7987) 2017-02-08 14:46:47 -08:00
Chris Bracken 1a741cdbbe Roll engine to 4baeae886a42ca4056a3af8cd498903482b25ddf (#7961) 2017-02-08 12:51:29 -08:00
Michael Goderbauer e742b901b8 Tiny simplification of launch scripts (#7949)
Call `pub upgrade` instead of manually deleting `pubspec.lock` and then calling `pub get`. `pub upgrade` ignores the `pubspec.lock`, but is otherwise identically to 'pub get' (https://www.dartlang.org/tools/pub/cmd/pub-upgrade).
2017-02-07 17:15:34 -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
Michael Goderbauer e01470a813 Lock Cache before downloading Dart SDK on Windows (#7931) 2017-02-07 15:02:10 -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
Michael Goderbauer bf9bbcb4f0 Honor %FLUTTER_TOOL_ARGS% on Windows (#7929) 2017-02-07 10:28:33 -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
Michael Goderbauer c234d405af Replace bin/flutter.ps1 with bin/flutter.bat (#7713)
fixes https://github.com/flutter/flutter/issues/7654
2017-01-27 23:12:33 -08:00
Michael Goderbauer 06a0836d79 Add a .bat entry point for flutter tools (#7701)
Currently, this only calls out to the PowerShell Script, which is kind of slow. In the future, we will transfer more logic from PowerShell to cmd for faster starup time.
2017-01-27 10:58:32 -08:00
Ian Hickson 56eca97a75 Engine roll to pick up Ahem font crash (#7691) 2017-01-26 23:58:54 -08:00
Michael Goderbauer 9f28b4ff71 Windows Fixes for Flutter Tools (#7678) 2017-01-26 17:04:53 -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
Michael Goderbauer e14925d366 Fix Encoding for PowerShell script (#7625)
fixes #7623
2017-01-24 16:38:35 -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
Ian Hickson 3f1d6d3bca Remove randomness from port assignment during coverage collection. (#7548)
Also, defer to test package for throttling (this will require a test
package update as well).

Also, add a lot more instrumentation to --verbose mode for tests, and
fix minor trivial things here and there, and add error handling in
more places.

Also, refactor how coverage works to be simpler and not use statics.
2017-01-19 15:31:11 -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 ef25a20337 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
Chinmay Garde 1fa8a254a3 Update engine revision. (#7348) 2017-01-05 12:30:01 -08:00
Jason Simmons 82fc87fc4e Remove extra leading slashes in the flutter tool snapshot path (#7291)
Dart will parse this path as a URI, and multiple leading slashes will cause
that part of the path to be parsed as an authority.

Fixes https://github.com/flutter/flutter/issues/7279

Also see https://github.com/dart-lang/sdk/issues/28143
2016-12-19 15:44:26 -08:00
Ian Hickson 502592e56c Revert "Use test fonts in the test shell and remove custom font installation on Travis." (#7265) 2016-12-15 11:01:39 -08:00
Chinmay Garde 3bc6a1bf6f Use test fonts in the test shell and remove custom font installation on Travis. (#7250) 2016-12-13 12:18:02 -08:00
Phil Quitslund c677e80cfa Bump Dart SDK to 1.21.0 stable. (#7184) 2016-12-08 18:39:25 -08:00