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
Jason Simmons
fd672e4196
JNI/Dart: support for more data types
...
* Conversion of all primitive types, wrapped Java objects, and nulls between Dart and Java
* A way to distinguish float arguments from doubles when calling Java methods
* Construction of a Dart JniClass from a Java class object
2016-01-14 13:32:07 -08:00
Adam Barth
21dd4ff753
Rev pub packages
2016-01-14 09:41:57 -08:00
Adam Barth
b8a7e731d2
Merge pull request #2263 from abarth/raster_offset
...
Fix typo in image raster offset
2016-01-14 09:40:13 -08:00
Adam Barth
97e13a5763
Fix typo in image raster offset
...
We shouldn't plumb the "right" value into the y coordinate.
2016-01-14 09:29:34 -08:00
Collin Jackson
10f49e7434
Support for listening to value and child events
2016-01-13 16:57:44 -08:00
Chinmay Garde
fbd8ea0ec8
Merge pull request #2260 from chinmaygarde/master
...
Remove Xcode harness for building the engine
2016-01-13 15:53:54 -08:00
Chinmay Garde
cf18698810
Remove Xcode harness for building the engine
2016-01-13 14:59:46 -08:00
Adam Barth
30a2c9350f
Rev pub packages
2016-01-13 13:38:14 -08:00
Adam Barth
910ccafe5c
Merge pull request #2259 from abarth/misplaced_fab
...
Stocks FAB "+" sometimes teleports to near the top left
2016-01-13 12:37:34 -08:00
Adam Barth
17ed699397
Stocks FAB "+" sometimes teleports to near the top left
...
The matrix argument to drawPicture doesn't seem to do what we want exactly.
Instead, use the normal matrix in the canvas. Also, handle cull rects with
non-zero left and top coordinates.
Fixes #1229
2016-01-13 12:31:03 -08:00
Adam Barth
a0e2a6d2bc
Merge pull request #2258 from abarth/flow
...
Move //sky/compositor to //flow
2016-01-12 22:42:02 -08:00
Adam Barth
0b629d419f
Move //sky/compositor to //flow
...
Now that the compositor doesn't have any tricky deps, we can make it a
top-level project, which saves a bunch of typing.
2016-01-12 22:39:51 -08:00
Adam Barth
d631c1fb59
Merge pull request #2257 from abarth/rm_deps
...
Trim unneeded depedendencies from sky/compositor
2016-01-12 22:12:21 -08:00