Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test / build scripts | Sven Gothel | 2011-04-27 | 2 | -2/+6 |
| | |||||
* | Eclipse: use native build path of tests | Sven Gothel | 2011-04-27 | 1 | -1/+1 |
| | |||||
* | NativeBuffer/PointerBuffer API/Impl Change (remove explicit backup array, ↵ | Sven Gothel | 2011-04-27 | 11 | -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 Int64Buffer | Michael Bien | 2011-04-26 | 7 | -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 size | Sven Gothel | 2011-04-26 | 1 | -0/+6 |
| | |||||
* | Remove redundant setup.java.home.dir, use proper gluegen-cpptasks-base.xml ↵ | Sven Gothel | 2011-04-20 | 1 | -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 archive | Sven Gothel | 2011-04-20 | 1 | -0/+3 |
| | |||||
* | osx fix: query availability of JVM header, ie | Sven Gothel | 2011-04-20 | 1 | -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 Gothel | 2011-04-20 | 1 | -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 Gothel | 2011-04-20 | 1 | -2/+11 |
| | | | | javacdebuglevel for compilation | ||||
* | Add IOUtil - generic URL to File and stream to stream copy | Sven Gothel | 2011-04-01 | 1 | -0/+84 |
| | |||||
* | Fix gluegen Eclipse build clean and incremental behavior. | Wade Walker | 2011-03-26 | 2 | -2/+1 |
| | | | | | These changes got lost somehow; recreating them here from most recent master. | ||||
* | VersionNumber: Add cstr with version number string and delimeter | Sven Gothel | 2011-03-21 | 1 | -0/+29 |
| | |||||
* | use.macosx32 and use.macosx64 are only true when I run Mac OS X | Sylvestre Ledru | 2011-03-20 | 1 | -0/+6 |
| | |||||
* | Merge branch 'pulled' of github.com:sgothel/gluegen into pulled | Sven Gothel | 2011-03-19 | 4 | -5/+16 |
|\ | |||||
| * | Speed up Eclipse build | Wade Walker | 2011-02-25 | 3 | -5/+9 |
| | | | | | | | | | | Changes Eclipse's build settings to reduce the amount of stuff rebuilt by the build.xml flow. | ||||
| * | Speed up Eclipse build | Wade Walker | 2011-02-25 | 1 | -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 Gothel | 2011-03-19 | 3 | -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 Gothel | 2011-03-19 | 1 | -7/+16 |
| | | | | | | | | change | ||||
* | | Fix jogamp-env.xml's NODE_NAME -> build.node.namev2.0-rc2 | Sven Gothel | 2011-02-26 | 1 | -2/+3 |
| | | |||||
* | | DoubleCheckLocking: Added 'ok' comment - volatile var | Sven Gothel | 2011-02-26 | 3 | -3/+3 |
| | | |||||
* | | RecursiveLock: static field -> final; NativeLibrary: cleanup | Sven Gothel | 2011-02-26 | 2 | -7/+6 |
| | | |||||
* | | fix TestRecursiveLock01's LockedObjectAction1 sync | Sven Gothel | 2011-02-26 | 1 | -8/+5 |
| | | |||||
* | | Merge remote-tracking branch 'remotes/mbien/master' | Sven Gothel | 2011-02-26 | 7 | -29/+30 |
|\ \ | |||||
| * | | small cleanup in uitl package | Michael Bien | 2011-02-26 | 7 | -29/+30 |
| | | | | | | | | | | | | | | | | | | - StringBuffer -> StringBuilder - ReflectionUtil.getBaseName -> class.getSimpleName() - cleanup imports, generics and @Override for all touched classes | ||||
| * | | Merge branch 'master' of github.com:sgothel/gluegen | Michael Bien | 2011-02-25 | 12 | -13/+64 |
| |\| | |||||
| * | | Merge branch 'master' of github.com:sgothel/gluegen | Michael Bien | 2011-02-23 | 1 | -2/+2 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' of ssh://jogamp.org/srv/scm/gluegen | Michael Bien | 2011-02-22 | 3 | -8/+8 |
| |\ \ \ | |||||
* | | | | | cleanup imports | Sven Gothel | 2011-02-26 | 2 | -7/+2 |
| |_|_|/ |/| | | | |||||
* | | | | Fix archive.7z: unset property destfile.path. gluegen-archivetasks.xml -> ↵ | Sven Gothel | 2011-02-24 | 3 | -3/+11 |
| | | | | | | | | | | | | | | | | jogamp-archivetasks.xml | ||||
* | | | | fix jogamp-env.xml ; uses env vars BUILD_ARCHIVE=true|yes and NODE_NAME if set | Sven Gothel | 2011-02-23 | 12 | -10/+10 |
| | | | | |||||
* | | | | Intro jogamp-env.xml to parse common env properties ; Fix archive.7z: use ↵ | Sven Gothel | 2011-02-23 | 4 | -5/+26 |
| | | | | | | | | | | | | | | | | abs path | ||||
* | | | | Inverse build attribute build.noarchive -> build.archiveon | Sven Gothel | 2011-02-23 | 1 | -1/+1 |
| | | | | |||||
* | | | | 7z: use OS searchpath | Sven Gothel | 2011-02-23 | 1 | -0/+1 |
| | | | | |||||
* | | | | Provide task 'archive.7z' and use it instead of zip | Sven Gothel | 2011-02-23 | 3 | -9/+29 |
| | | | | |||||
* | | | | Use NODE_NAME env var to determine test archive | Sven Gothel | 2011-02-23 | 2 | -1/+2 |
| |_|/ |/| | | |||||
* | | | Fix comment | Sven Gothel | 2011-02-22 | 1 | -2/+2 |
| | | | |||||
* | | | Merge remote branch 'mbien/master' | Sven Gothel | 2011-02-22 | 3 | -33/+13 |
|\| | | |/ |/| | |||||
| * | - Buffers.slice() should maintain byteorder when sliceing ByteBuffers | Michael Bien | 2011-02-22 | 1 | -31/+9 |
| | | | | | | - simplified isDirect() and getArray() | ||||
| * | - ensure slice uses the buffers original byteorder. | Michael Bien | 2011-02-22 | 2 | -2/+4 |
| | | | | | | - create new buffers only if size > capacity not if >= capacity | ||||
* | | bump scripts to 6u24 | Sven Gothel | 2011-02-22 | 3 | -8/+8 |
|/ | |||||
* | Merge remote branch 'mbien/master' | Sven Gothel | 2011-02-14 | 2 | -0/+584 |
|\ | |||||
| * | added CachedBufferFactory + test. | Michael Bien | 2011-02-13 | 2 | -0/+584 |
| | | | | | | factory supports dynamic and static allocation schemes and has a synchronized and a unsynchronized implementation. | ||||
* | | Fix: Buffers cstr back to protected | Sven Gothel | 2011-02-13 | 1 | -1/+1 |
| | | |||||
* | | Fix: Buffers back to non final ; Added missing JogAmp (c) | Sven Gothel | 2011-02-13 | 4 | -1/+5 |
| | | |||||
* | | Merge remote branch 'mbien/master' | Sven Gothel | 2011-02-13 | 5 | -54/+87 |
|\| | |||||
| * | improved BuffersTest.slice(). | Michael Bien | 2011-02-13 | 1 | -1/+32 |
| | | |||||
| * | junit test NB mapping. | Michael Bien | 2011-02-13 | 1 | -1/+1 |
| | | |||||
| * | moved struct and buffer test to its nio friends, cleaned up imports | Michael Bien | 2011-02-13 | 2 | -15/+8 |
| | | |||||
| * | - 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 |