Commit graph

14268 commits

Author SHA1 Message Date
Kate Lovett 054d9bb2f1
Updating dart.dev related links (#32641)
* Updating dart.dev related links

* Update packages/flutter_tools/lib/src/base/context.dart
2019-05-14 10:35:00 -07:00
Mouad Debbar ef5abcc6bf
Revert "Show/hide toolbar and handles based on device kind (#29683)" (#32702)
This reverts commit 18ca37542d.
2019-05-14 09:33:04 -07:00
engine-flutter-autoroll 7ab111ea61
a89cf80d4 Roll src/third_party/skia 136ad09848f5..c2aea5938d0d (1 commits) (flutter/engine#8958) (#32700)
4238163010...a89cf80d4d

git log 4238163010cc4f5d988c7737501a9387cd0c6560..a89cf80d4de5dbd93d72958cd1f0b26eb6a0b3e2 --no-merges --oneline
a89cf80d4 Roll src/third_party/skia 136ad09848f5..c2aea5938d0d (1 commits) (flutter/engine#8958)

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 (jsimmons@google.com), and stop
the roller if necessary.
2019-05-14 11:52:40 -04:00
Mouad Debbar 18ca37542d
Show/hide toolbar and handles based on device kind (#29683) 2019-05-14 08:50:23 -07:00
engine-flutter-autoroll fe8cddbb8d
423816301 Roll src/third_party/skia 4e66df54e7da..136ad09848f5 (2 commits) (flutter/engine#8957) (#32685)
49bc9c86c9...4238163010

git log 49bc9c86c967cb3b57e211f5e03868dd7147984a..4238163010cc4f5d988c7737501a9387cd0c6560 --no-merges --oneline
423816301 Roll src/third_party/skia 4e66df54e7da..136ad09848f5 (2 commits) (flutter/engine#8957)

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 (jsimmons@google.com), and stop
the roller if necessary.
2019-05-14 11:04:39 -04:00
Greg Spencer 96ebfec1a3
Add diagnostics around needsCompositing (#32656)
Added diagnostic output for needsCompositing to RenderObject diagnostics output.
2019-05-14 08:02:25 -07:00
engine-flutter-autoroll 894dca77b6
49bc9c86c Roll src/third_party/skia 0221e8b22687..4e66df54e7da (5 commits) (flutter/engine#8955) (#32671)
5ac2d02645...49bc9c86c9

git log 5ac2d02645a240609b319aaead5ccb1fb845fa02..49bc9c86c967cb3b57e211f5e03868dd7147984a --no-merges --oneline
49bc9c86c Roll src/third_party/skia 0221e8b22687..4e66df54e7da (5 commits) (flutter/engine#8955)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-14 02:35:39 -04:00
engine-flutter-autoroll b3b4d60408
Roll engine c83ec26f351f..5ac2d02645a2 (4 commits) (#32665)
c83ec26f35...5ac2d02645

git log c83ec26f351fed56341a8959d1d711c7ec2fe423..5ac2d02645a240609b319aaead5ccb1fb845fa02 --no-merges --oneline
5ac2d0264 Avoid disabling sources assignment filters are these have been removed. (flutter/engine#8954)
51486a549 New Plugin API PR2: Introduces ActivityAware, ActivityControlSurface, and ActivityPluginBinding. (flutter/engine#8943)
b3b817a9b Add a minimal set of symbols to the dynamic symbol table for Linux executables (flutter/engine#8937)
96ffc893e Copy the Dart Runner from //topaz into the engine. (flutter/engine#8949)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-13 23:06:39 -04:00
engine-flutter-autoroll 5bd307caf2
c83ec26f3 Roll Tonic (flutter/engine#8940) (#32653)
904cfc4fe3...c83ec26f35

git log 904cfc4fe3631103c656ba617d9768a832d3622a..c83ec26f351fed56341a8959d1d711c7ec2fe423 --no-merges --oneline
c83ec26f3 Roll Tonic (flutter/engine#8940)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-13 19:39:39 -04:00
Greg Spencer a5053bfb29
Fix transforms for things with RenderPointerListeners (#32535)
This fixes #32525, because it now marks the compositing bits as needing to be recalculated if the mouse tracker changes its idea of whether or not a mouse is attached.

This bug occurred because the test framework was leaking state from one test to the next (the state about whether a mouse pointer was active), and so even though there was a "passing" test when run in order with the other tests in the file, when the test was run individually (or first), it would have failed and caught the bug.

This adds an assert to make sure that after each test there are no simulated mouse pointers connected, and now calls removePointer in all of the tests where this was a problem.
2019-05-13 15:48:12 -07:00
Jason Simmons f5cf209a66
Remove appbundle build steps that are required for APKs but not AABs (#32515)
Some parts of the appbundle build process were based on the logic for building
APK packages.  However, these steps (copying to a directory shared by all
build variants, and calculating a SHA) are not necessary for an appbundle.
2019-05-13 15:36:47 -07:00
Shi-Hao Hong 41ff8408ca
Add Actions to AppBar Sample Doc (#32530)
* Add actions to AppBar sample doc
2019-05-13 15:19:14 -07:00
engine-flutter-autoroll 74d3fe6555
Roll engine f4d23ef694a9..904cfc4fe363 (5 commits) (#32648)
f4d23ef694...904cfc4fe3

git log f4d23ef694a9ab946d1a9ab97f20ec07b3878bd9..904cfc4fe3631103c656ba617d9768a832d3622a --no-merges --oneline
904cfc4fe Add @UiThread to MethodChannel and related classes/calls (#32642). (flutter/engine#8947)
c9406d45c Roll src/third_party/skia d696f8e6bca3..0221e8b22687 (5 commits) (flutter/engine#8948)
1b649a57d update docs (flutter/engine#8928)
47fd66c89 Terminate debug background task on expiry (flutter/engine#8930)
14c82d996 Only cache required frames (flutter/engine#8837)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-13 17:54:40 -04:00
liyuqian 06f86c8b2f
Reland matrix check (#32521)
This relands flutter/flutter#31701 with missing const added

This reverts commit 549b412656.
2019-05-13 14:36:09 -07:00
xster 1cd88c3501
Let CupertinoNavigationBarBackButton take a custom onPressed (#32469) 2019-05-13 12:41:24 -07:00
engine-flutter-autoroll f82c83b31c
f4d23ef69 Replace Skia font macros with enums. (flutter/engine#8920) (#32640)
839628b1e8...f4d23ef694

git log 839628b1e826138dfb485b484d1c6f8ef7442003..f4d23ef694a9ab946d1a9ab97f20ec07b3878bd9 --no-merges --oneline
f4d23ef69 Replace Skia font macros with enums. (flutter/engine#8920)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-13 15:39:39 -04:00
engine-flutter-autoroll 11fe9fc91c
839628b1e Roll src/third_party/skia 617d801ff762..d696f8e6bca3 (6 commits) (flutter/engine#8946) (#32635)
c454d2ef7f...839628b1e8

git log c454d2ef7fc5fb348e0d9a1ddca6cc69d916d61e..839628b1e826138dfb485b484d1c6f8ef7442003 --no-merges --oneline
839628b1e Roll src/third_party/skia 617d801ff762..d696f8e6bca3 (6 commits) (flutter/engine#8946)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-13 14:26:40 -04:00
Shi-Hao Hong 9545c5d166
Tab Animation Sample Video (#32177)
* Improve tabs documentation regarding matching lengths

* Add Tabs animation to docs
2019-05-13 09:06:43 -07:00
engine-flutter-autoroll c4d527123e
Roll engine 816d3fc58611..c454d2ef7fc5 (2 commits) (#32625)
816d3fc586...c454d2ef7f

git log 816d3fc58611d4980a992525d164c7c8711ace03..c454d2ef7fc5fb348e0d9a1ddca6cc69d916d61e --no-merges --oneline
c454d2ef7 Roll src/third_party/skia 695206d7149a..617d801ff762 (3 commits) (flutter/engine#8945)
8d126ce9f Roll src/third_party/skia 806621b2e0b5..695206d7149a (1 commits) (flutter/engine#8942)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-13 11:00:41 -04:00
Danny Tuppeny b76a1e8312
Comment out .vscode/ in gitignore for templates (#32404) 2019-05-13 09:06:30 +01:00
engine-flutter-autoroll 9b2a1853ac
816d3fc58 New Plugin API PR1: Introduces PluginRegistry and FlutterPlugin, adds support for plugin registration to FlutterEngine. (flutter/engine#8826) (#32598)
21ad7f051c...816d3fc586

git log 21ad7f051cd3138efde6625e45a52b7ba08c00cf..816d3fc58611d4980a992525d164c7c8711ace03 --no-merges --oneline
816d3fc58 New Plugin API PR1: Introduces PluginRegistry and FlutterPlugin, adds support for plugin registration to FlutterEngine. (flutter/engine#8826)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-12 21:28:38 -04:00
engine-flutter-autoroll ebacca34e5
21ad7f051 Move the Fuchsia Flutter Runner to //flutter/shell/platform/fuchsia/flutter (flutter/engine#8939) (#32593)
7553de25db...21ad7f051c

git log 7553de25db1b0906b70e1897e211090953f7d5ee..21ad7f051cd3138efde6625e45a52b7ba08c00cf --no-merges --oneline
21ad7f051 Move the Fuchsia Flutter Runner to //flutter/shell/platform/fuchsia/flutter (flutter/engine#8939)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-12 19:09:39 -04:00
engine-flutter-autoroll 3d42e3fadf
7553de25d Roll src/third_party/skia 5c7b54112bca..806621b2e0b5 (1 commits) (flutter/engine#8941) (#32579)
5526884e78...7553de25db

git log 5526884e7878d0e1ce3eb650c1ec6769fc59ba9c..7553de25db1b0906b70e1897e211090953f7d5ee --no-merges --oneline
7553de25d Roll src/third_party/skia 5c7b54112bca..806621b2e0b5 (1 commits) (flutter/engine#8941)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-12 11:05:39 -04:00
stuartmorgan 710a0cb9a5
Adjust macOS build flow (#32538)
- Removes SYMROOT from the Generated.xcconfig. Having it causes current
  versions of Xcode to switch the project's build output to "Legacy",
  which causes anything not overridden to use a project-relative build
  directory instead of a shared directory in DerivedData, breaking
  anything with subprojects that it depends on.
  This means that `flutter run` and builds from Xcode will use
  completely different build directories, but that each should be
  internally consistent.
- Moves the FlutterMacOS.framework to $SRCROOT/Flutter. This is
  consistent with the approach we're moving to for all desktop
  platforms, and avoids issues finding it now that SYMROOT doesn't match
  for the two different build modes.

Fixes #32494
2019-05-11 21:12:42 -04:00
engine-flutter-autoroll 145f9f7ea6
Roll engine 6e3c0431410c..5526884e7878 (3 commits) (#32568)
6e3c043141...5526884e78

git log 6e3c0431410ce3ae1e1ee7cf8c139fefd34a6cde..5526884e7878d0e1ce3eb650c1ec6769fc59ba9c --no-merges --oneline
5526884e7 Wire up the Skia Metal backend on iOS. (flutter/engine#8936)
5ad986424 Roll src/third_party/skia 303bacbc0fcb..5c7b54112bca (2 commits) (flutter/engine#8938)
64481bd5d Roll src/third_party/skia 6e407986cd3b..303bacbc0fcb (2 commits) (flutter/engine#8935)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-11 19:47:39 -04:00
Jonah Williams 8b0243f413
Teach Linux to use local engine (#31631) 2019-05-11 00:08:29 -07:00
Kate Lovett 829bdeb426
Fixing accidental merge from WIP branch. (#32520)
Revert "Merge branch 'master' into master"

This reverts commit e3a03c04c4, reversing
changes made to 6474982649.
2019-05-10 15:53:41 -07:00
Kate Lovett e3a03c04c4
Merge branch 'master' into master 2019-05-10 15:16:40 -07:00
engine-flutter-autoroll 6474982649
6e3c04314 Synthesize buttons for embedders (flutter/engine#8873) (#32508)
3822aeccd9...6e3c043141

git log 3822aeccd93f41ad96e7af0fc68ff141f7ce6f78..6e3c0431410ce3ae1e1ee7cf8c139fefd34a6cde --no-merges --oneline
6e3c04314 Synthesize buttons for embedders (flutter/engine#8873)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-10 16:56:38 -04:00
Dan Field 382704ca95
Use precisionErrorTolerance (#32499) 2019-05-10 13:28:19 -07:00
engine-flutter-autoroll 38f408f02e
Roll engine 710e9edda6a4..3822aeccd93f (2 commits) (#32505)
710e9edda6...3822aeccd9

git log 710e9edda6a4464214cc3215a3ca399e2f4a41c5..3822aeccd93f41ad96e7af0fc68ff141f7ce6f78 --no-merges --oneline
3822aeccd Prevent redundant layouts when floor(width) is the same (flutter/engine#8867)
0bc6dc974 Platform_views gesture: let flutter view controller be the media to pass the touches. (flutter/engine#8685)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-10 15:33:38 -04:00
engine-flutter-autoroll a7a9e875c2
710e9edda Roll src/third_party/skia 6eeaf927e381..6e407986cd3b (4 commits) (flutter/engine#8933) (#32497)
bf17478a91...710e9edda6

git log bf17478a911b133d54beed469adac90c91aa2c78..710e9edda6a4464214cc3215a3ca399e2f4a41c5 --no-merges --oneline
710e9edda Roll src/third_party/skia 6eeaf927e381..6e407986cd3b (4 commits) (flutter/engine#8933)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-10 14:21:38 -04:00
Jonah Williams 549b412656
Revert "Add more asserts to check matrix validity (#31701)" (#32496) 2019-05-10 10:05:15 -07:00
liyuqian 0dc290c023
Add more asserts to check matrix validity (#31701)
## Description

These will help identify where the matrix starts to get wrong. 

Also fixed `RenderFittexBox` to no longer paint with empty child which previously triggered invalid matrix computations (NaN with dividing by 0). See also https://github.com/flutter/flutter/pull/7489

## Related Issues

https://github.com/flutter/flutter/issues/31650
https://github.com/flutter/flutter/issues/31700
https://github.com/flutter/flutter/issues/7431

## Tests

* RenderFittedBox does not paint with empty sizes
2019-05-10 09:33:09 -07:00
Michael Goderbauer b37c3be0fa
Add ancestor and descendant finders to Driver (#32410) 2019-05-10 18:21:19 +02:00
Riccardo Ratta 705143855f Make font semibold when isDefaultAction is true in CupertinoDialogAction (#31308)
Make font semibold when isDefaultAction is true in CupertinoDialogAction
2019-05-10 08:22:56 -07:00
engine-flutter-autoroll fc6dfe538f
bf17478a9 Roll src/third_party/skia 4f6eb15178d8..6eeaf927e381 (12 commits) (flutter/engine#8932) (#32490)
d8646ed07c...bf17478a91

git log d8646ed07cf3e836d390633abe389c18963a9285..bf17478a911b133d54beed469adac90c91aa2c78 --no-merges --oneline
bf17478a9 Roll src/third_party/skia 4f6eb15178d8..6eeaf927e381 (12 commits) (flutter/engine#8932)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-10 10:47:39 -04:00
Efthymis Sarmpanis b24f1f78a7 Add breadcrumbs to TextOverflow (#32328) 2019-05-10 13:29:31 +02:00
Michael Goderbauer 8cf65526e7
everything const (#32380) 2019-05-10 13:29:03 +02:00
xster 87d9c553f4
Revert "Cupertino localization step 12: push translation for all supported languages (#31644)" (#32470)
This reverts commit 10922df68e.
2019-05-10 01:08:59 -07:00
xster 10922df68e
Cupertino localization step 12: push translation for all supported languages (#31644) 2019-05-09 23:18:56 -07:00
xster 1ac813a5e6
Cupertino localization step 10: update the flutter_localizations README (#30224) 2019-05-09 23:17:43 -07:00
Hans Muller 6d0e235cf8
Support for replacing the TabController, after disposing the old one (#32434) 2019-05-09 22:02:46 -07:00
engine-flutter-autoroll 3fb1079a19
Roll engine f1f95f91df12..d8646ed07cf3 (2 commits) (#32460)
f1f95f91df...d8646ed07c

git log f1f95f91df12edab39f111ec764fccdc1627537b..d8646ed07cf3e836d390633abe389c18963a9285 --no-merges --oneline
d8646ed07 Fix the iOS accessibility tree structure of platform views. (flutter/engine#8731)
b3e32e730 Roll src/third_party/skia dbded16fadde..4f6eb15178d8 (7 commits) (flutter/engine#8922)

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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-10 00:58:39 -04:00
engine-flutter-autoroll 4dce050c52
Roll engine 644db5a49c35..f1f95f91df12 (3 commits) (#32440)
644db5a49c...f1f95f91df

git log 644db5a49c35e952e6fa9ccbe722e98e982f7ec5..f1f95f91df12edab39f111ec764fccdc1627537b --no-merges --oneline
f1f95f91d Revert "Roll src/third_party/dart a0290f823c..c1e2df8f36 (3 commits)" (flutter/engine#8925)
27409dc1c [fuchsia] Guard out-of-tree Fuchsia targets to fix in-tree build (flutter/engine#8923)
6ed91ce8e Roll src/third_party/dart a0290f823c..c1e2df8f36 (3 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 (chinmaygarde@google.com), and stop
the roller if necessary.
2019-05-10 00:06:39 -04:00
Greg Spencer d2fe08628d
Implements FocusTraversalPolicy and DefaultFocusTraversal features. (#30076)
This implements a DefaultFocusTraversal widget to describe the focus traversal policy for its children, defined by a FocusTraversalPolicy object from which custom policies may be created. Pre-defined policies include widget-order traversal, "reading order" traversal and directional traversal.
2019-05-09 20:24:23 -07:00
Sam Rawlins 9c77e8e8a0 Fix missing return statements on function literals (#31825) 2019-05-09 12:43:51 -07:00
Greg Spencer 66a6726306
Fix benchmark regression in layer.find<S>(Offset) (#32425)
This fixes a benchmark regression introduced in #32350. The performance is improved by just reverting the Layer.find<S> routines to use their old definitions, instead of defining them in terms of the findAll<S> lazy iterators.

Fixes #32387
2019-05-09 12:25:52 -07:00
liyuqian 3436e165c8
Add master channel to performance issue template (#32345)
I helped the daily mail debug a performance issue on I/O yesterday. Not
using the master branch could be wasting a lot of time due to old bugs.
2019-05-09 10:37:34 -07:00
Phil Quitslund 3a6acb8c25
More const conversions (#32408)
* update immutable to const

* => const lists

* revert making list const

* make Centers const
2019-05-09 09:23:30 -07:00