6166 Commits

Author SHA1 Message Date
Collin Jackson
229bda2ff4 Merge pull request #2287 from collinjackson/rev_engine
rev engine
2016-01-22 19:04:29 -08:00
Collin Jackson
c7e03862ae rev engine 2016-01-22 19:02:01 -08:00
Collin Jackson
112549f37a Merge pull request #2284 from collinjackson/firebase_gcm
Use the same registration process as GCM for Firebase
2016-01-22 18:26:38 -08:00
Collin Jackson
8d056e02a6 Use the same registration process as GCM for Firebase 2016-01-22 18:23:22 -08:00
Collin Jackson
2bb3d6d265 Merge pull request #2285 from collinjackson/nested
Fix type of nested data structures on Android
2016-01-22 17:40:51 -08:00
Collin Jackson
81e0218018 Fix type of nested data structures on Android 2016-01-22 15:45:53 -08:00
Collin Jackson
30cc1574ea Merge pull request #2282 from collinjackson/android_setValue
Android support for Firebase setValue
2016-01-21 15:01:09 -08:00
Collin Jackson
cd05f5f4ca Fix indentation of iOS implementation 2016-01-21 14:55:19 -08:00
Collin Jackson
ac1734aaed Android support for Firebase setValue 2016-01-21 14:40:13 -08:00
Matt Perry
c03a5dda7e Merge pull request #2281 from mpcomplete/revision
rev engine
2016-01-21 17:18:19 -05:00
Matt Perry
73ce3d33b1 rev engine 2016-01-21 17:08:44 -05:00
Matt Perry
79449ccbbe Merge pull request #2266 from mpcomplete/apk.tool
Support dynamic registration of mojo services on Android
2016-01-21 17:00:25 -05:00
Matt Perry
0ee5a29163 Support dynamic registration of mojo services on Android
SkyApplication now reads service info from a services.json file bundled
with the apk. For each service, it registers a method that invokes
connectToService on a named class. This way, third party services can
register themselves.

There's a corresponding change to flutter_tools to generate this
services.json when building an apk that depends on services.
2016-01-21 16:55:51 -05:00
Adam Barth
8b4d246edf Merge pull request #2280 from abarth/window_insets
Improve handling of window insets on Android
2016-01-21 11:34:50 -08:00
Adam Barth
33d7553e39 Improve handling of window insets on Android
Now that we understand window insets, we don't need to hard-code the size of
the status bar. Also, convert the viewport metrics to be consistently in
physical pixels.
2016-01-21 11:24:17 -08:00
Chinmay Garde
d9a4acdc95 Merge pull request #2279 from chinmaygarde/master
A sound pool implementation for iOS
2016-01-20 15:55:46 -08:00
Chinmay Garde
1f28c0375c Delete temporary files created for the sound pool after the pool is collected 2016-01-20 15:53:41 -08:00
Chinmay Garde
7fac7000a6 Use #include instead of import to add Foundation 2016-01-20 14:58:09 -08:00
Chinmay Garde
fd02ee30cb A sound pool implementation for iOS 2016-01-20 14:48:50 -08:00
Jason Simmons
2ccac4c983 Merge pull request #2278 from jason-simmons/jni_more_api_wrappers
Dart/JNI: support all field and array data types
2016-01-20 10:51:30 -08:00
Jason Simmons
2ea1692e7d Dart/JNI: support all field and array data types 2016-01-20 10:41:37 -08:00
Jason Simmons
a41dd9a890 Merge pull request #2276 from jason-simmons/jni_utf_string
Fix Dart/JNI string conversion to treat the data as UTF-16
2016-01-19 12:37:30 -08:00
Jason Simmons
80f7338602 Fix Dart/JNI string conversion to treat the data as UTF-16 2016-01-19 12:26:01 -08:00
Adam Barth
27af3583e8 Rev pub packages 2016-01-19 10:00:41 -08:00
Adam Barth
7f25ff9eee Merge pull request #2275 from abarth/scale_first
Fix order of matrix operations
2016-01-19 09:59:56 -08:00
Adam Barth
ac83043173 Fix order of matrix operations
When rasterzing with a non-zero left and top offset, we need to apply the scale
first so that we're translating in the correct coordinate system.

Fixes https://github.com/flutter/flutter/issues/1292
2016-01-19 09:57:26 -08:00
Adam Barth
1f9858cb6d Merge pull request #2274 from abarth/rm_wtf_string
Remove integration between tonic and WTFString
2016-01-18 21:57:42 -08:00
Adam Barth
4888996b1b Clean up DartInvoke
Remove the non-initializer version of DartInvokeAppClosure and rename
the function to the simpler DartInvoke. Also, add a special case for
DartInvokeVoid to make the callers prettier.
2016-01-18 20:47:47 -08:00
Adam Barth
c04b57b27a Remove FromArgumentsWithNullCheck
We use FromArguments everywhere now.
2016-01-18 20:47:47 -08:00
Adam Barth
c9cf1f3b95 Remove integration between tonic and WTF::Vector
There's no reason to use WTF::Vector here over std::vector.
2016-01-18 20:47:47 -08:00
Adam Barth
0140555b54 Remove integration between tonic and WTFString
We used to share memory between Dart strings and WTF::String objects by
way of the Dart externalized strings. That used to be important when the
DOM shared many strings between C++ and Dart. However, now that we don't
retain strings in C++ much anymore, we don't need this complexity.

This patch removes DartStringCache and the integration. It also unwinds
several cases where we were converting back and forth between
WTF::String and std::string for no reason. Now we use std::string more
consistently.

For the case of ParagraphBuilder::addText, we now take a raw const
char*, which more closely matches the API the DartVM exposes. That means
we do a single copy out of the VM and into the render tree at that
point.
2016-01-18 20:47:46 -08:00
Adam Barth
efa936c426 Merge pull request #2273 from abarth/mv_microtask
Move microtask queue into tonic
2016-01-18 17:15:24 -08:00
Adam Barth
1f4416f87b Move microtask queue into tonic
Moving the microtask queue into tonic solves three problems:

1) Removes three levels of indirection when invoking microtask
callbacks.
2) Removes the sky/engine/dom directory entirely.
3) Removes the last client of the (inefficient) DartValue class.
2016-01-18 16:59:52 -08:00
Ian Hickson
6fb5ebe38a Merge pull request #2270 from Hixie/fontWeight
FontWeight.lerp
2016-01-17 22:29:24 -08:00
Ian Hickson
ea1531a31f Merge pull request #2272 from Hixie/activity
setTaskDescription: Guard against bad values from Dart.
2016-01-17 14:37:52 -08:00
Ian Hickson
77c4e1b805 Merge pull request #2271 from Hixie/Color.opacity
Color.opacity
2016-01-17 00:30:33 -08:00
Ian Hickson
5012af6cd7 setTaskDescription: Guard against bad values from Dart.
We used to crash if you set a non-opaque colour.
2016-01-16 12:21:17 -08:00
Ian Hickson
e423d48ebf Color.opacity
Sometimes you want the alpha channel as a double rather than an int.
For convenience, provide an accessor on Color that returns this.
2016-01-15 23:28:13 -08:00
Ian Hickson
2ea197b9a7 FontWeight.lerp
Also, fix FontWeight.toString and add some type annotations on the constants.
2016-01-15 21:18:59 -08:00
Chinmay Garde
7cd13f1d27 Merge pull request #2269 from chinmaygarde/master
Path service implementation for iOS
2016-01-15 16:45:31 -08:00
Chinmay Garde
278af8d155 Path service implementation for iOS 2016-01-15 16:33:02 -08:00
Ian Hickson
3e2b65dcc9 Merge pull request #2268 from Hixie/rev
rev engine
2016-01-15 15:45:08 -08:00
Hixie
e6aeeeb80c rev engine 2016-01-15 15:43:47 -08:00
Collin Jackson
2c8ac3fa7d Merge pull request #2265 from collinjackson/ios_value_child
Support for value and child events on Firebase iOS
2016-01-15 13:56:12 -08:00
Collin Jackson
e24f374a9c Support for value and child events on Firebase iOS 2016-01-15 13:38:14 -08:00
Collin Jackson
d9c05cee91 Merge pull request #2262 from collinjackson/value_child_events
Support for listening to value and child events
2016-01-15 13:37:53 -08:00
Tony Gentilcore
35c8530fab Merge pull request #2264 from tonygentilcore/roll
Roll to mojo_sdk 0.2.9.
2016-01-15 09:29:50 -08:00
Jason Simmons
1a5b077cf7 Merge pull request #2261 from jason-simmons/jni_more_data_types
JNI/Dart: support for more data types
2016-01-14 15:57:24 -08:00
Tony Gentilcore
494697268a Roll to mojo_sdk 0.2.9. 2016-01-14 15:35:26 -08:00
Tony Gentilcore
d8f976edd2 Update to mojo 1d94b2f59b6021091afcc50642c88509473239a4 2016-01-14 14:55:12 -08:00