Skip to content

JavaCPP 1.5.7

Compare
Choose a tag to compare
@saudet saudet released this 10 Feb 03:50
· 83 commits to master since this release
1.5.7
e941401

February 11, 2022 version 1.5.7

  • Add Loader.clearCacheDir() along with new ClearMojo and -clear command line option
  • Speed up Loader on Windows when there are no symbolic links or library versions (pull #512)
  • Enhance Pointer.physicalBytes() by excluding shared pages from memory-mapped files, etc (issue #468)
  • Fix Parser not correctly encoding files of top-level classes produced with @Properties(target=..., global=...)
  • Add Pointer.interruptDeallocatorThread() method to make JavaCPP classes eligible for GC (discussion bytedeco/javacpp-presets#1115)
  • Let Parser output the content of Info.javaText in the case of FunctionPointer as well
  • Fix TokenIndexer failure on macros using the concat ## operator with empty arguments (issue #525)
  • Let Parser support arrays of anonymous struct or union containing another one (discussion #528)
  • Prevent Parser from outputting duplicate Pointer constructors for basic containers
  • Fix Generator compiler errors on callback functions returning objects without default constructors
  • Ensure Builder copies resources only from the first directories found in the paths
  • Add Loader.getCanonicalPath() to work around bugs in File.getCanonicalPath() on Windows (pull #519)
  • Add FunctionPointer and @Virtual methods missing from config files required by GraalVM Native Image
  • Let Tokenizer convert characters using ASCII escape sequences '\x...' to normal hexadecimal values 0x...
  • Fix Parser incorrectly mapping default function arguments containing multiple template arguments
  • Fix Parser failures on variadic templates calling sizeof...() and on variables initialized from template values
  • Prevent Parser from failing on nonexistent header files contained in @Platform(exclude=...)
  • Add classOrPackageNames parameter to CacheMojo (pull #510)