Commit Graph

1176 Commits

Author SHA1 Message Date
aidanchiu1112 3bf67857fc
Merge pull request from GHSA-qcwq-55hx-v3vh
* asserted chunksize should be in the bounds of 0-java.outofmmeoryexception

* asserted chunksize should be in the bounds of 0-java.outofmmeoryexception

* https://github.com/xerial/snappy-java-ghsa-qcwq-55hx-v3vh/pull/2

* advisory-fix-3

* added and changed method name for happy and sad cases in SnappyTest.java

* removed expected error for happy case in unit testing

* added another unit test case in SnappyTest.java and fixed comments in SnappyInputStream.java

* switched SnappyError to INVALID_CHUNK_SIZE

* Updated unit tests

* Resolved conflicts with another PR merge
2023-06-14 10:49:52 -07:00
aidanchiu1112 820e2e074c
Merge pull request from GHSA-pqr6-cmr2-h8hf
* Fixed integer overflow by checking if multiplication result is smaller than original value

* Fixed integer overflow by checking if multiplication result is smaller than original value

* Fixed integer overflow by checking if multiplication result is smaller than original value

* imporved error messages and added happy and sad cases for unit test in SnappyTest.java

* switched SnappyError into ILLEGAL_ARGUMENT in SnappyErrorCode.java and Snappy.java

* wrote new and updated unit test methods

* updated comments in SnappyTest.java

* Fixed and updated unit tests in SnappyTest.java
2023-06-14 10:36:02 -07:00
aidanchiu1112 27e2ce0fb0
Fix typo (#457)
* Fix typo

* Fix spacing with comment
2023-06-06 11:58:45 -07:00
xerial-bot f32d5b0d7c
Update sbt to 1.9.0 (#455)
* Update sbt to 1.9.0

* Run CI on sbt upgrade

---------

Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-06-02 15:19:00 -07:00
xerial-bot 326f0b45ee
Update scalafmt-core to 3.7.4 (#454) 2023-06-02 10:46:56 -07:00
xerial-bot b3895447ca
Update airframe-log to 23.5.6 (#453) 2023-06-02 10:46:45 -07:00
github-actions[bot] 256691eb1e
Update native libraries for 2737ea41c4 (#450)
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-05-24 16:48:28 -07:00
Taro L. Saito 5c35a0ff12
intertnal: Fix CI watch target files (#451) 2023-05-24 23:46:16 +00:00
github-actions[bot] 2737ea41c4
Update native libraries for 38bf5689dc (#445)
Co-authored-by: xerial <xerial@users.noreply.github.com>
2023-05-24 15:04:57 -07:00
Taro L. Saito 38bf5689dc
internal: Fix CI target branch (#449)
* internal: Run CI tests for update-native-libs branch

* Fix config

* Fix target branch
2023-05-24 21:43:00 +00:00
Taro L. Saito b62a27f07a
internal: Run CI tests for update-native-libs branch (#448) 2023-05-24 21:40:07 +00:00
Taro L. Saito 20dd4675d7
internal: Fix commit message (#447) 2023-05-24 20:35:45 +00:00
Taro L. Saito 3bcc1c43e2
internal: Run CI tests on native file change (#446) 2023-05-24 20:28:20 +00:00
Sudip Roy 10f3b32d49
Trigger native lib build on PR (#444)
* trigger build native on PR and push

Signed-off-by: Sudip Roy <sudiproy1999@gmail.com>

* Add branch master

* Trigger native lib build only for PRs

* Test native lib build trigger

* Targetting the PR repo

* Add comment to trigger native lib build

* Fix syntax error

* Test with write permission

* Test with contents: write

* Test

* test

* Use gh pr checkout

* fix

* Add checkout phase

* test target repo:

* Try bot user

* clanup

* Use PAT

* Use different user

* simplify

* fix

* test

* Fix token

* revert

* Try push action

* use the same token

* fix tab

* Set ref

* Create a new PR for every master update

* fix

* fix indent

* Use native-all

---------

Signed-off-by: Sudip Roy <sudiproy1999@gmail.com>
Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-05-24 20:08:53 +00:00
Taro L. Saito d8c5b8e4b6
Add a note about creating new releases 2023-05-23 15:16:13 -07:00
Taro L. Saito fd504023f1
Feature: Android arm64 support (#442)
* Feature: Support Linux android-arm64(aarch64)

* Add dockcross script

* Add native lib

* Add --no-cache for CI

* Revert "Add --no-cache for CI"

This reverts commit 0f2f05ba8e.

* Add docker clean process

* Update native libraries

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-23 15:05:31 -07:00
Taro L. Saito ad2e2d7378
Feature: Use LTS cross-compiler for Linux armv6/armv7 to use glibc 2.28 (#440)
* Feature: Use LTS cross-compiler for Linux armv6/armv7 to use glibc 2.28

* Use softfp for armv7

* Fix armv6 config

* Update native libraries

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-23 13:20:44 -07:00
xerial-bot 4faf2a3768
Update airframe-log to 23.5.5 (#441) 2023-05-23 13:16:24 -07:00
xerial-bot d9b324ce43
Update airframe-log to 23.5.4 (#434) 2023-05-23 10:30:12 -07:00
Taro L. Saito 4181327265
Release snapshot versions when native libs are updated (#438) 2023-05-23 10:27:09 -07:00
Taro L. Saito 86ebb48261
Add a new native lib for Linux-arm (#436)
* use lts image for glibc compatibility

fixes #417

* Update dockcross-aarch64

* Update native libraries

---------

Co-authored-by: NersesAM <1935500+NersesAM@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-23 10:19:22 -07:00
Taro L. Saito f92925a4ad
internal: Release note generation automation (#433) 2023-05-17 13:51:37 -07:00
xerial-bot b780eae3a4
Update sbt-sonatype to 3.9.21 (#432) 2023-05-16 13:13:24 -07:00
Taro L. Saito ccf61c1d06
Upgrade to Snappy 1.1.10 (#431)
* Upgrade to Snappy 1.1.10

* Update native libraries

* Add Mac silicon binary

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-16 11:44:01 -07:00
jzl d72a2bc805
Fix: workaround io error 'stream closed' caused by bugs in URLClassloader (#412) 2023-05-16 11:06:13 -07:00
Sudip Roy 027c0c2703
add s390x support (#416) 2023-05-16 11:00:50 -07:00
xerial-bot fba33f4eab
Update sbt to 1.8.3 (#430) 2023-05-16 11:00:33 -07:00
xerial-bot 0314c2501d
Update airframe-log to 23.5.3 (#428) 2023-05-09 16:55:25 -07:00
xerial-bot bb51e7c8f2
Update sbt-sonatype to 3.9.20 (#427) 2023-05-09 16:55:18 -07:00
Taro L. Saito e504c39559
Update SECURITY.md 2023-05-08 13:28:42 -07:00
Taro L. Saito 18c53d5311
Create SECURITY.md 2023-05-08 13:28:28 -07:00
xerial-bot 05c39b2ca9
Update airframe-log to 23.4.8 (#423) 2023-04-29 09:47:08 -07:00
xerial-bot 509fe727e6
Update airframe-log to 23.4.0 (#413) 2023-04-07 00:30:32 -07:00
xerial-bot 03fa8d0a83
Update airframe-log to 23.3.4 (#409) 2023-03-31 21:56:24 -07:00
xerial-bot 7f5cd56d65
Update scalafmt-core to 3.7.3 (#410) 2023-03-31 21:56:17 -07:00
xerial-bot c5414ed458
Update airframe-log to 23.3.3 (#406) 2023-03-22 14:42:25 -07:00
xerial-bot 079725743f
Update airframe-log to 23.3.2 (#404) 2023-03-20 09:39:58 -07:00
xerial-bot 745d4c440f
Update sbt-sonatype to 3.9.18 (#402) 2023-03-09 23:19:12 -08:00
xerial-bot 180645b2ef
Update airframe-log to 23.3.0 (#401) 2023-03-09 23:19:05 -08:00
xerial-bot e633200b11
Update airframe-log to 23.2.5 (#397) 2023-03-06 12:55:38 -08:00
xerial-bot e2a4b5a596
Update scalafmt-core to 3.7.2 (#399)
* Update scalafmt-core to 3.7.2

* Reformat with scalafmt 3.7.2

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.7.2' to .git-blame-ignore-revs
2023-03-06 12:55:26 -08:00
dependabot[bot] 0957acd563
Bump olafurpg/setup-scala from 13 to 14 (#398)
Bumps [olafurpg/setup-scala](https://github.com/olafurpg/setup-scala) from 13 to 14.
- [Release notes](https://github.com/olafurpg/setup-scala/releases)
- [Commits](https://github.com/olafurpg/setup-scala/compare/v13...v14)

---
updated-dependencies:
- dependency-name: olafurpg/setup-scala
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 12:55:17 -08:00
Ludovic Henry 3c74e292ab
Add Linux-riscv64 support (#396) 2023-02-15 01:24:42 -08:00
xerial-bot 8845930790
Update airframe-log to 23.2.4 (#395) 2023-02-14 09:56:02 -08:00
xerial-bot 17aa698cdb
Update airframe-log to 23.2.0 (#391) 2023-02-03 16:21:32 -08:00
Taro L. Saito 39160ac5d2
Fix java8 compatibility (#390)
* ByteBuffer.limit() compiled with JDK9+ shows  java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer; error in JDK8
* Set --release 8 JDK option
* Do not use --release 8 option in JDK8
2023-01-31 10:35:03 -08:00
xerial-bot 5ad862e802
Update org.osgi.core to 6.0.0 (#387) 2023-01-29 19:21:23 -08:00
Taro L. Saito 8707c34446
Update Milestone.md 2023-01-28 18:25:16 -08:00
xerial-bot 1a82fe10b7
Update org.osgi.core to 4.3.1 (#315)
* Update org.osgi.core to 4.3.1

* Update org.osgi.core to 4.3.1

* Update org.osgi.core to 4.3.1

* Revert commit(s) 3c7e99c

* Update org.osgi.core to 4.3.1

* Revert commit(s) 3a0d82f

* Update org.osgi.core to 4.3.1

* Revert commit(s) db7539d

* Update org.osgi.core to 4.3.1

* Revert commit(s) a0551d9

* Update org.osgi.core to 4.3.1

* Revert commit(s) bcb986a

* Update org.osgi.core to 4.3.1

* Revert commit(s) 832ade4

* Update org.osgi.core to 4.3.1
2023-01-28 08:47:29 -08:00
Taro L. Saito 92b6c9e4d7
Remove snappy debug assertion with -DNDEBUG c++ flag (#386)
* Remoe snappy debug assertion with -DNDEBUG c++ flag

* Update native libraries

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-28 08:42:50 -08:00