文件最后提交记录最后更新时间
[Pigeon] readme updates (#3705) Updates README's to better reflect modern pigeon and it's usage. Very open to feedback on this, please let me know what could be better, clearer, or is just missing from this documentation. I don't expect to be able to cover all uses with this, if people want to see all possibilities, I think looking into our very thorough integration tests will provide them with anything they could need (all of which is linked in the example README). fixes https://github.com/flutter/flutter/issues/66511 partial work for https://github.com/flutter/flutter/issues/123851 fixes https://github.com/flutter/flutter/issues/108531 fixes https://github.com/flutter/flutter/issues/926412 年前
[pigeon] Make dart options const (#3186) * make dart options const * version bump * add dartoptions to configure_pigeon_dart_out.dart * major version bump * add final * undo final changes * changelog * unbreak --------- Co-authored-by: tarrinneal <tarrinneal@gmail.com>3 年前
[pigeon] Update task queue handling (#8627) Updates the task queue implementation across all supporting generators to use one task queue for an entire host API, rather than one per method, so that multiple methods using task queues will have ordering guarantees amongst them. Also changes the Obj-C implementation to no-op on macOS instead of failing to compile, so that shared iOS/macOS code can use task queues on iOS without breaking macOS. (We could deliberately add a compile error with a clear error message in a macOS ifdef if we get reports of user confusion in the future, but my expectation is that no-op is the best option for most people.) Related changes: - Adds integration testing that task queues work, instead of just that the generator step succeeds. - For platforms that don't support task queues, they are still included in the integration test to ensure that - I removed the now-vestigial background_platform_channels.dart. - Adds Swift support, since it was easier to add than to skip it in the tests. Fixes https://github.com/flutter/flutter/issues/162624 Fixes https://github.com/flutter/flutter/issues/1115121 年前
[pigeon] adds Internal options (#8709) Separates the user facing options from the internal use of options to avoid exposing settings we don't need the users to access. fixes https://github.com/flutter/flutter/issues/161634 Also adds option to prevent merging of pigeon definition file options. fixes https://github.com/flutter/flutter/issues/163159 Also removes injection of overflow members for testing from public facing api surface.1 年前
[pigeon] fixes event channel dart instance name usage and adds test (#8483) fixes event channel dart instance name usage and adds test fixes https://github.com/flutter/flutter/issues/1618131 年前
[pigeon] Adds annotation options to omit shared classes used in Event Channels (#8566) fixes https://github.com/flutter/flutter/issues/1612911 年前
[analysis_options] sync lint rules with flutter/flutter (#2495) 3 年前
[pigeon] doc comments always start with ' ' (#2825) * doc comments always start with ' ' * add unit tests * remove unused import * small test scaffolding fix to allow publish3 年前
[pigeon] implemented multiple arity generators (#426) 4 年前
[pigeon] Adds Swift support for Pigeon (#976) 3 年前
[pigeon] Fixes bug with mixmatch of nndb and nested types of objc. (#2157) * [pigeon] Fixes bug with mixmatch of nndb and nested types of objc. * created nullable variant for fromMap * added integration test * format * added new generated files * added comment * Updated android tests. * updated windows tests3 年前
[pigeon] FlutterApi error handling (#5008) * Adds error handling on Flutter Api methods. * **Breaking Change** Removes Reply class from all Java method returns. * **Breaking Change** Adds NullableResult class for all nullable Java method returns. * **Breaking Change** Nests all enum returns in Objective-c to allow for nil response on error. * **Breaking Change** Renames Setup to SetUp in Objective-c. fixes https://github.com/flutter/flutter/issues/118243 fixes https://github.com/flutter/flutter/issues/118245 fixes https://github.com/flutter/flutter/issues/124268 fixes https://github.com/flutter/flutter/issues/1351762 年前
[analysis_options] sync lint rules with flutter/flutter (#2495) 3 年前
[pigeon] Add errors for ProxyAPI callback methods and null instances when reading in a ProxyApiBaseCodec (#8567) * Adds an error message when a ProxyAPI callback method that returns a non-null value is nullable. Returning a null value causes error on the platform side. This ensures the Dart side prevents this from happening. * Adds an error message in the ProxyApiBaseCodec when an instance could not be retrieved when reading a value.1 年前
README.md

This directory contains Pigeon API definitions used to generate code for tests.

Please do not add new files to this directory unless absolutely necessary; most additions should go into core_tests.dart. See https://github.com/flutter/flutter/issues/115168 for context.