Commit Graph

522 Commits

Author SHA1 Message Date
Zoltan Szabadka
85301238ea Fix a bug in CopyUncompressedBlockToOutput(). 2015-09-25 17:43:54 +02:00
szabadka
6dd53d6183 Merge pull request #175 from szabadka/master
Fix a bug in uncompressed block handling.
2015-09-25 12:51:52 +02:00
Zoltan Szabadka
163b59b160 Add null output callback to decoder for easier testing. 2015-09-25 12:07:07 +02:00
Zoltan Szabadka
b04f6248be Fix a bug in uncompressed block handling. 2015-09-25 12:05:39 +02:00
szabadka
24dca87f96 Merge pull request #172 from szabadka/master
Update brotli decoder with latest improvements.
2015-09-24 20:07:42 +02:00
Zoltan Szabadka
0cf3a54422 Update brotli decoder with latest improvements. 2015-09-24 18:35:25 +02:00
eustas
039cb6ede3 Merge pull request #167 from kasper93/master
Add missing time.h header.
2015-09-24 15:10:42 +02:00
Kacper Michajłow
76bf374546 Add missing time.h header.
This commit fixes compilation on some build systems.
2015-09-23 21:39:47 +02:00
szabadka
b3905e8075 Merge pull request #164 from szabadka/master
Update brotli decoder with latest improvements.
2015-09-23 13:09:20 +02:00
Zoltan Szabadka
1216684d0b Merge remote-tracking branch 'upstream/master' 2015-09-23 12:26:07 +02:00
Zoltan Szabadka
a7cedfc26d Update brotli decoder with latest improvements. 2015-09-23 12:24:06 +02:00
szabadka
0eddc604e8 Merge pull request #156 from karpinski/master
Fix typos in some of the files under enc/ and dec/.
2015-09-21 21:23:50 +02:00
Marcin Karpinski
21ac39f7c8 Fix typos. 2015-09-21 21:04:07 +02:00
szabadka
5cc9192599 Merge pull request #155 from szabadka/master
Create -05 version of the internet draft.
2015-09-21 13:38:22 +02:00
Zoltan Szabadka
cacd294e87 Change the expiration date and title of the -05 draft. 2015-09-21 13:29:47 +02:00
Zoltan Szabadka
d1341bdd4c Create -05 version of the draft. 2015-09-21 13:27:22 +02:00
Zoltan Szabadka
e9edf7ebc5 Fix typo in the specification. 2015-09-21 13:26:17 +02:00
szabadka
1dd66ef114 Merge pull request #154 from szabadka/master
Clarifications to the spec regarding when the stream should be rejected as invalid.
2015-09-15 15:47:18 +02:00
Zoltan Szabadka
075b3ad5fb Clarifications to the spec regarding when the stream should be rejected as invalid.
Based on Mark Adler's review findings.
2015-09-15 15:35:48 +02:00
eustas
7f7a2fb48c Merge pull request #148 from eustas/master
Fixups in encoder and decoder.
2015-09-01 15:04:54 +02:00
Eugene Klyuchnikov
4092b4d479 Add more testdata. 2015-09-01 13:45:19 +02:00
Eugene Klyuchnikov
a67f0056f2 Add "repeat" and "verbose" flags to "bro" tool. 2015-09-01 13:44:17 +02:00
Eugene Klyuchnikov
b58317a652 Fix bug in encoder. 2015-09-01 12:18:41 +02:00
Eugene Klyuchnikov
127aa48a96 Fix bug in decoder.
Minor cleanup.
2015-09-01 12:18:22 +02:00
szabadka
50505f41e7 Merge pull request #147 from szabadka/master
Configure automatic deployment of github releases from Travis.
2015-09-01 10:00:53 +02:00
Zoltan Szabadka
070dacb5de Configure automatic deployment of github releases from Travis. 2015-08-31 15:34:42 +02:00
lvandeve
d25c102ae8 Merge pull request #146 from lvandeve/master
update brotli encoder with latest improvements
2015-08-28 17:41:58 +02:00
Lode Vandevenne
6511d6b016 update brotli encoder with latest improvements 2015-08-28 16:09:23 +02:00
lvandeve
53dbee731c Merge pull request #145 from lvandeve/master
update brotli decoder with latest improvements
2015-08-28 16:07:15 +02:00
Lode Vandevenne
db71549ac5 update brotli decoder with latest improvements 2015-08-28 15:20:24 +02:00
szabadka
5da4f65c43 Merge pull request #139 from anthrotype/appveyor
Appveyor support
2015-08-14 13:20:09 +02:00
Cosimo Lupo
063009029e add support for Appveyor CI
test build on Windows 2.7 and 3.4 (both 32 and 64 bit);
compile wheel packages and upload artifacts to build report
2015-08-14 11:55:53 +01:00
szabadka
806e7317c7 Merge pull request #138 from anthrotype/travis
Travis support (OS X)
2015-08-14 12:55:22 +02:00
szabadka
84d0621e6c Merge pull request #137 from anthrotype/fix_macpython
[setup.py] pass extra compiler flags to clang on OS X to enable support for C+11
2015-08-14 12:54:26 +02:00
Cosimo Lupo
6dcb0dd1b1 [travis] add placeholder 'deploy' target for Github Releases 2015-08-14 11:35:02 +01:00
Cosimo Lupo
a5822da956 [travis] also compile for 'macpython' (official installers from Python.org);
override CC and CXX to use clang instead of gcc-4.2, which doesn't support C++11
2015-08-14 11:28:26 +01:00
Cosimo Lupo
bb3d9248c0 add support for Travis CI (OS X only for now)
Use 'terrify' utilities from MacPython to build precompiled wheel packages
2015-08-14 11:28:26 +01:00
Cosimo Lupo
e88fe7b248 [setup.py] pass extra compiler flags on OS X to enable support for C++11: -stdlib=libc++ -mmacosx-version-min=10.7 2015-08-14 11:06:59 +01:00
szabadka
d811b186c5 Merge pull request #133 from anthrotype/py27win
fix compilation on Windows Python 2.7 + support for MINGW32 and Cygwin
2015-08-11 13:49:55 +02:00
Cosimo Lupo
d2c8b2777d [setup.py] retrieve version string from brotlimodule.cc so we don't need to modify it more than once 2015-08-11 11:12:58 +01:00
Cosimo Lupo
8c7edd3e07 [bro.py] print --version as brotli.__version__ 2015-08-11 11:12:56 +01:00
Cosimo Lupo
ac33d35632 [brotlimodule.cc] add __version__ string attribute to brotli module 2015-08-11 11:12:54 +01:00
Cosimo Lupo
54baf43c70 [setup.py] support MINGW32 compiler: fix clashing 'hypot' definition; statically link libgcc and libstdc++ 2015-08-11 11:12:52 +01:00
Cosimo Lupo
c3540e2b7a [setup.py] use MSVC 10.0 when compiling for Windows Python 2.7
Python 2.7 for Windows is compiled using MS Visaul C++ 9.0 (Visual Studio 2008).
However the latter does not support many modern C++ features which are
required to compile the Brotli encoder. So we monkey-patch distutils
to always look for MSVC version 10.0 instead of 9.0.
2015-08-11 11:12:49 +01:00
Cosimo Lupo
f14172902b [brotlimodule.cc] fix RuntimeError on OS X: keyword list must be NULL terminated
Sorry, my fault...
2015-08-11 11:09:47 +01:00
szabadka
55a40ce214 Merge pull request #135 from szabadka/master
Fix malloc.h and stdlib.h includes.
2015-08-11 11:10:37 +02:00
Zoltan Szabadka
7de70dbcc7 Add missing <stdlib.h> to streams.cc 2015-08-11 11:09:04 +02:00
Zoltan Szabadka
944c3b8290 Remove non-standard <malloc.h> from decode.c
The already included <stdlib.h> is enough for the malloc/free calls.
2015-08-11 11:07:26 +02:00
szabadka
421e4ed436 Merge pull request #132 from szabadka/master
Brotli decoder optimizations.
2015-08-10 16:44:36 +02:00
Zoltan Szabadka
4b2fd00e24 Use a single lookup table for insert/copy offsets and extra bits.
Remove safe_malloc.c since all the bounds checking is done inside
decode.c now.
2015-08-10 16:39:50 +02:00