10 Commits

Author SHA1 Message Date
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
Robert Ancell
5e9b235b8e
Detect errors encoding method channel responses (#21314) 2020-09-25 10:33:38 +12: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
ab23dc3a74 Update code style to pass clang-tidy checks 2020-08-05 10:35:03 +12:00
Robert Ancell
8d97830992
Fix braces style (#18837) 2020-06-05 13:26:54 +12:00
Robert Ancell
1b4d958f98
Add braces around multi-line branches to match code style (#18719) 2020-06-03 06:22:24 +12:00
Robert Ancell
6589dcb2d4
Add missing full stops on the end of comments. (#18634) 2020-06-03 06:21:46 +12:00
Robert Ancell
24e1e8c8cd
Don't show warnings when removing handlers. (#18633)
These are removed in destructors.
2020-06-02 11:32:57 +12:00
Robert Ancell
79b136534a
Add GDestroyNotify callbacks on handlers (#18546) 2020-05-27 13:38:45 +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