Commit Graph

1108 Commits

Author SHA1 Message Date
Evgenii Kliuchnikov
4b827e4ce4 add CHANGELOG.md
PiperOrigin-RevId: 548971474
2023-07-18 05:24:13 -07:00
Evgenii Kliuchnikov
c3dc7d039c more careful bit-reader interruption
PiperOrigin-RevId: 548661043
2023-07-17 05:39:13 -07:00
Evgenii Kliuchnikov
c2848d5537 add synth test for metadata block
PiperOrigin-RevId: 548120163
2023-07-14 07:26:14 -07:00
Evgenii Kliuchnikov
de52bc7ce0 add "zero cost command" synth test
PiperOrigin-RevId: 548050521
2023-07-14 01:06:00 -07:00
Evgenii Kliuchnikov
d1fadddc94 drop make / automake files
PiperOrigin-RevId: 546866478
2023-07-10 07:31:18 -07:00
Evgenii Kliuchnikov
2d0947f1ea insert missing fuzz/WORKSPACE content
PiperOrigin-RevId: 546848285
2023-07-10 07:31:03 -07:00
Evgenii Kliuchnikov
2e6164d7b0 verbose error report in CLI
PiperOrigin-RevId: 546833411
2023-07-10 11:43:42 +00:00
Evgenii Kliuchnikov
70e7b1ae4a simplify building of fuzzer
PiperOrigin-RevId: 545950923
2023-07-10 11:43:27 +00:00
Evgenii Kliuchnikov
413b098564 Fix integration .pom
PiperOrigin-RevId: 545910020
2023-07-06 08:38:57 +00:00
Evgenii Kliuchnikov
dd3eb162b0 Fix JS tests
PiperOrigin-RevId: 545743271
2023-07-05 19:15:41 +00:00
Evgenii Kliuchnikov
11b8d7cb8a update .pom files
PiperOrigin-RevId: 545659932
2023-07-05 19:15:32 +00:00
Evgenii Kliuchnikov
28257b2e67 refine types in decode.js
PiperOrigin-RevId: 545575363
2023-07-05 19:15:24 +00:00
Evgenii Kliuchnikov
bc32ae12d5 add tests with UTF8/UTF16 non-ASCII text
PiperOrigin-RevId: 545424981
2023-07-05 19:15:11 +00:00
Evgenii Kliuchnikov
6ee96e291d Internal changes
PiperOrigin-RevId: 545262005
2023-07-04 07:55:25 +00:00
Evgenii Kliuchnikov
e252f1fc15 0.5-2.9% decoder speedup
PiperOrigin-RevId: 529412095
2023-07-04 07:55:16 +00:00
Evgenii Kliuchnikov
11abde4c96 Add tests for TS brotli decoder
PiperOrigin-RevId: 527326003
2023-07-04 07:55:06 +00:00
Evgenii Kliuchnikov
efe140adae add brotli.ts
PiperOrigin-RevId: 526966561
2023-07-04 07:54:57 +00:00
Evgenii Kliuchnikov
ffbe112328 JS: stronger typing
PiperOrigin-RevId: 526909255
2023-07-04 07:54:49 +00:00
Evgenii Kliuchnikov
e1f5788fb0 Fix internal buffer reset
PiperOrigin-RevId: 524301253
2023-07-04 07:54:41 +00:00
Evgenii Kliuchnikov
c0a43495ea JS decoder: code combing
PiperOrigin-RevId: 524076677
2023-07-04 07:54:32 +00:00
Evgenii Kliuchnikov
3afc509b84 JS decoder: code combing
PiperOrigin-RevId: 524016775
2023-07-04 07:54:24 +00:00
Evgenii Kliuchnikov
e9c47ed469 JS: use strict equality operators
PiperOrigin-RevId: 523319759
2023-07-04 07:54:16 +00:00
Evgenii Kliuchnikov
e5dba91c38 Add BROTLI_ENABLE_DUMP build option
PiperOrigin-RevId: 520047051
2023-07-04 07:54:07 +00:00
Evgenii Kliuchnikov
745fd08ef2 internal change
PiperOrigin-RevId: 517214701
2023-07-04 07:53:59 +00:00
Evgenii Kliuchnikov
f29c44ed38 Avoid nullptr with zero offset
PiperOrigin-RevId: 516808122
2023-07-04 07:53:51 +00:00
Evgenii Kliuchnikov
cb1ced3a25 speedup decoder by 0.2%-1.2%
PiperOrigin-RevId: 516754779
2023-07-04 07:53:42 +00:00
Evgenii Kliuchnikov
57c36a4f27 1.2-2.3% decoder speedup
PiperOrigin-RevId: 513524040
2023-07-04 07:53:33 +00:00
Evgenii Kliuchnikov
6db17c87f5 0.4-1.5% decoder speedup
PiperOrigin-RevId: 513248503
2023-07-04 07:53:20 +00:00
Eugene Kliuchnikov
6f7f5a163d
Improve CodeQL workflow (#1027) 2023-07-03 15:21:44 +02:00
Eugene Kliuchnikov
e07b6148fd
Add CodeQL workflow (#1026) 2023-07-03 14:48:33 +02:00
Eugene Kliuchnikov
ec107cf015
Create scorecard.yml
Install OSSF scoreboard
2023-07-03 12:28:07 +02:00
Felix Hanau
534076fa67
Add support for clang-cl compiler (#1021) 2023-07-03 11:43:35 +02:00
Eugene Kliuchnikov
50ebce107f
Fix Bazel build (#1024) 2023-06-22 11:29:08 +02:00
Catena cyber
bfa15d4046
fuzz: make target resist allocation failures (#1023)
So that fuzzing can go on with simulated allocation failures
2023-06-22 10:27:21 +02:00
Zhang Na
1d8452b783
Add loongarch64 support (#1022) 2023-06-20 09:44:23 +02:00
Evgenii Kliuchnikov
ed1995b6bd Merge pull request #1005 from sullis:enum-values
PiperOrigin-RevId: 506138469
2023-02-01 09:20:28 +00:00
Evgenii Kliuchnikov
38e9add9d2 Fix permissions
PiperOrigin-RevId: 506096478
2023-02-01 09:20:14 +00:00
Evgenii Kliuchnikov
b2c86d1871 Decoder API: added API to attach metadata blocks callbacks
PiperOrigin-RevId: 505734532
2023-01-31 16:03:16 +00:00
Evgenii Kliuchnikov
04f294b18a Fix emitting 1-byte long metadata block
PiperOrigin-RevId: 505484299
2023-01-30 09:10:28 +00:00
Brotli
1e61e972fb speed up encoding by ~5 %
PiperOrigin-RevId: 505061835
2023-01-30 09:10:14 +00:00
Sean C. Sullivan
2ce0feba3c avoid array allocation in Encoder.Mode enum 2023-01-22 06:30:06 -08:00
Brotli
36533a866e Internal change
PiperOrigin-RevId: 502401179
2023-01-17 13:51:00 +00:00
Aron Parker
71fe6cac06
Fix BrotliEncoderEstimatePeakMemoryUsage (#1002)
Fixes https://github.com/google/brotli/issues/1001
2023-01-07 22:01:47 +01:00
Eugene Kliuchnikov
e3ea91d5c9
Java wrapper: allow using partial byte arrays (#999) 2023-01-04 15:38:17 +01:00
Eugene Kliuchnikov
0ea4603880
Fix MSVC warning (#998)
Fix #875
2023-01-04 12:10:29 +01:00
Eugene Kliuchnikov
ce92c95601
brotlidump: fix dictionary file discovery (#997) 2023-01-03 20:44:14 +01:00
Eugene Kliuchnikov
0ff60731f8
Add security policy (#996) 2023-01-03 18:24:47 +01:00
Eugene Kliuchnikov
81181ecfb6
Cleanup (#995) 2023-01-03 17:18:05 +01:00
Eugene Kliuchnikov
a2cc451df2
Add win release assets (#994)
Fix #983
2023-01-03 17:16:17 +01:00
Ma Lin
c8df4b3049
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.
2022-12-29 14:07:16 +01:00