7989 Commits

Author SHA1 Message Date
Brian Osman
2d9155e174 Reland "Run Flutter on iOS and Android with color correct Skia (#3826)
* Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (#3823)"

This reverts commit db8d8a9979901d05b011368226ad5bf61b1da13f.

* Fix test code to match internal API change
2017-06-27 13:30:10 -04:00
Alexander Aprelev
009d470d50 Generate flutter-flavoured dart patched sdk and platform.dill (#3814)
* Build Flutter patched-sdk with kernel artifacts

* Switch to new dart_host_toolchain argument mechanism to let dart patch_sdk know of host_toolchain.

* Update dart dependency

* Updated licenses

* Rename dart dependencies tag so they have just 'dart_'-prefixed dart's names.

* Fix indentation and line breaks for newly added deps.

* Add toolchain for windows host

* Update dart revision

* Licenses

* Update licenses

* Revert changes to licenses_third_party
2017-06-27 02:44:04 +00:00
Yegor
38b3e89ea8 upgrade buildroot to pick up analyzer fixes (#3830) 2017-06-26 16:43:22 -07:00
Yegor
926c9a581f preserve Window callback zones (#3817)
* preserve Window callback zones

Run Window callbacks in the zone they are registered in. This is consistent with how other native API work, such as `scheduleMicrotask`, `Timer`, and `dart:io`. This also enables the developers to use the `Zone` API to capture and log unhandled Dart errors.

* refactor wrapping

* new line

* fewer if checks; group getters/setters/fields

* inline _invokeOnPointerDataPacket
2017-06-26 15:08:43 -07:00
Adam Barth
e07861a567 Update Dart to 3c543bb210711dd6761d592a863fd6f32e1f1279 (#3827) 2017-06-26 15:06:55 -07:00
Jason Simmons
cbbdd8849e Convert Fuchsia event timestamps to microseconds (#3828)
Fixes https://github.com/flutter/flutter/issues/10569
2017-06-26 14:56:42 -07:00
Brian Osman
c920002508 Roll Skia (#3820)
* Roll Skia

* Update licenses
2017-06-26 09:20:28 -04:00
Michael Goderbauer
9190c675ef Add Windows support to CONTRIBUTING.md (#3825) 2017-06-23 17:58:57 -07:00
freiling
ce5c71488b Revert "[content handler] tune VulkanSurfaceProducer allocation and recycling heuristics" (#3824)
This reverts commit fc70e6eb1e02ab1e6764b45690e4639bfd104cc1.
2017-06-23 17:50:38 -07:00
Brian Osman
db8d8a9979 Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (#3823)
This reverts commit 2650f529a138de9cc9116bb9194dbe22f8e0df25.
2017-06-23 20:28:24 -04:00
Brian Osman
2650f529a1 Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)
* Revert "Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (#3775)"

This reverts commit cfe70e07d386d6052267fe3772bbd641c8413a54.

* Enable sRGB on IO thread, too

* Add 4444 as a fallback rendering mode

* Use bare ptr to SkColorSpace (not sk_sp) in PrerollContext
2017-06-23 20:21:29 -04:00
freiling
674b8f1171 Vulkan on Fuchsia performance tuning (#3822)
* increase Vulkan GrContext resource cache limits to match android

* [content handler] tune VulkanSurfaceProducer allocation and recycling heuristics
2017-06-23 16:02:23 -07:00
P.Y. Laligand
8a2d337446 Improve the names of Flutter processes. (#3819) 2017-06-23 13:13:16 -07:00
Ian Hickson
ca7836108b Roll tonic to pick up my crash fixes (#3816) 2017-06-23 12:32:44 -07:00
Adam Barth
026f76d793 Depend on //lib/mtl rather than a subtarget (#3821)
This will make it easier to change mtl into a shared library.
2017-06-23 11:09:29 -07:00
Ian Hickson
6cf34cb5b3 Throw exceptions rather than crashing when Canvas API is misused. (#3811)
This attempts to make the Canvas API and some related features more
likely to throw a Dart exception than crash when exposed to bad input.

Depends on rolling tonic to
https://fuchsia-review.googlesource.com/c/35742/ which this patch does
not yet do, but I wanted to put it up for review to see if it was even
a reasonable approach.
2017-06-22 17:06:59 -07:00
Jason Simmons
538e103b2c Catch exceptions during invocations of updateSemantics from native code (#3813) 2017-06-22 11:19:32 -07:00
P.Y. Laligand
d13622c0bf Only add Fuchsia-specific stuff when the current OS is Fuchsia. (#3809)
This allows the shell to be built normally for a Fuchsia host.
2017-06-21 15:40:50 -07:00
Jason Simmons
b0dee695ec Revert to API level 16 compatible variant of AccessibilityNodeInfo.addAction (#3810)
Fixes https://github.com/flutter/flutter/issues/10855
2017-06-21 12:31:08 -07:00
Jason Simmons
4d1f1f6d8a Do not call restartInput twice when setting a new text input client. (#3808)
If restartInput is called twice in quick succession, then the IME may output
warnings related to usage of the obsolete connection resulting from the first
call.

Fixes https://github.com/flutter/flutter/issues/10730
2017-06-21 10:47:02 -07:00
Todd Volkert
fa2726cda0 Remove FlutterActivity#onFlutterReady() (#3806)
Fixes https://github.com/flutter/flutter/issues/10571
2017-06-21 10:03:04 -07:00
Sarah Zakarias
b8c47e90e6 Fix compile error in FlutterViewController (#3807) 2017-06-21 15:20:52 +02:00
Sarah Zakarias
a87d15d62e Send AppLifecycleState notifications on FlutterViewController lifecycle events. (#3801) 2017-06-21 14:39:05 +02:00
Sarah Zakarias
a08f52ed74 Add script for generating ojbc doc for Flutter iOS libraries (#3788) 2017-06-21 09:51:47 +02:00
P.Y. Laligand
f61869eba0 Prevent GN from choking on conditional imports. (#3805) 2017-06-20 23:39:18 -07:00
P.Y. Laligand
76397e98b4 Update to newer version of the FTL. (#3804) 2017-06-20 16:53:14 -07:00
Ian McKellar
63ef135ecc Name flutter_runner processes after the app they're running (#3803)
Currently in `ps` all apps running under the Flutter content handler
show up as `flutter_runner`. This makes them hard to identify. This
change names the process after the final path component URL of the
application that's launched, prefixed with "flutter:".

In theory we could run more than one Flutter application in a single
content handler process, but we don't right now. If we do this logic
would have to change.
2017-06-20 15:12:52 -07:00
Chris Bracken
fffe502d43 Revert libtxt integration (#3802)
* Revert "Fix licenses_lib golden file (#3798)"

This reverts commit d8ac43c3c9123fead15af3004d1e445834115bbd.

* Revert "Remove ParagraphConstriants (#3796)"

This reverts commit 8ccf767ff71c781588fb1e79cf3369604099a7cc.

* Revert "Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)"

This reverts commit 3c049219e1429c8e08632889b6c9e7b070bba534.
2017-06-20 09:59:56 -07:00
Chris Bracken
25c7a86a53 Eliminate ASL stdout forwarding on iOS (#3797)
ASL was deprecated in iOS 10 and started causing SIGPIPE issues in iOS
10.3. Under the iOS 8 SDK, syslog() stopped working as of iOS 10.3
devices, with the result that ASL stdout/stderr forwarding was the only
means of logging. The engine now builds against the iOS 10 SDK, with
deployment target of iOS 8. Under this SDK, syslog() works correctly
across all supported OS versions.

NOTE: This is a temporary fix to get developers unblocked. While this
does fix the SIGPIPE issue and put iOS logging on par with the Android
solution, the intent is to move to a dedicated communication channel
with flutter_tools that isn't log-based.
2017-06-19 18:10:30 -07:00
Chris Bracken
d8ac43c3c9 Fix licenses_lib golden file (#3798)
Corrects a missed update to the licenses_lib golden file in:
  Remove ParagraphConstriants (#3796)
2017-06-19 18:01:51 -07:00
Gary Qian
8ccf767ff7 Remove ParagraphConstriants (#3796) 2017-06-19 17:12:54 -07:00
Jason Simmons
979f8a63ea Set the initial route before launching the Dart app (#3795)
See https://github.com/flutter/flutter/issues/10813
2017-06-19 15:25:47 -07:00
Gary Qian
3c049219e1 Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)
* Transition to Hybrid lib/txt and blink text system.
2017-06-19 15:21:41 -07:00
Chris Bracken
14f2ffaeaa Revert "Update to newer version of the FTL. (#3786)" (#3792)
This reverts commit 1e9e134d7d7444506f3103d673fcd26e4066e80a.
2017-06-19 15:02:52 -07:00
P.Y. Laligand
1e9e134d7d Update to newer version of the FTL. (#3786) 2017-06-19 12:48:23 -07:00
Ryan Macnak
2c611fdac7 [fuchsia] core-jit (#3753) 2017-06-19 12:12:18 -07:00
Ian Hickson
105cc35af3 Allow infinite cull rects. (#3787) 2017-06-16 23:43:12 -07:00
Ian McKellar
d2c77f973d Revert "Initial integration of libtxt with Flutter alongside Blink." (#3785)
* Revert "Enable line join styles and miter limit. (#3777)"

This reverts commit 5403f65bcad98bd0d434cae590e2a337a1ea218c.

* Revert "Revert "Update switches to use StringView." (#3784)"

This reverts commit 80f039ff324b827cc17567867bd17c788277b0cf.

* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit c548c65b5020653087b63f1f156741a1f95b5117.
2017-06-16 15:15:48 -07:00
gspencergoog
5403f65bca Enable line join styles and miter limit. (#3777)
* Add support for join types and miter limits.

* Fix miter limit data type.

* Adding some clearer documentation to painting.dart

* Clarifying more documentation.

* Code review changes

* Fixed debug printing of stroke width and miter limit

* Adding missing periods at the ends of sentences.
2017-06-16 14:48:16 -07:00
P.Y. Laligand
80f039ff32 Revert "Update switches to use StringView." (#3784)
* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit c548c65b5020653087b63f1f156741a1f95b5117.

* Revert "Call Selection.removeSelection if the framework has cleared the selection (#3782)"

This reverts commit e5b79ba63b92aa0c4299836f4433ec0de23b7cb3.

* Revert "Update switches to use StringView. (#3781)"

This reverts commit 07d4357b1ac4c7aa8c13f1627071e43096ef3cc5.
2017-06-16 14:32:09 -07:00
Gary Qian
c548c65b50 Initial integration of libtxt with Flutter alongside Blink. (#3771) 2017-06-16 14:15:53 -07:00
Jason Simmons
e5b79ba63b Call Selection.removeSelection if the framework has cleared the selection (#3782)
Fixes https://github.com/flutter/flutter/issues/10748
2017-06-16 14:01:45 -07:00
P.Y. Laligand
07d4357b1a Update switches to use StringView. (#3781)
See https://fuchsia-review.googlesource.com/#/c/31931/.
2017-06-16 12:51:26 -07:00
Mikkel Nygaard Ravn
784e975672 Add alignment padding to floats in std codec (#3780) 2017-06-15 21:22:18 -07:00
Jason Simmons
ab2bc15fcc Align doubles to 8 bytes in the StandardMessageCodec (#3779)
See https://github.com/flutter/flutter/issues/10701
2017-06-15 21:15:25 -07:00
Alexander Aprelev
f741647d49 Roll Dart dependency (#3778)
* Roll Dart dependency

* Update license file
2017-06-15 14:36:11 -07:00
gspencergoog
18fdfb86bb Removed 'pub get' from the instructions (#3774)
* Removed 'pub get' from the instructions

According to Hixie, 'pub get' is abstracted into flutter packages upgrade, and so there shouldn't be a need to run pub get directly.

* Removed pub get lines entirely.
2017-06-14 16:28:21 -07:00
Michael Goderbauer
cfe70e07d3 Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (#3775)
This reverts commit ffe8181ffe7432b61a67323c80fd8025704e4695.
2017-06-14 16:26:20 -07:00
Jason Simmons
834fb9638e Simplify state management in the Android text editing plugin (#3769)
In particular, this avoids some unnecessary calls to InputMethodManager.restartInput
that caused noticeable lag when moving the cursor.

Fixes https://github.com/flutter/flutter/issues/9928
2017-06-14 10:24:41 -07:00
George Kulakowski
06c91ff232 Use the new MX_OK mx_ (#3768) 2017-06-13 10:12:14 -07:00