From 9bb41938d330a4a3f724947306eb4ac2706df688 Mon Sep 17 00:00:00 2001 From: Ende Date: Fri, 6 Nov 2015 14:14:18 -0500 Subject: [PATCH 1/4] Minor: added missing word _lengths_ to insert-and-copy lengths --- docs/draft-alakuijala-brotli-07.nroff | 2 +- docs/draft-alakuijala-brotli-07.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/draft-alakuijala-brotli-07.nroff b/docs/draft-alakuijala-brotli-07.nroff index 77c1f41..9cf6ee0 100644 --- a/docs/draft-alakuijala-brotli-07.nroff +++ b/docs/draft-alakuijala-brotli-07.nroff @@ -1742,7 +1742,7 @@ The decoding algorithm that produces the uncompressed data is as follows: else fill CMAPD[] with zeros read array of prefix codes for literals, HTREEL[] - read array of prefix codes for insert-and-copy, HTREEI[] + read array of prefix codes for insert-and-copy lengths, HTREEI[] read array of prefix codes for distances, HTREED[] do if BLEN_I is zero diff --git a/docs/draft-alakuijala-brotli-07.txt b/docs/draft-alakuijala-brotli-07.txt index b8b4ca2..c1cb929 100644 --- a/docs/draft-alakuijala-brotli-07.txt +++ b/docs/draft-alakuijala-brotli-07.txt @@ -1855,7 +1855,7 @@ Internet-Draft Brotli October 2015 else fill CMAPD[] with zeros read array of prefix codes for literals, HTREEL[] - read array of prefix codes for insert-and-copy, HTREEI[] + read array of prefix codes for insert-and-copy lengths, HTREEI[] read array of prefix codes for distances, HTREED[] do if BLEN_I is zero From 1b8b80107814170e4c47f85b1355d799fb0cc172 Mon Sep 17 00:00:00 2001 From: Ende Date: Sat, 7 Nov 2015 17:55:22 -0500 Subject: [PATCH 2/4] Fixed two references to wrong NBLTYPESx --- docs/draft-alakuijala-brotli-07.nroff | 4 ++-- docs/draft-alakuijala-brotli-07.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/draft-alakuijala-brotli-07.nroff b/docs/draft-alakuijala-brotli-07.nroff index 9cf6ee0..b4292bb 100644 --- a/docs/draft-alakuijala-brotli-07.nroff +++ b/docs/draft-alakuijala-brotli-07.nroff @@ -1646,11 +1646,11 @@ commands. Each command has the following format: Insert length number of literals, with the following format: Block type code for next literal block type, appears - only if NBLTYPESI >= 2 and the previous literal + only if NBLTYPESL >= 2 and the previous literal block count is zero Block count code + extra bits for next literal - block count, appears only if NBLTYPESI >= 2 and the + block count, appears only if NBLTYPESL >= 2 and the previous literal block count is zero Next byte of the uncompressed data, encoded with the diff --git a/docs/draft-alakuijala-brotli-07.txt b/docs/draft-alakuijala-brotli-07.txt index c1cb929..cf4c09c 100644 --- a/docs/draft-alakuijala-brotli-07.txt +++ b/docs/draft-alakuijala-brotli-07.txt @@ -1746,11 +1746,11 @@ Internet-Draft Brotli October 2015 Insert length number of literals, with the following format: Block type code for next literal block type, appears - only if NBLTYPESI >= 2 and the previous literal + only if NBLTYPESL >= 2 and the previous literal block count is zero Block count code + extra bits for next literal - block count, appears only if NBLTYPESI >= 2 and the + block count, appears only if NBLTYPESL >= 2 and the previous literal block count is zero Next byte of the uncompressed data, encoded with the From e33ff0a679d87ecc1925ae9588f811d8db2e67ef Mon Sep 17 00:00:00 2001 From: Ende Date: Tue, 10 Nov 2015 05:32:50 -0500 Subject: [PATCH 3/4] Rearranged wording to stay under 72 character limit --- docs/draft-alakuijala-brotli-07.nroff | 6 +++--- docs/draft-alakuijala-brotli-07.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/draft-alakuijala-brotli-07.nroff b/docs/draft-alakuijala-brotli-07.nroff index b4292bb..25e394e 100644 --- a/docs/draft-alakuijala-brotli-07.nroff +++ b/docs/draft-alakuijala-brotli-07.nroff @@ -1741,9 +1741,9 @@ The decoding algorithm that produces the uncompressed data is as follows: read distance context map, CMAPD[] else fill CMAPD[] with zeros - read array of prefix codes for literals, HTREEL[] - read array of prefix codes for insert-and-copy lengths, HTREEI[] - read array of prefix codes for distances, HTREED[] + read array of literals prefix codes, HTREEL[] + read array of insert-and-copy lengths prefix codes, HTREEI[] + read array of distances prefix codes, HTREED[] do if BLEN_I is zero read block type using HTREE_BTYPE_I and set BTYPE_I diff --git a/docs/draft-alakuijala-brotli-07.txt b/docs/draft-alakuijala-brotli-07.txt index cf4c09c..6ec8669 100644 --- a/docs/draft-alakuijala-brotli-07.txt +++ b/docs/draft-alakuijala-brotli-07.txt @@ -1854,9 +1854,9 @@ Internet-Draft Brotli October 2015 else fill CMAPD[] with zeros - read array of prefix codes for literals, HTREEL[] - read array of prefix codes for insert-and-copy lengths, HTREEI[] - read array of prefix codes for distances, HTREED[] + read array of literals prefix codes, HTREEL[] + read array of insert-and-copy lengths prefix codes, HTREEI[] + read array of distances prefix codes, HTREED[] do if BLEN_I is zero read block type using HTREE_BTYPE_I and set BTYPE_I From 0e3329d51364942c0e7fe72f8733dcd659977d86 Mon Sep 17 00:00:00 2001 From: Thomas Pickert Date: Tue, 10 Nov 2015 09:52:10 -0500 Subject: [PATCH 4/4] Fixed accidental plural plural wording --- docs/draft-alakuijala-brotli-07.nroff | 6 +++--- docs/draft-alakuijala-brotli-07.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/draft-alakuijala-brotli-07.nroff b/docs/draft-alakuijala-brotli-07.nroff index 25e394e..6efb188 100644 --- a/docs/draft-alakuijala-brotli-07.nroff +++ b/docs/draft-alakuijala-brotli-07.nroff @@ -1741,9 +1741,9 @@ The decoding algorithm that produces the uncompressed data is as follows: read distance context map, CMAPD[] else fill CMAPD[] with zeros - read array of literals prefix codes, HTREEL[] - read array of insert-and-copy lengths prefix codes, HTREEI[] - read array of distances prefix codes, HTREED[] + read array of literal prefix codes, HTREEL[] + read array of insert-and-copy length prefix codes, HTREEI[] + read array of distance prefix codes, HTREED[] do if BLEN_I is zero read block type using HTREE_BTYPE_I and set BTYPE_I diff --git a/docs/draft-alakuijala-brotli-07.txt b/docs/draft-alakuijala-brotli-07.txt index 6ec8669..fbcf145 100644 --- a/docs/draft-alakuijala-brotli-07.txt +++ b/docs/draft-alakuijala-brotli-07.txt @@ -1854,9 +1854,9 @@ Internet-Draft Brotli October 2015 else fill CMAPD[] with zeros - read array of literals prefix codes, HTREEL[] - read array of insert-and-copy lengths prefix codes, HTREEI[] - read array of distances prefix codes, HTREED[] + read array of literal prefix codes, HTREEL[] + read array of insert-and-copy length prefix codes, HTREEI[] + read array of distance prefix codes, HTREED[] do if BLEN_I is zero read block type using HTREE_BTYPE_I and set BTYPE_I