Skip to content

Conversation

goderbauer
Copy link
Contributor

Follow-up to #2691 (comment).

This changes the typesetting of our product names to be FFIgen and JNIgen consistently throughout the code base. It eliminates type settings like ffigen/jnigen or jnigen/ffigen.

@goderbauer goderbauer changed the title [ffigen][jnigen] Unify typesetting of FFIgen and JNIgen [ffigen] [jnigen] Unify typesetting of FFIgen and JNIgen Oct 13, 2025
Copy link

github-actions bot commented Oct 13, 2025

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
jni Breaking 0.14.2 0.15.0-wip 0.15.0 ✔️
objective_c Breaking 8.1.0 9.0.0-dev.0 9.0.0 ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

API leaks ⚠️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources
objective_c _FinalizablePointer internal.dart::_ObjCReference::new::_finalizable

This check can be disabled by tagging the PR with skip-leaking-check.

License Headers ✔️
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/objective_c/lib/src/ns_input_stream.dart

This check can be disabled by tagging the PR with skip-license-check.

@coveralls
Copy link

coveralls commented Oct 13, 2025

Coverage Status

coverage: 82.1% (+0.8%) from 81.265%
when pulling ea1c302 on goderbauer:jniffi
into c4b4950 on dart-lang:main.

@@ -1,5 +1,5 @@
name: pdf_info
description: Dart standalone example using jnigen PDFBox bindings.
description: Dart standalone example using JNIgen PDFBox bindings.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JNIgenned?

PDFBox bindings generated by JNIgen?

PDFBox bindings?

Copy link
Member

@HosseinYousefi HosseinYousefi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Maybe this ship has sailed but ffigen and jnigen instead would be easier to type and I've seen more of our users type it that way.

@dcharkes
Copy link
Collaborator

FFIgen and JNIgen over ffi_gen and jni_gen was a decision made by @mit-mit a couple of years back IIRC.

@goderbauer
Copy link
Contributor Author

goderbauer commented Oct 13, 2025

The health check failure seems to be a known issue: dart-lang/ecosystem#377

Resolved via #2695.

@goderbauer goderbauer merged commit 600e2dc into dart-lang:main Oct 14, 2025
47 of 48 checks passed
@goderbauer goderbauer deleted the jniffi branch October 14, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants