11413 Commits

Author SHA1 Message Date
Dan Field
a18f5e84a1
Expose Text foreground from engine (#18347)
* update tests for TextStyle changes in engine

* roll engine, support Foreground on TextStyle

* roll to TextStyle.foreground

* add tests, update docs, fixes from tests

* add golden tests

* stroke + gradient

* update goldens hash

* Use centered widget

* fix typo

* Disable golden tests until Linux generated files are available

* update goldens
2018-06-20 20:23:51 -04:00
Natalie Sampsell
c35e484c95
Adding segmented control (#18373) 2018-06-20 15:44:03 -07:00
Yegor
9da80217fc
make crash server URL customizable from environment (#18649) 2018-06-20 15:43:43 -07:00
Jonah Williams
97e58ecb2c
Make expansion panel have a minHeight instead (#18623) 2018-06-20 15:15:03 -07:00
Alexander Aprelev
fb8cbf216b
Roll engine to 549c855e89341b97436b3417542fc8f997492df7 (#18591)
* Roll to 549c855e89341b97436b3417542fc8f997492df7

* Clean up return void - see https://github.com/dart-lang/sdk/issues/33218
2018-06-20 12:36:10 -07:00
Jonah Williams
328e9f62f6
Increase text handle size to 48 by 48 (#18486) 2018-06-20 09:53:18 -07:00
Devon Carew
9a9e6cffab
revert some type args added in https://github.com/flutter/flutter/pull/18575 (#18621) 2018-06-20 07:13:16 -07:00
Mikkel Nygaard Ravn
475678fdd8
Make Gradle script support Flutter-as-lib (#18633) 2018-06-20 16:07:05 +02:00
Florian Loitsch
0a3179fbab
Make ensureVersionFile a Future<void> function. (#18631) 2018-06-20 15:34:17 +02:00
matthew-carroll
a4599b02e3
Add doc example to addLocalHistoryEntry in LocalHistoryRoute (#9392) (#18124)
* Add doc example to addLocalHistoryEntry in LocalHistoryRoute (#9392)
2018-06-20 00:58:40 +00:00
Ian Hickson
6599271bf5
Revert matcher package (#18614)
The new matcher package deprecates isInstanceOf which seems eggregious.
2018-06-19 17:22:56 -07:00
Andrew Davies
0f2e50bb87
[frdb] Added env test (#18485) 2018-06-19 17:19:26 -07:00
Florian Loitsch
bb23a110e0
Fix test (#18603)
Fix test.

This makes the buildbot green again.
2018-06-19 16:41:27 +02:00
Greg Spencer
08d1ec36de Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575) 2018-06-19 09:58:20 +02:00
matthew-carroll
9e7e6e7c9b
Add docs to Opacity recommending AnimatedOpacity for opacity animatio… (#18092)
* Add docs to Opacity recommending AnimatedOpacity for opacity animations (#15464)
2018-06-19 00:58:03 +00:00
Michael Goderbauer
9a8c4dfef6
Report compressed/uncompressed size of icudtl, snapshots, and libflutter (#18583)
Reported for the hello_world compile benchmark in devicelab for now.
2018-06-18 17:12:14 -07:00
Greg Spencer
efa2a474ea
Adding HSLColor and color 'within' matchers for HSVColor and HSLColor (#18294)
This adds an HSLColor class which uses a perceptual color space based upon human perception of colored light (as opposed to HSV, which is based on pigment colors).

You can see the difference in the color spaces here: https://en.wikipedia.org/wiki/HSL_and_HSV

I also added a "within" matcher for both HSLColor and HSVColor that will check if the (floating point) color components are within a certain error.

And tests.
2018-06-18 17:11:42 -07:00
Florian Loitsch
bd4cf62821
Roll sync async engine (#18454)
* Roll the engine.

This engine includes a VM that defaults to sync-async.

flutter/engine@c8eeee4 Roll the Dart VM.
2018-06-18 15:17:02 +02:00
Danny Tuppeny
592c5ba91a
Don't be case-sensitive when checking for extension (#18515)
Seems like VS Code may have started using lowercase extension folders recently (our identifier is `Dart-Code.flutter` but now the folder is named `dart-code.flutter`), so this makes the check not sensitive to casing.

Also reuse extension identifier for download link
2018-06-18 06:37:01 +01:00
Jonah Williams
3f79f8cba5
manual rollback of of 18530 (#18531) 2018-06-16 12:54:02 -07:00
Michael Goderbauer
ebb174b0bf
Add size benchmark for hello_world (#18522) 2018-06-16 00:08:33 -07:00
Jonah Williams
278c69c4d3
Add semantics label property to Text widget (#18518) 2018-06-15 20:13:15 -07:00
Jonah Williams
24a1f57065
Add minimum height and width box constraints to input decoration icons (#18480) 2018-06-15 18:29:45 -07:00
Michael Goderbauer
2a19dae28b
Fix aot_snapshot_size_* benchmarks (#18520)
... and make sure they fail if they can't report the size.
2018-06-15 17:17:28 -07:00
Ian Hickson
0fa5ba43a1
Revert "Remove race conditions involving finding available ports (#18488)" (#18521)
This reverts commit 775087225141573d20224e3cda3cff9e56a6cd1e.
2018-06-15 15:37:20 -07:00
Ian Hickson
7750872251
Remove race conditions involving finding available ports (#18488) 2018-06-15 14:16:18 -07:00
liyuqian
38065376fc
Skip painting hidden children of a sliver list (#18465)
We have many hidden children because of iOS accessibility (see also #18410).

For example, in the tile screen of complex_layout app, there could be up to 20 children being painted without this PR. With this PR, only 12 get painted.

This should improve the performance of FL-53 by 40%.
2018-06-15 13:57:24 -07:00
Hans Muller
ac0aaf777f
Fixed some typos (#18516) 2018-06-15 13:03:49 -07:00
Jonah Williams
29e0e8b22f
update Tristate checkbox semantics to consider indeterminate as "unchecked" (#18297) 2018-06-15 12:53:45 -07:00
Stanislav Baranov
bcaf026c08
Add flutter tool support for creating app-specific VM snapshots. (#18417)
Add flutter tool support for creating app-specific VM snapshots.
2018-06-15 11:53:30 -07:00
Jonah Williams
a6cdc2b732
mention Text.rich on RichText (#18434) 2018-06-15 11:27:06 -07:00
Jonah Williams
1793ed79b1
invert children for real (#18489) 2018-06-15 11:22:15 -07:00
Michael Goderbauer
6ab3abfbc3
Fix clipping for SliverLists (#18410) 2018-06-15 10:11:40 -07:00
Michael Goderbauer
409007827b
Keep TextFields visible when keyboard comes up (#18291)
Fixes #10826.

Also in this PR: If you focus a text field, scroll it out of view and then start typing it will scroll back into view.
2018-06-15 10:11:10 -07:00
Mikkel Nygaard Ravn
e713b3349a
Update all packages (#18506) 2018-06-15 17:46:36 +02:00
Mikkel Nygaard Ravn
7fa4637b58
Prepare for upgrading video player in Gallery to newest version (#18501) 2018-06-15 15:34:02 +02:00
Mikkel Nygaard Ravn
8d65629c30
Update Android dependencies (#18499) 2018-06-15 14:29:46 +02:00
Sarah Zakarias
8f9aca8558
Enable running with prebuilt test-only apk (#18453) 2018-06-15 13:25:19 +02:00
Danny Tuppeny
86ed141bef
Revert "Update all packages (#18471)" (#18492)
This reverts commit e593dc70e8871a4407d74aa05640bc13bf58f651.
2018-06-15 09:13:09 +01:00
xster
020e0ef55c
Add some more dart doc to RepaintBoundary (#17183) 2018-06-14 13:17:08 -07:00
Danny Tuppeny
e593dc70e8
Update all packages (#18471)
"flutter update-packages --force-upgrade"
2018-06-14 21:09:32 +01:00
Ian Hickson
d1cc8b6de8
Clean up output of "flutter run --release" (#18380)
(second attempt)
2018-06-14 12:30:20 -07:00
Danny Tuppeny
48f4ff6dda
Ensure errors launching emulators are exposed to the daemon (#18446) 2018-06-14 07:59:50 +01:00
Chris Bracken
03b5b1c0bd Check video widget is mounted on call to setState (#18467)
When setState() calls occur asynchronously, it's possible that the
Futures on which they're waiting don't complete until the widget is
offscreen. To avoid this, we check the widget is mounted before calling
setState().
2018-06-13 20:51:53 -07:00
Ben Konyi
ab6df25103 Fixed concurrent list modification in vmservice.dart 2018-06-13 19:25:07 -07:00
Michael Thomsen
87351bd958
Fix outdated link for how to edit plugin code (#18069)
* Fix readme link to plugin edit instructions

* Fix flutter tools link
2018-06-13 13:40:55 -07:00
Chris Bracken
2ae48845a8
Revert elimination of Dart 1 (#18460)
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
from source, flutter_platform.dart automatically runs a kernel compile when
operating in Dart 2 mode, but this assumes a functional Dart SDK is available
in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
directory with an empty temp dir.

Remaining work is:
1. Get the frontend server building as a dependency on Fuchsia.
2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.

This also reverts migration to Dart 2 typedef syntax.

This reverts commit 6c56bb2. (#18362)
This reverts commit 3daebd0. (#18316)
2018-06-13 12:46:39 -07:00
xster
210e2fa333
Fix ListView dartdoc where a paragraph doesn't flow with the section heading and the other paragraphs in the section (#18430) 2018-06-13 12:37:51 -07:00
Andrew Davies
5ed029059e
[frdb] Add support for env connection variable. (#18429)
Similar to the flutter driver, now the fuchsia_remote_debug_protocol can
connect via an environment variable. This can also be used to point to
the SSH config location.

This makes it so that tests written using the FRDB do not have to write
extra information about where their device is on the network.
2018-06-13 11:37:06 -07:00
Yegor
b401e76554
fix some TextInputType dartdocs (#18427) 2018-06-13 09:20:19 -07:00