94 Commits

Author SHA1 Message Date
Taro L. Saito
f80b3f0041 Merge master 2017-11-15 14:21:43 -08:00
Taro L. Saito
18d429e646 Merge pull request #159 from odaira/myWork
Update the expected binary size for big-endian platforms
2017-01-27 14:28:50 -08:00
Rei Odaira
1afcb41368 Update the expected binary size for big-endian platforms 2017-01-27 13:41:36 -06:00
Takeshi YAMAMURO
8b038c8ed4 Rename bit-shuffing routines 2017-01-26 14:47:44 +09:00
Takeshi YAMAMURO
6f798c6a9d Fix wrong comments 2017-01-26 14:37:02 +09:00
Takeshi YAMAMURO
23f528095c Implement ByteBuffer-based APIs for BitShuffle (#155) 2017-01-26 14:37:02 +09:00
xerial
9ab5620220 Update the expected binary size for snappy-1.1.3 2017-01-19 18:00:37 -08:00
Taro L. Saito
1ef5cce1b5 Merge pull request #137 from maropu/SupportBitShuffle
[WIP] Add bit-shuffling interfaces to improve LZ performance
2017-01-19 10:02:07 -08:00
Taro L. Saito
60cc0c2e1d #142: Fix reading stream that happens to have MAGIC_HEADER[0] 2016-06-02 10:27:20 -07:00
Takeshi YAMAMURO
f89a30c741 Add more tests for BitShuffle 2016-04-01 09:58:05 +09:00
Takeshi YAMAMURO
0df5e90422 Add BitShuffleNative for the JNI interfaces of bitshuffle 2016-04-01 09:57:38 +09:00
Takeshi YAMAMURO
b695e378b1 Put bitshuffle functions in a new class file 2016-04-01 09:53:24 +09:00
Takeshi YAMAMURO
99b297cfcd Implement bit-shuffling interfaces to improve LZ performance 2016-04-01 09:53:10 +09:00
Bryan Chan
08b4f6ae60 Detect the native byte order and use the correct expected value 2015-06-29 15:53:10 -04:00
Bryan Chan
d8600ed65e Fix SnappyOutputStreamTest for big-endian platforms 2015-06-29 14:50:27 -04:00
Taro L. Saito
67e7cb57fd Add test code for reading Snappy.compress result with SnappyInputStream 2015-05-18 18:13:25 +09:00
Taro L. Saito
58016fd78d Remove findbugs reported problems 2015-05-18 18:08:31 +09:00
Taro L. Saito
66115a49ad Applied the same style with https://github.com/airlift/codestyle 2015-05-18 16:51:53 +09:00
Taro L. Saito
3cf34325d7 Use LF as newline 2015-05-18 15:36:06 +09:00
Josh Rosen
38ec9fd03b Null buffer refs when closing SnappyOutputStream. 2015-05-14 11:22:34 -07:00
Josh Rosen
dcdada2ed4 Throw IOException when writing to / flushing closed SnappyOutputStreams. 2015-05-14 10:59:16 -07:00
Josh Rosen
2b6c8dc896 Make close() idempotent (fixes #107). 2015-05-14 00:36:00 -07:00
Josh Rosen
c5a3b102bc Add failing regression test for #107 2015-05-14 00:30:53 -07:00
Taro L. Saito
1c702ba366 #103: Support reading concatenated streams in SnappyInputStream 2015-05-12 01:43:23 +09:00
Taro L. Saito
6d9925ba36 Fixes for #100 2015-04-14 15:43:50 +09:00
Josh Rosen
a6eb0a605d Add failing regression test for #100. 2015-04-13 12:47:13 -07:00
Taro L. Saito
f0d7f62881 #89: Add SnappyIOException to distinguish empty input, incompatible format version, etc. 2014-10-23 12:42:12 +09:00
Taro L. Saito
164e51da2e #89: Fixes SnappyInputStream not to throw an IOException when the input is empty 2014-10-23 12:12:39 +09:00
Taro L. Saito
50164bc210 Sanitize code 2014-07-19 05:14:50 +09:00
Taro L. Saito
c96a345d85 Moved test resources to enable running tests both in maven and sbt 2014-06-26 13:41:45 +09:00
bokken
bb10b5064e Add transferFrom/transferTo methods to provide transfer optimizations
https://github.com/xerial/snappy-java/issues/57
2013-11-11 10:25:58 -06:00
Taro L. Saito
dc20eaf222 Merge fixes for #27 2013-08-13 16:14:55 +09:00
Taro L. Saito
2891c692c0 Removed SnappyNativeAPI, since native loader injection is no longer necessary 2013-08-13 15:55:58 +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
72383d990c Fixes issue 34 Implement available() method 2011-10-25 10:39:27 +09:00
Taro L. Saito
35f7e8edd6 Change the native library version retrieval method to look up
a resource file (VERSION) in org.xerial.snappy package.

Update issue 32
Status: Fixed
2011-09-26 23:14:27 +09:00
Taro L. Saito
f2fe1d3d8b Update issue 28
A workaround to postpone the initialization of SnappyNativeAPI.
2011-09-09 11:16:28 +09:00
Taro L. Saito
3710c4e7dc Updates issue 20. Add org.xerial.snappy.use.systemlib property to lookup snappyjava dll under java.library.path 2011-08-16 13:04:57 +09:00
Taro L. Saito
6540318a12 Fixes issue 20
org.xerial.snappy.enable.bundled.libs is used with the default value = true.
2011-08-16 11:16:21 +09:00
Taro L. Saito
c73d2e104b Fixes issue 24 2011-08-02 17:07:24 +09:00
Taro L. Saito
199b12e61c Add comment on SnappyLoader.load 2011-08-01 15:19:28 +09:00
Taro L. Saito
c4870fb505 Report exception message correctly 2011-08-01 13:43:12 +09:00
Taro L. Saito
1c46977e67 Add a target for generationg SnappyNativeLoader bytecode 2011-07-06 10:46:47 +09:00
Taro L. Saito
4281128209 Add rawWrite and rawRead API to the SnappyOutputStream and SnappyInputStream to support primitive array compression/decompression 2011-06-30 13:12:42 +09:00
Taro L. Saito
536f130595 Fixes issue 21 2011-06-27 12:15:50 +09:00
Taro L. Saito
3fd156410c Add test for loading snappy-java using different class loaders in the same JVM 2011-06-27 11:40:59 +09:00
Taro L. Saito
7134608206 Use SnappyNativeAPI as an interface to the native code 2011-06-27 10:29:58 +09:00
Taro L. Saito
b531cb36dc Add bytecode generator 2011-06-24 13:42:14 +09:00
Taro L. Saito
d19a00ddb6 Revert to xerial-core-1.0.21 for compiling with JDK5 2011-06-24 13:26:21 +09:00
Taro L. Saito
c884620c8f Add code to load snappyjava library in java.library.path 2011-06-24 13:03:39 +09:00