Commit Graph

576 Commits

Author SHA1 Message Date
eustas
ff58c04ddf Merge pull request #342 from eustas/master
Limit |size| in BrotliSetCustomDictionary
2016-04-27 20:20:44 +02:00
Eugene Kliuchnikov
ab858a9f1e Limit |size| in BrotliSetCustomDictionary 2016-04-27 16:52:24 +02:00
eustas
b7823ddcc9 Merge pull request #341 from 1100101/fix_vs2012_compilation
Fix compilation with VS2012
2016-04-22 11:24:32 +02:00
Frank Aurich
d9a268c60c Fix compilation with VS2012 2016-04-22 10:55:31 +02:00
eustas
510131d1db Merge pull request #338 from eustas/master
Update decoder. Add encoder interface wrapper.
2016-04-21 17:50:53 +02:00
szabadka
769308d6dd Merge pull request #339 from szabadka/master
Address review comments in the specification.
2016-04-20 11:23:04 +02:00
Zoltan Szabadka
e96d5b29e7 Address review comments in the specification.
This commit updates the draft to the ietf -09 version:
https://www.ietf.org/id/draft-alakuijala-brotli-09.txt

In this version review comments from Jean-loup Gailly and
the ietf secdir review were addressed.
2016-04-20 10:48:14 +02:00
Zoltan Szabadka
26cf47f3f0 Create -09 version of the draft. 2016-04-20 10:45:40 +02:00
eustas
75c6c1abab Fix brotlimodule 2016-04-19 16:43:42 +02:00
Eugene Kliuchnikov
00128ded4a Merge branch 'master' of https://github.com/eustas/brotli 2016-04-19 16:29:38 +02:00
Eugene Kliuchnikov
e7e3849835 Update decoder. Add encoder interface wrapper.
* condense printf in port.h; use BROTLI_LOG everywhere
 * mark non-exported functions with BROTLI_INTERNAL
 * use BROTLI_DUMP instead of (void)(BROTLI_FAILURE())
 * fix problems with CustomDictionary
 * make decode.h independent of state.h
 * fix "double-new-lines"
 * fix some strict compilation warnings
 * fix bro.cc compilation for MSVS
 * added compressor.h as a replacement for encode.h + streams.h
2016-04-19 16:29:10 +02:00
Eugene Kliuchnikov
70a36be544 Update decoder. Add encoder interface wrapper.
* condense printf in port.h; use BROTLI_LOG everywhere
 * mark non-exported functions with BROTLI_INTERNAL
 * use BROTLI_DUMP instead of (void)(BROTLI_FAILURE())
 * fix problems with CustomDictionary
 * make decode.h independent of state.h
 * fix "double-new-lines"
 * fix some strict compilation warnings
 * fix bro.cc compilation for MSVS
 * added compressor.h as a replacement for encode.h + streams.h
2016-04-19 16:26:30 +02:00
eustas
3a77ebe1f4 Merge pull request #331 from PiotrSikora/missing_declarations
Fix build with -Wmissing-declarations.
2016-03-22 15:55:01 +01:00
Piotr Sikora
501cb86172 Fix build with -Wmissing-declarations.
While there, add -Wmissing-prototypes and -Wmissing-declarations
to shared.mk in order to catch similar errors in the future.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2016-03-18 19:18:59 -07:00
szabadka
f453b1bf36 Merge pull request #328 from szabadka/master
Reduce memory usage of brotli encoder at quality 10 and 11.
2016-03-16 09:53:56 +01:00
Zoltan Szabadka
846575ff6c Fix TODO formatting. 2016-03-15 11:13:07 +01:00
Zoltan Szabadka
b820c39bd9 Reduce memory usage of brotli encoder at quality 10 and 11. 2016-03-15 10:50:16 +01:00
eustas
cfba2db7b3 Merge pull request #322 from fred-wang/issue-312
Use double exclamation marks in declarations of IS_CONSTANT and BROTL…
2016-03-01 10:17:23 +01:00
Frédéric Wang
2fcb2321d9 Use double exclamation marks in declarations of IS_CONSTANT and BROTLI_HAS_UBFX to force C compilers to interpret them as booleans and avoid constant-logical-operand warnings. 2016-03-01 09:39:04 +01:00
eustas
af41b90d1b Merge pull request #323 from eustas/master
Fix most of ()->(void) and some missing includes.
2016-02-29 16:10:43 +01:00
Eugene Kliuchnikov
25e3796f83 Fix most of ()->(void) and some missing includes. 2016-02-29 14:41:24 +01:00
eustas
7e5bbd5f9b Merge pull request #321 from eustas/master
Add custom dictionary feature binding
2016-02-24 16:54:54 +01:00
Eugene Kliuchnikov
7d25e6b6fe Truncate dictionary to window size. 2016-02-24 16:01:35 +01:00
Eugene Kliuchnikov
cbb0d4cd73 Remove streaming test. 2016-02-23 17:45:42 +01:00
Eugene Kliuchnikov
30612e3a64 Add binding for custom_dictionary. 2016-02-23 17:42:55 +01:00
eustas
32a6b67c29 Merge pull request #320 from google/eustas-python-readme
Create README.md
2016-02-23 17:38:16 +01:00
eustas
14276922dd Fix typo 2016-02-23 16:10:53 +01:00
eustas
7111c339ec Create README.md 2016-02-23 16:06:31 +01:00
eustas
5cdfb5cf50 Merge pull request #319 from nilya/nilya-bro-py-arguments
Fix choices for --lgwin and --mode in python/bro.py
2016-02-20 12:20:09 +01:00
eustas
7be9ce671f Merge pull request #317 from google/eustas-fix-win32-fopen
Fix win32 fopen parameters
2016-02-19 21:33:05 +01:00
Ilya Nazarov
291d21cc2f Fix choices for --lgwin and --mode in python/bro.py. 2016-02-19 16:54:15 +06:00
eustas
4b331d7f48 Fix win32 fopen parameters 2016-02-19 11:17:13 +01:00
eustas
722f8996b0 Merge pull request #316 from eustas/master
Update decoder
2016-02-18 17:44:02 +01:00
eustas
5d0fb7a0c6 Apply 80-chars limit to CONTRIBUTING.md 2016-02-18 15:20:59 +01:00
Eugene Kliuchnikov
23934731f5 Update decoder:
* More clear/safe "copy" command stage implementation
 * Enable unaligned memory access only on whitelisted CPUs
 * Remove unused streams.{c|h}
 * Add "default" to all switches
 * Fix includes
 * Fix spacing everywhere
2016-02-18 15:03:44 +01:00
eustas
96f374cb84 Merge pull request #315 from google/eustas-remove-dec-streams-1
Remove obsolete compilation unit
2016-02-16 20:54:39 +01:00
eustas
14b32cc3aa Remove obsolete compilation unit 2016-02-16 15:16:54 +01:00
eustas
33aa40220b Merge pull request #309 from google/eustas-fix-possible-underflow
Fix possible pointer underflow
2016-02-04 17:38:44 +01:00
eustas
68f5bbda76 Update decode.c 2016-02-04 15:42:53 +01:00
eustas
37a320dd81 Fix possible pointer underflow 2016-02-04 15:35:44 +01:00
eustas
d4f0cb9841 Merge pull request #308 from google/eustas-safe-memmove
Make memmove16 safe.
2016-01-28 18:12:31 +01:00
eustas
28867aa4e7 Remove unused definitions 2016-01-28 16:34:41 +01:00
eustas
ee9464e3b0 Remove NO_ASAN annotation 2016-01-28 16:32:38 +01:00
eustas
02c606d444 Make memmove16 safe. 2016-01-28 16:28:36 +01:00
szabadka
058d7498a1 Merge pull request #306 from szabadka/master
Use a hash-to-binary-tree data structure for quality 11 as suggested by Issue #180
2016-01-27 10:19:19 +01:00
Zoltan Szabadka
dbb53e6434 Use a hash-to-binary-tree data structure for quality 11 as suggested by Issue #180. 2016-01-27 09:50:39 +01:00
eustas
616e11a01d Merge pull request #304 from google/eustas-brotlimodule-warnings
Fix compilation warnings in brotlimodule.cc
2016-01-26 13:21:34 +01:00
szabadka
e998e225b7 Merge pull request #305 from szabadka/master
Reorder members of the Command struct plus fix some warnings.
2016-01-26 12:16:20 +01:00
Zoltan Szabadka
14d6ae74a9 Reorder members of the Command struct plus fix some warnings.
This may save 8 bytes of padding per Command (32 -> 24 bytes).
2016-01-26 11:25:53 +01:00
eustas
c5c80a9f3d Addressed comment 2016-01-25 15:13:17 +01:00