Commit graph

10895 commits

Author SHA1 Message Date
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
Devon Carew d427d26d1b
Unpin analyzer - no longer use the version from the sdk (#17479)
* no longer use the analyzer version shipped in the sdk

* update all package versions to the latest
2018-05-10 13:31:54 -07:00
Chris Bracken 28e644e87a
Explicitly specify softfp ABI for armv7 builds (#17453)
This reverts #17147, which was safe under the assumption that
getArtifactPath() returns a platform-specific gen_snapshot instance
(which have the correct default set for this flag) -- it turns out that
though we pass the platform to getArtifactPath(), we always return the
host gen_snapshot for Android.

A followup patch will update getArtifactPath and revert this patch.
2018-05-10 12:45:15 -07:00
Devon Carew 8e4b349c4f
increase test timeouts (#17477) 2018-05-10 11:33:01 -07:00
Devon Carew 09dec7f508
re-write flutter analyze to use the analysis server (#16979)
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
2018-05-10 09:48:40 -07:00
Ian Hickson ca94bfdfc6 Factor our common Paint-building code used with BoxShadow (#17363) 2018-05-09 22:42:38 -07:00
Jonah Williams 5732219500
Extend SystemUiOverlayStyle with additonal values for each platform (#17171) 2018-05-09 19:30:17 -07:00
Devon Carew f48dec570c
rename 'full restart' to 'hot restart' (#17408) 2018-05-09 17:43:13 -07:00
Hans Muller a02568b3ca
Added MediaQuery.textScaleFactorOf() (#17450) 2018-05-09 17:08:22 -07:00
Michael Goderbauer 7809651c74
Put cursor at end of field if textfield is focused (#17367) 2018-05-09 16:05:47 -07:00
Michael Goderbauer 501316fd02
Make Headers be one sementics node in gallery (#17445) 2018-05-09 16:05:35 -07:00
Michael Goderbauer dcb47f62ec
A11y fixes and tests for PopUpMenu (#17446) 2018-05-09 16:05:20 -07:00
Chris Bracken 5d8d14b781
Add caching for kernel compiles during AOT builds (#17439)
We've always cached kernel compiles during bundle builds. This adds
caching for kernel compiles during AOT builds by moving caching into the
KernelCompiler.compile() method rather than around each invocation of it.

This also filters buildbot paths included by the kernel compile that are
not present on the local machine at paths /b/build/slave/Linux_Engine/...
The kernel compiler should probably include an option to not emit these
paths in the depfile, since these are used both by Gradle and the
Fingerprinter class.
2018-05-09 13:34:58 -07:00
Chris Bracken a751678563
Allow 32-bit iOS device simulators (#17443)
Previously, Flutter did not support iOS devices with armv7 or armv7s
CPUs. We now support these devices. This eliminates the previous
hardcoded checks that prevented running on simulators of older devices.

We maintain the existing restriction on running on watchOS or tvOS
simulators.
2018-05-09 13:34:39 -07:00
Chris Bracken 1c27a458a8
Correct profile-mode AOT snapshot flags (#17435)
Previously, in non-release (i.e. profile) AOT builds, we were setting
--no-checked and --conditional_directives flags. --no-checked is the
default, and we don't make use of conditional directives in Flutter.
2018-05-09 12:31:36 -07:00
Chris Bracken e4f553324a
Add pathFilter to Fingerprinter (#17412)
Allows users of Fingerprinter to filter the set of paths collected from
the explicitly-specified paths and those collected from depfiles.

In some cases, depfiles are emitted with files that are not present on
the local disk (e.g. the frontend compiler currently emits buildbot
paths for the dart core libraries and dart:ui). These files will not
materially affect whether we need to re-run a build action for which
they are inputs, since they're not present in the filesystem and
therefore cannot change.
2018-05-09 10:55:23 -07:00
Jason Simmons 4b6e574466
Use unselected styles for the tabs adjacent to the selected tab (#17397)
Fixes https://github.com/flutter/flutter/issues/16169
2018-05-09 09:56:35 -07:00
Danny Tuppeny 768fca8be9 Trim all space/dots from end
Depending on whether can read the AVD (or it even has all fields populated) we might get extra "empty" columns, so this trims all blank cells from the end.
2018-05-09 16:03:59 +01:00
Danny Tuppeny 6cd22d01aa Use correct path for Simulator 2018-05-09 16:03:59 +01:00
Danny Tuppeny 9eb3bf5ed5 Don't show last bullet if there's no label 2018-05-09 16:03:59 +01:00
Danny Tuppeny e9281c4ac0 Fix formatting 2018-05-09 16:03:59 +01:00
Danny Tuppeny 72d0e0b41a Add text explaining how to run an emulator 2018-05-09 16:03:59 +01:00
Danny Tuppeny 20a2a202ee Add 'emulator' as an alias for 'emulators'
It feels more nautral to type when doing `--launch x` or `--create x`.
2018-05-09 16:03:59 +01:00
Danny Tuppeny e8f454c96f Fix signature of mock launch 2018-05-09 16:03:59 +01:00
Danny Tuppeny 7a810261fa Only wait up to 3 seconds for emulator
Emaultor keeps running on a seuccessful launch, so this automatically returns after 3 seconds if the process hasn't quit (we have to wait for some period to get stderr in the case of a failure).
2018-05-09 16:03:59 +01:00