11015 Commits

Author SHA1 Message Date
liyuqian
61a4ab386a Roll engine to d174c4ff012ed7f64420a3525d6cc734ad3b8352 (#18047)
flutter/engine@d174c4f Remove unnecessary saveLayer
flutter/engine@b41c2ae Roll src/third_party/skia 137b874..588f879 (6 commits)
flutter/engine@15be13d Roll src/third_party/skia 21ca043..137b874 (5 commits)
flutter/engine@dfb437a Roll src/third_party/skia 264182c..21ca043 (3 commits)
flutter/engine@abda89c Roll src/third_party/skia 09725b0..264182c (1 commits)
flutter/engine@0a47817 Roll src/third_party/skia 61f36d3..09725b0 (1 commits)
flutter/engine@a4f0cd7 Roll src/third_party/skia 8363be1..61f36d3 (8 commits)
2018-05-30 15:40:39 -07:00
Victor Choueiri
d57cc44f05 Add SweepGradient (#17368)
This PR adds a SweepGradient class, extending Gradient to expose the engine's ui.Gradient.sweep shader.

Similar to LinearGradient and RadialGradient - SweepGradients can be used in a BoxDecoration or passed to a Paint's shader.
2018-05-30 15:18:17 -07:00
Jonah Williams
6fc7199dcc
Add outer gesture detector to increase mini-fab size to 48x48 (#17921) 2018-05-30 14:54:39 -07:00
Jacob Richman
62febaa140
Add support for --track-widget-creation back to ios build rules. (#18046) 2018-05-30 14:53:35 -07:00
Greg Spencer
b921fdc58e
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041)
This reverts commit 3258602073c6a05b1b051fddf644cba92116694b.
2018-05-30 13:51:14 -07:00
Greg Spencer
3258602073
Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)
Fixes #18028

Just changes typedef declarations, no logic changes.
2018-05-30 12:13:58 -07:00
Ralph Bergmann
c65e9d19a4 add version to pubspec.yaml (#16857)
Uses the `version` property from the `pubspec.yaml` file to set the corresponding fields in the `local.properties` file respectively in the `Generated.xcconfig` file.

The `--build-name` and `--build-number` options have changed. Now they trump the `version` property from the `pubspec.yaml` file.

If the `version` property is not set and the  `--build-name` and `--build-number` options are not provided, the build command will not change the `local.properties` / `Generated.xcconfig` file.
2018-05-30 07:51:25 -07:00
Mikkel Nygaard Ravn
f986048094
Mark flaky test as such (#18019) 2018-05-30 12:54:46 +02:00
Mikkel Nygaard Ravn
0d1574c313
Refactor flutter create logic in prep for add2app (#17992) 2018-05-30 11:25:21 +02:00
Mikkel Nygaard Ravn
055ad0ce4c
Fix typos (#18017) 2018-05-30 11:12:33 +02:00
Danny Tuppeny
5ce672b79b
Detect permissions issues running flutter on Windows (#17975)
* Detect permissions issues running flutter on Windows

Fixes #17972.
2018-05-30 08:14:48 +01:00
Michael Goderbauer
a2d1d27f79
Keep indeterminate RefreshProgressIndicator spinning until end of time (#18010) 2018-05-29 18:04:13 -07:00
Régis Crelier
921695cc44
Roll engine to 16f5cd8106c75e980a4d0bb05c0505a0e1182eb7 (#18008) 2018-05-29 18:00:57 -07:00
Todd Volkert
d6d35ca7cc
Address post-review comments from #17977 (#18000) 2018-05-29 14:45:40 -07:00
Mikkel Nygaard Ravn
c7ea3ca377
Revert sync async (#18002) 2018-05-29 21:07:33 +02:00
Danny Tuppeny
0e8164be51
Copy Daemon docs into code and add daemon.connected + changelog (#17961)
* Add copy of daemon doc from Wiki
* Document the daemon.connected event
2018-05-29 17:13:22 +01:00
Danny Tuppeny
42c9719ff0
Change doctor to point at Flutter extension (#17987) 2018-05-29 17:11:34 +01:00
Danny Tuppeny
24e2b238d4
Send an event at startup with the protocol version and pid (#17873)
* Send an event at startup with the protocol version and pid

The pid will help with some of the issues of terminate the process when launched through a shell script and the version will allow clients to make decisions about supported features.

I've also bumped the protocol version number for two reasons:

1. This change
2. We didn't increase it when we added the previous emulator commands
2018-05-28 22:02:53 +01:00
Danny Tuppeny
514701fe46
Remove test group in favour of addTearDown (#17962) 2018-05-28 21:45:56 +01:00
Todd Volkert
7c60b7405a
Instrument vm service extensions in the gallery (#17977)
https://github.com/flutter/flutter/issues/17956

* Add a `debugInstrumentAction()` method that will wrap an action
  in a stopwatch and print the time it took to run the action.
* Add a global `debugInstrumentationEnabled` that will control
  whether `debugInstrumentAction()` does anything (even in debug
  builds).
* Add some basic instrumentation to `registerServiceExtension()`
* Temporarily enable the `debugInstrumentationEnabled` flag in the
  Gallery to give us better visibility into what's happening in
  https://github.com/flutter/flutter/issues/17956
2018-05-28 12:40:43 -07:00
Mikkel Nygaard Ravn
d21b2799a0
Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979)
This reverts commit 0f557e720eadc991dfedb45bdeb76026553a529c.
2018-05-28 21:18:13 +02:00
Mikkel Nygaard Ravn
0f557e720e
Update Gradle dependencies to match Android Studio 3.1.2 (#17974) 2018-05-28 21:08:50 +02:00
Mikkel Nygaard Ravn
00970710e0
[await sync-async flag] Add test of sync async execution (#16795) 2018-05-28 17:35:51 +02:00
Florian Loitsch
3ced55a7dc
Sync async2 (#17964)
Enable --sync-async in Flutter.
Fixes #16801
2018-05-28 16:21:05 +02:00
Mikkel Nygaard Ravn
bb88766448
Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17942)" (#17966)
This reverts commit dac1baf4fabf8b7af45261f2f01782773d7f19ab.
2018-05-28 15:10:37 +02:00
Mikkel Nygaard Ravn
dac1baf4fa
Update Gradle dependencies to match Android Studio 3.1.2 (#17942) 2018-05-28 14:35:32 +02:00
Mikkel Nygaard Ravn
4a72973cec
Fix typo (#17959) 2018-05-28 11:33:40 +02:00
Mikkel Nygaard Ravn
cd34e6cc28
Fix typo (#17958) 2018-05-28 09:54:54 +02:00
Alexander Aprelev
d79f2ee223 Roll engine to 1ed25ca7b7e3e3e8047df050bba4174074c9b336.
This is with dart roll.
2018-05-26 14:50:18 -07:00
Alexander Aprelev
a863817c04 Roll engine to 2b1f3dbe25894d7614587f494a25b40fdb344f4a.
This is one before dart roll.
2018-05-26 14:50:18 -07:00
fmatosqg
7d25378932 Make image resolution more strict, clean gallery pubspec.yaml (#17241) (#17322) 2018-05-26 08:33:13 -07:00
Jonah Williams
b6ceff552b
re-add semantic service events for tap and longPress (#17918) 2018-05-25 18:42:02 -07:00
Chris Bracken
7587f54b20
Build single-architecture for local iOS engines (#17919)
When running with --local-engine, build single-architecture apps, rather
than what's declared in the Xcode project.

By default, Flutter creates Xcode projects that generate universal
binaries supporting both armv7 and arm64 processors. Since local engine builds
are all single-architecture, override the Xcode project's ARCHS setting
with the appropriate value for the specific engine.

NOTE: this assumes engine paths consistent with those used in the engine
repo: 32-bit iOS engine builds end in _arm, 64-bit builds do not.
2018-05-25 14:53:10 -07:00
Michael Thomsen
07081a1d2c
Fix flutter run output (#17920) 2018-05-25 23:22:53 +02:00
Michael Thomsen
fb95fcbae5
Fully rename to hot restart (#17897)
* Fully rename to hot restart

Follow-up change to f48dec570c

* Review feedback
2018-05-25 23:10:16 +02:00
Todd Volkert
bae78a6f73
Fix RenderListTile actual baseline computation (#17915)
It should be calling `tile.getDistanceToActualBaseline()` rather than
`tile.getDistanceToBaseline()`.  This is causing us to hit assertions
`getDistanceToBaseline()`
2018-05-25 13:15:34 -07:00
jcollins-g
e816b89a1f
Upgrade dartdoc to 0.19.1 (#17909) 2018-05-25 11:03:47 -07:00
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