aboutsummaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)AuthorFilesLines
2018-04-20Remove unprefixed macros from public headers (#662)Eugene Kliuchnikov1-1/+0
2018-03-02Update (#643)v1.0.3Eugene Kliuchnikov1-2/+2
Update * make the zopflification aware of `NDIRECT`, `NPOSTFIX` (better compression in `font` mode) * add small and simple decoder tool * fix typo * Java: wrapper: make decoder channel more async-friendly Ramp up version to 1.0.3 / 1.0.3
2018-02-26New feature: "Large Window Brotli" (#640)Eugene Kliuchnikov11-82/+588
* New feature: "Large Window Brotli" By setting special encoder/decoder flag it is now possible to extend LZ-window up to 30 bits; though produced stream will not be RFC7932 compliant. Added new dictionary generator - "DSH". It combines speed of "Sieve" and quality of "DM". Plus utilities to prepare train corpora (remove unique strings). Improved compression ratio: now two sub-blocks could be stitched: the last copy command could be extended to span the next sub-block. Fixed compression ineffectiveness caused by floating numbers rounding and wrong cost heuristic. Other C changes: - combined / moved `context.h` to `common` - moved transforms to `common` - unified some aspects of code formatting - added an abstraction for encoder (static) dictionary - moved default allocator/deallocator functions to `common` brotli CLI: - window size is auto-adjusted if not specified explicitly Java: - added "eager" decoding both to JNI wrapper and pure decoder - huge speed-up of `DictionaryData` initialization * Add dictionaryless compressed dictionary * Fix `sources.lst` * Fix `sources.lst` and add a note that `libtool` is also required. * Update setup.py * Fix `EagerStreamTest` * Fix BUILD file * Add missing `libdivsufsort` dependency * Fix "unused parameter" warning.
2017-10-10Fix permissions of various files in project (#613)Tomáš Popela53-0/+0
Move from 755 to 644.
2017-10-09Improve Bazel/JNI portability (#611)Eugene Kliuchnikov13-96/+103
* Improve Bazel/JNI portability * Update go and closure bazel addons
2017-09-19Update: (#600)Eugene Kliuchnikov6-499/+685
* encoder: relax backward references candidates asserts * encoder: make RNG more platform-independent * encoder: remove "unused" param (context mode) * CLI: improve first-encounter experience * Java: update SynthTest * Java: refine proguard config * Java/JNI: fix one-shot compression workflow
2017-08-24Update (#589)Eugene Kliuchnikov5-37/+75
* cleanup * fix `unbrotli` CLI * Java retouch for faster JS decoder
2017-08-04Update API, and more (#581)Eugene Kliuchnikov33-1611/+931
Update API, and more: * remove "custom dictionary" support * c/encoder: fix #580: big-endian build * Java: reduce jar size * Java: speedup decoding * Java: add 32-bit CPU support * Java: make source code JS transpiler-ready
2017-06-21Update wrappers (#564)Eugene Kliuchnikov2-0/+3
* golang: add build information via `cgo.go` * golang: fix lgwin parameter behavior * Java: add proguard configuration
2017-06-01Add JNI wrappers. (#556)Eugene Kliuchnikov28-7/+2703
2017-05-29Update (#555)Eugene Kliuchnikov13-94/+303
Update: * new CLI; bro -> brotli; + man page * JNI wrappers preparation (for bazel build) * add raw binary dictionary representation `dictionary.bin` * add ability to side-load brotli RFC dictionary * decoder persists last error now * fix `BrotliDecoderDecompress` documentation * go reader don't block until necessary * more consistent bazel target names * Java dictionary data compiled footprint reduced * Java tests refactoring
2017-05-07Speedup Java decoder. (#547)Eugene Kliuchnikov1-12/+23
* geo corpus decodes ~5% faster * fetchlogs corpus decodes ~25% faster
2017-05-04turn java library into an OSGi bundle (#545)Stefan Bodewig1-0/+46
2017-04-10Update API to v1.0.0 (#537)Eugene Kliuchnikov7-62/+51
Make Java decoder fully transpilable to C#.
2017-04-05Update c- and java-decoder: (#536)Eugene Kliuchnikov7-114/+193
* speedup java decoder * avoid masking * avoid excessive fillBits * streamline uncompressed block processing * make java decoder more transpilation-friendly * avoid non-essential goto in c-decoder
2017-03-22Add go wrapper, streamline java decoder: (#524)Eugene Kliuchnikov6-51/+107
* add (c)brotli golang wrapper * remove (language-specific) enums in java decoder
2017-03-06Update common, decoder, encoder, java (#520)Eugene Kliuchnikov2-15/+56
Common: * wrap dictionary data into `BrotliDictionary` structure * replace public constant with getter `BrotliGetDictionary` * reformat dictionary data Decoder: * adopt common changes * clarify acceptable instance usage patterns * hold reference to dictionary in state Encoder: * adopt common changes * eliminate PIC spots in `CreateBackwardReferences` * add per-chunk ratio guards for q0 and q1 * precompute relative distances to avoid repeated calculations * prostpone hasher allocation/initialization * refactor Hashers to be class-like structure * further improvements for 1MiB+ inputs * added new hasher type; made hashers more configurable Java: * Pull byte->int magic to `IntReader` from `BitReader`
2017-02-28Move `java/` to `java/org/brotli/` to fix `sources.jar` structure (#517)Eugene Kliuchnikov27-7/+11
Also added man pages to `docs/`
2017-02-20Switch to 0.2.0-SNAPSHOT (#515)Eugene Kliuchnikov3-6/+6
2017-02-20Release org.brotli.* 0.1.0 (#514)Eugene Kliuchnikov3-25/+60
2017-02-20Java: fix typos and adjust visibility. (#513)Eugene Kliuchnikov5-27/+28
2017-02-17Prepare org.brotli.dec for deployment. (#512)Eugene Kliuchnikov3-23/+77
2016-11-30Update (#470)Eugene Kliuchnikov5-1/+35
* condense generated `static_dict_lut.h` * implement BrotliInputStream.close()
2016-10-31Update docs and add more java tests (#463)Eugene Kliuchnikov4-10/+58
* 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`
2016-10-18Fix POM files sources pathsEugene Kliuchnikov4-4/+49
* also add javadocs and sources generation
2016-10-17Add Java port of Brotli decoder.Eugene Kliuchnikov25-0/+4898