Commit graph

14041 commits

Author SHA1 Message Date
Greg Spencer 11e0a725d4
Re-land: Add support for Tooltip hover (#31699)
This is a re-land of #31561, after fixing performance regressions.

Added change listening to the MouseTracker so that the Listener and tooltip can react to whether or not a mouse is connected at all. Added a change check to make sure Listener only repaints when something changed.

Fixes #22817
2019-05-03 13:00:36 -07:00
Gary Qian 3bd1737c0e
Partially Rollback caret change for Android (#32043) 2019-05-03 12:32:04 -07:00
Justin McCandless 0a3df1b576
Text wrap width (#31987)
Add `textWidthBasis` param to Text to allow calculating width according to longest line.
2019-05-03 11:41:07 -07:00
done 72a72b375a remove unnecessary artificial delay in catalog example (#31822)
* remove unnecessary artificial delay

* fix test_driver README
2019-05-03 11:25:29 -07:00
Furkan Tektas 299ce6e373 Cupertino Turkish Translation (#32013) 2019-05-03 11:03:25 -07:00
engine-flutter-autoroll 2e32fba79c
Roll engine 1bcbaf73a724..e21bb43f68da (2 commits) (#32035)
1bcbaf73a7...e21bb43f68

git log 1bcbaf73a724996806e0dfd27c7fec9da902e450..e21bb43f68dab51db4d53818820e17a908b0047a --no-merges --oneline
e21bb43f6 Roll src/third_party/skia 670c6ec66ef9..dc19391eef52 (2 commits) (flutter/engine#8832)
ad67cb067 Roll src/third_party/skia 68eb8c276355..670c6ec66ef9 (13 commits) (flutter/engine#8831)

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 (amirha@google.com), and stop
the roller if necessary.
2019-05-03 13:24:18 -04:00
chunhtai 38808d9fe4
Reland fix 25807 implement move for sliver multibox widget (#31978) 2019-05-03 09:48:20 -07:00
Efthymis Sarmpanis 39d660be78 Extract TODO comment from Image.asset dardoc (#31903) 2019-05-03 08:29:02 -07:00
Efthymis Sarmpanis d095b05522 Updated primaryColor docs to refer to colorScheme properties (#31902) 2019-05-03 08:28:16 -07:00
Tong Mu 7beb09e76a
Redo "Remove pressure customization from some pointer events" (#30874)
* Revert "Revert "Remove pressure customization from some pointer events (#30414)" (#30873)"

This reverts commit f34c2ef0a3.

* Revert pressure removal of PointerUpEvent

* Replace PR with an issue

* Add tests for fromMouseEvent
2019-05-02 23:05:01 -07:00
engine-flutter-autoroll c8b00a9ffc
1bcbaf73a Add flutter settings channel and window brightness to macOS shell (flutter/engine#8810) (#32018)
480844608c...1bcbaf73a7

git log 480844608c16287c968198c394c5adac6def983c..1bcbaf73a724996806e0dfd27c7fec9da902e450 --no-merges --oneline
1bcbaf73a Add flutter settings channel and window brightness to macOS shell (flutter/engine#8810)

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 (amirha@google.com), and stop
the roller if necessary.
2019-05-03 01:07:17 -04:00
engine-flutter-autoroll f5ca4e8727
Roll engine 39a950e5d1d1..480844608c16 (2 commits) (#32016)
39a950e5d1...480844608c

git log 39a950e5d1d1cbeb3d70334c6275d224e843b30e..480844608c16287c968198c394c5adac6def983c --no-merges --oneline
480844608 Remove asserts and add BuildConfig (flutter/engine#8821)
c97bd4543 Download the Fuchsia SDK and toolchain in a gclient hook. (flutter/engine#8794)

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 (amirha@google.com), and stop
the roller if necessary.
2019-05-03 00:07:17 -04:00
engine-flutter-autoroll 61218f74e5
Roll engine ef2bed65db22..39a950e5d1d1 (5 commits) (#32011)
ef2bed65db...39a950e5d1

git log ef2bed65db22b1ce3d05947d5cfa3927eb6fa975..39a950e5d1d1cbeb3d70334c6275d224e843b30e --no-merges --oneline
39a950e5d remove legacy build deps (flutter/engine#8820)
c0be4e277 Fix api conformance check (flutter/engine#8817)
30639ee7b Allow FlutterEngine to be used on back-to-back screens (#31264). (flutter/engine#8808)
45d0c4d11 Roll src/third_party/skia cd5d14619fe2..68eb8c276355 (4 commits) (flutter/engine#8815)
9856479ec Roll src/third_party/dart b6997deb3e..1577b95c93 (18 commits)

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 (amirha@google.com), and stop
the roller if necessary.
2019-05-02 23:08:17 -04:00
Zachary Anderson 3d276cc6a8
[flutter_tool] Pull the right Fuchsia SDK for the platform (#31998) 2019-05-02 15:26:59 -07:00
MH Johnson a40e5c90f0
[Material] selected/unselected label styles + icon themes on BottomNavigationBar (#31018)
* add text style params

* add icon theme params

* Added tests
2019-05-02 18:20:16 -04:00
Jonah Williams 1d91bd2583
Revert "Start abstracting platform logic builds behind a shared interface (#31889)" (#32003)
This reverts commit e5459942c8.
2019-05-02 14:14:46 -07:00
Jonah Williams e5459942c8
Start abstracting platform logic builds behind a shared interface (#31889) 2019-05-02 13:31:00 -07:00
chunhtai caebdaf1e8
fix issue 30526: rounding error (#30979) 2019-05-02 12:42:25 -07:00
Hans Muller 4230e9674c
Simplify drawer scrimColor defaults, update tests (#31947) 2019-05-02 11:57:01 -07:00
Justin McCandless 34325ba33a
Revert "Tight Paragraph Width (#30988)" (#31979)
This reverts commit 323108ff47 due to weird engine dependency bug
2019-05-02 10:36:51 -07:00
engine-flutter-autoroll 61fdc39e83
ef2bed65d Roll src/third_party/skia 2f9297dff115..cd5d14619fe2 (1 commits) (flutter/engine#8813) (#31976)
bc3bd709c7...ef2bed65db

git log bc3bd709c7f9ef099485f85c30d108707b89107e..ef2bed65db22b1ce3d05947d5cfa3927eb6fa975 --no-merges --oneline
ef2bed65d Roll src/third_party/skia 2f9297dff115..cd5d14619fe2 (1 commits) (flutter/engine#8813)

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 (amirha@google.com), and stop
the roller if necessary.
2019-05-02 12:33:17 -04:00
Justin McCandless 323108ff47
Tight Paragraph Width (#30988)
Add `textWidthBasis` param to Text to allow calculating width according to longest line.
2019-05-02 09:21:45 -07:00
James Lin 0c20a2ed01 Fix MediaQueryData.toString() to generate readable output
MediaQueryData.toString() omitted commas and spaces around some
properties, making the output difficult to read.
2019-05-02 08:44:51 -07:00
Todd Volkert f48cc4611a
Add documentation to Navigator (#31851) 2019-05-02 08:02:11 -07:00
Jonas Termansen 8b9eb3e2b2 Report CompileTime metric in flutter build aot --report-timings. (#31895)
This is the correct metric to report for compilation time benchmarks rather
than RunTime. Rename the 'gen_snapshot' value to merely 'snapshot' for
backwards compatibility and overall simplicity.

This change simplifies Dart's benchmarking of Flutter by making it easier to
adopt --report-timings (made for Dart to use), which makes the benchmarks
much more robust.
2019-05-02 15:22:43 +02:00
engine-flutter-autoroll b702d5a38d
bc3bd709c Roll src/third_party/skia 4dfbc9e68528..2f9297dff115 (4 commits) (flutter/engine#8812) (#31973)
496fd3acb5...bc3bd709c7

git log 496fd3acb57ab97f9b83b35d22636ee67bf2b5b2..bc3bd709c7f9ef099485f85c30d108707b89107e --no-merges --oneline
bc3bd709c Roll src/third_party/skia 4dfbc9e68528..2f9297dff115 (4 commits) (flutter/engine#8812)

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 (amirha@google.com), and stop
the roller if necessary.
2019-05-02 08:37:20 -04:00
engine-flutter-autoroll 84bef63f0a
496fd3acb Roll src/third_party/skia 7cf4242f8adf..4dfbc9e68528 (1 commits) (flutter/engine#8809) (#31963)
ce9e9ba7e4...496fd3acb5

git log ce9e9ba7e4a6e94adc5c60c809410515b9a00324..496fd3acb57ab97f9b83b35d22636ee67bf2b5b2 --no-merges --oneline
496fd3acb Roll src/third_party/skia 7cf4242f8adf..4dfbc9e68528 (1 commits) (flutter/engine#8809)

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-02 04:15:21 -04:00
Jonah Williams 83aa065f6a
Add commands to swap dart imports for local development (#31925) 2019-05-02 01:14:15 -07:00
Jacob Richman e17f9e8ff8
Fix bug handling cyclic diagnostics. (#31960) 2019-05-01 22:09:53 -07:00
LongCatIsLooong 15f187fce0
Add docs to AppBar (#31317)
- Added docs to AppBar to cover AppBar's inherited MediaQuery when not used in a Scaffold in general
- s/Hero]s/Hero]es/
2019-05-01 20:39:37 -07:00
engine-flutter-autoroll 76f2c3620a
Roll engine beeb56b43dc8..ce9e9ba7e4a6 (2 commits) (#31953)
beeb56b43d...ce9e9ba7e4

git log beeb56b43dc87d742852fb4a08f2b71dd4e79ece..ce9e9ba7e4a6e94adc5c60c809410515b9a00324 --no-merges --oneline
ce9e9ba7e Roll src/third_party/skia 35ea04d61370..7cf4242f8adf (2 commits) (flutter/engine#8807)
d909b4d44 Roll buildroot to pick up updated tools/dart/create_updated_flutter_deps.py (flutter/engine#8804)

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 22:21:17 -04:00
Dan Field 5b2281e747
Make Flex only overflow on epsilon (#31890) 2019-05-01 17:28:33 -07:00
xster b04d38be1b
Fix commit message UTF issue for deploy_gallery shard too (#31885) 2019-05-01 16:43:23 -07:00
engine-flutter-autoroll 11de99f4da
Roll engine 6280d4266983..beeb56b43dc8 (4 commits) (#31937)
6280d42669...beeb56b43d

git log 6280d4266983ff8eff24f26164d10172e3824385..beeb56b43dc87d742852fb4a08f2b71dd4e79ece --no-merges --oneline
beeb56b43 Roll src/third_party/skia 6db27c28c61e..35ea04d61370 (8 commits) (flutter/engine#8803)
e5305f422 Roll src/third_party/skia 6c8f5b31ac49..6db27c28c61e (4 commits) (flutter/engine#8802)
ed7d128d7 Reformat dart dependencies in DEPS. (flutter/engine#8800)
ed912a01d Roll src/third_party/dart 5fbf7720f8..b6997deb3e (26 commits)

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 19:38:17 -04:00
Shi-Hao Hong 8959caa239
Update scrimDrawerColor with proper const format (#31938) 2019-05-01 15:18:08 -07:00
Dan Field cfc3572572
make windows/mac consistent with linux (#31936) 2019-05-01 15:18:03 -07:00
Diego Velásquez López d8bb880d08 added scrimColor property in Scaffold widget (#31025) 2019-05-01 14:50:52 -07:00
Shi-Hao Hong 7690bb47dc
Add Horizontal Padding to Constrained Chip Label Calculations (#31861)
* Add horizontal padding and properly constrain chip label calculations

* Added regression test for avatar, label and delete icon constraint
2019-05-01 13:46:36 -07:00
Dan Field df669ab1ea
Avoid NPE for flutter attach mDNS (#31926) 2019-05-01 13:41:00 -07:00
Zachary Anderson 6a69f8c98c
[fuchsia] Add support for the 'device' command using the SDK (#31910) 2019-05-01 13:24:09 -07:00
Jonah Williams 06973f58a7
Revert "Revert "fix edge swiping and dropping back at starting point (#31623)" (#31876)" (#31923) 2019-05-01 12:53:04 -07:00
Shi-Hao Hong 0c871b8528
Improve RadioListTile Callback Behavior Consistency (#31574) 2019-05-01 12:52:52 -07:00
Greg Spencer be75fb36c5
Change unfocus to unfocus the entire chain, Fix setFirstFocus (#31909)
In #31614, I added an unfocus() to FocusNodes to allow giving up of focus, but it only worked on the primary focus. This changes that so that it will unfocus the entire chain, not just the primary focus. Now, if you call unfocus() on a FocusNode or FocusScopeNode, and their hasFocus returns true, then after calling unfocus(), it will return false. Before this change, it would only do that if hasPrimaryFocus was also true.

This also fixes a bug in the way setFirstFocus was implemented, making it conform more to the behavior of the previous implementation. It has simplified logic in reparent, and in when it requests focus for scope nodes that have had setFirstFocus called on them.
2019-05-01 12:20:41 -07:00
Jacob Richman 63aa5b3647
Refactor core uses of FlutterError. (#30983)
Make FlutterError objects more structured so they can be displayed better in debugging tools such as Dart DevTools.
2019-05-01 11:20:12 -07:00
engine-flutter-autoroll f8dfa367c6
Roll engine 8768180a8871..6280d4266983 (2 commits) (#31917)
8768180a88...6280d42669

git log 8768180a8871ede2af9d483d764109b92df6faf9..6280d4266983ff8eff24f26164d10172e3824385 --no-merges --oneline
6280d4266 Dart SDK roll for 2019-04-30 (flutter/engine#8796)
c67870cfd Roll src/third_party/skia 08c79d61450b..6c8f5b31ac49 (4 commits) (flutter/engine#8799)

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 14:17:17 -04:00
Todd Volkert 3d09f939ba
Make Gradle error message more specific (#31850) 2019-05-01 10:28:57 -07:00
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