Mayhem
2a1a1f7282
Remove useless BrotliCompressor instantiation in BrotliCompressBuffer
2015-10-21 19:54:35 +02:00
Joe Tsai
c996c06e8d
Use consistent bit ordering and variable names
...
If bit-orderings are to be parsed from left-to-right,
then make the bit-strings left-justified.
If bit-orderings are to be parsed from right-to-left,
then make the bit-strings right-justified.
Section 3.1, which describes how prefix codes work
shows prefix codes that are "left-to-right", which
is better for demonstrating how the work. However,
most of the rest of the document uses a "right-to-left"
convention. We should distinctly say at the end of
section 3.1 that we are switching conventions.
Thus, change the prefix code in section 3.5 to be
"right-to-left" to be consistent with sections 9.1
and 9.2.
Also, change the variable names in section 7.3 to
be consistent with those used in section 10.
Also, change the description of MNIBBLES to be
"MNIBBLES - 4", similar to the convention of saying
"MLEN - 1". Beforehand, the phrase
"If MNIBBLES is 0, then ..." was unclear whether it
meant MNIBBLES before the "plus 4" or after.
2015-10-20 14:54:51 -07:00
szabadka
83b8de7cb5
Merge pull request #230 from szabadka/master
...
Generate new .txt version of the spec.
2015-10-20 13:13:02 +02:00
Zoltan Szabadka
676bc91cc4
Generate new .txt version of the spec.
...
Based on the changes in the .nroff source in PR #229
2015-10-20 12:27:09 +02:00
szabadka
b7a613fd51
Merge pull request #229 from dsnet/master
...
Fixed minor white-space formatting and ordering of elements
2015-10-20 12:16:32 +02:00
Joe Tsai
4f1fce1681
Make code and paragraph both use 3-space indents
2015-10-20 03:02:55 -07:00
Joe Tsai
f908a4ebe4
Fix spelling of "Acknowledgments"
...
Made tab-space of code snippet to be 3-space instead of 2-space
2015-10-20 02:43:25 -07:00
Joe Tsai
fa1c60e35d
Addressed comments about whitespace
2015-10-20 02:39:09 -07:00
Joe Tsai
1486df764e
Fixed minor whitespace formatting and ordering of elements
...
Fixed minor whitespacing issues that caused print-out to be slightly
confusing. Biggest change is in section 9.2, where an indent seemed
to indicate that some fields were part of the previous field, when
they were not related.
Also, changed the order that transforms are described in section 8
to match the enumeration values that are explicitly defined in
Appendix B.
2015-10-19 13:53:24 -07:00
szabadka
20e838f6ad
Merge pull request #228 from szabadka/master
...
Add a summary table of alphabet sizes to the spec.
2015-10-19 15:35:06 +02:00
Zoltan Szabadka
e92afe0737
Add a summary table of alphabet sizes to the spec.
...
Based on a suggestion from Thomas Pickert.
2015-10-19 14:10:58 +02:00
szabadka
2b82073492
Merge pull request #227 from szabadka/master
...
Create -07 version of the draft.
2015-10-19 13:23:18 +02:00
Zoltan Szabadka
2c3d8eaea3
Change the title and the expiration date of the -07 draft.
2015-10-19 12:16:00 +02:00
Zoltan Szabadka
9bc4008fa2
Create -07 version of the draft.
2015-10-19 12:15:05 +02:00
szabadka
1886f77ac7
Merge pull request #223 from szabadka/master
...
Remove 'static' from kBitCostThreshold declaration.
2015-10-11 13:32:54 +02:00
Zoltan Szabadka
512b9b8a3c
Remove 'static' from kBitCostThreshold declaration.
2015-10-11 13:03:51 +02:00
szabadka
672f6da4d0
Merge pull request #216 from anthrotype/py35
...
add Python 3.5.0 support in Travis and Appveyor builds
2015-10-07 17:34:14 +02:00
Cosimo Lupo
a1d03f76ea
[appveyor/install.ps1] remove unused functions for miniconda
2015-10-07 12:46:16 +01:00
Cosimo Lupo
e34949d1b9
[appveyor] properly support Python 3.5
2015-10-07 09:36:45 +01:00
Cosimo Lupo
d5f23833de
[travis] add Python 3.5.0
2015-10-07 09:18:50 +01:00
Cosimo Lupo
33331769ff
[appveyor] add Python 3.5.0
2015-10-07 09:18:01 +01:00
szabadka
dec50518d4
Merge pull request #212 from anthrotype/fix-lgwin
...
[python] fix lgwin range to 10..24
2015-10-07 10:12:37 +02:00
szabadka
a8914235f9
Merge pull request #210 from anthrotype/trove-classifiers
...
[setup.py] add PyPI trove classifiers
2015-10-07 10:11:39 +02:00
szabadka
dea2e21e3b
Merge pull request #215 from szabadka/master
...
Change the content encoding type from "bro" to "br".
2015-10-07 10:10:46 +02:00
Zoltan Szabadka
77b530135b
Merge remote-tracking branch 'upstream/master'
2015-10-07 10:09:07 +02:00
Cosimo Lupo
8195a5c946
[brotlimodule.cc] set 'lgwin' valid range to [10..24]
2015-10-06 19:50:58 +01:00
Cosimo Lupo
82ffc4df57
[bro.py] set 'lgwin' valid range to [10..24]
2015-10-06 19:50:53 +01:00
Zoltan Szabadka
c4f439dbe6
Change the content encoding type from "bro" to "br".
2015-10-06 16:54:04 +02:00
szabadka
4e6cd0ce07
Merge pull request #211 from szabadka/master
...
Fix the introduction part of the specification.
2015-10-06 15:23:13 +02:00
Zoltan Szabadka
4d7de651a2
Fix the introduction part of the specification.
...
- window bits can be 10 to 24
- meta block can have 0 length
2015-10-06 15:22:18 +02:00
Cosimo Lupo
18a2954522
[setup.py] add PyPI trove classifiers
2015-10-06 12:23:57 +01:00
szabadka
c85bb508cb
Merge pull request #209 from szabadka/master
...
Encoder fixes.
2015-10-06 11:57:41 +02:00
Zoltan Szabadka
2726b8a4f6
Encoder fixes.
...
* Remove default constructors.
* Initialize bit_cost in histogram.Clear().
* Check fseek result in FileSize.
* Replace malloc in BrotliFileIn constructor with "new".
* Catch bad_alloc in bro tool.
2015-10-06 11:23:44 +02:00
szabadka
0fd5224bce
Merge pull request #208 from szabadka/master
...
Fix build for SPARK.
2015-10-06 11:22:55 +02:00
Zoltan Szabadka
47835c6089
Fix build for SPARK.
2015-10-06 11:11:42 +02:00
szabadka
1761255c63
Merge pull request #207 from anthrotype/msvc90-cffi
...
[types.h] make std integer types for _MSC_VER compatible with CFFI
2015-10-06 10:59:34 +02:00
Cosimo Lupo
66fa4ff403
[types.h] make std ints types for _MSC_VER compatible with CFFI
...
As defined in _cffi_include.h: 21fef94ca0/cffi/_cffi_include.h (_cffi_include.h-15)
2015-10-05 11:32:12 +01:00
szabadka
8e90bf4c5f
Merge pull request #201 from anthrotype/msvcrt90-cp27
...
replace vector.data() with &vector[0] for MSVC90 compatibility
2015-10-05 12:15:57 +02:00
Cosimo Lupo
3e67d48702
[brotlimodule.cc] remove C++11 vector::data() call
2015-10-05 11:09:11 +01:00
Cosimo Lupo
8a1fa6631f
[appveyor.yml] use WINDOWS_SDK_VERSION v7.0 for Python27-x64
2015-10-05 11:06:19 +01:00
Cosimo Lupo
b2f6c6dbff
[setup.py] remove monkey-patch for distutils.msvc9compiler; try to import setuptools required by "Microsoft Visual C++ Compiler for Python 2.7"
...
Cf. http://aka.ms/vcpython27
2015-10-05 11:06:18 +01:00
szabadka
ea71ae20a9
Merge pull request #206 from szabadka/master
...
Encoder bug fixes.
2015-10-05 11:51:02 +02:00
Zoltan Szabadka
b39eec8810
Remove C++11 vector::data() calls from encoder.
2015-10-05 11:43:49 +02:00
Zoltan Szabadka
99aae450b8
Initialize min_cost_cmd_ in constructor.
2015-10-05 11:43:31 +02:00
Zoltan Szabadka
b6689b1504
Remove unnecessary branch from literal cost calculation.
2015-10-05 11:42:45 +02:00
szabadka
76dd31e6d6
Merge pull request #205 from szabadka/master
...
Fix some more compiler warnings in the decoder.
2015-10-05 10:38:26 +02:00
Zoltan Szabadka
bacc734997
Fix some more compiler warnings in the decoder.
2015-10-05 10:23:32 +02:00
szabadka
498f1ecebf
Merge pull request #199 from szabadka/master
...
Update brotli decoder with latest improvements.
2015-10-02 17:00:34 +02:00
Zoltan Szabadka
5cf07a68b2
Initialize pos and loop_counter.
2015-10-02 16:46:08 +02:00
Zoltan Szabadka
9ceff0372c
Add more build parameters.
2015-10-02 16:43:47 +02:00