summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix HastMapTests - Clone: Use unique random pairs: key,valueSven Gothel2011-06-267-118/+284
|
* SingletonInstanceServerSocket: Fix setDaemon(true), give Thread a proper nameSven Gothel2011-06-121-2/+2
|
* SingletonInstance Enhancements / Minor Lock/LockExt API Change (isLocked ↵Sven Gothel2011-06-115-109/+426
| | | | | | | | | | | | | | | moved up) We learned that FileChannel.lock() is not reliable on at least GNU/Linux + Sun's JVM implementation, hence we need a ServerSocket implementation. Since this code may be useful to others, it has been promoted to GlueGen. - Abstract SingletonInstance - Implement Lock interface - SingletonInstance Spezialisation: FileLock and ServerSocket Minor API Change: LockExt.isLocked() -> Lock.isLocked()
* Complete relocation of SingletonInstance.java from JOGLSven Gothel2011-06-111-1/+1
|
* UI Unit Tests: Add test name to log and singleton lock, better log outputSven Gothel2011-06-111-7/+16
|
* Unit Test Framework SingletonInstance: setup file unlock/delete asapSven Gothel2011-06-111-19/+31
|
* Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; ↵Sven Gothel2011-06-111-1/+1
| | | | Compile posted Issue* Bug* snippets
* NEWT/AWT Unit Tests: Run one test at a time via superclass ↵Sven Gothel2011-06-111-0/+3
| | | | | | | | | | | BeforeClass/AfterClass FileLock Due to the fact that any test with a UI may interfere with a UI test (test focus, active, ..), all tests are derived from the common UITestCase superclass, which decorates the test class with a FileLock at BeforeClass/AfterClass. Increased junit timeout to 10 min
* Newt/AWT: Add singleton test instance lock for all AWT Robot tests, ↵Sven Gothel2011-06-111-0/+140
| | | | otherwise multiple parallel tests will render the result invalid
* remove warningsSven Gothel2011-06-102-2/+3
|
* Gluegen AntTask: 'literalInclude' may contain multiple directories, ↵Sven Gothel2011-06-101-10/+19
| | | | separated by comma (enhancement)
* Merged Locator -> IOUtil; int Platform.getPageSize(); Added unit test for ↵Sven Gothel2011-06-085-224/+417
| | | | IOUtil and Platform's page size
* Locator: Proper package location after reloc from JOGLSven Gothel2011-06-081-1/+1
|
* Locator Util: Clarify API doc a bitSven Gothel2011-06-081-14/+14
|
* Fix/Add: Locator (Handle JarURLConnection and ..)Sven Gothel2011-06-081-16/+59
| | | | | | | | | new: 'public static String getRelativeOf(URL baseLocation, String relativeFile)', capable of handling a JAR file/url. Using File based relative locator, allowing better utilization in code: old public static String getRelativeOf(String absoluteFileLocation, String relativeFile) new public static String getRelativeOf(File baseLocation, String relativeFile)
* Fix TAB: Replace all TAB with 4 spacesSven Gothel2011-06-081-1/+1
|
* ShaderCode: Remove redundant code (Use proper Locator variant)Sven Gothel2011-06-081-2/+0
|
* refactoring: renamed com.sun.opengl -> com.jogamp.opengl.Michael Bien2011-06-081-1/+1
|
* Moved remaining portions of fixed function emulation out of core JOGL public ↵Kenneth Russel2011-06-081-3/+34
| | | | | | and implementation packages and into com.sun.opengl.util.glsl.fixed.* and other subpackages of com.sun.opengl.util. Renamed javax.media.opengl.sub.GLObject to javax.media.opengl.GLBase. Moved interfaces in javax.media.opengl.sub.fixed to javax.media.opengl.fixedfunc and changed naming convention. Moved all classes in javax.media.opengl.util to com.sun.opengl.util. Moved com.sun.opengl.impl.packrect to com.sun.opengl.util.packrect. Renamed InternalBufferUtils to InternalBufferUtil to match naming convention and copied in needed routines for GLU and other classes. Fixed build breakage when specifying rootrel.build property; reintroduced build-temp directory. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1886 232f8b59-042b-4e1e-8c03-345bb8c30851
* repairSven Gothel2011-06-081-0/+106
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1872 232f8b59-042b-4e1e-8c03-345bb8c30851
* Platform: Add getPageSize()Sven Gothel2011-06-072-0/+26
|
* Fix C / JNI compilation: Add/use javah, recompile if out of date,Sven Gothel2011-06-075-0/+10
|
* Merged JOGL's general purpose static methods of StreamUtil and FileUtil into ↵Sven Gothel2011-06-071-6/+95
| | | | IOUtil
* PointerBuffer: Add duplicate() method (as req by JOCL)Sven Gothel2011-05-011-0/+19
|
* 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
|
* Add IOUtil - generic URL to File and stream to stream copySven Gothel2011-04-011-0/+84
|
* VersionNumber: Add cstr with version number string and delimeterSven Gothel2011-03-211-0/+29
|
* 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
* 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
* | cleanup importsSven Gothel2011-02-262-7/+2
|/
* Fix commentSven Gothel2011-02-221-2/+2
|
* - 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
* 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-134-53/+86
|\|
| * improved BuffersTest.slice().Michael Bien2011-02-131-1/+32
| |
| * moved struct and buffer test to its nio friends, cleaned up importsMichael Bien2011-02-132-15/+8
| |
| * - generified com.jogamp.common.nio.Buffers.Michael Bien2011-02-131-37/+46
| | | | | | | | - class is now final (change it back on demand) - added concurrency warning to slice() method doc
* | Fix: Remove unused argument ClassLoaderSven Gothel2011-02-131-3/+2
|/
* Merge branch 'master' of github.com:mbien/gluegenSven Gothel2011-02-1011-372/+83
|\