commit bf4d413ea185e857de534913c556f00435ba9f21 Author: Sven Gothel Date: Wed Jun 20 03:09:50 2012 +0200 Fix TempFileCache/LauncherTempFileCache (regression commit: 1468286bf569a493e4fdb887d5f3732f88c8cec3) 'update' scenario in same JVM instance. TempFileCache/LauncherTempFileCache were using the system property 'jnlp.jogamp.tmp.cache.root', if set. However, in case one JVM launched an old GlueGen (Applet) and then launching a new GlueGen (Applet) w/ a new tmpDir location, the property is still set but the tmpRootDir location does not exist. This patch tolerates this situation and cont. setting a new tmpRootDir. Example: JVM1.GlueGen1 tmpDir: /tmp/, tmpRootDir: /tmp/jogamp.tmp.cache_000000/ JVM1.GlueGen2 tmpDir: /tmp/jogamp_0000/, tmpRootDir: /tmp/jogamp_0000/file_cache/ Misc: - IOUtil: Always use 'jogamp_xxxx' as the sys-temp subfolder for tmpDir - JNILibLoaderBase: Remove unised import - TempJarCache.validateCertificates(): Add OK DEBUG output. commit 05024570dbf5fce08fa8ff081cb696f0fc4b7f95 Author: Sven Gothel Date: Mon Jun 18 18:21:15 2012 +0200 Fix Platform static initialization interdependencies w/ GlueGen native library loading Some Platform field declarations and it's static initialization has been delegated to it's new abstract super class PlatformPropsImpl to solve static initialization interdependencies w/ the GlueGen native library loading and it's derived information {@link #getMachineDescription()}, {@link #is32Bit()}, ..
This mechanism is preferred in this case to avoid synchronization and locking and allow better performance accessing the mentioned fields/methods. commit 1468286bf569a493e4fdb887d5f3732f88c8cec3 Author: Sven Gothel Date: Sat Jun 16 05:31:47 2012 +0200 Fix Bug 587: Use alternative storage location if platform's temp directory is mounted w/ noexec ; IOUtil API change! Test whether executable files can be launched in temporary folder by trying to run an empty executable file - if !( WINDOWS | OPENKODE ) TempDir: 1) ${java.io.tmpdir}/jogamp 2) $XDG_CACHE_HOME/jogamp - if !( ANDROID | MACOS | WINDOWS | OPENKODE ) 3) $HOME/.jogamp $XDG_CACHE_HOME defaults to $HOME/.cache - TempFileCache: ${TempDir}/file_cache -> ${java.io.tmpdir}/jogamp/file_cache - LauncherTempFileCache: ${TempDir}/file_cache -> ${java.io.tmpdir}/jogamp/file_cache +++ AndroidUtils*.getTempRoot(): Remove unused AccessControlContext param commit a52fe4275045252d9bd4436adec11aec393fadd5 Author: Sven Gothel Date: Fri Jun 15 04:10:16 2012 +0200 Fix Android Remote Test: gluegen-rt.apk -> gluegen-rt-android-${android.abi}.apk commit 86c1df6fdca183454ff544857f4236b646c4730d Author: Sven Gothel Date: Fri Jun 15 04:06:19 2012 +0200 Fix Bug 583 (2): Remove Android compile-time dependencies and exclude Android specific classes for non Android platforms Ensure same Java JAR content regardless of build target (fix). Separate Android compilation results to gluegen-rt-android.jar, avoiding generating different content of gluegen-rt.jar w/ non android builds. aapt.signed: @{android.abi} argument is 'generic' by default. Adding ${android.abi} to APK target name (gluegen-rt-android-armeabi-v7a.apk) if not generic. commit b3c9951006f9bd863244f1db3d54ac7866d66f0a Author: Sven Gothel Date: Mon Jun 4 04:36:52 2012 +0200 Fix Bug 583: Remove Android compile-time dependencies and exclude Android specific classes for non Android platforms. Android specifics are delegated via class AndroidUtils, which uses reflection to call AndroidUtilsImpl if platform is Android. Android code is confined to the packages: jogamp.common.os.android.* jogamp.android.launcher.* and only included when compiled for the Android platform. commit 4074b34c5edbd11d3ab3fe32678de77816a0a16b Author: Sven Gothel Date: Wed May 9 18:47:43 2012 +0200 Android: Bump version.code: 914010 commit 69c48cac79732329f36a023be83471b81b55d5d4 Author: Sven Gothel Date: Wed May 9 15:05:06 2012 +0200 Android: Bump version.code to 0914009 commit 64d17fc39efcfff0f8187b2b8a1c433520dc2973 Author: Sven Gothel Date: Wed May 9 15:04:44 2012 +0200 Fix Android AAPT Task/Macro: Put temp src/classes folder (R.java) aside image folder .. .. so they are not included in the APK. Including them in the APK causes Google market/play to use both as platform filters (0 devices if no native folder is present). commit 069a37b9c247e5e24d91f933dff80e6a90d7f67a Author: Sven Gothel Date: Wed May 9 13:28:25 2012 +0200 Android: Add xhdpi icon commit 5ec33e91296992ff14b6b3cf471ce443ff16897c Author: Sven Gothel Date: Fri May 4 15:30:30 2012 +0200 Android: aapt no debug, gluegen: proper version.code and launcher manifest commit 4cdda8f3d5bf219a92adffd90e72c399283d50e3 Author: Sven Gothel Date: Fri May 4 07:03:30 2012 +0200 Android: Cleanup Manifest - remove commented out tags, don't require touchscreen .. commit de42f22c9a2b62115eb3d9d5be7451ec5bb674be Author: Sven Gothel Date: Fri May 4 07:02:49 2012 +0200 Android: 'android.jar' -> android-015.jar', 'android-min.jar' (9); version.code: 4 commit 2e0961ad8f2de321461986c65346b67b41fd7214 Author: Sven Gothel Date: Fri May 4 06:27:05 2012 +0200 Android version.code: 3 commit b29d98240fdffa323f3da081173606c36881aa21 Author: Sven Gothel Date: Fri May 4 06:22:47 2012 +0200 Fix Android JogAmp Launcher: Assets commit d5ba01ab46fd9140632262ee6270429450bf31ca Author: Sven Gothel Date: Fri May 4 05:49:33 2012 +0200 Fix Android Launcher: Add permission Internet access (commit 85ba9e60dfd1828c6f8cc327715b420e10c29ebf was broken, too late) commit 85ba9e60dfd1828c6f8cc327715b420e10c29ebf Author: Sven Gothel Date: Fri May 4 05:42:20 2012 +0200 Android Launcher: Add permission Internet access commit 1ed699bee6819e7b4891454d797c539c178181df Author: Sven Gothel Date: Fri May 4 05:25:35 2012 +0200 Android AssetDexClassLoader: Disable DEBUG flag. commit 7426e2613eaee1d97c074cb1f43863bb2615e7fa Author: Sven Gothel Date: Fri May 4 05:18:51 2012 +0200 GlueGenVersionActivity: Add Scroller .. commit a058e0a2f465a9bff3e32727edb55592f55c7b38 Author: Sven Gothel Date: Fri May 4 04:57:44 2012 +0200 LauncherUtil: Allow no query in URI and no PKG in query commit d950f5ea8e88eeaf636a751d6b831c8a0ec15c34 Author: Sven Gothel Date: Fri May 4 04:26:09 2012 +0200 Bump Android version.code: 2 commit b614c7297fece182928733288007b3d1c30f2af7 Author: Sven Gothel Date: Fri May 4 04:23:45 2012 +0200 Android: Add the LauncherVersionActivity .. commit 27abf0860336b4a02898740b6dc55fe463c0c8d8 Author: Sven Gothel Date: Fri May 4 04:22:58 2012 +0200 Android Launcher: Add dummy version activity (recognized by market), remove permissions: inet and write-sd commit 4b70739956713423137a0918e834f8ed1f42fd44 Author: Sven Gothel Date: Fri May 4 03:54:17 2012 +0200 Android ClassLoaderUtil: Cleanup hack .. commit 3b815b7e5af2fb6f771880dba74863d4f40b638f Author: Sven Gothel Date: Fri May 4 03:38:38 2012 +0200 DynamicLibraryBundle: API doc refinement, mention the ClassLoader role. commit 389035210e6fc7742a2a11575c7bbfc8f08987a5 Author: Sven Gothel Date: Fri May 4 02:20:31 2012 +0200 Fix commit cc76889a6fe96cffb91c9a3aa7934878c0ecd97e: System.loadLibrary(libraryPath) -> System.load(libraryPath) commit cc76889a6fe96cffb91c9a3aa7934878c0ecd97e Author: Sven Gothel Date: Fri May 4 01:12:25 2012 +0200 Use ClassLoader to find JNI native libraries. ClassLoader was only used for tool native libraries. NativeLibrary: Expose 'String findLibrary(String libName, ClassLoader loader)', allowing utilization of System.load(loader.findLibrary(libName)). JNILibLoaderBase.loadLibrary(): Add optional ClassLoader argument, used to locate the library DynamicLibraryBundle: Use DynamicLibraryInfo's ClassLoader to find native libraries (tool + jni) commit ce9ace37ca883a844fbab7aef8c85197282442ed Author: Sven Gothel Date: Thu May 3 22:05:39 2012 +0200 Android Launcher: More verbose ClassLoader* commit e058ab458bac76736e2ab125b797216fa0eb0856 Author: Sven Gothel Date: Thu May 3 06:15:50 2012 +0200 APK version code = 1 commit d2068e11c9adac5c7614c98309c68e2712f1f297 Author: Sven Gothel Date: Thu May 3 06:12:49 2012 +0200 Reduce APK version name to 30 chars commit 3a63e20ca981931ed42d27a7ce4c6b16c9198020 Author: Sven Gothel Date: Thu May 3 05:02:08 2012 +0200 AndroidLauncher: Add 'MainLauncher'; ClassLoaderUtil adds list of direct APKs to add to classpath MainLauncher is capable of launching a traditional static main method from a activity. TODO: - parametrize the APK list (junit, ..) - pass-through the activity instance to be used w/ NEWT AndroidWindow