aboutsummaryrefslogtreecommitdiff
path: root/js/decode.js
AgeCommit message (Collapse)AuthorFilesLines
2024-02-02further preparations for Kotlin transpilationEvgenii Kliuchnikov1-116/+137
PiperOrigin-RevId: 603638823
2023-11-29pull "InputStream" reference out of "pure" codeEvgenii Kliuchnikov1-12/+10
PiperOrigin-RevId: 586390725
2023-07-05refine types in decode.jsEvgenii Kliuchnikov1-1/+1
PiperOrigin-RevId: 545575363
2023-07-04JS: stronger typingEvgenii Kliuchnikov1-227/+236
PiperOrigin-RevId: 526909255
2023-07-04JS decoder: code combingEvgenii Kliuchnikov1-99/+39
PiperOrigin-RevId: 524016775
2023-07-04JS: use strict equality operatorsEvgenii Kliuchnikov1-449/+449
PiperOrigin-RevId: 523319759
2021-06-23Update (#908)Eugene Kliuchnikov1-324/+325
* re-enable Js build/test * improve decoder performance * rewrite dictionary data in Java/Js to a shorter uncompressed form * improve dictionary generation tool
2021-01-18Update (#852)Eugene Kliuchnikov1-285/+543
* Update * comments and clarifications in block_splitter * power-of-2 aligned allocations for Hasher * refresh decode.js from Java sources * disable JS build
2019-05-03Update (#753)Eugene Kliuchnikov1-0/+0
* fix executable mode of decode.js * explain clang-analyser about non-nullability * fix "dead assignment" * rename proguard.cfg -> proguard.pgcfg
2019-04-12Update (#749)Eugene Kliuchnikov1-430/+725
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
2018-09-13Update (#706)Eugene Kliuchnikov1-63/+81
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
2017-10-10Fix permissions of various files in project (#613)Tomáš Popela1-0/+0
Move from 755 to 644.
2017-10-09Improve Bazel/JNI portability (#611)Eugene Kliuchnikov1-31/+34
* Improve Bazel/JNI portability * Update go and closure bazel addons
2017-08-28Update (#590)Eugene Kliuchnikov1-0/+1713
* add transpiled JS decoder * make PY wrapper accept memview * fix dictionary generator * speedup compression of RLEish data