11178 Commits

Author SHA1 Message Date
Mikkel Nygaard Ravn
a7ba7b4b62
Fix gitignore (#18726) 2018-06-22 20:14:28 +02:00
Michael Goderbauer
f11b790b8c
Track size of App.framework and Flutter.framework for Hello World (#18701) 2018-06-22 09:27:31 -07:00
Mikkel Nygaard Ravn
d89a6b544e
Add module template for Android (#18697) 2018-06-22 18:19:37 +02:00
Jonah Williams
f5f055113a
Initial implementation of AnnotatedRegion for system chrome (#17672) 2018-06-21 22:22:59 -07:00
Alexander Aprelev
9a51588d54
Suppress stdout compile diagnostic when compile expressions. (#18703)
* Suppress stdout compile diagnostic when compile expressions.

This fixes https://github.com/flutter/flutter/issues/18574.

* Use equal sign for default values
2018-06-21 20:55:04 -07:00
Adam Barth
b327ac3445
Fix typo in Text docs (#18635) 2018-06-21 19:29:30 -07:00
liyuqian
e581435d28
Reland: Skip painting hidden children of a sliver list (#18539)
* Revert "manual rollback of of 18530 (#18531)"

This reverts commit 3f79f8cba5425e964f05fc79331dc5ff4b82c22f.

* Fix the offset calculation

* Add a unit test
2018-06-21 16:46:08 -07:00
Sam Rawlins
9f8a70be4c Bump mockito to 3.0.0-beta (#18462)
* Bump mockito to 3.0.0-beta

* Few fixes

* fix test

* Bump image

* Fix

* New packages update

* With matcher pinned

* No more typed
2018-06-21 16:23:47 -07:00
Hans Muller
bec912165a
Added ListView.separated() constructor (#18619) 2018-06-21 16:04:16 -07:00
Yegor
a57aff053e
fix build scope messages and docs (#18637) 2018-06-21 16:00:49 -07:00
amirh
c39f2f26f7
Move the notch computation from the FAB to the BAB. (#18372)
Move the notch computation from the FAB to the BAB.

The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled.
That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB.

This CL uncouples the FAB and the notch computation.
With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate.

This includes multiple breaking changes:
  * Scaffold.setFloatingActionButtonNotchFor is deleted.
  * The ComputeNotch type is deleted.
  * The hasNotch property of BottomAppBar is deleted.
  * The notchMargin property of FloatingActionButton is deleted.

Quick migration guide from the previous API:

| Previous API | New API |
| ------------------|-------------|
| BottomAppBar(hasNotch: false) | BottomAppBar() |
| Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) |
| Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
2018-06-21 15:51:21 -07:00
liyuqian
65069ed4de
Remove saveLayer after clip from dart (#18616)
This is a follow up on https://github.com/flutter/engine/pull/5420
and https://github.com/flutter/flutter/issues/18057

As you can see from the diff, we also mistakenly saveLayer before
the clip at some places previously.
2018-06-21 13:01:55 -07:00
matthew-carroll
d916806aee
Use RenderAnimatedOpacity within AnimatedOpacity widget (#15466) (#18121)
* Use RenderAnimatedOpacity within AnimatedOpacity widget (#15466)

* Fixed minor bug in RenderAnimatedOpacity

* Updated protected API for ImplicitlyAnimatedWidget
2018-06-21 19:36:14 +00:00
Alexander Aprelev
2828a459f6
Serialize expression compilation requests (#18618)
* Serialize compilation requests.
2018-06-21 11:13:21 -07:00
Zachary Anderson
39f0076c30
[frdp] Use 'true' instead of 'date' for dummy ssh tunnel command (#18680) 2018-06-21 10:20:43 -07:00
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