Commit Graph

67 Commits

Author SHA1 Message Date
eustas
f0c7ece315 Remove platform suffix 2016-06-16 17:45:05 +02:00
eustas
bac060f1a1 Fix library path 2016-06-16 17:25:26 +02:00
Eugene Kliuchnikov
db3a11625d Fix CI build. 2016-06-13 15:22:13 +02:00
Eugene Kliuchnikov
b972c67780 Convert encoder to plain C. 2016-06-13 11:01:04 +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
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
75c6c1abab Fix brotlimodule 2016-04-19 16:43:42 +02:00
Cosimo Lupo
f66c7c5442 python/tests: clean up generated files if successful 2016-04-10 20:52:27 +01:00
eustas
7e5bbd5f9b Merge pull request #321 from eustas/master
Add custom dictionary feature binding
2016-02-24 16:54:54 +01:00
Eugene Kliuchnikov
7d25e6b6fe Truncate dictionary to window size. 2016-02-24 16:01:35 +01:00
Eugene Kliuchnikov
cbb0d4cd73 Remove streaming test. 2016-02-23 17:45:42 +01:00
Eugene Kliuchnikov
30612e3a64 Add binding for custom_dictionary. 2016-02-23 17:42:55 +01:00
eustas
14276922dd Fix typo 2016-02-23 16:10:53 +01:00
eustas
7111c339ec Create README.md 2016-02-23 16:06:31 +01:00
Ilya Nazarov
291d21cc2f Fix choices for --lgwin and --mode in python/bro.py. 2016-02-19 16:54:15 +06:00
eustas
c5c80a9f3d Addressed comment 2016-01-25 15:13:17 +01:00
eustas
8e8b8de0e6 Update brotlimodule.cc 2016-01-25 12:33:38 +01:00
eustas
1b938dc7a2 Update brotlimodule.cc 2016-01-25 12:16:36 +01:00
eustas
c49918e1ee Update brotlimodule.cc 2016-01-25 12:07:39 +01:00
eustas
ca0ae4cbc0 Update brotlimodule.cc 2016-01-25 11:40:20 +01:00
eustas
a4f40c1b24 Fix brotlimodule compilation warnings 2016-01-25 11:39:05 +01:00
eustas
fec00d24e1 Make input const 2016-01-23 00:31:47 +01:00
eustas
a22993b312 Fix pointer dereferencing. 2016-01-22 14:09:25 +01:00
eustas
1f9106429a Remove deprecated API call 2016-01-22 14:01:46 +01:00
Cosimo Lupo
912b0ac2c4 brotlimodule.cc: fix error with clang ('expected a class or namespace') 2015-12-08 12:49:04 +00: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
Cosimo Lupo
3e67d48702 [brotlimodule.cc] remove C++11 vector::data() call 2015-10-05 11:09:11 +01: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
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
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
Cosimo Lupo
08212db733 [brotlimodule.cc] fix C++11 warning about conversion from string literal to 'char *' 2015-08-10 14:39:44 +01:00
Cosimo Lupo
d3dfc68922 [brotlimodule.cc] no longer expose deprecated BrotliParams: enable_dictionary, enable_transforms, greedy_block_split, enable_context_modeling 2015-08-10 14:38:17 +01:00
Cosimo Lupo
e356b9bc2f [roundtrip_test.py] repeat test at different quality (1, 6, 9, 11) 2015-05-11 14:12:37 +01:00
Cosimo Lupo
c93c0dab92 [bro.py] use brotli.MODE_GENERIC as default compression mode;
remove additional low-level parameters
2015-05-11 11:10:48 +01:00
Cosimo Lupo
aa6f7d8f0c [brotlimodule] add MODE_GENERIC constant 2015-05-11 11:09:36 +01:00
Cosimo Lupo
b7e8291788 [bro.py] remove debug print 2015-05-11 10:39:29 +01:00
Cosimo Lupo
4106a406d0 [bro.py] use new optional encoder parameters when compressing;
modified the help string to include the new parameters.
2015-05-11 10:39:28 +01:00
Cosimo Lupo
32c44ec87d [bro.py] use argparse instead of getopt 2015-05-11 10:39:26 +01:00
Cosimo Lupo
3351bb08e3 [brotlimodule] apply uniform docstring style 2015-05-11 10:39:24 +01:00
Cosimo Lupo
6d935db75c [brotlimodule] add quality, lgwin and lgblock parameters 2015-05-11 10:39:23 +01:00
Cosimo Lupo
dbcb32614a [brotlimodule] add enable_context_modeling parameter (defaults to True) 2015-05-11 10:39:21 +01:00
Cosimo Lupo
4c1d06931e [brotlimodule] add new keyword params docstring of brotli.compress 2015-05-11 10:39:20 +01:00
Cosimo Lupo
6264bea2e4 [brotlimodule] add greedy_block_split parameter (defaults to False);
renamed variables: transform -> enable_transforms, dictionary -> enable_dictionary
2015-05-11 10:39:18 +01:00
Cosimo Lupo
b2eba122c8 [brotlimodule] add enable_dictionary parameter (defautls to True) 2015-05-11 10:39:17 +01:00
Cosimo Lupo
89c74d6859 [brotlimodule] use keyword arguments for mode and enable_transforms;
update brotli.compress docstring accordingly
2015-05-11 10:39:15 +01:00
Cosimo Lupo
e6913b2e78 [python] use built-in split instead of 'string' module for py23
In python3, the 'string' module no longer has a 'split' function.
2015-05-08 10:06:18 +01:00
Zoltan Szabadka
10a2f3745a Handle multiple compressed files per original in the test.
Add some more test cases that decompress to the empty
file or a one byte long file. These test cases have
examples for the updated stream header and meta-block
header formats.
2015-05-07 20:43:01 +02:00