commit d430657cfd1f21885f3fdebebe6f0a49b1c5cd13 Author: Sven Gothel Date: Wed Oct 31 19:42:42 2012 +0100 IntIntHashMap: Add privileged for 'getDeclaredMethod(..)'; Add StringBuilder toString(..); Add more generics coding. commit 1507b376bada782b5064a0151d9b7871d1360b40 Author: Sven Gothel Date: Sat Oct 27 03:41:38 2012 +0200 IntBitfield: Add API doc; Enhance put() method, return previous value to be used more versatile and write only if value changed. commit 6bc876895b6b6a4e76896597d95dfd7c67bb6b49 Author: Sven Gothel Date: Sat Oct 27 02:47:12 2012 +0200 Adding com.jogamp.common.util.IntBitfield: Simple bitfield holder class using an int[] storage. IntBitfield comes in handy to store bit states of a wide value range w/o being a memory hog an O(1) access, e.g. keyCode -> isPressed maps etc. commit abbe6ce0973fbd82971ace1866515beefcc41817 Author: Sven Gothel Date: Thu Oct 25 11:35:05 2012 +0200 Fix Bug 608: Push down TempJarCache.findLibrary(..) from JNILibLoaderBase.loadLibraryInternal() to NativeLibrary.findLibrary(..) This allows using TempJarCache (if used/initialized) for native 'tool' libraries as well. This is the case of JOAL's attempt to load the provided 'libopenal.so' commit 661a625ed69faf701b6e868225148f630c2002d8 Author: Sven Gothel Date: Wed Oct 24 16:59:23 2012 +0200 VersionNumber: API doc fix commit c1a8c38e32b4ed8f97fc82602c90eb7b0b3cef6e Author: Sven Gothel Date: Wed Oct 24 16:57:46 2012 +0200 VersionNumber: Add API doc for string parsing commit be7cd5059dea197bd3756e0b19f934041dc6ad13 Author: Sven Gothel Date: Wed Oct 24 16:51:25 2012 +0200 VersionNumber: Remove printing Exception (was added for debugging purposes) commit 08a8defda8b6f49eb794cf787f688ba65bfe7b37 Author: Sven Gothel Date: Wed Oct 24 16:50:23 2012 +0200 Fix VersionNumber: Non digits cut off pattern was '\D.*' and cut off digits in case leading non digits appear. '\D.*' matches a leading non-digit and then any character. First the string is tokenized by delim: "OpenGL ES GLSL ES 1.0.16" -> "OpenGL ES GLSL ES 1", "0", "16" Enhance pattern as follows and access collected group if matching: // group1: \D* == leading non digits, optional // group2: \d* == digits // group3: .* == any pending chars, optional final java.util.regex.Pattern nonDigitsCutOff = java.util.regex.Pattern.compile("(\\D*)(\\d*)(.*)"); Reorganized storage from atomic values to int[3] array, allowing simple pattern matching loop. Added unit test. commit 761b2855b9c01c421ecd4d435a828a67b3a2471b Author: Sven Gothel Date: Thu Oct 18 09:00:36 2012 +0200 Revert "Minor revert of clone replacement w/ copt-ctor of commit d7fb6a7bcfbd2d5ac452abdcdd31fb4d71441c70" This reverts commit 73e8828566404e864170688dfb4fd530a83f8add. Convinced after discussing semantics w/ Harvey Harrison: "the copy-constructor is way for predictable (as in branch-predictable) and has better cache behavior, it can issue almost all the writes in parallel, and has no exception catching. So, the copy-constructor actually ends up being more efficient, and you get typechecking to boot." commit febd5421a3e00673bd43cecd19aaa088eafb99e7 Author: Sven Gothel Date: Thu Oct 18 08:53:19 2012 +0200 Fix Buffers.copyBuffer[asByteBuffer](..): Reset position of the passed buffer (was missing). This is an API regression as introduced in commit 25cc744f6bd5ca97e0ae58fa7e1c35f7b0f3046d where JOGL's BufferUtil and GlueGen's were merged and API doc elaborated. The latter states the desired fact that the source passed buffer's position shall remain unchanged, however no code was added to take care of this detail. commit 73e8828566404e864170688dfb4fd530a83f8add Author: Sven Gothel Date: Wed Oct 17 18:42:32 2012 +0200 Minor revert of clone replacement w/ copt-ctor of commit d7fb6a7bcfbd2d5ac452abdcdd31fb4d71441c70 clone of ArrayList is more shallow than it's clone operation (?) commit cae1502304faac54fb6673ed31eb1493e8388497 Author: Sven Gothel Date: Wed Oct 17 18:00:04 2012 +0200 Buffers: Add normalized put methods, i.e. incl. value range conversion; New util. ValueConv for primitive type value conversion commit 4309d1334a2b036c7bf15612199bb7391a57980b Author: Harvey Harrison Date: Tue Oct 16 00:21:43 2012 -0700 gluegen: replace Thread name with name of lock file in SingletonInstanceFileLock error message The getName() call here is currently calling Thread.getName() inherited by the anonymous inner class. This is ambiguous, and likely meant to call the getName() method of SingletonInstanceFileLock, which would output the lockfile name. In any event, infoPrefix() is already adding the Thread name for us. Signed-off-by: Harvey Harrison commit 28410cfb398b510b4f748f3a1134dd13dae9f7c4 Author: Harvey Harrison Date: Tue Oct 16 00:12:56 2012 -0700 gluegen: remove two fast-path tests that can never trigger ignores and unimplemented are both Set, they cannot contain a String, immediately after these 'fast paths' we loop over the patterns calling .matches() which makes sense, so remove the misleading tests. Signed-off-by: Harvey Harrison commit d7fb6a7bcfbd2d5ac452abdcdd31fb4d71441c70 Author: Harvey Harrison Date: Mon Oct 15 23:49:08 2012 -0700 gluegen: generics annotations for various ArrayList/List use - Use the copy constructor rather than ArrayList.clone() - constrain listsEqual so the compiler will warn about comparing lists of different types Signed-off-by: Harvey Harrison commit 33ffe6769081401741813507ab01faa5ede80eae Author: Sven Gothel Date: Tue Oct 16 07:42:41 2012 +0200 ProcAddressEmitter: Remove 'guessing' argument names from types, since they are ambiguous - better use default generic ones to avoid confusion. commit 3ccb9dbc00746d31f08a907d190892d68273d4bf Author: Sven Gothel Date: Tue Oct 16 06:57:15 2012 +0200 Reducing Type's equals commit a8e9be19b0215fe349c1861c5ea866e929923337 Author: Sven Gothel Date: Tue Oct 16 06:56:14 2012 +0200 Intermediate revised Type.java edit before reducing commit 5e0af71477289c7686a0f4b348dfe36fb8e5b644 Author: Harvey Harrison Date: Sun Oct 14 11:16:00 2012 -0700 gluegen: conditional cleanup in Type.equals() - instanceof includes null checking - simplify comparison of name, either they are the same object (possibly null) or they compare equal as strings Signed-off-by: Harvey Harrison commit 6838d3593512d0388948c784023303d966b6e298 Author: Harvey Harrison Date: Sat Oct 13 18:07:27 2012 -0700 gluegen: simplify expression comparing against Boolean.TRUE As a last resort we can just return the boolean value directly here, also no need to try/catch as valueOf does not throw any exceptions. Pointed out by Findbugs. Signed-off-by: Harvey Harrison commit 542e7c364ced2865c5deac1498f5ff537a31c0b8 Author: Harvey Harrison Date: Sat Oct 13 18:06:03 2012 -0700 gluegen: remove trailing whitespace from psuedo-C parser Signed-off-by: Harvey Harrison commit 89f0b7e392f57acfff0b6a195aeddd2225b2f2fe Author: Harvey Harrison Date: Sat Oct 13 14:44:40 2012 -0700 gluegen: break apart a complex conditional in Type.equals() for readability - move the cheap integer compares earlier before the String comparisons Signed-off-by: Harvey Harrison commit 898f62a51ff32bec12c7839593bb6ed3f737a022 Author: Harvey Harrison Date: Sat Oct 13 14:37:32 2012 -0700 gluegen: fix equals comparison in cgrammer Type class name was being compared to itself, rather than the name of the type we are comparing, looks like a simple typo. Signed-off-by: Harvey Harrison commit 1709c545c401042be2aa2305abcb3e41e44f74ba Author: Harvey Harrison Date: Sat Oct 13 14:36:57 2012 -0700 gluegen: remove trailing whitespace from cgrammer Type class Signed-off-by: Harvey Harrison commit 13969227d00910063c4f6c88a52293dacac0615c Author: Harvey Harrison Date: Sat Oct 13 13:00:37 2012 -0700 gluegen: small cleanup and type annotation in GlueGenTask - remove an unused import - annotate includesList with type information - small code cleanup now that the type information is present Signed-off-by: Harvey Harrison commit e8b97a64b88d5ec6e365a53b652f261506bcab9e Author: Harvey Harrison Date: Sat Oct 13 12:54:59 2012 -0700 gluegen: trim trailing whitespace from GlueGenTask Signed-off-by: Harvey Harrison commit 5702746c390b93f1aa1df474429263f196b382fd Author: Sven Gothel Date: Sat Oct 13 08:39:42 2012 +0200 Adding gcc linker cfg: '-static-libgcc' for all def. build platforms: - linker.cfg.linux - linker.cfg.linux.x86 - linker.cfg.linux.amd64 - linker.cfg.linux.armv6 - linker.cfg.solaris - linker.cfg.solaris.spacv9 - linker.cfg.solaris.amd64 - linker.cfg.macosx - linker.cfg.linux64.mingw64 - linker.cfg.linux64.mingw32 - linker.cfg.win32.mingw32 - linker.cfg.win32.mingw64 - android.armv6 - android.armv7 - linux.armv6 - linux.armv6hf These flags shall now go through autobuild and results will be validated, i.e.: - working - memory footprint commit 9667575aabfbf6fe503bc2e14e5ac7ea743949b0 Author: Sven Gothel Date: Wed Oct 10 16:52:40 2012 +0200 Buffers.toString(): Add optional format string for single element commit fd8402ce90041aa506fdaddeedf7bbe09c56d788 Author: Sven Gothel Date: Wed Oct 10 15:04:36 2012 +0200 Buffers: Add convenient "public static StringBuilder toString(StringBuilder sb, Buffer buffer)" Sometimes we need to see details of a Buffer w/ it's content, e.g. for debugging purposes. commit 8b755e327112fc1184e6dcdd20294a678f6d8f40 Author: Sven Gothel Date: Tue Oct 9 10:54:05 2012 +0200 Fix NPE in Buffers.slice2Float(), regression of commit 86e8c3a8d9f430700e07c485127130da68618e9d commit 86e8c3a8d9f430700e07c485127130da68618e9d Author: Sven Gothel Date: Tue Oct 9 08:52:54 2012 +0200 Buffers.slice2Float(): Reset position and limit of host buffer commit 7a89ef6efd332845f29328c6167919b294183764 Author: Sven Gothel Date: Thu Oct 4 19:05:06 2012 +0200 SingletonInstanceServerSocket: serverSocket.setReuseAddress(true); // reuse same port w/ subsequent instance, i.e. overcome TO state when JVM crashed commit 2cbc4badb7fed2cc94128fda0fc381964b1b1f8d Author: Sven Gothel Date: Thu Oct 4 04:41:37 2012 +0200 TestSingletonServerSocket01: unlock singleton lock commit a8ed61a6ff28795e0c96cdd0a4175833ed95ca96 Author: Sven Gothel Date: Thu Oct 4 04:35:46 2012 +0200 Fix regression of 55b4552aef7882c358d545d020d6f12c958ed8ed, which impacts non native unix. commit 55b4552aef7882c358d545d020d6f12c958ed8ed Author: Sven Gothel Date: Thu Oct 4 03:23:30 2012 +0200 Fix Bug 624 - Compile and generate android JAR files (gluegen-rt-android.jar) if android SDK JAR files are available. commit 5ac7a618808ca7964c74789e28f0a1e9b6e9c14e Author: Sven Gothel Date: Wed Oct 3 19:42:42 2012 +0200 Refine API doc of Buffers, fix API doc Platform.NEWLINE. commit 3106532ef4d16e19f0ed3f9d8fa3634c3859e3f2 Author: Sven Gothel Date: Fri Sep 21 20:19:21 2012 +0200 SingletonInstanceServerSocket: Add another (manual) unit tests for timeouts. commit c8a9b89b1f316c259eaec68309f32fdd8289e375 Author: Sven Gothel Date: Fri Sep 21 13:59:38 2012 +0200 SingletonInstanceServerSocket: Add unit tests; Create new server Thread @ start, otherwise we may collide w/ a failed start. Misc: Cleanup / reuse strings. commit 4aa7541635e1fd8ae6a41f1d32d85828a18f7028 Author: Sven Gothel Date: Fri Sep 21 12:15:46 2012 +0200 SingletonInstanceServerSocket: Add kill @ JVM Shutdown _and_ if normal unlock fails ; Added unit tests. commit 39fcec48a6812b680a4eda0b9398310da6787295 Author: Xerxes Rånby Date: Wed Aug 22 11:11:04 2012 +0200 JNLP: Cache gluegen-rt-natives for linux-armv6 and linux-armv6hf. Due to the lack of OS Arch and ABI detection in JNLP launchers force us download both armv6 armel and armv6hf armhf ABI jars on ARM. commit 6fd3dea1ae94fd5862276ee5ed426276560531da Author: Sven Gothel Date: Mon Sep 10 19:12:42 2012 +0200 AWTEDTExecutor: Add convenient "invoke(Object treeLock, boolean wait, Runnable r)" to be used directly commit 7af0a33fd5855d4682050945a06b47fa922c4eeb Author: Sven Gothel Date: Fri Sep 7 07:46:33 2012 +0200 windows scripts: bump to 6u35 commit c29fb2910e1a4d3227c0eeb4158cff3bbb99c783 Author: Sven Gothel Date: Fri Sep 7 07:46:13 2012 +0200 Platform: Slight reorder of initialization reducing one PrivilegedAction block. commit 8af95c02ba27abfb6ce152be2b970bb3840a7917 Author: Sven Gothel Date: Sun Aug 26 03:29:58 2012 +0200 JNILibLoaderBase: Fix NPE in DEBUG mode if null == stripBasenameSuffixes (JOCL) commit 73969716cb167052353c34d65e6c9006ff4daea3 Author: Sven Gothel Date: Thu Aug 23 22:27:24 2012 +0200 Android: Bump version.code: 914011 commit 03ddbda61938295be0cfc62501e5a6ab0daaaef6 Author: Sven Gothel Date: Thu Aug 23 22:26:50 2012 +0200 Allow the custom user gluegen property file being specified by env var GLUEGEN_PROPERTIES_FILE -> property gluegen.user.properties.file ; Use props for android keystore values commit 7ec3d0b6a90f2204eb3272324cf5908caa4597b4 Author: Sven Gothel Date: Thu Aug 23 15:58:11 2012 +0200 Revert "JNLP: Cache gluegen-rt-natives for linux-armv6 and linux-armv6hf." This reverts commit 56dad6015bce0c9f11fdb1120fec77cc2e0a22fc. I have merged this patch w/o dbl checking whether it was well tested. Put this on hold until further inspection on ARM hard/soft. IMHO the native JAR lib loading mechanism should take care of loading the right native libraries. This details actually would allow us to drop all native library references in the base JNLP files. commit 56dad6015bce0c9f11fdb1120fec77cc2e0a22fc Author: Xerxes Rånby Date: Wed Aug 22 11:11:04 2012 +0200 JNLP: Cache gluegen-rt-natives for linux-armv6 and linux-armv6hf. Due to the lack of OS Arch and ABI detection in JNLP launchers force us download both armv6 armel and armv6hf armhf ABI jars on ARM. commit 422d7a5eb53fca6642ebf4e8910d8b0311bb2597 Author: Sven Gothel Date: Thu Aug 16 14:39:30 2012 +0200 Change/Lower ARM Requierements for GNU/Linux & Android-GNU/Linux ARM: ARMv7hf -> ARMv6hf, ARMv7-soft -> ARMv5te/ARMV6 (soft) platform build config files: lib/gluegen-cpptasks-linux-armv7.xml -> lib/gluegen-cpptasks-linux-armv6.xml lib/gluegen-cpptasks-linux-armv7hf.xml -> lib/gluegen-cpptasks-linux-armv6hf.xml properties: isLinuxARMv7 -> isLinuxARMv6 isLinuxARMv7Armel -> isLinuxARMv6Armel isLinuxARMv7Armhf -> isLinuxARMv6Armhf isAndroidARMv7 -> isAndroidARMv6 isAndroidARMv7Armel -> isAndroidARMv6Armel isAndroidARMv7Armhf -> isAndroidARMv6Armhf targets: compiler.cfg.linux.armv7 -> compiler.cfg.linux.armv6 linker.cfg.linux.armv7 -> linker.cfg.linux.armv6 compiler.cfg.linux.armv6: compiler.cfg.linux.armv6hf: gluegen-cpptasks-android-armv6.xml: commit 09050d80ed163f1468b8048cfd037772de316eee Author: Xerxes Rånby Date: Tue Aug 7 01:10:17 2012 +0000 Use armv6 optimization for armhf to stay compatible with the new Raspberry Pi Raspbian distribution.