10919 Commits

Author SHA1 Message Date
Hans Muller
580c844c2f
Added GalleryApp testMode (#17640) 2018-05-16 11:42:39 -07:00
Chris Bracken
0cbda7d68d
Mark 32-bit iOS gallery startup test unflaky (#17660) 2018-05-16 11:13:44 -07:00
Sam Rawlins
1f76f7f9d2 Migrate to Mockito 3's anyNamed (#17632) 2018-05-16 10:19:05 -07:00
Chris Bracken
20512d458e
Add 32-bit iOS gallery startup test (#17653) 2018-05-16 09:29:10 -07:00
Jason Simmons
bb35bc3627
Add a background paint property to TextStyle (#17586)
See https://github.com/flutter/flutter/issues/11961
2018-05-16 09:19:28 -07:00
Sarah Zakarias
a3e71bf11f
Add startup test for Platform View example (#17645) 2018-05-16 13:24:47 +02:00
Mikkel Nygaard Ravn
8415c0fd85
Modernize Podfile in examples/platform_view (#17643) 2018-05-16 12:49:19 +02:00
Greg Spencer
f38743593d
Add Spacer Widget (#16642)
This adds a simple spacer widget first suggested by Scott Stoll (@ScottS2017) in the abandoned PR #15802

This PR replaces that one, cleans it up, and adds a test.
2018-05-15 19:37:21 -07:00
Jonah Williams
ebd9a9621d
Increase contrast of Checkbox, Radio, And Switch widgets (#17637) 2018-05-15 17:55:45 -07:00
Chris Bracken
d2d2fb4163
Increase gallery perf scrollUntilVisible timeout (#17633)
On smaller-screen devices such as the iPhone 4s, more scrolling is
required between the Material dialog demo and the Material pickers demo
than will happen within the default timeout.
2018-05-15 17:16:35 -07:00
Michael Goderbauer
f5c4823803
Update the xcode project of flutter_gallery (#17630)
... so the tree doesn't become dirty just by building it.
2018-05-15 15:53:56 -07:00
Hans Muller
6dcb0d62c3
Change kRadialReactionRadius from 24 to 20 (#17620) 2018-05-15 15:06:03 -07:00
liyuqian
ae8586cfa1
Show help info instead of crashing if Android SDK is not found (#17610)
Fixes #16832
2018-05-15 14:42:12 -07:00
Chris Bracken
c36ec76002
Reduce odds of race in scrollUntilVisible (#17594)
In FlutterDriver.scrollUntilVisible, pause momentarily after we kick off
the waitFor() call, in order to give that call a chance to complete
before we start scrolling if the element is on-screen.
2018-05-15 14:23:44 -07:00
Hans Muller
b7fc015f0a
Revert "Updated ListTile layout" (#17612)
This reverts commit ee019c0bca05c9d2293599e88aa2da0fdb9a76ce.
2018-05-15 14:08:13 -07:00
Chris Bracken
b0fa93eada
Revert "Adjust scroll increment in transition perf test (#17593)" (#17623)
This reverts commit 1095eafed497ab8785109b7b737112acc754cf93.
2018-05-15 13:38:53 -07:00
Hans Muller
c169136eff
Revert "Fixing list tile size in the presence of a large subtitle" (#17611) 2018-05-15 11:52:34 -07:00
Chris Bracken
1095eafed4
Adjust scroll increment in transition perf test (#17593)
When attempting to locate an element in the Flutter Gallery transition
performance driver test, attempt to scroll downward in increments of 25%
of the screen rather than by an absolute pixel amount.

This helps get the test passing on devices with relatively small screen
heights.
2018-05-15 11:23:31 -07:00
David Shuckerow
5159ab3513
Add the ability to limit Draggables to a single axis (#17587)
* Add a draggable axis restrictor and tests
2018-05-15 10:09:25 -07:00
Todd Volkert
c4cb0ecff3
Updates to debugDisableShadows (#17577)
1. Make CupertinoSwitch use BoxShadow.toPaint() so that it respects
   the `debugDisableShadows` flag.
2. Increase blue radius on debug banner
3. Only stroke "synthetic shadow" borders if elevation is positive.
2018-05-15 08:55:42 -07:00
Ian Hickson
8be2682ee4
Trivial cleanup of layer debugging flags (#17411)
In theory, this should aid with tree shaking and minutely optimize the code in release builds.
2018-05-14 23:23:55 -07:00
Greg Spencer
ace27819fe
Fix flutter shell script to handle properly shells that have CDPATH set (#17589)
Before this change, if CDPATH was set, and you type (from the flutter root) "bin/flutter --version" you would get an error.

This is because the cd command in follow_links was printing the directory Bash chose from the CDPATH to stdout, causing the path to have a newline in it, which understandably confuses the rest of the script.
2018-05-14 17:11:38 -07:00
Greg Spencer
a25bbc7bfc
Fixing list tile size in the presence of a large subtitle (#17580)
Take into account the subtitle height when adjusting the height of the widget. Added a test.
2018-05-14 15:51:12 -07:00
Chris Bracken
52246c048d
Add 32-bit iOS transition perf integration test (#17582) 2018-05-14 15:05:38 -07:00
jcollins-g
078f2c9b2d
Update version to 0.19.0. (#17203) 2018-05-14 13:23:26 -07:00
Alexander Markov
4fb7c91ee3
Plumb --extra-front-end-options in flutter build bundle (#17404) 2018-05-14 09:41:58 -07:00
Hans Muller
ee019c0bca
Updated ListTile layout (#17496) 2018-05-14 08:18:17 -07:00
Vyacheslav Egorov
4931b46772
Make --build-shared-library more robust. (#17420)
* Search for a suitable ARM sysroot instead of hardcoding it;
* Add facility to explain why NDK was not found;
2018-05-14 16:36:54 +02:00
Jonah Williams
f9bb4289e9
roll engine to 06afdfe54ebef9168a90ca00a6721c2d36e6aafa (#17527) 2018-05-11 21:44:54 -07:00
Zachary Anderson
72dcc69ab1
Roll engine to 983b119d4117e10e9466b2bf544a17795b9b5c12 (#17521) 2018-05-11 16:01:11 -07:00
Sam Rawlins
5fafface34 Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
Jason Simmons
2f122f7d2a
Add a golden image test for centered text (#17517) 2018-05-11 12:17:18 -07:00
Hans Muller
ef20f726e3
Gallery a11y fix: give the categories and demos pages "route" scope (#17516) 2018-05-11 11:57:55 -07:00
Hans Muller
6c8d5f1bd3
Stop Gallery the logo to back-button cross fade shaking (#17513) 2018-05-11 11:17:07 -07:00
Hans Muller
674e44f361
Correct a typo in InputDecorator, affects computeMinIntrinsicHeight() (#17512) 2018-05-11 10:14:32 -07:00
Devon Carew
23098dde50
don't fail a test when there are issues deleting a temp dir (#17498) 2018-05-11 07:46:48 -07:00
Todd Volkert
f086a45f82
Roll engine to 9ae10ef702e76585ea498bdfb2b40181017623ad (#17503)
This contains the following commits:

flutter/engine@9ae10ef Revert f6359e4111d37652409e2392fdb3cb72f1119c2a
2018-05-11 00:45:32 -07:00
Todd Volkert
3d3673a34f
Roll engine to b856303c4e20a96877d9551572c71dada31537bd (#17499)
This contains the following commits:

flutter/engine@b856303 Revert 37e20af6a324cd4cfa1324b8c644712ef8224359
flutter/engine@39c02c4 Fixed Windows build after Blink removal
flutter/engine@4a4cff9 Remove Blink code
flutter/engine@f2acd0a Roll src/third_party/skia/ f31fece65..1d686a962 (10 commits)
2018-05-10 20:46:34 -07:00
Konstantin Scheglov
9b65fc6529
Rebase after package:isolate fixes. (#17289) 2018-05-10 18:52:33 -07:00
Chris Bracken
1605fbb31a
Add more unit tests for AOT snapshotting (#17493)
Adds unit tests for the following AOT build configurations:
* iOS armv7 profile
* iOS armv7 release
* Android armv7 profile (AOT blob)
* Android arm64 profile (AOT blob)
* Android armv7 release (AOT blob)
* Android arm64 release (AOT blob)
2018-05-10 17:45:51 -07:00
Chris Bracken
f685568d90
Update a TODO with issue number (#17494)
Further digging revealed that the reason --no-sim-use-hardfp was
required to be specified explicitly was that Android engine gen_snapshot
binaries are built on Windows with target_os=win.
2018-05-10 17:45:35 -07:00
xster
e8d99d12c4
Fix backdrop demo margin for iPhone X (#17480) 2018-05-10 17:36:20 -07:00
xster
e42c50cf20
Post libtxt/post iOS 11 fidelity fine tuning (#17366) 2018-05-10 17:35:18 -07:00
Greg Spencer
c2c64a5a4c
Add onChangeStart and onChangeEnd to slider. (#17298)
This fixes #17169 by adding onChangeStart and onChangeEnd to the slider. These will be called when the user starts a change, and when they end a change, regardless of whether that change is a tap or a drag.

These differ from onChanged, in that they only report when the user starts and ends an interaction, not at every slight change.
2018-05-10 17:29:43 -07:00
Todd Volkert
106231c0de
Use deprecated I/O constants (#17491)
The non-deprecated variants aren't widely available yet
2018-05-10 16:27:57 -07:00
Todd Volkert
aab47f0794
Augment flutter screenshot with all supported screenshot types (#17478)
Previously, the only hook into the rasterizer schreenshot code path
was via FlutterDriver.screenshot.  This adds the ability for the
Flutter tool to hook into all three types of screenshots:

1. device (e.g. `adb shell screencap`)
2. Skia (capture spk)
3. Rasterizer (capture PNG via the engine)
2018-05-10 16:09:38 -07:00
Todd Volkert
d54858a0cd
Roll engine to fade83ce3ea68a89b726bc7881417f3c2713ceaa (#17488)
This contains the following commits:

flutter/engine@fade83c Bypass the raster cache when screenshotting
2018-05-10 16:04:35 -07:00
Greg Spencer
a365c41cb5
Fix handling of null body2 text style for chip and slider (#17311)
Before this change, if you specified a non-null textTheme, but the theme you specified didn't have a body2 defined, then creating a ChipTheme would assert (which means creating a ThemeData would fail).

This adds handling for this corner case to default to reasonable values in that case. The slider had the same problem, but for accentTextTheme, so I fixed that too.

While I had the patient open, Hans and I noticed that TextTheme.merge wasn't doing the right thing in the case where some members were null either, so I fixed that, and added some examples, since merge/copyWith are common operations that are not always well understood.

Fixes #17251
2018-05-10 14:37:14 -07:00
Zachary Anderson
bb4afb0472 Roll engine to 37e20af6a324cd4cfa1324b8c644712ef8224359 (#17481) 2018-05-10 14:36:54 -07:00
Todd Volkert
33dd44bc98
Mark test as flaky (#17486) 2018-05-10 14:35:53 -07:00