11178 Commits

Author SHA1 Message Date
Michael Goderbauer
1361071a21
Don't crash when TextField w/ explicit controller is activated via a11y (#17892)
Fixes #17801.
2018-05-25 09:56:24 -07:00
Emmanuel Garcia
c4d6311a29
Fix #16464
* Fix #16464: Pass hit test when a big child is inside RenderFittedBox, RenderTransform, RenderFractionalTranslation, or RenderFollowerLayer

* Override `hitTestChildren`

* RenderTransform and RenderFollowerLayer shouldn't check if they are hit
themselves

* Test the hit test for translated child into translated box

* Add hit test for `FractionalTranslation`

* Don't check if RenderFractionalTranslation is hit themself

* Add hit test for FractionalTranslation

* Add test for FractionalTranslation
2018-05-24 23:16:16 -07:00
Chris Bracken
677df7c351
Roll engine to abd74ed5ed7fdfabb80226db7480ba631f230e0b (#17885)
* abd74ed Add support for physical keyboards on Android (flutter/engine#5324)
* bb75825 Update buildroot to pull in msvc updates. (flutter/engine#5366)
* df7a02d Roll src/third_party/skia a0047bc..20027ce (19 commits) (flutter/engine#5365)
* 15bb9b8 Generate .packages for both flutter_kernel_transformers and frontend_server in the same way (flutter/engine#5362)
* 983f39c Don't enable LTO on Windows hosts as the toolchain does not read the value. (flutter/engine#5364)
* fb709e2 [fuchsia] Plumbing for sharing between AOT snapshots. (flutter/engine#5351)
* 416418f Roll src/third_party/skia 75bf216..a0047bc (5 commits) (flutter/engine#5363)
* b607382 Improve licenses script (flutter/engine#5355)
* c8050e8 Generate frontend server's .packages from Dart .packages file instead of using pub get. (flutter/engine#5360)
* 4d89213 Roll src/third_party/skia 84a4e5c..75bf216 (5 commits) (flutter/engine#5361)
* f24fdba Roll src/third_party/skia/ e9c81ee2e..84a4e5c00 (1 commit) (flutter/engine#5359)
* c622c68 Roll src/third_party/skia/ 8517631bf..e9c81ee2e (1 commit) (flutter/engine#5358)
* 93b3b26 Roll src/third_party/skia/ d416083ee..8517631bf (3 commits; 2 trivial rolls) (flutter/engine#5357)
* 9b51b89 Roll src/third_party/skia/ 13235d896..d416083ee (3 commits) (flutter/engine#5356)
2018-05-24 16:33:46 -07:00
Todd Volkert
70772ea5a0
Remove flaky marker on some tests. (#17882)
They've been mostly green since https://github.com/flutter/flutter/pull/17812
2018-05-24 13:57:52 -07:00
Devon Carew
1c6078cefc
make sure we init flutter_tools with a fallback locale (#17877) 2018-05-24 13:42:46 -07:00
Mikkel Nygaard Ravn
d875ebe2e4
Revert "Enable --sync-async in Flutter. (#17866)" (#17878)
This reverts commit 39d7f22a966b2de74565a3f6811cfa28234cba78.
2018-05-24 20:09:27 +02:00
Florian Loitsch
39d7f22a96 Enable --sync-async in Flutter. (#17866) 2018-05-24 19:26:44 +02:00
Michael Goderbauer
d5a103402c
Expandable Search (#17629) 2018-05-24 09:30:37 -07:00
Mikkel Nygaard Ravn
711174a9b9
Fix inconsistency (#17871) 2018-05-24 17:15:35 +02:00
Sarah Zakarias
ca300100b8
Update plugin template to comply with new type and style rules (#17840) 2018-05-24 08:49:17 +02:00
Tim Neumann
54899c7638 Support multi-line log messages on iOS devices (#17327) 2018-05-23 19:03:05 -07:00
Ryan Macnak
d27cd520de
Don't link the core snapshot in the Android engine. (#17855)
Allows one to use a different core snapshot without a custom engine build by just packaging a different one in the APK.
2018-05-23 18:32:01 -07:00
Michael Goderbauer
bf0f4e6b2e
Document defaults of GestureDetector.behavior and link to debugging options (#17785) 2018-05-23 17:01:19 -07:00
P.Y. Laligand
af764a51a9
Roll engine to 8b0c5c1b99d15f0517287a5b023eb4fbcd3fd6a3. (#17847) 2018-05-23 15:05:25 -07:00
Hans Muller
14cce38668
Remove built-in right-edge appbar padding (#17852) 2018-05-23 13:14:12 -07:00
Devon Carew
b7a268fed2
increase the timeout for analyze_once_test tests (#17845) 2018-05-23 13:04:40 -07:00
Collin Jackson
66b50ed02b
Default toggleableActiveColor to accentColor if not set (#17848) 2018-05-23 12:56:28 -07:00
Hans Muller
41fb069cb7
Prevent Switch from looping on and off (#17821) 2018-05-23 09:49:14 -07:00
Hans Muller
6c03a3f96b
adapt home screen layout for large screen sizes (#17816) 2018-05-22 15:57:41 -07:00
Andrew Davies
6dbdccf7f5
[frdb] Updates invokeRpc method and VM connect. (#17819)
This fixes a runtime error triggered when calling `invokeRpc`:
```
type 'Future<dynamic>' is not a subtype of type 'Future<Map<String, dynamic>>'
```

Also adds a log message for why connections are failing, as well as a
default timeout when attempting to connect to a websocket.
2018-05-22 15:49:47 -07:00
Todd Volkert
9471e4e216
Ensure that VM service extension handlers are run on outer event loop. (#17812)
Fixes https://github.com/flutter/flutter/issues/17597
2018-05-22 11:55:46 -07:00
Hans Muller
1396b8139d
Change the Norwegian language code from "no" to "nb" (#17788) 2018-05-22 07:47:39 -07:00
Hans Muller
0a383fce36
Fix InkRipple.cancel(), added paints..everything (#17787) 2018-05-22 07:46:57 -07:00
Danny Tuppeny
dfc0244e19
Add emulator.getEmulators and emulator.launch to daemon (#17466)
Related to:

#14822
Dart-Code/Dart-Code#490
#13379
2018-05-22 07:39:08 +01:00
Danny Tuppeny
e2181a6ad9
First run simulator with -n to ensure it always opens a device (#17460) 2018-05-22 07:35:42 +01:00
Yegor
4beb57c324
Roll engine; pass semantics child orders (#16970)
* pass semantics children in traversal and hit test orders

* explain why we are inverting _children

* Roll engine
2018-05-21 20:55:28 -07:00
Michael Goderbauer
7471ff8c89
showOnScreen doesn't trigger scroll if item is already fully on screen (#17729) 2018-05-21 16:33:47 -07:00
ng1905
eda3167ac6 Fix ScrollOffset calculation when childCount is null (#17722) 2018-05-21 15:39:09 -07:00
asiva
cc4eeb1ca1 Roll engine to version d2448888a11ab958beece5ef6df99c8d069d09db
(contains roll of Dart to version
97b6c2e09d6532eeb622d85f23109f3f3b6d2b61 )
2018-05-21 13:25:40 -07:00
asiva
77fb3a49cb Update engine revision to 946fd13a1c09d2ad48274f57f995c00fbaecc480
(contains skia roll to 037be4e032ef31d7bc0cf914c972af97c456b17f)
2018-05-21 13:25:40 -07:00
Hans Muller
12bab13429
Handle the case where InputDecorator is constrained to 0x0 (#17777) 2018-05-21 13:11:02 -07:00
Konstantin Scheglov
eba194f776
Mark testWidgets() and testUsingContext() with @isTest. (#17772) 2018-05-21 11:11:23 -07:00
Simon Lightfoot
be6501a91c Patch to fix builds with custom targets on iOS simulator. (#17734)
* Patch to fix builds with custom targets on iOS simulator. #16787

* Fix for unused import.

* Code review changes applied.
2018-05-21 03:54:38 -07:00
Devon Carew
bb2f63f2cd
remove an unused flutter run flag (#17667) 2018-05-20 20:59:10 -07:00
fmatosqg
197d4315a9 Scan assets from disk (#16413)
Scan folders when asset specified finishes with `/`
2018-05-20 17:52:33 -07:00
Victor Choueiri
8717a5e6f7 Fix Scaffold.endDrawer dartDoc to mention openEndDrawer (#17719) 2018-05-18 17:19:35 -07:00
Greg Spencer
1f5fcb7432
Speed up AnimatedSwitcher. (#17265)
This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily.

This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).
2018-05-18 16:27:19 -07:00
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