20087 Commits

Author SHA1 Message Date
Jason Simmons
6e92a5e34d Remove unused code in FontCacheSkia (#2805) 2016-07-19 11:02:53 -07:00
Ryan Macnak
3a4e0a0c80 Only suppress the sampling profiler on Mac/iOS when the engine is in debug mode. Makes the profiler available when using 'flutter run --profile' for iOS. (#2804)
Don't pass the --background-compilation vm flag as it has been enabled by default for quite awhile now.
2016-07-19 10:59:49 -07:00
Chinmay Garde
f738deb0ab Account for surrogate pairs when constructing the string used to pass (#2803)
to CoreText for font fallback selection.
2016-07-18 15:02:40 -07:00
Chinmay Garde
c876974381 Attempt font fallback resolution using CoreText on iOS. (#2800) 2016-07-18 14:58:23 -07:00
John McCutchan
0b1986a5c1 Fix DevFS on Android devices (#2801) 2016-07-18 12:16:57 -07:00
Adam Barth
3291edef41 Add Rect.fromPoints (#2799)
Fixes https://github.com/flutter/flutter/issues/4926
2016-07-15 08:32:59 -07:00
Seigo Nonaka
a0d885bb7f Lookup glyph from color emoji font before and after ZWJ. am: 9431bb9640
am: 9480fd77f5

Change-Id: I6c77cba0290c56995bf56cfb876dd60989e50b9b
2016-07-15 00:28:05 +00:00
Seigo Nonaka
a5bf8fea53 Treat U+2695, U+2640, U+2642 as emoji characters. am: c2642f9a33
am: 249152f8e1  -s ours

Change-Id: Ib77b3862c81da7c58bd64846c0950534c12b5492
2016-07-15 00:27:35 +00:00
Seigo Nonaka
25b0f55817 Add some gender balanced components in to the sticky whitelist. am: fab99dde4b
am: b746bef0ba  -s ours

Change-Id: I3fb287e86b3ecb8a61dca114578fe3a067a4469f
2016-07-14 23:14:28 +00:00
Seigo Nonaka
9480fd77f5 Lookup glyph from color emoji font before and after ZWJ.
am: 9431bb9640

Change-Id: Ic4900b65ed16a2ba3b5431d12a093654b7921a9b
2016-07-14 22:43:47 +00:00
Seigo Nonaka
249152f8e1 Treat U+2695, U+2640, U+2642 as emoji characters.
am: c2642f9a33

Change-Id: I551ee1c4c5368dde3bf2ab7d016634991b62f212
2016-07-14 22:43:47 +00:00
Seigo Nonaka
b746bef0ba Add some gender balanced components in to the sticky whitelist.
am: fab99dde4b

Change-Id: Ieda8b25bba40f22c9d8c33aba590e96e3396f6c4
2016-07-14 22:43:46 +00:00
Chinmay Garde
8baa5615fe Remove third_party/mesa. (#2797) 2016-07-13 16:31:16 -07:00
Jason Simmons
2d6510295c Do not upgrade the version of google_play_services in third_party/android_tools (#2798)
The setup instructions for engine development ask users to run build/install-build-deps-android.sh,
which updates the Android SDK packages listed in android_sdk_extras.json

This process was upgrading the Play Services package to a version that is incompatible
with our build scripts.
2016-07-13 15:45:00 -07:00
Ian Hickson
6303108d45 Drop GCM (#2795) 2016-07-13 14:42:38 -07:00
Jason Simmons
ca72520d93 Provide a PlatformView implementation for Linux (#2796) 2016-07-13 14:39:53 -07:00
Seigo Nonaka
9431bb9640 Lookup glyph from color emoji font before and after ZWJ.
Unicode recommends that the zwj sequences should be emoji presentation
even if they don't have the proper U+FE0F. Thus always lookup the glyph
for the code point before and after zwj as if they have a U+FE0F
variation selector.

Bug: 30056627
Change-Id: I03958a92337eaba4a8dd9c5be824b2665aa4a103
2016-07-13 14:12:06 -07:00
Seigo Nonaka
c2642f9a33 Treat U+2695, U+2640, U+2642 as emoji characters.
Bug: 29885295
Change-Id: I1bf191a46d05e7099265d863bae0523c50817d0b
2016-07-13 14:05:02 -07:00
Seigo Nonaka
fab99dde4b Add some gender balanced components in to the sticky whitelist.
FEMALE SIGN(U+2640), MALE SIGN(U+2642), StAFF OF AESCULAPIUS(U+2695)
will be used as the ZWJ sequenced in gender balanced emoji sequence.
To be in the same run with ZWJ, mark these emoji as sticky chracters.

With this fix, Female police officer sequence will be shown correctly
regardless of VS16.

Bug: 30026374
Change-Id: I503fc061eaa943d45208bb69e885151610c430ce
2016-07-13 14:01:41 -07:00
John McCutchan
3976beb11b Roll Dart forward to e6e61332d6ec7c3bd6c92fa7496282174db521a7 (#2794) 2016-07-13 11:21:45 -07:00
Collin Jackson
1280c527e3 Make FlutterAppDelegate an empty AppDelegate (#2792) 2016-07-12 18:24:40 -07:00
Chinmay Garde
fe69b034c0 Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. (#2783) 2016-07-12 14:47:44 -07:00
Jason Simmons
94753133bb Add missing file from https://github.com/flutter/engine/pull/2791 (#2793) 2016-07-12 11:30:29 -07:00
Jason Simmons
7040ec5855 Use immersive mode on Android when all system UI overlays have been disabled (#2791)
This requires adding a way for platform services (namely SystemChromeImpl) to
listen for activity lifecycle events

Fixes https://github.com/flutter/flutter/issues/4885
2016-07-12 10:12:32 -07:00
Seigo Nonaka
98487de547 Lookup glyph from color emoji font before and after ZWJ.
Unicode recommends that the zwj sequences should be emoji presentation
even if they don't have the proper U+FE0F. Thus always lookup the glyph
for the code point before and after zwj as if they have a U+FE0F
variation selector.

Bug: 30056627
Change-Id: I03958a92337eaba4a8dd9c5be824b2665aa4a103
2016-07-12 10:07:19 +09:00
Jason Simmons
5ccb7f9abd Allow multiple Android resource names for the app bundle (#2790)
Also provide an API for obtaining the path where the app bundle was extracted
2016-07-11 13:44:42 -07:00
Ryan Macnak
a21868833e Roll Dart. (#2789)
- Pick up fix for 64-bit AOT/caching-JIT snapshots.
2016-07-11 13:05:54 -07:00
John McCutchan
b0d50e4860 Fix service isolate startup (#2788) 2016-07-11 10:47:26 -07:00
Adam Barth
469d954a83 Remove spurious log message 2016-07-11 09:41:46 -07:00
Seigo Nonaka
1946f48e84 Treat U+2695, U+2640, U+2642 as emoji characters.
Bug: 29885295
Change-Id: I1bf191a46d05e7099265d863bae0523c50817d0b
2016-07-11 15:27:05 +09:00
Adam Barth
2ee12a847f We need to make these paths absolute before reading them (#2787) 2016-07-08 15:45:04 -07:00
Adam Barth
d95b73bcbd Update Dart (#2786) 2016-07-08 14:45:24 -07:00
Adam Barth
0d2c049fc2 Conditionally enable accessibility (#2785)
Previously we enabled accessibility unconditionally on iOS, which is more
expensive than necessary. We still enable it unconditionally on the simulator
because there's no API for determining whether accessibility is needed on the
simulator.
2016-07-08 14:03:55 -07:00
Adam Barth
304881d62c Don't crash if no root semantics node (#2784)
Fixes #4849
2016-07-08 13:39:39 -07:00
Seigo Nonaka
435076ff2e Add some gender balanced components in to the sticky whitelist.
FEMALE SIGN(U+2640), MALE SIGN(U+2642), StAFF OF AESCULAPIUS(U+2695)
will be used as the ZWJ sequenced in gender balanced emoji sequence.
To be in the same run with ZWJ, mark these emoji as sticky chracters.

With this fix, Female police officer sequence will be shown correctly
regardless of VS16.

Bug: 30026374
Change-Id: I503fc061eaa943d45208bb69e885151610c430ce
2016-07-08 15:49:50 +09:00
Chris Bracken
d5fe823eff Do not convert the package map to an absolute path
Package map entries can contain relative paths.
See related commit: d7d99c6
2016-07-07 14:05:47 -07:00
Adam Buchbinder
6a0900bf65 Merge "Fix a leaked file in HyphTool.cpp." 2016-07-07 20:51:08 +00:00
Adam Barth
574d72fe46 Copy dart_ui and dart_jni to sky_engine package (#2781)
Previously we failed to copy these files to the correct place.
2016-07-07 11:27:23 -07:00
Eric Seidel
af054a4043 Better explain how to use a local engine
Added a section which explains how to get `dart:ui` changes.
2016-07-06 15:28:40 -07:00
Ian McKellar
834d81e12e Better debugging support for flutter on mojo. (#2779)
Add a --pause-isolates-on-start flag to the flutter mojo content
handler to match the one that's supported by the dart mojo content
handler.

Fixes: https://github.com/flutter/flutter/issues/4802
2016-07-01 17:06:40 -07:00
Adam Barth
71ce354a44 Harmonize Android and iOS accessibility bridges (#2777)
These classes now use the same terminology and work in the same way.
Also, change semantics.mojom to use an enumeration of actions instead of
having a separate method per action. This will hopefully scale better.
2016-06-30 16:49:04 -07:00
Jason Simmons
2eb81e33bc Documentation for the dart:jni library (#2774) 2016-06-30 12:33:58 -07:00
Ryan Macnak
398d43e852 Roll Dart to pick up: (#2778)
- clustered serialization (dart-lang/sdk@524fbc1e0f)
 - background finalization (flutter/flutter#3804)
2016-06-30 09:22:30 -07:00
John McCutchan
a757125bae Avoid re-entering the message loop while reloading. Fixes on stack reloading in Flutter embedder. (#2775) 2016-06-30 07:44:54 -07:00
Adam Barth
93753789bb Add isAdjustable to SemanticFlags (#2776) 2016-06-28 15:07:55 -07:00
Seigo Nonaka
524369b0c6 Fix build failure of minikin_perftest
stat.st_size is off_t not size_t, so need to cast to size_t before
compare it.

Change-Id: I6b742746fbb9f254701fc91e515c293f93f912c5
2016-06-28 09:37:17 +00:00
Seigo Nonaka
5e6bc85d69 Introduce FontCollection perftest
This CL introduces performance tests for FontCollection.

To support TTC file in /system/fonts, this CL also extends FontTestUtils

Bug:29142734
Change-Id: I9d8ad24ca55f61031b85623ab7c26234239e4f41
2016-06-28 08:52:35 +00:00
Seigo Nonaka
0ca4fb6d44 Add more native perf tests to minikin.
This CL introduces performance tests for following three modules:
- Hyphenator
- WordBreaker
- GraphemeBreak

During using UnicodeUtils, need to decouple it from gtest since
perftest doesn't have gtest dependencies.

Bug:29142734
Change-Id: I700c662fa7d0a52f19d8e93150ad1a85dc28769f
2016-06-28 16:55:42 +09:00
Chinmay Garde
bb9865538b Rename uri_launcher.mojom to url_launcher.mojom. (#2773) 2016-06-22 17:15:51 -07:00
Todd Volkert
161496dff3 Update Dart to fix crash in DBC (#2772)
https://github.com/flutter/flutter/issues/4560
2016-06-22 09:19:48 -07:00