Commit Graph

724 Commits

Author SHA1 Message Date
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
Zoltan Szabadka
af1768478a Update the spec reference to RFC 7932, remove the old internet draft. 2016-08-02 13:27:29 +02:00
Evan Nemerson
c1ec7ba292 appveyor: add Visual Studio builds (based on CMake)
This only goes back to VS 12 (2013) because MSVC didn't support log2
until then.
2016-07-29 13:24:17 -07:00
Eugene Kliuchnikov
24685f9bf3 Merge pull request #399 from nemequ/master
Add mingw support.
2016-07-29 10:38:09 +02:00
Evan Nemerson
01f9cf94a0 travis: use container-based infrastructure 2016-07-28 20:13:29 -07:00
Evan Nemerson
03657e8089 Add mingw support. 2016-07-28 19:32:33 -07:00
Eugene Kliuchnikov
bd3a5ada1a Merge pull request #397 from nemequ/master
Add CMake, lots of Travis configurations
2016-07-28 10:18:20 +02:00
Eugene Kliuchnikov
882f41850b Merge pull request #396 from eustas/master
Fix ubsan warning.
2016-07-27 11:12:23 +02:00
Eugene Kliuchnikov
e0af054d9e Fix ubsan warning. 2016-07-27 11:02:27 +02:00
Evan Nemerson
97b846f2fe travis: disable gcc-4.5 build
Travis seems to have trouble with the PPA.
2016-07-26 20:59:28 -07:00
Evan Nemerson
26a59359ed Add UBSan build, use clang for sanitizer builds. 2016-07-26 17:31:26 -07:00
Evan Nemerson
45862fcb06 Enable address sanitizer build. 2016-07-26 08:53:26 -07:00
Evan Nemerson
1d15c95363 travis: enable clang builds now that the LLVM repos are back up 2016-07-26 08:53:26 -07:00
Evan Nemerson
37be4e37ce travis: add many additional builds 2016-07-26 08:53:26 -07:00
Evan Nemerson
3e33d7636a travis: add CMake builds 2016-07-26 08:53:26 -07:00
Evan Nemerson
93ef13f823 Add CMake build system. 2016-07-26 08:53:26 -07:00
Eugene Kliuchnikov
8b7e3c7ba5 Merge pull request #218 from gtalusan/master
allow output file to be overwritten if --repeat
2016-07-26 16:41:34 +02:00
George Talusan
a531496f23 allow output file to be overwritten if --repeat 2016-07-26 10:08:54 -04:00
Eugene Kliuchnikov
a5a38bd7a1 Merge pull request #390 from chad-iris/master
Add a "lib" target to the Makefile to build a static library: libbrotli.a
2016-07-26 16:00:18 +02:00
Eugene Kliuchnikov
de87f114ba Merge pull request #395 from eustas/master
Update encoder
2016-07-26 15:56:30 +02:00
Eugene Kliuchnikov
058cd1ac7a cleanup 2016-07-26 14:51:51 +02:00
Eugene Kliuchnikov
2048189048 Update encoder:
* booleanification
 * integer BR scores, may improve performance if FPU is slow
 * condense speed-quality constants in quality.h
 * code massage to calm down CoverityScan
 * hashers refactoring
 * new hasher - improved speed, compression and reduced memory usage for q:5-9 w:10-16
 * reduced static recources -> binary size
2016-07-26 14:41:59 +02:00
Eugene Kliuchnikov
aa96d64ce1 Merge pull request #394 from eustas/master
Update decoder API
2016-07-26 10:12:23 +02:00
Eugene Kliuchnikov
91cbcf9ed1 Fix MSVC stdbool inclde 2016-07-25 10:56:23 +02:00
Eugene Kliuchnikov
0ef4edacab Do not use "static inline" for deprecated API. 2016-07-25 10:36:36 +02:00
Eugene Kliuchnikov
d2b17196f2 Fix DecodeContextMap 2016-07-25 10:22:33 +02:00
Eugene Kliuchnikov
43d4f45b6e Update decoder API:
* replace prefix Brotli -> BrotliDecoder
* add HasMoreOutput
* make instance pointer the first argument
* use boolean instead of int
2016-07-25 10:17:04 +02:00
chad-iris
8529bfa1f7 Add a "lib" target to the Makefile to build a static library named libbrotli.a 2016-07-06 10:09:04 -07:00
Eugene Kliuchnikov
7acb34f7cc Merge pull request #386 from eustas/master
Update build systems
2016-06-24 16:22:23 +02:00
Evgenii Kliuchnikov
52ff81717b Update build systems 2016-06-24 15:32:51 +02:00
eustas
49df97c472 Merge pull request #385 from google/eustas-patch-1
Fix issue #383
2016-06-23 22:04:55 +02:00
eustas
27f9d00efc Fix issue #383 2016-06-23 11:02:53 +02:00
eustas
2c16351987 Update readme
Added "Related projects" section
2016-06-21 13:41:25 +02:00
eustas
bdf54ed9e6 Merge pull request #382 from eustas/master
Update encoder and add xcode projects
2016-06-20 17:50:57 +02:00
Eugene Kliuchnikov
6a078b17d7 Update encoder
* reorganize premake artifacts
* remove deprecated methods/struct
2016-06-20 17:20:17 +02:00
eustas
f836c9459f Merge pull request #381 from eustas/master
Fix wheels build
2016-06-17 21:52:40 +02:00
eustas
902b20c0b8 Remove command line args
Values should be taken from setup.cfg
2016-06-17 20:25:28 +02:00
eustas
81054a4667 Restore platform suffix 2016-06-17 20:24:24 +02:00