Commit Graph

13995 Commits

Author SHA1 Message Date
Victor Maraccini
74c6237abc Fix bundle id on iOS launch using flutter run (#31039) 2019-05-01 10:21:43 -07:00
rami-a
6a1468db16 Add BottomSheetTheme to enable theming color, elevation, shape of BottomSheet (#31318)
* Introduce BottomSheetTheme and shape support for bottom sheet

* Add bottom sheet theme to ThemeData. Use theme in bottom sheet build

* Expose color, elevation, shape to showModalBottomSheet helper

* Expose color, elevation, shape to showBottomSheet helper

* Address PR feedback

* Address PR feedback

* Address additional PR feedback
2019-05-01 13:10:50 -04:00
Jonah Williams
60a1b2b9ea Revert "Redo: Add buttons to gestures (#31819)" (#31912)
This reverts commit fea2c7d671.
2019-05-01 10:06:45 -07:00
engine-flutter-autoroll
df4dc7cd38 8768180a8 Roll src/third_party/skia e6a83e160860..08c79d61450b (1 commits) (flutter/engine#8797) (#31887)
2f11d3c4a2...8768180a88

git log 2f11d3c4a205eca899de19617303ca8174ada7e3..8768180a8871ede2af9d483d764109b92df6faf9 --no-merges --oneline
8768180a8 Roll src/third_party/skia e6a83e160860..08c79d61450b (1 commits) (flutter/engine#8797)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-05-01 13:01:17 -04:00
Emmanuel Garcia
3e65bb060f Fix #31764: Show appropriate error message when fonts pubspec.yaml isn't iterable
Show appropriate error message when fonts isn't iterable
2019-05-01 09:49:39 -07:00
Dan Field
a8504405a8 Revert "Handle notification errors (#31868)" (#31886)
This reverts commit c0d5fd23ab.
2019-04-30 23:27:30 -07:00
Jonah Williams
c82fc132a8 add stderr to log processor for desktop (#31874) 2019-04-30 19:18:15 -07:00
engine-flutter-autoroll
b5e206e520 Roll engine f2d21795be43..2f11d3c4a205 (2 commits) (#31882)
f2d21795be...2f11d3c4a2

git log f2d21795be43aa4f596b75668b772a97af3888a9..2f11d3c4a205eca899de19617303ca8174ada7e3 --no-merges --oneline
2f11d3c4a Roll src/third_party/skia f808c5e3afa3..e6a83e160860 (3 commits) (flutter/engine#8795)
1219e5c7d Re-create texture from pixel buffer onGrContextCreate (flutter/engine#8792)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-30 20:42:52 -04:00
Gary Qian
4102486d63 Center iOS caret, remove constant offsets that do not scale (#31687) 2019-04-30 17:41:01 -07:00
engine-flutter-autoroll
785df2798f Roll engine 59b91392e20a..f2d21795be43 (3 commits) (#31877)
59b91392e2...f2d21795be

git log 59b91392e20ac6b397bb4e257dc08333c54658c9..f2d21795be43aa4f596b75668b772a97af3888a9 --no-merges --oneline
f2d21795b Roll buildroot to pull in Fuchsia SDK related updates. (flutter/engine#8793)
5e5705000 Roll src/third_party/skia 836ff5e40560..f808c5e3afa3 (11 commits) (flutter/engine#8791)
5a9e87457 Roll src/third_party/skia 494aa3db9e78..836ff5e40560 (2 commits) (flutter/engine#8788)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-30 19:52:53 -04:00
chunhtai
e2dfd73c2e only build asset when there is asset declared in pubspec (#31804) 2019-04-30 16:03:47 -07:00
Jonah Williams
514fb2c7c0 Revert "fix edge swiping and dropping back at starting point (#31623)" (#31876) 2019-04-30 15:44:09 -07:00
Dan Field
4bc35fc87a Allow DSS to be dragged when its children do not fill extent (#31832)
* Allow DSS to be dragged when its children do not fill extent

* Fix when maxChildSize  < 1.0
2019-04-30 15:42:42 -07:00
Dan Field
c0d5fd23ab Handle notification errors (#31868) 2019-04-30 15:42:22 -07:00
Jonah Williams
5e77d6508e Initial sketch of tools testbed (#31765) 2019-04-30 15:42:16 -07:00
Jonah Williams
48936d9a95 Remove deprecated commands (#31759) 2019-04-30 14:43:03 -07:00
liyuqian
fb87619143 Fix prefer_const_constructors (#31860)
This will fix our flutter build post-submit analyze test

Merge on red to fix flutter build
2019-04-30 10:38:26 -07:00
Tong Mu
fea2c7d671 Redo: Add buttons to gestures (#31819)
* Revert "Revert "Add buttons to gestures (#30339)" (#31801)"

This reverts commit 8fd7fa492a.

* Synthesise kPrimaryButton for unknown devices

* Change TestPointer to a better API
2019-04-30 09:56:24 -07:00
liyuqian
71a89a469a Reland "Fix text field selection toolbar under Opacity (#31097)" (#31802)
This reverts commit 120a1fc47f.

Updated the golden file
2019-04-30 09:47:32 -07:00
liyuqian
7cab6d5e1c Support clipBehavior changes in hot reload (#31761)
## Description

Make `_RenderCustomClip`'s `clipBehavior` non-final so we can update it during `updateRenderObject`. This will support `clipBehavior` changes in hot reload.

## Related Issues

Fixes #30863

## Tests

I added the following tests:

* ClipRect updates clipBehavior in updateRenderObject
* ClipRRect updates clipBehavior in updateRenderObject
* ClipOval updates clipBehavior in updateRenderObject
* ClipPath updates clipBehavior in updateRenderObject
* PhysicalModel updates clipBehavior in updateRenderObject
* PhysicalShape updates clipBehavior in updateRenderObject
2019-04-30 09:46:38 -07:00
Keerti Parthasarathy
eae67f05df Make const available for classes that override AssetBundle (#31807) 2019-04-30 09:10:04 -07:00
engine-flutter-autoroll
9937d3dfb1 59b91392e Roll src/third_party/skia a6d723f32f32..494aa3db9e78 (1 commits) (flutter/engine#8787) (#31847)
64b1d38081...59b91392e2

git log 64b1d38081c2eadfc555da99bbdb3a1ec2c49a13..59b91392e20ac6b397bb4e257dc08333c54658c9 --no-merges --oneline
59b91392e Roll src/third_party/skia a6d723f32f32..494aa3db9e78 (1 commits) (flutter/engine#8787)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-30 10:40:53 -04:00
engine-flutter-autoroll
8e7c7fcbd4 64b1d3808 Roll src/third_party/skia 79e53712a05f..a6d723f32f32 (3 commits) (flutter/engine#8785) (#31830)
c0036315d4...64b1d38081

git log c0036315d4caed8db3ae2adb66aaedd6466fddf7..64b1d38081c2eadfc555da99bbdb3a1ec2c49a13 --no-merges --oneline
64b1d3808 Roll src/third_party/skia 79e53712a05f..a6d723f32f32 (3 commits) (flutter/engine#8785)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-30 06:30:38 -04:00
Greg Spencer
0245a29a04 Keycode generation doc fix (#31493)
Fixes a typo in the key generator readme.

Updated the examples in the readme to reflect that the examples were for physical key codes, where we're actually talking about logical key codes there.
2019-04-29 21:45:30 -07:00
engine-flutter-autoroll
bc9b56a35d Roll engine 1ecf924ff861..c0036315d4ca (5 commits) (#31823)
1ecf924ff8...c0036315d4

git log 1ecf924ff86146c09ce834b295a2c4446122857c..c0036315d4caed8db3ae2adb66aaedd6466fddf7 --no-merges --oneline
c0036315d Roll src/third_party/skia bd425405f3aa..79e53712a05f (3 commits) (flutter/engine#8783)
5aa5b6cbf VirtualDisplay size constraint - add a comment explaining the reason (flutter/engine#8780)
ee3f04ac8 Roll src/third_party/skia 037884e5080b..bd425405f3aa (3 commits) (flutter/engine#8781)
ab01d7396 Roll src/third_party/skia d425dee662d1..037884e5080b (10 commits) (flutter/engine#8778)
a0bb23aad Fix header include guards for fml/thread_local.h (flutter/engine#8721)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-30 00:43:38 -04:00
Dan Field
eac2104bc6 remove assert for Flutter Driver (#31815) 2019-04-29 17:03:25 -07:00
Shi-Hao Hong
39712854fc Fix ExpansionPanelList Duplicate Global Keys Exception (#31228)
- Move `setState` to only be invoked when guarded by `widget._allowMultiplePanelsOpen`, fixing the case for `ExpansionPanelList`

- Remove setting `_currentOpenPanel` to `widget.initialOpenPanelValue` in `didUpdateWidget`, since this should only occur on `initState` and not every time the widget is updated. This fixes the problem for `ExpansionPanelList.radio`

- Added a `didUpdateWidget` condition for when `ExpansionPanelList` changes into `ExpansionPanelList.radio` to open the panel at `widget.initialOpenPanelValue`

- Added test cases for regression, expansionCallback cases, and `didUpdateWidget` transitions between `ExpansionPanelList` and `ExpansionPanelList.radio`
2019-04-29 16:55:05 -07:00
Jonah Williams
37e25238a8 Attempt to reduce usage of runtimeType (#31696) 2019-04-29 16:44:50 -07:00
Dan Field
fe9512fa72 Re-enable const (#31600)
* Re-enable const
2019-04-29 16:02:42 -07:00
Jonah Williams
8fd7fa492a Revert "Add buttons to gestures (#30339)" (#31801)
This reverts commit 727e7e829f.
2019-04-29 12:59:30 -07:00
Jonah Williams
120a1fc47f Revert "Fix text field selection toolbar under Opacity (#31097)" (#31800) 2019-04-29 12:57:35 -07:00
liyuqian
e427c2dd86 Fix text field selection toolbar under Opacity (#31097)
## Description

As we've introduced offset to the Opacity layer, we have to override
`applyTransform` to make Leader/FollowerLayer work correctly.

## Related Issues

Fixes https://github.com/flutter/flutter/issues/30587

Together with https://github.com/flutter/engine/pull/8585,
this test will also exercise test against
https://github.com/flutter/flutter/issues/30586.

## Tests

I added the following tests:
* text field selection toolbar renders correctly inside opacity
2019-04-29 11:25:41 -07:00
xster
d12f359991 fix edge swiping and dropping back at starting point (#31623) 2019-04-29 11:05:24 -07:00
Tong Mu
727e7e829f Add buttons to gestures (#30339)
* Callbacks of tap, long press, drag, and double tap GR respond to only primary events.
* Add "secondary" callbacks to tap.
* Recognizers only compete on events if there are any related callbacks.
* Add "kSecondaryButton" constant.
2019-04-29 10:46:33 -07:00
Jonah Williams
c1c15dd702 Revert "update packages and unpin build (#31736)" (#31795) 2019-04-29 09:56:55 -07:00
engine-flutter-autoroll
2e1c5f2bfa Roll engine 48a5ce87aeb6..1ecf924ff861 (2 commits) (#31794)
48a5ce87ae...1ecf924ff8

git log 48a5ce87aeb66d3315104a465a1467a37d713f67..1ecf924ff86146c09ce834b295a2c4446122857c --no-merges --oneline
1ecf924ff Roll src/third_party/skia bc94e79eb7b6..d425dee662d1 (1 commits) (flutter/engine#8773)
ae724f132 colormatrix is now 0...1 (flutter/engine#8772)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-29 12:17:38 -04:00
Jonah Williams
41b18422df update packages and unpin build (#31736) 2019-04-29 09:10:01 -07:00
Jonah Williams
4ff467191b make FlutterProject synchronous (#31757) 2019-04-29 08:21:32 -07:00
MH Johnson
5412ef07f2 [Material] Update TabController to support dynamic Tabs (#30884)
* Update TabController to support dynamic tabs.

* Added test for single Tab showing correct color.
2019-04-29 10:35:55 -04:00
Dmitriy Zaitsev
8e66c53f3d Fix the documentation for UiKitView#creationParams (#31619)
It looks like the documentation for UiKitView has been copy-pasted from AndroidView or so.
This PR fixes the word 'Android' to 'iOS' for the `creationParams`.
2019-04-29 14:50:44 +02:00
Sander Kersten
9d16b84b35 Fix calculation of hero rectTween when Navigator isn't fullscreen (#29677) 2019-04-29 14:43:44 +02:00
James D. Lin
ae5749819b Make the matchesGoldenFile docs link to an explanation of how to create golden image files (#31093) 2019-04-29 14:43:24 +02:00
Antti Ahti
bf8262d85b Remove trailing whitespace from README template (#31762) 2019-04-29 13:04:55 +02:00
Kent Boogaart
392d5b2c28 Fix typo (#31771) 2019-04-29 13:04:30 +02:00
Ian Hickson
a17e2a4e2f Add "feature request" issue template (#30327) 2019-04-29 12:39:10 +02:00
engine-flutter-autoroll
e62b06a3ea 48a5ce87a Roll src/third_party/skia d1be9450c7e2..bc94e79eb7b6 (3 commits) (flutter/engine#8771) (#31776)
c75e09c529...48a5ce87ae

git log c75e09c5298374c7e70c728b2b4208ec8bcb3f8a..48a5ce87aeb66d3315104a465a1467a37d713f67 --no-merges --oneline
48a5ce87a Roll src/third_party/skia d1be9450c7e2..bc94e79eb7b6 (3 commits) (flutter/engine#8771)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-29 05:58:18 -04:00
engine-flutter-autoroll
131e2bb6ee c75e09c52 Roll src/third_party/skia 7056ce14dd15..d1be9450c7e2 (1 commits) (flutter/engine#8770) (#31770)
98039f78a7...c75e09c529

git log 98039f78a784f48a5940c188276956f0831df6c1..c75e09c5298374c7e70c728b2b4208ec8bcb3f8a --no-merges --oneline
c75e09c52 Roll src/third_party/skia 7056ce14dd15..d1be9450c7e2 (1 commits) (flutter/engine#8770)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-29 02:27:18 -04:00
engine-flutter-autoroll
34bf0c4164 Roll engine 3b1bebf2898b..98039f78a784 (3 commits) (#31748)
3b1bebf289...98039f78a7

git log 3b1bebf2898b8ed8767eac53f189d237ba71f12f..98039f78a784f48a5940c188276956f0831df6c1 --no-merges --oneline
98039f78a Roll src/third_party/skia a5dc0f2d7a59..7056ce14dd15 (1 commits) (flutter/engine#8769)
8aa51ef92 Roll src/third_party/skia 4732dd31588b..a5dc0f2d7a59 (1 commits) (flutter/engine#8768)
2c5d35827 Roll src/third_party/skia d7082a5805c8..4732dd31588b (1 commits) (flutter/engine#8767)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
2019-04-28 07:25:18 -04:00
engine-flutter-autoroll
3cd15b52d4 Roll engine 7f753f8f528a..3b1bebf2898b (3 commits) (#31721)
7f753f8f52...3b1bebf289

git log 7f753f8f528a1c92cc4f23957694623ad45104eb..3b1bebf2898b8ed8767eac53f189d237ba71f12f --no-merges --oneline
3b1bebf28 Roll src/third_party/skia e178c0586cd6..d7082a5805c8 (1 commits) (flutter/engine#8766)
5846027dc Roll src/third_party/skia 3349fb0195ff..e178c0586cd6 (1 commits) (flutter/engine#8763)
3493dcfba Rename tightWidth to longestLine (flutter/engine#8706)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-27 04:52:18 -04:00
Shi-Hao Hong
cbfa4e5483 Improve canvas example in sample dart ui app (#31634) 2019-04-26 20:25:02 -07:00