Commit Graph

1174 Commits

Author SHA1 Message Date
Evgenii Kliuchnikov
1045ab52df Fix/simplify/improve Bazel build
PiperOrigin-RevId: 595656443
2024-01-04 03:33:11 -08:00
Evgenii Kliuchnikov
082c9626a4 add test for one-shot encoding/decoding with offset
PiperOrigin-RevId: 595407007
2024-01-03 08:18:52 -08:00
Copybara-Service
fa084310d1 Merge pull request #1102 from google:dependabot/github_actions/actions/setup-python-5.0.0
PiperOrigin-RevId: 595390609
2024-01-03 06:58:46 -08:00
Copybara-Service
0ef82f0c0d Merge pull request #1104 from hyperxpro:encode-fix
PiperOrigin-RevId: 595388650
2024-01-03 06:49:22 -08:00
Eugene Kliuchnikov
79a5e80a59
Merge branch 'master' into encode-fix 2024-01-03 13:34:22 +01:00
dependabot[bot]
7cf649decd
Bump actions/setup-python from 4.7.1 to 5.0.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.1 to 5.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](65d7f2d534...0a5c615913)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 10:51:23 +00:00
Evgenii Kliuchnikov
4c57a6484b drop Bazel JS build
PiperOrigin-RevId: 595345529
2024-01-03 02:50:41 -08:00
Evgenii Kliuchnikov
6b6adb7ae8 fix build for Microsoft-designed ARM64 ABI
PiperOrigin-RevId: 595334901
2024-01-03 02:01:23 -08:00
Aayush Atharva
428d056ddc
Fix Encoder bug 2023-12-28 22:19:02 +05:30
Copybara-Service
fef82ea104 Merge pull request #1091 from google:dependabot/github_actions/actions/setup-python-4.7.1
PiperOrigin-RevId: 589126376
2023-12-08 07:36:21 -08:00
Eugene Kliuchnikov
96b255b95c
Merge branch 'master' into dependabot/github_actions/actions/setup-python-4.7.1 2023-12-08 16:31:08 +01:00
Copybara-Service
0d1a0a4dfd Merge pull request #1095 from google:dependabot/github_actions/ossf/scorecard-action-2.3.1
PiperOrigin-RevId: 589124584
2023-12-08 07:27:13 -08:00
Eugene Kliuchnikov
a6eacaa3e3
Merge branch 'master' into dependabot/github_actions/ossf/scorecard-action-2.3.1 2023-12-08 16:22:45 +01:00
Copybara-Service
421be80782 Merge pull request #1084 from trofi:brotli-cmake-tweaks
PiperOrigin-RevId: 589121646
2023-12-08 07:12:58 -08:00
Eugene Kliuchnikov
adac2b0e7d
Merge branch 'master' into brotli-cmake-tweaks 2023-12-08 15:39:58 +01:00
Eugene Kliuchnikov
bf867c126b
Merge branch 'master' into dependabot/github_actions/actions/setup-python-4.7.1 2023-12-08 15:35:35 +01:00
Eugene Kliuchnikov
a1851fe3f7
Merge branch 'master' into dependabot/github_actions/ossf/scorecard-action-2.3.1 2023-12-08 15:35:19 +01:00
Evgenii Kliuchnikov
6ba678a7ce pull "InputStream" reference out of "pure" code
PiperOrigin-RevId: 586390725
2023-11-29 10:48:18 -08:00
Eugene Kliuchnikov
563078a462
Merge branch 'master' into dependabot/github_actions/ossf/scorecard-action-2.3.1 2023-11-27 15:41:43 +01:00
Evgenii Kliuchnikov
0dff3e5b0d fix CI workflows
PiperOrigin-RevId: 585630137
2023-11-27 06:09:48 -08:00
Eugene Kliuchnikov
c536542bc7
Merge branch 'master' into dependabot/github_actions/ossf/scorecard-action-2.3.1 2023-11-27 12:25:28 +01:00
Evgenii Kliuchnikov
2b6d8654d4 add an option to disable brotli tools
PiperOrigin-RevId: 585593185
2023-11-27 03:13:14 -08:00
dependabot[bot]
0adb12e0a4
Bump ossf/scorecard-action from 2.2.0 to 2.3.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](08b4669551...0864cf1902)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 09:03:11 +00:00
Evgenii Kliuchnikov
9b83be233e fix wording
PiperOrigin-RevId: 576788685
2023-10-26 02:03:20 -07:00
dependabot[bot]
4855abb020
Bump actions/setup-python from 4.7.0 to 4.7.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](61a6322f88...65d7f2d534)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 08:18:41 +00:00
Sergei Trofimovich
cff5803216 CMakeLists.txt: use CMAKE_INSTALL_FULL_MANDIR for mans install
Without the change install just fails for me as `SHARE_INSTALL_PREFIX`
is unset for me.

Following https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
I'm using absolute path expansion to install mans.
2023-09-21 16:39:53 +01:00
Sergei Trofimovich
3ad47114b8 CMakeLists.txt: use CMAKE_INSTALL_FULL_LIBDIR for runpath on darwin
Without the change on systems where `CMAKE_INSTALL_LIBDIR` is an
absolute path outside `CMAKE_INSTALL_PREFIX` (like `nixpkgs`) libraries
ended up embedding wrong RPATH and libraries failed to load.

The change uses suggestion from https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
to use `CMAKE_INSTALL_FULL_LIBDIR` (similar to library install code)
to enbed it as an RPATH.
2023-09-21 16:39:53 +01:00
Copybara-Service
53947c15f5 Merge pull request #1086 from google:dependabot/github_actions/actions/upload-artifact-3.1.3
PiperOrigin-RevId: 566563985
2023-09-19 02:21:54 -07:00
dependabot[bot]
662b00ee63
Bump actions/upload-artifact from 3.1.0 to 3.1.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.0...a8a3f3ad30e3422c9c7b888a15615d19a852ae32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 08:55:54 +00:00
Evgenii Kliuchnikov
ce9c16e882 upload full testdata archive
PiperOrigin-RevId: 565017690
2023-09-13 05:13:57 -07:00
Evgenii Kliuchnikov
63402aa8af use sha-versions for most gh actions
PiperOrigin-RevId: 564692809
2023-09-12 05:49:37 -07:00
Copybara-Service
91d1b2d623 Merge pull request #1079 from google:dependabot/github_actions/actions/checkout-4
PiperOrigin-RevId: 564669791
2023-09-12 03:46:40 -07:00
dependabot[bot]
c308b90e7b
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 06:32:12 +00:00
Copybara-Service
9da1c56448 Merge pull request #1080 from google:dependabot/github_actions/ossf/scorecard-action-2.2.0
PiperOrigin-RevId: 564616141
2023-09-11 23:31:20 -07:00
dependabot[bot]
cd158a41f4
Bump ossf/scorecard-action from 2.1.2 to 2.2.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](e38b1902ae...08b4669551)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 15:32:08 +00:00
Evgenii Kliuchnikov
39527d4a3c add dependabot
PiperOrigin-RevId: 564393796
2023-09-11 08:31:36 -07:00
Evgenii Kliuchnikov
cf95fbb9c5 reword cmake test generator warning
PiperOrigin-RevId: 564371898
2023-09-11 07:08:50 -07:00
Evgenii Kliuchnikov
e8569f79fc test building from the tarball
PiperOrigin-RevId: 564299396
2023-09-11 01:11:59 -07:00
Copybara-Service
896ea7a9a9 Merge pull request #1070 from kloczek:master
PiperOrigin-RevId: 563753673
2023-09-08 08:03:58 -07:00
Eugene Kliuchnikov
7561c2d847
Merge branch 'master' into master 2023-09-07 12:19:02 +02:00
Cosimo Lupo
2ce85662c5
setup.py: add long_description (#1073)
twine (the tool we use to upload packages to PyPI) is currently failing if the long_description (used to render a project's page on PyPI website) is not set. Somehow it complains that it is not well formatted reStructuredText, but it's simply empty...
This looks like a bug, or bad interaction between twince and setuptools, because the field is technically optional.
Also see https://github.com/pypa/twine/issues/960 and https://github.com/pypa/twine/issues/908.

This issue is currently preventing the upload of newly built Brotli v1.1.0 Python wheels to PyPI:
https://github.com/google/brotli-wheels/issues/18#issuecomment-1706910190

Anyway, we may well set the long_description to the content of the README.md file, as it's customary for python projects.
2023-09-07 11:28:09 +02:00
Tomasz Kłoczko
741610efd3 install man pages
cmake modyfication to install man pages.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
2023-08-31 08:47:47 +00:00
Evgenii Kliuchnikov
ed738e842d more sophisticated golang TestEncoderFlush
PiperOrigin-RevId: 560982956
2023-08-29 04:00:29 -07:00
Evgenii Kliuchnikov
e7313b0c4e tune memory manager for BROTLI_EXPERIMENTAL
PiperOrigin-RevId: 560703386
2023-08-28 07:20:49 -07:00
Evgenii Kliuchnikov
c1bd196833 comb HAVE_UTIMENSAT definition
PiperOrigin-RevId: 560011681
2023-08-25 01:07:12 -07:00
Evgenii Kliuchnikov
2a5a088b03 more tuning for BROTLI_EXPERIMENTAL + clean-on-oom
PiperOrigin-RevId: 558771745
2023-08-21 06:36:24 -07:00
Evgenii Kliuchnikov
feb6d8bc80 prepare for 1.1.0rc
PiperOrigin-RevId: 558736892
2023-08-21 03:35:01 -07:00
Evgenii Kliuchnikov
3ebb2d30ab Move serialized dictionary feature behind the flag.
BROTLI_SHARED_DICTIONARY_SERIALIZED enum value is a part of API,
but it should not be used (will cause failures).
Changing how serialized dictionaries work won't be considered as an API change, until this feature is enabled.
Enabling this feature in the future will be considered as a "compatible" change.

PiperOrigin-RevId: 558091676
2023-08-18 02:55:33 -07:00
Evgenii Kliuchnikov
0f2157cc5e Update comment; fixes #1061
PiperOrigin-RevId: 557501089
2023-08-16 08:55:14 -07:00
Evgenii Kliuchnikov
9ff341daaf Replace TS strict_checks with source-level suppressions.
PiperOrigin-RevId: 555445920
2023-08-10 04:46:01 -07:00