Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Final fix for Java SE Platform query, as negotiated with Michael :) | Sven Gothel | 2010-07-08 | 1 | -18/+7 | |
| | | | ||||||
* | | | Merge branch 'master' of github.com:mbien/gluegen | Sven Gothel | 2010-07-07 | 1 | -10/+48 | |
|\ \ \ | ||||||
| * | | | added slice utility methods to Buffers + rudimentary test. | Michael Bien | 2010-07-04 | 1 | -10/+48 | |
| | |/ | |/| | ||||||
* | | | Fix: Add missing imports; Add warmup phase to primitive hashmap test | Sven Gothel | 2010-07-02 | 1 | -0/+2 | |
| | | | ||||||
* | | | Moving ClassLoader parameter to the end, which seems to be easier to read. | Sven Gothel | 2010-06-28 | 1 | -7/+7 | |
| | | | ||||||
* | | | Fix regression of missing JavaSE check in case of security manager; Typo | Sven Gothel | 2010-06-26 | 1 | -6/+24 | |
|/ / | ||||||
* | | another round of ProcAddressTable refactoring. | Michael Bien | 2010-06-20 | 2 | -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 Bien | 2010-06-18 | 1 | -2/+2 | |
| | | | | | | | | TODO consider making this configurable. | |||||
* | | pass a ClassLoader to all methods which load classes. (ReflectionUtil) | Michael Bien | 2010-06-17 | 1 | -18/+18 | |
| | | ||||||
* | | Merge branch 'master' of github.com:sgothel/gluegen | Michael Bien | 2010-06-16 | 1 | -0/+90 | |
|\| | ||||||
| * | Adding RunnableTask, generic notifyable Runnable wrapper | Sven Gothel | 2010-06-16 | 1 | -0/+90 | |
| | | ||||||
* | | currently no need for a (public) MiscUtils.java. | Michael Bien | 2010-06-10 | 2 | -65/+6 | |
| | | ||||||
* | | refactored Platform. Simplified initializer. | Michael Bien | 2010-06-10 | 1 | -34/+42 | |
|/ | ||||||
* | Adding DynamicLibraryBundle utility to bundle Tool and JNI native library ↵ | Sven Gothel | 2010-06-10 | 7 | -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/NativeLibrary | Sven Gothel | 2010-06-05 | 7 | -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 Bien | 2010-05-31 | 1 | -0/+4 | |
| | ||||||
* | Refactored JavaType to use enums. | Michael Bien | 2010-05-30 | 1 | -34/+30 | |
| | ||||||
* | Fix: Prepare CMethodBindingEmitter for struct methods as well | Sven Gothel | 2010-05-25 | 2 | -26/+23 | |
| | ||||||
* | ReflectionUtil: Added callStaticMethod(..) | Sven Gothel | 2010-05-05 | 1 | -8/+48 | |
| | ||||||
* | Fix privileged access (applet) | Sven Gothel | 2010-04-28 | 1 | -9/+16 | |
| | ||||||
* | Fix broken build | Sven Gothel | 2010-04-28 | 1 | -1/+1 | |
| | ||||||
* | small optimizations in fast pimitive HashMaps (Arrays.fill(), local variables). | Michael Bien | 2010-04-27 | 1 | -19/+44 | |
| | | | | also improved javadoc and fixed exception messages. | |||||
* | Fix GLProcAddressResolver regression: Loop through all names until found or ↵ | Sven Gothel | 2010-04-27 | 1 | -8/+8 | |
| | | | | n/a. Return 0 if not found, no Exception | |||||
* | Using Buffers.isDirect(), due to Java <= 1.5 limitations | Sven Gothel | 2010-04-26 | 1 | -1/+1 | |
| | ||||||
* | renamed method. | Michael Bien | 2010-04-24 | 2 | -5/+4 | |
| | ||||||
* | Refactored ProcAddressTable generation. | Michael Bien | 2010-04-24 | 7 | -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 Bien | 2010-04-21 | 1 | -5/+90 | |
| | ||||||
* | added getKeyNotFoundValue() and some javadoc to IntIntHashMap. | Michael Bien | 2010-04-21 | 1 | -13/+36 | |
| | ||||||
* | Fix Exception Handling .. | Sven Gothel | 2010-04-20 | 2 | -29/+50 | |
| | ||||||
* | Importing files from JOGL (preserving history) | Sven Gothel | 2010-04-19 | 5 | -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 Gothel | 2010-04-19 | 1 | -3/+17 | |
| | ||||||
* | Moving imported files to proper place | Sven Gothel | 2010-04-19 | 3 | -0/+470 | |
| | ||||||
* | Add emitting is|get GL4|GL4bc | Sven Gothel | 2010-04-15 | 1 | -0/+4 | |
| | ||||||
* | merged LongInt with IntIntHashMap. | Michael Bien | 2010-04-15 | 2 | -206/+21 | |
| | | | | IntIntHashMap is now the single template used for all other maps. | |||||
* | added Simon Goller to @author list in LongIntHashMap und LongIntHashMapTest. | Michael Bien | 2010-04-12 | 1 | -0/+3 | |
| | ||||||
* | IntIntHashMap changed to LongIntHashMap. | Simon Goller | 2010-04-12 | 1 | -0/+196 | |
| | ||||||
* | annotated certain token in IntIntHashMap for text substitution. | Michael Bien | 2010-04-08 | 1 | -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 Bien | 2010-04-08 | 1 | -0/+195 | |
| | ||||||
* | Merge branch 'master' of github.com:mbien/gluegenVALID_BUILDS_01 | Sven Gothel | 2010-04-08 | 4 | -72/+83 | |
|\ | ||||||
| * | gluegen imports now com.jogamp.common.nio.* and java.nio.* instead of using ↵ | Michael Bien | 2010-04-08 | 3 | -38/+45 | |
| | | | | | | | | FQCN in emitted files. | |||||
| * | StringBuffer -> StringBuilder in Methodbinding | Michael Bien | 2010-04-08 | 1 | -34/+38 | |
| | | ||||||
* | | http://jogamp.org/bugzilla/show_bug.cgi?id=393 | Sven Gothel | 2010-04-08 | 1 | -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. +++ | |||||
* | Merge branch 'master' of github.com:mbien/gluegen | Michael Bien | 2010-04-01 | 3 | -3/+4 | |
|\ | ||||||
| * | Fix 32bit masking / tests | Sven Gothel | 2010-04-01 | 3 | -3/+4 | |
| | | ||||||
* | | fixed a bug introduced in commit 2fe517b9a2e1a680b50c7e1273897495800c5350 / ↵ | Michael Bien | 2010-04-01 | 1 | -7/+8 | |
|/ | | | | | | | hudson build 42. Object local PrintWriter was used instead of method local after an attempt to prevent the very same bug... | |||||
* | fixed generated imports rudimentary (not DRY).. cleanup in work. | Michael Bien | 2010-03-31 | 3 | -103/+105 | |
| | ||||||
* | Merged with latest of mbien | Sven Gothel | 2010-03-31 | 38 | -2983/+3041 | |
|\ | ||||||
| * | introduced com.jogamp.common.{nio,os} packages and moved some classes. | Michael Bien | 2010-03-31 | 22 | -36/+47 | |
| | | ||||||
| * | refactoring and code cleanup in gluegen.opengl and gluegen.procaddress package. | Michael Bien | 2010-03-31 | 12 | -2784/+2716 | |
| | | ||||||
| * | replaced int-flags with enums + code cleanup. | Michael Bien | 2010-03-31 | 2 | -84/+54 | |
| | |