Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added CachedBufferFactory + test. | Michael Bien | 2011-02-13 | 1 | -0/+340 |
| | | | factory supports dynamic and static allocation schemes and has a synchronized and a unsynchronized implementation. | ||||
* | - generified com.jogamp.common.nio.Buffers. | Michael Bien | 2011-02-13 | 1 | -37/+46 |
| | | | | - class is now final (change it back on demand) - added concurrency warning to slice() method doc | ||||
* | Merge branch 'master' of github.com:mbien/gluegen | Sven Gothel | 2011-02-10 | 11 | -372/+83 |
|\ | |||||
| * | - removed CDC impl for com.jogamp.common.nio | Michael Bien | 2011-02-09 | 11 | -372/+83 |
| | | | | | | | | - generified class hierarchy (casts no longer needed in client code) - @Override where needed and other minor changes | ||||
* | | html fixes | Sven Gothel | 2011-02-09 | 2 | -16/+11 |
|/ | |||||
* | Move implementation private files from com.jogamp.<module>.impl. to ↵ | Sven Gothel | 2011-02-09 | 6 | -154/+5 |
| | | | | | | | | | | | | jogamp.<module> - com.jogamp.common.impl -> jogamp.common This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK. | ||||
* | Fix: VersionNumber compare shall throw ClassCastException if argument is of ↵ | Sven Gothel | 2011-01-31 | 1 | -2/+4 |
| | | | | different kind | ||||
* | Fix: Avoid NPE in case no manifest is available (running w/o JAR) | Sven Gothel | 2011-01-31 | 1 | -3/+3 |
| | |||||
* | ReflectionUtil: Add getBaseName(Class) | Sven Gothel | 2010-12-19 | 1 | -0/+5 |
| | |||||
* | debug: mention thread name | Sven Gothel | 2010-12-17 | 1 | -1/+2 |
| | |||||
* | Fix doc for type 'long' - added WARNING (ambiguous size Windows/Unix) | Sven Gothel | 2010-12-16 | 1 | -19/+24 |
| | |||||
* | Fix refactor bug: os -> os_lc in strings, reverted. | Sven Gothel | 2010-12-15 | 1 | -7/+7 |
| | |||||
* | Debug: out -> err stream | Sven Gothel | 2010-12-13 | 3 | -21/+21 |
| | |||||
* | clean: import | Sven Gothel | 2010-12-13 | 1 | -1/+0 |
| | |||||
* | Add generic VersionNumber util class | Sven Gothel | 2010-11-28 | 1 | -0/+92 |
| | |||||
* | Refined VersionInfo (seperator/new-line) | Sven Gothel | 2010-11-25 | 2 | -12/+10 |
| | |||||
* | GlueGen: Close in/out streams to allow deleteOnExit() to succeed on Windows | Sven Gothel | 2010-11-25 | 1 | -0/+3 |
| | |||||
* | Buffers float/double conversion: Add arg for given destination buffer; Add ↵ | Sven Gothel | 2010-11-19 | 1 | -7/+86 |
| | | | | back conversion; Add unit test for arrays | ||||
* | print platform info (GlueGenVersion). | Michael Bien | 2010-11-18 | 2 | -0/+9 |
| | |||||
* | Version info debugging works now even without native libs. | Michael Bien | 2010-11-18 | 4 | -71/+96 |
| | | | | | | - Platform is now useable without gluegen-rt libs in library path. - JogampVersion: fixed equals, added Impl url to manifest. - VersionUtil: getManifest should be now more relieable and passed all manual tests, e.g java jar lib.jar without specified classpath. | ||||
* | Add general purpose WriteCloneable interface | Sven Gothel | 2010-11-17 | 1 | -0/+42 |
| | |||||
* | API Doc: Complete list of predefined types | Sven Gothel | 2010-11-15 | 1 | -0/+7 |
| | |||||
* | Fix API doc | Sven Gothel | 2010-11-15 | 2 | -9/+13 |
| | |||||
* | Fix size_t, uintptr_t and uint32_t, uint64_t: suppress 'unsigned' in ↵ | Sven Gothel | 2010-11-14 | 2 | -5/+5 |
| | | | | | | | 'toString()' ; Added type tests. For size_t and uintptr_t this actually generated invalid C code. Added type tests for those. | ||||
* | JogampVersion: StringBuffer getInfo(StringBuffer) -> StringBuffer ↵ | Sven Gothel | 2010-11-14 | 3 | -3/+6 |
| | | | | toStringBuffer(StringBuffer) ; Add String toString() { ..} | ||||
* | Don't printStackTrace if the exception shall be catched for later use | Sven Gothel | 2010-11-14 | 1 | -6/+2 |
| | |||||
* | Adding missig GlueGenVersion | Sven Gothel | 2010-11-12 | 1 | -0/+60 |
| | |||||
* | Add Extension Name | Sven Gothel | 2010-11-12 | 1 | -0/+3 |
| | |||||
* | com.jogamp.common.util.GlueGenVersion -> com.jogamp.common.GlueGenVersion | Sven Gothel | 2010-11-12 | 3 | -59/+2 |
| | |||||
* | New: JogampVersion, providing generic information for Jogamp JAR archives; ↵ | Sven Gothel | 2010-11-12 | 4 | -46/+228 |
| | | | | | | | | | VersionInfo -> GlueGenVersion JogampVersion, providing generic information for Jogamp JAR archives Accessor to the Jogamp specific manifest additions, ie branch and commit. Also provides convenient attribute access and version dump methods. | ||||
* | VersionInfo self containing (adding main) | Sven Gothel | 2010-11-10 | 1 | -0/+3 |
| | |||||
* | Add generic VersionUtil (Manifest and Platform) ; Add VersionInfo | Sven Gothel | 2010-11-10 | 3 | -0/+165 |
| | |||||
* | Enhance API doc .. package description etc | Sven Gothel | 2010-11-09 | 8 | -50/+116 |
| | |||||
* | Gluegen: Types (stddef/stdint), Header and Predefined Macro Change | Sven Gothel | 2010-11-09 | 6 | -15/+89 |
| | | | | | | | | | | | | | Read API doc ad GlueGen.java New predefined types: wchar_t, intptr_t, uintptr_t New reusable headers for gluegen usage: make/stub_includes/gluegen for native usage: make/stub_includes/platform New predefined macro #define __GLUEGEN__ 2 | ||||
* | 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. |