Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. refactoring in common.nio public api - removed Int64Buffer (details)
  2. NativeBuffer/PointerBuffer API/Impl Change (remove explicit backup (details)
  3. Eclipse: use native build path of tests (details)
  4. test / build scripts (details)
Commit a07892f07f15c96ca248fc12133748be7058241f by Sven Gothel
refactoring in common.nio public api - removed Int64Buffer
- removed Int64Buffer since it is no longer needed for LongBuffer emulation

Signed-off-by: Sven Gothel <sgothel@jausoft.com>
The file was removedsrc/java/com/jogamp/common/nio/Int64BufferSE.java (diff)
The file was modified src/java/com/jogamp/common/nio/Buffers.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaType.java (diff)
The file was removedsrc/java/com/jogamp/common/nio/Int64Buffer.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
Commit 8f8aa3f73e3c9804c4a86f5d4fdac257d50d831a by Sven Gothel
NativeBuffer/PointerBuffer API/Impl Change (remove explicit backup array, alloc referenced data map if used only)

This patch doesn't impact GlueGen's code generation,
but enhance and fix PointerBuffer usage only.

remove explicit backup array
  As suggested by Michael Bien with a proposed patch,
  PointerBuffer's backup array is not only redundant in case it's not used,
  but also erroneous - due to possible sliced buffers.

  Removes the explicit backup array implementation
  leaving it up to the user, ie how PointerBuffer is created (alloc/allocDirect)
  and use the underlying nio's buffer backup array, if available.

  This also fixes the (never tested) case of indirect w/ backup array usage
  on 32bit platform size. In this case the array shall be of type int[],
  holding 32bit pointer - on 64bit long[].
  Previous to this patch, it was always long[].

  Added more thorough tests of PointerBuffer, notably indirect w/ backup array
  and native deep copy and filling of a pointer array.

alloc referenced data map if used only
  As suggested by Michael Bien with a proposed patch,
  the allocation of the dataMap hash map is redundant in case it's not used.

  The hash map will be initialized lazy, if needed only.
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modified src/java/com/jogamp/common/nio/AbstractBuffer.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modified src/java/com/jogamp/common/nio/Buffers.java (diff)
The file was modified src/java/com/jogamp/common/nio/NativeBuffer.java (diff)
The file was removedsrc/java/com/jogamp/common/nio/AbstractLongBuffer.java (diff)
The file was modified src/java/com/jogamp/common/nio/PointerBuffer.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was removedsrc/java/com/jogamp/common/nio/PointerBufferSE.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
Commit 2b838b719f334d135c63d2569e029080c74e4307 by Sven Gothel
Eclipse: use native build path of tests
The file was modified .classpath (diff)
The file was modified make/scripts/make.gluegen.all.linux-x86_64.sh (diff)
The file was modified make/scripts/runtest.sh (diff)