Skip to content

Commit 6cca982

Browse files
the-mikedavisarchseer
authored andcommitted
Re-vendor encoding_rs test data
This fixes a test (`helix_view::document::gb18030_decode`) since encoding_rs updated its gb18030 encoding to match GB18030-2022 (was GB18030-2005). The newly vendored files update the license line and I've included the referenced license in the `encoding/` directory.
1 parent 9806ca0 commit 6cca982

27 files changed

+88
-88
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright © WHATWG (Apple, Google, Mozilla, Microsoft).
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this
7+
list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
3. Neither the name of the copyright holder nor the names of its
14+
contributors may be used to endorse or promote products derived from
15+
this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

helix-view/tests/encoding/big5_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/big5_in_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/big5_out.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/big5_out_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/euc_kr_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/euc_kr_in_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/euc_kr_out.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/euc_kr_out_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/gb18030_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/gb18030_in_ref.txt

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py
@@ -7185,13 +7184,13 @@ Instead, please regenerate using generate-encoding-data.py
71857184
χ
71867185
ψ
71877186
ω
7188-
7189-
7190-
7191-
7192-
7193-
7194-
7187+
7188+
7189+
7190+
7191+
7192+
7193+
71957194
71967195
71977196
@@ -7204,14 +7203,14 @@ Instead, please regenerate using generate-encoding-data.py
72047203
72057204
72067205
7207-
7208-
7206+
7207+
72097208
72107209
72117210
72127211
72137212
7214-
7213+
72157214
72167215
72177216
@@ -23778,27 +23777,27 @@ Instead, please regenerate using generate-encoding-data.py
2377823777
2377923778
2378023779
23781-
23780+
2378223781
2378323782
2378423783
2378523784
2378623785
2378723786
2378823787
23789-
23788+
2379023789
2379123790
2379223791
2379323792
23794-
23795-
23793+
23794+
2379623795
2379723796
2379823797
2379923798
2380023799
23801-
23800+
2380223801
2380323802
2380423803
@@ -23815,7 +23814,7 @@ Instead, please regenerate using generate-encoding-data.py
2381523814
2381623815
2381723816
23818-
23817+
2381923818
2382023819
2382123820
@@ -23832,7 +23831,7 @@ Instead, please regenerate using generate-encoding-data.py
2383223831
2383323832
2383423833
23835-
23834+
2383623835
2383723836
2383823837
@@ -23848,7 +23847,7 @@ Instead, please regenerate using generate-encoding-data.py
2384823847
2384923848
2385023849
23851-
23850+
2385223851
2385323852
2385423853

helix-view/tests/encoding/gb18030_out.txt

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py
@@ -7184,13 +7183,13 @@ Instead, please regenerate using generate-encoding-data.py
71847183
χ
71857184
ψ
71867185
ω
7187-
7188-
7189-
7190-
7191-
7192-
7193-
7186+
7187+
7188+
7189+
7190+
7191+
7192+
71947193
71957194
71967195
@@ -7203,14 +7202,14 @@ Instead, please regenerate using generate-encoding-data.py
72037202
72047203
72057204
7206-
7207-
7205+
7206+
72087207
72097208
72107209
72117210
72127211
7213-
7212+
72147213
72157214
72167215
@@ -23777,27 +23776,27 @@ Instead, please regenerate using generate-encoding-data.py
2377723776
2377823777
2377923778
23780-
23779+
2378123780
2378223781
2378323782
2378423783
2378523784
2378623785
2378723786
23788-
23787+
2378923788
2379023789
2379123790
2379223791
23793-
23794-
23792+
23793+
2379523794
2379623795
2379723796
2379823797
2379923798
23800-
23799+
2380123800
2380223801
2380323802
@@ -23814,7 +23813,7 @@ Instead, please regenerate using generate-encoding-data.py
2381423813
2381523814
2381623815
23817-
23816+
2381823817
2381923818
2382023819
@@ -23831,7 +23830,7 @@ Instead, please regenerate using generate-encoding-data.py
2383123830
2383223831
2383323832
23834-
23833+
2383523834
2383623835
2383723836
@@ -23847,7 +23846,7 @@ Instead, please regenerate using generate-encoding-data.py
2384723846
2384823847
2384923848
23850-
23849+
2385123850
2385223851
2385323852

helix-view/tests/encoding/gb18030_out_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/iso_2022_jp_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/iso_2022_jp_in_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/iso_2022_jp_out.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/iso_2022_jp_out_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/jis0208_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/jis0208_in_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/jis0208_out.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/jis0208_out_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/jis0212_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/jis0212_in_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/shift_jis_in.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/shift_jis_in_ref.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

helix-view/tests/encoding/shift_jis_out.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Any copyright to the test code below this comment is dedicated to the
2-
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
1+
Generated from WHATWG indexes.json; see LICENSE-WHATWG.
32

43
This is a generated file. Please do not edit.
54
Instead, please regenerate using generate-encoding-data.py

0 commit comments

Comments
 (0)