Commit Graph

522 Commits

Author SHA1 Message Date
Zoltan Szabadka
14d6ae74a9 Reorder members of the Command struct plus fix some warnings.
This may save 8 bytes of padding per Command (32 -> 24 bytes).
2016-01-26 11:25:53 +01:00
eustas
6c98f033e0 Merge pull request #303 from eustas/master
Update decoder
2016-01-25 11:24:34 +01:00
eustas
a46bdf5706 Merge pull request #301 from google/eustas-remove-deprecated-api-call
Remove deprecated API call
2016-01-25 10:44:22 +01:00
eustas
fec00d24e1 Make input const 2016-01-23 00:31:47 +01:00
eustas
a22993b312 Fix pointer dereferencing. 2016-01-22 14:09:25 +01:00
eustas
1f9106429a Remove deprecated API call 2016-01-22 14:01:46 +01:00
Eugene Kliuchnikov
92e3023914 Update decoder.
* Reduce memory usage
 * Update API documentation
 * Remove deprecated API
 * Move non-API declatarions from decode.h
 * Remove streams
 * Add more debug logging
 * Fix shift in BrotliBitReaderUnload
 * Allocate ringbuffer at later stages
 * Sort / fix includes
 * Fix whitespaces
 * Eliminate dead code
 * Drive-by code simplifications
2016-01-22 10:19:41 +01:00
eustas
c788a55927 Merge pull request #1 from google/master
Rebase
2016-01-19 14:11:13 +01:00
szabadka
bed9386260 Merge pull request #297 from szabadka/master
Relax the prerequisites of WriteBrotliData().
2016-01-12 14:59:25 +01:00
Zoltan Szabadka
82c9e1972d Relax the prerequisites of WriteBrotliData().
Instead of returning false, if it is called with no
new input for a non-last block, just check if it has
any already processed data to flush, and if not,
return true with empty output.
2016-01-12 14:45:35 +01:00
szabadka
4d5ce42e4b Merge pull request #296 from szabadka/master
Update the internet draft to the -08 version.
2016-01-11 13:57:28 +01:00
Zoltan Szabadka
6a92849c93 Change the title and the expiration date of the -08 draft. 2016-01-11 13:36:41 +01:00
Zoltan Szabadka
8ef0a2023d Create -08 version of the draft. 2016-01-11 13:35:30 +01:00
szabadka
f39bc2cf83 Merge pull request #290 from crowell/patch-1
s/Error of success/Error or success/
2016-01-11 13:31:16 +01:00
szabadka
1f01d61bcf Merge pull request #295 from szabadka/master
Add two more fast modes to the brotli compressor.
2016-01-11 13:07:22 +01:00
Zoltan Szabadka
b4c223cf27 Add missing headers. 2016-01-11 12:17:44 +01:00
Zoltan Szabadka
47f1eaba88 Add the new source files to setup.py 2016-01-11 12:05:18 +01:00
Zoltan Szabadka
417107b3dd Add two more fast modes to the brotli compressor.
The new modes process the input data in independent blocks,
using backward references only from within an input block.

The new modes can be used by specifying quality 0 or quality 1,
the old quality 1 and quality 2 modes are renamed quality 2 and
quality 3, respectively, and the old quality 3 mode is removed.
2016-01-11 11:21:42 +01:00
szabadka
27688e605c Merge pull request #294 from szabadka/master
Faster entropy coding phase for quality 1.
2016-01-11 10:28:30 +01:00
Zoltan Szabadka
1bf1b0a598 Faster entropy coding phase for quality 1.
In quality 1, use static Huffman codes for distance
and command histograms with <= 128 symbols and dynamic
Huffman codes with static code length codes for the other
histograms.
2016-01-08 10:10:22 +01:00
szabadka
94a1dcaaba Merge pull request #293 from szabadka/master
Partial Hasher initialization for small input data.
2016-01-08 09:57:20 +01:00
Zoltan Szabadka
4dd9114c97 Partial Hasher initialization for small input data.
This increases compression speed of very small files (< 1KB) for quality <= 3.
2016-01-07 17:10:34 +01:00
szabadka
71c26bc32b Merge pull request #292 from szabadka/master
Fix more conversion warnings.
2016-01-07 16:58:38 +01:00
Zoltan Szabadka
8844b7f0d7 Fix more conversion warnings. 2016-01-07 16:27:49 +01:00
szabadka
580db01252 Merge pull request #291 from rsheeter/master
Remove -std=c++11 from shared.mk
2016-01-07 09:50:54 +01:00
Rod Sheeter
0e62a76e78 Remove -std=c++11 from shared.mk 2016-01-06 08:19:02 -08:00
Jeffrey Crowell
3fbc3b815f s/Error of success/Error or success/ 2016-01-05 16:31:36 -05:00
eustas
98ed7a23a8 Merge pull request #283 from thinred/master
Fix typo: LFLAGS => LDFLAGS
2015-12-22 17:28:21 +01:00
Tomasz Buchert
2ce1a1fcdd Fix typo: LFLAGS => LDFLAGS 2015-12-18 23:26:41 +01:00
eustas
90eb91b04c Merge pull request #280 from eustas/master
Fix headers
2015-12-11 13:15:21 +01:00
Eugene Klyuchnikov
24ffa78414 Fix headers 2015-12-11 11:11:51 +01:00
szabadka
9dc38abcbd Merge pull request #279 from szabadka/master
Add Robert Obryk to the Acknowledgements section of the spec
2015-12-10 11:35:44 +01:00
Zoltan Szabadka
3178f4bcf0 Add Robert Obryk to the Acknowledgements section of the spec
for his work on the first version of the spec in designing
the format of the compressed prefix codes.
2015-12-10 11:03:22 +01:00
eustas
bc5da25a43 Merge pull request #272 from eustas/master
Upgrade license to MIT.
2015-12-09 16:25:06 +01:00
szabadka
66db08156e Merge pull request #278 from anthrotype/python-disable-c++0x
don't pass `-std=c++0x` option to gcc in setup.py
2015-12-09 13:43:14 +01:00
Cosimo Lupo
912b0ac2c4 brotlimodule.cc: fix error with clang ('expected a class or namespace') 2015-12-08 12:49:04 +00:00
eustas
d9976e2dd2 Merge pull request #277 from eustas/fix
Fix WriteMetadata (unaligned and out-of-bounds write).
2015-12-08 13:33:13 +01:00
Cosimo Lupo
8b2ca8efd9 setup.py: don't enable c++0x for gcc 2015-12-08 12:33:06 +00:00
Eugene Klyuchnikov
901cd82f4f Fix WriteMetadata (unaligned and out-of-bounds write). 2015-12-04 16:09:40 +01:00
Eugene Klyuchnikov
771eb10798 Update license statement in source files. 2015-11-27 11:27:11 +01:00
Eugene Klyuchnikov
55e9768bad Upgrade license to MIT. 2015-11-27 10:40:56 +01:00
eustas
c60f6d0d65 Merge pull request #271 from eustas/master
Update bro.cc to use new streaming API.
2015-11-26 10:04:25 +01:00
Eugene Klyuchnikov
1c5ae022d3 Update bro.cc to use new streaming API. 2015-11-25 23:07:48 +01:00
eustas
5b0df4aef7 Merge pull request #270 from eustas/master
Fix sign-comparison warnings
2015-11-23 13:59:17 +01:00
Eugene Klyuchnikov
bb26d1919f Fix sign-comparison warnings
+ add more debug runtime checks
+ minor cleanup
2015-11-23 11:05:12 +01:00
eustas
b64b2cf43d Merge pull request #269 from eustas/master
Decoder: implement custom allocator feature
2015-11-23 10:44:55 +01:00
Eugene Klyuchnikov
b693812271 Decoder: implement custom allocator feature
Drive-by: conform stricter compilation flags; cleanup shared.mk
2015-11-23 10:21:09 +01:00
eustas
befc549b47 Merge pull request #268 from eustas/master
Add more explicit type conversions.
2015-11-17 17:01:44 +01:00
Eugene Klyuchnikov
152e33c3a0 Add more explicit type conversions.
Remove dead code.
Fix includes.
2015-11-17 13:45:41 +01:00
szabadka
fb52958eae Merge pull request #266 from szabadka/master
Fix assertion in 32-bit build.
2015-11-12 20:36:30 +01:00