Commit Graph

625 Commits

Author SHA1 Message Date
eustas
bc7f0f831d Fix double constant literal 2016-06-13 15:54:57 +02:00
eustas
8d14bed24a Backport MSVC log2 fix 2016-06-13 15:50:15 +02:00
eustas
18dc8eabe1 Fix kInfinity definition
INFINITY is legal only in C++11
2016-06-13 15:40:45 +02:00
Eugene Kliuchnikov
db3a11625d Fix CI build. 2016-06-13 15:22:13 +02:00
eustas
0747bda5e0 Merge pull request #370 from eustas/to-v0.4
Convert encoder to plain C.
2016-06-13 11:53:23 +02:00
Eugene Kliuchnikov
b972c67780 Convert encoder to plain C. 2016-06-13 11:01:04 +02:00
eustas
63111b21e8 Merge pull request #367 from google/master
Merge upstream changes
2016-06-06 12:00:07 +02:00
eustas
09543b5fc5 Merge pull request #366 from eustas/master
Fix "unused function" warning.
2016-06-06 11:58:55 +02:00
Eugene Kliuchnikov
639fdaf62d Fix "unused function" warning. 2016-06-06 11:19:09 +02:00
eustas
ae80e76c8d Merge pull request #364 from eustas/to-v0.4
Step 3: change file extension C++ -> C
2016-06-03 16:31:07 +02:00
Eugene Kliuchnikov
582ecab380 Step 3: change file extension C++ -> C
This will break the build.
2016-06-03 16:29:37 +02:00
eustas
2f87a5ae2d Merge pull request #363 from eustas/to-v0.4
Update setup.py
2016-06-03 12:41:12 +02:00
eustas
b73ebe32b4 Fix test file path 2016-06-03 12:31:02 +02:00
eustas
66606e7d43 Fix test file path 2016-06-03 12:30:45 +02:00
eustas
9dd7e38bde Fix test file path 2016-06-03 12:30:12 +02:00
Eugene Kliuchnikov
11d1337baf Update setup.py 2016-06-03 12:02:01 +02:00
eustas
5a206dd9ab Merge pull request #362 from google/master
Pick-up pyhton build script update
2016-06-03 11:36:21 +02:00
eustas
6e356105b5 Merge pull request #361 from eustas/to-v0.4
Step 2: update comments
2016-06-03 11:32:32 +02:00
Eugene Kliuchnikov
352b0b2836 Transform most of C++ comments to C-style. 2016-06-03 11:19:23 +02:00
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
7cdcbd72c3 Merge pull request #360 from eustas/master
Step 1: extract common
2016-06-03 10:58:24 +02:00
Eugene Kliuchnikov
028291865d Extract common parts: constants, dictionary, etc. 2016-06-03 10:51:04 +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