common


Log

Author Commit Date CI Message
Eugene Kliuchnikov 9521d968 2016-10-17T17:33:12 Eliminate more magic constants. Author: Ivan Nikulin
Eugene Kliuchnikov 0a63f99d 2016-09-21T17:20:36 Update encoder * move `common/port.h` to `includes/port.h` * replace magic more magic numbers with constants * artificially limit window size to 2^18 for quality 0 and 1 * use fixed shifts for quality 0 and 1 hashes * removed `BrotliEncoderWriteMetadata` * added `BROTLI_OPERATION_EMIT_METADATA` instead * deprecated low-level API * fixed MSVC warnings
Eugene Kliuchnikov f20b3eeb 2016-09-21T15:05:12 Update decoder: * use BROTLI_MAX_DISTANCE_BITS instead of magic constant * introduce BROTLI_DEPRECATED * move BROTLI_RESTRICT to common/port.h * promote reg_t to dec/port.h * remove deprecated decoder API * more optimistic ring-buffer allocation * fix MSVC warnings * fix (not tested) for ARM 64-bit RBIT
Eugene Kliuchnikov 81480011 2016-08-23T14:40:33 Move "public" to "include/brotli"
Eugene Kliuchnikov 801f5f37 2016-08-22T13:28:22 * rename macros with preceding underscore * add Brotli*TakeOutput methods * * flushing now doesn't require additional call * add Brotli*Version methods * moved public headers to 'public' directory * removed C++ API * do not assume STDC_VERSION is defined
Evan Nemerson 03657e80 2016-07-28T13:31:09 Add mingw support.
Eugene Kliuchnikov 91cbcf9e 2016-07-25T10:56:23 Fix MSVC stdbool inclde
Eugene Kliuchnikov 43d4f45b 2016-07-25T10:17:04 Update decoder API: * replace prefix Brotli -> BrotliDecoder * add HasMoreOutput * make instance pointer the first argument * use boolean instead of int
Eugene Kliuchnikov 378485b0 2016-06-16T10:52:57 Update build system. Now libraries are produced as build artifacts. There are currently 3 ways to build: * Easy: `./configure; make` * Simple: use Bazel * Portable: use premake5 to generate XCode / MSVS projects
Eugene Kliuchnikov f1c9ab29 2016-06-03T10:51:04 Extract common parts: constants, dictionary, etc.
Eugene Kliuchnikov 02829186 2016-06-03T10:51:04 Extract common parts: constants, dictionary, etc.