Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Resolved conflicts | Sven Gothel | 2010-03-29 | 23 | -84/+434 |
|\ | |||||
| * | renamed BufferFactory into Buffers. | Michael Bien | 2010-03-29 | 14 | -59/+59 |
| | | |||||
| * | moved several common utility methods from JOGL's BufferUtil to GlueGen's ↵ | Michael Bien | 2010-03-29 | 5 | -11/+345 |
| | | | | | | | | BufferFactory. | ||||
| * | updated scripts with correct package names. | Michael Bien | 2010-03-28 | 3 | -10/+10 |
| | | |||||
| * | updated netbeans project files (added new test folder into path). | Michael Bien | 2010-03-28 | 1 | -0/+16 |
| | | |||||
* | | New Int64Buffer type, which is being used for gluegen 'long *' | Sven Gothel | 2010-03-29 | 16 | -66/+581 |
| | | |||||
* | | Merge CPU to Platform | Sven Gothel | 2010-03-28 | 11 | -122/+77 |
|/ | |||||
* | (part2) merged all cdc_fp special cases into one common superclass for each ↵ | Michael Bien | 2010-03-28 | 11 | -1230/+953 |
| | | | | | | | special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled. | ||||
* | (part 1) merged all cdc_fp special cases into one common superclass for each ↵ | Michael Bien | 2010-03-28 | 3 | -0/+0 |
| | | | | | | | special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled. | ||||
* | Add missing file | Sven Gothel | 2010-03-28 | 1 | -0/+17 |
| | |||||
* | Merge with mbien's 2ea8c93d5fd27207872b97c964e3f8af5ac850c6 | Sven Gothel | 2010-03-28 | 42 | -103/+99 |
|\ | |||||
| * | com.sun.opengl -> com.jogamp.opengl. | Michael Bien | 2010-03-27 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' of [email protected]:mbien/gluegen | Michael Bien | 2010-03-27 | 4 | -74/+102 |
| |\ | | | | | | | | | | | | | Conflicts: src/junit/com/jogamp/gluegen/test/junit/Test1.java | ||||
| * | | renamed com.sun.gluegen.runtime -> com.jogamp.gluegen.runtime. | Michael Bien | 2010-03-27 | 39 | -95/+91 |
| | | | |||||
* | | | http://www.jogamp.org/bugzilla/show_bug.cgi?id=389 | Sven Gothel | 2010-03-28 | 18 | -519/+883 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mixed types in generated code are functioning now, even though not all permutations are generated - still. However, this patch merges the indirect object passing, wheather it is a primitive array or an indirect NIO buffer, incl. PointerBuffer. This allows the usage of only one JNI functions for all combinations. Only in case of NIODirectOnly, the simplified direct only '0' variation is created - otherwise the parametrized '1' variant. The junit tests proves the implementation and almost completes the gluegen junit tests coverage for JavaEmitter and ProcAddressEmitter. Impact/Result: - Working mixed array types - JOGL GL2 native library shrunk around 30% - Simplified gluegen code - Almost complete gluegen junit tests TODO: Complete permutations of array/NIO arguments, if desired. ++++ Misc changes: - NativeLibrary implements DynamicLookupHelper: lookupFunction() -> dynamicLookupFunction() | ||||
* | | Add coverage test (signatures and execution) .. | Sven Gothel | 2010-03-27 | 3 | -66/+92 |
| | | |||||
* | | Use property.location for compatible absolute path composition | Sven Gothel | 2010-03-26 | 1 | -3/+5 |
|/ | |||||
* | Revert "Remove absolute path composing with basedir .." | Michael Bien | 2010-03-26 | 1 | -1/+1 |
| | | | | | looked fine but it did not work for all projects... This reverts commit 3793f181a21a38e8e4965eff073a5007c9c094a2. | ||||
* | Remove absolute path composing with basedir .. | Sven Gothel | 2010-03-26 | 1 | -1/+1 |
| | |||||
* | removed ant warnings: | Michael Bien | 2010-03-26 | 2 | -7/+7 |
| | | | | | -Warning: Reference antlr.classpath has not been set at runtime, but was found during runtime -duplicated project name | ||||
* | ant-junit-ant: use rel gluegen.root path | Sven Gothel | 2010-03-26 | 2 | -3/+2 |
| | |||||
* | Fix import/basedir bug (ant?) for hudson workspace | Sven Gothel | 2010-03-26 | 1 | -1/+8 |
| | |||||
* | Add missing java.includes to cc build-junit.xml | Sven Gothel | 2010-03-26 | 1 | -0/+2 |
| | |||||
* | invoke junit.run on test | Sven Gothel | 2010-03-25 | 1 | -1/+1 |
| | |||||
* | build-junit.xml unique build_t property | Sven Gothel | 2010-03-25 | 2 | -34/+36 |
| | |||||
* | start with gluegen.root .. | Sven Gothel | 2010-03-25 | 1 | -5/+3 |
| | |||||
* | http://www.jogamp.org/bugzilla/show_bug.cgi?id=390 | Sven Gothel | 2010-03-25 | 17 | -880/+1478 |
| | | | | | | | | | | | | | | | | | Adding 'plain' junit tests. Plain stands for the simple processing of: ant.junit.compile: gluegen -> java/c files, javac/cc, jar ant.junit.run: junit batch run Avoiding 'black magic', ie kicking off gluegen and ant-compilation from within the junit tests. Same methodology as the JOGL junit tests, junit test sources are under 'src/junit' This way, the migration to other platform tests might be easier, as well as the we don't need to pass through ant properties (ant - junit - ant), see 3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f. | ||||
* | http://www.jogamp.org/bugzilla/show_bug.cgi?id=390 | Sven Gothel | 2010-03-25 | 7 | -28/+88 |
| | | | | | | | | | | | | | | | | The current junit tests use a fixed 'build' sub-path, not the customizing 'rootrel.build' path. More properties needs to be passed through (ant -> junit -> ant) to comply with the current build system: * rootrel.build * os.arch * gluegen.user.compiler.file Fixed .. However .. since even more properties may influence the build, a more native solution with just plain 'ant' might be more desireable .. | ||||
* | seperated cli processing from main logic. | Michael Bien | 2010-03-24 | 1 | -290/+301 |
| | |||||
* | fixed regression in constant emission where a type suffix (e.g. 'f') was ↵ | Michael Bien | 2010-03-22 | 4 | -13/+30 |
| | | | | | | illegally added after a closing bracket. added testcase. | ||||
* | Drop PointerBuffer.wrapNative2Java(..) | Sven Gothel | 2010-03-19 | 3 | -64/+40 |
| | | | | | | in favor of a simple PointerBuffer.wrap(..), due to the new semantics, ie internal integer/long presentation. Fixed the javame code in this regard. | ||||
* | removed test from all build target to safe time when jogl builds. | Michael Bien | 2010-03-12 | 1 | -2/+2 |
| | |||||
* | fixed JavaEmitter to support unsigned defines. | Michael Bien | 2010-03-12 | 2 | -1/+10 |
| | |||||
* | added PCPPTest. | Michael Bien | 2010-02-20 | 2 | -0/+55 |
| | |||||
* | PCPP supports now simple macros. | Michael Bien | 2010-02-20 | 2 | -20/+34 |
| | | | | fixed 'deprecated API' warnings in GlueGen. | ||||
* | 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 |
| |