1. Jul 09, 2020
  2. Jul 03, 2020
  3. Jul 02, 2020
  4. Jun 30, 2020
    • fisherwky's avatar
      Update platform.h (#813) · d2ea1982
      fisherwky authored
      fix compile error (platform.h:362: error: cast discards qualifiers from pointer target type)
      d2ea1982
  5. May 15, 2020
  6. Mar 31, 2020
  7. Mar 19, 2020
  8. Feb 14, 2020
  9. Dec 20, 2019
  10. Oct 02, 2019
  11. Aug 16, 2019
  12. Aug 13, 2019
  13. Aug 07, 2019
  14. Jul 30, 2019
  15. Jul 22, 2019
  16. Jul 17, 2019
    • Eugene Kliuchnikov's avatar
      Update (#762) · c8b37e8f
      Eugene Kliuchnikov authored
      * put LICENSE file into .jar
       * fix typo
       * add clarification comment in PY wrapper
      c8b37e8f
  17. Jul 16, 2019
  18. May 03, 2019
    • Eugene Kliuchnikov's avatar
      Update (#753) · 78e7bbc3
      Eugene Kliuchnikov authored
       * fix executable mode of decode.js
       * explain clang-analyser about non-nullability
       * fix "dead assignment"
       * rename proguard.cfg -> proguard.pgcfg
      78e7bbc3
  19. Apr 12, 2019
    • Eugene Kliuchnikov's avatar
      Update (#749) · 4b2b2d4f
      Eugene Kliuchnikov authored
      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
      4b2b2d4f
  20. Feb 19, 2019
  21. Feb 18, 2019
  22. Nov 12, 2018
  23. Oct 24, 2018
  24. Oct 23, 2018
  25. Oct 19, 2018
  26. Oct 18, 2018
  27. Oct 17, 2018
  28. Oct 16, 2018
  29. Oct 08, 2018
    • Stephen Kyle's avatar
      decode: fix NEON inclusion (#714) · cc7a74f1
      Stephen Kyle authored
      The macro that checks for NEON support should be __ARM_NEON, not
      __ARM_NEON__. [1]
      
      AArch64 compilers define __ARM_NEON but not __ARM_NEON__.
      AArch32 compilers currently seem to define both, but could be within their
      rights to drop __ARM_NEON__ in future versions.
      
      This change moves the check into the common/platform.h file, checks for
      both forms, and sets BROTLI_TARGET_NEON if NEON support is available.
      
      [1] Section 6.5.4 of the ARM C Language Extensions.
          (At the time of writing, the latest version was Release 2.1.)
      cc7a74f1
  30. Oct 02, 2018
    • Alexey Ivanov's avatar
      tools/brotli: improve window size autodetect (#710) · c94c6f80
      Alexey Ivanov authored
      Window size is defined as:
          `(1 << BROTLI_PARAM_LGWIN) - 16`
      in `c/include/brotli/encode.h`
      
      Therefore we should probably take these 16 bytes into account.
      
      Done basic manual testing:
      $ python3 -c 'print ("A"*2046)' > t
      $ bazel run -- //:brotli -w 0 -f -o $(realpath t).br $(realpath ./t)
      $ python3 research/brotlidump.py t.br |& fgrep WSIZE
      0000  c1                1000001 WSIZE   windowsize=(1<<12)-16=4080
      
      New version properly detects window size of `4080`, while previous one used `2032`:
      $ python3 research/brotlidump.py t.br |& fgrep WSIZE
      0000  b1                0110001 WSIZE   windowsize=(1<<11)-16=2032
      c94c6f80
  31. Sep 27, 2018
    • Stephen Kyle's avatar
      decode: faster huffman code loading on 32-bit Arm (#703) · 9402ac5c
      Stephen Kyle authored
      * platform: add macro for using the 'aligned' attribute
      
      * decode: add accessor macros for HuffmanCode fields
      
      Adds a constructor function for building HuffmanCode values
      so they can be accessed quickly on different architectures.
      
      Also adds macros for marking a HuffmanCode table pointer
      that can be accessed quickly (BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD),
      adjusting the index into that table (BROTLI_HC_ADJUST_TABLE_INDEX),
      and getting the .bits or .value fields out of the table at the
      current index (BROTLI_HC_GET_BITS/VALUE).
      
      For example, assuming |table| contains a HuffmanCode pointer:
      
        BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD(table);
        BROTLI_HC_ADJUST_TABLE_INDEX(table, index_into_table);
        *bits = BROTLI_HC_GET_BITS(table);
        *value = BROTLI_HC_GET_VALUE(table);
        BROTLI_HC_ADJUST_TABLE_INDEX(table, offset);
        *bits2 = BROTLI_HC_GET_BITS(table);
        *value2 = BROTLI_HC_GET_VALUE(table);
      
      All uses of the HuffmanCode have been updated appropriately.
      
      * decode: add alternative accessors for HuffmanCode on Arm AArch32
      9402ac5c