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

Changes

Summary

  1. GlueGen proper size / alignment of primitive and compound types usage (details)
  2. GlueGen proper size / alignment of primitive and compound types usage (details)
  3. Junit tests on ARM: Reducing some test/perf loops allowing to pass tests (details)
  4. Fix alignment query code doc (details)
  5. Clarify aligment doc (details)
  6. GlueGen: Alignment Cleanup .. (details)
  7. - Moved most types and StructLayout to runtime package: (details)
  8. Fix bad file rename/move: .jav -> .java (details)
  9. Cleanup: Platform CPU enum, MachineDescription, (details)
  10. FIX StructAccessor / JavaEmitter's struct-emitter: Using byte offsets (details)
  11. refined Android ARMv7 targets (android still dummy) (details)
  12. minor refinement (details)
  13. Added scripts and custom cpp-tasks to build on android-armv7l (details)
  14. GlueGen proper size / alignment of primitive and compound types usage (details)
  15. Fix TestStructAccessorEndian (details)
  16. Reversed Type relocation ; Minor fix (details)
  17. add props compiler.cfg.linux.x86, linker.cfg.linux.x86 for proper (details)
  18. Fix regression (commit f733203dfbd034a6b1aa3eb2cd616437c982c435): Init (details)
  19. Cleanup [cross] compile properties (details)
  20. Adding native crosscompile test to ubuntu/armv7 and android/armv7 (details)
  21. Add missing defines (__unix__, DEBUG) for solaris, etc (details)
  22. Adding Sylvestre Ledru's bug #487 verbosity patch (details)
  23. Enable cross-testing on linux-armv7 (details)
  24. Add single cross test scripts (details)
  25. fix cross test: Test* -> *Test* ; Reduce iterations further for ARM to (details)
  26. Android integration / cross-test ; Enhance Platform (details)
  27. Android: Remove native (fake) detection (details)
  28. Complete android apk creation and cont. unit test launch. Need to write (details)
  29. Cleaned up android build ; Cross junit/java android test/script; Fix (details)
  30. Add native lib in apk, needs work to be installed (manifest ...) (details)
  31. Cross JUnit Tests - All Passed: Android+Linux armv7 (details)
  32. Added android packaging for android gluegen-rt.apk (details)
  33. Add Ubuntu 11.04 arm-linux-gnueabi library folder for build time linker (details)
  34. Replace default Android icons w/ JogAmp icons (details)
  35. proper GlueGen spelling (details)
  36. Fix android build/unit-test ; Generalize aapt packaging (macro) ; Use (details)
  37. APK: Native lib gets picked up now apk/lib/armeabi -> (details)
  38. Fix Android apk activity; Add apk VersionName; Add jar manifest to apk (details)
  39. Platform getArch() -> getArchName() (analogue to getOSName()) (details)
Commit f733203dfbd034a6b1aa3eb2cd616437c982c435 by Sven Gothel
GlueGen proper size / alignment of primitive and compound types usage [1/2] - Preparation.

Currently GlueGen fails for type long (size) and some alignments (see package.html).
  - The size and alignment values shall be queried at runtime.
  - Compound alignment needs to follow the described natural alignment (also @runtime).
  -

- Build
  - add Linux Arm7 (EABI)

- junit test
  - added compound/struct tests, pointing out the shortcomings of current impl.

- package.html
  - Added alignment documentation

- remove intptr.cfg

- add GluGen types int8_t, int16_t, uint8_t, uint16_t

- move MachineDescription* into runtime

- Platform
  - has runtime MachineDescription

  - moved size, .. to MachineDescription

  - use enums for OSType, CPUArch and CPUType defined by os.name/os.arch,
    triggering exception if os/arch is not supported.
    This avoids Java String comparison and conscious os/arch detection.

- MachineDescription:

  - compile time instances MachineDescription32Bits, MachineDescription64Bits

  - runtime queried instance MachineDescriptionRuntime

     - correct size, alignment, page size, ..
The file was modified src/junit/com/jogamp/common/util/TestIOUtil01.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modified src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java (diff)
The file was modified src/junit/com/jogamp/common/util/TestPlatform01.java (diff)
The file was modified make/stub_includes/gluegen/gluegen_types.h (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/GnuCTreeParser.g (diff)
The file was modified src/java/com/jogamp/gluegen/package.html (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java (diff)
The file was modified make/stub_includes/platform/gluegen_stdint.h (diff)
The file was modified src/java/com/jogamp/gluegen/StructLayout.java (diff)
The file was modified src/java/com/jogamp/common/os/NativeLibrary.java (diff)
The file was modified make/build-test.xml (diff)
The file was modified make/gluegen-cpptasks-base.xml (diff)
The file was modified src/java/com/jogamp/common/os/Platform.java (diff)
The file was addedsrc/java/jogamp/common/os/MachineDescription32Bit.java (diff)
The file was removedsrc/native/common/Platform.c (diff)
The file was addedsrc/java/com/jogamp/common/os/MachineDescription.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueGen.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1p2-gluegen.cfg (diff)
The file was addedsrc/java/jogamp/common/os/MachineDescription64Bit.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg (diff)
The file was modified src/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was modified src/java/com/jogamp/gluegen/DebugEmitter.java (diff)
The file was modified make/scripts/runtest.sh (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/Field.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/MachineDescription64Bit.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/MachineDescription.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1-gluegen.cfg (diff)
The file was modified make/build.xml (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/SizeThunk.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/StdCParser.g (diff)
The file was modified src/java/com/jogamp/gluegen/GlueEmitter.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BuildEnvironment.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/MachineDescription32Bit.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/Type.java (diff)
The file was modified src/java/com/jogamp/common/util/VersionUtil.java (diff)
The file was modified src/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was modified src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java (diff)
The file was removedmake/config/intptr.cfg (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/HeaderParser.g (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/test1.h (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/GnuCParser.g (diff)
The file was addedsrc/native/common/MachineDescriptionRuntime.c (diff)
Commit 9a889948e7d649286ae0a473b49d14461c8981c5 by Sven Gothel
GlueGen proper size / alignment of primitive and compound types usage [1/2] - Preparation.

Fix commit f733203dfbd034a6b1aa3eb2cd616437c982c435,
adding missing file src/java/jogamp/common/os/MachineDescriptionRuntime.java
The file was addedsrc/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
Commit 546cd96a6bfc181cb2d9a7859f2dc9f69ec3a429 by Sven Gothel
Junit tests on ARM: Reducing some test/perf loops allowing to pass tests on low performance ARM
The file was modified src/junit/com/jogamp/common/util/IntIntHashMapTest.java (diff)
The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java (diff)
The file was modified src/junit/com/jogamp/common/util/IntObjectHashMapTest.java (diff)
The file was modified src/junit/com/jogamp/common/util/LongIntHashMapTest.java (diff)
The file was modified src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java (diff)
Commit a0fc362dfd5857ed3485b72f93baaa05f2591a1d by Sven Gothel
Fix alignment query code doc
The file was modified src/java/com/jogamp/gluegen/package.html (diff)
The file was modified src/java/com/jogamp/gluegen/package.html (diff)
Commit 8fc841257cae6b49399b29dfa53e3e834d27cabb by Sven Gothel
GlueGen: Alignment Cleanup ..

- SizeThunk
  - rename: compute -> computeSize
  - add:    computeAlignment

- merge types: char -> int8, short -> int16
- 'int' and 'long' may differ
-
The file was modified src/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
The file was modified src/java/com/jogamp/common/os/MachineDescription.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/Field.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/Type.java (diff)
The file was modified src/java/jogamp/common/os/MachineDescription64Bit.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/HeaderParser.g (diff)
The file was modified src/java/jogamp/common/os/MachineDescription32Bit.java (diff)
The file was modified src/native/common/MachineDescriptionRuntime.c (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/SizeThunk.java (diff)
Commit 92d6c9dc5fa72b01703456452c60822f36c14fff by Sven Gothel
- Moved most types and StructLayout to runtime package:
     com.jogamp.gluegen.cgram.types -> com.jogamp.gluegen.runtime.types
  This is required for desired runtime memory layout.

- Split CompoundType to StructType + UnionType

- StructLayout:
   - Utilizing SizeThunk alignment
   - Alignment
       1) Natural type alignment
       2) Add Size
       3) Trailing padding w/ largest element alignment
   - Only perform memory layout once for type.

Status:
- Unit test passes w/ static MachineDescriptor64Bit
- FIXME static 32bit is faulty, uses 64bit size/alignment

- TODO runtime struct layout to please all platforms w/o worrying
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/Field.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/CompoundType.java (diff)
The file was modified src/java/com/jogamp/gluegen/ReferencedStructs.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/MemoryLayoutType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/PrimitiveType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/Type.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/FunctionType.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/FloatType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/BitType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/Field.java (diff)
The file was modified src/java/com/jogamp/gluegen/package.html (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/VoidType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/SizeThunk.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/StructLayout.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/CompoundType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/CompoundTypeKind.jav (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/CompoundTypeKind.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/PointerType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/FloatType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/UnionType.java (diff)
The file was modified src/java/com/jogamp/gluegen/MethodBinding.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/HeaderParser.g (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/IntType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/TypeVisitor.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/DoubleType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/SizeThunk.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/TypeVisitor.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
The file was modified src/java/com/jogamp/gluegen/DebugEmitter.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/TypeDictionary.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/CVAttributes.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/CVAttributes.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/ArrayType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/PrimitiveType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/StructType.java (diff)
The file was modified src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/BitType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/EnumType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/Type.java (diff)
The file was modified src/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/IntType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/ArrayType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/FunctionType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/VoidType.java (diff)
The file was modified make/scripts/runtest.sh (diff)
The file was removedsrc/java/com/jogamp/gluegen/cgram/types/PointerType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/StructLayout.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/EnumType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/DoubleType.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was modified src/java/com/jogamp/gluegen/SymbolFilter.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueGen.java (diff)
The file was modified src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java (diff)
Commit 846c64d71d0e07ce1f5b4955eba8b49bfa0b5a22 by Sven Gothel
Fix bad file rename/move: .jav -> .java
The file was addedsrc/java/com/jogamp/gluegen/runtime/types/CompoundTypeKind.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/CompoundTypeKind.jav (diff)
Commit 0a8e1566c766f3b5a5e71b5d80500034f1a614a8 by Sven Gothel
Cleanup: Platform CPU enum, MachineDescription,

Platform:
  - enum CPUFamily is part of CPUType
  - DALVIK -> ANDROID
  - ARM: ARM + ARMv[567]

MachineDescription
   - self contained
   - static size/alignment Config (enum) for unix32, unix64, win32, win64 and armeabi
   - add 'long double'
   - Removed MachineDescription32Bit, MachineDescription64Bit
   - createStatic(..) uses OS/CPU to fetch best match if not at runtime

FIXES: JavaEmitter's struct-emit: Proper 32/64 struct sizes

TODO: StructAccessor's mapping to <Type>Buffer w/ index os sizeof(<Type>)
      doesn't work, since offset may not be multiple of sizeof(<Type>)!

i.e.
typedef struct {
    int8_t bits1;  // +1       -   0
                   // +3 (p32)
    int32_t id;    // +4       -   4
    int8_t bits2;  // +1       -   8
                   // +3 (p32) -
    int64_t long0; // +8       -  12

so "longBuffer.get(<type-sized index>)" is invalid,
but "byteBuffer.getLong(<byte index>)" must be done.

The actual impl. doesn't matter, hence dropping the other nio type mappings is good.
The file was modified src/java/com/jogamp/common/os/MachineDescription.java (diff)
The file was modified src/java/com/jogamp/gluegen/package.html (diff)
The file was removedsrc/java/jogamp/common/os/MachineDescription64Bit.java (diff)
The file was modified src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java (diff)
The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java (diff)
The file was modified src/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
The file was removedsrc/java/jogamp/common/os/MachineDescription32Bit.java (diff)
The file was modified src/junit/com/jogamp/common/util/LongIntHashMapTest.java (diff)
The file was removedmake/build-crosscompile.xml (diff)
The file was modified src/junit/com/jogamp/common/util/IntObjectHashMapTest.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueGen.java (diff)
The file was modified make/gluegen-cpptasks-base.xml (diff)
The file was modified src/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modified src/java/com/jogamp/common/os/Platform.java (diff)
The file was modified src/junit/com/jogamp/common/util/IntIntHashMapTest.java (diff)
The file was modified src/native/common/MachineDescriptionRuntime.c (diff)
Commit 8b3057585930357bb16546f584d998953b084034 by Sven Gothel
FIX StructAccessor / JavaEmitter's struct-emitter: Using byte offsets

Problem:
    typedef struct {
        int8_t bits1;  // +1       -   0
                       // +3 (p32)
        int32_t id;    // +4       -   4
        int8_t bits2;  // +1       -   8
                       // +3 (p32) -
        int64_t long0; // +8       -  12

    "longBuffer.get(<type-sized index>)" is invalid,
    but "byteBuffer.getLong(<byte index>)" must be done.

    The actual impl. doesn't matter, hence dropping the other nio type mappings is good.

FIXES 32bit unit test, works well (static) on 32/64 bit (unix).

TODO: Respect diff alignment for OS/ARCH either by offset tables for all, or runtime computing.
The file was modified src/java/com/jogamp/common/nio/StructAccessor.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaEmitter.java (diff)
Commit 4407a5ff17ec88cfdf9cea603c99ae939b50c15a by Sven Gothel
refined Android ARMv7 targets (android still dummy)
The file was modified make/gluegen-cpptasks-base.xml (diff)
The file was modified src/java/com/jogamp/common/nio/StructAccessor.java (diff)
The file was modified src/java/com/jogamp/gluegen/runtime/types/StructLayout.java (diff)
Commit a0fd183bf6761547ee97d9f9620d0cf9e232bdb8 by Rami Santina
Added scripts and custom cpp-tasks to build on android-armv7l
The file was addedmake/scripts/make.gluegen.all.android-arm.sh (diff)
The file was addedmake/lib/gluegen-cpptasks-android-arm.xml (diff)
The file was modified src/native/common/JVM_Tool.c (diff)
Commit dc4b259b6651bdc0cec0895bc74e26e504870c8e by Sven Gothel
GlueGen proper size / alignment of primitive and compound types usage [2/2] - Fin

MachineDesction == MD

MD.StaticConfig:
  - enum for all supported static configs (ID -> MD)
  - verified at runtime: test runtime queried-MD versus static-MD,
    hard fail if not compatible (size/alignment)

SizeThunk primitive sizes:
  - Add notion of fixed native size (eg. int64_t) and otherwise (eg. long)

java struct 'wrappers' code generation:
  - single class using size/offset arrays of all MachineDescription configurations
  - at runtime the array idx is queried in static block
  - type aligment for not fixed-native-size types (SizeThunk, undef long/int) via StructAccessor

junit test:
  - add float test
  - fix native code
  - add java (create, write)  -> native (verify) test

works (tested) on: linux 32/64 and windows 32/64
The file was addedmake/scripts/runtest-x64.bat (diff)
The file was modified src/java/com/jogamp/common/os/MachineDescription.java (diff)
The file was modified src/java/com/jogamp/gluegen/runtime/types/SizeThunk.java (diff)
The file was modified src/java/com/jogamp/common/os/Platform.java (diff)
The file was addeddoc/Implementation/native-size/NativeSizeAlignment-win64.log (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg (diff)
The file was addedmake/scripts/java-win32.bat (diff)
The file was modified src/java/com/jogamp/gluegen/GlueGen.java (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1.c (diff)
The file was addedmake/scripts/java-win64.bat (diff)
The file was addedmake/scripts/runtest-x32.bat (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/test1.h (diff)
The file was modified src/java/com/jogamp/common/nio/StructAccessor.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueEmitter.java (diff)
The file was addeddoc/Implementation/native-size/NativeSizeAlignment-linux-x86_32.log (diff)
The file was addeddoc/Implementation/native-size/NativeSizeAlignment-linux-x86_64.log (diff)
The file was addeddoc/Implementation/native-size/NativeSizeAlignment-win32.log (diff)
The file was modified src/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was modified src/java/com/jogamp/gluegen/DebugEmitter.java (diff)
The file was modified src/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
Commit 4aa66890176e9c2d8e648d6031c9491c3d625e07 by Sven Gothel
Fix TestStructAccessorEndian
  - StructAccessor uses byteOffset now (since 8b3057585930357bb16546f584d998953b084034)

Fix linux armv7l eabi:
  - build.xml arm7 -> armv7
  - all tests passes

Adding NativeSizeAlignment-linux-armv7l_eabi from passing test

OK: linux 32/64/armv7l, windows 32/64
The file was modified make/build.xml (diff)
The file was addedmake/scripts/check-junit.sh (diff)
The file was modified src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java (diff)
The file was modified make/scripts/runtest.sh (diff)
The file was addeddoc/Implementation/native-size/NativeSizeAlignment-linux-armv7l_eabi.log (diff)
The file was addedmake/scripts/make.gluegen.all.linux-armv7l_eabi.sh (diff)
Commit 3f2110f045de4bd4bd43f681256626bed1998fc3 by Sven Gothel
Reversed Type relocation ; Minor fix

Reversed Type relocation (commit 92d6c9dc5fa72b01703456452c60822f36c14fff)
from com.jogamp.gluegen.runtime.types back to com.jogamp.gluegen.cgram.types

Enabled MemoryLayoutType.setLayouted(), avoiding double layout
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/UnionType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/PointerType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/IntType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/DoubleType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/PrimitiveType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/PrimitiveType.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaType.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/VoidType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/PointerType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/CompoundTypeKind.java (diff)
The file was modified src/java/com/jogamp/gluegen/DebugEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/FloatType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/FunctionType.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/SizeThunk.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/types/TypeDictionary.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/EnumType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/UnionType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/VoidType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/MemoryLayoutType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/StructLayout.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/StructLayout.java (diff)
The file was modified src/java/com/jogamp/gluegen/MethodBinding.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/CompoundTypeKind.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/DoubleType.java (diff)
The file was modified src/java/com/jogamp/gluegen/CMethodBindingEmitter.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/SizeThunk.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/BitType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/Field.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/TypeVisitor.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/StructType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/Type.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueEmitter.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/FloatType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/TypeVisitor.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/CompoundType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/Type.java (diff)
The file was modified src/java/com/jogamp/gluegen/GlueGen.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/Field.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/BitType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/IntType.java (diff)
The file was modified src/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/FunctionType.java (diff)
The file was modified src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/ArrayType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/EnumType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/CVAttributes.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/ArrayType.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/StructType.java (diff)
The file was modified src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/CVAttributes.java (diff)
The file was modified src/java/com/jogamp/gluegen/ReferencedStructs.java (diff)
The file was removedsrc/java/com/jogamp/gluegen/runtime/types/CompoundType.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/cgram/types/MemoryLayoutType.java (diff)
The file was modified src/java/com/jogamp/gluegen/cgram/HeaderParser.g (diff)
Commit f0ed680aa5d48cd8086beccc9328b4a1b5a508d8 by Sven Gothel
add props compiler.cfg.linux.x86, linker.cfg.linux.x86 for proper linux-x86_32 spec. removed android props, we use custom xml files
The file was modified make/scripts/make.gluegen.all.linux-x86.sh (diff)
The file was modified make/build.xml (diff)
The file was modified make/gluegen-cpptasks-base.xml (diff)
Commit dac1bac087ac94c596dcb74185d504712069b0a7 by Sven Gothel
Fix regression (commit f733203dfbd034a6b1aa3eb2cd616437c982c435): Init of DEBUG and DEBUG_LOOKUP was removed, re-added.
The file was modified src/java/com/jogamp/common/os/NativeLibrary.java (diff)
Commit 2d57b3cbb4a8189ecb5523f6d8de3aa37db78a13 by Sven Gothel
Cleanup [cross] compile properties

- linux-armv7 (ubuntu)

  - added scripts/make.gluegen.all.linux-armv7-cross.sh

  - added symbolic links to cross toolchain (gcc, ld, ..)
    allowing gluegen's cpptask to pick it up

- android-armv7 (android)

  - we have scripts/make.gluegen.all.android-armv7-cross.sh
The file was addedmake/lib/linux-x86_64/arm-linux-gnueabi/bin/ld (diff)
The file was removedmake/lib/gluegen-cpptasks-android-arm.xml (diff)
The file was addedmake/lib/linux-x86_64/arm-linux-gnueabi/bin/objdump (diff)
The file was modified make/scripts/make.gluegen.all.linux-x86.sh (diff)
The file was addedmake/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
The file was addedmake/scripts/make.gluegen.all.linux-armv7.sh (diff)
The file was addedmake/scripts/make.gluegen.all.linux-armv7-cross.sh (diff)
The file was modified make/gluegen-cpptasks-base.xml (diff)
The file was addedmake/lib/linux-x86_64/arm-linux-gnueabi/bin/strip (diff)
The file was removedmake/scripts/make.gluegen.all.linux-armv7l_eabi.sh (diff)
The file was addedmake/lib/linux-x86_64/arm-linux-gnueabi/bin/gcc (diff)
The file was removedmake/scripts/make.gluegen.all.android-arm.sh (diff)
The file was addedmake/lib/gluegen-cpptasks-android-armv7.xml (diff)
Commit 967782f7bdbd0dd73c2e3ea448a0c9d44552a7d9 by Sven Gothel
Adding native crosscompile test to ubuntu/armv7 and android/armv7
The file was addedtest/native/cross-ubuntu-armv7-tst1/arm-gcc-test.c (diff)
The file was addedtest/native/cross-android-armv7-tst1/arm-gcc-test.sh (diff)
The file was addedtest/native/cross-android-armv7-tst1/hello-java.c (diff)
The file was addedtest/native/cross-ubuntu-armv7-tst1/arm-gcc-test.sh (diff)
The file was addedtest/native/cross-android-armv7-tst1/HelloJava.java (diff)
The file was addedtest/native/cross-android-armv7-tst1/hello-fp.c (diff)
The file was addedtest/native/cross-android-armv7-tst1/hello-fp.sh (diff)
The file was addedtest/native/alignment_test.sh (diff)
The file was addedtest/native/cross-android-armv7-tst1/hello-java.sh (diff)
The file was addedtest/native/cross-android-armv7-tst1/android.ndk.env-4.4.3-androideabi.armv7-a.sh (diff)
The file was addedtest/native/cross-android-armv7-tst1/arm-gcc-test.c (diff)
Commit d531b608884f4eeac8a33e6476d1ba05e560ae43 by Sven Gothel
Add missing defines (__unix__, DEBUG) for solaris, etc
The file was modified make/gluegen-cpptasks-base.xml (diff)
Commit b1eda6206776d989689e811fc59bb5f891243f33 by Sven Gothel
Adding Sylvestre Ledru's bug #487 verbosity patch
The file was modified make/gluegen-cpptasks-base.xml (diff)
Commit 6b9e53f00def34ec478eae3c5bb75e9784707b04 by Sven Gothel
Enable cross-testing on linux-armv7
The file was modified make/gluegen-properties.xml (diff)
The file was modified make/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
The file was modified make/build-test.xml (diff)
The file was modified make/scripts/make.gluegen.all.linux-armv7-cross.sh (diff)
Commit 6a321a9fb50ceb3bde38c5199f95c8f849090496 by Sven Gothel
Add single cross test scripts
The file was addedmake/scripts/crosstest-java-linux-armv7-rel.sh (diff)
The file was addedmake/scripts/crosstest-junit-linux-armv7-rel.sh (diff)
Commit 9f45b6f09cbce6c7889e099939656356befa585d by Sven Gothel
fix cross test: Test* -> *Test* ; Reduce iterations further for ARM to speedup test
The file was modified src/junit/com/jogamp/common/util/IntIntHashMapTest.java (diff)
The file was modified src/junit/com/jogamp/common/util/LongIntHashMapTest.java (diff)
The file was modified src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java (diff)
The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java (diff)
The file was modified src/junit/com/jogamp/common/util/IntObjectHashMapTest.java (diff)
The file was modified make/build-test.xml (diff)
Commit 869c49c22573147c94b1e6d931c2cff696a54a47 by Sven Gothel
Android integration / cross-test ; Enhance Platform

- android minor build fix
- started dex'ing (gluegen-rt.apk, more to come for full junit tests)
- android remote dalvikvm launch works (crosstest-java-android-armv7-rel.sh)
- android detection, incl version (reflection)

- Platform:
- Add JAVA_VM_NAME and JAVA_VM_RUNIME
- OSType maybe ANDROID, where the OS name (String) is Linux ! (ok ?)
The file was modified make/scripts/crosstest-junit-linux-armv7-rel.sh (diff)
The file was modified make/lib/gluegen-cpptasks-android-armv7.xml (diff)
The file was modified src/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
The file was modified make/build-test.xml (diff)
The file was modified make/gluegen-cpptasks-base.xml (diff)
The file was modified make/scripts/crosstest-java-linux-armv7-rel.sh (diff)
The file was modified src/native/common/MachineDescriptionRuntime.c (diff)
The file was addedsrc/java/com/jogamp/common/os/AndroidVersion.java (diff)
The file was modified src/java/com/jogamp/common/util/VersionUtil.java (diff)
The file was addedmake/scripts/crosstest-java-android-armv7-rel.sh (diff)
The file was modified make/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
The file was modified src/java/com/jogamp/common/os/Platform.java (diff)
The file was modified make/build.xml (diff)
Commit 2be84ffcc62e8be16b1bba17569a9b2d42269336 by Sven Gothel
Android: Remove native (fake) detection
The file was modified src/java/com/jogamp/common/util/VersionUtil.java (diff)
The file was modified src/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
The file was modified src/native/common/MachineDescriptionRuntime.c (diff)
Commit 26374fad042f4a33f799cdee367dc903b27a44f7 by Sven Gothel
Complete android apk creation and cont. unit test launch. Need to write unit test commands to file - too long for single adb shell command
The file was modified make/build.xml (diff)
The file was modified make/scripts/crosstest-java-android-armv7-rel.sh (diff)
The file was modified make/build-test.xml (diff)
The file was modified make/gluegen-properties.xml (diff)
The file was addedmake/lib/ant-junit-all.apk (diff)
Commit 625727ee75b758bef4f9f5f3816b37547c9f6875 by Sven Gothel
Cleaned up android build ; Cross junit/java android test/script; Fix Test1p2ProcAddressEmitter

Fix Test1p2ProcAddressEmitter
  - 3 tests used the wrong binding instance,
    where no native lib was loaded for - duh :)

Cleaned up android build
  - add unix src (UnixDynamicLinkerImpl_JNI.c)
  - remove linker cmds in compile arguments

Cross junit/java android test works via script
    - target command scrip is written to file, pushed and executed

Status: com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter
    - passed
    - on par w/ linux-armv7
The file was modified make/scripts/crosstest-java-android-armv7-rel.sh (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was modified make/lib/gluegen-cpptasks-android-armv7.xml (diff)
The file was modified make/build.xml (diff)
The file was addedmake/scripts/crosstest-junit-android-armv7-rel.sh (diff)
Commit 2488c4de3e5fe7c4b8258af3fb8aae9b4d5091ce by Sven Gothel
Add native lib in apk, needs work to be installed (manifest ...)
The file was modified make/build.xml (diff)
Commit 1d1fd17cca064306dd5d528d59a4bce0581dcc63 by Sven Gothel
Cross JUnit Tests - All Passed: Android+Linux armv7

- junit.cross targets:
  - use scripting to save time, ie write all target commands to script, xfer, exec

- junit: delete result folder just before junit.run

- Test BuildEnvironment.java: Simplify path config via properties (for android)
- AndroidVersion: No annoying exception dump if Build$VERSION* is not found (not android)
- launch scripts: use absolute TARGET_ROOT path for dynamic linker env.
The file was modified make/build.xml (diff)
The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BuildEnvironment.java (diff)
The file was modified make/scripts/make.gluegen.all.linux-armv7-cross.sh (diff)
The file was modified src/java/com/jogamp/common/os/AndroidVersion.java (diff)
The file was modified make/build-test.xml (diff)
The file was modified make/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
Commit e8a8fdda769277496772444fa4f99f863e9f355a by Rami Santina
Added android packaging for android gluegen-rt.apk

the apk package can be installed on android device
using adb install gluegen-rt.apk
reference package on device is com.jogamp.gluegen

gerenic icons is added to be replaced by jogamp logo
changes to apk can be controled thru manifest lib/android/AndroidManifest.xml
The file was addedmake/lib/android/res/layout/main.xml (diff)
The file was addedmake/lib/android/res/drawable-hdpi/icon.png (diff)
The file was addedmake/lib/android/AndroidManifest.xml (diff)
The file was addedmake/lib/android/res/drawable-mdpi/icon.png (diff)
The file was addedmake/lib/android/res/values/strings.xml (diff)
The file was modified make/build.xml (diff)
The file was addedmake/lib/android/res/drawable-ldpi/icon.png (diff)
The file was modified make/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
Commit ac4d6a49c9cf615386f20ddced59c33d44dd8c32 by Sven Gothel
Add Ubuntu 11.04 arm-linux-gnueabi library folder for build time linker resolution
The file was addedmake/lib/arm-linux-gnueabi/ubuntu-11.04/lib/libX11.so (diff)
The file was addedmake/lib/arm-linux-gnueabi/ubuntu-11.04/lib/libXxf86vm.so (diff)
The file was addedmake/lib/arm-linux-gnueabi/ubuntu-11.04/lib/libXrandr.so (diff)
The file was addedmake/lib/arm-linux-gnueabi/ubuntu-11.04/jre/lib/arm/server/libjvm.so (diff)
The file was addedmake/lib/arm-linux-gnueabi/ubuntu-11.04/lib/libXinerama.so (diff)
The file was addedmake/lib/arm-linux-gnueabi/ubuntu-11.04/jre/lib/arm/libjawt.so (diff)
The file was modified make/gluegen-cpptasks-base.xml (diff)
Commit fc3b4f1d65c26ef872188d69310fc787728d2a3d by Sven Gothel
Replace default Android icons w/ JogAmp icons
The file was modified make/lib/android/res/drawable-hdpi/icon.png (diff)
The file was modified make/lib/android/res/drawable-mdpi/icon.png (diff)
The file was modified make/lib/android/res/drawable-ldpi/icon.png (diff)
Commit 445521018f49305cb3c09a4f2dcf0e9be8bc5a46 by Sven Gothel
proper GlueGen spelling
The file was modified make/lib/android/res/values/strings.xml (diff)
Commit 2d672b1c5f237ccb911b9106308c0dc1977530b0 by Sven Gothel
Fix android build/unit-test ; Generalize aapt packaging (macro) ; Use jogamp icons

make/scripts/make.gluegen.all.android-armv7-cross.sh
  - make Rami and me happy :)
  - 3 default locations plus recognize user provided android toolkit path
  - fixes using ant targets as arguments

make/jogamp-androidtasks.xml
  - macro aapt.signed: create signed apk file from jar
  - incl. adding native libraries
  - see macro doc.

adding generic jogamp icons/images
The file was modified make/build-test.xml (diff)
The file was modified make/build.xml (diff)
The file was modified make/lib/android/AndroidManifest.xml (diff)
The file was addedmake/lib/res/jogamp_symbol_final_135x135pel.png (diff)
The file was addedmake/lib/res/jogamp_logo_final_346x70pel.png (diff)
The file was modified make/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
The file was addedmake/jogamp-androidtasks.xml (diff)
Commit 02641c4d08853a1e0131336968f691fde8a30043 by Sven Gothel
APK: Native lib gets picked up now apk/lib/armeabi -> /data/data/<package>/lib
The file was modified make/jogamp-androidtasks.xml (diff)
Commit dcaa3cb5cabfa11ae88fad266b54a1690148edf9 by Sven Gothel
Fix Android apk activity; Add apk VersionName; Add jar manifest to apk

- build:
  - exclude android packages if !isAndroid

- aapt:
  - Use individual AndroidManifest xml files
  - optional: incl. our JAR manifest file to support detailed version info
  - use def. GluegenVersionActivity

- APK VersionName: Retrieve and show

- package/extension names:
  - gluegen.jar/apk:    com.jogamp.gluegen
  - gluegen-rt.jar/apk: com.jogamp.common
The file was modified make/build.xml (diff)
The file was addedmake/lib/android/AndroidManifest-Runtime.xml (diff)
The file was modified make/lib/android/res/values/strings.xml (diff)
The file was modified src/java/com/jogamp/common/util/JogampVersion.java (diff)
The file was modified make/scripts/crosstest-java-linux-armv7-rel.sh (diff)
The file was modified make/build-test.xml (diff)
The file was addedsrc/java/jogamp/common/os/android/MD.java (diff)
The file was modified make/jogamp-androidtasks.xml (diff)
The file was modified src/java/com/jogamp/common/os/AndroidVersion.java (diff)
The file was modified make/Manifest (diff)
The file was modified src/java/com/jogamp/common/GlueGenVersion.java (diff)
The file was removedmake/lib/android/AndroidManifest.xml (diff)
The file was addedsrc/java/com/jogamp/common/util/AndroidPackageUtil.java (diff)
The file was addedsrc/java/jogamp/common/os/android/PackageInfoUtil.java (diff)
The file was addedmake/lib/android/AndroidManifest-Test.xml (diff)
The file was modified src/java/jogamp/common/os/MachineDescriptionRuntime.java (diff)
The file was addedmake/lib/android/AndroidManifest-CompileTime.xml (diff)
The file was modified make/scripts/crosstest-java-android-armv7-rel.sh (diff)
The file was addedsrc/java/jogamp/common/os/android/GluegenVersionActivity.java (diff)
Commit 2983b3dbc73f61b4312e374d89f13c86ad0bffbd by Sven Gothel
Platform getArch() -> getArchName() (analogue to getOSName())
The file was modified src/java/com/jogamp/common/os/Platform.java (diff)
The file was modified src/java/com/jogamp/common/util/VersionUtil.java (diff)