Evgenii Kliuchnikov
ee771daf20
fix copy-paste in Java decoder
...
PiperOrigin-RevId: 822024938
2025-10-21 02:42:59 -07:00
Evgenii Kliuchnikov
34e43eb020
fix typos
...
PiperOrigin-RevId: 815676548
2025-10-06 05:16:07 -07:00
Evgenii Kliuchnikov
da2e091eb7
prepare for v1.2.0.rc1
...
PiperOrigin-RevId: 815650799
2025-10-06 03:48:49 -07:00
Evgenii Kliuchnikov
a896e79d4f
Java: ramp-up artifact versions in pom files
...
PiperOrigin-RevId: 813673237
2025-10-01 03:26:40 -07:00
Evgenii Kliuchnikov
85d46ce6b5
Drop finalize()
...
Now it is solely embedders responisbility to close things that hold native resources. No more "safety net".
Consider "try-with-resources". For longer lasting items (e.g. native PreparedDictionary) use Cleaner as a last resort.
PiperOrigin-RevId: 807584792
2025-09-16 01:23:46 -07:00
Evgenii Kliuchnikov
9a4ba5932b
internal change
...
PiperOrigin-RevId: 795452145
2025-08-15 06:18:41 -07:00
Evgenii Kliuchnikov
3efb30f96b
Comb UTF-8 literal processing
...
PiperOrigin-RevId: 770672448
2025-06-12 08:48:11 -07:00
Evgenii Kliuchnikov
ee5f3bb959
Refresh JS/TS/KT
...
PiperOrigin-RevId: 769617330
2025-06-10 07:08:25 -07:00
Evgenii Kliuchnikov
08bdaebbf8
modify Java decoder in a way it could be transpiled to exception unfriendly languages
...
PiperOrigin-RevId: 769488037
2025-06-10 00:28:15 -07:00
Evgenii Kliuchnikov
271be11429
Prepare for transpilation to golang
...
PiperOrigin-RevId: 767024321
2025-06-04 01:05:06 -07:00
Evgenii Kliuchnikov
6270bb54fa
update CI pipelines
...
PiperOrigin-RevId: 764197690
2025-05-28 04:18:12 -07:00
Andreas Deininger
93d0ac53aa
Fix typos ( #1242 )
...
Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com >
2025-05-27 09:47:01 +02:00
Evgenii Kliuchnikov
281b0aa562
Fix most of build_test pipeline
2025-01-08 10:12:41 +00:00
Evgenii Kliuchnikov
95b81fcc29
Partially pick https://github.com/google/brotli/pull/1232
...
PiperOrigin-RevId: 712791222
2025-01-06 23:52:23 -08:00
Evgenii Kliuchnikov
7347e81db5
Fix Java Bazel build
2024-11-11 15:54:47 +00:00
Evgenii Kliuchnikov
4303850b01
No public description
...
PiperOrigin-RevId: 695336284
2024-11-11 07:51:35 -08:00
Michael Hoisie
8a626fd486
No public description
...
PiperOrigin-RevId: 636183145
2024-05-22 08:54:21 -07:00
Brotli
b6f2d49feb
Add load() statements for the builtin Bazel java rules
...
Loads are being added in preparation for moving the rules out of Bazel and into `rules_java`.
PiperOrigin-RevId: 621489058
2024-04-03 05:18:26 -07:00
Evgenii Kliuchnikov
ccec9628e4
add pure-kotlin decoder
...
PiperOrigin-RevId: 608917286
2024-02-21 02:33:05 -08:00
Evgenii Kliuchnikov
c1362a7903
further preparations for Kotlin transpilation
...
PiperOrigin-RevId: 603638823
2024-02-02 03:26:50 -08:00
Evgenii Kliuchnikov
200f37984a
prepare java decoder for transpilation to Kotlin
...
PiperOrigin-RevId: 601023149
2024-01-23 23:47:13 -08:00
Evgenii Kliuchnikov
02458f3443
further simplify Java build
...
PiperOrigin-RevId: 598790414
2024-01-16 03:37:10 -08:00
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
Aayush Atharva
428d056ddc
Fix Encoder bug
2023-12-28 22:19:02 +05:30
Evgenii Kliuchnikov
6ba678a7ce
pull "InputStream" reference out of "pure" code
...
PiperOrigin-RevId: 586390725
2023-11-29 10:48:18 -08: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
0300be36ba
add "repeat" to Java toy decoder
...
PiperOrigin-RevId: 551770992
2023-07-28 01:06:50 -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
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
11b8d7cb8a
update .pom files
...
PiperOrigin-RevId: 545659932
2023-07-05 19:15:32 +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
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
Eugene Kliuchnikov
e3ea91d5c9
Java wrapper: allow using partial byte arrays ( #999 )
2023-01-04 15:38:17 +01:00
Eugene Kliuchnikov
c48ebca4a8
Fix bazel build ( #989 )
2022-12-20 12:25:26 +01:00
Aayush Atharva
3914999fcc
Fix typo ( #951 )
2022-11-17 14:49:55 +01:00
Evgenii Kliuchnikov
a8f5813b84
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)
2022-11-17 13:03:09 +00:00
Eugene Kliuchnikov
8376f72ed6
Prepare for copybara ( #939 )
...
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org >
2021-11-10 10:34:39 +01:00
Eugene Kliuchnikov
62662f87cd
Strip "./" in includes ( #925 )
...
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org >
2021-09-08 09:18:45 +02:00
Eugene Kliuchnikov
0e42caf359
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 >
2021-08-31 14:07:17 +02:00
Eugene Kliuchnikov
68f1b90ad0
Update ( #918 )
...
Prepare to use copybara worklow.
2021-08-18 19:15:07 +02:00
Eugene Kliuchnikov
19d86fb9a6
Merge-in SharedDictionary feature ( #916 )
...
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org >
2021-08-04 14:42:02 +02:00
Eugene Kliuchnikov
630b5084ee
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
2021-07-29 22:29:43 +02:00
Eugene Kliuchnikov
f8c6717745
Update ( #908 )
...
* re-enable Js build/test
* improve decoder performance
* rewrite dictionary data in Java/Js to a shorter uncompressed form
* improve dictionary generation tool
2021-06-23 09:40:57 +02:00
Martin Grigorov
bbe5d72ba3
[Java] make it possible to set modes (generic, text, font) ( #887 )
...
* [Java] make it possible to set modes (generic, text, font)
2021-03-24 21:23:03 +01:00
Eugene Kliuchnikov
2f9277ff2f
Update bazel WORKSPACE files ( #896 )
...
* Update bazel WORKSPACE files
* Use fresh OSX image
* Cache homebrew dirs for faster startup
2021-03-24 15:05:23 +01:00