Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed com.sun.gluegen -> com.jogamp.gluegen | Sven Gothel | 2010-11-06 | 66 | -121/+142 |
| | |||||
* | RELOCATION: GlueGen OpenGL parts back to Jogl | Sven Gothel | 2010-11-06 | 7 | -2563/+0 |
| | |||||
* | Avoid NPE | Sven Gothel | 2010-11-06 | 3 | -5/+15 |
| | |||||
* | removed ancient GL4Java file (ConvertFromGL4Java). | Michael Bien | 2010-11-06 | 1 | -91/+0 |
| | |||||
* | Fix native type representation; Retain typedef declName in resulting Type ↵ | Sven Gothel | 2010-11-06 | 20 | -104/+237 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for variables; Misc Fix native type representation ---------------------------------- The following custom types were previously build-in: __int32, __int64 Adding the following native build-in types (necessary): ptrdiff_t, size_t These compiler/platform specific types shall not be typedef'ed via header files. Hence we provide proper typing for such, as the compiler would do. Adding the following native build-in types (convenience): int32_t, uint32_t, int64_t, uint64_t These are provided due to their lack of support on certain platforms, and probable source of bugs, when defined by the user. Retain typedef declName in resulting Type for variables. -------------------------------------------------------- Adding Clonable to all cgram Type derivations. Assume use case: typedef khronos_ssize_t GLsizeiptr typedef size_t khronos_ssize_t The previous code picked a one level depth type in the dictionary if exists. Hence it made khronos_ssize_t visible in the javadoc and native code. It is our believe that the generated native code, as well as the javadoc comments shall reflect the original GlueGen'ed API and it's types. Also, aliasing or reducing native types via GlueGen could result in plattorm dependencies and in worst cases, incompatible native types. This patch clones the 1 level depth Type (typedef), clones it and sets the declName, so it's visible to the GlueGen layers. Misc ------- GlueGen's debug flag is passed to HeaderParser, where it traces misc information. | ||||
* | Adding 'containsSafe' .. allowing verification of hash code | Sven Gothel | 2010-11-05 | 1 | -2/+18 |
| | |||||
* | Updated list of OpenGL extension vendor suffixes | Sven Gothel | 2010-11-04 | 1 | -0/+6 |
| | |||||
* | Fix PCPP 'elif' case; Adding PCPP #error/#warning; Adding debug mode. | Sven Gothel | 2010-11-04 | 3 | -13/+72 |
| | | | | | | | | | | | | | | | | | | Fix PCPP 'elif' case ---------------------- Use the evaluated expression after the 'elif' statement as well. This was always true for 'if'. Otherwise the file obviously won't get parsed correctly, ie it was always assuming 'true'. Adding PCPP #error/#warning ---------------------------- LOG all occurence of #error and #warning CPP directives Adding debug mode. ---------------------- Add '--debug' commandline flag and 'debug' property for ant task, which enables debug mode of PCPP. | ||||
* | RecursiveLock: TRACE_LOCK: StackTrace -> err.println | Sven Gothel | 2010-10-29 | 1 | -2/+4 |
| | |||||
* | ArrayHashSet: List toList() -> ArrayList toArrayList() | Sven Gothel | 2010-10-26 | 1 | -7/+11 |
| | |||||
* | ArrayHashSet: Add 'getOrAdd(key)' identity method to conveniently get the ↵ | Sven Gothel | 2010-10-23 | 1 | -5/+28 |
| | | | | identity or add it, if not exist yet | ||||
* | New jogamp.common.util.ArrayHashSet, providing O(1) queries/add and identity ↵ | Sven Gothel | 2010-10-23 | 1 | -0/+372 |
| | | | | operations | ||||
* | Moved locking to: com.jogamp.common.util.locks ; Better abstraction ; Misc ↵ | Sven Gothel | 2010-10-14 | 6 | -49/+276 |
| | | | | changes | ||||
* | RecursiveToolkitLock relocation to gluegen finished | Sven Gothel | 2010-10-09 | 1 | -0/+215 |
| | |||||
* | RunnableTask: Add attachment | Sven Gothel | 2010-09-27 | 1 | -1/+18 |
| | |||||
* | Fix: In case of a sync notifyObject, the whole action must be ↵ | Sven Gothel | 2010-09-23 | 1 | -11/+34 |
| | | | | synchronized/locked. | ||||
* | LICENSE.txt changes: | Sven Gothel | 2010-09-14 | 14 | -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 reusage | Sven Gothel | 2010-07-23 | 1 | -11/+36 |
| | |||||
* | Merge branch 'freebsd-fixes' of http://github.com/rothwell/gluegen | Michael Bien | 2010-07-18 | 1 | -0/+1 |
|\ | |||||
| * | Merge branch 'master' of git://github.com/mbien/gluegen into freebsd-fixes | Mark Rothwell | 2010-06-26 | 7 | -207/+233 |
| |\ | |||||
| * | | Add FreeBSD amd64 struct layout | Mark Rothwell | 2010-06-26 | 1 | -0/+1 |
| | | | |||||
* | | | 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 |
| |