Commit Graph

1279 Commits

Author SHA1 Message Date
Evgenii Kliuchnikov
08bdaebbf8 modify Java decoder in a way it could be transpiled to exception unfriendly languages
PiperOrigin-RevId: 769488037
2025-06-10 00:28:15 -07:00
Evgenii Kliuchnikov
271be11429 Prepare for transpilation to golang
PiperOrigin-RevId: 767024321
2025-06-04 01:05:06 -07:00
Evgenii Kliuchnikov
9c91b6a295 Restore bazel-win:go pipeline
PiperOrigin-RevId: 766158407
go/cbrotli/v1.1.0.bcr.0
2025-06-02 05:57:44 -07:00
Brotli
00c6df4d2f Include go bindings in archive export
PiperOrigin-RevId: 766107843
2025-06-02 02:56:27 -07:00
Copybara-Service
e095150b91 Merge pull request #1182 from eugo-inc:master
PiperOrigin-RevId: 765091808
2025-05-30 02:00:59 -07:00
Benjamin Leff
dcc24d051d chore: fixing trailing whitespace in python/README.md 2025-05-28 14:13:46 -05:00
Benjamin Leff
5189ec1f56 Merge branch 'google:master' into master 2025-05-28 14:11:45 -05:00
Evgenii Kliuchnikov
6270bb54fa update CI pipelines
PiperOrigin-RevId: 764197690
2025-05-28 04:18:12 -07:00
Benjamin Leff
0e0ed5f0cc perf: conditionally install pkgconfig if using system brotli 2025-05-27 08:53:51 -05:00
Benjamin Leff
9b7beb425d Merge branch 'google:master' into master 2025-05-27 08:06:30 -05:00
Robin Watts
cecc0acc0b Fix ISO C build breakage. (#1255)
ISO C prohibits inline declarations of variables. Move the
declaration to the start of the block.

Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2025-05-27 09:59:17 +02:00
Richard Hughes
e9668c8cb0 Add a SBOM template in CycloneDX format (#1224)
Improve supply chain security by including a SBOM file with substituted values.

This will be used to construct a composite platform SBOM.

Signed-off-by: Richard Hughes <rhughes@redhat.com>
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2025-05-27 09:50:34 +02:00
Andreas Deininger
93d0ac53aa Fix typos (#1242)
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2025-05-27 09:47:01 +02:00
Christian Clauss
3487b6917d Update bro.py: Fix undefined name in Python code (#1240)
`outfile` is used before it is defined on the following line so use `options.outfile` instead.

% `ruff check`
```
Error: python/bro.py:168:64: F821 Undefined name `outfile`
```

Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
2025-05-27 09:37:03 +02:00
dependabot[bot]
adc546b73a Bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#1252)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](62b2cac7ed...f49aabe0b5)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  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>
2025-05-27 09:31:34 +02:00
dependabot[bot]
b3d7283f96 Bump actions/cache from 4.1.2 to 4.2.3 (#1258)
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.2 to 4.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](6849a64899...5a3ec84eff)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2025-05-27 09:21:49 +02:00
dependabot[bot]
fa308ddae5 Bump actions/upload-artifact from 4.4.3 to 4.6.2 (#1259)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](b4b15b8c7c...ea165f8d65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2025-05-27 09:19:06 +02:00
dependabot[bot]
98cde63332 Bump softprops/action-gh-release from 2.1.0 to 2.2.2 (#1263)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](01570a1f39...da05d55257)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.2.2
  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>
2025-05-27 09:14:31 +02:00
dependabot[bot]
9c55070564 Bump actions/setup-python from 5.3.0 to 5.6.0 (#1265)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](0b93645e9f...a26af69be9)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 5.6.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>
2025-05-27 08:53:21 +02:00
Evgenii Kliuchnikov
440e03642b Another nullptr-arithmetics clamer
PiperOrigin-RevId: 721741817
2025-01-31 05:43:09 -08:00
Evgenii Kliuchnikov
a1e3ab25ce Fix (speculative) nullptr arithmetic
PiperOrigin-RevId: 721739274
2025-01-31 05:34:24 -08:00
Copybara-Service
28b1183715 Merge pull request #1244 from eustas:reno
PiperOrigin-RevId: 716603037
2025-01-17 03:39:55 -08:00
Evgenii Kliuchnikov
ad3c0d5f47 Add release notes for recent python API update 2025-01-17 09:07:22 +00:00
Copybara-Service
67d78bc41d Merge pull request #1234 from robryk:sizelimit
PiperOrigin-RevId: 713282049
2025-01-08 07:18:31 -08:00
Eugene Kliuchnikov
d144c5833a Merge branch 'master' into sizelimit 2025-01-08 12:52:55 +01:00
Copybara-Service
b01b63a467 Merge pull request #1232 from eustas:fixp1
PiperOrigin-RevId: 713231604
2025-01-08 03:41:01 -08:00
Eugene Kliuchnikov
4034fe3654 Merge branch 'master' into sizelimit 2025-01-08 11:50:52 +01:00
Evgenii Kliuchnikov
281b0aa562 Fix most of build_test pipeline 2025-01-08 10:12:41 +00:00
Evgenii Kliuchnikov
57610b7174 translate includes in brotli/research
PiperOrigin-RevId: 713033033
2025-01-07 13:59:40 -08:00
Robert Obryk
eb3a31e2d3 add max_length to Python streaming decompression 2025-01-07 16:28:30 +01:00
Robert Obryk
28ce91caf6 add size limit to buffer 2025-01-07 16:28:30 +01:00
Evgenii Kliuchnikov
7ef8b920dc copybara config update to export /MODULE.bazel
PiperOrigin-RevId: 712795247
2025-01-07 00:07:39 -08:00
Evgenii Kliuchnikov
95b81fcc29 Partially pick https://github.com/google/brotli/pull/1232
PiperOrigin-RevId: 712791222
2025-01-06 23:52:23 -08:00
Brotli
d019271c8b Copybara import of the project:
--
f1bdfaa803 by Robert Obryk <robryk@google.com>:

add size limit to buffer

--
ef8922cee7 by Robert Obryk <robryk@google.com>:

add max_length to Python streaming decompression

PiperOrigin-RevId: 712463460
2025-01-06 03:05:56 -08:00
Copybara-Service
ef9e12f004 Merge pull request #1201 from robryk:sizelimit
PiperOrigin-RevId: 712456783
2025-01-06 02:37:01 -08:00
Robert Obryk
ef8922cee7 add max_length to Python streaming decompression 2025-01-06 11:26:42 +01:00
Copybara-Service
91d96d3d93 Merge pull request #1226 from google:dependabot/github_actions/softprops/action-gh-release-2.1.0
PiperOrigin-RevId: 699885941
2024-11-25 01:12:58 -08:00
dependabot[bot]
cf25e52f9b Bump softprops/action-gh-release from 2.0.2 to 2.1.0
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](d99959edae...01570a1f39)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 09:03:34 +00:00
Copybara-Service
841f672884 Merge pull request #1137 from google:dependabot/github_actions/softprops/action-gh-release-2
PiperOrigin-RevId: 698755745
2024-11-21 06:22:06 -08:00
Evgenii Kliuchnikov
5c66724029 Add dictionary API to cgo wrapper
PiperOrigin-RevId: 698745795
2024-11-21 05:39:04 -08:00
gorloffslava
0ea9927a2b + Improved setup.py formatting
+ Updated dependency resolution for edge cases in setup.py
2024-11-21 16:11:26 +05:00
Slava Gorlov
3a444a6f2d Merge branch 'google:master' into master 2024-11-21 12:26:45 +05:00
Copybara-Service
39904bdfe8 Merge pull request #1185 from dloebl:cbrotli-add-pkg-config-directive
PiperOrigin-RevId: 698329603
2024-11-20 03:26:24 -08:00
Evgenii Kliuchnikov
2dfaadcef3 (PY) clarify compressor mode parameter values
PiperOrigin-RevId: 698023020
2024-11-19 08:15:20 -08:00
dependabot[bot]
b08dc48782 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](de2c0eb89a...d99959edae)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 14:57:49 +01:00
Daniel Lobl
90833a88cd cbrotli: add pkg-config directive 2024-11-19 13:11:56 +01:00
Copybara-Service
2b6efcbdcc Merge pull request #1204 from heshpdx:master
PiperOrigin-RevId: 697922880
2024-11-19 01:42:21 -08:00
Mahesh Madhav
8c6d25f7f8 Update c/enc/encode.c
Co-authored-by: Eugene Kliuchnikov <eustas@google.com>
2024-11-19 09:52:16 +01:00
Mahesh Madhav
782aadd0ff Apply suggestions from code review
Co-authored-by: Eugene Kliuchnikov <eustas@google.com>
2024-11-19 09:52:16 +01:00
Mahesh Madhav
1054ecc262 Add static variables as per code review comments. 2024-11-19 09:52:16 +01:00