Commit Graph

10998 Commits

Author SHA1 Message Date
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 0f557e720e.
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 dac1baf4fa.
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 39d7f22a96.
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