Commit Graph

1088 Commits

Author SHA1 Message Date
xerial-bot c8c8e1321b
Update scalafmt-core to 3.7.7 (#472) 2023-07-08 11:45:35 -07:00
Namrata Bhave 33b6510b6b
Update libsnappy.so for s390x (#474) 2023-07-08 11:44:08 -07:00
xerial-bot f350a98189
Update airframe-log to 23.7.0 (#471) 2023-07-05 10:38:00 -07:00
xerial-bot bfdb45e0e6
Update scalafmt-core to 3.7.6 (#470) 2023-07-05 10:37:53 -07:00
xerial-bot d71e1584d0
Update sbt to 1.9.1 (#467) 2023-06-27 14:52:10 -07:00
xerial-bot 2c3b7005e1
Update airframe-log to 23.6.2 (#465) 2023-06-23 12:50:51 -07:00
xerial-bot f8bc4cc078
Update airframe-log to 23.6.1 (#463) 2023-06-19 14:25:06 -07:00
xerial-bot 33441eec73
Update sbt-dynver to 5.0.1 (#461) 2023-06-16 14:55:43 -07:00
xerial-bot 8649a62eef
Update airframe-log to 23.6.0 (#460) 2023-06-14 16:53:52 -07:00
xerial-bot 60a0cad5cc
Update airframe-log to 23.5.7 (#458) 2023-06-14 16:39:19 -07:00
aidanchiu1112 737f3973ff
CI Fix to Prevent Checks Dealing with Large Array Sizes (#459)
* Fix spacing with comment

* Updated code

* Test: Added Assume catches for each failed tests

* Added and implemented separate method to check if System CI is false

* Added a null check to ensure assumingCIIsFalse() method runs locally as well

* Changed assumeTrue to assumeFalse
2023-06-14 14:51:14 -07:00
aidanchiu1112 d0042551e4
Merge pull request from GHSA-fjpj-2g6w-x25r
* Fixed integer overflow by checking if bytesize is bigger than input length, then throwing exception

* Fixed integer overflow by checking if bytesize is bigger than input length, then throwing exception

* Fixed integer overflow by checking if bytesize is bigger than input length, then throwing exception

* improved error messages by adding new error enum INPUT_TOO_LARGE in SnappyErrorCode.java, and added happy and sad cases in SnappyTest.java

* fixed mispelling: validArrayInputLength --> isInvalidArrayInputLength

* switched SnappyError into ILLEGAL_ARGUMENT in SnappyErrorCode.java and Snappy.java and fixed a typo in error comment

* Fix buffer size boundary tests

* Remove negative array size tests

* updated comments for unit test

---------

Co-authored-by: Taro L. Saito <leo@xerial.org>
2023-06-14 11:06:30 -07:00
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