22 Commits

Author SHA1 Message Date
Robert Ancell
363050d4f6
Fix wrong method name - copy/paste error from FlBinaryMessenger (#18596) 2020-05-27 09:17:16 +12:00
Robert Ancell
680eb90a42
Add fl_value_to_string (#18540) 2020-05-22 10:57:21 +12:00
Robert Ancell
e48ad6ec73
Add FlMethodChannel, FlMethodCodec, FlStandardMethodCodec and FlJsonMethodCodec (#18220)
* Add FlMethodChannel, FlMethodCall, FlMethodResponse and FlMethodCodec

* Add FlJsonMethodCodec

* Add FlStandardMethodCodec
2020-05-21 12:53:15 +12:00
Robert Ancell
52a11ee411
Make FlBasicMessageChannelResponseHandle a GObject to detect unresponded and double responded messages. (#18514) 2020-05-21 11:15:56 +12:00
Robert Ancell
784e5d7ded
Update comments for grammar and content to required style (#18491) 2020-05-20 09:14:28 +12:00
Robert Ancell
47707965b4
Fix incorrect header for #FlBasicMessageChannel::respond (#18365) 2020-05-15 09:19:00 +12:00
Robert Ancell
5ad4f9ee4a
Add FlJsonMessageCodec (#18221) 2020-05-14 13:49:40 +12:00
Robert Ancell
960035462a
Add FlBasicMessageChannel (#18189) 2020-05-14 12:09:32 +12:00
Robert Ancell
7b6406720a
Use 'message' as the parameter name in FlMessageCodec::encode_message (#18253)
This is more consistent with the Dart code.
2020-05-13 16:55:20 +12:00
Robert Ancell
2f6bcdeb94
Add FlStandardMessageCodec (#18213) 2020-05-12 11:09:21 +12:00
Robert Ancell
72a48bd6ee
Fix incorrect declaration of FlBinaryCodec (#18283) 2020-05-12 09:58:47 +12:00
Robert Ancell
044f2542d4
Use the term 'handler' for registering callbacks. (#18269)
This is the term used in the Dart code and which callback is more commonly used
in GLib matching the Dart code will make developers life easier.
2020-05-12 09:01:10 +12:00
Robert Ancell
ccfec72798
Fix grammar in FlBinaryCodec/FlStringCodec descriptions (#18268) 2020-05-12 09:00:36 +12:00
Robert Ancell
9ea2db5bac
Add FlMessageCodec, FlBinaryCodec, FlStringCodec (#18186)
Classs for binary message encoding/decoding that matches the ones in the Flutter services library.
2020-05-08 16:13:54 +12:00
Robert Ancell
403931ff22
Add FlValue (#18185)
FlValue is a lightweight object used to contain the value types that Flutter
uses on platform channels.
2020-05-08 13:48:41 +12:00
Robert Ancell
e5a7ca577d
Handle leak of message handle when no engine present (#18157)
* Handle leak of message handle when no engine present
* Move callback in wrong location
2020-05-08 09:05:20 +12:00
Robert Ancell
805a8874cb
Add first Linux shell tests (#18159) 2020-05-06 15:33:11 +12:00
Robert Ancell
180a497ee5
Support platform messages in Linux shell (#17995) 2020-05-04 17:03:04 +12:00
Robert Ancell
12012f135c
Refactor FlutterEngine usage in Linux shell (#17363) 2020-04-24 10:30:41 +12:00
Robert Ancell
b360eab6f7
Move Linux shell docstrings to headers (#17410)
Update docstrings for typos and grammar style specified in the style guide.
2020-04-14 15:41:23 +12:00
Robert Ancell
6befd4a804
Update FlDartProject to new path format (#17302)
Matches the structure used on Windows of assuming a directory format.
2020-03-31 15:25:44 -07:00
Robert Ancell
c93b67aa81
Add a Linux Shell that uses GTK for rendering. (#16977) 2020-03-24 13:26:02 -07:00