Commit Graph

398 Commits

Author SHA1 Message Date
Philip K. Warren 5e3ba55782 Avoid leaks with GetPrimitiveArrayCritical.
It is possible that one of the two calls to GetPrimitiveArrayCritical
succeeded, in which case an exception would be thrown and the memory
would not be released. Ensure that every successful call to
GetPrimitiveArrayCritical is followed by a call to
ReleasePrimitiveArrayCritical.
2013-07-10 13:17:07 -05:00
Taro L. Saito ee86f48d2d Merge pull request #36 from laszlohordos/develop
The Snappy Java Jar is not compatible with Apache Felix 4.2.1 Framework
2013-06-06 18:04:36 -07:00
laszlohordos cfebd7432b The Snappy Java Jar is not compatible with Apache Felix 4.2.1 Framework
The Snappy Bundle contains the Bundle-NativeCode instruction in a way it's not compatible with the [R4LibraryClause](http://svn.apache.org/viewvc/felix/releases/org.apache.felix.framework-4.2.1/src/main/java/org/apache/felix/framework/util/manifestparser/R4LibraryClause.java?view=markup) because the osname and processor definition is mandatory. They can not be replaced with selection-filter.

Snappy 1.0.5 and the 1.1.0-SNAPSHOT throws the same org.osgi.framework.BundleException: Unresolved constraint in bundle org.xerial.snappy.snappy-java [n]: No matching native libraries found. exception.

I saw in the fixed issues the Snappy was tested on Eclipse 3.8.1 but I couldn't tested so it has to be verified. I also updated the x86-64 from x86_64 regarding the [Bundle-NativeCode: OS/Processor values](http://www.osgi.org/Specifications/Reference)
2013-06-06 11:36:47 +02:00
Taro L. Saito 226370e5c1 Merge branch 'develop' of github.com:xerial/snappy-java into develop 2013-05-17 10:28:22 +09:00
Taro L. Saito 2daae5aca4 use snapshot version 2013-05-17 10:28:14 +09:00
Taro L. Saito 8fce6db8af Merge pull request #35 from mebigfatguy/develop
make sure magic bytes are read fully
2013-05-14 02:40:38 -07:00
Dave Brosius c48ab66e99 make sure magic bytes are read fully 2013-05-10 23:16:25 -04:00
Taro L. Saito a5507afb6e Fixes #33. Add Mac/i386 binary 2013-04-23 13:13:11 +09:00
bokken 32194a2094 add support for x-snappy-framed streams
https://github.com/xerial/snappy-java/issues/30
2013-04-15 11:15:02 -05:00
Taro L. Saito 04ccfaf7b6 Fixes #22. Add OpenBSD native libraries 2013-04-10 10:36:23 +09:00
Taro L. Saito 34ba11cc9a Fix Makefile dependencies when generating SnappyNative.h 2013-04-10 10:33:28 +09:00
Taro L. Saito 8ff03ba782 Fix native library version 2013-03-29 10:37:33 +09:00
Taro L. Saito 07bfea7da0 new version 2013-03-28 17:47:26 +09:00
Taro L. Saito 90b6f1e606 revert version 2013-03-28 17:46:59 +09:00
Taro L. Saito e1f4364c9a Fix javadoc link. new snapshot version 2013-03-28 17:46:28 +09:00
Taro L. Saito d7c15b0607 Merge branch 'release/1.1.0-M3' 2013-03-28 17:42:02 +09:00
Taro L. Saito 920b838423 update milestone 2013-03-28 17:41:45 +09:00
Taro L. Saito 1ea90b2421 Fix doc. 1.1.0-M3 version 2013-03-28 17:34:29 +09:00
Taro L. Saito 2b502077b6 Add note on building linux amd64 binary using custom g++ 2013-03-28 17:27:13 +09:00
Taro L. Saito 0ee1e52ac1 Embed libstdc++ into Linux amd64 binary by using my own g++ 2013-03-28 17:08:01 +09:00
Taro L. Saito 5894472dc2 A new snapshot version 2013-03-28 15:18:28 +09:00
Taro L. Saito a6ad2a31f2 Merge branch 'release/1.1.0-M2' into develop 2013-03-28 15:07:38 +09:00
Taro L. Saito 8d097faaf5 Merge branch 'release/1.1.0-M2' 2013-03-28 15:07:30 +09:00
Taro L. Saito 733a2f3c10 Edit milesgone 2013-03-28 15:06:55 +09:00
Taro L. Saito 0b48e2db4a version 1.1.0-M2. Fixes linux amd64 build 2013-03-28 15:02:20 +09:00
Taro L. Saito 1f0d7bd6cd #26. Add throws IOException to compress methods 2013-03-28 13:02:27 +09:00
Taro L. Saito 64c35c7081 Fixes #26. Add throws IOException to rawCompress 2013-03-28 12:53:23 +09:00
Taro L. Saito e1b593d6c2 new snapshot version 2013-03-27 18:20:05 +09:00
Taro L. Saito aba95c4c40 Merge branch 'release/1.1.0-M1' 2013-03-27 18:14:58 +09:00
Taro L. Saito 4945e8aa08 Set target to 1.6 2013-03-27 17:36:08 +09:00
Taro L. Saito 4bba5edd5d Edit release plan 2013-03-27 17:33:46 +09:00
Taro L. Saito 864510267c Removed 32-bit support 2013-03-27 17:26:25 +09:00
Taro L. Saito a5dcbb7dab Dropped the 32-bit mac support, since it does not have Java 6 or higher as default jvm 2013-03-27 17:25:08 +09:00
Taro L. Saito 2568dfb554 to version 1.1.0-M1 2013-03-27 17:24:01 +09:00
Taro L. Saito 5d13ed34f6 build mac32 binary 2013-03-27 16:07:54 +09:00
Taro L. Saito 1685568eb8 Remove OpenBSD libraries because I don't have OpenBSD machine to build snappy-1.1.0 2013-03-27 16:04:52 +09:00
Taro L. Saito 882ebf3532 Build linux amd64 native lib. Disabled -static-libstdc++ 2013-03-27 15:56:42 +09:00
Taro L. Saito c284cc600f build native libraries 2013-03-26 23:48:27 -07:00
Taro L. Saito dca3f64d28 Use snappy-1.1.0 which can be compiled in Mac OS X 10.8 2013-03-22 15:58:08 +09:00
Taro L. Saito f0e0e9727e #25 Add raw compress methods that take memory addresses 2013-03-22 15:53:56 +09:00
Taro L. Saito dd0f4d9d9c Update version 2013-03-20 00:10:02 +09:00
Taro L. Saito bd9d84b92f Merge branch 'release/1.0.5-M4' into develop 2013-03-20 00:00:48 +09:00
Taro L. Saito 2e2261210c Merge branch 'release/1.0.5-M4' 2013-03-20 00:00:30 +09:00
Taro L. Saito 92b3138132 Fix javadoc stylesheet 2013-03-20 00:00:27 +09:00
Taro L. Saito 1b011303b3 Use target folder when preparing the OSGi bundle. #23 2013-03-19 23:51:18 +09:00
Taro L. Saito 69901033f6 Added OpenBSD native libs. Fixes #22 2013-03-19 23:26:18 +09:00
Taro L. Saito b83b6a76e2 Merge pull request #23 from jdnarvaez/develop
OSGi Compatibility
2013-03-19 07:22:22 -07:00
Juan Narvaez 274f11f73d Changing static variables to volatile. 2013-03-19 09:12:56 -05:00
Juan Narvaez 4b3f1a919a Adding in Bundle-ActivationPolicy to the generated Manifest. 2013-03-19 08:48:34 -05:00
Juan Narvaez 6bbdaa97d6 Patch for OSGi compatibility. 2013-03-19 08:45:16 -05:00