commit 0711792f00e462e340e0d3731dfe71b0e8ec6022 Author: Sven Gothel Date: Fri Sep 16 02:41:52 2011 +0200 NativeLibLoader: Handle case where prev. Applet used JNLPAppletLauncher, setting it's magic property. Subsequent Applets may not use JNLPAppletLauncher, but property is still set. commit 0466210ac77e5c19248be1cc5c5b7c2a481ca031 Author: Sven Gothel Date: Wed Sep 14 09:37:28 2011 +0200 IOUtil getResource() - Lookup class package space 1st; Catch all Throwables ; Add DEBUG Lookup class package space 1st, which favors JAR resources, hence allows applets to load secure stuff. Catch all Throwables incl. java.security.AccessControlException based on java.io.FilePermission. (eg Applets) Add DEBUG property jogamp.debug.IOUtil, enabling verbose resource location. commit edc6cc1622bdf7afe09fc7377ea8d8cc0c17f804 Author: Sven Gothel Date: Wed Sep 14 02:31:02 2011 +0200 ant target base.compile w/o tampering artifacts.properties commit 1df3936a72f8b206abbd17428e91f9a22b97e820 Author: Sven Gothel Date: Sun Sep 11 06:21:47 2011 +0200 New FHS: jar in jars/ commit cb199004a35ee04d4727f466112adcc65ed7d0d4 Author: Sven Gothel Date: Sat Sep 3 05:36:12 2011 +0200 Fix PCPP/DumpCPP: Avoid NPE ; More descriptive exception in case of non integer opaque in struct commit cfb9e118e020707842e6b5136b07f5ab149540c1 Author: Sven Gothel Date: Wed Aug 31 03:23:30 2011 +0200 DynamicLibraryBundle*: Use generics for better spec / Drop Iterator in favor for int/size() for less temp objects commit 4a75b64107e157ff1db3991cf89bf8d856ddc0e6 Author: Sven Gothel Date: Tue Aug 30 19:28:21 2011 +0200 Add [my] setenv-build-jogl scripts to make/scripts allowing them to be used [manually] commit 3bb991102918dc4cf135d386b8c4f93d6fecdc15 Author: Sven Gothel Date: Wed Aug 24 01:55:21 2011 +0200 ArrayHashSet: Add Java Generics Syntax commit 58469fd2343039c195a88d0b171ba9af2dce40be Author: Sven Gothel Date: Mon Aug 22 20:38:52 2011 +0200 Fix Bug 510 w/ Wade Walker's proposal. However, the EGL global lookup setting will be changed in JOGL as well commit 5a80d1c62159402efe10a645445e6487b8bc989d Author: Sven Gothel Date: Tue Aug 9 20:57:10 2011 +0200 CachedBufferFactory: Cosmetic changes - comments, -1 -> 0 commit 90ff6c401934121395fa4a127e8b889106fda07a Author: Sven Gothel Date: Tue Aug 9 20:56:27 2011 +0200 DynamicLibraryBundleInfo: Allow impl. to select tool/system lookup commit ae6b6a4ebec87be9a9dfb4df2eecb7c4e21dd37d Author: Sven Gothel Date: Sat Aug 6 09:47:10 2011 +0200 Android: Extract static context holder commit 6281499e53555fd8ab26345ffce4c4d09bf57a09 Author: Sven Gothel Date: Fri Aug 5 17:43:07 2011 +0200 aapt build check fix ; DynamicLibraryBundle.isGlueLibComplete() == true if last entry is loaded aapt build check fix - exe aapt if source are newer than apk DynamicLibraryBundle.isGlueLibComplete() == true if last entry is loaded - fix long standing bug, where GlueLib was not complete if preload dependencies were missing. this even lead to JOGL specific handling of this case .. duh. - added debug info commit 2fa326f0f64afff58e3d0a706a637bd54126c343 Author: Sven Gothel Date: Fri Aug 5 16:41:34 2011 +0200 crosstest rsync, drop src zip commit e70e44922955dfcf26b222ed36754dea00253bde Author: Sven Gothel Date: Fri Aug 5 13:40:13 2011 +0200 crosstest: exclude .git as well commit df5cca17c76e9a566c8aa28dde5dd0f95fa4b92e Author: Sven Gothel Date: Fri Aug 5 13:34:33 2011 +0200 crosstest: add rsync excludes commit 0afee4288c9f95450292ca2f2ec9170b93f64830 Author: Sven Gothel Date: Fri Aug 5 05:11:36 2011 +0200 aapt.signed: add androidresources.path argument ; sdk >= 9 ; test uses-library com.jogamp.common commit 847d4d93f28423d9f4bc1f3c4e02c936f90d0798 Author: Sven Gothel Date: Thu Aug 4 08:34:29 2011 +0200 Add define '__X11__', is isX11 ; Android attach system include folders via -isystem (which come after -I) commit d522b4dffd5d569c4116275d6ef278bb0741c79d Author: Sven Gothel Date: Wed Aug 3 16:21:10 2011 +0200 Add android src zip, better license info; Dropped SDK 8 for now commit e659f5994875275d4eb46e745676a3d84e27d1e9 Author: Sven Gothel Date: Wed Aug 3 11:56:40 2011 +0200 Hide DynamicLinker impl.; Remove public AndroidPackageUtil ; GluegenVersionActivity uses ApplicationContext Hide DynamicLinker impl.: - com.jogamp.common.os.*DynamicLinkerImpl -> jogamp.common.os commit d30d6548baa4fa18c55eb4f9087bca5700463a51 Author: Sven Gothel Date: Tue Aug 2 14:40:20 2011 +0200 Eclipse Classpath: Add android.jar commit 947089ccfdfb4e18d386dab042f940a03b122e06 Author: Sven Gothel Date: Tue Aug 2 13:16:24 2011 +0200 adding missing rename: lib/linux-x86_64 -> lib/linux ; Fix TARGET_PLATFORM_LIBS for cross linux/arm commit 8ce1c028a220b1dcc0973b079372d0582949aacd Author: Sven Gothel Date: Tue Aug 2 12:15:00 2011 +0200 Remove android excludes (compilation), ensuring 1:1 jar files commit e959f955901492f7d61abaa05da10c993052652b Author: Sven Gothel Date: Tue Aug 2 12:05:45 2011 +0200 Android: Drop android.jar ; Simplify 'aapt.signed' ; Move our android resources -> make/resources Drop android.jar - version 8 and 9 - license: apache v2 (NOTICE.txt included) - allows compilation using Android API on all platforms Simplify 'aapt.signed' - removed 'jarclasspathrefid', seems to be not needed (commented out) Move our android resources make/lib/android -> make/resources/android - make/lib is for 3rd party stuff only commit e813dbe55f2a56457f28d1efd82762ce412b1f86 Author: Sven Gothel Date: Tue Aug 2 10:42:15 2011 +0200 resources: proper location, not mixing w/ 3rd party libs commit fbb40b26f2bb1416b0112a66b240963b72c00dd3 Author: Sven Gothel Date: Tue Aug 2 10:41:22 2011 +0200 resources: unique graphics location commit b00d52924f020a1fa1b557faad7be2189191b352 Author: Sven Gothel Date: Tue Aug 2 10:34:53 2011 +0200 cross test linux/armv7 scripts: use generic ANT_PATH commit 2d736fa22d2ad76a8e4c38671fe8d34c993955f2 Author: Sven Gothel Date: Tue Aug 2 10:34:20 2011 +0200 Remove linux-armv7 native platform libraries (compile time only), reducing the burden to add a license file etc. commit a01e72f7bff77889368523b4a8783b5401e0b9f3 Author: Rami Santina Date: Sun Jul 31 17:11:02 2011 +0300 Fix: cleanup android.R based task and classpaths commit f1e6e791ce6b52944c58a6e68e55e201d63b759e Author: Rami Santina Date: Fri Jul 29 09:24:49 2011 +0300 added generation and compilation of android Resource class commit 2983b3dbc73f61b4312e374d89f13c86ad0bffbd Author: Sven Gothel Date: Thu Jul 28 15:52:54 2011 +0200 Platform getArch() -> getArchName() (analogue to getOSName()) commit dcaa3cb5cabfa11ae88fad266b54a1690148edf9 Author: Sven Gothel Date: Thu Jul 28 15:27:17 2011 +0200 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 commit 02641c4d08853a1e0131336968f691fde8a30043 Author: Sven Gothel Date: Thu Jul 28 08:07:29 2011 +0200 APK: Native lib gets picked up now apk/lib/armeabi -> /data/data//lib commit 2d672b1c5f237ccb911b9106308c0dc1977530b0 Author: Sven Gothel Date: Thu Jul 28 04:24:54 2011 +0200 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 commit 445521018f49305cb3c09a4f2dcf0e9be8bc5a46 Author: Sven Gothel Date: Thu Jul 28 01:56:18 2011 +0200 proper GlueGen spelling commit fc3b4f1d65c26ef872188d69310fc787728d2a3d Author: Sven Gothel Date: Thu Jul 28 01:56:00 2011 +0200 Replace default Android icons w/ JogAmp icons commit ac4d6a49c9cf615386f20ddced59c33d44dd8c32 Author: Sven Gothel Date: Thu Jul 28 01:28:48 2011 +0200 Add Ubuntu 11.04 arm-linux-gnueabi library folder for build time linker resolution commit e8a8fdda769277496772444fa4f99f863e9f355a Author: Rami Santina Date: Tue Jul 26 13:39:34 2011 +0300 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 commit 1d1fd17cca064306dd5d528d59a4bce0581dcc63 Author: Sven Gothel Date: Mon Jul 25 13:58:45 2011 +0200 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. commit 2488c4de3e5fe7c4b8258af3fb8aae9b4d5091ce Author: Sven Gothel Date: Sun Jul 24 22:28:40 2011 +0200 Add native lib in apk, needs work to be installed (manifest ...) commit 625727ee75b758bef4f9f5f3816b37547c9f6875 Author: Sven Gothel Date: Sun Jul 24 22:04:40 2011 +0200 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 commit 26374fad042f4a33f799cdee367dc903b27a44f7 Author: Sven Gothel Date: Sun Jul 24 12:41:13 2011 +0200 Complete android apk creation and cont. unit test launch. Need to write unit test commands to file - too long for single adb shell command commit 2be84ffcc62e8be16b1bba17569a9b2d42269336 Author: Sven Gothel Date: Sun Jul 24 11:50:34 2011 +0200 Android: Remove native (fake) detection commit 869c49c22573147c94b1e6d931c2cff696a54a47 Author: Sven Gothel Date: Sun Jul 24 11:37:45 2011 +0200 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 ?) commit 9f45b6f09cbce6c7889e099939656356befa585d Author: Sven Gothel Date: Sat Jul 23 08:14:29 2011 +0200 fix cross test: Test* -> *Test* ; Reduce iterations further for ARM to speedup test commit 6a321a9fb50ceb3bde38c5199f95c8f849090496 Author: Sven Gothel Date: Sat Jul 23 07:50:02 2011 +0200 Add single cross test scripts commit 6b9e53f00def34ec478eae3c5bb75e9784707b04 Author: Sven Gothel Date: Sat Jul 23 07:20:10 2011 +0200 Enable cross-testing on linux-armv7 commit b1eda6206776d989689e811fc59bb5f891243f33 Author: Sven Gothel Date: Sat Jul 23 02:24:58 2011 +0200 Adding Sylvestre Ledru's bug #487 verbosity patch commit d531b608884f4eeac8a33e6476d1ba05e560ae43 Author: Sven Gothel Date: Sat Jul 23 01:51:28 2011 +0200 Add missing defines (__unix__, DEBUG) for solaris, etc commit 967782f7bdbd0dd73c2e3ea448a0c9d44552a7d9 Author: Sven Gothel Date: Sat Jul 23 01:50:21 2011 +0200 Adding native crosscompile test to ubuntu/armv7 and android/armv7 commit 2d57b3cbb4a8189ecb5523f6d8de3aa37db78a13 Author: Sven Gothel Date: Fri Jul 22 07:43:44 2011 +0200 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 commit dac1bac087ac94c596dcb74185d504712069b0a7 Author: Sven Gothel Date: Fri Jul 22 06:40:11 2011 +0200 Fix regression (commit f733203dfbd034a6b1aa3eb2cd616437c982c435): Init of DEBUG and DEBUG_LOOKUP was removed, re-added. commit f0ed680aa5d48cd8086beccc9328b4a1b5a508d8 Author: Sven Gothel Date: Fri Jul 22 03:47:47 2011 +0200 add props compiler.cfg.linux.x86, linker.cfg.linux.x86 for proper linux-x86_32 spec. removed android props, we use custom xml files commit 3f2110f045de4bd4bd43f681256626bed1998fc3 Author: Sven Gothel Date: Thu Jul 21 12:13:35 2011 +0200 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 commit 4aa66890176e9c2d8e648d6031c9491c3d625e07 Author: Sven Gothel Date: Thu Jul 21 11:49:08 2011 +0200 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 commit dc4b259b6651bdc0cec0895bc74e26e504870c8e Author: Sven Gothel Date: Thu Jul 21 11:06:52 2011 +0200 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 commit a0fd183bf6761547ee97d9f9620d0cf9e232bdb8 Author: Rami Santina Date: Thu Jul 21 01:25:54 2011 +0300 Added scripts and custom cpp-tasks to build on android-armv7l commit 8e0d7f00c69d79bcdac4be508e5b5999b423e904 Author: Sven Gothel Date: Wed Jul 20 11:01:08 2011 +0200 minor refinement commit 4407a5ff17ec88cfdf9cea603c99ae939b50c15a Author: Sven Gothel Date: Wed Jul 20 11:00:35 2011 +0200 refined Android ARMv7 targets (android still dummy) commit 8b3057585930357bb16546f584d998953b084034 Author: Sven Gothel Date: Wed Jul 20 08:14:40 2011 +0200 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()" is invalid, but "byteBuffer.getLong()" 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. commit 0a8e1566c766f3b5a5e71b5d80500034f1a614a8 Author: Sven Gothel Date: Wed Jul 20 07:30:48 2011 +0200 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 Buffer w/ index os sizeof() doesn't work, since offset may not be multiple of sizeof()! 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()" is invalid, but "byteBuffer.getLong()" must be done. The actual impl. doesn't matter, hence dropping the other nio type mappings is good. commit 846c64d71d0e07ce1f5b4955eba8b49bfa0b5a22 Author: Sven Gothel Date: Mon Jul 18 03:52:52 2011 +0200 Fix bad file rename/move: .jav -> .java commit 92d6c9dc5fa72b01703456452c60822f36c14fff Author: Sven Gothel Date: Mon Jul 18 03:48:41 2011 +0200 - 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 commit 8fc841257cae6b49399b29dfa53e3e834d27cabb Author: Sven Gothel Date: Sun Jul 17 19:55:36 2011 +0200 GlueGen: Alignment Cleanup .. - SizeThunk - rename: compute -> computeSize - add: computeAlignment - merge types: char -> int8, short -> int16 - 'int' and 'long' may differ - commit 2bf03e9814477b412f9533d3ba3f4c597892501e Author: Sven Gothel Date: Sun Jul 17 19:21:11 2011 +0200 Clarify aligment doc commit a0fc362dfd5857ed3485b72f93baaa05f2591a1d Author: Sven Gothel Date: Sun Jul 17 17:17:06 2011 +0200 Fix alignment query code doc commit 133de98defb7ec3d1f202805505aa85a5650e3d0 Author: Sven Gothel Date: Sun Jul 17 17:15:41 2011 +0200 Add native alignment test c-code commit 546cd96a6bfc181cb2d9a7859f2dc9f69ec3a429 Author: Sven Gothel Date: Sun Jul 17 16:41:29 2011 +0200 Junit tests on ARM: Reducing some test/perf loops allowing to pass tests on low performance ARM commit 9a889948e7d649286ae0a473b49d14461c8981c5 Author: Sven Gothel Date: Sun Jul 17 16:40:21 2011 +0200 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 commit f733203dfbd034a6b1aa3eb2cd616437c982c435 Author: Sven Gothel Date: Sun Jul 17 16:34:39 2011 +0200 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, .. commit ad3dc39ccfddb007c3e91acf454f804573969419 Author: Sven Gothel Date: Sun Jun 26 17:31:21 2011 +0200 Fix HastMapTests - Clone: Use unique random pairs: key,value commit 334baf0e3b5aea862c443a7c78f4b54ccc1d1fb4 Author: Sven Gothel Date: Sun Jun 12 03:28:51 2011 +0200 SingletonInstanceServerSocket: Fix setDaemon(true), give Thread a proper name commit aba5f79ed62128b74962c1efa15a3f921d66b3e0 Author: Sven Gothel Date: Sat Jun 11 02:54:32 2011 +0200 SingletonInstance Enhancements / Minor Lock/LockExt API Change (isLocked moved up) We learned that FileChannel.lock() is not reliable on at least GNU/Linux + Sun's JVM implementation, hence we need a ServerSocket implementation. Since this code may be useful to others, it has been promoted to GlueGen. - Abstract SingletonInstance - Implement Lock interface - SingletonInstance Spezialisation: FileLock and ServerSocket Minor API Change: LockExt.isLocked() -> Lock.isLocked() commit 410fcb6242d1dcf98d6f4eb94f9409d656fc0caa Author: Sven Gothel Date: Sat Jun 11 01:56:29 2011 +0200 Complete relocation of SingletonInstance.java from JOGL commit a9bbee095abcc5618e5bd98da2834c4809faf805 Author: Sven Gothel Date: Sun May 1 01:12:56 2011 +0200 UI Unit Tests: Add test name to log and singleton lock, better log output commit f47c44c41ca57d785b4c8026cd087a0810c7fbc8 Author: Sven Gothel Date: Thu Apr 28 11:22:27 2011 +0200 Unit Test Framework SingletonInstance: setup file unlock/delete asap commit 175fd4686a0919fa7c6a933810547f167d84d050 Author: Sven Gothel Date: Mon Dec 13 02:26:48 2010 +0100 Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; Compile posted Issue* Bug* snippets commit d9ef5751edde2b81f8c3f1e57f64a00a22b36b9d Author: Sven Gothel Date: Thu Sep 30 21:39:13 2010 +0300 NEWT/AWT Unit Tests: Run one test at a time via superclass BeforeClass/AfterClass FileLock Due to the fact that any test with a UI may interfere with a UI test (test focus, active, ..), all tests are derived from the common UITestCase superclass, which decorates the test class with a FileLock at BeforeClass/AfterClass. Increased junit timeout to 10 min commit dcaf8a1c8736b3fd3748b53e5c67949ad0404dcd Author: Sven Gothel Date: Thu Sep 30 05:18:06 2010 +0300 Newt/AWT: Add singleton test instance lock for all AWT Robot tests, otherwise multiple parallel tests will render the result invalid commit 213c1a1f934bfa516d4870c5c67baafbaf0bdc44 Author: Sven Gothel Date: Sat Jun 11 01:38:09 2011 +0200 windows batch make: bump to 6u26 commit 6f1a52fb7db5b923a39994586e9af9c001031cba Author: Sven Gothel Date: Fri Jun 10 21:58:11 2011 +0200 remove warnings commit 396ef5fe91704062c96a7355b241db20ec8007fb Author: Sven Gothel Date: Fri Jun 10 21:57:49 2011 +0200 gluegen stddef/stdint cc header: add missing intptr_t/uintptr_t, proper formating, proper _WIN64 case commit 5d2f5413ded6de3acf87c5799b98a6482041ba1a Author: Sven Gothel Date: Fri Jun 10 21:56:01 2011 +0200 Gluegen AntTask: 'literalInclude' may contain multiple directories, separated by comma (enhancement) commit 1d614e360b2018c7f4b70ebf2c9322cae5cc9c7f Author: Sven Gothel Date: Thu Jun 9 17:09:25 2011 +0200 src-zip: no compression to benefit from xz/7z compression commit 434619d326844117d498045fd8f7c62952bc681f Author: Sven Gothel Date: Wed Jun 8 05:51:33 2011 +0200 build.xml: native jar shall be created in native build target commit a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387 Author: Sven Gothel Date: Wed Jun 8 05:45:17 2011 +0200 Merged Locator -> IOUtil; int Platform.getPageSize(); Added unit test for IOUtil and Platform's page size commit 5de9de569622bc7baeee3a85b1ee5aa172830513 Author: Sven Gothel Date: Wed Jun 8 04:36:49 2011 +0200 Locator: Proper package location after reloc from JOGL commit ffb664bf23e4e0005a1931ecc819c0609c178a09 Author: Sven Gothel Date: Wed Jun 8 04:25:26 2011 +0200 Locator Util: Clarify API doc a bit commit 32f2f322b1fafa77c1f7f977152f39202ffec7f7 Author: Sven Gothel Date: Fri Apr 22 05:38:28 2011 +0200 Fix/Add: Locator (Handle JarURLConnection and ..) new: 'public static String getRelativeOf(URL baseLocation, String relativeFile)', capable of handling a JAR file/url. Using File based relative locator, allowing better utilization in code: old public static String getRelativeOf(String absoluteFileLocation, String relativeFile) new public static String getRelativeOf(File baseLocation, String relativeFile) commit dcc1ca29d27e0637ef03e0ef0177ea3e6435c073 Author: Sven Gothel Date: Fri Apr 8 21:35:34 2011 +0200 Fix TAB: Replace all TAB with 4 spaces commit 67e64343394803a31d463802d9b72ee47434484c Author: Sven Gothel Date: Wed Mar 30 17:44:03 2011 +0200 ShaderCode: Remove redundant code (Use proper Locator variant) commit a161923ae6dae65d3700ce08467e0f11c16df383 Author: Michael Bien Date: Sat Mar 27 23:24:13 2010 +0100 refactoring: renamed com.sun.opengl -> com.jogamp.opengl. commit 1e9cd65d202fa07b8f06f32aa88b470095714c3b Author: Kenneth Russel Date: Thu Mar 19 06:39:36 2009 +0000 Moved remaining portions of fixed function emulation out of core JOGL public and implementation packages and into com.sun.opengl.util.glsl.fixed.* and other subpackages of com.sun.opengl.util. Renamed javax.media.opengl.sub.GLObject to javax.media.opengl.GLBase. Moved interfaces in javax.media.opengl.sub.fixed to javax.media.opengl.fixedfunc and changed naming convention. Moved all classes in javax.media.opengl.util to com.sun.opengl.util. Moved com.sun.opengl.impl.packrect to com.sun.opengl.util.packrect. Renamed InternalBufferUtils to InternalBufferUtil to match naming convention and copied in needed routines for GLU and other classes. Fixed build breakage when specifying rootrel.build property; reintroduced build-temp directory. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1886 232f8b59-042b-4e1e-8c03-345bb8c30851 commit d523cb6784d9d9aff1e4af8f45f97f7997f332f3 Author: Sven Gothel Date: Mon Mar 16 15:10:57 2009 +0000 repair git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1872 232f8b59-042b-4e1e-8c03-345bb8c30851 commit 132d4924cb191a0a16f9b42ccb718803c52b0295 Author: Sven Gothel Date: Tue Jun 7 23:39:52 2011 +0200 Platform: Add getPageSize() commit 3c9d9db8a348eca768042140516979d32a75bffa Author: Sven Gothel Date: Tue Jun 7 23:39:20 2011 +0200 Fix C / JNI compilation: Add/use javah, recompile if out of date, commit 79abcf4e0d44d497c538fab71c98a5fd356e3a23 Author: Sven Gothel Date: Tue Jun 7 08:18:50 2011 +0200 Merged JOGL's general purpose static methods of StreamUtil and FileUtil into IOUtil commit 4ed2fcbdc3fee1489b205cd52dfe8a5b136e3ea6 Author: Sven Gothel Date: Sun May 22 06:52:40 2011 +0200 create source zip archives per default commit 4fd04fd04414c8a9e8ff819b186368d9741e9e5f Author: Sven Gothel Date: Tue May 17 17:06:18 2011 +0200 Add all.debug target commit f0bd17add38246abecde942b15663d589728f3fe Author: Sven Gothel Date: Tue May 17 15:51:08 2011 +0200 leave java source zip file in build folder (if BUILD_ARCHIVE=true) commit 6e6dd7228415e788ac254364c5f36a7d70216e6b Author: Sven Gothel Date: Mon May 16 03:25:36 2011 +0200 build: Query git branch/sha1 and use it if not set and tools are available; Add Java source zip file. Query git branch/sha1 and use it if not set and tools are available. This shall improve tracking of manual generated binaries/bundles. Add Java source zip file. Contains all Java source code (incl. generated ones) enhancing IDE usage, where API doc and source browsing of libs is supported (NB/Eclipse/etc). commit c5a56e10677e9dc0a048c2be3de16701aac9ad17 Author: Sven Gothel Date: Sun May 1 07:37:05 2011 +0200 PointerBuffer: Add duplicate() method (as req by JOCL) commit ee90bc9e9c90b81e786fc9eb114c18a0e08b9599 Author: Sven Gothel Date: Wed Apr 27 19:48:52 2011 +0200 test / build scripts commit 2b838b719f334d135c63d2569e029080c74e4307 Author: Sven Gothel Date: Wed Apr 27 19:48:33 2011 +0200 Eclipse: use native build path of tests commit 8f8aa3f73e3c9804c4a86f5d4fdac257d50d831a Author: Sven Gothel Date: Wed Apr 27 19:47:43 2011 +0200 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. commit a07892f07f15c96ca248fc12133748be7058241f Author: Michael Bien Date: Tue Apr 26 22:20:46 2011 +0200 refactoring in common.nio public api - removed Int64Buffer - removed Int64Buffer since it is no longer needed for LongBuffer emulation Signed-off-by: Sven Gothel commit 245bd152c3f328e5df69d60da975697431fa923b Author: Sven Gothel Date: Tue Apr 26 07:57:30 2011 +0200 RecursiveLock: Expose waiting thread queue size commit 3a8676f56850304c782c0121dcaad2d44ef2baec Author: Sven Gothel Date: Wed Apr 20 21:35:49 2011 +0200 Remove redundant setup.java.home.dir, use proper gluegen-cpptasks-base.xml target gluegen.cpptasks.setup.compiler (instead of gluegen.cpptasks.detect.compiler) commit e3b734483a32490140988824215585a1277022d4 Author: Sven Gothel Date: Wed Apr 20 18:32:30 2011 +0200 eclipse: Use all.ide as def target, using debug flags and no archive commit 7bffb67bdfbaaf24317fd308399572f60cd15b9c Author: Sven Gothel Date: Wed Apr 20 18:32:02 2011 +0200 osx fix: query availability of JVM header, ie - /System/Library/Frameworks/JavaVM.framework/Headers/ Java 10.6 Update 4 - /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers/ Prev. Version commit ef257dc5d74224a046f4a4cf0bc1a5fb8aa417cb Author: Sven Gothel Date: Wed Apr 20 18:30:22 2011 +0200 ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation ; osx fix ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation osx fix: remove java.include.dir.platform property def, since it should be done in the gluegen-cpptasks-base.xml commit 0c2ecfd7743711cc1f8dfd35f2abd58fba1b9c0f Author: Sven Gothel Date: Wed Apr 20 18:28:44 2011 +0200 test ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation commit ae7a38100d819ca4c661d930772f900c1a198a46 Author: Sven Gothel Date: Fri Apr 1 10:44:50 2011 +0200 Add IOUtil - generic URL to File and stream to stream copy commit 754f4a100f20dfb7a3cd4dee16f4510879c51a90 Author: Wade Walker Date: Sat Mar 26 13:41:11 2011 -0500 Fix gluegen Eclipse build clean and incremental behavior. These changes got lost somehow; recreating them here from most recent master. commit c647362ad3a615d515f4bc7d24a0884d74471fef Author: Sven Gothel Date: Mon Mar 21 07:10:44 2011 +0100 VersionNumber: Add cstr with version number string and delimeter commit f20f3b7214bbd28862ae66ead6ae6aa949abdc1f Author: Sylvestre Ledru Date: Sun Mar 13 22:24:35 2011 +0100 use.macosx32 and use.macosx64 are only true when I run Mac OS X commit 0b25e90d700d0c036883bebba4be8969584d68d0 Author: Sven Gothel Date: Sat Mar 19 08:30:35 2011 +0100 Primitive HashMap: Add deep clone(); Fix containsValue() in case of Object values (using equals(Object)); Adding junit tests for clone(), capacity and IntObjectHashMap commit 684b4342d96fb16255928132c6c886a446f36f0a Author: Sven Gothel Date: Sat Mar 19 08:28:38 2011 +0100 ReflectionUtil: split up createInstance() / use var-args where possible w/o change commit c35b9df4b3f25003b34b04108473744232ce1650 Author: Wade Walker Date: Mon Feb 14 09:24:31 2011 +0800 Speed up Eclipse build Changes Eclipse's build settings to reduce the amount of stuff rebuilt by the build.xml flow. commit 2c758a3f2defcc06e0c5bb29bb5549b45dce194d Author: Wade Walker Date: Mon Feb 14 09:12:28 2011 +0800 Speed up Eclipse build Changes Eclipse's build settings to reduce the amount of stuff rebuilt by the build.xml flow.