Bernhard Döbler
7eecfa8211
new version of brotli because of missing rand_r in mingw environment
2015-04-07 23:31:55 +02:00
Dmitry Shachnev
5b99d15ab3
Makefile fixes and cleanups
...
- Distinguish between CC/CFLAGS, CPP/CPPFLAGS and CXX/CXXFLAGS.
Do not store compiler flags in CPPFLAGS, which is for preprocessor.
- Use COMMON_FLAGS for flags that are for both C and C++.
- Use $(MAKE) instead of make, so that parallel building works.
- Drop -m64 flag which is wrong on 32-bit systems.
2015-03-13 18:06:37 +03:00
Rod Sheeter
0c1ec8895b
Correct LICENSE to state Apache 2.0
2015-03-04 13:11:43 -08:00
Rod Sheeter
ab99e2f8bd
Per discussion with WG, update table ordering to what OTS expects. Once browsers are on latest cut of OTS we will go back to spec order.
2015-03-04 12:27:22 -08:00
Rod Sheeter
52b740bfac
Merge branch 'master' of github.com:google/woff2
2015-03-03 09:37:30 -08:00
Rod Sheeter
498c637024
Correct decoder output table ordering
2015-03-03 09:30:12 -08:00
rsheeter
757bfdd33e
Merge pull request #6 from ao5357/ao5357-doc-patch
...
Documentation for end-users
2015-02-25 15:36:34 -08:00
Rod Sheeter
538b401b77
tweak to how index by offset is built
2015-02-25 09:22:45 -08:00
Brad Czerniak
97e33a1736
Documentation for end-users
...
Notation of compiler dependency and addition of binaries to $PATH
2015-02-25 11:08:15 -05:00
Rod Sheeter
4e48243b3a
In some build environments this results in off-by-one
2015-02-24 16:04:13 -08:00
Rod Sheeter
bb12c44af7
Merge update to Makefile
2015-02-24 14:08:08 -08:00
Rod Sheeter
6e9eeaf43c
add new objects
2015-02-24 14:04:43 -08:00
Rod Sheeter
1c975530b9
Adding TTC support, take 1
2015-02-24 13:53:35 -08:00
Rod Sheeter
445f541996
Sort tables when decoding
2015-02-12 09:56:29 -08:00
Rod Sheeter
0a8567d4f9
Minor updates from internal copy
2015-02-12 09:30:22 -08:00
Roderick Sheeter
2b35420fa9
As suggested in https://github.com/google/woff2/pull/2 , correct const for top 7 bits
2014-11-24 07:11:04 -08:00
rsheeter
2f727ecc83
Merge pull request #1 from khaledhosny/master
...
Some build cleanups
2014-11-24 06:08:19 -08:00
Khaled Hosny
23e2aa1f7c
Add .gitignore file
2014-11-22 16:48:32 +02:00
Khaled Hosny
4b8c71e0d5
Rename CPP to CXX
...
CPP is the C pre processor.
2014-11-22 16:48:32 +02:00
Khaled Hosny
a262e006d1
Fold shared.mk into Makefile
...
There is only one Makefile in this repository.
2014-11-22 16:48:31 +02:00
Khaled Hosny
3e1f5ca955
Move the Makefile to the top directory
2014-11-22 16:48:21 +02:00
Khaled Hosny
09c4eba0f6
Rename woff2 to src
2014-11-22 16:35:21 +02:00
Khaled Hosny
b33699ad8a
Remove outdated or unused files
2014-11-22 16:34:45 +02:00
Roderick Sheeter
050a3a05c2
Fix README headings
2014-11-18 13:01:06 -08:00
Roderick Sheeter
91c9189324
rename README to be markdown
2014-11-18 12:58:51 -08:00
Roderick Sheeter
b79469c87d
rename README to be markdown
2014-11-18 12:58:30 -08:00
Roderick Sheeter
2b754136eb
Deleted a bunch of references to Java version from README
2014-11-18 12:56:24 -08:00
Roderick Sheeter
194001706a
Delete old Ant file
2014-11-18 12:40:07 -08:00
Roderick Sheeter
8a7348b328
Make brotli a submodule
2014-11-18 12:37:18 -08:00
Kunihiko Sakamoto
65cb3326e3
Allow use of inline keyword in c++/c99 mode
2014-10-28 19:37:13 +09:00
Roderick Sheeter
d9a74803fa
Preliminary support for CFF (just don't normalize). Support for adjusting loca entry size from 2 to 4 bytes during normalization if necessary. Support for extended metadata.
2014-08-22 08:05:56 -07:00
Kenichi Ishibashi
6cef49677d
Fix a compile error on Windows
2014-06-06 17:39:02 +09:00
Kenichi Ishibashi
c75ed764ef
Avoid using data() of std::vector in woff2_dec
2014-06-04 08:29:53 +09:00
Kenichi Ishibashi
142d8881c1
Separate woff2 enc/dec logic
2014-05-30 09:06:32 +09:00
Roderick Sheeter
2ec0cb8a78
Always remove DSIG, removed several options
2014-05-07 11:01:07 -07:00
David Kuettel
47c5016d7f
Specification updates: known table tags, reserved flag bits, always preprocess
2014-04-29 17:47:03 -07:00
Zoltan Szabadka
05b3775ecb
Fix buffer overflow bug in the brotli encoder.
2014-03-27 16:38:07 +01:00
Zoltan Szabadka
22e2c32828
Implementation of the woff2 format changes proposed by the W3C working group.
...
* size of compressed font data is in the woff2 header
* bits 5 and 6 of the table flag byte are reserved, must be 0
* bit 7 of the table flag byte is the transform bit
2014-03-27 16:13:13 +01:00
Zoltan Szabadka
0829e37293
Update the dictionary and the transforms.
2014-03-25 16:48:25 +01:00
Zoltan Szabadka
494c85cebb
Set font mode for the brotli call in the woff2 encoder.
2014-03-20 14:35:41 +01:00
Zoltan Szabadka
278b89484f
Updates to Brotli compression format, decoder and encoder
...
This commit contains a batch of changes that were made to the Brotli
compression algorithm in the last month. Most important changes:
* Format change: don't push distances representing static dictionary words to the distance cache.
* Fix decoder invalid memory access bug caused by building a non-complete Huffman tree.
* Add a mode parameter to the encoder interface.
* Use different hashers for text and font mode.
* Add a heuristics to the hasher for skipping non-compressible data.
* Exhaustive search of static dictionary during backward reference search.
2014-03-20 14:32:35 +01:00
Zoltan Szabadka
7f848593bd
Enable the static dictionary in the Brotli decoder.
2014-03-06 17:25:43 +01:00
Zoltan Szabadka
2733d6c0c2
Add the initial version of the static dictionary and transforms to Brotli.
2014-02-17 14:25:36 +01:00
Zoltan Szabadka
cbd5cb55f4
Updates to Brotli compression format, decoder and encoder
...
This commit contains a batch of changes that were made to the Brotli
compression algorithm in the last month. Most important changes:
* Fixes to the spec.
* Change of code length code order.
* Use a 2-level Huffman lookup table in the decoder.
* Faster uncompressed meta-block decoding.
* Optimized encoding of the Huffman code.
* Detection of UTF-8 input encoding.
* UTF-8 based literal cost modeling for improved
backward reference selection.
2014-02-14 15:04:23 +01:00
Zoltan Szabadka
dfc5a9f215
Fix -Wconversion compiler warnings in the brotli decoder.
2014-01-08 12:34:35 +01:00
Zoltan Szabadka
4c8c7fd31c
Brotli format change: small improvement to the encoding of Huffman codes
...
Combine the HSKIP and the simple/complex Huffman code type bits.
2014-01-08 12:28:28 +01:00
Zoltan Szabadka
efbc1a8965
Small update to brotli specification.
...
Clarify how to recover from error conditions caused by overflowing
block types and symbol values.
2014-01-06 16:35:24 +01:00
Zoltan Szabadka
40955ce409
Bug fixes for the brotli encoder and decoder.
2014-01-06 16:01:57 +01:00
Zoltan Szabadka
b89f3be40b
Brotli format change: improved encoding of Huffman codes
...
This change removes the redundant HCLEN, HLENINC and HLEN
fields from the encoding of the complex Huffman codes and
derives these from an invariant of the code length sequence.
Based on a patch by Robert Obryk.
2013-12-17 17:17:57 +01:00
Zoltan Szabadka
30625ba238
Use C-style comments in the brotli decoder.
2013-12-16 14:45:57 +01:00