summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PointerBuffer: Add duplicate() method (as req by JOCL)Sven Gothel2011-05-011-0/+19
|
* test / build scriptsSven Gothel2011-04-272-2/+6
|
* Eclipse: use native build path of testsSven Gothel2011-04-271-1/+1
|
* NativeBuffer/PointerBuffer API/Impl Change (remove explicit backup array, ↵Sven Gothel2011-04-2711-349/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | alloc referenced data map if used only) This patch doesn't impact GlueGen's code generation, but enhance and fix PointerBuffer usage only. remove explicit backup array As suggested by Michael Bien with a proposed patch, PointerBuffer's backup array is not only redundant in case it's not used, but also erroneous - due to possible sliced buffers. Removes the explicit backup array implementation leaving it up to the user, ie how PointerBuffer is created (alloc/allocDirect) and use the underlying nio's buffer backup array, if available. This also fixes the (never tested) case of indirect w/ backup array usage on 32bit platform size. In this case the array shall be of type int[], holding 32bit pointer - on 64bit long[]. Previous to this patch, it was always long[]. Added more thorough tests of PointerBuffer, notably indirect w/ backup array and native deep copy and filling of a pointer array. alloc referenced data map if used only As suggested by Michael Bien with a proposed patch, the allocation of the dataMap hash map is redundant in case it's not used. The hash map will be initialized lazy, if needed only.
* refactoring in common.nio public api - removed Int64BufferMichael Bien2011-04-267-210/+46
| | | | | | - removed Int64Buffer since it is no longer needed for LongBuffer emulation Signed-off-by: Sven Gothel <[email protected]>
* RecursiveLock: Expose waiting thread queue sizeSven Gothel2011-04-261-0/+6
|
* Remove redundant setup.java.home.dir, use proper gluegen-cpptasks-base.xml ↵Sven Gothel2011-04-201-16/+1
| | | | target gluegen.cpptasks.setup.compiler (instead of gluegen.cpptasks.detect.compiler)
* eclipse: Use all.ide as def target, using debug flags and no archiveSven Gothel2011-04-201-0/+3
|
* osx fix: query availability of JVM header, ieSven Gothel2011-04-201-1/+6
| | | | | - /System/Library/Frameworks/JavaVM.framework/Headers/ Java 10.6 Update 4 - /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers/ Prev. Version
* ant: using target.sourcelevel, host.sourcelevel, javacdebug and ↵Sven Gothel2011-04-201-9/+23
| | | | | | | | | javacdebuglevel for compilation ; osx fix ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation osx fix: remove java.include.dir.platform property def, since it should be done in the gluegen-cpptasks-base.xml
* test ant: using target.sourcelevel, host.sourcelevel, javacdebug and ↵Sven Gothel2011-04-201-2/+11
| | | | javacdebuglevel for compilation
* Add IOUtil - generic URL to File and stream to stream copySven Gothel2011-04-011-0/+84
|
* Fix gluegen Eclipse build clean and incremental behavior.Wade Walker2011-03-262-2/+1
| | | | | These changes got lost somehow; recreating them here from most recent master.
* VersionNumber: Add cstr with version number string and delimeterSven Gothel2011-03-211-0/+29
|
* use.macosx32 and use.macosx64 are only true when I run Mac OS XSylvestre Ledru2011-03-201-0/+6
|
* Merge branch 'pulled' of github.com:sgothel/gluegen into pulledSven Gothel2011-03-194-5/+16
|\
| * Speed up Eclipse buildWade Walker2011-02-253-5/+9
| | | | | | | | | | Changes Eclipse's build settings to reduce the amount of stuff rebuilt by the build.xml flow.
| * Speed up Eclipse buildWade Walker2011-02-251-0/+7
| | | | | | | | | | Changes Eclipse's build settings to reduce the amount of stuff rebuilt by the build.xml flow.
* | Primitive HashMap: Add deep clone(); Fix containsValue() in case of Object ↵Sven Gothel2011-03-193-11/+440
| | | | | | | | values (using equals(Object)); Adding junit tests for clone(), capacity and IntObjectHashMap
* | ReflectionUtil: split up createInstance() / use var-args where possible w/o ↵Sven Gothel2011-03-191-7/+16
| | | | | | | | change
* | Fix jogamp-env.xml's NODE_NAME -> build.node.namev2.0-rc2Sven Gothel2011-02-261-2/+3
| |
* | DoubleCheckLocking: Added 'ok' comment - volatile varSven Gothel2011-02-263-3/+3
| |
* | RecursiveLock: static field -> final; NativeLibrary: cleanupSven Gothel2011-02-262-7/+6
| |
* | fix TestRecursiveLock01's LockedObjectAction1 syncSven Gothel2011-02-261-8/+5
| |
* | Merge remote-tracking branch 'remotes/mbien/master'Sven Gothel2011-02-267-29/+30
|\ \
| * | small cleanup in uitl packageMichael Bien2011-02-267-29/+30
| | | | | | | | | | | | | | | | | | - StringBuffer -> StringBuilder - ReflectionUtil.getBaseName -> class.getSimpleName() - cleanup imports, generics and @Override for all touched classes
| * | Merge branch 'master' of github.com:sgothel/gluegenMichael Bien2011-02-2512-13/+64
| |\|
| * | Merge branch 'master' of github.com:sgothel/gluegenMichael Bien2011-02-231-2/+2
| |\ \
| * \ \ Merge branch 'master' of ssh://jogamp.org/srv/scm/gluegenMichael Bien2011-02-223-8/+8
| |\ \ \
* | | | | cleanup importsSven Gothel2011-02-262-7/+2
| |_|_|/ |/| | |
* | | | Fix archive.7z: unset property destfile.path. gluegen-archivetasks.xml -> ↵Sven Gothel2011-02-243-3/+11
| | | | | | | | | | | | | | | | jogamp-archivetasks.xml
* | | | fix jogamp-env.xml ; uses env vars BUILD_ARCHIVE=true|yes and NODE_NAME if setSven Gothel2011-02-2312-10/+10
| | | |
* | | | Intro jogamp-env.xml to parse common env properties ; Fix archive.7z: use ↵Sven Gothel2011-02-234-5/+26
| | | | | | | | | | | | | | | | abs path
* | | | Inverse build attribute build.noarchive -> build.archiveonSven Gothel2011-02-231-1/+1
| | | |
* | | | 7z: use OS searchpathSven Gothel2011-02-231-0/+1
| | | |
* | | | Provide task 'archive.7z' and use it instead of zipSven Gothel2011-02-233-9/+29
| | | |
* | | | Use NODE_NAME env var to determine test archiveSven Gothel2011-02-232-1/+2
| |_|/ |/| |
* | | Fix commentSven Gothel2011-02-221-2/+2
| | |
* | | Merge remote branch 'mbien/master'Sven Gothel2011-02-223-33/+13
|\| | | |/ |/|
| * - Buffers.slice() should maintain byteorder when sliceing ByteBuffersMichael Bien2011-02-221-31/+9
| | | | | | - simplified isDirect() and getArray()
| * - ensure slice uses the buffers original byteorder.Michael Bien2011-02-222-2/+4
| | | | | | - create new buffers only if size > capacity not if >= capacity
* | bump scripts to 6u24Sven Gothel2011-02-223-8/+8
|/
* Merge remote branch 'mbien/master'Sven Gothel2011-02-142-0/+584
|\
| * added CachedBufferFactory + test.Michael Bien2011-02-132-0/+584
| | | | | | factory supports dynamic and static allocation schemes and has a synchronized and a unsynchronized implementation.
* | Fix: Buffers cstr back to protectedSven Gothel2011-02-131-1/+1
| |
* | Fix: Buffers back to non final ; Added missing JogAmp (c)Sven Gothel2011-02-134-1/+5
| |
* | Merge remote branch 'mbien/master'Sven Gothel2011-02-135-54/+87
|\|
| * improved BuffersTest.slice().Michael Bien2011-02-131-1/+32
| |
| * junit test NB mapping.Michael Bien2011-02-131-1/+1
| |
| * moved struct and buffer test to its nio friends, cleaned up importsMichael Bien2011-02-132-15/+8
| |