Commit Graph

1085 Commits

Author SHA1 Message Date
Eugene Kliuchnikov
bc658c2501 Merge pull request #440 from fred-wang/cmake
CMake: Also add ARCHIVE DESTINATION for non-WIN32
2016-10-17 14:20:40 +02:00
Eugene Kliuchnikov
54dc9b0cf1 Merge pull request #441 from fred-wang/readme
Add some basic build instructions in the README.md #166
2016-10-17 14:19:33 +02:00
Eugene Kliuchnikov
616ed51e6e Merge pull request #442 from eustas/master
Add Java port of Brotli decoder.
2016-10-17 14:17:57 +02:00
Eugene Kliuchnikov
5025365d0f Add Java port of Brotli decoder. 2016-10-17 14:04:59 +02:00
Frédéric Wang
8db7411bbc Add some basic build instructions in the README.md #166 2016-10-12 22:00:35 +02:00
Frédéric Wang
1c7776605d CMake: Also add ARCHIVE DESTINATION for non-WIN32 2016-10-12 21:20:04 +02:00
Frédéric Wang
ed2748abbf Remove the underscore in the name of brotli libraries. #326 2016-10-12 18:24:04 +02:00
Alex Nicksay
6f55ee6097 Python: Clean up setup.py file 2016-10-12 11:43:14 -04:00
Eugene Kliuchnikov
85817beba8 Merge pull request #437 from fred-wang/cmake-include
Also install the brotli headers when building the shared libraries. #326
2016-10-12 18:40:37 +03:00
Frédéric Wang
9389876ee9 Add ARCHIVE destination for Windows. 2016-10-12 16:59:11 +02:00
Frédéric Wang
c41962f0ae Use install directories provided by GNUInstallDirs. 2016-10-12 16:12:13 +02:00
Eugene Kliuchnikov
6244e69062 Merge pull request #438 from google/eustas-fix-osx
Use system version of compiler with macpython
2016-10-12 16:31:19 +03:00
Eugene Kliuchnikov
db4cfc1219 Use system version of compiler with macpython 2016-10-12 15:08:41 +02:00
Frédéric Wang
82536d2bae Also install the libraries and headers when building static libraries. 2016-10-12 14:53:37 +02:00
Frédéric Wang
cd8153a1ed Do not install the public headers on WIN32. #326 2016-10-12 14:33:19 +02:00
Frédéric Wang
93933405d3 Actually use BROTLI_INCLUDE_DIRS to get the path to headers. 2016-10-07 22:52:02 +02:00
Frédéric Wang
89a77a94bb Also install the brotli headers when building the shared libraries. #326 2016-10-07 22:26:26 +02:00
Eugene Kliuchnikov
a9f2344f41 Merge pull request #434 from eustas/master
Update research
2016-09-22 12:38:33 +02:00
Eugene Kliuchnikov
dd8fa3e8dd Update research
* don't use `assert` when side-effect is desired
 * use `gflags` to pick options from args

Other changes:
 * teach stub `Makefile` to do partial rebuild
 * remove obsolete `tools/version.h`
2016-09-22 11:32:23 +02:00
Eugene Kliuchnikov
25444e8858 Merge pull request #433 from eustas/master
Update encoder
2016-09-21 19:25:04 +02:00
Eugene Kliuchnikov
0a63f99db9 Update encoder
* move `common/port.h` to `includes/port.h`
 * replace magic more magic numbers with constants
 * artificially limit window size to 2^18 for quality 0 and 1
 * use fixed shifts for quality 0 and 1 hashes
 * removed `BrotliEncoderWriteMetadata`
 * added `BROTLI_OPERATION_EMIT_METADATA` instead
 * deprecated low-level API
 * fixed MSVC warnings
2016-09-21 17:20:36 +02:00
Eugene Kliuchnikov
97fb2090c7 Merge pull request #431 from eustas/master
Update decoder
2016-09-21 16:16:15 +02: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
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