608 Commits

Author SHA1 Message Date
James Robinson
881c22cf10 Disable GN check for conditionally included headers (#4026)
GN check can't understand preprocessor defines, so we have to disable
checking for these conditionally included headers.
2017-08-28 15:06:53 -07:00
Chinmay Garde
217ba07f5d Update ICU to ToT and ensure that slimmed down versions of data files are shipped on the mobile platforms. (#4005)
This reduces the size of the ICU data files from 10.3 MB to 6.6 MB (uncompressed). Also allows us to remove version specific hacks from libTXT and dependencies.
2017-08-24 14:26:07 -07:00
Ian Hickson
49d06b3860 Revert "Pass TextDirection to ParagraphBuilder. (#4001)" (#4004)
This reverts commit 86591145a320f2978c3f4c742c972a32bb8cb02a.
2017-08-23 11:14:26 -07:00
Ian Hickson
86591145a3 Pass TextDirection to ParagraphBuilder. (#4001) 2017-08-23 10:34:57 -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
George Kulakowski
06c91ff232 Use the new MX_OK mx_ (#3768) 2017-06-13 10:12:14 -07:00
Adam Barth
da0b1f5a36 Make microtask queue be per thread (#3644)
Previously, it was a static. Doesn't have much effect in practice because we
only use this microtask queue for main isolates, which exist on a single
thread.
2017-05-04 15:06:43 -07:00
P.Y. Laligand
4f8a92ae40 Allow Flutter shell to build for a Mac Fuchsia host. (#3625) 2017-04-25 07:38:08 -07:00
Ryan Macnak
1fed16fb25 Adjust GN for removal of libdart, take two. (#3584)
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
6d4b153ba8 Revert "Adjust GN for removal of libdart. (#3583)"
This reverts commit f5d0004ebd0db95c4019ca27fde2aceb0b3fe3e3.
2017-04-10 17:07:28 -07:00
Ryan Macnak
f5d0004ebd Adjust GN for removal of libdart. (#3583) 2017-04-10 16:42:27 -07:00
Chinmay Garde
981ef6f4b9 Make sure to hit the test font resolver in case of empty font family name. (#3571) 2017-04-06 12:38:10 -07:00
Jason Simmons
29f289acbb Remove dart:jni (#3546)
Fixes https://github.com/flutter/flutter/issues/9129
2017-03-31 13:07:52 -07:00
Chinmay Garde
0517edf1de Remove dependency on FontConfig. (#3530) 2017-03-27 16:11:57 -07:00
Chinmay Garde
92c357ed15 Allow registering multiple task observers per message loop. (#3509) 2017-03-23 15:29:33 -07:00
James Robinson
2adbac18b2 Only depend on //flutter/fml from sky/engine/web in non-Fuchsia builds (#3502) 2017-03-22 18:29:42 -07:00
Chinmay Garde
1c07ea530f Remove uses of //base from all //flutter projects and replace them with //fml variants. (#3492) 2017-03-22 15:42:51 -07:00
Chinmay Garde
4562b835ca Roll Skia revision to 3f81f3703a68755c88f5cc4a87728b98f34c4cd4 (#3438) 2017-02-23 17:58:05 -08:00
Chinmay Garde
d7199e513c Update skia to 1c8e82b72bfeb1a02297688cf082c365b62705f7 (#3433) 2017-02-16 15:40:11 -08:00
xster
ffde33dc11 Fix multi-font ttc rendering for iOS (#3418)
Merged iOS and Android font fallback mechanisms and push font discovery logic into skia
2017-02-14 23:54:39 -08:00
Chinmay Garde
d58696936f Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. (#3409) 2017-02-10 16:01:36 -08:00
Matt Perry
2efc78cc24 Stop processing multiline text after maxLines. (#3342)
Added a Paragraph.didExceedMaxLines property to query when this occurs.

Needed for https://github.com/flutter/flutter/issues/7271
2017-01-18 10:53:24 -05:00
Matt Perry
17237e98dd Add support for a maxLines property on Paragraph. (#3338)
Also fix 'ellipsis' overflow handling to work for multiline text.

Fixes https://github.com/flutter/flutter/issues/7271
2017-01-17 13:55:43 -05:00
Zachary Anderson
4d811cd43b Include Observatory on Fuchsia (#3326) 2017-01-06 15:13:20 -08:00
Chinmay Garde
b03af31861 Re-format all GN files using gn format. (#3319) 2017-01-03 15:59:48 -08:00
teisenbe
5fe37a2251 Fuchsia: Switch to new VM interface (#3315) 2016-12-16 14:34:55 -08:00
Dan Afergan
0ebc19cdb0 mx_size_t -> size_t (#3300) 2016-12-08 14:49:07 -08:00
Chinmay Garde
55ed56040d Add testonly = true to the flutter/testing target and disable WTF tests that depend on ICU. (#3271) 2016-11-23 16:12:39 -08:00
Chinmay Garde
c4bd577379 On host targets, add dependencies on host unit test executables. (#3269) 2016-11-23 15:57:52 -08:00
Chinmay Garde
88a0832247 Remove defunct references to third_party/iccjpeg and third_party/qcms. (#3262)
The same will be removed from buildroot as well.
2016-11-22 17:26:32 -08:00
Ian Hickson
770c9e8330 Delete COPYING (#3253)
This file is identical (to the byte) to the LICENSE file in the same directory, and no file in this directory refers to it.
2016-11-22 12:13:04 -08:00
Chinmay Garde
036bc0d356 Update Skia and get using its BUILD.gn instead of maintaining own own copy. (#3233) 2016-11-17 12:36:16 -08:00
Adam Barth
cfe69e4e85 Catch a missing font provider earlier (#3222)
Rather than hitting an assert in platform-independent code, we now trigger an
assert closer to the relevant code when the font provider is missing.
2016-11-15 20:17:45 -08:00
Adam Barth
ced9a91c3a Switch Flutter to //lib/fidl (#3206) 2016-11-07 15:51:42 -08:00
Jeff Brown
3f564f28f3 Remove use of magenta/process.h. (#3188) 2016-10-29 18:25:24 -07:00
Adam Barth
63e71803de Unlink from mojo (#3187)
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
Adam Barth
4b8c9051e5 Remove last mojom interface (#3184)
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Jason Simmons
4508530b39 Improvements to the text ellipsizer (#3174)
Fixes https://github.com/flutter/flutter/issues/6450
2016-10-26 16:59:45 -07:00
Jason Simmons
9f65114e20 Provide the paragraph style at ParagraphBuilder construction time (#3171)
This enables text span styles to inherit attributes from the paragraph style
2016-10-25 10:58:05 -07:00
Adam Barth
123e9c8da8 Update Skia (#3157) 2016-10-20 13:23:09 -07:00
James Robinson
e980741445 Annotate flutter_wtf_unittests as testonly (#3104)
This allows setting testonly=true for gtest in the Fuchsia build.
2016-10-06 15:01:33 -07:00
Adam Barth
166f44c0f7 Remove pointer.mojom (#3102)
This patch moves the rest of the clients to use the new PointerData
transport.
2016-10-06 10:59:30 -07:00
Jeff Brown
d755b30ffd Update skia to e038489a743d6c0ab1cb208862c305180815bc8e. (#3074) 2016-09-28 19:39:19 -07:00
Jason Simmons
d46107120a Revise the paragraph style API to include custom ellipsis strings (#3071) 2016-09-28 15:52:31 -07:00
Chinmay Garde
1d5d783d83 GN updates for Linux host builds. (#3072) 2016-09-28 14:58:53 -07:00
James Robinson
4014a5be48 Revert "Roll to mojo/public @ 672a0b6386e3d15615928a22ce9df7da8395f253 (#3063)" (#3066)
This reverts commit cfc2b0cd1b6cab4f561cea643a64e867ff995917.

The include paths for GL headers in mojo/public are busted
2016-09-27 16:32:38 -07:00
James Robinson
cfc2b0cd1b Roll to mojo/public @ 672a0b6386e3d15615928a22ce9df7da8395f253 (#3063) 2016-09-27 15:39:18 -07:00
James Robinson
83c01acce1 Revert "Roll to mojo/public @ e8a607c6f017017faf9aac73bc881c419a71f902 (#3052)" (#3062)
This reverts commit 92fdf25d391ff4518885bbbee768053f84563923.

This breaks the android x86 build:

gn gen --check in out/android_debug_x64
ERROR at //mojo/public/tools/BUILD.gn:59:9: Assertion failed.
        assert(current_cpu == "arm",
        ^-----
Only arm version prebuilt netowrk_service.mojo is available.
step returned non-zero exit code: 1
2016-09-27 14:11:08 -07:00
James Robinson
92fdf25d39 Roll to mojo/public @ e8a607c6f017017faf9aac73bc881c419a71f902 (#3052) 2016-09-27 13:07:47 -07:00
Jason Simmons
8eab44c623 Implement ellipsizing of text in the engine (#3056)
See https://github.com/flutter/flutter/issues/4478
2016-09-26 11:30:11 -07:00