JavaCPP v1.5.2 Release Notes

Release Date: 2019-11-05 // over 4 years ago
  • 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
    • 0๏ธโƒฃ 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)