Raph Levien
7aec64b909
Avoid integer overflows in parsing fonts am: 6299a6ba13 am: 998293f985 am: ffadd191a0
...
am: d56908571d
* commit 'd56908571d3dc28686a198484d1cc8a399276d86':
Avoid integer overflows in parsing fonts
2015-12-08 19:33:14 +00:00
Adam Barth
535eb30855
Don't crash when RasterizerMojo::Draw happens without a context
...
If we don't have a context, we can't draw, so bail out early.
2015-12-08 11:32:30 -08:00
Raph Levien
d56908571d
Avoid integer overflows in parsing fonts am: 6299a6ba13 am: 998293f985
...
am: ffadd191a0
* commit 'ffadd191a041f16c52b693d8dc0c42b3b9f01b2b':
Avoid integer overflows in parsing fonts
2015-12-08 11:29:31 -08:00
Raph Levien
ffadd191a0
Avoid integer overflows in parsing fonts am: 6299a6ba13
...
am: 998293f985
* commit '998293f985dc6c23f90b160f3bc647807c76d3fe':
Avoid integer overflows in parsing fonts
2015-12-08 19:22:49 +00:00
Raph Levien
998293f985
Avoid integer overflows in parsing fonts
...
am: 6299a6ba13
* commit '6299a6ba13906c695f7a4f6748f7bc5856a110e5':
Avoid integer overflows in parsing fonts
2015-12-08 19:17:40 +00:00
Seigo Nonaka
369d2d44cb
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
240e2c508b
Merge pull request #2150 from jason-simmons/engine_release_1207
...
Rev pub packages
2015-12-07 16:07:19 -08:00
Jason Simmons
8b7445142a
Rev pub packages
2015-12-07 16:03:25 -08:00
Jason Simmons
4effc3e961
Merge pull request #2149 from jason-simmons/platform_locale
...
Tell Flutter about the host platform's locale
2015-12-07 16:01:01 -08:00
Jason Simmons
98427a2763
Tell Flutter about the host platform's locale
2015-12-07 14:27:22 -08:00
krisgiesing
6d0c4e52d8
Merge pull request #2148 from krisgiesing/kbd_roll
...
Don't copy mojo keyboard service now that they have diverged.
2015-12-07 11:22:16 -08:00
Kris Giesing
3c47bd4877
Don't copy mojo keyboard service now that they have diverged.
...
Related to #299 .
2015-12-07 10:42:11 -08:00
Raph Levien
6299a6ba13
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 183c9ec2800baa2ce099ee260c6cbc6121cf1274)
2015-12-07 17:58:12 +00:00
Ian Hickson
66b4b8daa9
Merge pull request #2147 from Hixie/RRect
...
Make RRect useful
2015-12-06 18:01:31 -08:00
Ian Hickson
5bf05d6d88
Make RRect useful
...
Other changes:
- Remove the default constructor for RRect and Rect.
- Add trailing periods to Offset comments.
- Add Offset.distanceSquared for people who want to compare x^2+y^2
to r^2 without paying the cost of the sqrt. (Corresponding fix to
OvalRect coming in a separate flutter patch.)
- Fix a bug in Rect.lerp().
- Fix various Rect comments.
- Remove a "var" in Rect.
Fixes #769 .
2015-12-06 17:54:32 -08:00
Adam Barth
398ec7f81e
Merge pull request #2146 from abarth/path_functions
...
Add a bunch of missing Path functions
2015-12-05 01:46:48 -08:00
Adam Barth
19f6331a6f
Add a bunch of missing Path functions
...
Part of #252
2015-12-05 01:11:07 -08:00
Chinmay Garde
3df1de91a5
Merge pull request #2145 from chinmaygarde/master
...
Add startup trace events
2015-12-04 14:58:36 -08:00
Chinmay Garde
4c8a138a29
Add a startup instant marker
2015-12-04 14:50:58 -08:00
Chinmay Garde
ee55c83609
Add startup trace events
2015-12-04 14:40:12 -08:00
Chinmay Garde
01502216ba
Merge pull request #2144 from chinmaygarde/master
...
Name the main thread on mac
2015-12-04 14:27:13 -08:00
Chinmay Garde
40bda43619
Name the main thread on mac
2015-12-04 14:25:11 -08:00
Chinmay Garde
52e9b96a29
Merge pull request #2143 from appsforartists/patch-1
...
Fix link to colors.dart in style-guide
2015-12-04 14:03:00 -08:00
Brenton Simpson
df631cb50e
Fix link to colors.dart in style-guide
2015-12-04 11:27:47 -08:00
Chinmay Garde
c82bddca37
Merge pull request #2142 from chinmaygarde/master
...
Enable ThreadTime support on iOS
2015-12-03 22:08:11 -08:00
Chinmay Garde
77261bf8ac
Enable ThreadTime support on iOS
2015-12-03 17:56:08 -08:00
Chinmay Garde
a6dcd80f37
Merge pull request #2140 from chinmaygarde/master
...
Start tracing in base before a tracing controller instance is available
2015-12-03 15:52:02 -08:00
Chinmay Garde
95ba64b711
Allow enabling tracing in base without an instance of the tracing controller
2015-12-03 15:08:20 -08:00
Adam Barth
97bf8464d2
Update pub packages
2015-12-03 15:03:46 -08:00
Adam Barth
23610cfe71
Merge pull request #2139 from abarth/letter_spacing
...
Add support for letterSpacing
2015-12-03 15:01:33 -08:00
Chinmay Garde
abe709013c
Start tracing in base before a tracing controller instance is available
2015-12-03 14:56:55 -08:00
Adam Barth
e5a42b6bb8
Add support for letterSpacing
2015-12-03 14:56:20 -08:00
Jason Simmons
2aa88e20a2
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
Chinmay Garde
96fc39f16d
Merge pull request #2136 from chinmaygarde/master
...
Ensure GL context as soon as the accelerated widget is available
2015-12-03 14:54:57 -08:00
Chinmay Garde
72814b2712
Ensure GL context as soon as the accelerated widget is available
2015-12-03 14:54:32 -08:00
George Kulakowski
81e7b3eba9
Merge pull request #2138 from kulakowski/master
...
Make RequestFrame less janky in the no vsync case
2015-12-03 14:39:47 -08:00
Jason Simmons
0e537ebaa0
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
George Kulakowski
a371cceee1
Make RequestFrame less janky in the no vsync case
...
Instead of spamming the MessageLoop, guess that 16ms is a good amount of
time to wait
2015-12-03 14:36:00 -08:00
Adam Barth
db7f7dac80
Merge pull request #2129 from domesticmouse/patch-1
...
Trailing full stop is confusing
2015-12-03 14:32:18 -08:00
Chinmay Garde
f0f819afdb
Merge pull request #2134 from chinmaygarde/master
...
Instrument dart_init.cc and remove the idle wait on the service load port
2015-12-03 14:03:36 -08:00
George Kulakowski
36b02aecb8
Merge pull request #2135 from kulakowski/fnl-release-build
...
Don't warn on maybe-uninitialized in fnl
2015-12-03 13:47:35 -08:00
George Kulakowski
24b3902f19
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
Eric Seidel
2815330340
Merge pull request #2133 from eseidelGoogle/trace_startup
...
Add support on Android for --trace-startup
2015-12-03 12:46:11 -08:00
Chinmay Garde
33961a5d4d
Instrument dart_init.cc and remove the idle wait on the service load port
2015-12-03 12:43:37 -08:00
Eric Seidel
231ee08fd7
Add support on Android for --trace-startup
...
Now 'flutter start --trace-startup' can trigger this tracing
on Android
@chinmaygarde
2015-12-03 12:25:26 -08:00
Eric Seidel
fff4d5b8c1
Merge pull request #2132 from eseidelGoogle/thread_name
...
Give the java ui thread a name in trace files
2015-12-03 11:31:24 -08:00
Eric Seidel
d91d60d449
Give the java ui thread a name in trace files
...
@abarth
2015-12-03 11:25:04 -08:00
Chinmay Garde
273b043d13
Merge pull request #2131 from chinmaygarde/master
...
Update Dart revision
2015-12-03 11:14:00 -08:00
Adam Barth
487d3565f6
Dev pub packages
2015-12-03 11:12:09 -08:00
Chinmay Garde
04590b5367
Update Dart revision
2015-12-03 11:11:03 -08:00