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

Changes

Summary

  1. gluegen: avoid a suppressed warning annotation by using the ArrayList (details)
  2. gluegen: remove an unreferenced writer variable (details)
  3. gluegen: update antlr grammer to produce annotated enum and functionName (details)
  4. gluegen: move all antlr grammars to a top-level directory (details)
  5. gluegen: pair the grammer input folder with an out.dir value (details)
  6. gluegen: update the target names for generating java code (details)
  7. gluegen: remove some unused imports (details)
  8. gluegen: update HeaderParser grammar to annotation EnumType map and (details)
  9. Fix glibc-compat-symbols.h: Distinguish clang and gcc (Aligned w/ (details)
  10. OSX Build: Default gcc.compat.compiler=xcode.clang ; Remove explicit (details)
  11. JavaEmitter.typeToJavaType: Simplify if-else block ; (details)
  12. Minor edits: space, final qualifier; setenv-build-*: Add generic JDK (details)
  13. ReflectionUtil.getConstructor: Add 'initializeClazz' argument, allowing (details)
  14. GlueGen: Add support for 'compound call-by-value', i.e. passing and (details)
  15. gluegen: move all antlr grammars to a top-level directory (refine commit (details)
  16. complete commit 33eb9484c4675423431521f2271e3e9d8d38f3b2 (details)
  17. TestVersionSemantics: No more expecting BACKWARD_COMPATIBLE* (Due to (details)
  18. GlueGen: Add support for 'compound array call-by-value' (details)
  19. Fix commit f4e753ff1f39be381307ffdb0fb6bb7a2d323eff: 'compound array (details)
  20. GlueGen: Refine compound [array] call-by-value native code injection and (details)
  21. GlueGen: Refine compound [array] call-by-value native code injection and (details)
  22. Bump cpptasks.jar to commit 9a66c005a3cd304c4b47abd9a287a60e3545b9da (details)
  23. GlueGen: Add support for compound-array in structs (accessors) ; Allow (details)
  24. Bug 1025 - GlueGen: Add accessor for compound fields of type array, (details)
  25. Bug 1025 - GlueGen: Fix test case (gcc compiler regression due to (details)
  26. Bug 1025 - GlueGen: Fix regression of single non-native sized compound (details)
  27. CMethodBindingEmitter: Suppress compiler warning in NewDirectByteBuffer (details)
  28. Buffers: Split slice2Float(..) into dedicated methods for FloatBuffer (details)
  29. Fix 'typo' in messages: 'Catched' -> 'Caught' (details)
  30. Code Clean-Up based on our Recommended Settings (jogamp-scripting (details)
Commit 775ec79d5d719c1eba9c4687ae066f6b82696e4f by Harvey Harrison
gluegen: avoid a suppressed warning annotation by using the ArrayList copy constructor

clone() can't be used without warnigns and is no more efficient that the copy constructor,
replace the call and kill the suppressed warning annotation.  While here, mark the
modifier list as private final.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/java/com/jogamp/gluegen/FunctionEmitter.java (diff)
Commit 5a9bee7ad9085cfd71053041aff3cabce2325f22 by Harvey Harrison
gluegen: remove an unreferenced writer variable

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/java/com/jogamp/gluegen/FunctionEmitter.java (diff)
Commit b8d85c035bbd2d6fa8a37f957bcf80acab18015e by Harvey Harrison
gluegen: update antlr grammer to produce annotated enum and functionName sets

The annotations are all commented out, uncomment them and reduce the type warnings
during the build.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/java/com/jogamp/gluegen/jgram/Test.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/jgram/JavaParser.g (diff)
Commit e8bc9edd3c39170af038ab23b8cdca9ffd6f2d56 by Harvey Harrison
gluegen: move all antlr grammars to a top-level directory

/src/main/antlr/..

This gets the .g files unmixed from the non-generated java files for the cgram/jgram packages.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was removedsrc/java/com/jogamp/gluegen/cgram/GnuCParser.g
The file was addedsrc/main/antlr/com/jogamp/gluegen/cgram/StdCParser.g
The file was modifiedmake/build.xml (diff)
The file was addedsrc/main/antlr/com/jogamp/gluegen/cgram/GnuCEmitter.g
The file was addedsrc/main/antlr/com/jogamp/gluegen/jgram/JavaParser.g
The file was removedsrc/java/com/jogamp/gluegen/cgram/StdCParser.g
The file was removedsrc/java/com/jogamp/gluegen/cgram/GnuCTreeParser.g
The file was removedsrc/java/com/jogamp/gluegen/jgram/JavaParser.g
The file was addedsrc/main/antlr/com/jogamp/gluegen/cgram/GnuCParser.g
The file was addedsrc/main/antlr/com/jogamp/gluegen/cgram/GnuCTreeParser.g
The file was removedsrc/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
The file was addedsrc/main/antlr/com/jogamp/gluegen/cgram/HeaderParser.g
The file was removedsrc/java/com/jogamp/gluegen/cgram/HeaderParser.g
Commit 0e54f57338e888e9835069776de32dcb47c54a17 by Harvey Harrison
gluegen: pair the grammer input folder with an out.dir value

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedmake/build.xml (diff)
Commit 38e34f378a97f3653ad160e49677a005b6f7a32f by Harvey Harrison
gluegen: update the target names for generating java code

Also move the antlr-wrapping targets to be near the one place they are used.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedmake/build.xml (diff)
Commit d6a5fa9169cc3f7abdb7a23068ddd76f632eec26 by Harvey Harrison
gluegen: remove some unused imports

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/java/com/jogamp/gluegen/GlueEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/CToken.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/TNodeFactory.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/DebugEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java (diff)
Commit 5d802fb8dd4004039d4597253712d24fffb90a36 by Harvey Harrison
gluegen: update HeaderParser grammar to annotation EnumType map and functions list

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/main/antlr/com/jogamp/gluegen/cgram/HeaderParser.g (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/GlueGen.java (diff)
Commit addb639e6dde90519f772a66222eb86107b35176 by Sven Gothel
Fix glibc-compat-symbols.h: Distinguish clang and gcc (Aligned w/ openal-soft commit adc3413dda197bbd6b879ff98e897b8fbc66cc39)
The file was modifiedmake/stub_includes/platform/glibc-compat-symbols.h (diff)
Commit 65cbb89d04936df2f385d32d1649abaa4da4581c by Sven Gothel
OSX Build: Default gcc.compat.compiler=xcode.clang ; Remove explicit xcode.clang property files
The file was modifiedmake/gluegen.properties (diff)
The file was removedmake/scripts/make.gluegen.all.macosx-clang.sh
The file was modifiedmake/gluegen-properties.xml (diff)
The file was removedmake/lib/gluegen-xcode_clang.properties
Commit d3e2cd6432b3383d4589350d60170e02db469343 by Sven Gothel
JavaEmitter.typeToJavaType: Simplify if-else block ; JavaType.getDumpString(): Add more info ..
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaType.java (diff)
Commit 56a22f2937c334320637557ef6cd9b38c4b03022 by Sven Gothel
Minor edits: space, final qualifier; setenv-build-*: Add generic JDK location
The file was modifiedsrc/java/com/jogamp/common/os/DynamicLibraryBundle.java (diff)
The file was modifiedmake/scripts/setenv-build-jogl-x86_64.sh (diff)
The file was modifiedmake/scripts/setenv-build-jogl-x86.sh (diff)
The file was modifiedsrc/native/common/JVMUtil.c (diff)
Commit 9d857ea3575ee263801741a95711d9214c156276 by Sven Gothel
ReflectionUtil.getConstructor: Add 'initializeClazz' argument, allowing to defer static class initialization
The file was modifiedsrc/java/com/jogamp/common/util/ReflectionUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
Commit c3054a01990e55ab35756ea23ab7d7c05f24dd37 by Sven Gothel
GlueGen: Add support for 'compound call-by-value', i.e. passing and returning struct instance

'compound call-by-value' is not efficient.

However, to allow mapping APIs utilizing passing small structs
as arguments and return values - this feature has been added.

+++

To return the struct value, native code needs to
allocate a NIO ByteBuffer and copy the data.
The stack return value can be dismissed afterwards and the
NIO buffer is returned.

We include this functionality for all generated [impl] classes,
native method:
  'static jobject JVMUtil_NewDirectByteBufferCopy(JNIEnv *env, void * source_address, jlong capacity)'

  (See: 'JavaEmitter.initClassAccessCode')

Since this code requires knowledge of java classes and methods,
for which a reference needs to be acquired, a static initialization method
has been introduced for all generated [impl] classes:
  'private static native boolean initializeImpl();'

Per default the this method will be called in the new
static initializer block of the class,
which can be supressed via the configuration element:
   'ManualStaticInit <class-name>'

'ManualStaticInit' can be used to issue the 'initializeImpl()'
call in a custom static initializer written by the user.

However, at the time 'initializeImpl()' gets called
the JNI native library must have been loaded, of course!

+++

- See tag: // FIXME: Compound call-by-value
  for code changes and validation of completeness

Trigger for compond call-by-value in CMethodBindingEmitter is:
   !cArgType.isPointer() && javaArgType.isCompoundTypeWrapper()

Trigger for compond call-by-value in JavaEmitter is:
  t.isCompound()

+++

Further more we do tolerate 'javaType.isCPrimitivePointerType()',
i.e. adding comments for offset/size and field entries,
which are all NOP.

This allows to utilize the remaining fields of the native structure.

+++

Tests: Added call-by-value to test1.[ch] binding test!
The file was modifiedsrc/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
Commit 33eb9484c4675423431521f2271e3e9d8d38f3b2 by Sven Gothel
gluegen: move all antlr grammars to a top-level directory (refine commit e8bc9edd3c39170af038ab23b8cdca9ffd6f2d56): src/antlr (IMHO no need for 'main')

/src/main/antlr/ -> /src/antlr/
The file was addedsrc/antlr/com/jogamp/gluegen/cgram/GnuCParser.g
The file was removedsrc/main/antlr/com/jogamp/gluegen/cgram/StdCParser.g
The file was addedsrc/antlr/com/jogamp/gluegen/cgram/GnuCTreeParser.g
The file was removedsrc/main/antlr/com/jogamp/gluegen/cgram/HeaderParser.g
The file was addedsrc/antlr/com/jogamp/gluegen/jgram/JavaParser.g
The file was removedsrc/main/antlr/com/jogamp/gluegen/jgram/JavaParser.g
The file was addedsrc/antlr/com/jogamp/gluegen/cgram/GnuCEmitter.g
The file was removedsrc/main/antlr/com/jogamp/gluegen/cgram/GnuCTreeParser.g
The file was addedsrc/antlr/com/jogamp/gluegen/cgram/StdCParser.g
The file was removedsrc/main/antlr/com/jogamp/gluegen/cgram/GnuCParser.g
The file was addedsrc/antlr/com/jogamp/gluegen/cgram/HeaderParser.g
The file was removedsrc/main/antlr/com/jogamp/gluegen/cgram/GnuCEmitter.g
Commit 1ee6e77f731b1254792ecd23c8f4b6a8affc6375 by Sven Gothel
complete commit 33eb9484c4675423431521f2271e3e9d8d38f3b2
The file was modifiedmake/build.xml (diff)
Commit a75276408c9bcff77f568cf72b6c71e421a07552 by Sven Gothel
TestVersionSemantics: No more expecting BACKWARD_COMPATIBLE* (Due to bumping to 2.2.0)
The file was modifiedsrc/junit/com/jogamp/common/util/TestVersionSemantics.java (diff)
Commit f4e753ff1f39be381307ffdb0fb6bb7a2d323eff by Sven Gothel
GlueGen: Add support for 'compound array call-by-value'

Completing commit c3054a01990e55ab35756ea23ab7d7c05f24dd37
by allowing passing compound arrays via 'call-by-value.

- Creating linear temp heap, copying NIO values into it
   and passing to C function.
   Copy-back if not 'const', see below.

- Respect 'const' qualifier to skip write-back of
   temp heap passed to C function

- See tag: // FIXME: Compound and Compound-Arrays
   for code changes and validation of completeness

- triggers for compound arrays are:
     - javaType.isArrayOfCompoundTypeWrappers()
     - type.isArray()

- simplified const query by c-type: FunctionEmitter.isBaseTypeConst(ctype)

+++

Tests: Added call-by-value to test1.[ch] binding test!
The file was modifiedsrc/java/com/jogamp/gluegen/JavaType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/MethodBinding.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/FunctionType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/ArrayType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/FunctionEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java (diff)
Commit 9843e983a4fc71a64eb3de9cb364a1f4ffa56b3a by Sven Gothel
Fix commit f4e753ff1f39be381307ffdb0fb6bb7a2d323eff: 'compound array call-by-value' JavaMethodBindingEmitter, array may still require NIO handling, also consider NIO array length.
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
Commit 1eadaf928f4f61aae4de1c8bf33c5b77bdfa882f by Sven Gothel
GlueGen: Refine compound [array] call-by-value native code injection and initialization

Follow-up of commit 9843e983a4fc71a64eb3de9cb364a1f4ffa56b3a

Only add static initialization code (java, native)
and hence native code 'JVMUtil_NewDirectByteBufferCopy(..)'
if either required _or_ forced via configuration.

This shall reduce possible sideffects
and dead code.

Add JavaConfiguration:

/**
* Returns true if the static initialization java code calling <code>initializeImpl()</code>
* for the given class will be manually implemented by the end user
* as requested via configuration directive <code>ManualStaticInitCall 'class-name'</code>.
*/
public boolean manualStaticInitCall(String clazzName);

/**
* Returns true if the static initialization java code implementing <code>initializeImpl()</code>
* and the native code implementing:
* <pre>
*   static jobject JVMUtil_NewDirectByteBufferCopy(JNIEnv *env, void * source_address, jlong capacity);
* </pre>
* for the given class will be included in the generated code, always,
* as requested via configuration directive <code>ForceStaticInitCode 'class-name'</code>.
* <p>
* If case above code has been generated, static class initialization is generated
* to call <code>initializeImpl()</code>, see {@link #manualStaticInitCall(String)}.
* </p>
*/
public boolean forceStaticInitCode(String clazzName);
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
Commit 2f6586292cd298bbc19d8acda0f7cf303c82078b by Sven Gothel
GlueGen: Refine compound [array] call-by-value native code injection and initialization

Follow-up of commit 1eadaf928f4f61aae4de1c8bf33c5b77bdfa882f

- Refine MethodBinding detection for 'requiresStaticInitialization',
  i.e. return type is a "compound type" and not a pointer

- JVMUtil_NewDirectByteBufferCopy: Throw FatalError if initializeImpl() has not been called
The file was modifiedsrc/java/com/jogamp/gluegen/MethodBinding.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
Commit 0b0f6f4d17f1ace3d3856428194126b4e3f06df0 by Sven Gothel
Bump cpptasks.jar to commit 9a66c005a3cd304c4b47abd9a287a60e3545b9da
The file was modifiedmake/lib/cpptasks.jar (diff)
Commit 6cb643671578aa912d16dd17e773d92f4667118b by Sven Gothel
GlueGen: Add support for compound-array in structs (accessors) ; Allow using C-Enum values for array length

- Parser (HeaderParser.g): Support using C-Enum values for array length specification
  - Will throw an exception if enum identifier is unknown or exceeds int-size

- Add StructEmitter supports for compound-arrays

- Add Debug stderr verbose info:
  - Struct Emitter prefix 'SE.' - to analyze emitting struct fields (offset+size and accessors)
  - Struct Layout  prefix 'SL.' - to analyze memory layout (based on MachineDescription.StaticConfig.X86_64_UNIX)

Tested via test1.[ch] BaseClass ..
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
The file was modifiedsrc/antlr/com/jogamp/gluegen/cgram/HeaderParser.g (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/StructLayout.java (diff)
Commit 9ee44e1a289ecbac024662dd5a2ffc42e8add023 by Sven Gothel
Bug 1025 - GlueGen: Add accessor for compound fields of type array, pointer and string (code generation)

Enhance compound access as delivered by Bug 1022,
to also generate accessors (getter and setter) for
array, pointer and string types.

Allow configuration of array length either via
their internal size (c-header) or config 'ReturnedArrayLength'.

'ReturnedArrayLength' allows specifying a java expression.

Canonical field names of compounds are _now_ specified as
follows for configuration entries:
  COMPOUND.FIELD
e.g.
  StructA.fieldB

Also allow configuration of pointer fields to be treated as
referenced arrays via 'ReturnedArrayLength'.

Further, allow specifying 'pointer fields' as String values
via 'ReturnsString' configuration.

++++

Implementation details:
  - handle above described accessor features
  - enhance JavaDoc for generated accessors
  - generate native JNI compound and string accessor on demand
  - encapsule accessor code generation in their own methods
  - enhance exception messages
  - enhance type verbosity in debug mode
  - verbose debug output via GlueGen.debug()

Tests:
  - Features covered by test1.[ch]
    and Test1p1JavaEmitter and Test1p2ProcAddressEmitter

  - Validated compilation and unit tests for modules:
    - joal
    - jogl (minor config changes req.)
    - jocl (minor config changes req.)
The file was modifiedmake/scripts/runtest-x64.bat (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/PointerType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/Type.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/MethodBinding.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/StructAccessor.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg (diff)
The file was modifiedmake/build-test.xml (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
The file was modifiedmake/scripts/runtest-x32.bat (diff)
The file was modifiedmake/scripts/java-win32.bat (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/ArrayType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/StructLayout.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaType.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/FunctionType.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java (diff)
The file was modifiedmake/scripts/java-win64.bat (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
Commit 679d484d4d8c3528aacc5b98dca644086948fcc5 by Sven Gothel
Bug 1025 - GlueGen: Fix test case (gcc compiler regression due to redefined types / removed them)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
Commit 8f571b2c0008df1b6554fa8fa754440c0f024052 by Sven Gothel
Bug 1025 - GlueGen: Fix regression of single non-native sized compound fields

Single non-native sized compound fields, if an opaque array/pointer,
must utilized the native size StructAccessor get/set method.
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
Commit 41ce139251fb63c9b969228d11246281de547793 by Sven Gothel
CMethodBindingEmitter: Suppress compiler warning in NewDirectByteBuffer usage (cast to void*)
The file was modifiedsrc/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
Commit 3bfc1e484ae247214d47f25fcc9b9da223f51fe1 by Sven Gothel
Buffers: Split slice2Float(..) into dedicated methods for FloatBuffer and float[] backing-array - refine API doc w/ backing-array semantics
The file was modifiedsrc/java/com/jogamp/common/nio/Buffers.java (diff)
Commit eb47aaba63e3b1bf55f274a0f338f1010a017ae4 by Sven Gothel
Fix 'typo' in messages: 'Catched' -> 'Caught'
The file was modifiedsrc/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/os/TestElfReader01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/TaskBase.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/cache/TempFileCache.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/NativeLibrary.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/Platform.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
Commit df9ff7f340a5ab4e07efc613f5f264eeae63d4c7 by Sven Gothel
Code Clean-Up based on our Recommended Settings (jogamp-scripting c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74)

Code Clean-Up based on our Recommended Settings (jogamp-scripting c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74)

    - Change non static accesses to static members using declaring type
    - Change indirect accesses to static members to direct accesses (accesses through subtypes)
    - Add final modifier to private fields
    - Add final modifier to method parameters
    - Add final modifier to local variables
    - Remove unnecessary casts
    - Remove unnecessary '$NON-NLS$' tags
    - Remove trailing white spaces on all lines
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestTempJarCache.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/NativeLibrary.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/VoidType.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestValueConversion.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/DebugEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/ValueConv.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/Logging.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/runtime/ProcAddressTable.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/MemoryLayoutType.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IntIntHashMap.java (diff)
The file was modifiedsrc/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/VersionNumberString.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestSystemPropsAndEnvs.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/AbstractBuffer.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/HashUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/PiggybackURLConnection.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/MachineDescription.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/BitstreamData.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/TypeDictionary.java (diff)
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/TNodeFactory.java (diff)
The file was modifiedsrc/java/jogamp/common/os/DynamicLinkerImpl.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/Shdr.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/RunnableExecutor.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BindingJNILibLoader.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/RecursiveThreadGroupLockImpl01Unfairish.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestJarUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/locks/TestSingletonServerSocket02.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/CompoundTypeKind.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/CodeGenUtils.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/StructLayout.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/RingBuffer01Base.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestSyncRingBuffer01.java (diff)
The file was modifiedsrc/java/jogamp/common/os/WindowsDynamicLinkerImpl.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/Buffers.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/GlueGen.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/EnumType.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/IntObjectHashMapTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/RunnableTask.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p2LoadJNIAndImplLib.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/LongIntUniqueRndValues.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/UnionType.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/ElfHeader.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/VersionNumber.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestURIQueryProps.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/Ehdr.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestVersionSemantics.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/ConstantDefinition.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/PointerBuffer.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/RecursiveLockImpl01Unfairish.java (diff)
The file was modifiedsrc/junit/com/jogamp/junit/sec/TestSecIOUtil01.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/MethodBinding.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/AssetURLConnection.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestFloatStack01.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/CSymbolTable.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/nio/TestStructAccessorEndian.java (diff)
The file was modifiedtest/junit/com/jogamp/gluegen/BuildUtil.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/MainLauncher.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/DynamicLibraryBundle.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream00.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestIteratorIndexCORE.java (diff)
The file was modifiedsrc/java/com/jogamp/common/GlueGenVersion.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestIOUtilURIHandling.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/PointerType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/TNode.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/TypeInfo.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/LauncherTempFileCache.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream01.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/SizeThunk.java (diff)
The file was modifiedsrc/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/LockDebugUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/IntIntObjUniqueRndValues.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/cache/TempJarCache.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/AssetURLContext.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/AssetURLStreamHandler.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/Platform.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/IntIntHashMapTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/cache/TempFileCache.java (diff)
The file was modifiedsrc/java/com/jogamp/common/os/AndroidVersion.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/pcpp/ConcatenatingReader.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/awt/AWTEDTExecutor.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/CompoundType.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/PreprocessorInfoChannel.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestPlatform01.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/AssetURLConnectionBase.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/ArrayHashSet.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/nio/TestPointerBufferEndian.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/FloatType.java (diff)
The file was modifiedsrc/java/jogamp/common/os/AndroidUtils.java (diff)
The file was modifiedsrc/java/jogamp/common/os/android/AndroidUtilsImpl.java (diff)
The file was modifiedsrc/java/jogamp/common/os/android/MD.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/FunctionEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/ReferencedStructs.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/FunctionTask.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/Field.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/TraceDexClassLoader.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/DoubleType.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/ReflectionUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/SecurityUtil.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/SectionHeader.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/SyncedRingbuffer.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/CToken.java (diff)
The file was modifiedsrc/java/jogamp/common/os/android/StaticContext.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/StructAccessor.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/GenericURLStreamHandlerFactory.java (diff)
The file was modifiedtest/junit/com/jogamp/gluegen/StructAccessorTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/FloatStack.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/LongIntHashMapTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IntBitfield.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/PropertyAccess.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/ArrayType.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestLFRingBuffer01.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaType.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestVersionNumber.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/PrimitiveType.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream03.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUrisWithAssetHandler.java (diff)
The file was modifiedsrc/junit/com/jogamp/junit/util/JunitTracer.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/pcpp/PCPP.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/URIDumpUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/Type.java (diff)
The file was modifiedsrc/junit/com/jogamp/junit/sec/Applet01.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/IntCloneable.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/Define.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestIOUtilURICompose.java (diff)
The file was modifiedsrc/java/com/jogamp/common/JogampRuntimeException.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/nio/BuffersTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/URIQueryProps.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/CachedBufferFactory.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestIOUtil01.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/IntType.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestRunnableTask01.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/Section.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/SingletonInstanceServerSocket.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/JarUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/TaskBase.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/LFRingbuffer.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream02.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/locks/SingletonInstance.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/VersionUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/asset/Handler.java (diff)
The file was modifiedsrc/java/jogamp/common/os/PosixDynamicLinkerImpl.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/AssetDexClassLoader.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java (diff)
The file was modifiedtest/junit/com/jogamp/gluegen/StructValidator.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/ActivityLauncher.java (diff)
The file was modifiedsrc/java/net/highteq/nativetaglet/NativeTaglet.java (diff)
The file was modifiedsrc/java/jogamp/common/os/android/GluegenVersionActivity.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/BitType.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/RecursiveLockImpl01CompleteFair.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/StructType.java (diff)
The file was modifiedsrc/java/jogamp/common/os/UnixDynamicLinkerImpl.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/RecursiveLockImplJava5.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/ant/GlueGenTask.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestArrayHashSet01.java (diff)
The file was modifiedsrc/java/jogamp/common/os/BionicDynamicLinkerImpl.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/JogampVersion.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/IOUtils.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/ClassLoaderUtil.java (diff)
The file was modifiedsrc/java/jogamp/common/Debug.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/LineObject.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/LauncherUtil.java (diff)
The file was modifiedsrc/java/jogamp/common/jvm/JVMUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestVersionInfo.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/cgram/types/FunctionType.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/locks/TestSingletonServerSocket00.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)
The file was modifiedsrc/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream04.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/LauncherVersionActivity.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/os/TestElfReader01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/locks/LockFactory.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/BuildEnvironment.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/SectionArmAttributes.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/AssetURLConnectionRegisteredTest.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/IntIntUniqueRndValues.java (diff)
The file was modifiedsrc/java/jogamp/common/util/locks/SingletonInstanceFileLock.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/jgram/Test.java (diff)