1 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
4 |
|
and |column| a higher priority than the one set by the |
5 |
|
tokenizer's input handler. |
6 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
7 |
|
not be necessary, since now we do line/column fixup in |
8 |
|
the character decode handle). |
9 |
|
|
10 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
13 |
|
|
14 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
17 |
|
and |manakai_getc_until| to |manakai_read_until| to |
18 |
|
reduce the number of string copies. |
19 |
|
|
20 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* HTML.pm.src (parse_char_string): Use newly created |
23 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
24 |
|
standard feature to |open| a string as a filehandle, |
25 |
|
since Perl's string filehandle seems not supporting |ungetc| |
26 |
|
method correctly. |
27 |
|
(parse_char_stream): Define |{getc_until}| method. |
28 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
29 |
|
|
30 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* HTML.pm.src: Check points added to newly added branches. |
33 |
|
|
34 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
37 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
38 |
|
and replaced by |{prev_state}|. |
39 |
|
|
40 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
41 |
|
Remove |!!!back-next-input-character;| macro. |
42 |
|
|
43 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
46 |
|
entity related tokenizer states in favor of new states |
47 |
|
implementing the consume character reference algorithm. |
48 |
|
|
49 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
52 |
|
now implemented as a tokenizer's state, rather than |
53 |
|
a method, with minimum changes (more changes will |
54 |
|
be made, in due course). "Bogus comment state"'s inner |
55 |
|
loop gets removed. |
56 |
|
|
57 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
60 |
|
into their own tokenizer states. |
61 |
|
|
62 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
65 |
|
is split into three states. |
66 |
|
|
67 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
70 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
71 |
|
no longer does the tokenizer have to push back next input |
72 |
|
characters in those states. |
73 |
|
|
74 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
77 |
|
into four states so that no longer does the tokenizer have to push |
78 |
|
back next input characters in that state. |
79 |
|
|
80 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
83 |
|
which can be used to insert some wrapper between the character |
84 |
|
stream handle and the tokenizer. (It is currently not supported |
85 |
|
for |set_inner_html| for |Element|s). |
86 |
|
|
87 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
90 |
|
|
91 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
|
* ContentChecker.pm: Support for charset-layer error levels. |
94 |
|
|
95 |
|
* HTML.pm.src: Don't specify |text| argument for the |
96 |
|
|chardecode:fallback| error, since it is not the encoding |
97 |
|
being used alternatively. |
98 |
|
|
99 |
|
2008-09-06 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141). |
102 |
|
|
103 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |
106 |
|
|
107 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* HTML.pm.src: Bug fix and sync with the spec with regard |
110 |
|
to after after frameset insertion mode processing (HTML5 |
111 |
|
revision 1909). Note that the implementation was wrong |
112 |
|
per the old spec before the r1909 changes. |
113 |
|
|
114 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* HTMLTable.pm: scope=auto algorithm fix synced with the |
117 |
|
spec (HTML5 revision 2093). |
118 |
|
($process_row): Algorithm step numbers synced with the |
119 |
|
spec (HTML5 revision 2092). |
120 |
|
|
121 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
124 |
|
revision 2094). |
125 |
|
|
126 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096). |
129 |
|
|
130 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* HTML.pm.src: '"' and "'" at the end of attribute |
133 |
|
name (after another attribute) now raise parse error (HTML5 |
134 |
|
revision 2123). Empty unquoted attribute values are no |
135 |
|
longer allowed (HTML5 revision 2122). |
136 |
|
|
137 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5 |
140 |
|
revision 2130). |
141 |
|
|
142 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* ContentChecker.pm: |xml:lang| attribute value must be same |
145 |
|
as |lang| attribute value for HTML elements (HTML5 revision 2062 |
146 |
|
and so on). |
147 |
|
|
148 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
149 |
|
|
150 |
|
* ContentChecker.pm: Error level definition for |xml_id_error| |
151 |
|
was missing. |
152 |
|
|
153 |
|
* URIChecker.pm: The end of the URL should be marked as the |
154 |
|
error location for an empty path error. The position |
155 |
|
between the userinfo and the port components should be |
156 |
|
marked as the error location for an empty host error. |
157 |
|
|
158 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* URIChecker.pm: Set parameters representing where in the |
161 |
|
value the error occurs for errors. Report unknown |
162 |
|
address format error in warning level, since address |
163 |
|
formats are rarely added. Path segments starting with "/.." |
164 |
|
were misinterpreted as a dot-segment. |
165 |
|
|
166 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* URIChecker.pm (check_iri_reference): Requires |
169 |
|
|Message::DOM::DOMImplementation|. |
170 |
|
|
171 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
174 |
|
|
175 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
176 |
|
|
177 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
180 |
|
values. |
181 |
|
|
182 |
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
* CacheManifest.pm: Support for new style of error |
* CacheManifest.pm: Support for new style of error |