20087 Commits

Author SHA1 Message Date
Stephen Hines
e5f01d0e95 Disable unsigned integer overflow sanitization until libc++ is fixed. am: 4553fa41c3
am: 3d15532afc

* commit '3d15532afc73f2286b83f5c1b027b5d31feb1294':
  Disable unsigned integer overflow sanitization until libc++ is fixed.
2016-01-26 14:35:15 +00:00
Stephen Hines
3d15532afc Disable unsigned integer overflow sanitization until libc++ is fixed.
am: 4553fa41c3

* commit '4553fa41c3f031e0fb3395d57018272d59869afa':
  Disable unsigned integer overflow sanitization until libc++ is fixed.
2016-01-26 14:33:16 +00:00
Stephen Hines
4553fa41c3 Disable unsigned integer overflow sanitization until libc++ is fixed.
Bug: http://b/26781196
Bug: http://b/25884483
Bug: http://b/26432628

Although this issue was first only manifesting on Fugu, it now affects
N9 and N6p as well. This change disables unsigned overflow sanitization
on all platforms. The real fix for libc++ (r257368) can't be committed
until we have updated Clang at least one more time.

Change-Id: I71e9c50d25ae4566d4c06f348183c4b22a4bb60a
2016-01-26 00:49:26 -08:00
Adam Barth
772663052c RawKeyboardService leaks
The removeListener function didn't actually remove anything from the
list because Mojo objects don't maintain their identity when you
transfer them through a message pipe. Now we just watch for errors on
the listener's pipe, which means the way you stop listening is just to
close your end of the pipe.
2016-01-25 20:27:58 -08:00
Jason Simmons
81ffc37395 Add third_party/firebase to gitignore 2016-01-25 17:10:47 -08:00
Jason Simmons
50bdfd2f86 Dart/JNI: improve Java method lookup
Add more rules to determine which overloaded Java method should be invoked
for a given Dart call.  In particular, check whether the class of a
Dart-wrapped Java object matches the type declared for the corresponding
argument in the Java method.
2016-01-25 16:51:09 -08:00
Collin Jackson
2b7280ee08 Merge pull request #2291 from collinjackson/password
Firebase support for password authentication (on Android)
2016-01-25 16:28:57 -08:00
Collin Jackson
bfdcb69626 Firebase support for password authentication 2016-01-25 15:47:19 -08:00
Chinmay Garde
b93432ed79 Merge pull request #2290 from chinmaygarde/master
iOS: Always regenerate the precompilation snapshot when building for the device
2016-01-25 13:52:12 -08:00
Chinmay Garde
97d0d20c33 iOS: Always regenerate the precompilation snapshot when building for the device 2016-01-25 13:42:54 -08:00
Chinmay Garde
2d3d956909 Merge pull request #2289 from chinmaygarde/master
iOS: Always rebuild the FLX file
2016-01-25 13:25:49 -08:00
Chinmay Garde
caa0b0b7b8 iOS: Always rebuild the FLX file 2016-01-25 12:56:23 -08:00
Chinmay Garde
4421177e30 Merge pull request #2286 from chinmaygarde/master
iOS: Drain and pass URLRequest body data to the platform implementation
2016-01-25 12:52:35 -08:00
Chinmay Garde
0f0360e499 iOS: Drain and pass URLRequest body data to the platform implementation 2016-01-25 12:51:29 -08:00
Jason Simmons
57ec43971e Merge pull request #2283 from jason-simmons/jni_reflection_wrapper
Dart/JNI: reflection-based wrapper for the raw JNI API
2016-01-25 10:41:37 -08:00
Adam Barth
bc9cc38398 Merge pull request #2288 from abarth/improve_whitespace
Switch whitespace mode back to pre-wrap
2016-01-25 00:25:54 -08:00
Adam Barth
f7731bbdd2 Switch whitespace mode back to pre-wrap
When we removed position: sticky, we introduced a subtle line breaking
bug to pre-wrap that would cause whitespace to accumulate at the
beginning of lines that follow unclean breaks. This patch adds back the
deleted code (cleansed of the position sticky bits).
2016-01-25 00:03:08 -08:00
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
Jason Simmons
80547a2d2a Dart/JNI: reflection-based wrapper for the raw JNI API
Example:
  JavaClass dateFormatClass = Java.getClass('java.text.SimpleDateFormat');
  JavaObject format = dateFormatClass.newInstance('yyyy.MM.dd');
  print(format.parse('2016.01.01').getYear());
2016-01-22 16:27:36 -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
Keisuke Kuroyanagi
6344de60fa Add light weight methods for text measurement.
The intruduced method measureText can be used instead of
doLayout for text measurement purpose.

Bug: 24505153
Change-Id: Ic29bbb347daf18d1f6c13f86970dcdd11dd6a2bd
2016-01-21 18:23:25 +09: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
Hixie
00f18ccc96 Semantics (Accessibility, Indexability) 2016-01-19 16:29:34 -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