summaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* RecursiveToolkitLock relocation to gluegen finishedSven Gothel2010-10-091-0/+215
|
* RunnableTask: Add attachmentSven Gothel2010-09-271-1/+18
|
* Fix: In case of a sync notifyObject, the whole action must be ↵Sven Gothel2010-09-231-11/+34
| | | | synchronized/locked.
* LICENSE.txt changes:Sven Gothel2010-09-1414-321/+363
| | | | | | | | | | | | | - Added JogAmp Community and common denominator: New BSD 3-clause license - Added note to make/lib binary file (source and license) Added source and license text for external binaries used in build process (make/lib folder). Changed 'Sven Gothel' and 'Michael Bien' New BSD 3-clause license to 'JogAmp Community' Simplified BSD 2-clause license.
* Split up method call for reusageSven Gothel2010-07-231-11/+36
|
* Merge branch 'freebsd-fixes' of http://github.com/rothwell/gluegenMichael Bien2010-07-181-0/+1
|\
| * Merge branch 'master' of git://github.com/mbien/gluegen into freebsd-fixesMark Rothwell2010-06-267-207/+233
| |\
| * | Add FreeBSD amd64 struct layoutMark Rothwell2010-06-261-0/+1
| | |
* | | Final fix for Java SE Platform query, as negotiated with Michael :)Sven Gothel2010-07-081-18/+7
| | |
* | | Merge branch 'master' of github.com:mbien/gluegenSven Gothel2010-07-071-10/+48
|\ \ \
| * | | added slice utility methods to Buffers + rudimentary test.Michael Bien2010-07-041-10/+48
| | |/ | |/|
* | | Fix: Add missing imports; Add warmup phase to primitive hashmap testSven Gothel2010-07-021-0/+2
| | |
* | | Moving ClassLoader parameter to the end, which seems to be easier to read.Sven Gothel2010-06-281-7/+7
| | |
* | | Fix regression of missing JavaSE check in case of security manager; TypoSven Gothel2010-06-261-6/+24
|/ /
* | another round of ProcAddressTable refactoring.Michael Bien2010-06-202-88/+165
| | | | | | | | | | | | | | - moved getAddressFor() from generated table to ProcAddressTable - added initEntry() to e.g. eagerly initialize one single entry (e.g. clGetExtensionFunctionAddress which must be available first) - several utility methods mostly usefull for debugging - cleanup
* | added 'intptr_t' to the list of PointerBuffer candidates.Michael Bien2010-06-181-2/+2
| | | | | | | | TODO consider making this configurable.
* | pass a ClassLoader to all methods which load classes. (ReflectionUtil)Michael Bien2010-06-171-18/+18
| |
* | Merge branch 'master' of github.com:sgothel/gluegenMichael Bien2010-06-161-0/+90
|\|
| * Adding RunnableTask, generic notifyable Runnable wrapperSven Gothel2010-06-161-0/+90
| |
* | currently no need for a (public) MiscUtils.java.Michael Bien2010-06-102-65/+6
| |
* | refactored Platform. Simplified initializer.Michael Bien2010-06-101-34/+42
|/
* Adding DynamicLibraryBundle utility to bundle Tool and JNI native library ↵Sven Gothel2010-06-107-41/+522
| | | | | | | | | | | | | | loading and lookup Add JNILibLoaderBase.loadLibrary(String libname, boolean ignoreError); DynamicLibraryBundle provides Tool and JNI native library loading and lookup New classes: com.jogamp.common.os.DynamicLibraryBundle com.jogamp.common.os.DynamicLibraryBundleInfo com.jogamp.common.util.MiscUtils.java Change: DEBUG/VERBOSE properties 'gluegen' -> 'jogamp'
* Minor additions to nio/Buffers, util/IntIntHashMap and os/NativeLibrarySven Gothel2010-06-057-0/+45
| | | | | | | | | | | | Buffers add 'float[] getFloatArray(double[])' conversion, ready to replace all JOGL InternalBufferUtil's. NativeLibrary/DynamicLinker add global lookup method allowing Unices and OSX to lookup a symbol globally. However, this is not recommended, due to the lookup costs. Windows is not supported here. Primitive type HashMap's (IntIntHashMap): Added putAll()
* fixed handling of size_t which was broken since the introduction of Int64Buffer.Michael Bien2010-05-311-0/+4
|
* Refactored JavaType to use enums.Michael Bien2010-05-301-34/+30
|
* Fix: Prepare CMethodBindingEmitter for struct methods as wellSven Gothel2010-05-252-26/+23
|
* ReflectionUtil: Added callStaticMethod(..)Sven Gothel2010-05-051-8/+48
|
* Fix privileged access (applet)Sven Gothel2010-04-281-9/+16
|
* Fix broken buildSven Gothel2010-04-281-1/+1
|
* small optimizations in fast pimitive HashMaps (Arrays.fill(), local variables).Michael Bien2010-04-271-19/+44
| | | | also improved javadoc and fixed exception messages.
* Fix GLProcAddressResolver regression: Loop through all names until found or ↵Sven Gothel2010-04-271-8/+8
| | | | n/a. Return 0 if not found, no Exception
* Using Buffers.isDirect(), due to Java <= 1.5 limitationsSven Gothel2010-04-261-1/+1
|
* renamed method.Michael Bien2010-04-242-5/+4
|
* Refactored ProcAddressTable generation.Michael Bien2010-04-247-247/+245
| | | | | - ProcAddressTable is now the common superclass for all tables - Removed ProcAddressHelpers and added FunctionAddressResolver extension mechanism
* IntIntHashMap (and friends) is now Iterable. Added iterator testcase.Michael Bien2010-04-211-5/+90
|
* added getKeyNotFoundValue() and some javadoc to IntIntHashMap.Michael Bien2010-04-211-13/+36
|
* Fix Exception Handling ..Sven Gothel2010-04-202-29/+50
|
* Importing files from JOGL (preserving history)Sven Gothel2010-04-195-34/+221
| | | | | | | | | git mv src/nativewindow/native/JVM_Tool.c src/native/common/JVM_Tool.c git mv src/nativewindow/classes/com/jogamp/nativewindow/impl/NativeLibLoaderBase.java src/java/com/jogamp/common/jvm/JNILibLoaderBase.java git mv src/nativewindow/classes/com/jogamp/nativewindow/impl/jvm/JVMUtil.java src/java/com/jogamp/common/jvm/JVMUtil.java git mv src/nativewindow/classes/com/jogamp/nativewindow/impl/NWReflection.java src/java/com/jogamp/common/util/ReflectionUtil.java Adding own JogampRuntimeException and Debug class
* Added keyNotFoundValue semantics, for primitve types it defaults to -1 now.Sven Gothel2010-04-191-3/+17
|
* Moving imported files to proper placeSven Gothel2010-04-193-0/+470
|
* Add emitting is|get GL4|GL4bcSven Gothel2010-04-151-0/+4
|
* merged LongInt with IntIntHashMap.Michael Bien2010-04-152-206/+21
| | | | IntIntHashMap is now the single template used for all other maps.
* added Simon Goller to @author list in LongIntHashMap und LongIntHashMapTest.Michael Bien2010-04-121-0/+3
|
* IntIntHashMap changed to LongIntHashMap.Simon Goller2010-04-121-0/+196
|
* annotated certain token in IntIntHashMap for text substitution.Michael Bien2010-04-081-19/+20
| | | | build generates now via text substitution IntLong- and IntObjectHashmap in the pre-build phase.
* initial import of IntIntHashmap + JUnitTest including a benchmark.Michael Bien2010-04-081-0/+195
|
* Merge branch 'master' of github.com:mbien/gluegenVALID_BUILDS_01Sven Gothel2010-04-084-72/+83
|\
| * gluegen imports now com.jogamp.common.nio.* and java.nio.* instead of using ↵Michael Bien2010-04-083-38/+45
| | | | | | | | FQCN in emitted files.
| * StringBuffer -> StringBuilder in MethodbindingMichael Bien2010-04-081-34/+38
| |
* | http://jogamp.org/bugzilla/show_bug.cgi?id=393Sven Gothel2010-04-081-1/+27
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed junit test: test1 - Create seperate native libraries to reflect a real world example: test1 - the library to bind to (no more declaring __stdcall @nn functions) BindingTest1p1 - the dynamic fixed linkage binding test1p1, references dynamic library test1 at linktime. BindingTest1p2 - the dynamic runtime linkage binding test1p2, loads dynamic library test1 at runtime. Generic: - gluegen-cpptasks-base.xml - target 'gluegen.cpptasks.detect.os' Set new property 'system.env.library.path' DYLD_LIBRARY_PATH (macosx) LD_LIBRARY_PATH (unix) PATH (windows) - target 'gluegen.cpptasks.striplibs' Strips the symbols out of the native libraries in case c.compiler.debug is false. Maybe configured with the properties: c.strip.tool, c.strip.args - Using system.env.library.path in junit call to find the test1 library in case of runtime linkage and lookup (test1p2). - Use gluegen.cpptasks.striplibs for all native libs .. - Added macosx32 in analogy to macosx64, both defaults to true now - com.jogamp.common.os.WindowsDynamicLinkerImpl:lookupSymbol() - Added lookup for __stdcall @nn (stepping alignment 4, max-args: 12) in case no undecorated __cdecl symbol is found. Fixed Windows platform: - Use proper path.seperator on Windows. - test1.dll needs proper soname inside for fixed linkage (test1p1) hence the output name must be test1.dll, not libtest1.so +++ http://jogamp.org/bugzilla/show_bug.cgi?id=394 Fix MacOsX platform: The commit of cpptasks.jar, git hash 129e783741d91e9ee5cd7da5d5c962c32ec96b0b, broke the universal binary build on MacOSX. The above change used cpptasks-1.05b with a few patches in regards to crosscompilation, but missed one, which accepts the '-arch' argument for GccLinker undecorated. The new cpptasks.jar is vanilla 1.05b + cpptasks-1.0b5-darwin-patch.diff, the latter a more refined one. This version accepts the '-arch' argument undecorated on the darwin platform. +++