Ian Hickson
0d94214df4
Fix a11y an Android ( #3694 )
...
The core problem was multiplying matrices the wrong way around.
While I was there I did some minor cleanup. I think that may have
fixed another bug relating to A11Y turning on or off improperly, but
since I never figured out the steps to reproduce, it's hard to tell.
Fixes https://github.com/flutter/flutter/issues/7205
Fixes https://github.com/flutter/flutter/issues/10059 (maybe)
2017-05-16 10:31:53 -07:00
Chris Bracken
813623a3f8
Set Android keyboard actionLabel only if non-null ( #3677 )
2017-05-10 12:20:03 -07:00
Sarah Zakarias
d51126b56b
Remove urlLauncher and pathProvider from FlutterPlatformPlugin ( #3673 )
2017-05-10 13:42:13 +02:00
Chris Bracken
ce14f6907b
Disable auto-correct for text editing when obscureText is set ( #3661 )
2017-05-09 14:55:58 -07:00
Mikkel Nygaard Ravn
b273d1ad04
Android plugin registry ( #3641 )
2017-05-08 21:44:49 +02:00
Mikkel Nygaard Ravn
da8ebf40bd
Document channel message value conversions ( #3633 )
2017-04-28 23:31:11 +02:00
Mikkel Nygaard Ravn
3211d2fca2
Fix corner case errors in platform channels ( #3631 )
2017-04-27 07:52:56 +02:00
Mikkel Nygaard Ravn
264b7a6dd5
Add hasArgument convenience to MethodCall ( #3612 )
2017-04-22 14:04:03 +02:00
Mikkel Nygaard Ravn
4eed7d2732
Clarify semantics of channel-related errors ( #3607 )
...
Mainly improvements to javadoc and error logging. A bit of refactoring.
2017-04-19 21:53:46 +02:00
Mikkel Nygaard Ravn
2a4434a058
Make naming consistent across channel APIs ( #3574 )
2017-04-18 14:30:31 +02:00
Chinmay Garde
73299f42f4
Package test fonts on the debug runtime mode. ( #3582 )
2017-04-10 15:41:09 -07:00
Mikkel Nygaard Ravn
6aa49b5657
Add convenience accessors to get arguments from MethodCall w/o unchecked warnings ( #3559 )
2017-04-09 17:36:05 +02:00
Mikkel Nygaard Ravn
68194b8df8
Distinguish between null platform message and one with zero-byte payload ( #3577 )
2017-04-09 00:07:28 +02:00
Jason Simmons
b4088b6479
Backport JSONObject.wrap in order to support Jellybean ( #3566 )
2017-04-06 10:15:06 -07:00
Collin Jackson
0005285781
Revert "Make FlutterActivity extend from FragmentActivity ( #3529 )" ( #3545 )
...
This reverts commit fa360b55da851381ecf2abaa4769189674265c1c.
2017-03-31 09:06:07 -07:00
Mikkel Nygaard Ravn
46255fb845
Platform channel API cleanup (retake) ( #3539 )
2017-03-29 13:43:54 +02:00
Mikkel Nygaard Ravn
8a8fc02f53
Revert "Flutter channel API cleanup ( #3532 )" ( #3538 )
...
This reverts commit afb206d373da8edc30cdd0de43bfa495ece66ab6.
2017-03-29 12:08:39 +02:00
Mikkel Nygaard Ravn
afb206d373
Flutter channel API cleanup ( #3532 )
2017-03-29 11:38:14 +02:00
Jason Simmons
7356a50445
Copy platform message buffers into byte arrays passed via JNI ( #3536 )
...
The Java message object may be held by user-provided message handlers beyond
the lifetime of the raw blink::PlatformMessage and its data buffer
2017-03-28 17:15:01 -07:00
Collin Jackson
fa360b55da
Make FlutterActivity extend from FragmentActivity ( #3529 )
...
FragmentActivity is required for plugins that use auto managed Google APIs, such as Google Sign-In. Requires flutter/flutter#9036 to land so that gradle builds include FragmentActivity.
2017-03-27 16:53:09 -07:00
Jason Simmons
9ebebe1040
Fix Javadoc on FlutterMethodChannel ( #3522 )
2017-03-24 18:23:51 -07:00
Chinmay Garde
5e98732301
Remove libsky_shell.so to libflutter.so. ( #3517 )
2017-03-24 16:25:33 -07:00
Chinmay Garde
1c07ea530f
Remove uses of //base from all //flutter projects and replace them with //fml variants. ( #3492 )
2017-03-22 15:42:51 -07:00
Mikkel Nygaard Ravn
c4edec7417
Remove old flutter messaging API ( #3482 )
...
Breaking change: removed facilities for JSON and string messaging from FlutterView/FlutterViewController, leaving only binary messaging there. All other use of flutter communication now goes through FlutterMessageChannel and FlutterMethodChannels. Retained use of String and JSON codecs for now.
Companion flutter PR: flutter/flutter#8837
2017-03-17 09:04:59 +01:00
Jason Simmons
b1a163858d
Send an event to signal memory pressure ( #3475 )
...
See https://github.com/flutter/flutter/issues/7561
2017-03-14 15:42:30 -07:00
Mikkel Nygaard Ravn
b97103b441
Flutter channels for iOS ( #3470 )
...
Flutter channels now also supported on iOS. Use FlutterMessageChannel or FlutterMethodChannel with binary/string/json/standard codecs.
2017-03-13 23:57:46 +01:00
Mikkel Nygaard Ravn
f9c1f5fa53
Remove usage of JDK7 features not available until Android SDK 19+ ( #3462 )
2017-03-06 13:22:29 +01:00
Mikkel Nygaard Ravn
74de13c0bd
FlutterXxxChannel concepts added to support Flutter/Android interop ( #3446 )
...
New concepts: FlutterMessageChannel (basic message send/receive superseding existing FlutterView methods), FlutterMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 13:54:32 +01:00
Jason Simmons
2466d31edf
Fix some Javadoc warnings ( #3391 )
2017-02-03 16:25:25 -08:00
Ryan Macnak
adef37080f
Adapt to refactoring of snapshot APIs in the Dart VM. ( #3354 )
...
Adapt to refactoring of snapshot APIs in the Dart VM.
2017-01-23 12:09:59 -08:00
Jason Simmons
e573c6b5a6
Do not pass negative selection indexes to InputConnection.setSelection ( #3344 )
...
This was causing exceptions on Jellybean
2017-01-17 17:43:24 -08:00
Jason Simmons
c01c8c4a39
Apply window insets using an older API on pre-Lollipop systems ( #3340 )
...
Fixes https://github.com/flutter/flutter/issues/6586
2017-01-17 15:36:47 -08:00
Jason Simmons
5f91ff02a9
An API for setting the tag for Flutter log messages on Android ( #3335 )
...
Fixes https://github.com/flutter/flutter/issues/7226
2017-01-12 15:47:18 -08:00
amirh
13044ca1c4
Add a getter for flutterView in FlutterActivity. This allows fullscreen flutter apps to extend FlutterActivity and do custom stuff with the flutter view. ( #3324 )
2017-01-05 20:35:00 -08:00
Jason Simmons
60681a233f
Do not dispatch UI events if they arrive after the FlutterView has been destroyed ( #3306 )
...
Fixes https://github.com/flutter/flutter/issues/7234
2016-12-12 16:30:26 -08:00
Jason Simmons
2f32e8054d
Catch and log exceptions thrown in message listeners provided by apps ( #3297 )
...
FlutterView's host message processing methods are invoked from native code,
and the JNI wrappers will abort the process if the Java side has an uncaught
exception.
2016-12-07 14:47:40 -08:00
Collin Jackson
6794bc2ad7
rename sky -> flutter in shell ( #3293 )
2016-12-06 14:43:53 -08:00
Jason Simmons
98c18190db
Initialize the InputConnection with the text plugin's most recent state (either incoming or outgoing) ( #3283 )
...
Fixes https://github.com/flutter/flutter/issues/7033
2016-11-30 15:07:37 -08:00
Adam Barth
cea5ed2b9b
Update pointer change constants in Java ( #3231 )
...
I updated the C++ and Dart sides but forgot to update the Java side.
Fixes https://github.com/flutter/flutter/issues/6891
2016-11-16 10:13:28 -08:00
Adam Barth
d1bc4c4850
Add support for hover pointer events ( #3227 )
...
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Jason Simmons
5103e40b95
Set the IME action label to null if the label is null in the configuration JSON object ( #3199 )
...
(JSONObject.getString() will return the string "null" for a JSON null value)
Fixes https://github.com/flutter/flutter/issues/6643
2016-11-03 12:08:15 -07:00
Jason Simmons
e54b0e286b
Roll Dart ( #3194 )
...
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
Adam Barth
1bc79ded38
Number keyboard does not work on Android ( #3185 )
...
We had a typo in our decoding logic.
Fixes https://github.com/flutter/flutter/issues/6564
2016-10-28 12:26:56 -07:00
Adam Barth
4b8c9051e5
Remove last mojom interface ( #3184 )
...
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
9eaedb0677
Migrate ViewportMetrics away from Mojo ( #3180 )
...
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Adam Barth
7e5d63513a
Move lifecycle, navigation, and localization to platform messages ( #3172 )
...
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
Adam Barth
d4f67e6b75
Migrate vsync away from Mojo services ( #3169 )
...
Instead, just use JNI and Objective-C directly.
2016-10-24 16:14:37 -07:00
Adam Barth
b1c0ea79ca
Switch engine over to platform messages ( #3153 )
...
This patch removes the use of the host messages mojom and switch all
message routing over to platform messages.
2016-10-19 22:36:00 -07:00
Adam Barth
f1b740c8c2
Remove editing.mojom ( #3152 )
...
Clients have been migrated to the TextInputPlugin.
2016-10-19 22:12:19 -07:00
Jason Simmons
4e68860e56
Do not intercept all Android key events ( #3149 )
2016-10-19 16:46:55 -07:00