Greg Spencer
4b859cee93
Fix typos and fix some env var state leakage in tests ( #22576 )
...
This just fixes some typos, and a small state leak in some of the tests that set env variables.
2020-11-17 21:51:37 -08:00
J-P Nurmi
28497c864b
Fix typos in FlValue docs ( #21875 )
2020-10-29 15:13:04 -07:00
Robert Ancell
5ca5e2614b
Add FlEventChannel ( #21316 )
...
Related to https://github.com/flutter/flutter/issues/65270
2020-10-22 15:06:52 -07:00
George Wright
fc72bd2ada
Plumb through Dart entrypoint arguments on the Linux embedder ( #21933 )
2020-10-22 09:47:04 +13:00
Chris Bracken
08dabe9601
Clean up C++ includes ( #21127 )
...
Cleans up header order/grouping for consistency: associated header, C/C++ system/standard library headers, library headers, platform-specific #includes.
Adds <cstring> where strlen, memcpy are being used: there are a bunch of places we use them transitively.
Applies linter-required cleanups. Disables linter on one file due to included RapidJson header. See https://github.com/flutter/flutter/issues/65676
This patch does not cover flutter/shell/platform/darwin. There's a separate, slightly more intensive cleanup for those in progress.
2020-09-11 21:18:35 -07:00
Robert Ancell
f267ef5837
Add a flag to enable dart:mirrors ( #19112 )
...
Fixes https://github.com/flutter/flutter/issues/59233
2020-06-26 11:17:15 +12:00
Robert Ancell
01e06ed3d9
Add support for headless mode ( #19038 )
2020-06-17 06:25:48 +12:00
Robert Ancell
dfdd88deb7
Support AOT mode in GTK shell ( #18809 )
...
Simplify FlDartProject by removing the path arguments - we'll assume that it's
in the standard bundle layout and add new methods later if we need to support
other cases.
2020-06-08 13:18:52 +12:00
Robert Ancell
63ed5b1bbd
Add FlPluginRegistry and FlPluginRegistrar ( #18453 )
...
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
79b136534a
Add GDestroyNotify callbacks on handlers ( #18546 )
2020-05-27 13:38:45 +12:00
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