Commit Graph

1472 Commits

Author SHA1 Message Date
Evgenii Kliuchnikov
4792c8e4c4 Check that total compound dictionary size does not overflow.
Thanks to @0xazanul who reported the problem in #1438

PiperOrigin-RevId: 896638456
2026-04-08 12:24:31 -07:00
Evgenii Kliuchnikov
88b27d494d Fix partial javadocs
PiperOrigin-RevId: 896503460
2026-04-08 08:00:31 -07:00
Copybara-Service
5583858f76 Merge pull request #1413 from leofernandesmo:fix-java-brotliinputstream-null-buffer
PiperOrigin-RevId: 889691589
2026-03-26 01:40:30 -07:00
Copybara-Service
a0f8a2c9ba Merge pull request #1382 from vanschelven:fix-python-docstring
PiperOrigin-RevId: 889690037
2026-03-26 01:36:35 -07:00
Copybara-Service
495f30f8fd Merge pull request #1414 from leofernandesmo:fix-java-brotliinputstream-illegalstateexception
PiperOrigin-RevId: 889681811
2026-03-26 01:12:38 -07:00
Eugene Kliuchnikov
77b1773bc4 Merge branch 'master' into fix-python-docstring 2026-03-26 08:31:18 +01:00
Eugene Kliuchnikov
538c014676 Merge branch 'master' into fix-java-brotliinputstream-null-buffer 2026-03-26 08:19:58 +01:00
Eugene Kliuchnikov
e1d9ad3cca Merge branch 'master' into fix-java-brotliinputstream-illegalstateexception 2026-03-26 08:13:21 +01:00
dependabot[bot]
965c18ebe7 Bump actions/setup-node from 6.0.0 to 6.3.0 (#1432)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.0.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](2028fbc5c2...53b83947a5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-24 10:53:34 +01:00
dependabot[bot]
3aa085d8b3 Bump actions/upload-artifact from 5.0.0 to 7.0.0 (#1433)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](330a01c490...bbbca2ddaa)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  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>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-24 10:49:28 +01:00
dependabot[bot]
b7b12b1286 Bump actions/cache from 4.3.0 to 5.0.4 (#1434)
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0057852bfa...668228422a)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.4
  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>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-24 10:44:44 +01:00
dependabot[bot]
e50d7906fc Bump actions/checkout from 6.0.0 to 6.0.2 (#1435)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...de0fac2e45)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-24 10:39:18 +01:00
dependabot[bot]
762c2af7fb Bump step-security/harden-runner from 2.13.2 to 2.16.0 (#1436)
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.2 to 2.16.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](95d9a5deda...fa2e9d605c)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-24 10:34:23 +01:00
dependabot[bot]
a413517b94 Bump github/codeql-action from 4.31.4 to 4.31.7 (#1402)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.4 to 4.31.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e12f017898...cf1bb45a27)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-20 22:46:38 +01:00
Copybara-Service
91647431cf Merge pull request #1362 from google:dependabot/github_actions/actions/upload-artifact-5.0.0
PiperOrigin-RevId: 886860559
2026-03-20 10:26:48 -07:00
Evgenii Kliuchnikov
1bb6609637 internal change
PiperOrigin-RevId: 886246512
2026-03-20 10:26:28 -07:00
dependabot[bot]
0ac21aff4c Bump actions/upload-artifact from 4.6.2 to 5.0.0 (#1362)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](ea165f8d65...330a01c490)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 5.0.0
  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>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-20 18:19:12 +01:00
Eugene Kliuchnikov
d856e1d3d7 Merge branch 'master' into dependabot/github_actions/actions/upload-artifact-5.0.0 2026-03-20 18:15:11 +01:00
dependabot[bot]
02e772e33a Bump actions/setup-python from 6.0.0 to 6.1.0 (#1399)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](e797f83bcb...83679a892e)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2026-03-20 18:14:26 +01:00
Copybara-Service
1818606d6a Merge pull request #1429 from eustas:baz1
PiperOrigin-RevId: 886228512
2026-03-19 09:45:24 -07:00
Copybara-Service
f5d448d31f Merge pull request #1430 from eustas:jniw
PiperOrigin-RevId: 886228415
2026-03-19 09:44:20 -07:00
Evgenii Kliuchnikov
39608c13d4 Add JNI wrappers to archive 2026-03-19 11:38:34 +00:00
Evgenii Kliuchnikov
e669b4f618 Fix bazel build for research/ 2026-03-19 09:13:17 +00:00
Copybara-Service
cfa184a997 Merge pull request #1425 from eustas:baz0
PiperOrigin-RevId: 885596587
2026-03-18 08:01:30 -07:00
Eugene Kliuchnikov
bb3ce8e64a Merge branch 'master' into baz0 2026-03-17 11:04:30 +01:00
Evgenii Kliuchnikov
408457d9c5 internal change
PiperOrigin-RevId: 884867731
2026-03-17 01:12:04 -07:00
Evgenii Kliuchnikov
8794fc793e Fix bazel build
That includes un-inlining JNI function calls
2026-03-13 12:31:38 +00:00
Evgenii Kliuchnikov
9e558dd5c2 Lint
PiperOrigin-RevId: 882767063
2026-03-12 14:03:01 -07:00
Evgenii Kliuchnikov
0ed4268a44 Detect and report invalid stream earlier.
PiperOrigin-RevId: 876198329
2026-02-27 05:10:54 -08:00
Copybara-Service
34f020fa9d Merge pull request #1420 from dpogue:patch-1
PiperOrigin-RevId: 875670546
2026-02-26 05:24:10 -08:00
Copybara-Service
00983eeddc Merge pull request #1398 from KilianKegel:master
PiperOrigin-RevId: 875661415
2026-02-26 04:59:35 -08:00
Brotli
1bcd5c0d9e Add a flag to the dictionary generator to skip empty samples.
PiperOrigin-RevId: 875642399
2026-02-26 04:02:08 -08:00
Kilian Kegel
05783a842e Merge branch 'master' into master 2026-02-25 11:07:58 +01:00
Darryl Pogue
2c137d82ea Fix invalid for loop initialization
This fixes an error when building with gcc-4.2 on Mac OS X 10.5, and is consistent
with the rest of the for loop declarations in this file.
2026-02-19 22:17:08 -08:00
Evgenii Kliuchnikov
51be27dbd9 Add py free-threaded support + concurrent access test
PiperOrigin-RevId: 872298536
2026-02-19 02:46:00 -08:00
Brotli
54f74c7f5a Enable shared_dictionary for quality 3 and 4.
PiperOrigin-RevId: 869794857
2026-02-13 10:35:28 -08:00
Leo fernandes
2c214287ff java: wrap decoder IllegalStateException as IOException 2026-01-21 16:30:47 -03:00
Leo fernandes
e7f00f6348 java: add explicit null check in BrotliInputStream.read 2026-01-21 15:00:59 -03:00
Kilian Kegel
8ff8538ed3 fix 'const' qualifier in c\dec\bit_reader.c 2025-11-30 10:01:03 +01:00
Eugene Kliuchnikov
295d9c74d3 Merge branch 'master' into fix-python-docstring 2025-11-24 12:39:25 +01:00
Copybara-Service
5fa73e23be Merge pull request #1392 from cclauss:comprehensions
PiperOrigin-RevId: 836153778
2025-11-24 03:36:29 -08:00
Eugene Kliuchnikov
5db7aca571 Merge branch 'master' into comprehensions 2025-11-24 12:17:20 +01:00
Evgenii Kliuchnikov
486ed5bc56 Fix one-off in dcheck.
How to prove correctness:
1) when `position` is `0`, `max_length` is allowed to be `ringbuffer_size`
2) in other words: `position + max_length <= ringbuffer_size`
3) `ringbuffer_mask == ringbuffer_size - 1`
4) thus `position + max_length <= ringbuffer_size + 1`

PiperOrigin-RevId: 836145553
2025-11-24 03:05:39 -08:00
Eugene Kliuchnikov
688d661f40 Merge branch 'master' into comprehensions 2025-11-24 11:55:20 +01:00
Copybara-Service
5151a220d5 Merge pull request #1397 from google:dependabot/github_actions/actions/checkout-6.0.0
PiperOrigin-RevId: 836136994
2025-11-24 02:35:08 -08:00
dependabot[bot]
e1979c07fe Bump actions/checkout from 5.0.0 to 6.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 08:09:44 +00:00
Christian Clauss
7ff6d1d286 Add ruff rule PERF for performance 2025-11-20 10:38:31 +01:00
Eugene Kliuchnikov
cdf6b8c993 Merge branch 'master' into dependabot/github_actions/actions/upload-artifact-5.0.0 2025-11-20 08:16:24 +01:00
Copybara-Service
61af0e5b94 Merge pull request #1391 from cclauss:ruff
PiperOrigin-RevId: 834609353
2025-11-19 23:12:53 -08:00
Copybara-Service
a0d2679607 Merge pull request #1388 from google:dependabot/github_actions/github/codeql-action-4.31.3
PiperOrigin-RevId: 834609287
2025-11-19 23:11:59 -08:00