10991 Commits

Author SHA1 Message Date
Christopher Araüjo
8a4db32bb8 Added onChangeStart and onChangeEnd to CupertinoSlider (#17535)
This is a follow up on issue #17169 and the pull request #17298

This pull request adds the onChangeStart and onChangeEnd callbacks for CupertinoSlider. These are called when a user starts and ends a change respectively.

Pushing for @dcaraujo0872, the PR author.
2018-05-18 14:52:46 -07:00
xster
ef25052c51
Let scrollOffsetCorrection on small lists not leave the list stuck in overscroll (#17599) 2018-05-18 14:40:39 -07:00
Todd Volkert
1808ac338c
Add support for custom test error reporters (#17727)
This allows test environments other than `flutter test` to have a hook
into the test exception reporting. Some test environments, for example,
don't just dump error details to the console, but rather require them
to be reported to a separate server.
2018-05-18 13:58:08 -07:00
Todd Volkert
19ec264909
Exclude fuchsia_remote_debug_protocol from dartdocs (#17724) 2018-05-18 12:01:09 -07:00
Todd Volkert
5a24840cf0
Make some matchers in flutter_test final (#17725)
There's no reason for them to read/write.
2018-05-18 12:00:52 -07:00
Andrew Davies
2f397e5dc3
[frdb] Add BUILD.gn file. (#17673)
Adds fuchsia_remote_debug_protocol gn file.
2018-05-18 11:05:16 -07:00
Michael Goderbauer
63b24639ff
Unblock PowerShell Script before execution (#17658) 2018-05-18 09:56:59 -07:00
Todd Volkert
ce6fbeb5b5
Roll engine to 1179c38a42f5a979eec19f3b9ca72a5eb679442a (#17713)
This contains the following commits:

flutter/engine@1179c38 Clear the raster cache result when bypassing raster cache.
flutter/engine@ea9f96b Roll src/third_party/skia/ dd6e62e28..44890ef00 (1 commit)
flutter/engine@5c4201f Roll src/third_party/skia/ 51371a433..dd6e62e28 (4 commits; 1 trivial rolls)
flutter/engine@a56f2f2 Roll src/third_party/skia/ 000e00df1..51371a433 (11 commits; 1 trivial rolls)
2018-05-18 00:45:54 -07:00
Greg Spencer
3c5a7a3005
Make non-global constants have consistent naming (with just _ instead of _k) (#17584)
Our style guide says the k's are not necessary, and it seems like a good idea to make all the code be consistent on this.

Only naming changes to private vars: no logic changes.
2018-05-17 23:04:41 -07:00
Greg Spencer
e4b574d3d3
Cupertino Dialog Changes (#17676)
This replaces abandoned PR #14824 by @ekbiker, and gives it some love.
2018-05-17 22:36:16 -07:00
Alexander Aprelev
89d99f6d01
Add --no-preview-dart-2 when in dart1 mode. (#17708)
This is follow-up to https://github.com/flutter/flutter/pull/17682 to fix dart1 tests.
2018-05-17 21:13:01 -07:00
Alexander Aprelev
8a83d0df7f
Roll engine to 40a37126078f3eee2cd7584da04704908f47cd68 (#17702)
* Roll engine to 40a37126078f3eee2cd7584da04704908f47cd68

Changes since last roll:
```
40a371260 Remove the content handler for its move to topaz. (#5289)
a262da46f Roll src/third_party/skia/ c06754b04..000e00df1 (12 commits; 1 trivial rolls) (#5288)
f7eab94f4 Roll src/third_party/skia/ bd74e6a02..c06754b04 (1 commit) (#5287)
597fa9ed4 Delegate AppDelegate life-cycle callbacks to plugins via separate object (#5173)
ef0915c10 update docs for Path.getBounds (#5261)
bb1736b7b Roll src/third_party/skia/ 15f1761d9..bd74e6a02 (1 commit; 1 trivial rolls) (#5286)
8c9558b1f Roll src/third_party/skia/ ed4921b9d..15f1761d9 (1 commit) (#5285)
5cbfa9593 Roll src/third_party/skia/ 05da1c16d..ed4921b9d (1 commit) (#5284)
919e8c211 Support for TwoPointConical gradients (#5275)
cdd7e0887 Roll src/third_party/skia/ 94f585ed0..05da1c16d (9 commits; 1 trivial rolls) (#5283)
```

* Include more changes(reverts and a fix)
2018-05-17 15:12:08 -07:00
Noam Drong
fd55c4ec5b Add glyph references for Cupertino-style icons (#16605) 2018-05-17 12:42:49 -07:00
Alexander Aprelev
89cb5d268d
Provide isolate id for rpc request to ensure they are run on correct (UI) thread. (#17616) 2018-05-17 11:37:36 -07:00
Ryan Macnak
2e24351fb1
Roll engine to 4374ccc1be46f0f5e0d86b44a76cc3e1f1af8bb0. (#17669) 2018-05-17 10:53:00 -07:00
Greg Spencer
ac67efbc83
Moving API doc asset URLs to point to the new location. (#17697)
I'm moving the assets in the assets-for-api-docs repo to a slightly different location to help with organization in that repo, so this PR points the doc URLs to the new location. The old assets won't be removed until this PR makes its way to the API docs website.

No documentation or code changes here, other than changing doc image URLs.
2018-05-17 09:53:06 -07:00
Dan Field
85cb38e71a
Fix consolidate HTTP response and add test (#17082)
* Fix consolidate response and add test

* Update AUTHORS

* ignore content-length

* fix formatting/update comment

* more commas

* Fix consolidate response and add test

* Update AUTHORS

* ignore content-length

* fix formatting/update comment

* more commas

* remove extra newline
2018-05-17 07:04:05 -04:00
Mikkel Nygaard Ravn
62b7aee91e
Fix broken test (#17684) 2018-05-17 12:25:43 +02:00
Mikkel Nygaard Ravn
78e205c8f2
Make Dart2 the default in Gradle script (#17682) 2018-05-17 09:56:21 +02:00
Michael Goderbauer
6c9a7c5803
fixes (#17624) 2018-05-16 14:20:16 -07:00
Hans Muller
60272ee5bd
Restore the ListTile layout updates (#17661)
restored https://github.com/flutter/flutter/pull/17496
restored https://github.com/flutter/flutter/pull/17580
2018-05-16 12:33:07 -07:00
Chris Bracken
efc657aabf
Mark 32-bit iOS gallery transitions test unflaky (#17662)
Remaining issue was fixed in 580c844c2fe37b680c0355b6b035e56b27da18df.
2018-05-16 11:57:06 -07:00
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