You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Propagate @Deprecated annotations from C/ObjC headers into generated Dart
bindings. Deprecation messages from __attribute__((deprecated("msg"))) and API_DEPRECATED("msg", ...) are included in the annotation.
Breaking change: Remove deprecated useDartHandle field from FfiGenerator.
Breaking change: Remove unused includeSymbolAddress field from Categories, Interfaces, and Protocols.
Breaking change: Remove deprecated wrapperName field from NativeExternalBindings.
Breaking change: Certain synthetic USRs have been modified to ensure they
cannot collide with real USRs. It's very unlikely that any user facing USRs
are affected.
Enum struct members now have setters.
Breaking change: Dart const values will be generated for global variables
marked const in C (e.g. static const int) instead of symbol lookups. This
supports integers, doubles, and string literals. Including the variable name
in the globals -> symbol-address configuration will still generate symbol
lookups.
Fix a bug where block
helpers were occasionally given unexpected names. Technically a breaking
change because if you were affected by the bug, the block helper's name will
change to something more sensible.
Breaking change: Deleted the config option Output.sort. Sorting is now
always enabled.
Fix(#2877)
such that ObjCObject isA now accepts a nullable ObjCObject? and returns false when called with null, aligning its behavior with Dart’s is
operator.
Use xcrun for resolving macOS SDK paths, enabling support for non-standard
Xcode installations. #3134
Add allocate constructor for native C structs: $allocate(Allocator $allocator, {required ...})
Fix a bug where ObjC
classes with SWIFT_UNAVAILABLE annotated init/new methods were
generating runtime-crashing no-arg constructors.
Fix a bug where methods marked with __attribute__((unavailable)) were
incorrectly included in bindings when no platform version info was configured.
Add some more lint ignores to the generated bindings.
Fix a bug where the config option Protocols.includeTransitive was not
working correctly.
Add compile time version checks to verify consistency of package:objective_c's
versions vs FFIgen's generated code.
Fix a bug where ObjC
bindings may not auto-load their dylib in some cases.
Fix memory leaks, deadlocks, and crashes that can happen in callbacks, if the
target isolate is shut down.
Bump package:meta dependency to ^1.19.0 and stop generating experimental_member_use lint ignore in generated bindings when @RecordUse() is used.
Support versions 3.x of package:package_config.
Fix a bug where comments containing carriage return (\r) characters were not
properly split, causing comment text to spill out of Dart doc comments.