Skip to content

JavaCPP 1.5.2

Compare
Choose a tag to compare
@saudet saudet released this 05 Nov 08:42
· 274 commits to master since this release
1.5.2
3ddea3e

November 5, 2019 version 1.5.2

  • Provide ByteIndexer with value getters and setters for unsigned byte or short, half, bfloat16, and boolean types as well
  • Introduce PointerScope.extend() to prevent deallocation on the next call to close()
  • Make Generator avoid ambiguous conversion errors from UniquePtrAdapter to std::unique_ptr (pull #353)
  • Fix Parser using fully qualified names for @Name annotations of nested classes (issue #352)
  • Add Parser support for macro expansion of __VA_ARGS__
  • Fix Builder not processing all classes when given .** as input (issue bytedeco/javacv#1311)
  • Introduce reference counting in Pointer and retrofit PointerScope to use it
  • Fix Parser incorrectly inheriting default constructors multiple times with using
  • Allow in Parser fully qualified names as Info.valueTypes for enumerators as well
  • Perform template substitution in Parser also for default argument values (pull #343)
  • Introduce PointerScope.forClasses to limit the Pointer classes that can be attached to a given instance
  • Add support for custom Allocator to VectorAdapter and custom Deleter to UniquePtrAdapter
  • Enable support for OSGi bundles (pull #332)

September 5, 2019 version 1.5.1-1

  • Use the native thread ID as name on AttachCurrentThread() (pull #339)
  • Make sure we canRead(), canWrite(), and canExecute() what Loader.getCacheDir() returns
  • Prevent Generator from copying data unnecessarily when returning Java arrays from adapters (issue #317)
  • Fix Parser issues when casting const pointers or enumerating anonymous enum declarations
  • Add Info.objectify to map global functions without using the static modifier, similarly to Scala companion objects
  • Allow once more abstract subclasses of FunctionPointer (issue #318)