405 Commits

Author SHA1 Message Date
Taro L. Saito
b1e1c00733 Fixes #54. Make Snappy.cleanUp() function public. 2013-10-17 10:21:25 +09:00
Taro L. Saito
c9d782adda Fixes for #45. osgi.arch -> processor 2013-10-15 22:49:10 +09:00
Adam Pocock
d03796f700 Solaris x86 and Sparc binaries. 2013-08-13 13:36:59 -04:00
Taro L. Saito
8fd45946da Embed libstdc++ 2013-08-13 21:26:43 +09:00
Taro L. Saito
850ec42760 Linux x86 binary build using CentOS 2013-02-20 02:43:21 +09:00
Taro L. Saito
328505512d linux x86_64 binary built using CentOS 5 2013-02-20 02:42:56 +09:00
Taro L. Saito
e3f0fcbaff Built native libs for Linux and Windows 2013-08-13 01:49:51 -07:00
Taro L. Saito
9a7657ef46 Fix for Mac-x86 2013-08-13 17:45:03 +09:00
Taro L. Saito
9671c81224 Removed the note on JNI injection 2013-08-13 17:07:02 +09:00
Taro L. Saito
ae0a3e4d49 Add isValidCompressedBuffer for raw memory addresses 2013-08-13 17:02:16 +09:00
Taro L. Saito
fed7278fcd Fix #29. Need to recreate native libraries for all OSes 2013-08-13 17:00:54 +09:00
Taro L. Saito
171775e92b Add a file permission setting code sample for Java6 2013-08-13 16:50:58 +09:00
Taro L. Saito
dc20eaf222 Merge fixes for #27 2013-08-13 16:14:55 +09:00
Taro L. Saito
b7755bf93d Add a cleanup phase for OSGi container 2013-08-13 16:09:29 +09:00
Taro L. Saito
a48529731d Add Snappy.cleanUp method for J2EE containers. #27 2013-08-13 16:07:46 +09:00
Taro L. Saito
2891c692c0 Removed SnappyNativeAPI, since native loader injection is no longer necessary 2013-08-13 15:55:58 +09:00
Taro L. Saito
1c3c565352 Removed md5sum code, which will no longer be used 2013-08-13 15:47:05 +09:00
Taro L. Saito
06f007a084 Attach UUID to the extracted native library file 2013-08-13 15:46:05 +09:00
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
d7263cc36d Fixes #39. Comparing two native libraries directly without generating md5sum 2013-07-02 10:27:10 +09:00
Taro L. Saito
88275fb846 commenting 2013-07-02 10:10:25 +09:00
Taro L. Saito
8c69129359 Fixes #34. Use canonical os.arch names for native lib folders 2013-06-06 11:35:42 +09: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
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
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
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
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
69901033f6 Added OpenBSD native libs. Fixes #22 2013-03-19 23:26:18 +09:00
Juan Narvaez
274f11f73d Changing static variables to volatile. 2013-03-19 09:12:56 -05:00
Juan Narvaez
6bbdaa97d6 Patch for OSGi compatibility. 2013-03-19 08:45:16 -05:00
Taro L. Saito
ed37dfac4b Fixes for issue #6 2012-09-28 11:34:02 +09:00
Taro L. Saito
5a60c131d0 Fixes issue #6 2012-09-27 11:09:32 +09:00
Taro L. Saito
b697c61df8 Merge pull request #15 from bpow/develop
Throw ExceptionInInitializerError rather than just printing stacktrace
2012-09-06 19:24:48 -07:00
Taro L. Saito
a1c36bb46e Fix on issue #6 2012-09-07 11:23:48 +09:00
Bradford Powell
c2260cf38d Throw ExceptionInInitializerError rather than just printing stacktrace
to stderr if the native libraries cannot be loaded. Because Errors are
not checked exceptions, added to the javadoc to point out that static
initialization of Snappy can throw this Error.
2012-09-06 21:01:56 -05:00
Trevor Robinson
6ee72edc39 Added armhf shared library 2012-09-06 18:15:07 -05:00
Taro L. Saito
6507dcd7b0 Rebuild linux binaries 2012-09-06 12:32:29 +09:00