30246 Commits

Author SHA1 Message Date
Jason Simmons
d58a818efc Update scripts for renaming of sky_shell binaries to flutter (flutter/engine#3526) 2017-03-27 15:06:39 -07:00
Jason Simmons
4b2047cdfb Update the docs for the license script (flutter/engine#3525) 2017-03-27 14:27:31 -07:00
Chinmay Garde
6b31213bc7 Rename sky_shell to flutter_tester. (flutter/engine#3521) 2017-03-27 13:09:36 -07:00
Jason Simmons
3cf3a20d3d Fix Javadoc on FlutterMethodChannel (flutter/engine#3522) 2017-03-24 18:23:51 -07:00
Chinmay Garde
7beff03713 Remove libsky_shell.so to libflutter.so. (flutter/engine#3517) 2017-03-24 16:25:33 -07:00
Chinmay Garde
f788187209 Directly generate flutter.jar without APK generation. (flutter/engine#3516) 2017-03-24 15:51:51 -07:00
Jason Simmons
46f0f0b89e Ensure that the license script does not mix state among components (flutter/engine#3514)
The script keeps state in the objects representing the repository files,
and it also maintains a cache of licenses.  This state should be freshly
recreated for each component so data from previous components does not
leak through.
2017-03-24 15:28:29 -07:00
Jason Simmons
e9635a42c5 Add .DS_Store to the license script's file name filter (flutter/engine#3507)
Fixes https://github.com/flutter/flutter/issues/8968
2017-03-24 10:51:17 -07:00
Jason Simmons
b7bbd71f79 Update Canvas.drawVertices to match Skia's latest interface (flutter/engine#3505)
Fixes https://github.com/flutter/flutter/issues/8809
2017-03-24 10:40:19 -07:00
Chinmay Garde
d9bca1929d Avoid linking to GL from the Linux test shell. (flutter/engine#3512) 2017-03-23 16:22:40 -07:00
Chinmay Garde
e037d8e45f Remove last reference to //base from //flutter/shell/platform/linux. (flutter/engine#3511) 2017-03-23 16:01:35 -07:00
Chinmay Garde
3a61e688df Remove the interactive mode on the Linux test shell. (flutter/engine#3510) 2017-03-23 15:52:54 -07:00
Chinmay Garde
025ed263be Allow registering multiple task observers per message loop. (flutter/engine#3509) 2017-03-23 15:29:33 -07:00
Chinmay Garde
52bf72fb46 Add fml::paths::GetExecutableDirectoryPath. (flutter/engine#3508) 2017-03-23 15:20:52 -07:00
P.Y. Laligand
458075d867 Generate a depfile for assets of a flutter_app. (flutter/engine#3497) 2017-03-23 09:43:37 -07:00
James Robinson
c206ff78ab Disable gn check for glue/trace_event.h non-Fuchsia path (flutter/engine#3501)
gn check does not run a C preprocessor, so it cannot understand that a
particular include does not apply to a particular build configuration.
2017-03-22 18:28:27 -07:00
Seigo Nonaka
6a5534a437 Remove unused functions.
This CL is essentially reverting following changes:
- "Serialize and deserialize supported axes."
  I4086fb887e13f872390b533584bce6f1d5598ea0
- "Make SparseBitSet serializable."
  I0463138adcf234739bb3ce1cdadf382021921f3e

Bug: 36232655
Test: N/A
Change-Id: I25c701e1805e92b01034142147a9925f86533819
2017-03-22 16:00:35 -07:00
Chinmay Garde
6ff5a41327 Remove uses of //base from all //flutter projects and replace them with //fml variants. (flutter/engine#3492) 2017-03-22 15:42:51 -07:00
Jason Simmons
0d3611119a Improve the shadow drawing parameters (flutter/engine#3499)
See https://github.com/flutter/flutter/issues/8929
2017-03-22 14:47:57 -07:00
Jason Simmons
7f239fb876 Apply the file name filter to all licensed files (not just source/text files) (flutter/engine#3491)
Fixes https://github.com/flutter/flutter/issues/8115
2017-03-22 14:29:27 -07:00
Mikkel Nygaard Ravn
6dd8ce0317 Better value coverage of Flutter standard codec on iOS. Unit tests added. (flutter/engine#3498) 2017-03-22 20:23:23 +01:00
Seth Ladd
502a1ed9ca link from Color to Colors (flutter/engine#3494)
* link from Color to Colors

* from review
2017-03-22 11:17:16 -07:00
Hans Muller
6a452f9ebd Color operator== should compare runtimeTypes (flutter/engine#3495) 2017-03-22 10:58:03 -07:00
Mikkel Nygaard Ravn
0027d03af9 Revert "Improved value coverage of Flutter standard codec. Added unit tests. (#3493)" (flutter/engine#3496)
This reverts commit 3f0d2dc586.
2017-03-22 15:48:59 +01:00
Mikkel Nygaard Ravn
3f0d2dc586 Improved value coverage of Flutter standard codec. Added unit tests. (flutter/engine#3493) 2017-03-22 14:54:12 +01:00
Chinmay Garde
db14a133e2 The Darwin FML backend. (flutter/engine#3490) 2017-03-20 15:47:40 -07:00
Chinmay Garde
d41b5c8298 The Android FML backend. (flutter/engine#3489) 2017-03-20 15:18:01 -07:00
Chinmay Garde
185e75f6ad The Linux FML backend. (flutter/engine#3488) 2017-03-20 14:49:10 -07:00
Jason Simmons
6daf9aeefd Canvas.drawShadow API based on SkShadowUtils::drawShadow (flutter/engine#3486) 2017-03-20 14:17:47 -07:00
Chinmay Garde
7143d8d1d9 Implementations of platform agnostic portions of FML. (flutter/engine#3487) 2017-03-20 13:41:41 -07:00
TreeHugger Robot
ad55a59727 Merge "Expose supportedAxes to frameworks/base" 2017-03-20 17:37:07 +00:00
Adam Barth
401710fd27 Conform to platform protocol (flutter/engine#3485)
The Android and iOS versions of this function had diverged. This patch
makes the iOS version match the Android version (and what the framework
expects).

Fixes https://github.com/flutter/flutter/issues/8878
2017-03-18 13:35:43 -07:00
Roozbeh Pournader
aa928e61b7 Relax requirement for text variation sequences
Previously, we insisted that in order for us to claim that a text variation
sequence is supported or to display it, it needs to be standardized already.
Now we accept any character as the base of a text variation sequence and
support it as far the font used to display it is not an emoji font.

Also fix a typo in a font name.

Test: Unit tests are updated and pass.

Bug: 30874706
Change-Id: I9660ec43aeee84303cfb825352a7f5029d036dd6
2017-03-17 17:25:37 -07:00
Roozbeh Pournader
8eb2df1a8e Remove workaround for line breaks around currency symbols
This is now done properly in ICU so we no longer need to do it ourselves.

Also updated some comments about emoji line-breaking.

Test: Existings tests for this in Minikin continue to pass.
Bug: 24959657
Bug: 27365282
Change-Id: I865ea9ba1e79a64409d84d2d30c121f740e35ad6
2017-03-17 15:42:49 -07:00
Roozbeh Pournader
215f7ff8d0 Update Minikin to use ICU's emoji data
Certain differences are still needed, since ICU appears to support
Emoji 4.0 only, while we need Emoji 5.0. But the bulk of the data is
now carried by ICU.

We no longer need the script that generates the tables, so that's
also removed.

Test: Comprehensive unit tests added.
Bug: 27365282
Bug: 30874706
Change-Id: I011443fbca9bb202deff7fffb40043f89e1f1fb1
2017-03-17 14:58:01 -07:00
TreeHugger Robot
a5b935ff67 Merge "Introduce FontCollection construct perf test" 2017-03-17 19:33:45 +00:00
Seigo Nonaka
2d0bfff203 Introduce FontCollection construct perf test
Test: ran minikin_perftest
Bug: 36232655
Change-Id: Ic4d88663d522be17540e2ac17c9b7ae64210275f
2017-03-17 07:42:21 -07:00
Mikkel Nygaard Ravn
ac754da610 Remove old flutter messaging API (flutter/engine#3482)
Breaking change: removed facilities for JSON and string messaging from FlutterView/FlutterViewController, leaving only binary messaging there. All other use of flutter communication now goes through FlutterMessageChannel and FlutterMethodChannels. Retained use of String and JSON codecs for now.

Companion flutter PR: flutter/flutter#8837
2017-03-17 09:04:59 +01:00
TreeHugger Robot
e4e4ea1ede Merge "Update emoji character data in Minikin" 2017-03-17 03:20:24 +00:00
Chris Bracken
c7a35cdc80 dart_runtime_hooks: revert to syslog() call (flutter/engine#3484)
Fixes buildbot error use of undeclared identifier 'asl_log_message',
which I'm unable to repro locally.
2017-03-16 19:09:39 -07:00
Chris Bracken
b4f50b27ce Perform all iOS logging through ASL (flutter/engine#3481)
* Perform all iOS logging through ASL

As of iOS 10, ASL is deprecated and replaced with os_log. ASL calls
continue to result in logging but as of iOS 10.3, only ASL_LOG_NOTICE
level and above are logged.

This change partially reverts d67972d649,
adding back stdout and stderr redirection, which resulted in loss of
some direct writes to stdout that were necessary for debugging.

This change replaces the direct use of syslog with ASL on iOS, which
Apple has stated will continue to log on iOS >= 10. This eliminates the
need for the previous fwd-declaration of syslog.
2017-03-16 18:50:33 -07:00
Roozbeh Pournader
3d10a1ed4f Update emoji character data in Minikin
Update emoji character data to Unicode 10.0 / Emoji 5.0 (which also
removes U+1F93B MODERN PENATHLON from the emoji base letters).

Also add unit tests for line breaking for new characters (based on
earlier work by Seigo Nonaka).

Test: All new and existing unit tests pass;
Test: Manually tested line breaking of new emojis in TextView.

Bug: 28364892
Bug: 28678294
Bug: 30874706
Change-Id: I367cdab09187dc08a66a3112a5181a2b7fb338a5
2017-03-16 18:29:01 -07:00
TreeHugger Robot
bbc4943973 Merge "Update emoji grapheme breaking rules" 2017-03-16 22:54:13 +00:00
TreeHugger Robot
61bb3fbc81 Merge "Refactor WordBreaker" 2017-03-16 21:20:15 +00:00
Roozbeh Pournader
f2fd20ec54 Update emoji grapheme breaking rules
The rules are updated to the latest UAX #29, with tailorings based on
the font in use: we can now use the clustering information
calculated by Layout, so we will only disallow a grapheme break if an
emoji ligature is actually formed.

Test: Unit tests have been updated and pass.
Bug: 30917298
Bug: 34211654
Change-Id: Idc0ef9f1f4f45dc45a50ed69e45c43ebfaea0306
2017-03-16 13:34:52 -07:00
Roozbeh Pournader
f3399b503e Refactor WordBreaker
Refactor WordBreaker to make it ready for more complex behavior.

Test: existing unit tests continue to pass
Change-Id: Ife758f3e2cf48922ab56109e6c5d3cffa3673feb
2017-03-16 12:23:08 -07:00
TreeHugger Robot
464d63f0d8 Merge "Introduce minikin_stress_tests to find race condition." 2017-03-16 00:50:50 +00:00
TreeHugger Robot
4b613e361b Merge "Serialize and deserialize supported axes." 2017-03-15 23:30:30 +00:00
Seigo Nonaka
e64e9b2176 Introduce minikin_stress_tests to find race condition.
This is designed for catching race condition.
The stress_tests is splited from unit test binary since this takes
30 seconds on angler.

Bug: 36223724
Bug: 36208043
Test: ran minikin_stress_tests
Change-Id: I1bf4ba43e6e97cd04e7d6dd42d388dd17ce64c7b
2017-03-15 16:11:33 -07:00
TreeHugger Robot
0c8d074c0c Merge "Fallback from script-specific hyphens to normal hyphen first" 2017-03-15 22:45:31 +00:00