Skip to content

Releases: scala-native/scala-native-bindgen

Scala Native Binding Generator 0.3.1

08 Sep 15:26
c42019e
Compare
Choose a tag to compare

This release focuses on improving the documentation and completing the migration to the Scala Native GitHub organization.

Documentation

  • #182 Improve binding config documentation (by @jonas)
  • #177, #178 Update repo URLs to use the Scala Native GitHub organization (by @kornilova-l)
  • #175, #186 Show resolver and fix binding dependency declaration for sbt, Maven, and Gradle (by @kornilova-l and @jonas)
  • #174 Bump the Paradox material theme to version 0.5.0 (by @jonas)

Other

  • #180 No longer push Docker images with the scala-native-bindgen binary (by @jonas)
  • #183 Replace utest with ScalaTest (by @jonas)

Scala Native Binding Generator 0.3.0

27 Aug 10:24
Compare
Choose a tag to compare

Release Highlights

This time we released bindings for fnmatch.h, regex.h, iconv.h and utf8proc.h.
The list and usage instructions are available at bindings doc page.

Bindgen

  • #116 #141 fixes detection of cyclic structs and unions (by @kornilova-l)
  • #122 adds helper class for structs that have more than 22 fields (by @kornilova-l)
  • #138 generates type for anonymous structs, unions and inner enums (by @kornilova-l)
  • #140 adds option to reuse types from generated bindings (by @kornilova-l)
  • #149 renames anonymous parameters from anonymous_N to pN (by @kornilova-l)
  • #152 #154 #158 moves all declarations and helper functions to main object (by @kornilova-l)
  • #160 adds structs constructors that initialize all fields (by @kornilova-l)

Sbt plugin

  • #136 adds support for custom target folder for generated code (by @jonas)
  • #136 allows multiple bindings per nativeBindgen task invocation (by @jonas)
  • #144 improves tooling and sbt-plugin error handling (by @jonas)
  • #164 generate files automatically when binding source is managed (by @jonas)

v0.3.0-RC2

15 Aug 22:03
fa784c1
Compare
Choose a tag to compare
v0.3.0-RC2 Pre-release
Pre-release
Releasing 0.3.0-RC2

v0.3.0-RC1

14 Aug 02:00
fc815fe
Compare
Choose a tag to compare
v0.3.0-RC1 Pre-release
Pre-release
Releasing 0.3.0-RC1

v0.3.0-RC0

09 Aug 03:55
af54d3e
Compare
Choose a tag to compare
v0.3.0-RC0 Pre-release
Pre-release
Releasing 0.3.0-RC0

v0.2.0-RC1

27 Jul 04:13
efcdf01
Compare
Choose a tag to compare
v0.2.0-RC1 Pre-release
Pre-release
Releasing 0.2.0-RC1

Scala Native Binding Generator 0.2

02 Aug 15:58
efcdf01
Compare
Choose a tag to compare

Release Highlights

  • #65 removes warnings about type qualifiers (by @kornilova-l)
  • #33 #82 enables building standalone static executable (by @jonas)
  • #50 adds support for literal defines (by @kornilova-l)
  • #80 adds limited support for extern variable (by @jonas)
  • #62 adds support for defines that create aliases for extern variables (by @kornilova-l)
  • #101 moves documentation to GitHub pages (by @kornilova-l)
  • #90 fixes size of constant arrays (by @kornilova-l)
  • #93 fixes helper methods for native.CArray and native.CStruct (by @kornilova-l)
  • #94 #114 fixes usage of pointers to opaque types (by @kornilova-l)
  • #113 filters declarations from included headers (by @kornilova-l)
  • #76 #111 adds sbt plugin that generates bindings (by @jonas and @kornilova-l)
  • #119 skips functions that pass arrays or unions by value (by @kornilova-l)
  • #125 removes helper methods for packed structs that are represented as CStruct
    (by @kornilova-l)
  • #130 configures publishing of the sbt plugin and enables automatic download of binary
    (by @jonas)

v0.2.0-RC0

25 Jul 00:11
942598b
Compare
Choose a tag to compare
v0.2.0-RC0 Pre-release
Pre-release
Releasing 0.2.0-RC0

Scala Native Binding Generator 0.1

23 Jun 13:28
Compare
Choose a tag to compare

First release of Scala Native Binding Generator.

Docker container with bindgen binary:
https://hub.docker.com/r/scalabindgen/scala-native-bindgen/

Instructions

Release Highlights

  • mrRosset/scala-native-bindgen (by @mrRosset) initial version of Binding Generator that outputs bindings for typedefs, structs, unions and functions. Also it generates helper functions that make access to fields of structs and unions easier.
  • #17 (by @jonas) migrates the test suite to Scala and sbt.
  • mrRosset#2 (by @jonas) simplifies the build to link against system installed Clang libraries.
  • mrRosset#3, mrRosset#4 (by @kornilova-l) adds helper function for struct allocation.
  • #25 (by @kornilova-l) adds option to filter functions and typedefs by prefix.
  • #32 (by @kornilova-l) ensures that names of library member do not interfere with Scala names.
  • #37 #38 (by @kornilova-l) fixes enum type and its integer values.
  • #42 (by @kornilova-l) fixes name of variadic argument.
  • #43 (by @kornilova-l) adds command line option for package name.
  • #44 (by @kornilova-l) warns about packed structs.