Commit Graph

911 Commits

Author SHA1 Message Date
Eugene Kliuchnikov
de1007f05a Fix uid/gid types 2016-09-21 15:44:56 +02:00
Eugene Kliuchnikov
b754f607aa Update python module
* use new decoder API
2016-09-21 15:37:45 +02:00
Eugene Kliuchnikov
9223fd4d8d Update bro tool:
* use new decoder API
 * copy permissions and modification time to output file
2016-09-21 15:18:35 +02:00
Eugene Kliuchnikov
f20b3eeb2f Update decoder:
* use BROTLI_MAX_DISTANCE_BITS instead of magic constant
 * introduce BROTLI_DEPRECATED
 * move BROTLI_RESTRICT to common/port.h
 * promote reg_t to dec/port.h
 * remove deprecated decoder API
 * more optimistic ring-buffer allocation
 * fix MSVC warnings
 * fix (not tested) for ARM 64-bit RBIT
2016-09-21 15:05:12 +02:00
Eugene Kliuchnikov
20e36ef2f7 Merge pull request #427 from Zip753/master
Add backward reference research tools to brotli repository.
2016-09-20 10:32:34 +02:00
Eugene Kliuchnikov
56c890d5f9 Merge pull request #429 from google/fix-homebrew-gcc-6
Fix integration build
2016-09-20 10:30:42 +02:00
Eugene Kliuchnikov
ea9c51e4ca Update .travis.yml 2016-09-20 10:11:46 +02:00
Eugene Kliuchnikov
887f6fd48f Fix integration build
Homebrew started getting stuck with gcc-6
Temporarily switch to gcc-5
2016-09-20 10:10:21 +02:00
Ivan Nikulin
9294022929 Replace sais.hxx by submodule hillbig/esaxx. 2016-09-19 19:12:30 +02:00
Ivan Nikulin
4291932022 Update research tools description. 2016-09-15 17:19:26 +02:00
Ivan Nikulin
0e52c59a07 Update variable naming. 2016-09-15 16:59:52 +02:00
Ivan Nikulin
9589396e5d Add description of research tools. 2016-09-15 11:34:19 +02:00
Ivan Nikulin
58cecf1783 Add distance encoding research tools. 2016-09-15 10:44:19 +02:00
Mo DeJong
214629ccd7 check for __ARM64_ARCH_8__ in dec/port.h so that arm64 arch under clang is detected, check for __ARM_ARCH being exactly equal to 7 so that arm64 arch does not define BROTLI_TARGET_ARMV7 2016-08-30 12:35:40 -07:00
Eugene Kliuchnikov
5ce9bf11b3 Merge pull request #423 from PiotrSikora/libm
Bazel: link ":brotli_enc" with -lm.
2016-08-29 13:09:09 +02:00
Piotr Sikora
b4f8c7814a Bazel: link ":brotli_enc" with -lm.
While this isn't strictly necessary with recent versions of Bazel
(which unconditionally add -lm to linkopts), building Brotli with
older versions of Bazel requires -lm to be added explicitly.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-29 02:32:12 -07:00
Eugene Kliuchnikov
d7c4da8ad0 Merge pull request #421 from fred-wang/cmake-shared-libraries
Add support for CMake's BUILD_SHARED_LIBS option. #326
2016-08-27 17:45:57 +02:00
Eugene Kliuchnikov
55dd5d7824 Merge pull request #422 from fred-wang/cmake-typo
Fix typo in CMakeFile: s/BROTLI_BUNDLE_MODE/BROTLI_BUNDLED_MODE/
2016-08-27 17:42:08 +02:00
Frédéric Wang
5e1219a32d Fix typo in CMakeFile: s/BROTLI_BUNDLE_MODE/BROTLI_BUNDLED_MODE/ 2016-08-27 12:14:50 +02:00
Frédéric Wang
074e4acd8a Add support for CMake's BUILD_SHARED_LIBS option. #326 2016-08-27 12:05:51 +02:00
Eugene Kliuchnikov
e7f47b9470 Merge pull request #418 from PiotrSikora/bazel_cc_library
Bazel: use cc_library instead of cc_inc_library.
2016-08-24 11:54:07 +02:00
Eugene Kliuchnikov
f14b38d84f Merge pull request #420 from PiotrSikora/bazel_license
Bazel: export LICENSE file.
2016-08-24 11:07:50 +02:00
Piotr Sikora
d0391c99ee Bazel: export LICENSE file.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-23 19:58:51 -07:00
Piotr Sikora
2cc33230f4 Bazel: use cc_library instead of cc_inc_library.
cc_inc_library is broken when used with external repositories
(see: https://github.com/bazelbuild/bazel/issues/1596), which
makes it a bit useless at the moment.

Switch to using cc_library with "includes" attribute to expose
public headers.

While there, fix order of attributes in ":brotli_common" target.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-08-23 15:43:07 -07:00
Eugene Kliuchnikov
85cc650a11 Merge pull request #417 from eustas/master
Move "public" -> "include/brotli"
2016-08-23 16:21:58 +02:00
Eugene Kliuchnikov
532921b8c8 Fix CMake includes. 2016-08-23 15:35:54 +02:00
Eugene Kliuchnikov
3dcc3c02d0 Fix CMake includedirs 2016-08-23 14:49:37 +02:00
Eugene Kliuchnikov
6e2207f486 Add includedir to setup.py 2016-08-23 14:44:13 +02:00
Eugene Kliuchnikov
8148001158 Move "public" to "include/brotli" 2016-08-23 14:40:33 +02:00
Eugene Kliuchnikov
2032f41ffa Merge pull request #416 from sylvestre/master
Remove some deadcode
2016-08-23 10:32:05 +02:00
Sylvestre Ledru
5ad715e445 Remove some deadcode 2016-08-22 18:22:24 +02:00
Eugene Kliuchnikov
7ecd22939c Merge pull request #415 from eustas/master
Use version from common/version.h
2016-08-22 16:29:13 +02:00
Eugene Kliuchnikov
ceddddeb2b Fix setup.py regexp 2016-08-22 15:59:08 +02:00
Eugene Kliuchnikov
2c2d5578a6 Use version from common/version.h 2016-08-22 15:44:12 +02:00
Eugene Kliuchnikov
313066a037 Merge pull request #414 from eustas/master
Update brotli to ToT
2016-08-22 14:48:09 +02:00
Eugene Kliuchnikov
dae9c7ffd0 Fix brotlimodule 2016-08-22 14:00:42 +02:00
Eugene Kliuchnikov
403729c454 Fix setup.py 2016-08-22 13:59:21 +02:00
Eugene Kliuchnikov
801f5f37ee * rename macros with preceding underscore
* add Brotli*TakeOutput methods
* * flushing now doesn't require additional call
* add Brotli*Version methods
* moved public headers to 'public' directory
* removed C++ API
* do not assume STDC_VERSION is defined
2016-08-22 13:28:22 +02:00
Eugene Kliuchnikov
2e0d3214c2 Merge pull request #407 from anthrotype/fix-python-build
Fix python build
2016-08-11 10:59:52 +02:00
Cosimo Lupo
11dc16bf91 .travis.yml: fix wheel deploy 'condition' (use '&&', not '||') 2016-08-10 19:29:48 +01:00
Cosimo Lupo
52cb947469 .travis.sh: skip source venv on linux 2016-08-10 19:27:17 +01:00
Cosimo Lupo
13b8e7ff60 .travis.yml: only deploy OSX wheels 2016-08-10 19:22:41 +01:00
Cosimo Lupo
18dfca9bc1 .travis.sh: only build wheels on OSX 2016-08-10 18:43:41 +01:00
Cosimo Lupo
2dc2ac7701 .travis.sh: explicitly use 'bash' shell instead of generic 'sh'
I need to use 'source' command to activate the python virtual environment,
but apparently that is not available on Ubuntu's default /bin/sh
2016-08-10 18:33:43 +01:00
Cosimo Lupo
e944f1c92b .travis.yml: update Python versions
Removed unnecessary builds for homebrew and system python.
We only use the official Mac Python distributions from Python.org.
The wheels compiled with those will work on both homebrew Python and
the OSX built-in Python.
2016-08-10 18:12:36 +01:00
Cosimo Lupo
a5bf2c0bdd .travis.sh: activate virtualenv before calling python or pip commands 2016-08-10 18:05:38 +01:00
Eugene Kliuchnikov
014f651114 Add benchmarks section 2016-08-10 14:44:59 +02:00
Eugene Kliuchnikov
5d8b0f3a0c Merge pull request #400 from nemequ/master
appveyor: add Visual Studio builds (based on CMake)
2016-08-10 13:30:59 +02:00
Evan Nemerson
fe0e153cb8 cmake: use a different variable for testing with and without libm
CMake seems to cache the result when using the same variable, at least
with some versions, so previously systems requiring libm for log2 may
not have worked as expected.
2016-08-04 18:51:20 -07:00
szabadka
e0a87638d8 Merge pull request #404 from szabadka/master
Update the spec reference to RFC 7932, remove the old internet draft.
2016-08-02 13:46:11 +02:00