Commit Graph

1429 Commits

Author SHA1 Message Date
Matthieu MOREL
eff4cbb0f1 Add BCR publishing configuration for brotli and brotli_go modules
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-11-25 19:55:47 +01:00
Matthieu MOREL
5251c3cd79 Add BCR publishing configuration for brotli and brotli_go modules
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-11-24 18:51:16 +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
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
Christian Clauss
52ad34cea4 Lint Python code with ruff 2025-11-19 22:52:03 +01:00
dependabot[bot]
7c77ca0b18 Bump github/codeql-action from 4.31.2 to 4.31.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.2 to 4.31.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0499de31b9...014f16e7ab)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 10:57:16 +00:00
Evgenii Kliuchnikov
f81d6bc7f0 Modernize tests.
Avoid file IO.
Drive-by: drop bro.py and bro_test.py; we do not support it well and likely no one uses it.
PiperOrigin-RevId: 834206605
2025-11-19 02:56:01 -08:00
Evgenii Kliuchnikov
fa925d0c15 fix man installation dir
PiperOrigin-RevId: 830898574
2025-11-11 07:07:50 -08:00
Copybara-Service
8e4d912826 Merge pull request #1383 from google:dependabot/github_actions/step-security/harden-runner-2.13.2
PiperOrigin-RevId: 830866924
2025-11-11 05:21:43 -08:00
dependabot[bot]
2138ac6153 Bump step-security/harden-runner from 2.13.1 to 2.13.2
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](f4a75cfd61...95d9a5deda)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 11:46:53 +00:00
Evgenii Kliuchnikov
ea5b5c10dd Drop Py 3.9- support
PiperOrigin-RevId: 830342213
2025-11-10 02:18:38 -08:00
Evgenii Kliuchnikov
8a9ab54e2e fix JavaDoc warnings
PiperOrigin-RevId: 829420925
2025-11-07 07:00:04 -08:00
Copybara-Service
c83197f8eb Merge pull request #1374 from google:dependabot/github_actions/github/codeql-action-4.31.2
PiperOrigin-RevId: 829379228
2025-11-07 04:34:45 -08:00
Copybara-Service
48152367b3 Merge pull request #1365 from google:dependabot/github_actions/actions/setup-node-6.0.0
PiperOrigin-RevId: 829379009
2025-11-07 04:33:39 -08:00
Copybara-Service
fa141a189a Merge pull request #1364 from google:dependabot/github_actions/actions/download-artifact-6.0.0
PiperOrigin-RevId: 829378980
2025-11-07 04:32:48 -08:00
Copybara-Service
464fe15603 Merge pull request #1379 from Cycloctane:fix-docstring
PiperOrigin-RevId: 829349146
2025-11-07 02:46:17 -08:00
Rui Xi
e4bc10a000 fix method name in python Decompressor docstring 2025-11-07 15:48:14 +08:00
Eugene Kliuchnikov
cedd986cf2 Merge branch 'master' into dependabot/github_actions/actions/download-artifact-6.0.0 2025-11-06 12:48:25 +01:00
Eugene Kliuchnikov
7f0d259e54 Merge branch 'master' into dependabot/github_actions/actions/setup-node-6.0.0 2025-11-06 12:48:11 +01:00
Eugene Kliuchnikov
0e8a06c0bd Merge branch 'master' into dependabot/github_actions/github/codeql-action-4.31.2 2025-11-06 12:47:56 +01:00
Copybara-Service
595a634fd7 Merge pull request #1376 from anthrotype:normalize-py-name
PiperOrigin-RevId: 828867720
2025-11-06 02:49:36 -08:00
Cosimo Lupo
808e2b99e6 [setup.py] Use PEP625-compliant lowercase 'brotli' package name
PyPI now requires that wheel filenames and metadata use normalized
package names following PEP 625. Modern build tooling automatically
normalize this, however this does not happen for old python versions
(e.g. 2.7, 3.6, 3.7) which makes their upload fail.
I had to apply the same patch to the v1.2.0 release be able to
upload all the python wheels to PyPI, see:

https://github.com/google/brotli/issues/1327#issuecomment-3491479583

ca4fed169b

It makes more sense to have this in here and get rid of the patch,
regardless of when we drop support for those EOL pythons.
2025-11-06 09:19:22 +00:00
dependabot[bot]
b54d27c0f1 Bump github/codeql-action from 4.30.8 to 4.31.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.30.8 to 4.31.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.30.8...0499de31b99561a6d14a36a5f662c2a54f91beee)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-05 12:23:31 +00:00
dependabot[bot]
d00c29a783 Bump actions/setup-node from 5.0.0 to 6.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](a0853c2454...2028fbc5c2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-05 12:23:23 +00:00
dependabot[bot]
781c2698ba Bump actions/download-artifact from 5.0.0 to 6.0.0
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](634f93cb29...018cc2cf5b)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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-05 12:23:17 +00:00
Evgenii Kliuchnikov
1ed8c49aca fix iOS build
PiperOrigin-RevId: 828405754
2025-11-05 04:22:14 -08:00
Evgenii Kliuchnikov
e230f474b8 disable BROTLI_MODEL macro for some targets
PiperOrigin-RevId: 827486322
2025-11-03 07:20:52 -08:00
Evgenii Kliuchnikov
028fb5a236 release v1.2.0
PiperOrigin-RevId: 824484966
v1.2.0
2025-10-27 06:07:48 -07:00
Evgenii Kliuchnikov
390de5b472 build and test csharp decoder
PiperOrigin-RevId: 822490991
2025-10-22 02:21:13 -07:00
Evgenii Kliuchnikov
3499acbb7a regenerate go/kt/js/ts
PiperOrigin-RevId: 822489795
2025-10-22 02:16:51 -07:00
Evgenii Kliuchnikov
8ca2312c61 fix release workflow
PiperOrigin-RevId: 822073417
dev/null v1.2.0rc2
2025-10-21 05:37:07 -07:00
Evgenii Kliuchnikov
ee771daf20 fix copy-paste in Java decoder
PiperOrigin-RevId: 822024938
2025-10-21 02:42:59 -07:00
Evgenii Kliuchnikov
42aee32891 try to fix release workflow
PiperOrigin-RevId: 822012047
2025-10-21 02:03:38 -07:00
Evgenii Kliuchnikov
392c06bac0 redesign release resource uploading
PiperOrigin-RevId: 821982935
2025-10-21 00:22:30 -07:00
Evgenii Kliuchnikov
1964cdb1b9 ramp up all GH actions plugins
PiperOrigin-RevId: 821598646
2025-10-20 05:07:13 -07:00
Evgenii Kliuchnikov
61605b1cb3 pick VCPKG patches
PiperOrigin-RevId: 821593009
2025-10-20 04:44:24 -07:00
Evgenii Kliuchnikov
4b0f27b6f9 pick changes from Alpine patch
PiperOrigin-RevId: 816164347
2025-10-07 05:39:06 -07:00
Evgenii Kliuchnikov
1e4425a372 pick changes from Debian patch
PiperOrigin-RevId: 816157554
2025-10-07 05:16:20 -07:00
Copybara-Service
f038020bd7 Merge pull request #1346 from google:dependabot/github_actions/softprops/action-gh-release-2.3.4
PiperOrigin-RevId: 816151932
2025-10-07 04:56:02 -07:00
Copybara-Service
4d5a32bf45 Merge pull request #1347 from google:dependabot/github_actions/ossf/scorecard-action-2.4.3
PiperOrigin-RevId: 816151799
2025-10-07 04:54:57 -07:00
Evgenii Kliuchnikov
34e43eb020 fix typos
PiperOrigin-RevId: 815676548
v1.2.0rc1
2025-10-06 05:16:07 -07:00
Evgenii Kliuchnikov
b3142143f6 add installation section to README
PiperOrigin-RevId: 815667870
2025-10-06 04:45:22 -07:00
Evgenii Kliuchnikov
0e7ea31e6b add alternative unaligned memory access for MIPS
PiperOrigin-RevId: 815662268
2025-10-06 04:26:03 -07:00