Log

Author Commit Date CI Message
Evgenii Kliuchnikov 2a5a088b 2023-08-21T06:35:47 more tuning for BROTLI_EXPERIMENTAL + clean-on-oom PiperOrigin-RevId: 558771745
Evgenii Kliuchnikov feb6d8bc 2023-08-21T03:34:13 prepare for 1.1.0rc PiperOrigin-RevId: 558736892
Evgenii Kliuchnikov 3ebb2d30 2023-08-18T02:55:01 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
Evgenii Kliuchnikov 0f2157cc 2023-08-16T08:54:37 Update comment; fixes #1061 PiperOrigin-RevId: 557501089
Evgenii Kliuchnikov 9ff341da 2023-08-10T04:45:38 Replace TS strict_checks with source-level suppressions. PiperOrigin-RevId: 555445920
Evgenii Kliuchnikov 8c792304 2023-08-09T02:48:12 reduce amount of padding in decoder structs PiperOrigin-RevId: 555101669
Evgenii Kliuchnikov a5600898 2023-08-03T04:58:16 speedup q5-9 on large files PiperOrigin-RevId: 553440457
Evgenii Kliuchnikov 0b89871d 2023-08-03T01:14:57 add links to other pages to README.md PiperOrigin-RevId: 553395376
Evgenii Kliuchnikov ac2c7bb1 2023-08-02T03:46:53 mention used code style PiperOrigin-RevId: 553095898
Evgenii Kliuchnikov 117b68b7 2023-08-02T03:04:52 speedup encoder on q5-9 / 1MB+ files PiperOrigin-RevId: 553087469
Evgenii Kliuchnikov 4125f258 2023-08-02T02:49:28 update GH actions extensions PiperOrigin-RevId: 553083944
Evgenii Kliuchnikov 257884a3 2023-07-31T09:36:54 restore BROTLI_VERSION var in CMake build PiperOrigin-RevId: 552507047
Evgenii Kliuchnikov d639a81d 2023-07-31T07:18:48 add option to delete files that are not "compressed" PiperOrigin-RevId: 552472135
zhongfly 802475e7 2023-07-31T17:04:46 fix missing version in CMake build (#1048)
Evgenii Kliuchnikov 27a9a809 2023-07-30T03:44:38 simplify CMake build PiperOrigin-RevId: 552238545
Evgenii Kliuchnikov 0300be36 2023-07-28T01:06:17 add "repeat" to Java toy decoder PiperOrigin-RevId: 551770992
Jyrki Alakuijala 4fc753e7 2023-07-27T10:39:17 Merge pull request #1045 from google/eustas-update-export Update .gitattributes
Eugene Kliuchnikov 0b8d3c61 2023-07-26T12:56:04 Update .gitattributes Update list of exportes files in root directory
Evgenii Kliuchnikov dbfebd13 2023-07-24T03:29:35 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
Evgenii Kliuchnikov 779a49bf 2023-07-20T04:18:18 bake in runtime constant PiperOrigin-RevId: 549590409
Thomas Fischbacher acc26565 2023-07-19T05:43:51 Small Python modernization of Brotli code. PiperOrigin-RevId: 549289787
Evgenii Kliuchnikov 4b827e4c 2023-07-18T05:23:35 add CHANGELOG.md PiperOrigin-RevId: 548971474
Evgenii Kliuchnikov c3dc7d03 2023-07-17T05:38:37 more careful bit-reader interruption PiperOrigin-RevId: 548661043
Evgenii Kliuchnikov c2848d55 2023-07-14T07:25:47 add synth test for metadata block PiperOrigin-RevId: 548120163
Evgenii Kliuchnikov de52bc7c 2023-07-14T01:03:38 add "zero cost command" synth test PiperOrigin-RevId: 548050521
Evgenii Kliuchnikov d1fadddc 2023-07-10T07:30:32 drop make / automake files PiperOrigin-RevId: 546866478
Evgenii Kliuchnikov 2d0947f1 2023-07-10T06:00:17 insert missing fuzz/WORKSPACE content PiperOrigin-RevId: 546848285
Evgenii Kliuchnikov 2e6164d7 2023-07-10T11:40:07 verbose error report in CLI PiperOrigin-RevId: 546833411
Evgenii Kliuchnikov 70e7b1ae 2023-07-06T11:56:38 simplify building of fuzzer PiperOrigin-RevId: 545950923
Evgenii Kliuchnikov 413b0985 2023-07-06T08:36:03 Fix integration .pom PiperOrigin-RevId: 545910020
Evgenii Kliuchnikov dd3eb162 2023-07-05T18:49:09 Fix JS tests PiperOrigin-RevId: 545743271
Evgenii Kliuchnikov 11b8d7cb 2023-07-05T14:12:51 update .pom files PiperOrigin-RevId: 545659932
Evgenii Kliuchnikov 28257b2e 2023-07-05T06:35:14 refine types in decode.js PiperOrigin-RevId: 545575363
Evgenii Kliuchnikov bc32ae12 2023-07-04T13:01:14 add tests with UTF8/UTF16 non-ASCII text PiperOrigin-RevId: 545424981
Evgenii Kliuchnikov 6ee96e29 2023-07-03T19:13:24 Internal changes PiperOrigin-RevId: 545262005
Evgenii Kliuchnikov e252f1fc 2023-05-04T15:09:05 0.5-2.9% decoder speedup PiperOrigin-RevId: 529412095
Evgenii Kliuchnikov 11abde4c 2023-04-26T18:32:46 Add tests for TS brotli decoder PiperOrigin-RevId: 527326003
Evgenii Kliuchnikov efe140ad 2023-04-25T14:56:37 add brotli.ts PiperOrigin-RevId: 526966561
Evgenii Kliuchnikov ffbe1123 2023-04-25T09:58:13 JS: stronger typing PiperOrigin-RevId: 526909255
Evgenii Kliuchnikov e1f5788f 2023-04-14T15:46:39 Fix internal buffer reset PiperOrigin-RevId: 524301253
Evgenii Kliuchnikov c0a43495 2023-04-13T19:50:22 JS decoder: code combing PiperOrigin-RevId: 524076677
Evgenii Kliuchnikov 3afc509b 2023-04-13T16:05:43 JS decoder: code combing PiperOrigin-RevId: 524016775
Evgenii Kliuchnikov e9c47ed4 2023-04-11T07:17:20 JS: use strict equality operators PiperOrigin-RevId: 523319759
Evgenii Kliuchnikov e5dba91c 2023-03-28T16:17:13 Add BROTLI_ENABLE_DUMP build option PiperOrigin-RevId: 520047051
Evgenii Kliuchnikov 745fd08e 2023-03-16T20:38:28 internal change PiperOrigin-RevId: 517214701
Evgenii Kliuchnikov f29c44ed 2023-03-15T13:29:35 Avoid nullptr with zero offset PiperOrigin-RevId: 516808122
Evgenii Kliuchnikov cb1ced3a 2023-03-15T08:15:19 speedup decoder by 0.2%-1.2% PiperOrigin-RevId: 516754779
Evgenii Kliuchnikov 57c36a4f 2023-03-02T14:49:53 1.2-2.3% decoder speedup PiperOrigin-RevId: 513524040
Evgenii Kliuchnikov 6db17c87 2023-03-01T16:51:03 0.4-1.5% decoder speedup PiperOrigin-RevId: 513248503
Eugene Kliuchnikov 6f7f5a16 2023-07-03T15:21:44 Improve CodeQL workflow (#1027)
Eugene Kliuchnikov e07b6148 2023-07-03T14:48:33 Add CodeQL workflow (#1026)
Eugene Kliuchnikov ec107cf0 2023-07-03T12:28:07 Create scorecard.yml Install OSSF scoreboard
Felix Hanau 534076fa 2023-07-03T05:43:35 Add support for clang-cl compiler (#1021)
Eugene Kliuchnikov 50ebce10 2023-06-22T11:29:08 Fix Bazel build (#1024)
Catena cyber bfa15d40 2023-06-22T10:27:21 fuzz: make target resist allocation failures (#1023) So that fuzzing can go on with simulated allocation failures
Zhang Na 1d8452b7 2023-06-20T15:44:23 Add loongarch64 support (#1022)
Evgenii Kliuchnikov ed1995b6 2023-02-01T09:20:28 Merge pull request #1005 from sullis:enum-values PiperOrigin-RevId: 506138469
Evgenii Kliuchnikov 38e9add9 2023-01-31T21:28:34 Fix permissions PiperOrigin-RevId: 506096478
Evgenii Kliuchnikov b2c86d18 2023-01-30T18:34:24 Decoder API: added API to attach metadata blocks callbacks PiperOrigin-RevId: 505734532
Evgenii Kliuchnikov 04f294b1 2023-01-29T14:16:20 Fix emitting 1-byte long metadata block PiperOrigin-RevId: 505484299
Brotli 1e61e972 2023-01-27T10:16:21 speed up encoding by ~5 % PiperOrigin-RevId: 505061835
Sean C. Sullivan 2ce0feba 2023-01-22T06:30:06 avoid array allocation in Encoder.Mode enum
Brotli 36533a86 2023-01-16T18:04:35 Internal change PiperOrigin-RevId: 502401179
Aron Parker 71fe6cac 2023-01-07T22:01:47 Fix BrotliEncoderEstimatePeakMemoryUsage (#1002) Fixes https://github.com/google/brotli/issues/1001
Eugene Kliuchnikov e3ea91d5 2023-01-04T15:38:17 Java wrapper: allow using partial byte arrays (#999)
Eugene Kliuchnikov 0ea46038 2023-01-04T12:10:29 Fix MSVC warning (#998) Fix #875
Eugene Kliuchnikov ce92c956 2023-01-03T20:44:14 brotlidump: fix dictionary file discovery (#997)
Eugene Kliuchnikov 0ff60731 2023-01-03T18:24:47 Add security policy (#996)
Eugene Kliuchnikov 81181ecf 2023-01-03T17:18:05 Cleanup (#995)
Eugene Kliuchnikov a2cc451d 2023-01-03T17:16:17 Add win release assets (#994) Fix #983
Ma Lin c8df4b30 2022-12-29T21:07:16 Python: use a new output buffer code (#902) Currently, the output buffer is a std::vector<uint8_t>. When the buffer grows, resizing will cause unnecessary memcpy(). This change uses a list of bytes object to represent output buffer, can avoid the extra overhead of resizing. In addition, C++ code can be removed, it's a pure C extension.
Eugene Kliuchnikov 509d4419 2022-12-22T16:05:25 Copy ns time stat (#992)
Eugene Kliuchnikov 81dc1c86 2022-12-22T12:15:55 Ramp up CMake to v3 (#991) Drive-by: drop premake5 support
Jack a7b7839f 2022-12-21T02:52:31 Add *.d to gitignore (#975)
Eugene Kliuchnikov 3152d995 2022-12-20T17:35:26 Replace deprecated win-2016 workflows (#990) * Remplace deprecated win-2016 workflows * Update action/checkout to v3
Eugene Kliuchnikov c48ebca4 2022-12-20T12:25:26 Fix bazel build (#989)
Kleis Auke Wolthuizen 9b537032 2022-12-20T11:03:21 CMake: ensure static libraries are still installed on Emscripten (#988) Similar to commit ce222e317e36aa362e83fc50c7a6226d238e03fd.
Adrian Perez 641bec0e 2022-12-16T12:42:42 CMake: Allow using BUILD_SHARED_LIBS to choose static/shared libs (#655) By convention projects using CMake which can build either static or shared libraries use a BUILD_SHARED_LIBS flag to allow selecting between both: the add_library() command automatically switches between both using this variable when the library kind is not passed to add_library(). It is also usual to expose the BUILD_SHARED_LIBS as an user-facing setting with the option() command. This way, the following will both work as expected: % cmake -DBUILD_SHARED_LIBS=OFF ... % cmake -DBUILS_SHARED_LIBS=ON ... This is helpful for distributions which need (or want) to build only static libraries.
Aayush Atharva 3914999f 2022-11-17T19:19:55 Fix typo (#951)
Lukas Oberhuber f842c1bc 2022-11-17T13:37:20 fix macos rpath (#976) Without this patch, the three libraries are not provided with valid rpaths, meaning they are not packaged correctly for macos. c.f. https://github.com/google/brotli/issues/934 (which is a similar issue) but should be fixed by this fix as well. Also https://gitlab.gnome.org/Infrastructure/gimp-macos-build/-/merge_requests/129
Michal Josef Špaček ae212a79 2022-11-17T14:31:35 Fix bootstrap version computing with custom bc (#978) When i have ~/.bc configuration file with content: scale=2 which is changing default behaviour (scale=0), bootstrap is not working.
Evgenii Kliuchnikov a8f5813b 2022-11-17T13:03:09 Update Documentation: - add note that brotli is a "stream" format, not an archive-like - regenerate .1 with Pandoc Build: - drop legacy "BROTLI_BUILD_PORTABLE" option - drop "BROTLI_SANITIZED" definition Code: - c: comb includes - c/enc: extract encoder state into separate header - c/enc: drop designated q10 codepath - c/enc: dealing better with flushing of empty stream - fix MSVC compilation API: - py: use library version instead of one in version.h - c: add plugable API to report consumed input / produced output - c/java: support "lean" prepared dictionaries (without copy of source)
清靈語 388d0d53 2022-11-16T01:39:13 add pyproject.toml (#987) * add pyproject.toml pypa/pip#8559 https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#fallback-behaviour * modify requirements https://github.com/google/brotli/pull/987#issuecomment-1315486841
Keith Smiley 6d03dfbe 2022-10-25T12:29:58 Fix -Wstrict-prototypes warnings (#985) Envoy builds brotli with -Werror, and these strict prototypes are picked up by newer versions of clang.
Anonymous Maarten 9801a2c5 2022-05-12T09:50:48 Wrap interface include directories with BUILD_INTERFACE generator expression (#966) * Wrap interface include directories with BUILD_INTERFACE generator expression When exporting a CMake target using install(TARGETS) + install(EXPORT), CMake requires all include directories to be clean of build system directories. https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.html This change also allows use of brotli as a CMake subproject and installing + exporting it. * Fix typo in generator expression
Ryan Schmidt f09b2555 2022-05-11T11:21:00 bootstrap: Fix exit code when autoreconf fails (#962) Fixes: ./bootstrap: line 37: exit: $: numeric argument required
Ryan Schmidt c9eb8569 2022-05-11T11:20:39 Fix bootstrap on macOS (#965) * bootstrap: Verify functionality of sed Check for the existence of sed by running a simple substitution rather than using the --version flag. This lets us remove the weird exclusion of FreeBSD from checking the sed requirement, and fixes checking the sed requirement on other systems like macOS that use BSD sed, which doesn't support --version. * bootstrap: Detect flag for sed extended RE Detect whether sed needs -E or -r to enable extended regular expressions. Fixes bootstrap on macOS, whose BSD sed does not support -r. GNU sed has supported -E as a synonym for -r since version 4.2 (2009), initially as an undocumented option for compatibility with BSD sed: http://git.savannah.gnu.org/cgit/sed.git/commit/sed/sed.c?id=3a8e165ab02487c372df217c1989e287625ce0ae and later as a documented option after -E became POSIX: http://git.savannah.gnu.org/cgit/sed.git/commit/sed/sed.c?id=8b65e07904384b529a464c89f3739d2e7e4d5135
Marco Scardovi f4153a09 2022-01-10T11:08:10 Fix for future versions of python (#911) Starting python 3.10, the use of - instead of _ will get a warn (see https://bugs.gentoo.org/796281 for reference) Signed-off-by: Marco Scardovi <marco@scardovi.com>
Mohammad Bahoosh e83c7b8e 2021-12-15T02:28:25 Supress cmake warning (#931) Not providing VERSION to "project" command will cause a warning. Since this project's version is loaded from other files, this policy will help suppress the warning generated by cmake. This policy is set because we can't provide "VERSION" in "project" command. Use `cmake --help-policy CMP0048` for more information
Jyrki Alakuijala 4ec67035 2021-12-07T01:47:07 Merge pull request #929 from jbms/fix-vla-parameter Fix -Werror=vla-parameter errors with GCC 11.2.0
Eugene Kliuchnikov 8376f72e 2021-11-10T10:34:39 Prepare for copybara (#939) Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
Jeremy Maitin-Shepard 27dd7265 2021-09-14T12:27:45 Fix -Werror=vla-parameter errors with GCC 11.2.0
Eugene Kliuchnikov 62662f87 2021-09-08T09:18:45 Strip "./" in includes (#925) Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
Eugene Kliuchnikov 698e3a7f 2021-08-31T15:24:35 Update README.md Fix typo in Gihtub actions badge
Eugene Kliuchnikov a10269ce 2021-08-31T15:22:23 Update README.md (#923)
Eugene Kliuchnikov 0e42caf3 2021-08-31T14:07:17 Migrate to github actions (#920) Not all combinations are migrated to the initial configuration; corresponding TODOs added. Drive-by: additional combinations uncovered minor portability problems -> fixed Drive-by: remove no-longer used "script" files. Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
Eugene Kliuchnikov 68f1b90a 2021-08-18T19:15:07 Update (#918) Prepare to use copybara worklow.
Eugene Kliuchnikov 19d86fb9 2021-08-04T14:42:02 Merge-in SharedDictionary feature (#916) Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
Eugene Kliuchnikov 630b5084 2021-07-29T22:29:43 Update (#914) * slimmer stack frames in encoder * fix MSAN problem in hasher_composite (not dangerous, only in large_window mode) * fix JNI decoder wrapper - power-of-two payloads fail to decode sometimes * reformat polyfil.js and decode_test.js
Dirk Lemstra ce222e31 2021-06-23T10:12:21 Enabled install when building with emscripten. (#906) * Enabled install when building with emscripten. * Also install the pkg-config files.