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 4c57a648 2024-01-03T02:50:08 drop Bazel JS build PiperOrigin-RevId: 595345529
Evgenii Kliuchnikov 6ba678a7 2023-11-29T10:47:47 pull "InputStream" reference out of "pure" code PiperOrigin-RevId: 586390725
Evgenii Kliuchnikov 9ff341da 2023-08-10T04:45:38 Replace TS strict_checks with source-level suppressions. PiperOrigin-RevId: 555445920
Evgenii Kliuchnikov c2848d55 2023-07-14T07:25:47 add synth test for metadata block PiperOrigin-RevId: 548120163
Evgenii Kliuchnikov de52bc7c 2023-07-14T01:03:38 add "zero cost command" synth test PiperOrigin-RevId: 548050521
Evgenii Kliuchnikov 70e7b1ae 2023-07-06T11:56:38 simplify building of fuzzer PiperOrigin-RevId: 545950923
Evgenii Kliuchnikov dd3eb162 2023-07-05T18:49:09 Fix JS tests PiperOrigin-RevId: 545743271
Evgenii Kliuchnikov 28257b2e 2023-07-05T06:35:14 refine types in decode.js PiperOrigin-RevId: 545575363
Evgenii Kliuchnikov 11abde4c 2023-04-26T18:32:46 Add tests for TS brotli decoder PiperOrigin-RevId: 527326003
Evgenii Kliuchnikov efe140ad 2023-04-25T14:56:37 add brotli.ts PiperOrigin-RevId: 526966561
Evgenii Kliuchnikov ffbe1123 2023-04-25T09:58:13 JS: stronger typing PiperOrigin-RevId: 526909255
Evgenii Kliuchnikov c0a43495 2023-04-13T19:50:22 JS decoder: code combing PiperOrigin-RevId: 524076677
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
Evgenii Kliuchnikov 745fd08e 2023-03-16T20:38:28 internal change PiperOrigin-RevId: 517214701
Eugene Kliuchnikov 68f1b90a 2021-08-18T19:15:07 Update (#918) Prepare to use copybara worklow.
Eugene Kliuchnikov 630b5084 2021-07-29T22:29:43 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
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 7f740f13 2020-05-15T11:06:21 Update (#807) - fix formatting - fix type conversion - fix no-op arithmetic with null-pointer - improve performance of hash_longest_match64 - go: detect read after close - java decoder: support compound dictionary - remove executable flag on non-scripts
Eugene Kliuchnikov 40f0fdcd 2019-07-16T17:49:14 Explicitly mark tests/testdata/* as binary. (#761) Fixes #760 Drive-by: * update go_rules * modernize brotli_inc * fix wrapper build * update PY to 3 in Travis / OSX / Bazel build * upgrade JS Bazel rules.
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 9cd01c04 2019-02-19T11:14:20 Update WORKSPACE files. (#742)
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
Eugene Kliuchnikov 1e7ea1d8 2018-06-04T17:53:16 Inverse bazel project/workspace tree (#677) * Inverse bazel workspace tree. Now each subproject directly depends on root (c) project. This helps to mitigate Bazel bug bazelbuild/bazel#2391; short summary: Bazel does not work if referenced subproject `WORKSPACE` uses any repositories that embedding project does not. Bright side: building C project is much faster; no need to download closure, go and JDK...
Eugene Kliuchnikov 29dc2cce 2018-05-31T13:21:04 Update golang and JS Bazel plugins to latest stable versions. (#676)
Eugene Kliuchnikov 0ad94eed 2017-11-28T15:37:28 Update (#620) * add autotools build * separate semantic and ABI version * extract sources.lst (used by CMake and Automake) * share pkgconfig templates (used by CMake and Automake) * decoder: always set `total_out` * encoder: fix `BROTLI_ENSURE_CAPACITY` macro (no-op after preprocessor) * decoder/encoder: refine `free_func` contract
Eugene Kliuchnikov 3e58ea5f 2017-10-13T14:50:51 Update (#617) * remove `const` on `BrotliDictionary` members * extend `ZofliNode` distance range to 128MiB * add missing `port.h` include to `quality.h` * fix typo in encoder API-doc * regenerate `decode.min.js`
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