30246 Commits

Author SHA1 Message Date
Adam Barth
e527c60350 Remove OpenTypeSantizer and brotli
We don't need OpenTypeSantizer or brotli because we don't support loading fonts
over the network. Instead, fonts will need to be packaged inside the Flutter
asset bundle.
2015-12-11 10:32:40 -08:00
Adam Barth
d36924ef49 Remove unused code
We don't use yasm, libjpeg_turbo, or mojo's devtools.
2015-12-11 10:18:50 -08:00
Jason Simmons
4ac818a626 Merge pull request #2168 from jason-simmons/roll_mojo_1210
Update to mojo b7c8cb12f05d3bc1351e65a4f9a84c5d1bcd1704
2015-12-11 09:43:46 -08:00
Seigo Nonaka
eb3ba19800 Remove script matching score from the font selection fallback.
Removing the extra score of 2 for the script matching from the font
fallback score calculation.  If the two langauges have different
scripts, we should treat them as different languages.

Change-Id: Ie0d6f27bd1086248895935a7bd01b5d404044ad0
2015-12-10 18:41:03 -08:00
Jason Simmons
40bf284db1 Update to mojo b7c8cb12f05d3bc1351e65a4f9a84c5d1bcd1704 2015-12-10 16:21:45 -08:00
Chinmay Garde
b22b464b23 Disable symbol stripping on iOS simulator 2015-12-10 16:05:52 -08:00
Seigo Nonaka
01c7dcc124 Copy test font files into data directory.
To work native tests with additional font related files, copy
the files into /data/nativetest/minikin_tests/.
This copy only happens when the minikin_tests is built.
It is not an expected to copy the font files into the product image.

Change-Id: I7d83abc077bce4e38fd93c7d607bc7e1f7871e6b
2015-12-09 14:44:12 -08:00
Adam Barth
259c07646d Rev pub packages 2015-12-09 14:12:48 -08:00
Seigo Nonaka
091810c32b Introduce FontLanguageListCache.
FontLanguageListCache is an intentionally leaky singleton and its
internal cache won't be purged.

BUG: 25122318

Change-Id: I272097e979fe44b83fd86822235350e12eda8f51
2015-12-08 18:49:18 -08:00
Seigo Nonaka
4248406195 Merge "Select emoji font based on variation selectors." 2015-12-08 21:29:42 +00:00
Hixie
a0f509b4a5 Revving engine 2015-12-08 13:13:18 -08:00
Raph Levien
4b48ea9558 Avoid integer overflows in parsing fonts am: 1fd1c39021 am: fa84e49423 am: 47e7a9b486 am: e275a0a2bd
am: bc9873b55a

* commit 'bc9873b55a20b2ae64260add695e4b1a81014ce6':
  Avoid integer overflows in parsing fonts
2015-12-08 11:36:58 -08:00
Raph Levien
bc9873b55a Avoid integer overflows in parsing fonts am: 1fd1c39021 am: fa84e49423 am: 47e7a9b486
am: e275a0a2bd

* commit 'e275a0a2bdd2c06b84e154a3c2c34b8a133048ff':
  Avoid integer overflows in parsing fonts
2015-12-08 19:33:14 +00:00
Raph Levien
e275a0a2bd Avoid integer overflows in parsing fonts am: 1fd1c39021 am: fa84e49423
am: 47e7a9b486

* commit '47e7a9b48626fcc5d15f18994f0382c7b490fd9b':
  Avoid integer overflows in parsing fonts
2015-12-08 11:29:31 -08:00
Raph Levien
47e7a9b486 Avoid integer overflows in parsing fonts am: 1fd1c39021
am: fa84e49423

* commit 'fa84e494232565cf5141bfb6736652fca6c710c2':
  Avoid integer overflows in parsing fonts
2015-12-08 19:22:49 +00:00
Raph Levien
fa84e49423 Avoid integer overflows in parsing fonts
am: 1fd1c39021

* commit '1fd1c390217da22a54b49e9a91bc79b0323e6a73':
  Avoid integer overflows in parsing fonts
2015-12-08 19:17:40 +00:00
Seigo Nonaka
c047506ec2 Select emoji font based on variation selectors.
If U+FE0E is appended to the emoji code point, the glyph should have a
text presentation.
On the other hand, if U+FE0F is appended to the emoji code point, the
glyph should have an emoji presentation.

Bug: 11256006
Change-Id: I5187d44500b13a138e7ffbcf2c72e2da06374c8c
2015-12-07 16:49:16 -08:00
Jason Simmons
3dafc43d14 Rev pub packages 2015-12-07 16:03:25 -08:00
Kris Giesing
ac928678d7 Don't copy mojo keyboard service now that they have diverged.
Related to #299.
2015-12-07 10:42:11 -08:00
Raph Levien
1fd1c39021 Avoid integer overflows in parsing fonts
A malformed TTF can cause size calculations to overflow. This patch
checks the maximum reasonable value so that the total size fits in 32
bits. It also adds some explicit casting to avoid possible technical
undefined behavior when parsing sized unsigned values.

Bug: 25645298
Change-Id: Id4716132041a6f4f1fbb73ec4e445391cf7d9616
(cherry picked from commit 371e5dbb3f)
2015-12-07 17:58:12 +00:00
Adam Barth
582a4968f3 Update pub packages 2015-12-03 15:03:46 -08:00
Jason Simmons
ace8bc0def Merge pull request #2137 from jason-simmons/deferred_import
Load deferred import libraries when building the snapshot
2015-12-03 14:55:23 -08:00
Jason Simmons
b270ae950b Load deferred import libraries when building the snapshot
Without this, Dart will attempt to resolve deferred imports at runtime,
which is not feasible in Flutter
2015-12-03 14:36:44 -08:00
Adam Barth
d73c6c1369 Merge pull request #2129 from domesticmouse/patch-1
Trailing full stop is confusing
2015-12-03 14:32:18 -08:00
George Kulakowski
b994a1b97b Don't warn on maybe-uninitialized in fnl
Our GCC picks up on a bunch of these in release. Suppress this until we
switch to Clang.
2015-12-03 13:44:14 -08:00
Adam Barth
c0af6423c9 Dev pub packages 2015-12-03 11:12:09 -08:00
Adam Barth
5ba9b344f5 Update mojo_sdk Dart package 2015-12-03 10:30:22 -08:00
Brett Morgan
0ba75b89e1 Trailing full stop is confusing
Sample code is not differentiated enough to disambiguate the full stop at the end of the line.
2015-12-03 14:38:07 +11:00
Chinmay Garde
b461c86a92 Merge pull request #2119 from chinmaygarde/master
Only strip executable in release builds on Mac/iOS
2015-11-30 18:47:45 -08:00
Raph Levien
371e5dbb3f Avoid integer overflows in parsing fonts
A malformed TTF can cause size calculations to overflow. This patch
checks the maximum reasonable value so that the total size fits in 32
bits. It also adds some explicit casting to avoid possible technical
undefined behavior when parsing sized unsigned values.

Bug: 25645298
Change-Id: Id4716132041a6f4f1fbb73ec4e445391cf7d9616
2015-11-30 15:08:41 -08:00
Adam Barth
2f32eb8897 Rev pub packages 2015-11-30 12:27:06 -08:00
Chinmay Garde
08d061ef11 Only strip executable in release builds on Mac/iOS 2015-11-30 11:55:46 -08:00
Hixie
50523b130b Have Travis check the build for Dart errors. 2015-11-25 15:10:01 -08:00
Adam Barth
a042dbe953 Flutter for Modroid should use vsync
This patch teaches Flutter how to connect to the vsync service on Modroid.
Also, remove our now-redunant copy of vsync.mojom.

Fixes #589
2015-11-25 13:10:44 -08:00
Hixie
85d9968e60 Rev engine. 2015-11-25 09:58:13 -08:00
Adam Barth
0d0e96e1a4 Rev pub packages 2015-11-24 12:45:02 -08:00
Adam Barth
f054dd8017 Simplify Linux build config 2015-11-21 16:57:12 -08:00
Adam Barth
80b3c4c94a Remove unnecesary DEPS hooks
We don't need to run "pub get" anymore because we don't have any real Dart
packages in this repo anymore.
2015-11-21 16:44:33 -08:00
Ian Hickson
19fdb15e09 Update CONTRIBUTING.md 2015-11-21 16:15:47 -08:00
Hixie
ba61d37e6e rev to 0.0.62. 2015-11-21 16:10:17 -08:00
Adam Barth
ef8d9404fe Update Dart SDK to latest stable version 2015-11-21 12:02:33 -08:00
Ian Hickson
924ee561e0 Rev the engine again. 2015-11-20 21:53:37 -08:00
Kris Giesing
3705d8e6c5 Update version to 0.0.60 2015-11-20 15:36:05 -08:00
Kris Giesing
201d3fe369 Update version to 0.0.59 2015-11-20 14:06:45 -08:00
Kris Giesing
1737c3141f Remove patch step from mojo roll 2015-11-20 13:49:10 -08:00
Chinmay Garde
b36a261600 Strip executables on Mac and iOS 2015-11-20 11:43:35 -08:00
Seth Ladd
fec8bce555 Fix link to flutter CONTRIBUTING.md 2015-11-20 10:33:00 -08:00
Seigo Nonaka
ff9d1a5484 Merge "Search all families instead of using mRanges for variation sequence." 2015-11-20 05:46:31 +00:00
Jason Simmons
fabfe649e2 Rev pub packages 2015-11-19 14:16:46 -08:00
Jason Simmons
6d411701f3 Merge pull request #2082 from jason-simmons/apk_upload_artifacts_2
Upload artifacts as a zip file
2015-11-19 14:12:40 -08:00