aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant: NativeLibrary.ensureNativeLibLoaded()Sven Gothel2011-09-206-18/+12
|
* Enhancements / New utils: JarUtil, TempFileCache and TempJarCacheSven Gothel2011-09-194-0/+1269
| | | | | | | | | | | | | | | | | | | | JarUtil: Utility to handle Jar files and it's content, incl. extracting it's entries TempFileCache: Utility to have a save temporary file cache per JVM and per instance, eg. per ClassLoader. The temp cache is cleaned up with the next usage of TempFileCache, which solves the troubles of JVM bugs and situations where the JVM is not able to close and delete open temp files. TempJarCache: Utility to cache Jar files temporary (using TempFileCache) and access it's content. This class is suitable to implement a URLClassLoader or similar resource loading facilities. All tested w/ TestTempJarCache
* Enhancement/GenericStyle:Sven Gothel2011-09-196-51/+234
| | | | | | | | | | | | | | | | | | - NativeLibrary: - add isValidNativeLibraryName(..) - generic style - Platform - add getOSAndArch(), getOSAndArch(..) - IOUtil - add getClassFileName(..) - add getBasename(..) - add getDirname(..) - added doc - ReflectionUtil - generic style
* NativeLibLoader: Handle case where prev. Applet used JNLPAppletLauncher, ↵v2.0-rc3Sven Gothel2011-09-161-20/+34
| | | | setting it's magic property. Subsequent Applets may not use JNLPAppletLauncher, but property is still set.
* IOUtil getResource() - Lookup class package space 1st; Catch all Throwables ↵Sven Gothel2011-09-141-19/+67
| | | | | | | | | | | | ; 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.
* ant target base.compile w/o tampering artifacts.propertiesSven Gothel2011-09-141-7/+8
|
* New FHS: jar in jars/Sven Gothel2011-09-111-15/+15
|
* Fix PCPP/DumpCPP: Avoid NPE ; More descriptive exception in case of non ↵Sven Gothel2011-09-032-3/+3
| | | | integer opaque in struct
* DynamicLibraryBundle*: Use generics for better spec / Drop Iterator in favor ↵Sven Gothel2011-08-312-34/+26
| | | | for int/size() for less temp objects
* Add [my] setenv-build-jogl scripts to make/scripts allowing them to be used ↵Sven Gothel2011-08-304-5/+69
| | | | [manually]
* ArrayHashSet: Add Java Generics SyntaxSven Gothel2011-08-242-47/+40
|
* Fix Bug 510 w/ Wade Walker's proposal. However, the EGL global lookup ↵Sven Gothel2011-08-221-2/+6
| | | | setting will be changed in JOGL as well
* CachedBufferFactory: Cosmetic changes - comments, -1 -> 0Sven Gothel2011-08-091-2/+11
|
* DynamicLibraryBundleInfo: Allow impl. to select tool/system lookupSven Gothel2011-08-092-8/+34
|
* Android: Extract static context holderSven Gothel2011-08-063-11/+50
|
* aapt build check fix ; DynamicLibraryBundle.isGlueLibComplete() == true if ↵Sven Gothel2011-08-052-4/+27
| | | | | | | | | | | | | 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
* crosstest rsync, drop src zipSven Gothel2011-08-055-7/+7
|
* crosstest: exclude .git as wellSven Gothel2011-08-055-6/+6
|
* crosstest: add rsync excludesSven Gothel2011-08-055-6/+28
|
* aapt.signed: add androidresources.path argument ; sdk >= 9 ; test ↵Sven Gothel2011-08-056-11/+17
| | | | uses-library com.jogamp.common
* Add define '__X11__', is isX11 ; Android attach system include folders via ↵Sven Gothel2011-08-043-4/+23
| | | | -isystem (which come after -I)
* Add android src zip, better license info; Dropped SDK 8 for nowSven Gothel2011-08-036-196/+33
|
* Hide DynamicLinker impl.; Remove public AndroidPackageUtil ; ↵Sven Gothel2011-08-0312-96/+54
| | | | | | | GluegenVersionActivity uses ApplicationContext Hide DynamicLinker impl.: - com.jogamp.common.os.*DynamicLinkerImpl -> jogamp.common.os
* Eclipse Classpath: Add android.jarSven Gothel2011-08-021-0/+1
|
* adding missing rename: lib/linux-x86_64 -> lib/linux ; Fix ↵Sven Gothel2011-08-025-2/+2
| | | | TARGET_PLATFORM_LIBS for cross linux/arm
* Remove android excludes (compilation), ensuring 1:1 jar filesSven Gothel2011-08-021-6/+2
|
* Android: Drop android.jar ; Simplify 'aapt.signed' ; Move our android ↵Sven Gothel2011-08-0218-22/+415
| | | | | | | | | | | | | | | | 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
* resources: proper location, not mixing w/ 3rd party libsSven Gothel2011-08-022-0/+0
|
* resources: unique graphics locationSven Gothel2011-08-022-0/+0
|
* Merge remote-tracking branch 'rsantina/master'Sven Gothel2011-08-021-1/+46
|\
| * Fix: cleanup android.R based task and classpathsRami Santina2011-07-311-9/+14
| |
| * added generation and compilation of android Resource classRami Santina2011-07-291-1/+41
| |
* | cross test linux/armv7 scripts: use generic ANT_PATHSven Gothel2011-08-022-2/+4
| |
* | Remove linux-armv7 native platform libraries (compile time only),Sven Gothel2011-08-029-1/+7
|/ | | | reducing the burden to add a license file etc.
* Platform getArch() -> getArchName() (analogue to getOSName())Sven Gothel2011-07-282-2/+2
|
* Fix Android apk activity; Add apk VersionName; Add jar manifest to apkSven Gothel2011-07-2819-57/+429
| | | | | | | | | | | | | | | | - 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
* APK: Native lib gets picked up now apk/lib/armeabi -> /data/data/<package>/libSven Gothel2011-07-281-5/+5
|
* Fix android build/unit-test ; Generalize aapt packaging (macro) ; Use jogamp ↵Sven Gothel2011-07-287-124/+224
| | | | | | | | | | | | | | | | 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
* proper GlueGen spellingSven Gothel2011-07-281-2/+2
|
* Replace default Android icons w/ JogAmp iconsSven Gothel2011-07-283-0/+0
|
* Merge remote-tracking branch 'rsantina/wip_mobile' into wip_mobileSven Gothel2011-07-288-14/+142
|\
| * Merge branch 'wip_mobile' of git://github.com/sgothel/gluegen into wip_mobileRami Santina2011-07-266-93/+86
| |\
| * | Added android packaging for android gluegen-rt.apkRami Santina2011-07-268-14/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Add Ubuntu 11.04 arm-linux-gnueabi library folder for build time linker ↵Sven Gothel2011-07-287-1/+1
| |/ |/| | | | | resolution
* | Cross JUnit Tests - All Passed: Android+Linux armv7Sven Gothel2011-07-256-93/+86
|/ | | | | | | | | | | - 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.
* Add native lib in apk, needs work to be installed (manifest ...)Sven Gothel2011-07-241-2/+10
|
* Cleaned up android build ; Cross junit/java android test/script; Fix ↵Sven Gothel2011-07-245-23/+88
| | | | | | | | | | | | | | | | | | | 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
* Complete android apk creation and cont. unit test launch. Need to write unit ↵Sven Gothel2011-07-245-49/+36
| | | | test commands to file - too long for single adb shell command
* Android: Remove native (fake) detectionSven Gothel2011-07-243-21/+1
|
* Android integration / cross-test ; Enhance PlatformSven Gothel2011-07-2413-19/+316
| | | | | | | | | | | - 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 ?)