Commit Graph

1207 Commits

Author SHA1 Message Date
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
Evgenii Kliuchnikov
8c7923045a reduce amount of padding in decoder structs
PiperOrigin-RevId: 555101669
2023-08-09 02:48:53 -07:00
Evgenii Kliuchnikov
a560089843 speedup q5-9 on large files
PiperOrigin-RevId: 553440457
2023-08-03 04:58:52 -07:00
Evgenii Kliuchnikov
0b89871d86 add links to other pages to README.md
PiperOrigin-RevId: 553395376
2023-08-03 01:15:22 -07:00
Evgenii Kliuchnikov
ac2c7bb179 mention used code style
PiperOrigin-RevId: 553095898
2023-08-02 03:47:37 -07:00
Evgenii Kliuchnikov
117b68b745 speedup encoder on q5-9 / 1MB+ files
PiperOrigin-RevId: 553087469
2023-08-02 03:05:57 -07:00
Evgenii Kliuchnikov
4125f2587c update GH actions extensions
PiperOrigin-RevId: 553083944
2023-08-02 02:50:11 -07:00
Evgenii Kliuchnikov
257884a3c5 restore BROTLI_VERSION var in CMake build
PiperOrigin-RevId: 552507047
2023-07-31 09:37:29 -07:00
Evgenii Kliuchnikov
d639a81d35 add option to delete files that are not "compressed"
PiperOrigin-RevId: 552472135
2023-07-31 07:19:14 -07:00
zhongfly
802475e724
fix missing version in CMake build (#1048) 2023-07-31 11:04:46 +02:00
Evgenii Kliuchnikov
27a9a80992 simplify CMake build
PiperOrigin-RevId: 552238545
2023-07-30 03:45:11 -07:00
Evgenii Kliuchnikov
0300be36ba add "repeat" to Java toy decoder
PiperOrigin-RevId: 551770992
2023-07-28 01:06:50 -07:00
Jyrki Alakuijala
4fc753e707
Merge pull request #1045 from google/eustas-update-export
Update .gitattributes
2023-07-27 10:39:17 +02:00
Eugene Kliuchnikov
0b8d3c6107
Update .gitattributes
Update list of exportes files in root directory
2023-07-26 12:56:04 +02:00
Evgenii Kliuchnikov
dbfebd13dc Workaround for GitHub / CodeQL bug
Sometimes GitHub Actions uses bare branch name whereas CodeQL always expects ref.
See https://github.com/github/codeql-action/issues/796

PiperOrigin-RevId: 550504283
2023-07-24 03:30:15 -07:00
Evgenii Kliuchnikov
779a49bfd6 bake in runtime constant
PiperOrigin-RevId: 549590409
2023-07-20 04:18:46 -07:00
Thomas Fischbacher
acc265655d Small Python modernization of Brotli code.
PiperOrigin-RevId: 549289787
2023-07-19 05:44:36 -07:00
Evgenii Kliuchnikov
4b827e4ce4 add CHANGELOG.md
PiperOrigin-RevId: 548971474
2023-07-18 05:24:13 -07:00