Commit Graph

604 Commits

Author SHA1 Message Date
eustas
bb6f5fea46 Merge pull request #336 from anthrotype/upload-sdist
appveyor: also upload source distribution packages to Github Releases
2016-06-03 11:12:12 +02:00
eustas
37984adb6a Merge pull request #358 from eustas/master
Update decoder
2016-06-02 11:36:28 +02:00
szabadka
c6d38e94cb Merge pull request #357 from sebmarchand/master
Fix an unitialized variable warning in encode.cc
2016-06-01 17:00:37 +02:00
Sebastien Marchand
a33fc249ab Fix 2016-06-01 10:29:15 -04:00
eustas
384c595d19 Remove "inline" specification
BrotliErrorString is an utility method. It is used in very specific cases -> should not be included in library.
MSVC doesn't allow "inline" for C code...
2016-05-31 16:19:59 +02:00
Eugene Kliuchnikov
755b909424 Update decoder
* More discreet trivial literal context detection
 * Make total_out parameter nullable
 * More strict stream validity check
 * Added BrotliErrorString
2016-05-31 15:40:59 +02:00
Sebastien Marchand
7fd82d4605 Fix an unitialized variable warning in encode.cc 2016-05-28 12:12:20 -04:00
szabadka
3e528595e0 Merge pull request #355 from szabadka/master
Update the spec to latest published version.
2016-05-26 13:32:09 +02:00
Zoltan Szabadka
5f02d612e1 Update the spec to latest published version. 2016-05-26 12:20:42 +02:00
Zoltan Szabadka
1841f7cc26 Create -11 version of the spec. 2016-05-26 12:19:31 +02:00
Zoltan Szabadka
d34ff954e4 Merge remote-tracking branch 'upstream/master' 2016-05-26 11:52:48 +02:00
eustas
4836af6ead Merge pull request #350 from google/last-error-code
Add BROTLI_LAST_ERROR_CODE definition
2016-05-20 10:49:18 +02:00
eustas
f4376d0802 Add BROTLI_LAST_ERROR_CODE definition 2016-05-20 10:22:03 +02:00
eustas
b00b000847 Merge pull request #348 from google/safe-api
Make encoder API more safe
2016-05-18 13:39:53 +02:00
eustas
f40caec7d1 Fix C -> C++ 2016-05-18 11:13:01 +02:00
eustas
8c5ab0f342 Make encoder API more safe
Track and use "last_block_emitted" state flag
2016-05-18 11:04:50 +02:00
eustas
226d21c403 Make encoder API more safe
Add flag to check if "last" block has been already processed
2016-05-18 11:01:16 +02:00
eustas
4cc756ec0a Merge pull request #345 from eustas/master
Update decoder
2016-05-11 16:42:10 +02:00
Eugene Kliuchnikov
021f6fe37d Update decoder:
* Added BrotliGetErrorCode
 * fixed check of padding bits after last block
2016-05-11 15:23:07 +02:00
Zoltan Szabadka
3a9032ba87 Address the DISCUSS ballot position from the IESG review of the spec. 2016-05-04 21:27:56 +02:00
Zoltan Szabadka
136d39bd70 Create -10 version of the specification. 2016-05-04 21:25:37 +02:00
eustas
45f130ac4c Merge pull request #344 from eustas/master
Fix Issue #327
2016-04-29 15:39:29 +02:00
Eugene Kliuchnikov
a6ab7bc844 Fix Issue #327 2016-04-29 15:37:52 +02:00
eustas
022666fc4f Merge pull request #343 from eustas/master
Update decoder
2016-04-29 14:16:26 +02:00
Eugene Kliuchnikov
043a99e07e Update decoder:
* make InverseMoveToFrontTransform more standards compliant
 * simplify BrotliCalculateRingBufferSize
2016-04-29 13:44:16 +02:00
eustas
ff58c04ddf Merge pull request #342 from eustas/master
Limit |size| in BrotliSetCustomDictionary
2016-04-27 20:20:44 +02:00
Eugene Kliuchnikov
ab858a9f1e Limit |size| in BrotliSetCustomDictionary 2016-04-27 16:52:24 +02:00
eustas
b7823ddcc9 Merge pull request #341 from 1100101/fix_vs2012_compilation
Fix compilation with VS2012
2016-04-22 11:24:32 +02:00
Frank Aurich
d9a268c60c Fix compilation with VS2012 2016-04-22 10:55:31 +02:00
eustas
510131d1db Merge pull request #338 from eustas/master
Update decoder. Add encoder interface wrapper.
2016-04-21 17:50:53 +02:00
szabadka
769308d6dd Merge pull request #339 from szabadka/master
Address review comments in the specification.
2016-04-20 11:23:04 +02:00
Zoltan Szabadka
e96d5b29e7 Address review comments in the specification.
This commit updates the draft to the ietf -09 version:
https://www.ietf.org/id/draft-alakuijala-brotli-09.txt

In this version review comments from Jean-loup Gailly and
the ietf secdir review were addressed.
2016-04-20 10:48:14 +02:00
Zoltan Szabadka
26cf47f3f0 Create -09 version of the draft. 2016-04-20 10:45:40 +02:00
eustas
75c6c1abab Fix brotlimodule 2016-04-19 16:43:42 +02:00
Eugene Kliuchnikov
00128ded4a Merge branch 'master' of https://github.com/eustas/brotli 2016-04-19 16:29:38 +02:00
Eugene Kliuchnikov
e7e3849835 Update decoder. Add encoder interface wrapper.
* condense printf in port.h; use BROTLI_LOG everywhere
 * mark non-exported functions with BROTLI_INTERNAL
 * use BROTLI_DUMP instead of (void)(BROTLI_FAILURE())
 * fix problems with CustomDictionary
 * make decode.h independent of state.h
 * fix "double-new-lines"
 * fix some strict compilation warnings
 * fix bro.cc compilation for MSVS
 * added compressor.h as a replacement for encode.h + streams.h
2016-04-19 16:29:10 +02:00
Eugene Kliuchnikov
70a36be544 Update decoder. Add encoder interface wrapper.
* condense printf in port.h; use BROTLI_LOG everywhere
 * mark non-exported functions with BROTLI_INTERNAL
 * use BROTLI_DUMP instead of (void)(BROTLI_FAILURE())
 * fix problems with CustomDictionary
 * make decode.h independent of state.h
 * fix "double-new-lines"
 * fix some strict compilation warnings
 * fix bro.cc compilation for MSVS
 * added compressor.h as a replacement for encode.h + streams.h
2016-04-19 16:26:30 +02:00
Cosimo Lupo
bd88e3cb8d add MANIFEST.in to ensure source distribution contains all required files
Except tests as they are too big...
2016-04-10 20:52:59 +01:00
Cosimo Lupo
f66c7c5442 python/tests: clean up generated files if successful 2016-04-10 20:52:27 +01:00
Cosimo Lupo
a8d1bf5266 appveyor: also upload source distribution packages to Github Releases
This is so that one can do:

    pip install --find-links https://github.com/google/brotli/releases/latest brotli

on any platform, whether or not there are pre-compiled *.whl packages that match the user's python version and anchitecture (e.g. Linux). Pip automatically chooses the correct binary package, and if that isn't available the source distribution (*.tar.gz or *.zip) is downloaded.
2016-04-10 19:54:28 +01:00
eustas
3a77ebe1f4 Merge pull request #331 from PiotrSikora/missing_declarations
Fix build with -Wmissing-declarations.
2016-03-22 15:55:01 +01:00
Piotr Sikora
501cb86172 Fix build with -Wmissing-declarations.
While there, add -Wmissing-prototypes and -Wmissing-declarations
to shared.mk in order to catch similar errors in the future.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-03-18 19:18:59 -07:00
szabadka
f453b1bf36 Merge pull request #328 from szabadka/master
Reduce memory usage of brotli encoder at quality 10 and 11.
2016-03-16 09:53:56 +01:00
Zoltan Szabadka
846575ff6c Fix TODO formatting. 2016-03-15 11:13:07 +01:00
Zoltan Szabadka
b820c39bd9 Reduce memory usage of brotli encoder at quality 10 and 11. 2016-03-15 10:50:16 +01:00
eustas
cfba2db7b3 Merge pull request #322 from fred-wang/issue-312
Use double exclamation marks in declarations of IS_CONSTANT and BROTL…
2016-03-01 10:17:23 +01:00
Frédéric Wang
2fcb2321d9 Use double exclamation marks in declarations of IS_CONSTANT and BROTLI_HAS_UBFX to force C compilers to interpret them as booleans and avoid constant-logical-operand warnings. 2016-03-01 09:39:04 +01:00
eustas
af41b90d1b Merge pull request #323 from eustas/master
Fix most of ()->(void) and some missing includes.
2016-02-29 16:10:43 +01:00
Eugene Kliuchnikov
25e3796f83 Fix most of ()->(void) and some missing includes. 2016-02-29 14:41:24 +01:00
eustas
7e5bbd5f9b Merge pull request #321 from eustas/master
Add custom dictionary feature binding
2016-02-24 16:54:54 +01:00