|
ed738e84
|
2023-08-29T03:59:55
|
|
more sophisticated golang TestEncoderFlush
PiperOrigin-RevId: 560982956
|
|
e7313b0c
|
2023-08-28T07:20:13
|
|
tune memory manager for BROTLI_EXPERIMENTAL
PiperOrigin-RevId: 560703386
|
|
c1bd1968
|
2023-08-25T01:06:33
|
|
comb HAVE_UTIMENSAT definition
PiperOrigin-RevId: 560011681
|
|
2a5a088b
|
2023-08-21T06:35:47
|
|
more tuning for BROTLI_EXPERIMENTAL + clean-on-oom
PiperOrigin-RevId: 558771745
|
|
feb6d8bc
|
2023-08-21T03:34:13
|
|
prepare for 1.1.0rc
PiperOrigin-RevId: 558736892
|
|
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
|
|
0f2157cc
|
2023-08-16T08:54:37
|
|
Update comment; fixes #1061
PiperOrigin-RevId: 557501089
|
|
9ff341da
|
2023-08-10T04:45:38
|
|
Replace TS strict_checks with source-level suppressions.
PiperOrigin-RevId: 555445920
|
|
8c792304
|
2023-08-09T02:48:12
|
|
reduce amount of padding in decoder structs
PiperOrigin-RevId: 555101669
|
|
a5600898
|
2023-08-03T04:58:16
|
|
speedup q5-9 on large files
PiperOrigin-RevId: 553440457
|
|
0b89871d
|
2023-08-03T01:14:57
|
|
add links to other pages to README.md
PiperOrigin-RevId: 553395376
|
|
ac2c7bb1
|
2023-08-02T03:46:53
|
|
mention used code style
PiperOrigin-RevId: 553095898
|
|
117b68b7
|
2023-08-02T03:04:52
|
|
speedup encoder on q5-9 / 1MB+ files
PiperOrigin-RevId: 553087469
|
|
4125f258
|
2023-08-02T02:49:28
|
|
update GH actions extensions
PiperOrigin-RevId: 553083944
|
|
257884a3
|
2023-07-31T09:36:54
|
|
restore BROTLI_VERSION var in CMake build
PiperOrigin-RevId: 552507047
|
|
d639a81d
|
2023-07-31T07:18:48
|
|
add option to delete files that are not "compressed"
PiperOrigin-RevId: 552472135
|
|
802475e7
|
2023-07-31T17:04:46
|
|
fix missing version in CMake build (#1048)
|
|
27a9a809
|
2023-07-30T03:44:38
|
|
simplify CMake build
PiperOrigin-RevId: 552238545
|
|
0300be36
|
2023-07-28T01:06:17
|
|
add "repeat" to Java toy decoder
PiperOrigin-RevId: 551770992
|
|
4fc753e7
|
2023-07-27T10:39:17
|
|
Merge pull request #1045 from google/eustas-update-export
Update .gitattributes
|
|
0b8d3c61
|
2023-07-26T12:56:04
|
|
Update .gitattributes
Update list of exportes files in root directory
|
|
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
|
|
779a49bf
|
2023-07-20T04:18:18
|
|
bake in runtime constant
PiperOrigin-RevId: 549590409
|
|
acc26565
|
2023-07-19T05:43:51
|
|
Small Python modernization of Brotli code.
PiperOrigin-RevId: 549289787
|
|
4b827e4c
|
2023-07-18T05:23:35
|
|
add CHANGELOG.md
PiperOrigin-RevId: 548971474
|
|
c3dc7d03
|
2023-07-17T05:38:37
|
|
more careful bit-reader interruption
PiperOrigin-RevId: 548661043
|
|
c2848d55
|
2023-07-14T07:25:47
|
|
add synth test for metadata block
PiperOrigin-RevId: 548120163
|
|
de52bc7c
|
2023-07-14T01:03:38
|
|
add "zero cost command" synth test
PiperOrigin-RevId: 548050521
|
|
d1fadddc
|
2023-07-10T07:30:32
|
|
drop make / automake files
PiperOrigin-RevId: 546866478
|
|
2d0947f1
|
2023-07-10T06:00:17
|
|
insert missing fuzz/WORKSPACE content
PiperOrigin-RevId: 546848285
|
|
2e6164d7
|
2023-07-10T11:40:07
|
|
verbose error report in CLI
PiperOrigin-RevId: 546833411
|
|
70e7b1ae
|
2023-07-06T11:56:38
|
|
simplify building of fuzzer
PiperOrigin-RevId: 545950923
|
|
413b0985
|
2023-07-06T08:36:03
|
|
Fix integration .pom
PiperOrigin-RevId: 545910020
|
|
dd3eb162
|
2023-07-05T18:49:09
|
|
Fix JS tests
PiperOrigin-RevId: 545743271
|
|
11b8d7cb
|
2023-07-05T14:12:51
|
|
update .pom files
PiperOrigin-RevId: 545659932
|
|
28257b2e
|
2023-07-05T06:35:14
|
|
refine types in decode.js
PiperOrigin-RevId: 545575363
|
|
bc32ae12
|
2023-07-04T13:01:14
|
|
add tests with UTF8/UTF16 non-ASCII text
PiperOrigin-RevId: 545424981
|
|
6ee96e29
|
2023-07-03T19:13:24
|
|
Internal changes
PiperOrigin-RevId: 545262005
|
|
e252f1fc
|
2023-05-04T15:09:05
|
|
0.5-2.9% decoder speedup
PiperOrigin-RevId: 529412095
|
|
11abde4c
|
2023-04-26T18:32:46
|
|
Add tests for TS brotli decoder
PiperOrigin-RevId: 527326003
|
|
efe140ad
|
2023-04-25T14:56:37
|
|
add brotli.ts
PiperOrigin-RevId: 526966561
|
|
ffbe1123
|
2023-04-25T09:58:13
|
|
JS: stronger typing
PiperOrigin-RevId: 526909255
|
|
e1f5788f
|
2023-04-14T15:46:39
|
|
Fix internal buffer reset
PiperOrigin-RevId: 524301253
|
|
c0a43495
|
2023-04-13T19:50:22
|
|
JS decoder: code combing
PiperOrigin-RevId: 524076677
|
|
3afc509b
|
2023-04-13T16:05:43
|
|
JS decoder: code combing
PiperOrigin-RevId: 524016775
|
|
e9c47ed4
|
2023-04-11T07:17:20
|
|
JS: use strict equality operators
PiperOrigin-RevId: 523319759
|
|
e5dba91c
|
2023-03-28T16:17:13
|
|
Add BROTLI_ENABLE_DUMP build option
PiperOrigin-RevId: 520047051
|
|
745fd08e
|
2023-03-16T20:38:28
|
|
internal change
PiperOrigin-RevId: 517214701
|
|
f29c44ed
|
2023-03-15T13:29:35
|
|
Avoid nullptr with zero offset
PiperOrigin-RevId: 516808122
|
|
cb1ced3a
|
2023-03-15T08:15:19
|
|
speedup decoder by 0.2%-1.2%
PiperOrigin-RevId: 516754779
|
|
57c36a4f
|
2023-03-02T14:49:53
|
|
1.2-2.3% decoder speedup
PiperOrigin-RevId: 513524040
|
|
6db17c87
|
2023-03-01T16:51:03
|
|
0.4-1.5% decoder speedup
PiperOrigin-RevId: 513248503
|
|
6f7f5a16
|
2023-07-03T15:21:44
|
|
Improve CodeQL workflow (#1027)
|
|
e07b6148
|
2023-07-03T14:48:33
|
|
Add CodeQL workflow (#1026)
|
|
ec107cf0
|
2023-07-03T12:28:07
|
|
Create scorecard.yml
Install OSSF scoreboard
|
|
534076fa
|
2023-07-03T05:43:35
|
|
Add support for clang-cl compiler (#1021)
|
|
50ebce10
|
2023-06-22T11:29:08
|
|
Fix Bazel build (#1024)
|
|
bfa15d40
|
2023-06-22T10:27:21
|
|
fuzz: make target resist allocation failures (#1023)
So that fuzzing can go on with simulated allocation failures
|
|
1d8452b7
|
2023-06-20T15:44:23
|
|
Add loongarch64 support (#1022)
|
|
ed1995b6
|
2023-02-01T09:20:28
|
|
Merge pull request #1005 from sullis:enum-values
PiperOrigin-RevId: 506138469
|
|
38e9add9
|
2023-01-31T21:28:34
|
|
Fix permissions
PiperOrigin-RevId: 506096478
|
|
b2c86d18
|
2023-01-30T18:34:24
|
|
Decoder API: added API to attach metadata blocks callbacks
PiperOrigin-RevId: 505734532
|
|
04f294b1
|
2023-01-29T14:16:20
|
|
Fix emitting 1-byte long metadata block
PiperOrigin-RevId: 505484299
|
|
1e61e972
|
2023-01-27T10:16:21
|
|
speed up encoding by ~5 %
PiperOrigin-RevId: 505061835
|
|
2ce0feba
|
2023-01-22T06:30:06
|
|
avoid array allocation in Encoder.Mode enum
|
|
36533a86
|
2023-01-16T18:04:35
|
|
Internal change
PiperOrigin-RevId: 502401179
|
|
71fe6cac
|
2023-01-07T22:01:47
|
|
Fix BrotliEncoderEstimatePeakMemoryUsage (#1002)
Fixes https://github.com/google/brotli/issues/1001
|
|
e3ea91d5
|
2023-01-04T15:38:17
|
|
Java wrapper: allow using partial byte arrays (#999)
|
|
0ea46038
|
2023-01-04T12:10:29
|
|
Fix MSVC warning (#998)
Fix #875
|
|
ce92c956
|
2023-01-03T20:44:14
|
|
brotlidump: fix dictionary file discovery (#997)
|
|
0ff60731
|
2023-01-03T18:24:47
|
|
Add security policy (#996)
|
|
81181ecf
|
2023-01-03T17:18:05
|
|
Cleanup (#995)
|
|
a2cc451d
|
2023-01-03T17:16:17
|
|
Add win release assets (#994)
Fix #983
|
|
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.
|
|
509d4419
|
2022-12-22T16:05:25
|
|
Copy ns time stat (#992)
|
|
81dc1c86
|
2022-12-22T12:15:55
|
|
Ramp up CMake to v3 (#991)
Drive-by: drop premake5 support
|
|
a7b7839f
|
2022-12-21T02:52:31
|
|
Add *.d to gitignore (#975)
|
|
3152d995
|
2022-12-20T17:35:26
|
|
Replace deprecated win-2016 workflows (#990)
* Remplace deprecated win-2016 workflows
* Update action/checkout to v3
|
|
c48ebca4
|
2022-12-20T12:25:26
|
|
Fix bazel build (#989)
|
|
9b537032
|
2022-12-20T11:03:21
|
|
CMake: ensure static libraries are still installed on Emscripten (#988)
Similar to commit ce222e317e36aa362e83fc50c7a6226d238e03fd.
|
|
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.
|
|
3914999f
|
2022-11-17T19:19:55
|
|
Fix typo (#951)
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
f09b2555
|
2022-05-11T11:21:00
|
|
bootstrap: Fix exit code when autoreconf fails (#962)
Fixes:
./bootstrap: line 37: exit: $: numeric argument required
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
8376f72e
|
2021-11-10T10:34:39
|
|
Prepare for copybara (#939)
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
|
|
27dd7265
|
2021-09-14T12:27:45
|
|
Fix -Werror=vla-parameter errors with GCC 11.2.0
|
|
62662f87
|
2021-09-08T09:18:45
|
|
Strip "./" in includes (#925)
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
|
|
698e3a7f
|
2021-08-31T15:24:35
|
|
Update README.md
Fix typo in Gihtub actions badge
|
|
a10269ce
|
2021-08-31T15:22:23
|
|
Update README.md (#923)
|
|
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>
|
|
68f1b90a
|
2021-08-18T19:15:07
|
|
Update (#918)
Prepare to use copybara worklow.
|