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
Gary Qian
3a0422f761
Implement GetGlyphPositionAtCoordinate().
...
Change-Id: I78528de9d4fa1611ceb857790a3b3945c0988c9c
2017-07-07 12:09:14 -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
Gary Qian
7e01820ef8
Prelim ideographic baseline and MinIntrinsicWeight, Arabic test, prepare
...
for RTL language support implementation.
Change-Id: I99a6af74aa3607ff9b58ba98426ad3026f02b816
2017-07-06 14:46:38 -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
Gary Qian
4ed0e488da
Add chinese tests, underline fix, cleanup, move fonts to
...
third_party/fonts.
Change-Id: I1b246534cd364c9e7e3fec3f6bcbe202932fee44
2017-07-06 12:25:48 -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
Gary Qian
b6c6f1780e
Implement wavy text decoration.
...
Change-Id: Ie28dc4e833a24a9661e72f32f54a3e7489f81417
2017-07-05 17:20:11 -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
Gary Qian
42179e5403
Switch to fuchsia/third_party/benchmark
...
Change-Id: I40a9dadc1e910d4eb31085a71a372e2144d2d03d
2017-07-05 12:17:19 -07:00
Gary Qian
45dd415ba5
Add low memory setting on FontCollection. Only remove trailing whitespace at end of line, and do not justify last line.
...
Change-Id: Iee32003624862b3c7f5f2d0e999ef72719302551
2017-06-30 16:51:01 -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
Gary Qian
11580cea63
Move font caches to FontCollection and multiple eviction schemes. ~x200 speed improvement.
...
Change-Id: I1e2f940ddb36f9ac51cc95c42c2f121140ff3f6f
2017-06-30 12:05:11 -07:00
Gary Qian
4c93f0e976
Remove trailing spaces of blobs to fix decoration positioning, justify,
...
and centering.
Change-Id: Ide66103f95be8c090ab5ddc9888cd4defc5cde51
2017-06-29 18:03:48 -07:00
Gary Qian
d6a6221fc8
Switch to hashmap caching of font collections to be resillient to alternating fonts and slight performance improvement.
...
Change-Id: Ide3a311819c41e23e88e6dca06f0ce7669f6842c
2017-06-29 16:14: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
Gary Qian
4ddb034139
Major efficiency improvements, new benches, and API change to allow changing font collections.
...
Change-Id: Id33cdcd161d659310d28dd36f415dc01da2e03a7
2017-06-29 15:09:38 -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
Gary Qian
7e02287cf9
Add additional benchmarks and initial bigO checks.
...
Change-Id: I3d2d9186fb187d55319c10260bf7e0d579c65a6f
2017-06-29 12:49:28 -07:00
Gary Qian
704aa0d2bf
Only obtain new font if font has changed.
...
Change-Id: I9a6316854e13ff5f01a34bbfca8750d223a90af8
2017-06-28 19:52:47 +00:00
Gary Qian
f716e8115c
Add benchmarking.
...
Change-Id: I92b8d1d27d5d6b79a831853446e83086fa56a133
2017-06-28 19:52:43 +00:00
Jason Simmons
29885427b8
Remove warning about a deprecated accessibility API ( flutter/engine#3837 )
2017-06-28 12:47:15 -07:00
George Kulakowski
ea45f66608
Add PATENTS file
...
Change-Id: Ie25d2b4caa6a805ce76a288b41804700d7d37c5a
2017-06-28 17:07:25 +00: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 fdaab5c38f .
* 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
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
Gary Qian
adcdcc19a8
Reorganize text alignment code location and add unit tests.
...
Change-Id: I3ccfb03230050c4c0f8ae4b7d0c73bf6f3b685ae
2017-06-26 14:00:46 -07: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 cadd2d3fca .
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 c49f348d7c .
* 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
Gary Qian
9935045848
Implement initial version of text justification, new tests, and fix bugs
...
with right and center alignment.
Change-Id: I3b6a547e1d81c966b82108c02d60aa7181cb0b87
2017-06-23 17:03:06 -07: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
Gary Qian
1d9ea69014
Begin to move FontCollection to a multi-manager system.
...
Change-Id: Ied69fa2d567f695990a754337bab79dc2f17c6ef
2017-06-22 15:45:47 -07:00
Gary Qian
f17cdae74e
Prevent multiple calls to layout without changing paragraph.
...
Change-Id: I64e81606f095e3029161f5a01623df4c1ccbf5a9
2017-06-22 11:40:42 -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
Gary Qian
b5d528f279
Implemented early version of text alignment/justification and baselines.
...
Change-Id: Id36a20bb9c392f09813175677776d9367d8ccfc2
2017-06-21 15:22:27 -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
Gary Qian
f1a7448f44
Properly implement line spacing.
...
Change-Id: I2f7f7768fc9d6332873f27dce6e058b354b0330d
2017-06-21 12:17:44 -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
Gary Qian
b4c8d2c134
Add support for Decoration Styles, remove usage of separate decoration records.
...
Change-Id: I8fe929b0814b22e37e1517a7ddafb70a1c6b3d37
2017-06-21 10:05:27 -07:00
Todd Volkert
cf8a46f24d
Remove FlutterActivity#onFlutterReady() ( flutter/engine#3806 )
...
Fixes https://github.com/flutter/flutter/issues/10571
2017-06-21 10:03:04 -07:00
Sarah Zakarias
85cb53fac9
Fix compile error in FlutterViewController ( flutter/engine#3807 )
2017-06-21 15:20:52 +02:00
Sarah Zakarias
e0d7204728
Send AppLifecycleState notifications on FlutterViewController lifecycle events. ( flutter/engine#3801 )
2017-06-21 14:39:05 +02:00