Commit Graph

436 Commits

Author SHA1 Message Date
Ashley Taylor 34fa6e9e65
Add uncompressDoubleArray that takes offset and length (#307) 2023-01-28 00:06:45 -08:00
Taro L. Saito 2bc841b5da
Remove pure-java support (#381)
* Remove pure-java snappy support

* Remove pure-java support description
2023-01-28 00:05:11 -08:00
Taro L. Saito cecbb0d1e2
Build native library for Snappy 1.1.9 (#380)
* Fix dependency

* Add checkout step

* Remove tty option

* Fix compiler prefixes

* Fix arm compiler names

* Reorder for debug

* Fix

* Update dockcross-arm-android

* Remove system include

* Fix strip path

* Update native libraries

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-27 23:54:10 -08:00
Taro L. Saito a794389cf2
Upgrade to snappy-1.1.9 (#379)
* Upgrade to snappy-1.1.9

* Add sbt-dynver

* Fix script so as not to requrie perl

* Upgrade bitshuffle to 0.5.1

* use bitshuffle 0.3.4, which can be compiled without errors

* Add native library build workflow
2023-01-27 22:33:12 -08:00
lehnerj 8ecc597a0e
Fixes xerial/snappy-java#280 Typo - java.io.tmpdir not java.io.tempdir (#325)
Co-authored-by: Josef Lehner <josef1207@googlemail.com>
2022-06-21 20:19:42 +09:00
Mikhail Zhukov 78354b69c7
#302 Fixed running snappy-java as OSGi bundle on Apple Silicon (M1 Pro) (#303)
Co-authored-by: Mikhail Zhukov <zh.muxa@gmail.com>
2022-05-17 23:31:48 -07:00
Taro L. Saito 1d01f870a1
Upgrade sbt to 1.5.6 (#301) 2021-12-09 23:08:39 -08:00
Liang-Chi Hsieh 19cfc8d9a8
Use original compressed/uncompressed buffer's position. (#293) 2021-10-20 00:06:34 -07:00
Liang-Chi Hsieh f3d7c11a02
Avoid explicit class name in throw_exception. (#291) 2021-10-20 00:06:01 -07:00
Brett Okken 822513dbe6
Prefer use of java.util.zip.CRC32C for Framed format (#269)
Co-authored-by: BO8979 <BO8979@W1971362.northamerica.cerner.net>
2021-01-20 11:30:19 -08:00
Brett Okken 110727ed69
Pool table instances to make PureJavaSnappy thread safe (#271)
https://github.com/xerial/snappy-java/issues/270

Co-authored-by: BO8979 <BO8979@W1971362.northamerica.cerner.net>
2021-01-20 11:20:22 -08:00
Taro L. Saito a1f4fa3b10 Fix pure-java fallback 2020-11-28 09:46:07 -08:00
Taro L. Saito ab18bdb457
Add a binary for Apple Silicon (M1) (#268) 2020-11-28 09:12:41 -08:00
Taro L. Saito 84e68fe3c1
Rebuild mac64 binary 2020-11-09 08:55:32 -08:00
Benedict Jin 1c4a0e31e9
Fix `Could not initialize class org.xerial.snappy.Snappy` bug for MacOS 19.6.0 (#265)
* Fix `Could not initialize class org.xerial.snappy.Snappy` bug for MacOS

* Remove useless libsnappyjava.jnilib
2020-11-08 22:51:50 -08:00
Taro L. Saito a300c63060
Upgrade to snappy 1.1.8 (#258) 2020-10-20 21:34:28 -07:00
Russell Shaw f368c0c7b9
Add Big Endian support to Pure Java Snappy (#254)
* Add Big Endian support to Pure Java Snappy

* Support Big Endian. Separated Little and Big Endian methods for performance reasons

* Big Endian support - made a separate interface so no performance issues

* Big Endian support update - Remove trivial whitespace/tab changes which othewise come up in diff report

* Add newline to end of source for githib diff report

* Big Endian Support - simplified changes as peformance hit is not significant

* Big Endian Support - fix typo

* Fix typo

* Update SnappyLoader.java

Converted TAB char to spaces

* Revert back to original code

Co-authored-by: Russell Shaw <russell@Russells-MacBook-Pro.local>
2020-10-20 18:03:58 -07:00
Taro L. Saito fd26e3914d Add a fix for android-arm 2020-10-20 17:52:53 -07:00
Taro L. Saito 336dd795f3 Set the minimum maxosx version to 10.7 to resolve libc++ linker issue 2020-10-20 17:52:53 -07:00
Taro L. Saito 173832eda7 Fix native-all task 2020-10-20 17:52:53 -07:00
Taro L. Saito c0e82b9a47 Rebuild armv7 native binary 2020-10-20 17:52:53 -07:00
Taro L. Saito 3d4fd649d0 Fix armv7 build 2020-10-20 17:52:53 -07:00
Taro L. Saito 1fba891de8 Fix arm64 build 2020-10-20 17:52:53 -07:00
Taro L. Saito eb341bf08f
remove unused import 2020-06-26 00:10:40 -07:00
Taro L. Saito 7082397d2d
Use GitHub Actions (#250)
* Use GitHub Actions
* Ignore SnappyHadoopComptibleOutputStreamTest
* Build only master branches
* Simplify travis build
* Remove jvm option, which doesn't work for s390x
2020-06-25 23:51:45 -07:00
Taro L. Saito 377d3577ca Reformat 2020-06-25 19:42:39 -07:00
Taro L. Saito 594ca5fddb
Add pure-java Snappy implementation (#244)
* Add PureJavaSnappy
* Add more tests for pure-java snappy
* Add note on enabling pure-java mode
* Add org.xerial.snappy.pure to osgi bundle
2020-05-11 23:48:43 -07:00
Brett Okken e94001da2e
Pool byte[] and direct ByteBuffer (#234)
* https://github.com/xerial/snappy-java/issues/233

Pool byte[] and direct ByteBuffer instances for reuse by Framed
implementation.

* Remove use of google VisibleForTesting annotation

https://github.com/xerial/snappy-java/issues/233

* javadoc
2020-05-04 11:13:46 -07:00
Josiah Samuel 8faa1d8171 update libsnappyjava.so for ppc64le to make it compat with rhel 7 (#236)
* update libsnappyjava.so for ppc64le to make it compat with rhel 7

* move linkflag to Makefile.common
2019-11-27 22:31:48 -08:00
Neil 79697cf3d4 change snappyOutputStream writeHeader order to fix when outputStream… (#229)
* change snappyOutputStream  writeHeader order to fix when outputStream doest't write bytes, it will also generate a snappy header after closed
2019-03-25 20:59:24 -07:00
Brett Okken 26eb048c45 java 9 valid direct byte buffer release 2019-01-14 14:43:51 -06:00
ossdev 40ebc5a48e Failure of snappy-java 1.1.7 test cases due to isValidCompressedBuffer() on AARCH64 architecture 2018-05-14 19:23:04 +05:30
xuchuanyin 0bdda0f23d
Optimize SnappyOutputStream java doc
Add more information about output data format
2018-01-23 15:23:18 +08:00
Taro L. Saito 6514348da0 #174: Fix folder name for android 2017-12-01 11:03:06 -08:00
Taro L. Saito a468d08bca Resolve android type first 2017-11-30 16:43:25 -08:00
Taro L. Saito 6b2384d65c centos5 cannot use cmake3, so provide pre-configured header files instead 2017-11-30 16:39:16 -08:00
Taro L. Saito 0587ad5bdb Rebuild arm binaries 2017-11-30 14:29:14 -08:00
Taro L. Saito 8ea939adea Rebuild mac binary 2017-11-30 14:27:21 -08:00
Taro L. Saito d2ed365d98 Rebuild win binaries 2017-11-30 14:26:25 -08:00
Taro L. Saito ff246c935e
Merge pull request #197 from odaira/snappy-1.1.7-Linux-ppc64
Update Linux/ppc64/libsnappyjava.so and add Linux/ppc/libsnappyjava.so
2017-11-30 13:32:57 -08:00
Rei Odaira 544a05f7aa Update Linux/ppc64/libsnappyjava.so and add Linux/ppc/libsnappyjava.so 2017-11-30 01:51:32 +00:00
Rei Odaira 319bc402d0 Update AIX/ppc/libsnappyjava.a and AIX/ppc64/libsnappyjava.a 2017-11-28 18:46:42 -08:00
Rei Odaira 93e6478a2a Update Linux/s390x/libsnappyjava.so 2017-11-27 19:07:13 -05:00
Rei Odaira 13299c1fda Update Linux/ppc64le/libsnappyjava.so 2017-11-16 13:15:41 -06:00
Taro L. Saito a450805eeb Optimize for aarch64 big-endian 2017-11-15 19:08:47 -08:00
Taro L. Saito a00267a687 Add guard for the other OSes 2017-11-15 15:01:41 -08:00
Taro L. Saito f8327ae087 Add Hadoop compatible Snappyt output stream 2017-11-15 14:56:29 -08:00
Taro L. Saito fb51d60017 Ad aarch64 library 2017-11-15 13:14:28 -08:00
Taro L. Saito 989e714bad Run cmake only for Windows 2017-11-15 12:31:07 -08:00
Taro L. Saito b90841e676 Run cmake first to create snappy-stubs-public.h for windows 2017-11-15 12:16:41 -08:00