20087 Commits

Author SHA1 Message Date
Adam Barth
18dccb4cbb Remove libxml and modp_b64
These were used only for base's test framework, which we don't need.
2015-12-11 11:06:06 -08:00
Adam Barth
92a516a5c1 Merge pull request #2170 from abarth/rm_ots
Remove OpenTypeSantizer and brotli
2015-12-11 10:58:23 -08:00
Adam Barth
a14d4ed590 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
3ea80cdc6c Merge pull request #2169 from abarth/rm_used_code
Remove unused code
2015-12-11 10:22:03 -08:00
Adam Barth
fb374a9f5a Remove unused code
We don't use yasm, libjpeg_turbo, or mojo's devtools.
2015-12-11 10:18:50 -08:00
Jason Simmons
86e9b92679 Merge pull request #2168 from jason-simmons/roll_mojo_1210
Update to mojo b7c8cb12f05d3bc1351e65a4f9a84c5d1bcd1704
2015-12-11 09:43:46 -08:00
Seigo Nonaka
43bb9743ca 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
Chinmay Garde
218794fe74 Merge pull request #2167 from chinmaygarde/master
Automatically switch to using script snapshots on iOS simulator
2015-12-10 16:24:34 -08:00
Jason Simmons
4a8402f7a1 Update to mojo b7c8cb12f05d3bc1351e65a4f9a84c5d1bcd1704 2015-12-10 16:21:45 -08:00
Chinmay Garde
d6b50a6ef3 Xcode project updates for switching to script snapshotting on iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
d8e9f2cdcf Disable symbol stripping on iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
8fe436ec11 Sidestep precompilation snapshot creation iOS simulator in Xcode 2015-12-10 16:05:52 -08:00
Chinmay Garde
59c74ab9d0 Pass the path to the script snapshotter to flutter build but only use precompilation on non x86_64 targets 2015-12-10 16:05:52 -08:00
Chinmay Garde
449176fb73 Generate and place the script snapshotter in the SDK directory for iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
4aa37e086a Load the application from the flx bundle on iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
8bc5a87887 Explicitly depend on snapshot_cc on iOS simulator variants 2015-12-10 16:05:51 -08:00
Ian Hickson
c3a587b501 Merge pull request #2166 from Hixie/dart-ui
Make defaultRouteName immutable.
2015-12-10 10:31:08 -08:00
Hixie
33a1848129 Make defaultRouteName immutable.
And trivial docs changes.
2015-12-10 10:21:00 -08:00
Ian Hickson
49a8dfb3bf Merge pull request #2165 from Hixie/hashCodes
Provide an API for hashCode getters.
2015-12-10 07:52:25 -08:00
Ian Hickson
6b99c214b2 Provide an API for hashCode getters. 2015-12-09 22:34:56 -08:00
Ian Hickson
61b16cbaa4 Merge pull request #2164 from Hixie/remove-back
Remove old 'back' callback, and add dartdocs.
2015-12-09 22:32:08 -08:00
Ian Hickson
954c3062ea Remove old 'back' callback, and add dartdocs.
This adds some dartdocs to dart:ui, specifically for Window and friends.
2015-12-09 22:27:52 -08:00
Seigo Nonaka
efaf02ea3a 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
5c80bf02c9 Rev pub packages 2015-12-09 14:12:48 -08:00
Jason Simmons
23eaba7dcf Merge pull request #2162 from jason-simmons/sound_pool
Mojo wrapper for the Android SoundPool API
2015-12-09 14:12:31 -08:00
Adam Barth
35ce474456 Merge pull request #2161 from abarth/text_decoration
Improve FontWeigh and TextDecoration
2015-12-09 14:11:01 -08:00
Adam Barth
88758d8650 Improve FontWeigh and TextDecoration
Instead of using enums, these are now real classes, which lets us add `bold`
and `normal` alias to FontWeight and a `combine` constructor to TextDecoration.
2015-12-09 14:06:52 -08:00
Jason Simmons
2f711bcee3 Mojo wrapper for the Android SoundPool API 2015-12-09 13:57:01 -08:00
Chinmay Garde
3b5acbcd3a Merge pull request #2160 from chinmaygarde/master
Update Dart dependency to include fixes in x64 Dart precompilation
2015-12-09 13:31:52 -08:00
Chinmay Garde
8638005427 Update Dart dependency to include fixes in x64 Dart precompilation 2015-12-09 13:23:03 -08:00
Chinmay Garde
1d096cd954 Merge pull request #2158 from chinmaygarde/master
Require the user to specify the DART_SDK_PATH manually in Xcode
2015-12-09 13:22:26 -08:00
Chinmay Garde
87f766a94d Require the user to specify the DART_SDK_PATH manually in Xcode 2015-12-09 11:55:52 -08:00
Ian Hickson
26a4aa6e60 Merge pull request #2157 from Hixie/pointers
Fix mouse on linux.
2015-12-09 10:26:42 -08:00
Hixie
9236be1360 Fix mouse on linux. 2015-12-09 10:16:23 -08:00
Seigo Nonaka
6d9dcd2cf3 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
Adam Barth
3f292530ae Merge pull request #2156 from abarth/fix_empty_crash
Fix crash with empty rect
2015-12-08 14:47:23 -08:00
Adam Barth
198094e427 Fix crash with empty rect
Don't attempt to draw with a zero-by-zero window.
2015-12-08 14:46:35 -08:00
Seigo Nonaka
a47969c90a Merge "Select emoji font based on variation selectors." 2015-12-08 21:29:42 +00:00
Ian Hickson
a58dc499c4 Merge pull request #2155 from Hixie/rev
Revving engine
2015-12-08 13:13:49 -08:00
Hixie
d0aa83cc03 Revving engine 2015-12-08 13:13:18 -08:00
Ian Hickson
2d95d0ad16 Merge pull request #2153 from Hixie/mojo-pointer
Fix pointers in mojo.
2015-12-08 13:11:14 -08:00
Hixie
07aa429175 Fix pointers in mojo.
Make the mojo implementation of the pointer packet logic fake move
events when it would send ups or downs without corresponding moves.
2015-12-08 13:07:31 -08:00
Matt Perry
4b6b031130 Merge pull request #2152 from mpcomplete/updater.on
Turn on FLX updater.
2015-12-08 16:06:42 -05:00
Adam Barth
db5772968a Merge pull request #2154 from abarth/better_crash_fix
Improve the crash fix in rasterizer_mojo
2015-12-08 12:57:35 -08:00
Adam Barth
535afcb092 Improve the crash fix in rasterizer_mojo
The previous version can still crash if we try to draw between the time when we
initialize context_ and when we actually make the MGL context current.
2015-12-08 12:51:50 -08:00
Raph Levien
a1d81a1797 Avoid integer overflows in parsing fonts am: 6299a6ba13 am: 998293f985 am: ffadd191a0 am: d56908571d am: 7aec64b909 am: 8921cfe226
am: 868eaf86be

* commit '868eaf86be0ba319653a3fabc8893d7d6eaedb21':
  Avoid integer overflows in parsing fonts
2015-12-08 19:58:04 +00:00
Raph Levien
868eaf86be Avoid integer overflows in parsing fonts am: 6299a6ba13 am: 998293f985 am: ffadd191a0 am: d56908571d am: 7aec64b909
am: 8921cfe226

* commit '8921cfe226e9b7774810c9711579586b5b227b82':
  Avoid integer overflows in parsing fonts
2015-12-08 19:54:42 +00:00
Matt Perry
6a2f58091f Turn on FLX updater. 2015-12-08 14:41:32 -05:00
Raph Levien
8921cfe226 Avoid integer overflows in parsing fonts am: 6299a6ba13 am: 998293f985 am: ffadd191a0 am: d56908571d
am: 7aec64b909

* commit '7aec64b9099d0b5bbbe766a2c29b9f09f0939a4c':
  Avoid integer overflows in parsing fonts
2015-12-08 11:36:58 -08:00
George Kulakowski
c95497153c Merge pull request #2151 from abarth/fix_crash
Don't crash when RasterizerMojo::Draw happens without a context
2015-12-08 13:34:30 -06:00