Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better exception handling in GlueGen. | Michael Bien | 2010-02-20 | 2 | -127/+256 |
| | | | | WIP: refactored PCPP to implement macros, next step is to replace StreamTokenizer with Scanner (we need a propper look ahead). | ||||
* | fixed jdk tools.jar classpath for hudson to fix tests. | Michael Bien | 2010-02-12 | 2 | -4/+6 |
| | |||||
* | junit test code cleanup and some build preperations for hudson. | Michael Bien | 2010-02-12 | 6 | -63/+82 |
| | |||||
* | added test target to main build script. | Michael Bien | 2010-02-12 | 14 | -229/+517 |
| | | | | | added StructAccessorTest, refactored other tests. updated project files, paths etc. | ||||
* | added support for arrays in generated StructAccessors. | Michael Bien | 2010-02-12 | 4 | -39/+198 |
| | | | | | Specifying JavaClass or JavaImplClass is no longer a requirement. It is now possible to generate StructAccessors from c headers without emitting any other binding code (force with EmitStruct <name>). | ||||
* | generated pointer variable names have now a more descriptive name. | Michael Bien | 2010-02-03 | 1 | -47/+46 |
| | | | | a few 'introduce variable' refactorings for argument names. | ||||
* | PointerBuffer supports now 32bit architectures. | Michael Bien | 2010-01-19 | 2 | -18/+39 |
| | |||||
* | is32Bit field is now immutable to help hotspot with inlining. | Michael Bien | 2010-01-18 | 1 | -41/+27 |
| | | | | code cleanup. | ||||
* | fixed off-by-one bug in put and get. | Michael Bien | 2010-01-12 | 2 | -6/+24 |
| | | | | | implemented method chaining pattern. added position(int pos) method. | ||||
* | fixed emitted code for buffer-array mixing. | Michael Bien | 2010-01-12 | 4 | -17/+27 |
| | | | | | removed workaround in BufferFactory since it is no longer needed. small code cleanup (generator java 5 migration). | ||||
* | updated project files to reference antlr-3.2.jar. | Michael Bien | 2010-01-12 | 2 | -7/+7 |
| | |||||
* | continued with code cleanup in com.sun.gluegen.cgram and ↵ | Michael Bien | 2009-12-02 | 18 | -563/+647 |
| | | | | com.sun.gluegen.opengl packages. | ||||
* | Code cleanup. Ported package com.sun.gluegen to java 5 language level. | Michael Bien | 2009-12-01 | 18 | -644/+624 |
| | |||||
* | temporary workaround in BufferFactory.isDirect(). Changed behavior to return ↵ | Michael Bien | 2009-11-30 | 2 | -4/+4 |
| | | | | | | false with null as parameter to workaround buffer/array mixing bug. Should be revisited to improve performance. | ||||
* | preparations for continuous builds and cross compilation (WIP). | Michael Bien | 2009-11-20 | 4 | -6/+136 |
| | |||||
* | Added quick hack to simplify crosscompilation with cpptasks. | Michael Bien | 2009-11-17 | 3 | -3/+25 |
| | | | | | | CppTasks uses a hardcoded command (compiler name) to invoke the specified compiler which makes crosscompilation with multiple versions of e.g gcc hard. Temporary disabled suncc compiler configuration since it does not work with cpptasks 1.0b5. | ||||
* | fixed clean target. | Michael Bien | 2009-11-16 | 1 | -2/+2 |
| | |||||
* | added explicit -m32 and -m64 args to linux gcc compiler and linker configure ↵ | Michael Bien | 2009-11-13 | 1 | -0/+4 |
| | | | | targets. | ||||
* | modified JavaEmitter to generate struct accessor objects with better java ↵ | Michael Bien | 2009-11-11 | 1 | -69/+85 |
| | | | | naming conventions. | ||||
* | added first JUnit test: GlueGenTest.java. (dependencies: junit-4.5.jar, ↵ | Michael Bien | 2009-10-18 | 7 | -3/+497 |
| | | | | | | | antlr-2.7.7.jar in <gluegenroot>/lib) Test tests the basic GlueGen lifecycle: generate->compile java->compile native->load lib->call methods integrated test compile,run and debug targets into NetBeans IDE. | ||||
* | Add GL3bc to OpenGL composable pipelineAwayFromSun | Sven Gothel | 2009-10-18 | 1 | -0/+2 |
| | |||||
* | String isEmpty() is Java 1.6 - replaced | Sven Gothel | 2009-10-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://git.kenai.com/gluegen~gluegen-git | Sven Gothel | 2009-10-12 | 6 | -137/+259 |
|\ | |||||
| * | defines with constant but more complex expressions are now no longer ignored ↵ | Michael Bien | 2009-10-08 | 3 | -35/+137 |
| | | | | | | | | (e.g #define CL_FP_FMA (1 << 5)). | ||||
| * | gluegen.jar compiles now with source=1.5 classfile version (However, ↵ | Michael Bien | 2009-10-08 | 4 | -100/+120 |
| | | | | | | | | | | | | gluegen-rt.jar still uses 1.4). generified classes in pcpp package and removed warnings (java 5 cleanup). | ||||
| * | fixed netbeans project classpath. | Michael Bien | 2009-10-08 | 1 | -5/+5 |
| | | |||||
* | | Add custom config locations via properties 'gluegen.user.properties.file' ↵ | Sven Gothel | 2009-10-02 | 4 | -8/+46 |
|/ | | | | and 'gluegen.user.compiler.file' | ||||
* | Merge branch 'master' of ssh://[email protected]/gluegen~gluegen-git | Michael Bien | 2009-08-08 | 32 | -218/+598 |
|\ | |||||
| * | Add <br> in commentOpenGL_3_2_ReadyMIPS_PORT | Sven Gothel | 2009-08-05 | 2 | -2/+2 |
| | | |||||
| * | Fix: Remove PFD_ defines. Add GL Option: AllowNonGLExtensions <bool> to ↵ | Sven Gothel | 2009-08-05 | 4 | -21/+41 |
| | | | | | | | | allow non GL extensions to be passed. Allow ifndef/define pattern to have any characters at the end | ||||
| * | Fix: Allow all constanst defined by enums; Add PFD_ defines. | Sven Gothel | 2009-08-05 | 4 | -4/+18 |
| | | |||||
| * | Fix: Add unsigned qualifier, CGL and GLU | Sven Gothel | 2009-08-05 | 1 | -4/+4 |
| | | |||||
| * | Cleanup for a better OpenGL 3.2 integration, | Sven Gothel | 2009-08-05 | 18 | -116/+277 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for subsuming extensions: - Allow RenameExtensionIntoCore generate duplicate names, ie those will not be generated. - Add proper comment showing the extension of the symbol. - Fail if no 'GLHeader' is specified, but we are processing a GL/ProcAddress config - Fail if a GL function is not part of an extension MethodBinding, ConstantDefinition cleanup: - getName() returns the renamed name - getOrigName() returns the original - getAliasedNames() returns the aliased ones MethodBinding: - Change: equals() operates on renamed name - Add: hashCode() function - same criteria as equals() Impact: - All config options etc shall trigger with the renamed name, but ignore, rename etc. - Generated Java impl. uses the renamed base name as well Change: emitDefine() uses the ConstantDefinition Add: JavaConfiguration: dumpRenames() Change JavaConfiguration.shouldIgnoreInInterface/Impl(): - respect the renamed symbol name as well Change JavaEmitter.emitFunctions(): - only emit a generated MethodBinding once, therefor store emitted method bindings in a HashSet Fix BuildStaticGLInfo: - Allow white space at the end of #ifndef and #define - Trim strings - Allow 'const' qualifier in function pattern Fix GLEmitter: - Fail if no 'GLHeader' is specified, but a RenameIntoCore option .. - Don't emit marker defines, marking an extension (ie not part of an extension) Fix GLJavaMethodBindingEmitter: - Fail if a GL function is not part of an extension Fix PCPP: - Pass constant type qualifiers for hex-constants: 'l' 'L' ... Fix ProcAddressEmitter: - Operate on the aliased/renamed name for querying ProcAddress usage and generating code. | ||||
| * | OpenGL: Add comment: Part of <extension> | Sven Gothel | 2009-08-02 | 3 | -3/+41 |
| | | |||||
| * | Retain interface order in Custom Pipeline | Sven Gothel | 2009-08-01 | 1 | -4/+18 |
| | | |||||
| * | refine Trace/Debug output | Sven Gothel | 2009-08-01 | 1 | -7/+7 |
| | | |||||
| * | MingW: Refince CC flags | Sven Gothel | 2009-07-31 | 1 | -0/+3 |
| | | |||||
| * | Fix array element type name and const qualifier | Sven Gothel | 2009-07-31 | 1 | -3/+25 |
| | | |||||
| * | Add CVM test script for windows | sg215889 | 2009-07-30 | 1 | -0/+8 |
| | | |||||
| * | Fix gluegen property names | sg215889 | 2009-07-30 | 1 | -4/+4 |
| | | |||||
| * | Add GL2GL3 synthetic methods for OpenGL Composable Pipeline | sg215889 | 2009-07-29 | 1 | -0/+2 |
| | | |||||
| * | ExtendedInterfaceSymbols -> ExtendedInterfaceSymbolsIgnore; Allow cobination ↵ | sg215889 | 2009-07-29 | 1 | -17/+17 |
| | | | | | | | | of ExtendedInterfaceSymbolsIgnore and ExtendedInterfaceSymbolsOnly | ||||
| * | Proper gluegen.properties loading (2) | sg215889 | 2009-07-28 | 1 | -16/+2 |
| | | |||||
| * | Proper gluegen.properties loading | sg215889 | 2009-07-28 | 3 | -16/+44 |
| | | |||||
| * | Verbose mac osx x64 and ppc | sg215889 | 2009-07-28 | 1 | -0/+2 |
| | | |||||
| * | Add test scripts J2SE and CVM | sg215889 | 2009-07-28 | 2 | -0/+35 |
| | | |||||
| * | Fix: Native CPU 32/64 bit detection; Tested on CVM/J2SE | sg215889 | 2009-07-28 | 8 | -41/+54 |
| | | |||||
| * | Fix: Add sun.arch.data.model to determine 32bit arch | sg215889 | 2009-07-28 | 3 | -31/+65 |
| | | |||||
* | | Merge branch 'master' of ssh://[email protected]/gluegen~gluegen-git | Michael Bien | 2009-07-24 | 2 | -0/+7 |
|\| | |||||
| * | Add: Extended support for CVM crosscompile: | sg215889 | 2009-07-24 | 2 | -0/+7 |
| | | | | | | | | | | - Clean up X11 dependency - Adding 'noX11' property to avoid setting 'isX11' |