Commit Graph

10135 Commits

Author SHA1 Message Date
Mikkel Nygaard Ravn
b3e4976ca2 Move plugin injection to just after pub get (#14560) 2018-02-15 22:17:12 +01:00
Todd Volkert
d260294752 Revert "Add android license verification to doctor and some refactoring" (#14727)
Reports from that commit included:

* Doctor hanging
* Doctor prompting to install JDK
* AnsiStatus.cancel() printing elapsed time and extra newline
* Printing extra spinner character at the end of each line
2018-02-15 09:13:56 -08:00
asiva
615f411da7 - Roll engine to version 0f3a8cef60bfe20afeaebe2945087cec90c65369 to pick
up the latest Dart roll

- Resubmit https://github.com/flutter/flutter/pull/14392 to fix
compilation errors
2018-02-15 08:15:02 -08:00
Vyacheslav Egorov
3932a22cdf When running tests with --preview-dart-2 check for compilation errors. (#14724)
If compiler failed to produce Kernel binary then compile(...) returns
null to the caller. If we don't check for null we end up trying to
run file called "null" which causes a very confusing crash of the
flutter_tester.
2018-02-15 16:57:52 +01:00
Alexander Aprelev
c0c6c60b8f Use already downloaded dart sdk for frontend_server. (#14702)
* Use already downloaded dart sdk for frontend_server.

This is follow-up to https://github.com/flutter/flutter/pull/14610

* Remove reference to engine dart-sdk from artifacts

* Remove unused imports

* WIP to switch back to solution where dart sdk is downloaded into bin/cache/dart-sdk, but it is 'flutter precache -a' that can download all dart sdks for other platforms under bin/cache/artifacts/engine/<platform>/dart-sdk

* Download all dart sdks when 'flutter precache -a'
2018-02-15 07:29:42 -08:00
Vyacheslav Egorov
08db0d83d7 Adjust test/material/popup_menu_test.dart for Dart 2 semantics. (#14644) 2018-02-15 10:31:46 +01:00
Alexandre Ardhuin
b8fcc96265 activate lint prefer_bool_in_asserts (#14708) 2018-02-15 06:14:13 +01:00
najeira
576191792a Add explanation about Navigator to showDialog doc (#14666)
* add explanation about navigator to showDialog doc

* update doc by review
2018-02-14 17:16:34 -08:00
Ian Hickson
b2af326046 Fix boundaries in applyClampedDragUpdate (#14444) 2018-02-14 17:05:24 -08:00
Devon Carew
53b348a50d have flutter analyze support --preview-dart-2 (#14582)
* have flutter analyze support --preview-dart-2

* review comments
2018-02-14 16:00:29 -08:00
jcollins-g
59fe5d0f46 Add android license verification to doctor and some refactoring (#14535)
* Initial version, seems to work

* Unit test for android license checker

* Cleanups

* Windows analyzer wants const.

* Refinements to timeout

* review comments

* Forgot a nit
2018-02-14 15:25:12 -08:00
Michael Goderbauer
e9163a1afe Wire up didGainA11yFocus, didLoseA11yFocus for CustomPainter (#14711) 2018-02-14 15:18:59 -08:00
Chris Bracken
9b48f0d0c2 Roll engine to f8778fce17efc89251b2c743ecf4329b499ee76a (#14712)
Inlcudes:
* libtxt: specifically request the Roboto font in tests and benchmarks (flutter/engine#4675)
* Make Paragraph methods really return List<int> if they are declared as such (flutter/engine#4676)
* Stop using ClassHierarchy.deprecated_incremental (flutter/engine#4678)
* On iOS, render to an offscreen surface to avoid renderbuffer slowdown (flutter/engine#4680)
2018-02-14 14:59:11 -08:00
David Shuckerow
83b4281649 Add a toString for CurveTween (#14679) 2018-02-14 14:33:42 -08:00
amirh
9bc3bc9822 expose scaled fab area in ScaffoldGeometry (#14683) 2018-02-14 14:08:13 -08:00
Alexander Aprelev
a11da23852 Put generated kernel files into <build> folder (#14693)
* Put generated kernel files into <build> directory

* USe default value for kernel file
2018-02-14 12:59:42 -08:00
Chris Bracken
8754e4f90f Roll engine to 7a6d12fabc21583caebf98d12f4948eceeafcec8 (#14706)
Includes:
* Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (flutter/engine#4677)
2018-02-14 11:48:42 -08:00
Justin
ec76c652bd Add support for assets in Fuchsia packages (#14654)
Pull code out of flx.dart:assemble() to make flx.dart:buildAssets
which creates the AssetBundle. This will allow us to create just
this instead of an entire FLX.
2018-02-14 08:05:05 -08:00
Alexander Aprelev
a448994543 Use the Dart SDK built from Flutter engine rather than from dartlang.org (#14610)
* Use engine-built dart sdk

* Download dart-sdk from engine

* Move up deps to fix dart sdk constraint problem

* Update update_dart_sdk.ps1 for Windows

* Fix tests so they pass analysis

* More types for tests

* Roll engine

* Update dart sdk stamp location in flutter.bat

* Add newline
2018-02-14 07:18:25 -08:00
Sarah Zakarias
3723ec0383 Add static framework verification override in swift podfile (#14667) 2018-02-14 10:24:08 +01:00
Todd Volkert
8a65872ef9 Re-apply "Send nextId in addition to previousId for traversal order" (#14694)
Re-apply "Send nextId in addition to previousId for traversal order (#14676)"
2018-02-13 23:32:28 -08:00
Todd Volkert
e9d7bf8ce1 Revert "Send nextId in addition to previousId for traversal order" (#14691) 2018-02-13 21:50:44 -08:00
Todd Volkert
3023fe2046 Add map-specific catch block in run_hot (#14689)
Fixes #14688
2018-02-13 21:08:33 -08:00
Todd Volkert
556a33a368 Allow upstream repo name to be configurable in roll-dev.dart (#14608) 2018-02-13 19:39:32 -08:00
xster
a194818c59 Let the gallery bundle Id ephemerally change to io.flutter.demo.gallery before deploying (#14686)
* Let the gallery bundle Id ephemerally change to io.flutter.demo.gallery before deploying

* add a comment
2018-02-13 18:06:43 -08:00
Michael Goderbauer
58689c796c Send nextId in addition to previousId for traversal order (#14676) 2018-02-13 17:14:04 -08:00
xster
80c10bc431 Work around xcodebuild's undocumented freeze when -showBuildSettings is used with -allowProvisioning* (#14684) 2018-02-13 16:49:01 -08:00
amirh
f802cf6d16 ScaffoldGeometry plumbing. (#14580)
Adds a ScaffoldGeometry class and ValueNotifier for it.
A scaffold's ScaffoldGeometry notifier is held in the _ScaffoldState, and is passed to _ScaffoldScope.
New ScaffoldGemometry objects are built and published to the notifier.
2018-02-13 14:40:03 -08:00
Hans Muller
2aa9bb2be7 Tri-state Checkbox (#14611) 2018-02-13 14:16:31 -08:00
Mikkel Nygaard Ravn
8507b72af5 Fix xcode build settings parsing (#14672) 2018-02-13 22:19:03 +01:00
Alexander Markov
ea4dc12486 Revert "Roll engine to 834d6eb02988e7f2c44eda05cec908378a1a9138" (#14671)
* Revert "Roll engine to 834d6eb02988e7f2c44eda05cec908378a1a9138 (#14664)"

This reverts commit c19fbe86dd.
Reason: timeouts while doing hot reload in hot_mode_dev_cycle__preview_dart_2_benchmark.
2018-02-13 12:51:37 -08:00
asiva
30ff7bf801 Upgrade video-player package version to pick up some strong mode error
fixes.
2018-02-13 11:07:42 -08:00
Filip Hracek
10144fa5f9 Update description on docs (#14660) 2018-02-13 10:49:47 -08:00
Alexander Markov
c19fbe86dd Roll engine to 834d6eb02988e7f2c44eda05cec908378a1a9138 (#14664)
Contains
* Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391 (https://github.com/flutter/engine/pull/4659)
2018-02-13 08:07:11 -08:00
Vyacheslav Egorov
d745684393 Plumb strong mode option through startApp(...) to the engine on iOS. (#14653)
This is a temporary workaround until we solve #14594.
2018-02-13 14:16:26 +01:00
xster
d401bd78ae Reduce Xcode noise #3 (#14663)
* Revert "Revert "Reduce xcodebuild noise #2" (#14641)"

This reverts commit 2d47481f1e.

* Stop scrapping xcodebuild output, get the right build settings

* clone the command params first
2018-02-13 01:56:13 -08:00
xster
d45c8fdedb Push to stores only on dev and beta branches (#14618) 2018-02-13 00:50:17 -08:00
Michael Thomsen
bc36ca9619 Change the default for pub tracing to false for non-bot runs (#14552)
* Change the default for pub tracing to false for non-bot runs

* Review feedback: update docs

* Review feedback
2018-02-13 09:44:27 +01:00
Sigurd Meldgaard
2909fe2259 Don't fade video player volume in demo (#14638) 2018-02-13 09:27:45 +01:00
Ian Hickson
e142d8dccb Prepare docs scripts for beta (#14606)
This sets things up so that when we next roll a dev build to beta, it updates the docs.
This means that for a while (until we publish a beta) the dev docs will not be updating.
2018-02-12 21:52:42 -08:00
Greg Spencer
7be0bd1ce9 Move geometric sort for semantics to the framework side. (#14539)
This adds geometric sort ordering back in for semantics nodes that don't have a sort order defined.

With this change, widgets that either have no sort order, or have an equivalent sort order, will be compared geometrically. The comparison is between the two starting corners, so it is TextDirection-aware: parent nodes that are set to have LTR text will compare upper left corners of their children, and upper right when set to RTL.

Also fixed a bug in the Transform widget that didn't mark modified nodes as needing a semantics update.
2018-02-12 20:53:32 -08:00
Alexander Aprelev
c54f0bcdb3 Pipe --preview-dart-2 when running flutter daemon. (#14658) 2018-02-12 18:26:34 -08:00
Yegor
e3eaf04c6c Document how to read the dashboard (#14577)
* Document how to read the dashboard

* address comments
2018-02-12 16:51:25 -08:00
xster
6d2dc050b2 Let Xcode communicate with Apple and create new provisioning profiles and register new devices (#14589) 2018-02-12 16:44:21 -08:00
Greg Spencer
bfc6833459 Swap nextNodeId for previousNodeId, since setTraversalBefore is broken. (#14607)
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.

It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.

Fixes #14600
2018-02-12 14:10:39 -08:00
Jason Simmons
09aa673b1d Revert "Disable selection of the Android ARM64 target platform based on the attached device" (#14650)
This reverts commit cdb581807cc11030b63d00c04bb2d55fcb3d7ef4.

Dart has been updated in the engine, and this workaround should no longer be necessary.

Fixes https://github.com/flutter/flutter/issues/14646
2018-02-12 13:56:17 -08:00
Jacob Richman
2c05ecab9f Flutter tools support for kernel transformer tracking Widget creation locations. (#13997) 2018-02-12 10:44:31 -08:00
Vyacheslav Egorov
dfbbd30de5 Update expectations in stack_trace_test: there is no async-patch in Dart 2 mode. (#14643)
Dart 2 applies core library patches during the build, so there is only a single
 dart:async library.
2018-02-12 19:36:31 +01:00
Jason Simmons
02f59784b8 Download android-arm64 AOT tools for Mac and Windows hosts (#14528)
Fixes https://github.com/flutter/flutter/issues/14524
2018-02-12 09:48:53 -08:00
Mikkel Nygaard Ravn
2d47481f1e Revert "Reduce xcodebuild noise #2" (#14641)
Merging to get back to a green tree.
2018-02-12 15:15:51 +01:00