Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PointerBuffer: Add duplicate() method (as req by JOCL) | Sven Gothel | 2011-05-01 | 1 | -0/+19 |
| | |||||
* | NativeBuffer/PointerBuffer API/Impl Change (remove explicit backup array, ↵ | Sven Gothel | 2011-04-27 | 6 | -298/+221 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 6 | -184/+20 |
| | | | | | | - 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 |
| | |||||
* | Add IOUtil - generic URL to File and stream to stream copy | Sven Gothel | 2011-04-01 | 1 | -0/+84 |
| | |||||
* | VersionNumber: Add cstr with version number string and delimeter | Sven Gothel | 2011-03-21 | 1 | -0/+29 |
| | |||||
* | Primitive HashMap: Add deep clone(); Fix containsValue() in case of Object ↵ | Sven Gothel | 2011-03-19 | 1 | -8/+116 |
| | | | | 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 | ||||
* | 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 |
| | |||||
* | 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 | ||||
* | | cleanup imports | Sven Gothel | 2011-02-26 | 1 | -0/+2 |
|/ | |||||
* | Fix comment | Sven Gothel | 2011-02-22 | 1 | -2/+2 |
| | |||||
* | - 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 | 1 | -2/+2 |
| | | | - create new buffers only if size > capacity not if >= capacity | ||||
* | Merge remote branch 'mbien/master' | Sven Gothel | 2011-02-14 | 1 | -0/+340 |
|\ | |||||
| * | added CachedBufferFactory + test. | Michael Bien | 2011-02-13 | 1 | -0/+340 |
| | | | | | | 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 | 1 | -37/+46 |
|\| | |||||
| * | - 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 | ||||
* | | Fix: Remove unused argument ClassLoader | Sven Gothel | 2011-02-13 | 1 | -3/+2 |
|/ | |||||
* | Merge branch 'master' of github.com:mbien/gluegen | Sven Gothel | 2011-02-10 | 11 | -372/+83 |
|\ | |||||
| * | - removed CDC impl for com.jogamp.common.nio | Michael Bien | 2011-02-09 | 11 | -372/+83 |
| | | | | | | | | - generified class hierarchy (casts no longer needed in client code) - @Override where needed and other minor changes | ||||
* | | html fixes | Sven Gothel | 2011-02-09 | 2 | -16/+11 |
|/ | |||||
* | Move implementation private files from com.jogamp.<module>.impl. to ↵ | Sven Gothel | 2011-02-09 | 6 | -154/+5 |
| | | | | | | | | | | | | jogamp.<module> - com.jogamp.common.impl -> jogamp.common This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK. | ||||
* | Fix: VersionNumber compare shall throw ClassCastException if argument is of ↵ | Sven Gothel | 2011-01-31 | 1 | -2/+4 |
| | | | | different kind | ||||
* | Fix: Avoid NPE in case no manifest is available (running w/o JAR) | Sven Gothel | 2011-01-31 | 1 | -3/+3 |
| | |||||
* | ReflectionUtil: Add getBaseName(Class) | Sven Gothel | 2010-12-19 | 1 | -0/+5 |
| | |||||
* | debug: mention thread name | Sven Gothel | 2010-12-17 | 1 | -1/+2 |
| | |||||
* | Fix doc for type 'long' - added WARNING (ambiguous size Windows/Unix) | Sven Gothel | 2010-12-16 | 1 | -19/+24 |
| | |||||
* | Fix refactor bug: os -> os_lc in strings, reverted. | Sven Gothel | 2010-12-15 | 1 | -7/+7 |
| | |||||
* | Debug: out -> err stream | Sven Gothel | 2010-12-13 | 3 | -21/+21 |
| | |||||
* | clean: import | Sven Gothel | 2010-12-13 | 1 | -1/+0 |
| | |||||
* | Add generic VersionNumber util class | Sven Gothel | 2010-11-28 | 1 | -0/+92 |
| | |||||
* | Refined VersionInfo (seperator/new-line) | Sven Gothel | 2010-11-25 | 2 | -12/+10 |
| | |||||
* | GlueGen: Close in/out streams to allow deleteOnExit() to succeed on Windows | Sven Gothel | 2010-11-25 | 1 | -0/+3 |
| | |||||
* | Buffers float/double conversion: Add arg for given destination buffer; Add ↵ | Sven Gothel | 2010-11-19 | 1 | -7/+86 |
| | | | | back conversion; Add unit test for arrays | ||||
* | print platform info (GlueGenVersion). | Michael Bien | 2010-11-18 | 2 | -0/+9 |
| | |||||
* | Version info debugging works now even without native libs. | Michael Bien | 2010-11-18 | 4 | -71/+96 |
| | | | | | | - Platform is now useable without gluegen-rt libs in library path. - JogampVersion: fixed equals, added Impl url to manifest. - VersionUtil: getManifest should be now more relieable and passed all manual tests, e.g java jar lib.jar without specified classpath. | ||||
* | Add general purpose WriteCloneable interface | Sven Gothel | 2010-11-17 | 1 | -0/+42 |
| | |||||
* | API Doc: Complete list of predefined types | Sven Gothel | 2010-11-15 | 1 | -0/+7 |
| | |||||
* | Fix API doc | Sven Gothel | 2010-11-15 | 2 | -9/+13 |
| | |||||
* | Fix size_t, uintptr_t and uint32_t, uint64_t: suppress 'unsigned' in ↵ | Sven Gothel | 2010-11-14 | 2 | -5/+5 |
| | | | | | | | 'toString()' ; Added type tests. For size_t and uintptr_t this actually generated invalid C code. Added type tests for those. | ||||
* | JogampVersion: StringBuffer getInfo(StringBuffer) -> StringBuffer ↵ | Sven Gothel | 2010-11-14 | 3 | -3/+6 |
| | | | | toStringBuffer(StringBuffer) ; Add String toString() { ..} | ||||
* | Don't printStackTrace if the exception shall be catched for later use | Sven Gothel | 2010-11-14 | 1 | -6/+2 |
| | |||||
* | Adding missig GlueGenVersion | Sven Gothel | 2010-11-12 | 1 | -0/+60 |
| | |||||
* | Add Extension Name | Sven Gothel | 2010-11-12 | 1 | -0/+3 |
| | |||||
* | com.jogamp.common.util.GlueGenVersion -> com.jogamp.common.GlueGenVersion | Sven Gothel | 2010-11-12 | 3 | -59/+2 |
| |