Merge pull request #1392 from cclauss:comprehensions PiperOrigin-RevId: 836153778
Recent Commits to brotli:master
-
Merge pull request #1392 from cclauss:comprehensions
-
Merge branch 'master' into comprehensions
Merge branch 'master' into comprehensions
-
Fix one-off in dcheck.
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
-
Merge branch 'master' into comprehensions
Merge branch 'master' into comprehensions
-
Merge pull request #1397 from google:dependabot/github_actions/action…
Merge pull request #1397 from google:dependabot/github_actions/actions/checkout-6.0.0 PiperOrigin-RevId: 836136994
-
Bump actions/checkout from 5.0.0 to 6.0.0
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](https://github.com/actions/checkout/compare/08c6903cd8c0fde910a37f88322edcfb5dd907a8...1af3b93b6815bc44a9784bd300feb67ff0d1eeb3) --- 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>
-
Add ruff rule PERF for performance
Add ruff rule PERF for performance
-
Merge pull request #1391 from cclauss:ruff
Merge pull request #1391 from cclauss:ruff PiperOrigin-RevId: 834609353
-
Merge pull request #1388 from google:dependabot/github_actions/github…
Merge pull request #1388 from google:dependabot/github_actions/github/codeql-action-4.31.3 PiperOrigin-RevId: 834609287
-
Lint Python code with ruff
Lint Python code with ruff
-
Bump github/codeql-action from 4.31.2 to 4.31.3
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](https://github.com/github/codeql-action/compare/0499de31b99561a6d14a36a5f662c2a54f91beee...014f16e7ab1402f30e7c3329d33797e7948572db) --- 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>
-
Modernize tests.
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
-
fix man installation dir
fix man installation dir PiperOrigin-RevId: 830898574
-
Merge pull request #1383 from google:dependabot/github_actions/step-s…
Merge pull request #1383 from google:dependabot/github_actions/step-security/harden-runner-2.13.2 PiperOrigin-RevId: 830866924
-
Bump step-security/harden-runner from 2.13.1 to 2.13.2
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](https://github.com/step-security/harden-runner/compare/f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a...95d9a5deda9de15063e7595e9719c11c38c90ae2) --- 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>
-
Drop Py 3.9- support
Drop Py 3.9- support PiperOrigin-RevId: 830342213
-
fix JavaDoc warnings
fix JavaDoc warnings PiperOrigin-RevId: 829420925
-
Merge pull request #1374 from google:dependabot/github_actions/github…
Merge pull request #1374 from google:dependabot/github_actions/github/codeql-action-4.31.2 PiperOrigin-RevId: 829379228
-
Merge pull request #1365 from google:dependabot/github_actions/action…
Merge pull request #1365 from google:dependabot/github_actions/actions/setup-node-6.0.0 PiperOrigin-RevId: 829379009
-
Merge pull request #1364 from google:dependabot/github_actions/action…
Merge pull request #1364 from google:dependabot/github_actions/actions/download-artifact-6.0.0 PiperOrigin-RevId: 829378980
-
Merge pull request #1379 from Cycloctane:fix-docstring
Merge pull request #1379 from Cycloctane:fix-docstring PiperOrigin-RevId: 829349146
-
fix method name in python Decompressor docstring
fix method name in python Decompressor docstring
-
Merge branch 'master' into dependabot/github_actions/actions/download…
Merge branch 'master' into dependabot/github_actions/actions/download-artifact-6.0.0
-
Merge branch 'master' into dependabot/github_actions/actions/setup-no…
Merge branch 'master' into dependabot/github_actions/actions/setup-node-6.0.0
-
Merge branch 'master' into dependabot/github_actions/github/codeql-ac…
Merge branch 'master' into dependabot/github_actions/github/codeql-action-4.31.2
-
Merge pull request #1376 from anthrotype:normalize-py-name
Merge pull request #1376 from anthrotype:normalize-py-name PiperOrigin-RevId: 828867720
-
[setup.py] Use PEP625-compliant lowercase 'brotli' package name
[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 https://github.com/google/brotli-wheels/commit/ca4fed169bb72d09d0263feb34853247da9f4a45 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.
-
Bump github/codeql-action from 4.30.8 to 4.31.2
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>
-
Bump actions/setup-node from 5.0.0 to 6.0.0
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](https://github.com/actions/setup-node/compare/a0853c24544627f65ddf259abe73b1d18a591444...2028fbc5c25fe9cf00d9f06a71cc4710d4507903) --- 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>
-
Bump actions/download-artifact from 5.0.0 to 6.0.0
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](https://github.com/actions/download-artifact/compare/634f93cb2916e3fdff6788551b99b062d0335ce0...018cc2cf5baa6db3ef3c5f8a56943fffe632ef53) --- 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>
-
fix iOS build
fix iOS build PiperOrigin-RevId: 828405754
-
disable BROTLI_MODEL macro for some targets
disable BROTLI_MODEL macro for some targets PiperOrigin-RevId: 827486322