Eugene Kliuchnikov
630b5084ee
Update ( #914 )
...
* slimmer stack frames in encoder
* fix MSAN problem in hasher_composite
(not dangerous, only in large_window mode)
* fix JNI decoder wrapper - power-of-two payloads fail to decode sometimes
* reformat polyfil.js and decode_test.js
2021-07-29 22:29:43 +02:00
Dirk Lemstra
ce222e317e
Enabled install when building with emscripten. ( #906 )
...
* Enabled install when building with emscripten.
* Also install the pkg-config files.
2021-06-23 10:12:21 +02:00
Adrián Herrera Arcila
0a3944c8c9
Fix VLA parameter warning ( #893 )
...
Make VLA buffer types consistent in declarations and definitions.
Resolves build crash when using -Werror due to "vla-parameter" warning.
Signed-off-by: Adrian Herrera <adr.her.arc.95@gmail.com>
2021-06-23 09:53:59 +02:00
Ikko Ashimine
bdcfb123c8
Fix typo in hash_composite_inc.h ( #903 )
...
defered -> deferred
2021-06-23 09:42:28 +02:00
Eugene Kliuchnikov
f8c6717745
Update ( #908 )
...
* re-enable Js build/test
* improve decoder performance
* rewrite dictionary data in Java/Js to a shorter uncompressed form
* improve dictionary generation tool
2021-06-23 09:40:57 +02:00
Martin Grigorov
bbe5d72ba3
[Java] make it possible to set modes (generic, text, font) ( #887 )
...
* [Java] make it possible to set modes (generic, text, font)
2021-03-24 21:23:03 +01:00
Eugene Kliuchnikov
2f9277ff2f
Update bazel WORKSPACE files ( #896 )
...
* Update bazel WORKSPACE files
* Use fresh OSX image
* Cache homebrew dirs for faster startup
2021-03-24 15:05:23 +01:00
Christian Clauss
63be8a9940
unichr was removed in Python 3 because all str are Unicode ( #877 )
...
https://python-future.org/compatible_idioms.html#unichr
2021-01-27 15:08:05 +01:00
marianopeck
2a51a85aa8
New Dart fast FFI-based Brotli implementation ( #866 )
...
New Dart compression framework with [fast FFI-based Brotli implementation](https://pub.dev/documentation/es_compression/latest/brotli/brotli-library.html ) with ready-to-use prebuilt binaries for Win/Linux/Mac
2021-01-18 11:59:02 +01:00
Eugene Kliuchnikov
5692e422da
Update ( #852 )
...
* Update
* comments and clarifications in block_splitter
* power-of-2 aligned allocations for Hasher
* refresh decode.js from Java sources
* disable JS build
2021-01-18 10:56:39 +01:00
Aayush Atharva
f16845614d
Fix typo in variable name ( #854 )
...
* Fix typo in variable name
* Fix compile error
2021-01-08 13:24:44 +01:00
Juliy V. Chirkov
0e8afdc968
typo fix ( #868 )
2021-01-08 13:21:44 +01:00
dependabot[bot]
4969984a95
Bump junit from 4.12 to 4.13.1 in /java/org/brotli/dec ( #853 )
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 13:21:02 +01:00
Evgenii Kliuchnikov
fcda9db7fd
Shorten docs/brotli.svg
...
Kudos to @alrra
2020-10-08 14:50:33 +02:00
Tim Gates
685d7baea9
docs: Fix small typo: rougly -> roughly ( #849 )
2020-09-27 11:00:29 +02:00
Gábor Lipták
60b2a7ada5
Add Python 3.7 and 3.8 to Travis ( #847 )
2020-09-25 19:37:31 +02:00
Eugene Kliuchnikov
f6b3aa6d0f
Add brotli logo ( #845 )
...
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
2020-09-24 13:43:44 +02:00
Kurt Mosiejczuk
f2ca32eda6
Change MANIFEST.in to include python regression tests in tarball ( #841 )
...
* Change MANIFEST.in to include python regression tests in tarball
* Python tests need the testdata from the base tests directory
2020-09-21 13:24:13 +02:00
Gabriel
97006561ea
Fix VC C++ 12.0 BROTLI_MSVC_VERSION_CHECK calls ( #843 )
2020-09-21 13:22:56 +02:00
Dmitry Rozhkov
0cd2e3926e
Fix MSVC linker error ( #840 )
...
The -lm linker option is not known to MSVC and setting it triggers
errors in some build systems:
[6,366 / 6,367] Linking source/exe/envoy-static.exe; 11s remote
LINK : warning LNK4044: unrecognized option '/lm'; ignored
LINK : error LNK1218: warning treated as error; no output file generated
ERROR: C:/source/source/exe/BUILD:22:16: Linking of rule
'//source/exe:envoy-static' failed (Exit 4044): link.exe failed: error
executing command
Do not set -lm in case of MSVC.
2020-09-08 16:48:31 +02:00
Pavel Rosický
90fd2b60cc
add execution time ( #834 )
2020-09-07 10:53:03 +02:00
Dmitry Rozhkov
7e8e207ce2
Fix clang-10 compilation issue ( #839 )
...
clang-10 throws the following error:
In file included from external/org_brotli/c/enc/bit_cost.c:9:
external/org_brotli/c/enc/./bit_cost.h:48:16: error: implicit conversion
from 'size_t' (aka 'unsigned long') to 'double' may lose precision
[-Werror,-Wimplicit-int-float-conversion]
if (retval < sum) {
~ ^~~
1 error generated.
Make the conversion explicit.
2020-09-07 09:40:03 +02:00
Eugene Kliuchnikov
09b0992b6a
Revert "Add runtime linker path to pkg-config files ( #740 )" ( #838 )
...
This reverts commit 31754d4ffc
.
2020-09-02 11:38:26 +02:00
Evgenii Kliuchnikov
0545759b2e
Address issues noted in #833
2020-08-28 10:14:08 +02:00
Evgenii Kliuchnikov
e61745a6b7
Re-release
2020-08-27 16:12:55 +02:00
Evgenii Kliuchnikov
db361a0bb9
Re-add python bindings to sources tarball
2020-08-27 16:01:44 +02:00
Eugene Kliuchnikov
d518e55ba7
Update README.md
2020-08-26 18:46:19 +02:00
Eugene Kliuchnikov
d052918255
Fix build files ( #829 )
2020-08-26 17:13:31 +02:00
Eugene Kliuchnikov
665e81dc9b
New version: 1.0.8 ( #827 )
2020-08-26 14:36:02 +02:00
Eugene Kliuchnikov
223d80cfbe
Update ( #826 )
...
* IMPORTANT: decoder: fix potential overflow when input chunk is >2GiB
* simplify max Huffman table size calculation
* eliminate symbol duplicates (static arrays in .h files)
* minor combing in research/ code
2020-08-26 12:32:27 +02:00
Eugene Kliuchnikov
0c5603e07b
Fix output parameter type for _BitScanReverse ( #819 )
...
Fix #811
2020-07-09 16:40:01 +02:00
Eugene Kliuchnikov
e8155d67b0
CMake: change default ("") build type to Release ( #818 )
...
Fix #817
2020-07-09 15:35:57 +02:00
Eugene Kliuchnikov
fc823290a7
Mute strerror/strcpy warnings is MSVC build. ( #815 )
2020-07-02 19:45:57 +02:00
Eugene Kliuchnikov
5519352661
Add workaround for lying feof. ( #814 )
...
Should fix #812
2020-07-02 17:57:40 +02:00
fisherwky
d2ea198232
Update platform.h ( #813 )
...
fix compile error (platform.h:362: error: cast discards qualifiers from pointer target type)
2020-06-30 11:23:07 +02:00
Nils Goroll
31754d4ffc
Add runtime linker path to pkg-config files ( #740 )
...
Otherwise libraries will not be found at runtime when installing to a
path not included in the default runtime linker's path with programs
linking brotli configured via pkg-config.
2020-05-15 13:11:01 +02:00
OZone
8f093f5e84
.gitignore: Ignore .obj files ( #805 )
...
EDK II windows build produces .obj files in source tree
2020-05-15 13:05:03 +02:00
Eugene Kliuchnikov
f0db711f46
Filter sources for the tarball. ( #808 )
2020-05-15 13:04:17 +02:00
Eugene Kliuchnikov
7f740f1308
Update ( #807 )
...
- fix formatting
- fix type conversion
- fix no-op arithmetic with null-pointer
- improve performance of hash_longest_match64
- go: detect read after close
- java decoder: support compound dictionary
- remove executable flag on non-scripts
2020-05-15 11:06:21 +02:00
Eugene Kliuchnikov
f83aa5169e
Update bazel to 2.2 + update config ( #798 )
...
Newer bazel does not support `maven_jar` rule anymore...
2020-03-31 14:38:01 +02:00
Clinton Ingram
924b2b2b9d
Move TZCNT and BSR intrinsics to platform.h, add MSVC versions ( #636 )
2020-03-19 11:57:56 +01:00
Paul Vollmer
0503d8b766
Added go.mod file to go/cbrotli directory ( #754 )
...
* Added go.mod file
* go.mod removed go version
2020-03-19 11:54:51 +01:00
Cristi Vîjdea
f503cb709c
Add HAVE_LOG2 build macro ( #783 )
...
* Add HAVE_LOG2 build macro
Fixes #781
* Rename macro to BROTLI_HAVE_LOG2 and move comment for visibility
2020-03-19 10:46:52 +01:00
Leo Neat
36ac0feaf9
Adding CIFuzz ( #797 )
2020-03-19 09:52:07 +01:00
shenglei10
666c3280cc
Make types of variable match ( #796 )
2020-02-14 10:40:02 +01:00
agrieve
4b5771bee7
Add missing "const" to a couple of kConstants ( #780 )
...
These showed up in a Chromium audit:
https://bugs.chromium.org/p/chromium/issues/detail?id=747064#c8
Although already effectively const, adding "const" causes the symbols to
be moved into the read-only section of the binary.
2019-12-20 00:15:58 +01:00
Griffin Downs
c435f06675
Add vcpkg installation instructions ( #776 )
2019-10-01 22:53:10 +02:00
James Hilliard
5c3a9a937b
Fix license in setup.py ( #769 )
2019-08-16 16:32:14 +02:00
Ammar Askar
afc4a74273
Add oss-fuzz fuzzing status badge to README ( #767 )
2019-08-13 15:49:30 +02:00
Eugene Kliuchnikov
35ef5c554d
Disable PIC in EMCC mode. ( #768 )
2019-08-13 15:23:04 +02:00