summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* (part2) merged all cdc_fp special cases into one common superclass for each ↵Michael Bien2010-03-281-7/+4
| | | | | | | special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled.
* Add missing fileSven Gothel2010-03-281-0/+17
|
* Merge with mbien's 2ea8c93d5fd27207872b97c964e3f8af5ac850c6Sven Gothel2010-03-284-16/+16
|\
| * Merge branch 'master' of [email protected]:mbien/gluegenMichael Bien2010-03-272-6/+10
| |\ | | | | | | | | | | | | Conflicts: src/junit/com/jogamp/gluegen/test/junit/Test1.java
| * | renamed com.sun.gluegen.runtime -> com.jogamp.gluegen.runtime.Michael Bien2010-03-274-16/+16
| | |
* | | http://www.jogamp.org/bugzilla/show_bug.cgi?id=389Sven Gothel2010-03-281-6/+40
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Gothel2010-03-271-3/+5
| |
* | Use property.location for compatible absolute path compositionSven Gothel2010-03-261-3/+5
|/
* Revert "Remove absolute path composing with basedir .."Michael Bien2010-03-261-1/+1
| | | | | looked fine but it did not work for all projects... This reverts commit 3793f181a21a38e8e4965eff073a5007c9c094a2.
* Remove absolute path composing with basedir ..Sven Gothel2010-03-261-1/+1
|
* removed ant warnings:Michael Bien2010-03-262-7/+7
| | | | | -Warning: Reference antlr.classpath has not been set at runtime, but was found during runtime -duplicated project name
* Fix import/basedir bug (ant?) for hudson workspaceSven Gothel2010-03-261-1/+8
|
* Add missing java.includes to cc build-junit.xmlSven Gothel2010-03-261-0/+2
|
* invoke junit.run on testSven Gothel2010-03-251-1/+1
|
* build-junit.xml unique build_t propertySven Gothel2010-03-252-34/+36
|
* start with gluegen.root ..Sven Gothel2010-03-251-5/+3
|
* http://www.jogamp.org/bugzilla/show_bug.cgi?id=390Sven Gothel2010-03-259-877/+1181
| | | | | | | | | | | | | | | | | 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=390Sven Gothel2010-03-253-8/+50
| | | | | | | | | | | | | | | | 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 ..
* removed test from all build target to safe time when jogl builds.Michael Bien2010-03-121-2/+2
|
* fixed jdk tools.jar classpath for hudson to fix tests.Michael Bien2010-02-121-2/+4
|
* junit test code cleanup and some build preperations for hudson.Michael Bien2010-02-121-9/+9
|
* added test target to main build script.Michael Bien2010-02-122-4/+28
| | | | | added StructAccessorTest, refactored other tests. updated project files, paths etc.
* preparations for continuous builds and cross compilation (WIP).Michael Bien2009-11-203-6/+98
|
* Added quick hack to simplify crosscompilation with cpptasks.Michael Bien2009-11-173-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 Bien2009-11-161-2/+2
|
* added explicit -m32 and -m64 args to linux gcc compiler and linker configure ↵Michael Bien2009-11-131-0/+4
| | | | targets.
* Merge branch 'master' of ssh://git.kenai.com/gluegen~gluegen-gitSven Gothel2009-10-121-0/+16
|\
| * gluegen.jar compiles now with source=1.5 classfile version (However, ↵Michael Bien2009-10-081-0/+16
| | | | | | | | | | | | gluegen-rt.jar still uses 1.4). generified classes in pcpp package and removed warnings (java 5 cleanup).
* | Add custom config locations via properties 'gluegen.user.properties.file' ↵Sven Gothel2009-10-024-8/+46
|/ | | | and 'gluegen.user.compiler.file'
* MingW: Refince CC flagsSven Gothel2009-07-311-0/+3
|
* Add CVM test script for windowssg2158892009-07-301-0/+8
|
* Fix gluegen property namessg2158892009-07-301-4/+4
|
* Proper gluegen.properties loading (2)sg2158892009-07-281-16/+2
|
* Proper gluegen.properties loadingsg2158892009-07-283-16/+44
|
* Verbose mac osx x64 and ppcsg2158892009-07-281-0/+2
|
* Add test scripts J2SE and CVMsg2158892009-07-282-0/+35
|
* Fix: Native CPU 32/64 bit detection; Tested on CVM/J2SEsg2158892009-07-283-22/+26
|
* Add: Extended support for CVM crosscompile:sg2158892009-07-242-0/+7
| | | | | - Clean up X11 dependency - Adding 'noX11' property to avoid setting 'isX11'
* Fix CDC JAR unificationsg2158892009-07-151-1/+1
|
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-152-9/+19
| | | | necessary. Fix PointerBuffer allocateDirect()
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-154-66/+73
| | | | necessary. Fix PointerBuffer allocateDirect()
* Add missing changessg2158892009-07-131-0/+2
|
* Add: Extended support for CVM:sg2158892009-07-134-0/+55
| | | | | | | | | | | | | | | | - GLX, CGL, WGL - GL2ES12 desktop ES1 and ES2 common profile Add: BufferFactory: Determine the Buffer's Endianess Add: com.sun.gluegen.runtime.PointerBuffer - Solution for CDC/CVM (no LongBuffer), holds a buffer of pointer objects in native endian format and converts natively passed 32bit pointers to 64 bit. - supports a few Buffer mechanics, so the BufferFactory can easily use them. - behaves as an NIO Buffer, code generation - included a unit test Add: StructAccessor get/set long value, incl. endian check
* Remove macosx.ppc build per default. Enable it via ant property macosppc=trueSven Gothel2009-07-042-4/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@156 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Disable MSVC run-time assertion checking for non-debug builds (unlessKenneth Russel2009-06-171-3/+22
| | | | | | | the property c.compiler.debug is set to true) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@149 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Change version number to conform to JOGL naming conventionKenneth Russel2009-06-171-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@148 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Copied JOGL_2_SANDBOX r145 on to trunk; JOGL_2_SANDBOX branch is now closedKenneth Russel2009-06-1520-0/+1629
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@147 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Deleted obsolete source code in preparation for copying JOGL_2_SANDBOXKenneth Russel2009-06-1518-1349/+0
| | | | | | | on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@146 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Changed implementation of ArgumentIsString to work with wide-character Kenneth Russel2008-05-274-13/+19
| | | | | | | | | | | | | | null-terminated strings on Windows. Changed Windows dynamic linker to use LoadLibraryW which is the only variant available on Windows CE. Changed GetProcAddress to explicitly named GetProcAddressA; this is implicitly the only variant available on Windows XP. Tested by compiling gluegen-rt.dll for both Windows XP and Windows CE. Also brought dynlink-unix-CustomJavaCode.java in line with modifications that were apparently hand made to the UnixDynamicLinkerImpl and MacOSXDynamicLinkerImpl classes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@79 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Adding customized gluegen.cpptasks.configure.compiler target.Sven Gothel2008-05-271-2/+5
| | | | | | | | Specify your target in ${user.home}/gluegen.compiler.xml' The enables a user to specify the compiler and linker, including all options. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@78 a78bb65f-1512-4460-ba86-f6dc96a7bf27