Alex Nicksay
595a5246b4
Python: Create an extension Compressor object
...
- Create a `Compressor` object in the extension module
- Move the `compress` method into the native module and use
the new `Compressor` object to do the compression
Note: This does not change the module-level Python API. The
`Compressor` object will not be publicly exposed until its
methods have stabilized.
2016-10-17 13:03:58 -04:00
Alex Nicksay
f7b5b3dc2c
Python: Create native brotli module and move extension to _brotli
2016-10-17 09:35:27 -04:00
Eugene Kliuchnikov
86fdb68373
Update brotlimodule.cc
2016-09-21 16:02:32 +02:00
Eugene Kliuchnikov
7cbdb4aa0c
Update brotlimodule.cc
2016-09-21 15:51:54 +02:00
Eugene Kliuchnikov
b754f607aa
Update python module
...
* use new decoder API
2016-09-21 15:37:45 +02:00
Eugene Kliuchnikov
8148001158
Move "public" to "include/brotli"
2016-08-23 14:40:33 +02:00
Eugene Kliuchnikov
2c2d5578a6
Use version from common/version.h
2016-08-22 15:44:12 +02:00
Eugene Kliuchnikov
dae9c7ffd0
Fix brotlimodule
2016-08-22 14:00:42 +02:00
eustas
27f9d00efc
Fix issue #383
2016-06-23 11:02:53 +02:00
eustas
81054a4667
Restore platform suffix
2016-06-17 20:24:24 +02:00
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