js/decode.js


Log

Author Commit Date CI Message
Evgenii Kliuchnikov 3efb30f9 2025-06-12T08:47:30 Comb UTF-8 literal processing PiperOrigin-RevId: 770672448
Evgenii Kliuchnikov ee5f3bb9 2025-06-10T07:07:49 Refresh JS/TS/KT PiperOrigin-RevId: 769617330
Evgenii Kliuchnikov 271be114 2025-06-04T01:04:28 Prepare for transpilation to golang PiperOrigin-RevId: 767024321
Evgenii Kliuchnikov c1362a79 2024-02-02T03:26:05 further preparations for Kotlin transpilation PiperOrigin-RevId: 603638823
Evgenii Kliuchnikov 6ba678a7 2023-11-29T10:47:47 pull "InputStream" reference out of "pure" code PiperOrigin-RevId: 586390725
Evgenii Kliuchnikov 28257b2e 2023-07-05T06:35:14 refine types in decode.js PiperOrigin-RevId: 545575363
Evgenii Kliuchnikov ffbe1123 2023-04-25T09:58:13 JS: stronger typing PiperOrigin-RevId: 526909255
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
Eugene Kliuchnikov f8c67177 2021-06-23T09:40:57 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
Eugene Kliuchnikov 5692e422 2021-01-18T10:56:39 Update (#852) * Update * comments and clarifications in block_splitter * power-of-2 aligned allocations for Hasher * refresh decode.js from Java sources * disable JS build
Eugene Kliuchnikov 78e7bbc3 2019-05-03T11:51:11 Update (#753) * fix executable mode of decode.js * explain clang-analyser about non-nullability * fix "dead assignment" * rename proguard.cfg -> proguard.pgcfg
Eugene Kliuchnikov 4b2b2d4f 2019-04-12T13:57:42 Update (#749) Update: * Bazel: fix MSVC configuration * C: common: extended documentation and helpers around distance codes * C: common: enable BROTLI_DCHECK in "debug" builds * C: common: fix implicit trailing zero in `kPrefixSuffix` * C: dec: fix possible bit reader discharge for "large-window" mode * C: dec: simplify distance decoding via lookup table * C: dec: reuse decoder state members memory via union with lookup table * C: dec: add decoder state diagram * C: enc: clarify access to static dictionary * C: enc: improve static dictionary hash * C: enc: add "stream offset" parameter for parallel encoding * C: enc: reorganize hasher; now Q2-Q3 require exactly 256KiB to avoid global TCMalloc lock * C: enc: fix rare access to uninitialized data in ring-buffer * C: enc: reorganize logging / checks in `write_bits.h` * Java: dec: add "large-window" support * Java: dec: improve speed * Java: dec: debug and 32-bit mode are now activated via system properties * Java: dec: demystify some state variables (use better names) * Dictionary generator: add single input mode * Java: dec: modernize tests * Bazel: js: pick working commit for closure rules
Eugene Kliuchnikov 2216a0dd 2018-09-13T08:09:32 Update (#706) Update * add ASAN/MSAN unaligned read specializations * add "brotli" prefix to u_uint64 type * increment version to 1.0.06 * fix CoverityScan "unused assignment" warning * fix JDK 8<->9 incompatibility * add encoder optimization for empty input * regenerate JS decoder * unbreak Travis builds
Tomáš Popela a0c7dafe 2017-10-10T11:24:13 Fix permissions of various files in project (#613) Move from 755 to 644.
Eugene Kliuchnikov 42d78807 2017-10-09T17:07:34 Improve Bazel/JNI portability (#611) * Improve Bazel/JNI portability * Update go and closure bazel addons
Eugene Kliuchnikov a629289e 2017-08-28T11:31:29 Update (#590) * add transpiled JS decoder * make PY wrapper accept memview * fix dictionary generator * speedup compression of RLEish data