From 7d7bc20882b32a7e24d056e78ab6dca2b83d742b Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 9 Sep 2017 20:10:12 +0300 Subject: [PATCH] Bump version and update Changes --- Changes | 5 + MANIFEST | 243 +++++++++++++++++++++++------------- README | 6 +- lib/IO/Compress/Brotli.pm | 4 +- lib/IO/Uncompress/Brotli.pm | 4 +- 5 files changed, 165 insertions(+), 97 deletions(-) diff --git a/Changes b/Changes index 38e03f1..46045e5 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Perl extension IO::Compress::Brotli. +0.002_002 2017-09-09T18:10+01:00 + - Update included Brotli library to v0.6.0 + - [BREAKS API] unbro now takes two parameters due to the removal of + the BrotliDecompressedSize function + 0.002001 2016-09-08T23:09+01:00 - Use gmake (if available) to compile the brotli library diff --git a/MANIFEST b/MANIFEST index cfb48b1..1ded028 100644 --- a/MANIFEST +++ b/MANIFEST @@ -4,10 +4,147 @@ MANIFEST This list of files Makefile.PL README bin/bro-perl -brotli/BUILD -brotli/CMakeLists.txt +brotli/.git brotli/CONTRIBUTING.md brotli/LICENSE +brotli/docs/brotli-comparison-study-2015-09-22.pdf +brotli/docs/decode.h.3 +brotli/docs/encode.h.3 +brotli/docs/types.h.3 +brotli/python/tests/__init__.py +brotli/python/tests/compressor_test.py +brotli/python/tests/decompress_test.py +brotli/python/tests/_test_utils.py +brotli/python/tests/bro_test.py +brotli/python/tests/compress_test.py +brotli/python/Makefile +brotli/python/README.md +brotli/python/_brotli.cc +brotli/python/bro.py +brotli/python/brotli.py +brotli/tests/testdata/10x10y +brotli/tests/testdata/10x10y.compressed +brotli/tests/testdata/64x +brotli/tests/testdata/64x.compressed +brotli/tests/testdata/alice29.txt +brotli/tests/testdata/alice29.txt.compressed +brotli/tests/testdata/asyoulik.txt +brotli/tests/testdata/asyoulik.txt.compressed +brotli/tests/testdata/backward65536 +brotli/tests/testdata/backward65536.compressed +brotli/tests/testdata/bb.binast +brotli/tests/testdata/compressed_file +brotli/tests/testdata/compressed_file.compressed +brotli/tests/testdata/compressed_repeated +brotli/tests/testdata/compressed_repeated.compressed +brotli/tests/testdata/empty +brotli/tests/testdata/empty.compressed +brotli/tests/testdata/empty.compressed.00 +brotli/tests/testdata/empty.compressed.01 +brotli/tests/testdata/empty.compressed.02 +brotli/tests/testdata/empty.compressed.03 +brotli/tests/testdata/empty.compressed.04 +brotli/tests/testdata/empty.compressed.05 +brotli/tests/testdata/empty.compressed.06 +brotli/tests/testdata/empty.compressed.07 +brotli/tests/testdata/empty.compressed.08 +brotli/tests/testdata/empty.compressed.09 +brotli/tests/testdata/empty.compressed.10 +brotli/tests/testdata/empty.compressed.11 +brotli/tests/testdata/empty.compressed.12 +brotli/tests/testdata/empty.compressed.13 +brotli/tests/testdata/empty.compressed.14 +brotli/tests/testdata/empty.compressed.15 +brotli/tests/testdata/empty.compressed.16 +brotli/tests/testdata/empty.compressed.17 +brotli/tests/testdata/empty.compressed.18 +brotli/tests/testdata/lcet10.txt +brotli/tests/testdata/lcet10.txt.compressed +brotli/tests/testdata/mapsdatazrh +brotli/tests/testdata/mapsdatazrh.compressed +brotli/tests/testdata/monkey +brotli/tests/testdata/monkey.compressed +brotli/tests/testdata/plrabn12.txt +brotli/tests/testdata/plrabn12.txt.compressed +brotli/tests/testdata/quickfox +brotli/tests/testdata/quickfox.compressed +brotli/tests/testdata/quickfox_repeated +brotli/tests/testdata/quickfox_repeated.compressed +brotli/tests/testdata/random_chunks +brotli/tests/testdata/random_org_10k.bin +brotli/tests/testdata/random_org_10k.bin.compressed +brotli/tests/testdata/ukkonooa +brotli/tests/testdata/ukkonooa.compressed +brotli/tests/testdata/x +brotli/tests/testdata/x.compressed +brotli/tests/testdata/x.compressed.00 +brotli/tests/testdata/x.compressed.01 +brotli/tests/testdata/x.compressed.02 +brotli/tests/testdata/x.compressed.03 +brotli/tests/testdata/xyzzy +brotli/tests/testdata/xyzzy.compressed +brotli/tests/testdata/zeros +brotli/tests/testdata/zeros.compressed +brotli/tests/Makefile +brotli/tests/compatibility_test.sh +brotli/tests/roundtrip_test.sh +brotli/tests/run-compatibility-test.cmake +brotli/tests/run-roundtrip-test.cmake +brotli/configure +brotli/go/cbrotli/BUILD +brotli/go/cbrotli/cbrotli.go +brotli/go/cbrotli/cbrotli_test.go +brotli/go/cbrotli/internal/BUILD +brotli/go/cbrotli/internal/decoder.go +brotli/go/cbrotli/internal/encoder.go +brotli/java/org/brotli/dec/BrotliRuntimeException.java +brotli/java/org/brotli/dec/BUILD +brotli/java/org/brotli/dec/BitReader.java +brotli/java/org/brotli/dec/BitReaderTest.java +brotli/java/org/brotli/dec/BrotliInputStream.java +brotli/java/org/brotli/dec/Context.java +brotli/java/org/brotli/dec/Decode.java +brotli/java/org/brotli/dec/DecodeTest.java +brotli/java/org/brotli/dec/Dictionary.java +brotli/java/org/brotli/dec/DictionaryTest.java +brotli/java/org/brotli/dec/EnumTest.java +brotli/java/org/brotli/dec/Huffman.java +brotli/java/org/brotli/dec/HuffmanTreeGroup.java +brotli/java/org/brotli/dec/IntReader.java +brotli/java/org/brotli/dec/Prefix.java +brotli/java/org/brotli/dec/RunningState.java +brotli/java/org/brotli/dec/State.java +brotli/java/org/brotli/dec/SynthTest.java +brotli/java/org/brotli/dec/Transform.java +brotli/java/org/brotli/dec/TransformTest.java +brotli/java/org/brotli/dec/Utils.java +brotli/java/org/brotli/dec/WordTransformType.java +brotli/java/org/brotli/dec/pom.xml +brotli/java/org/brotli/integration/fuzz_data.zip +brotli/java/org/brotli/integration/pom.xml +brotli/java/org/brotli/integration/BUILD +brotli/java/org/brotli/integration/BundleChecker.java +brotli/java/org/brotli/integration/test_data.zip +brotli/java/org/brotli/pom.xml +brotli/research/Makefile +brotli/research/README.md +brotli/research/brotlidump.py +brotli/research/draw_diff.cc +brotli/research/draw_histogram.cc +brotli/research/find_opt_references.cc +brotli/research/img/enwik9_brotli.png +brotli/research/img/enwik9_diff.png +brotli/research/img/enwik9_opt.png +brotli/research/read_dist.h +brotli/setup.cfg +brotli/.bintray.json +brotli/.configure-custom.sh +brotli/.gitignore +brotli/.gitmodules +brotli/.travis.sh +brotli/.travis.yml +brotli/BUILD +brotli/CMakeLists.txt brotli/MANIFEST.in brotli/Makefile brotli/README.md @@ -18,14 +155,12 @@ brotli/appveyor/run_with_compiler.cmd brotli/common/constants.h brotli/common/dictionary.c brotli/common/dictionary.h -brotli/common/port.h -brotli/common/types.h -brotli/configure +brotli/common/version.h +brotli/configure-cmake brotli/dec/bit_reader.c brotli/dec/bit_reader.h brotli/dec/context.h brotli/dec/decode.c -brotli/dec/decode.h brotli/dec/huffman.c brotli/dec/huffman.h brotli/dec/port.h @@ -33,9 +168,10 @@ brotli/dec/prefix.h brotli/dec/state.c brotli/dec/state.h brotli/dec/transform.h -brotli/docs/brotli-comparison-study-2015-09-22.pdf brotli/enc/backward_references.c brotli/enc/backward_references.h +brotli/enc/backward_references_hq.c +brotli/enc/backward_references_hq.h brotli/enc/backward_references_inc.h brotli/enc/bit_cost.c brotli/enc/bit_cost.h @@ -54,14 +190,10 @@ brotli/enc/compress_fragment.c brotli/enc/compress_fragment.h brotli/enc/compress_fragment_two_pass.c brotli/enc/compress_fragment_two_pass.h -brotli/enc/compressor.cc -brotli/enc/compressor.h brotli/enc/context.h +brotli/enc/dictionary_hash.c brotli/enc/dictionary_hash.h brotli/enc/encode.c -brotli/enc/encode.h -brotli/enc/encode_parallel.cc -brotli/enc/encode_parallel.h brotli/enc/entropy_encode.c brotli/enc/entropy_encode.h brotli/enc/entropy_encode_static.h @@ -69,8 +201,10 @@ brotli/enc/fast_log.h brotli/enc/find_match_length.h brotli/enc/hash.h brotli/enc/hash_forgetful_chain_inc.h +brotli/enc/hash_longest_match64_inc.h brotli/enc/hash_longest_match_inc.h brotli/enc/hash_longest_match_quickly_inc.h +brotli/enc/hash_to_binary_tree_inc.h brotli/enc/histogram.c brotli/enc/histogram.h brotli/enc/histogram_inc.h @@ -88,90 +222,19 @@ brotli/enc/ringbuffer.h brotli/enc/static_dict.c brotli/enc/static_dict.h brotli/enc/static_dict_lut.h -brotli/enc/streams.cc -brotli/enc/streams.h brotli/enc/utf8_util.c brotli/enc/utf8_util.h brotli/enc/write_bits.h +brotli/fuzz/decode_fuzzer.cc +brotli/fuzz/run_decode_fuzzer.cc +brotli/fuzz/test_fuzzer.sh +brotli/include/brotli/decode.h +brotli/include/brotli/encode.h +brotli/include/brotli/port.h +brotli/include/brotli/types.h brotli/premake5.lua -brotli/python/README.md -brotli/python/bro.py -brotli/python/brotlimodule.cc -brotli/python/tests/compatibility_test.py -brotli/python/tests/custom_dictionary_test.py -brotli/python/tests/roundtrip_test.py -brotli/python/tests/test_utils.py -brotli/setup.cfg brotli/setup.py -brotli/tests/compatibility_test.sh -brotli/tests/roundtrip_test.sh -brotli/tests/run-compatibility-test.cmake -brotli/tests/run-roundtrip-test.cmake -brotli/tests/testdata/10x10y -brotli/tests/testdata/10x10y.compressed -brotli/tests/testdata/64x -brotli/tests/testdata/64x.compressed -brotli/tests/testdata/alice29.txt -brotli/tests/testdata/alice29.txt.compressed -brotli/tests/testdata/asyoulik.txt -brotli/tests/testdata/asyoulik.txt.compressed -brotli/tests/testdata/backward65536 -brotli/tests/testdata/backward65536.compressed -brotli/tests/testdata/bb.binast -brotli/tests/testdata/compressed_file -brotli/tests/testdata/compressed_file.compressed -brotli/tests/testdata/compressed_repeated -brotli/tests/testdata/compressed_repeated.compressed -brotli/tests/testdata/empty -brotli/tests/testdata/empty.compressed -brotli/tests/testdata/empty.compressed.00 -brotli/tests/testdata/empty.compressed.01 -brotli/tests/testdata/empty.compressed.02 -brotli/tests/testdata/empty.compressed.03 -brotli/tests/testdata/empty.compressed.04 -brotli/tests/testdata/empty.compressed.05 -brotli/tests/testdata/empty.compressed.06 -brotli/tests/testdata/empty.compressed.07 -brotli/tests/testdata/empty.compressed.08 -brotli/tests/testdata/empty.compressed.09 -brotli/tests/testdata/empty.compressed.10 -brotli/tests/testdata/empty.compressed.11 -brotli/tests/testdata/empty.compressed.12 -brotli/tests/testdata/empty.compressed.13 -brotli/tests/testdata/empty.compressed.14 -brotli/tests/testdata/empty.compressed.15 -brotli/tests/testdata/empty.compressed.16 -brotli/tests/testdata/empty.compressed.17 -brotli/tests/testdata/empty.compressed.18 -brotli/tests/testdata/lcet10.txt -brotli/tests/testdata/lcet10.txt.compressed -brotli/tests/testdata/mapsdatazrh -brotli/tests/testdata/mapsdatazrh.compressed -brotli/tests/testdata/monkey -brotli/tests/testdata/monkey.compressed -brotli/tests/testdata/plrabn12.txt -brotli/tests/testdata/plrabn12.txt.compressed -brotli/tests/testdata/quickfox -brotli/tests/testdata/quickfox.compressed -brotli/tests/testdata/quickfox_repeated -brotli/tests/testdata/quickfox_repeated.compressed -brotli/tests/testdata/random_chunks -brotli/tests/testdata/random_org_10k.bin -brotli/tests/testdata/random_org_10k.bin.compressed -brotli/tests/testdata/ukkonooa -brotli/tests/testdata/ukkonooa.compressed -brotli/tests/testdata/x -brotli/tests/testdata/x.compressed -brotli/tests/testdata/x.compressed.00 -brotli/tests/testdata/x.compressed.01 -brotli/tests/testdata/x.compressed.02 -brotli/tests/testdata/x.compressed.03 -brotli/tests/testdata/xyzzy -brotli/tests/testdata/xyzzy.compressed -brotli/tests/testdata/zeros -brotli/tests/testdata/zeros.compressed brotli/tools/bro.c -brotli/tools/version.h lib/IO/Compress/Brotli.pm lib/IO/Uncompress/Brotli.pm ppport.h diff --git a/README b/README index 3d7582e..d09a639 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -IO-Compress-Brotli version 0.002001 -=================================== +IO-Compress-Brotli version 0.002_002 +==================================== Brotli is a data compression format primarily used in web fonts and (more recently) HTTP compression. @@ -29,7 +29,7 @@ Additionally, it requires a C compiler. COPYRIGHT AND LICENCE -Copyright (C) 2015-2016 by Marius Gavrilescu +Copyright (C) 2015-2017 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, diff --git a/lib/IO/Compress/Brotli.pm b/lib/IO/Compress/Brotli.pm index 839c67b..0b81818 100644 --- a/lib/IO/Compress/Brotli.pm +++ b/lib/IO/Compress/Brotli.pm @@ -10,7 +10,7 @@ use IO::Uncompress::Brotli; our @EXPORT = qw/bro/; our @EXPORT_OK = @EXPORT; -our $VERSION = '0.002001'; +our $VERSION = '0.002_002'; my %BROTLI_ENCODER_MODE = ( generic => 0, text => 1, font => 2 ); sub mode { @@ -149,7 +149,7 @@ clean up of the overall project were contributed by: =head1 COPYRIGHT AND LICENSE -Copyright (C) 2015-2016 by Marius Gavrilescu +Copyright (C) 2015-2017 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, diff --git a/lib/IO/Uncompress/Brotli.pm b/lib/IO/Uncompress/Brotli.pm index 75798a2..05c54a7 100644 --- a/lib/IO/Uncompress/Brotli.pm +++ b/lib/IO/Uncompress/Brotli.pm @@ -8,7 +8,7 @@ use parent qw/Exporter/; our @EXPORT = qw/unbro/; our @EXPORT_OK = @EXPORT; -our $VERSION = '0.002001'; +our $VERSION = '0.002_002'; require XSLoader; XSLoader::load('IO::Compress::Brotli', $VERSION); @@ -109,7 +109,7 @@ clean up of the overall project were contributed by: =head1 COPYRIGHT AND LICENSE -Copyright (C) 2015-2016 by Marius Gavrilescu +Copyright (C) 2015-2017 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, -- 2.39.2