5898 Commits

Author SHA1 Message Date
Jason Simmons
2f711bcee3 Mojo wrapper for the Android SoundPool API 2015-12-09 13:57:01 -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
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
Matt Perry
6a2f58091f Turn on FLX updater. 2015-12-08 14:41:32 -05: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
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
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
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