1 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
4 |
|
of 1-based (HTML5 revision 1376). |
5 |
|
|
6 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
9 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
10 |
|
revision 1288). |
11 |
|
|
12 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
15 |
|
1282). |
16 |
|
|
17 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* ContentChecker.pm: Support for global attributes. |
20 |
|
Status of XML specs are added. |
21 |
|
|
22 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
25 |
|
and |ref=""| attribute (referent element type checking). |
26 |
|
|
27 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
30 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
31 |
|
knowledge). Line number counting was wrong for LF-only |
32 |
|
documents. |
33 |
|
|
34 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
37 |
|
character (HTML5 revision 1263). |
38 |
|
|
39 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
42 |
|
definition for |AElig;| was missing). |
43 |
|
|
44 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
47 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
48 |
|
|
49 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* HTML.pm.src: List of element names that close foreign content |
52 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
53 |
|
|
54 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
57 |
|
elements (HTML5 revision 1410). |
58 |
|
|
59 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
62 |
|
revision 1406). |
63 |
|
|
64 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
67 |
|
elements (HTML5 revision 1404 and 1420). |
68 |
|
|
69 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
72 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
73 |
|
are removed. |
74 |
|
|
75 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
78 |
|
are raised is changed (HTML5 revision 1404). |
79 |
|
|
80 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
83 |
|
|
84 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
87 |
|
replaced by constants representing element category. |
88 |
|
|
89 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
92 |
|
for error reporting. (This is a preparation for using constant |
93 |
|
value for ->[1].) |
94 |
|
|
95 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* RDFXML.pm: Typo fixed. |
98 |
|
|
99 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* ContentChecker.pm: |fact_level| is now treated |
102 |
|
as same as |must_level|, i.e. level = |m|. |
103 |
|
(check_element): Make list of URIs in the DOM. |
104 |
|
|
105 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* RDFXML.pm: Language accessor implemented. |
108 |
|
Local (null-namespace) attribute support. |
109 |
|
|
110 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* RDFXML.pm: Factored out ID checking code. |
113 |
|
|
114 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
117 |
|
and URI attributes is implemented. Warn if unknown |
118 |
|
value is used in rdf:parseType="" attribute. |
119 |
|
|
120 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
121 |
|
|
122 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
125 |
|
are now resolved. |
126 |
|
|
127 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* ContentChecker.pm: RDF reification implemented. |
130 |
|
|
131 |
|
* RDFXML.pm: undef vs false bug fixed. |
132 |
|
Reification implemented. |
133 |
|
|
134 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
137 |
|
The |node| arguments are added for |ontriple| calls. |
138 |
|
Too many "attribute not allowed" errors were raised. |
139 |
|
|
140 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
141 |
|
element. |
142 |
|
|
143 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* RDFXML.pm: New module. |
146 |
|
|
147 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src (set_inner_html): Line/column number |
150 |
|
code was old one yet. |
151 |
|
|
152 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
155 |
|
errors. Line/column markings for DOCTYPE, comment, and |
156 |
|
character tokens are reintroduced; otherwise, |
157 |
|
error location for "not HTML5" error and errors |
158 |
|
for implied elements are not attached. |
159 |
|
|
160 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
163 |
|
|
164 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
165 |
|
(value): Setter implemented. |
166 |
|
|
167 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
168 |
|
|
169 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* HTML.pm.src: Unused line/column markings are removed. |
172 |
|
|
173 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
176 |
|
flag, which is no longer used. |
177 |
|
|
178 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* HTML.pm.src: Set line/column information to element nodes. |
181 |
|
|
182 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
183 |
|
and !!!insert-element-t): Set line/column information to |
184 |
|
element nodes. |
185 |
|
|
186 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
189 |
|
in "<?", "<>", or "</>" should be the error point. |
190 |
|
|
191 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
194 |
|
|
195 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* HTML.pm.src: Token-level precious error reporting. |
198 |
|
|
199 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* HTML.pm.src: Preparation for more precious error point |
202 |
|
reporting. |
203 |
|
|
204 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* HTML.pm.src: Error type revised. |
207 |
|
|
208 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* HTML.pm.src: Similar codes are merged together, again. |
211 |
|
|
212 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* HTML.pm.src: Similar codes are merged together. |
215 |
|
|
216 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
219 |
|
|
220 |
|
* HTML.pm.src: Code refined. |
221 |
|
|
222 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
225 |
|
revision 1348). Note that I really don't know this makes |
226 |
|
any difference in the black-box behavior of the parser. |
227 |
|
|
228 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
229 |
|
|
230 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
231 |
|
revision 1348). |
232 |
|
|
233 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
236 |
|
|
237 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
238 |
|
|
239 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
240 |
|
|
241 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
244 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
245 |
|
revision 1342). |
246 |
|
|
247 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
250 |
|
in non-tainted <table>s (HTML5 revision 1336). |
251 |
|
|
252 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* HTML.pm.src: Ignore white space characters between <html> |
255 |
|
and <head> (HTML5 revision 1332). |
256 |
|
|
257 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
260 |
|
white space (HTML5 revision 1331). |
261 |
|
|
262 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
263 |
|
|
264 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
265 |
|
element (HTML5 revision 1330). |
266 |
|
|
267 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* HTML.pm.src: <title> is always appended to the current |
270 |
|
element (HTML5 revision 1328). |
271 |
|
|
272 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
273 |
|
|
274 |
|
* HTML.pm.src: White space in tainted tables are moved |
275 |
|
into foster parents (HTML5 revision 1326). |
276 |
|
|
277 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
278 |
|
|
279 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
280 |
|
revision 1321). |
281 |
|
|
282 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
283 |
|
|
284 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
285 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
286 |
|
all of HTML5 revision 1320 changes. |
287 |
|
|
288 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
289 |
|
|
290 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
291 |
|
tags (HTML5 revision 1320). |
292 |
|
|
293 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
294 |
|
|
295 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
296 |
|
|
297 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
300 |
|
could not be reached so that it is now removed (HTML5 revision |
301 |
|
1320). |
302 |
|
|
303 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
304 |
|
|
305 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
306 |
|
to align with new spec text (HTML5 revision 1320). |
307 |
|
|
308 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
311 |
|
have had no harm in theory. |
312 |
|
|
313 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
314 |
|
|
315 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
316 |
|
case is split from other end tags for the preparation |
317 |
|
of implementing HTML revision 1320. |
318 |
|
|
319 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
320 |
|
|
321 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
322 |
|
revision 1320). |
323 |
|
|
324 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
326 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
327 |
|
and "div" (HTML5 revision 1318). Add comments to where |
328 |
|
|form| pointer association codes should be inserted (HTML5 revision |
329 |
|
1319). |
330 |
|
|
331 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
332 |
|
|
333 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
334 |
|
|
335 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
336 |
|
|
337 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
338 |
|
other token type, there are), it is replaced by a |die| statement. |
339 |
|
|
340 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
341 |
|
|
342 |
|
* HTML.pm.src: Typo fixed. |
343 |
|
|
344 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
345 |
|
|
346 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
347 |
|
doctypes were not uppercased for comparison. |
348 |
|
|
349 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
350 |
|
|
351 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
352 |
|
are added. |
353 |
|
|
354 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
355 |
|
|
356 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
357 |
|
are set. Cases that are unlikely reached are noted as so. |
358 |
|
|
359 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
360 |
|
|
361 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
362 |
|
|
363 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
364 |
|
|
365 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
366 |
|
|
367 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
368 |
|
for simplicity. |
369 |
|
|
370 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
371 |
|
|
372 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
373 |
|
revision 1307). |
374 |
|
|
375 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
376 |
|
|
377 |
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |