Permalink
Commits on Dec 22, 2016
  1. Update encoder (#492)

    * fix comment position in `context.h`
     * fix typo in internal quality constant name
     * deduplicate `BuildMetaBlockGreedy` code
     * simplify aggregation in `ChooseContextMap`
    eustas committed on GitHub Dec 22, 2016
  2. Research (#491)

    * add advanced mode for optimal references generator
     * fix #489
    
    Thanks to Ivan Nikulin for working on it.
    eustas committed on GitHub Dec 22, 2016
  3. Split brotli common/dec/enc .pc files (#490)

    Add URL, and use DEPENS_PRIVATE generator params
    eustas committed on GitHub Dec 22, 2016
Commits on Dec 21, 2016
  1. Python: Create Makefile for development shortcuts (#488)

    nicksay committed with eustas Dec 21, 2016
Commits on Dec 20, 2016
  1. Move brotlidump.py to research/ (#487)

    eustas committed on GitHub Dec 20, 2016
  2. Add configure-cmake (#474) (#486)

    * Add configure-cmake
    
     * `curl https://raw.githubusercontent.com/nemequ/configure-cmake/7b0464af79bbaca535f0279316558e1d84e5c124/configure > configure-cmake`
    
    * Add `--disable-shared-libs` parameter.
    
    * Unix-friendly script prologue.
    
    * Update README.md
    eustas committed on GitHub Dec 20, 2016
  3. brotlidump.py: disassemble brotli file (revisited) (#314)

    * Create brotlidump.py
    
    Sorry, I am a newbie. I couldn't find my file anymore when I wanted to edit it. Hope I don't waste your time.
    
    * Fixed a bug where it couldn't read its own compression.
    
    The problem was that a prefix code ending with a 16 "repeat" didn't realize the table was full already.
    Also minor bug fixes, comments and stuff.
    
    * Major refactoring
    
    Rewrote almost everything.
    Now can dump its own compression.
    
    * Now more or less complete
    
    Appears to handle all files completely (including metablock data).
    Used as inspiration for the the hex example (see makehexexample.py)
    jneb committed with eustas Dec 20, 2016
  4. Python: Simplify test suite generation by using unittest discovery (#485

    )
    nicksay committed with eustas Dec 20, 2016
Commits on Dec 12, 2016
  1. Python: Use a temporary directory for generated files in tests (#481)

    nicksay committed with eustas Dec 12, 2016
  2. Python: Format bro.py with yapf (#480)

    nicksay committed with eustas Dec 12, 2016
  3. Update python brotli wrapper (#479)

    * Update python brotli wrapper
     * release GIL on CPU intensive blocks, fixes #476
     * use BrotliDecoderTakeOutput (less memory, less memcpy)
    
    * Python: Convert bro.py tests to unittest style (#478)
    
    * Create unittest-style tests for `bro.py` decompression and compression
    * Delete old tests for `bro.py`
    * Update test method generation to properly create a Cartesian product
      of iterables using `itertools.product`
    
    * Update python brotli wrapper
     * release GIL on CPU intensive blocks, fixes #476
     * use BrotliDecoderTakeOutput (less memory, less memcpy)
    eustas committed on GitHub Dec 12, 2016
Commits on Dec 9, 2016
  1. Python: Convert bro.py tests to unittest style (#478)

    * Create unittest-style tests for `bro.py` decompression and compression
    * Delete old tests for `bro.py`
    * Update test method generation to properly create a Cartesian product
      of iterables using `itertools.product`
    nicksay committed with eustas Dec 9, 2016
  2. Do not assume that bash is installed in /bin (#477)

    This is required in order to run the tests on *BSD.
    jedisct1 committed with eustas Dec 9, 2016
Commits on Dec 8, 2016
  1. Added fuzzer and updated decoder (#475)

     * log dictionary usage
     * remove dead assignment
     * added fuzzer for https://github.com/google/oss-fuzz
     * added standalone test for fuzzer
    eustas committed on GitHub Dec 8, 2016
Commits on Dec 2, 2016
  1. Fix encoder (#472)

    * fix undefined behavior introduced with PR #468
    eustas committed on GitHub Dec 2, 2016
  2. Fix build with -Wconditional-uninitialized. (#471)

    Signed-off-by: Piotr Sikora <piotrsikora@google.com>
    PiotrSikora committed with eustas Dec 2, 2016
Commits on Nov 30, 2016
  1. Update (#470)

    * condense generated `static_dict_lut.h`
     * implement BrotliInputStream.close()
    eustas committed on GitHub Nov 30, 2016
Commits on Nov 9, 2016
  1. Fixes: (#468)

    * fix slow-down after a long copy (q10-11)
     * more thorough hashing for long ranges (q10-11)
     * minor documentation fixes
     * bazel.io -> bazel.build
    eustas committed on GitHub Nov 9, 2016
  2. Python: Add unit tests for brotli.compress and brotli.decompress (#467)

    Also
      - rename `test_utils` to `_test_utils`
      - refactor shared code into `_test_utils`
    nicksay committed with eustas Nov 9, 2016
Commits on Nov 2, 2016
  1. bro: check return values of chown and chmod (#465)

    Apparently some libc versions declare chown with the warn_unused_result
    attribute, which is enabled by default.
    nemequ committed with eustas Nov 2, 2016
Commits on Nov 1, 2016
  1. FInishing touches for installing libbrotli with CMake (#464)

    * build: fix bundled mode + BUILD_SHARED_LIBS
    
    * cmake: add soversion information
    
    * cmake: generate pkg-config file
    nemequ committed with eustas Nov 1, 2016
Commits on Oct 31, 2016
  1. Update docs and add more java tests (#463)

    * doxygenize and update API documentation
     * fix spelling
     * add "fuzz" corpus for java decoder to improve coverage
     * use upper-case-snake names for dictionary constant definitions
     * use `LDFLAGS` in conventional `Makefile`
    eustas committed on GitHub Oct 31, 2016
  2. Python: Add tests for streamed compression (#458)

    Progress on #191
    nicksay committed with eustas Oct 31, 2016
  3. Python: Use "build" instead of "build_ext" in scripts (#460)

    Previously, the Python package consisted of a single extension
    module, so `build_ext` was sufficient.  Now, the package
    contains a native module and an extension module, so both
    `build_py` and `build_ext` are required.  Instead, run `build`,
    which calls both `build_py` and `build_ext` automatically.
    nicksay committed with eustas Oct 31, 2016
Commits on Oct 27, 2016
  1. Python: Run Appveyor tests in CMD mode (#461)

    Any command executed in PowerShell mode that writes to `stderr`
    is treated as failing.  To avoid this problem, run tests in CMD
    mode instead.
    nicksay committed with eustas Oct 27, 2016
  2. enable rbit instruction for arm64 (#459)

    mdejong committed with eustas Oct 27, 2016
Commits on Oct 25, 2016
  1. Update API (#457)

    * explicitly define `BROTLI_BOOL` to be `int`
     * add `BROTLI_` prefix to `MAKE_UINT64_T` macros
     * replace `true`/`false`/`1`/`0` mentions with `BROTLI_TRUE`/`FALSE`
     * add `BrotliEncoderSetParameter` documentation
     * add explicit caution to `BrotliEncoderMaxCompressedSize`
     * fix formatting in `port.h`
    eustas committed on GitHub Oct 25, 2016
  2. Python: Publicly expose the Compressor object in the Python API (#456)

    Progress on #191
    nicksay committed with eustas Oct 25, 2016
Commits on Oct 24, 2016
  1. Python: Support streamed compression with the Compressor object (#448)

    This adds `flush` and `finish` methods to the `Compressor`
    object in the extension module, renames the `compress` method to
    `process`, and updates that method to only process data.  Now,
    one or more `process` calls followed by a `finish` call will be
    equivalent to a module-level `compress` call.
    
    Note: To maximize the compression efficiency (and match
    underlying Brotli behavior, the `Compressor` object `process`
    method does not guarantee all input is immediately written to
    output. To ensure immediate output, call `flush` to manually
    flush the compression buffer.  Extraneous flushing can increase
    the size, but may be required when processing streaming data.
    
    Progress on #191
    nicksay committed with eustas Oct 24, 2016
Commits on Oct 20, 2016
  1. Fix OSX gcc-4.x compilation (#455)

    Fix OSX gcc-4.x compilation
    eustas committed on GitHub Oct 20, 2016
  2. Fix `-Wcast-align` warnings

    eustas committed Oct 19, 2016
Commits on Oct 19, 2016
  1. Merge pull request #454 from fred-wang/brotli-readme

    Fix build instructions for cmake
    eustas committed on GitHub Oct 19, 2016
  2. Fix build instructions for cmake

    fred-wang committed with fred-wang Oct 19, 2016
  3. Merge pull request #451 from eustas/flush

    Fix "take output" flush workflow.
    eustas committed on GitHub Oct 19, 2016
  4. Fix "take output" flush workflow.

    eustas committed Oct 19, 2016