2782 Commits

Author SHA1 Message Date
Ryan Macnak
6bcc758317 Restore setting dart_target_arch to fix Windows build. (flutter/engine#3883)
The Windows build does not have an appropriate target_cpu because it is incomplete and does not build the engine.
2017-07-17 13:33:33 -07:00
Todd Volkert
3003fe147a Bump FTL to 438457e7c6325c2b2f36b7d3e9362687d9646fe2 (flutter/engine#3882)
https://github.com/flutter/flutter/issues/11238
2017-07-17 11:28:56 -07:00
Ryan Macnak
2ef24d4d12 Remove word-size mismatch from 32-bit Android debug builds to work wi… (flutter/engine#3879)
Roll Dart to be95b916ddf0af2b204286a438e7169e3bb2c67a.
2017-07-17 09:45:10 -07:00
Chris Bracken
1622edea30 Set iOS text field autocorrection type (flutter/engine#3880)
Adds handling for the autocorrect field on TextField on iOS devices.
2017-07-14 12:43:45 -07:00
freiling
fd6da1b2df [flow] remove flush from SceneUpdateContext::ExecutePaintTasks (flutter/engine#3863)
Instead of flushing each canvas, flush once on the context from which each of the canvas is derived.
This gives us a significant performance increase on the fuchsia vulkan backend
2017-07-14 12:06:10 -07:00
Jason Simmons
d5cca395b2 Invert the autocorrect flag (flutter/engine#3875)
See https://github.com/flutter/engine/pull/3866
2017-07-13 15:33:08 -07:00
Collin Jackson
849b700434 Revert "Reland "Run Flutter on iOS and Android with color correct Skia (#3826)" (flutter/engine#3878)
This reverts commit 3cfb2821b9aa7f288d6aedd9f90c51b11bf451ad.

Fixes a regression with semitransparent images (flutter/flutter#11169)
2017-07-13 14:22:25 -07:00
Michael Goderbauer
f5e0e245ea Fix engine on iOS (flutter/engine#3871)
Related to https://github.com/flutter/engine/pull/3870.
2017-07-12 16:45:45 -07:00
Jason Simmons
a17f541da0 Hold the TestRunner's platform view through a shared_ptr (flutter/engine#3870)
flutter_tester was throwing a bad_weak_ptr while setting up the engine
because the PlatformViewTest was held in a unique_ptr
2017-07-12 16:37:47 -07:00
Michael Goderbauer
e1232ee771 a11y: Add SemanticsAction "showOnScreen" (flutter/engine#3856)
This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen.

iOS implementation to follow.
2017-07-12 15:52:30 -07:00
Zachary Anderson
b8510b2316 [Fuchsia] Pass command line arguments for tracing (flutter/engine#3868) 2017-07-12 15:17:24 -07:00
Jason Simmons
59b447a5fe Enable text autocorrect on Android with a flag to disable it (flutter/engine#3866)
See https://github.com/flutter/flutter/issues/11168
2017-07-12 14:44:20 -07:00
Carlo Bernaschina
c9286a9e4d Add missing virtual methods in PlatformView (flutter/engine#3867) 2017-07-12 13:06:02 -07:00
Carlo Bernaschina
dc20dc0cec Avoid to freeze the system if hot reloading during debug (flutter/engine#3833) 2017-07-12 10:25:42 -07:00
Ryan Macnak
f1085e149e Revert "Avoid spurious descheduling when posting message loop tasks. (#3812)" (flutter/engine#3862)
This reverts commit d040c59bab11ebd16522e18310e2cd33b036b78e.
2017-07-11 14:49:13 -07:00
Jason Simmons
e0315eb27d Do not enter text for key events that are not associated with a character (flutter/engine#3860)
Fixes https://github.com/flutter/flutter/issues/10723
2017-07-10 17:41:14 -07:00
Ryan Macnak
a9fd7aeb98 Revert "Allow SIGQUIT to toggle the vm-service server a la command line Dart. (#3857)" (flutter/engine#3859)
This reverts commit 763427646f5b65561b560a982d0cc64a4d85c2a9.

Fuchsia TO-370
2017-07-10 15:57:26 -07:00
Ryan Macnak
763427646f Allow SIGQUIT to toggle the vm-service server a la command line Dart. (flutter/engine#3857)
Fixes flutter/flutter#9128
2017-07-10 13:08:00 -07:00
James Robinson
d9157e2be2 [fuchsia] Be less specific about location of flutter_runner in flutter_app template (flutter/engine#3855) 2017-07-07 16:55:37 -07:00
Michael Goderbauer
6d198fa1e3 Rename licenses README to get nice formatting on Github (flutter/engine#3853) 2017-07-07 13:02:51 -07:00
Michael Goderbauer
3d3c2636e3 Roll Dart to 1bfd01c1f7a57fed039ce8ab95df2a5f14cf63b6 (flutter/engine#3852)
* Roll Dart to 1bfd01c1f7a57fed039ce8ab95df2a5f14cf63b6

* fix licence
2017-07-07 11:55:07 -07:00
Alexander Aprelev
f559923e43 Use Dart_Closure instead of looking up _getMainClosure (flutter/engine#3850)
* Use Dart_Closure instead of looking up _getMainClosure

* Restore comment

* Fix comment

* Restore comment
2017-07-06 17:53:24 -07:00
Ryan Macnak
cff3c24418 Don't enable_profiling for x86 Android. (flutter/engine#3848)
This somehow introduces text relocations even though we always use -fPIC.
2017-07-06 14:40:34 -07:00
Ryan Macnak
89362b5fa4 Changes to get the profiler working for C code on Android. (flutter/engine#3847)
Roll Dart VM to daa38a2ea21d290e45adb509dc60418b22ec7eba for fix to Thumb profile sample collection.

Roll buildroot to b0b836db790abff26695a944224a4934480f2f48.
2017-07-06 09:40:23 -07:00
Ryan Macnak
d040c59bab Avoid spurious descheduling when posting message loop tasks. (flutter/engine#3812)
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
Jason Simmons
49102a88dd Do not try to apply selections outside the length of the text (flutter/engine#3845)
See https://github.com/flutter/flutter/issues/11041
2017-06-30 14:50:01 -07:00
Ryan Macnak
5d12e39001 GN: Use a depfile when generating the core snapshot. (flutter/engine#3844)
Roll Dart to f445c318184b30b3db997ac27f357bcb5d45670a.

Fuchsia issue TO-365
2017-06-30 13:06:35 -07:00
Michael Goderbauer
d42e03959b Fix a11y scroll direction (flutter/engine#3841)
See also https://github.com/flutter/engine/pull/3701
2017-06-29 15:56:17 -07:00
Alexander Aprelev
3c246d1665 Roll dart and buildroot deps. (flutter/engine#3842)
* Roll dart and buildroot deps since they have to be updated together to get and use prebuilt dart sdk in correct location.

* Update license
2017-06-29 14:27:44 -07:00
Jason Simmons
3d24038b4c Report size estimates to Dart for Image/Picture/Paragraph objects (flutter/engine#3840)
Fixes https://github.com/flutter/flutter/issues/11007
2017-06-29 14:14:33 -07:00
Jason Simmons
b7d0be09b1 Roll Tonic (flutter/engine#3838) 2017-06-29 09:53:56 -07:00
Michael Goderbauer
9b0273e2a7 Roll buildroot to 10383548a4063ad75855527a745e324125cf2210 (flutter/engine#3839) 2017-06-28 16:45:42 -07:00
Jason Simmons
29885427b8 Remove warning about a deprecated accessibility API (flutter/engine#3837) 2017-06-28 12:47:15 -07:00
Alexander Aprelev
f9f75ee26e Fix target name for flutter_patched_sdk so it doesn't conflict with patched_sdk target name, doesn't confuse ninja with depfile defined as .d (flutter/engine#3834) 2017-06-27 17:19:20 -07:00
Brian Osman
3cfb2821b9 Reland "Run Flutter on iOS and Android with color correct Skia (flutter/engine#3826)
* Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (#3823)"

This reverts commit fdaab5c38fa82de669347508817b377285733946.

* Fix test code to match internal API change
2017-06-27 13:30:10 -04:00
Alexander Aprelev
e68386fee6 Generate flutter-flavoured dart patched sdk and platform.dill (flutter/engine#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
3a25188784 upgrade buildroot to pick up analyzer fixes (flutter/engine#3830) 2017-06-26 16:43:22 -07:00
Yegor
3efe108866 preserve Window callback zones (flutter/engine#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
1526bb5c75 Update Dart to 3c543bb210711dd6761d592a863fd6f32e1f1279 (flutter/engine#3827) 2017-06-26 15:06:55 -07:00
Brian Osman
a9ab202fb6 Roll Skia (flutter/engine#3820)
* Roll Skia

* Update licenses
2017-06-26 09:20:28 -04:00
Michael Goderbauer
370fdd56a7 Add Windows support to CONTRIBUTING.md (flutter/engine#3825) 2017-06-23 17:58:57 -07:00
Brian Osman
fdaab5c38f Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (flutter/engine#3823)
This reverts commit cadd2d3fca1103ea0cbfb9f23dbc54907acac759.
2017-06-23 20:28:24 -04:00
Brian Osman
cadd2d3fca Reland "Run Flutter on iOS and Android with color correct Skia" (flutter/engine#3818)
* Revert "Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (#3775)"

This reverts commit c49f348d7c4238d653e7f3bbb8ce7cfab0996ad1.

* 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
09b35b4170 Vulkan on Fuchsia performance tuning (flutter/engine#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
Ian Hickson
8d9bce91dc Roll tonic to pick up my crash fixes (flutter/engine#3816) 2017-06-23 12:32:44 -07:00
Ian Hickson
f18a6da7d7 Throw exceptions rather than crashing when Canvas API is misused. (flutter/engine#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
529ee0bb76 Catch exceptions during invocations of updateSemantics from native code (flutter/engine#3813) 2017-06-22 11:19:32 -07:00
P.Y. Laligand
27b214136e Only add Fuchsia-specific stuff when the current OS is Fuchsia. (flutter/engine#3809)
This allows the shell to be built normally for a Fuchsia host.
2017-06-21 15:40:50 -07:00
Jason Simmons
56a63675a8 Revert to API level 16 compatible variant of AccessibilityNodeInfo.addAction (flutter/engine#3810)
Fixes https://github.com/flutter/flutter/issues/10855
2017-06-21 12:31:08 -07:00
Jason Simmons
e041ba9cd8 Do not call restartInput twice when setting a new text input client. (flutter/engine#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