summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1194: Reinstate system-lib search for NativeLibrary.open(..) and ↵Sven Gothel2015-08-184-9/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | PlatformPropsImpl.findSysLib(..). This patch partially reverts of commit d12e4d4ea279998b27457691038e709879dcaca6. NativeLibrary.open(..) requires search of system libraries, since it loads the actual 'tool library' for which we generate the JNI binding. The 'tool library' is preferably the system wide installed version, e.g. libGL.so etc. PlatformPropsImpl.findSysLib(..) also requires finding system libraries as needed for PlatformPropsImpl.queryElfFile(..), i.e. using libjava.so etc. Only the JNI 'glue library', glueing java calls to the 'tool library', shall not use the system wide library search since we shall only use JogAmp provided instances here. This patch also reinstates binary compatibility w/ prev. GlueGen JARs since NativeLibrary.enumerateLibraryPath(..) is public. +++ Further more 'NativeLibrary.enumerateLibraryPath(..)' now adds OSX system framework search _before_ the user path in case 'searchSystemPath && searchSystemPathFirst'. Original code always added this search to the end, which does not match the intended behavior (-> bug).
* Merge branch 'bug1194' of https://github.com/xranby/gluegenSven Gothel2015-08-184-49/+7
|\ | | | | | | | | | | | | Conflicts: src/java/com/jogamp/common/os/NativeLibrary.java Due to commit for Bug 1145, bf4d8786cb732d86db333b43020ecf0af27f60bf
| * Bug 1194: NativeLibrary: Remove dangerous search paths using the JRE ↵Xerxes Rånby2015-08-124-49/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extension mechanism NativeLibrary: API change: Removed searchSystemPathFirst argument to the open and enumerateLibraryPaths methods. Removed the generic sun.boot.library.path system path and the MacOS specific Frameworks paths from enumerateLibraryPaths. JNILibLoaderBase, PlatformPropsImpl & TestElfReader01: Updated to handle the NativeLibrary API change. This change will prevent JogAmp modules to pickup and load unsupported and old SUN JOGL 1 natives that may have been deployed with the JRE.
* | Merge branch 'bug1145' of https://github.com/xranby/gluegenSven Gothel2015-08-181-0/+4
|\ \
| * | Bug 1145: Fix cc1 NativeLibrary: Add current working directory + ↵Xerxes Rånby2015-08-121-0/+4
| |/ | | | | | | | | | | natives/os-arch/ + library names Fixes Bug 1145 cc1 when using an unpacked fat-jar
* / Bug 1172: Use the same in-jar folder structure for native jars as the fat-jarXerxes Rånby2015-08-121-1/+3
|/
* Bitfield Unit Test: Add 3bit test-data; Add testing 'untouched' other bits ↵Sven Gothel2015-08-071-7/+54
| | | | of put32/get32
* DynamicLibraryBundle.toolDynamicLookupFunction(..): DEBUG: Show ↵Sven Gothel2015-08-051-1/+1
| | | | | | | 'toolGetProcAddressHandle' (Bug 1062) Show 'toolGetProcAddressHandle' in DEBUG mode in DynamicLibraryBundle.toolDynamicLookupFunction(..), allowing to validate source of symbols.
* Fix Bitfield.put(..): Return previous valueSven Gothel2015-08-025-15/+27
|
* Test Bitfield: Validate Bitfield.copy(..) return valueSven Gothel2015-08-021-1/+2
|
* SyncedBitfield.clearField: Must be synchronizedSven Gothel2015-08-021-1/+1
|
* IntBitfield: Fix units calculation ( +7 -> +31 for ceiling, using 32bits per ↵Sven Gothel2015-08-021-2/+2
| | | | unit)
* Bitfield: Refine API method names, add clearField(boolean), fix put32(..) ↵Sven Gothel2015-08-027-49/+494
| | | | and bitCount(), add unit test (passed)
* Bitfield: Reuse [BitstreamData -> BitDemoData] for unit testsSven Gothel2015-08-026-6/+67
|
* Bitfield: Refine impl. complete get/put 32bit, add copy*(..), add ↵Sven Gothel2015-07-314-53/+278
| | | | synchronized delegation; TODO: Unit tests.
* Bitfield: @since 2.3.2 ..Sven Gothel2015-07-301-1/+2
|
* Bitfield: Use IndexOutOfBoundsException instead of ↵Sven Gothel2015-07-303-28/+28
| | | | ArrayIndexOutOfBoundsException
* Introduce Bitfield interface w/ Int32 and Int32Array impl. deprecating ↵Sven Gothel2015-07-304-14/+381
| | | | | | | | | | | | | IntBitfield IntBitfield's 64bit bit-size is exceeding its use-case, making it less efficient and complicated. Bitfield offers a fast path implementation for 32 bits as well as a int[] implementation. TODO: 32 bit Unaligned putInt32(..) and getInt32(..), currently throwing UnsupportedOperationException for int[] impl.
* Bug 1145 - Fat Jar: Use 'Main-Class' for default launch of useful info/demosSven Gothel2015-07-292-2/+4
|
* Bug 1145 - Provide JogAmp Big Fat Jars and Fat 7z ArchiveSven Gothel2015-07-293-3/+82
| | | | | | | | New distributed files in 'dist' subfolder for producing fat files via jogamp-scripting: dist/jogamp-fat.mf dist/jogamp-test-fat.mf dist/junit.jar
* PlatformPropsImpl: Add static final Version18 and Version19 VersionNumberSven Gothel2015-07-271-0/+6
|
* Bug 1180: Refine BuffersTest: Add assertion for remaining()Sven Gothel2015-07-241-0/+7
|
* Bug 1180 BuffersTest: Refine test case a bit, add static main for standalone ↵Sven Gothel2015-07-242-28/+34
| | | | tests
* BUG1180 BuffersTest: Verify positionLimitCapacityAfterArrayAllocationXerxes Rånby2015-07-241-0/+57
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* javadoc stylesheet.css: Refine list visual, i.e. font size 76 -> 80%, ↵Sven Gothel2015-07-191-1/+2
| | | | line-height 1.2 (default) -> 1.4
* javadoc stylesheet.css: Refine list visual, i.e. top/bottom margin and less ↵Sven Gothel2015-07-191-6/+14
| | | | indentation.
* GCC Linker Config: Add '-static-libstdc++' in case libstdc++ is being linkedSven Gothel2015-07-195-4/+21
| | | | | Linking libstdc++ dynamically might cause issues on platforms where a huge variation of named library exists - or none even is installed.
* javadoc/stylesheet.css: Fix font size of nested bullet lists.Xerxes Rånby2015-07-181-1/+0
| | | | | | Fonts became too small to read. Signed-off-by: Xerxes Rånby <[email protected]>
* Bug 1166: Refine fix of JavaEmitter's JVMUtil_NewDirectByteBufferCopy (2)Sven Gothel2015-07-161-3/+11
| | | | | | | Further refine code, see commit f6a5ac4473135bbc4bc1a5f537e060df45eb4824. - Perform a NULL check on Buffers.newDirectByteBuffer(..) result. - Only copy memory if capacity > 0, incl fetching direct buffer address
* JavaEmitter.staticClassInitCodeCCode: Reuse static stringsSven Gothel2015-07-161-7/+10
|
* Bug 1166: Refine fix of JavaEmitter's JVMUtil_NewDirectByteBufferCopySven Gothel2015-07-161-3/+11
| | | | | | | | | | | See commit e424c28f869269f5a22c22ef017230346b22847a (first patch) Since JVMUtil_NewDirectByteBufferCopy is being called w/ 'size_t' values, e.g. 'count * sizeof(Structure)', we shall validate whether 'capacity' is valid, i.e. <= MAX_INT. After validation, 'capacity' is being cast to 'jint' before being passed to the java method.
* Merge remote-tracking branch 'remotes/xranby/master'Sven Gothel2015-07-161-2/+2
|\
| * BUG 1166: Fix JavaEmitter JVMUtil_NewDirectByteBufferCopyXerxes Rånby2015-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | Prevents jlong to jint truncation when capacity is passed from jni to java. com.jogamp.common.nio.Buffers newDirectByteBuffer and the underlying java.nio.ByteBuffer allocateDirect only work with capacitys of int size. Signed-off-by: Xerxes Rånby <[email protected]>
* | Merge remote-tracking branch 'remotes/xranby/www'Sven Gothel2015-07-162-5/+6
|\ \
| * | doc/manual/index.html www/index.html Fix links.Xerxes Rånby2015-06-262-5/+6
| |/ | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
* | Fix jni/macosx/jawt_md.h: Put comment in /* */ brackets ..Sven Gothel2015-07-151-1/+1
| |
* | Eclipse .classpath: Add source mapping of antlr-src.zip to antlr.jarSven Gothel2015-07-141-1/+1
| |
* | Fix using GlueGen's JNI header for native compilation (java.includes.dir, ↵Sven Gothel2015-07-144-8/+3
| | | | | | | | | | | | | | | | | | | | java.includes.dir.platform) Patch custom make/lib/gluegen-cpptasks-<OS>-<ARCH>.xml to match using GlueGen's JNI header. Remove 'ignored override' defs of 'java.includes.dir.platform' in build.xml.
* | Use GlueGen's JNI header for native compilation (java.includes.dir, ↵Sven Gothel2015-07-142-26/+30
| | | | | | | | | | | | | | | | java.includes.dir.platform) Using the same cross-platform JNI header for native compilation as for GlueGen code generation allows using a more determined (well defined) and simplified environment.
* | Fix Android ARM64 Support: Don't define 'isAndroidARMv6:=false', since ↵Sven Gothel2015-07-131-1/+0
| | | | | | | | | | | | properties are tested whether they are set, rarely by value isAndroidARMv6
* | osx-java6 script: use separate rootrel.buildSven Gothel2015-07-111-2/+2
|/
* Bump semver: 0d2e314ef48bd2fd38b45f781c4573bdb2b32a69Sven Gothel2015-04-033-3/+3
|
* Bump semver to 0.9.33 w/ our patch for ↵Sven Gothel2015-04-035-39/+7
| | | | CompatibilityType.BACKWARD_COMPATIBLE_BINARY
* Bump semantic-versioning (0.9.33 + jogamp fixes)Sven Gothel2015-04-035-10/+26
|
* Bug 1153 - GlueGen: Bump JCPPSven Gothel2015-04-011-0/+0
|
* Bug 1153 - GlueGen: Support [const] [native] expressions and conversion to ↵Sven Gothel2015-04-0113-442/+1252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java space, incl. [native] numbers Rewrite ConstantDefinition: Add sub-class CNumber: - containing integer/float values and their original qualifiers [long, double, unsigned] - conversion to java number ConstantDefinition: - holds native expression - optionally holds CNumber representing native expression, if [only] a number - can compute equivalent java expression with result type (JavaExpr) Add static native number reg-expression for number detection and parsing. Add static native number to CNumber conversion methods. +++ Retrieve full LISP tree and convert to serialized expression to be utilized for expressions used in enumerates. Parse enumerates, allowing const native expressions: - Utilize ConstantDefinition either for definite CNumber or expression - Simply add "+1" for new default values, if previous is an expression
* Add ArrayHashMap; Use 'supportNullValue' optimizing ArrayHashSet and ↵Sven Gothel2015-04-015-64/+761
| | | | | | ArrayHashMap; Unify ctor for both impl. Add/Enhance unit tests for both.
* Bump to 2.3.2-develSven Gothel2015-03-281-3/+3
|
* TestVersionSemantics: Add version tests: v220 -> v221, v221 -> v230 and v230 ↵v2.3.1Sven Gothel2015-03-274-10/+35
| | | | -> v23x
* Bump to 2.3.1 releaseSven Gothel2015-03-261-2/+2
|