Commit Graph

623 Commits

Author SHA1 Message Date
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
Zoltan Szabadka
85fede2f05 Avoid loop in GetNextKey. 2015-10-02 16:40:26 +02:00
Zoltan Szabadka
d3eb6ecb9a Add BROTLI_FREE macro, check malloc status after histogram allocations. 2015-10-02 16:19:30 +02:00
szabadka
9d9b95e97b Merge pull request #198 from szabadka/master
Add brotli comparison study to the docs.
2015-10-02 14:42:26 +02:00
Zoltan Szabadka
8b40e55cf9 Merge remote-tracking branch 'upstream/master' 2015-10-02 14:41:44 +02:00
Zoltan Szabadka
534072ad42 Add brotli comparison study to the docs. 2015-10-02 14:40:56 +02:00
szabadka
94765ce0a7 Merge pull request #197 from szabadka/master
Add window size parameter to bro tool.
2015-10-02 14:40:31 +02:00
szabadka
0477473ba2 Merge pull request #184 from IIoTeP9HuY/master
Support large inputs/outputs in memory adaptors
2015-10-02 13:22:15 +02:00
Zoltan Szabadka
e96112a26e Merge remote-tracking branch 'upstream/master' 2015-10-02 13:14:10 +02:00
Zoltan Szabadka
165022d2fc Add window size parameter to bro tool.
Fix bug in --force behaviour.
2015-10-02 13:12:20 +02:00
szabadka
0ab69f95bb Merge pull request #196 from szabadka/master
Make the specification up-to-date with the I-D.
2015-10-02 13:10:09 +02:00
Zoltan Szabadka
100a2382b1 Update the spec with IANA Considerations. 2015-10-02 13:08:43 +02:00
Zoltan Szabadka
2faed4abaa Create -06 version of the spec. 2015-10-02 13:08:10 +02:00
szabadka
7ec879eac2 Merge pull request #194 from szabadka/master
Add CONTRIBUTING file.
2015-10-02 12:04:08 +02:00
Zoltan Szabadka
e4d9c617f0 Add CONTRIBUTING file. 2015-10-02 12:02:58 +02:00
szabadka
c0ac8aa9fc Merge pull request #193 from szabadka/master
Add tools/version.h that contains the brotli version.
2015-10-02 11:51:10 +02:00
Zoltan Szabadka
b5c92e54a6 Add tools/version.h that conatins the brotli version.
This can be reused by all of the tools.
Set the version to the next git release tag.
2015-10-02 11:32:42 +02:00
szabadka
cd2538b0a7 Merge pull request #190 from szabadka/master
Reduce command buffer memory usage.
2015-10-01 17:25:00 +02:00
Zoltan Szabadka
754deaed2f Reduce command buffer memory usage. 2015-10-01 17:08:59 +02:00
szabadka
2435cc2198 Merge pull request #189 from szabadka/master
Move literal cost computation to where it's used.
2015-10-01 17:08:35 +02:00
Zoltan Szabadka
4c37566f4b Move literal cost computation to where it's used.
Move utf8 heuristics functions to their own file.
2015-10-01 15:10:42 +02:00
szabadka
dc416abcb7 Merge pull request #187 from szabadka/master
Define the encoder dictionary in the .cc file and link only once.
2015-10-01 14:51:48 +02:00
Zoltan Szabadka
3b8bef70a5 Add extern "C" linkage to the encoder and decoder dictionary definitions. 2015-10-01 14:30:22 +02:00
Zoltan Szabadka
d4cc4f8f6f Define the encoder dictionary in the .cc file and link only once. 2015-10-01 13:08:43 +02:00
szabadka
480b4a67bc Merge pull request #186 from szabadka/master
C++98 compatible encoder plus bug fixes.
2015-10-01 12:36:11 +02:00
Zoltan Szabadka
4a7024dcde Make the brotli encoder C++98 compatible. 2015-10-01 12:08:14 +02:00
Zoltan Szabadka
dfdf2dd4c4 Encoder bug fixes.
* Fix forward declaration mismatch.
* Fix division by zero in 64X test.
* Avoid shadowing of variables in encoder.
2015-10-01 11:40:05 +02:00
szabadka
a802c01ec4 Merge pull request #185 from szabadka/master
Configure automatic appveyor deployment.
2015-09-29 16:16:30 +02:00
Zoltan Szabadka
8ce34946e3 Configure automatic appveyor deployment. 2015-09-29 14:36:12 +02:00
acid
08e98d8d89 Support large inputs/outputs in memory adaptors 2015-09-28 16:03:51 +03:00
szabadka
933bb9bd80 Merge pull request #183 from szabadka/master
Update brotli decoder with latest improvements.
2015-09-28 13:07:37 +02:00
Zoltan Szabadka
27e1aa4264 Merge remote-tracking branch 'upstream/master' 2015-09-28 12:41:29 +02:00
Zoltan Szabadka
03c4ab5967 Simplify uncompressed block decoding state machine. 2015-09-28 12:40:39 +02:00
Zoltan Szabadka
5919712922 Avoid undefined behavior from memcpy for the portable build. 2015-09-28 12:38:29 +02:00
Zoltan Szabadka
10aaa83ffe Fix a bug in ReadHuffmanCode(). 2015-09-28 12:37:35 +02:00
Zoltan Szabadka
3cd3a1066a Small speedup of command decoding. 2015-09-28 12:34:40 +02:00
szabadka
c11ce30a87 Merge pull request #176 from szabadka/master
Fix a bug in CopyUncompressedBlockToOutput().
2015-09-25 19:33:03 +02:00