Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed license (-> BSD) and content (minimum tokens) of dynamic-linker.h | Sven Gothel | 2010-11-08 | 1 | -10/+4 |
| | |||||
* | Reformated license tag | Sven Gothel | 2010-11-08 | 1 | -29/+28 |
| | |||||
* | Clarified cgram license, ie TNode.java | Sven Gothel | 2010-11-08 | 1 | -0/+38 |
| | |||||
* | PCPP: Let '#error token' throw an exception with the message; Note: #warning ↵ | Sven Gothel | 2010-11-08 | 1 | -1/+1 |
| | | | | needs to be quoted when having seperators | ||||
* | Fix PCPP 'define' case; Keep PCPP output file if 'debug' ; GlueGen uses PCPP ↵ | Sven Gothel | 2010-11-07 | 2 | -15/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | in same thread via File. Fix PCPP 'define' case ------------------------ A recursive define like: #define LALA ((int)1) #define LILI LALA was streamed out of PCPP, even though such 'macro defines' like #define LILI ((int)1) are disabled due to the parsers inability to digg those. Added test on macro definition for replaced values. GlueGen uses PCPP in same thread via File ------------------------------------------ To ease debugging we call PCPP from the same thread and use normal temp files as i/o. Keep PCPP output file if 'debug' --------------------------------- Keep temp outfile if debug is enabled | ||||
* | PCPP: Add '# <line> <file>' pass through ; Fix NB antlr.jar reference | Sven Gothel | 2010-11-07 | 1 | -1/+11 |
| | |||||
* | Gluegen/PCPP: Refined PCPP if-elif-else-endif ; Add 'dumpCPP' option to ↵ | Sven Gothel | 2010-11-07 | 3 | -77/+125 |
| | | | | direct PCPP to dump the output to stderr as well | ||||
* | Fix PCPP encapsualted if/if blocks | Sven Gothel | 2010-11-07 | 1 | -17/+23 |
| | |||||
* | PCPP: Add file and linenumber in exceptions | Sven Gothel | 2010-11-07 | 1 | -3/+4 |
| | |||||
* | PCPP: Fix ifdef/ifndef, if, elif and endif correct ; Enhanced PCPP tests | Sven Gothel | 2010-11-07 | 1 | -18/+37 |
| | |||||
* | Relocation: GlueGen GL Parts to Jogl | Sven Gothel | 2010-11-06 | 3 | -981/+0 |
| | |||||
* | 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 |
| |