1 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
4 |
|
definition for |AElig;| was missing). |
5 |
|
|
6 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
9 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
10 |
|
|
11 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src: List of element names that close foreign content |
14 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
15 |
|
|
16 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
19 |
|
elements (HTML5 revision 1410). |
20 |
|
|
21 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
24 |
|
revision 1406). |
25 |
|
|
26 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
29 |
|
elements (HTML5 revision 1404 and 1420). |
30 |
|
|
31 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
34 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
35 |
|
are removed. |
36 |
|
|
37 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
40 |
|
are raised is changed (HTML5 revision 1404). |
41 |
|
|
42 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
45 |
|
|
46 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
49 |
|
replaced by constants representing element category. |
50 |
|
|
51 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
54 |
|
for error reporting. (This is a preparation for using constant |
55 |
|
value for ->[1].) |
56 |
|
|
57 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* RDFXML.pm: Typo fixed. |
60 |
|
|
61 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* ContentChecker.pm: |fact_level| is now treated |
64 |
|
as same as |must_level|, i.e. level = |m|. |
65 |
|
(check_element): Make list of URIs in the DOM. |
66 |
|
|
67 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* RDFXML.pm: Language accessor implemented. |
70 |
|
Local (null-namespace) attribute support. |
71 |
|
|
72 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* RDFXML.pm: Factored out ID checking code. |
75 |
|
|
76 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
79 |
|
and URI attributes is implemented. Warn if unknown |
80 |
|
value is used in rdf:parseType="" attribute. |
81 |
|
|
82 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
83 |
|
|
84 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
87 |
|
are now resolved. |
88 |
|
|
89 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* ContentChecker.pm: RDF reification implemented. |
92 |
|
|
93 |
|
* RDFXML.pm: undef vs false bug fixed. |
94 |
|
Reification implemented. |
95 |
|
|
96 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
99 |
|
The |node| arguments are added for |ontriple| calls. |
100 |
|
Too many "attribute not allowed" errors were raised. |
101 |
|
|
102 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
103 |
|
element. |
104 |
|
|
105 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* RDFXML.pm: New module. |
108 |
|
|
109 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
110 |
|
|
111 |
|
* HTML.pm.src (set_inner_html): Line/column number |
112 |
|
code was old one yet. |
113 |
|
|
114 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
117 |
|
errors. Line/column markings for DOCTYPE, comment, and |
118 |
|
character tokens are reintroduced; otherwise, |
119 |
|
error location for "not HTML5" error and errors |
120 |
|
for implied elements are not attached. |
121 |
|
|
122 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
125 |
|
|
126 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
127 |
|
(value): Setter implemented. |
128 |
|
|
129 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
130 |
|
|
131 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* HTML.pm.src: Unused line/column markings are removed. |
134 |
|
|
135 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
136 |
|
|
137 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
138 |
|
flag, which is no longer used. |
139 |
|
|
140 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
141 |
|
|
142 |
|
* HTML.pm.src: Set line/column information to element nodes. |
143 |
|
|
144 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
145 |
|
and !!!insert-element-t): Set line/column information to |
146 |
|
element nodes. |
147 |
|
|
148 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
149 |
|
|
150 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
151 |
|
in "<?", "<>", or "</>" should be the error point. |
152 |
|
|
153 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
154 |
|
|
155 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
156 |
|
|
157 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* HTML.pm.src: Token-level precious error reporting. |
160 |
|
|
161 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* HTML.pm.src: Preparation for more precious error point |
164 |
|
reporting. |
165 |
|
|
166 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* HTML.pm.src: Error type revised. |
169 |
|
|
170 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* HTML.pm.src: Similar codes are merged together, again. |
173 |
|
|
174 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
176 |
|
* HTML.pm.src: Similar codes are merged together. |
177 |
|
|
178 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
181 |
|
|
182 |
|
* HTML.pm.src: Code refined. |
183 |
|
|
184 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
187 |
|
revision 1348). Note that I really don't know this makes |
188 |
|
any difference in the black-box behavior of the parser. |
189 |
|
|
190 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
192 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
193 |
|
revision 1348). |
194 |
|
|
195 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
198 |
|
|
199 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
202 |
|
|
203 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
206 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
207 |
|
revision 1342). |
208 |
|
|
209 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
210 |
|
|
211 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
212 |
|
in non-tainted <table>s (HTML5 revision 1336). |
213 |
|
|
214 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* HTML.pm.src: Ignore white space characters between <html> |
217 |
|
and <head> (HTML5 revision 1332). |
218 |
|
|
219 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
220 |
|
|
221 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
222 |
|
white space (HTML5 revision 1331). |
223 |
|
|
224 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
227 |
|
element (HTML5 revision 1330). |
228 |
|
|
229 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
231 |
|
* HTML.pm.src: <title> is always appended to the current |
232 |
|
element (HTML5 revision 1328). |
233 |
|
|
234 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
235 |
|
|
236 |
|
* HTML.pm.src: White space in tainted tables are moved |
237 |
|
into foster parents (HTML5 revision 1326). |
238 |
|
|
239 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
242 |
|
revision 1321). |
243 |
|
|
244 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
245 |
|
|
246 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
247 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
248 |
|
all of HTML5 revision 1320 changes. |
249 |
|
|
250 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
251 |
|
|
252 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
253 |
|
tags (HTML5 revision 1320). |
254 |
|
|
255 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
256 |
|
|
257 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
258 |
|
|
259 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
262 |
|
could not be reached so that it is now removed (HTML5 revision |
263 |
|
1320). |
264 |
|
|
265 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
268 |
|
to align with new spec text (HTML5 revision 1320). |
269 |
|
|
270 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
271 |
|
|
272 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
273 |
|
have had no harm in theory. |
274 |
|
|
275 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
278 |
|
case is split from other end tags for the preparation |
279 |
|
of implementing HTML revision 1320. |
280 |
|
|
281 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
282 |
|
|
283 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
284 |
|
revision 1320). |
285 |
|
|
286 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
287 |
|
|
288 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
289 |
|
and "div" (HTML5 revision 1318). Add comments to where |
290 |
|
|form| pointer association codes should be inserted (HTML5 revision |
291 |
|
1319). |
292 |
|
|
293 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
294 |
|
|
295 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
296 |
|
|
297 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
300 |
|
other token type, there are), it is replaced by a |die| statement. |
301 |
|
|
302 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
303 |
|
|
304 |
|
* HTML.pm.src: Typo fixed. |
305 |
|
|
306 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
308 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
309 |
|
doctypes were not uppercased for comparison. |
310 |
|
|
311 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
312 |
|
|
313 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
314 |
|
are added. |
315 |
|
|
316 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
319 |
|
are set. Cases that are unlikely reached are noted as so. |
320 |
|
|
321 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
324 |
|
|
325 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
326 |
|
|
327 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
330 |
|
for simplicity. |
331 |
|
|
332 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
333 |
|
|
334 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
335 |
|
revision 1307). |
336 |
|
|
337 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
339 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
340 |
|
is set are changed (HTML5 revision 1305). |
341 |
|
|
342 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
345 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
346 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
347 |
|
of attribute value literals (HTML5 revision 1296). More |
348 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
349 |
|
between attributes and ban attribute names or unquoted |
350 |
|
attribute values containing single or double quotes (HTML5 |
351 |
|
revision 1303). |
352 |
|
|
353 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
354 |
|
|
355 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
356 |
|
and related errors unless it is an HTML document (though the spec |
357 |
|
is unclear on whether it is applied to XHTML document). |
358 |
|
|
359 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
360 |
|
are added. |
361 |
|
|
362 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
365 |
|
|
366 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
367 |
|
|
368 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
369 |
|
|
370 |
|
* HTML.pm.src: |charset| in |content| attribute is |
371 |
|
case-insensitive (HTML5 revision 1270). |
372 |
|
|
373 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
374 |
|
|
375 |
|
* ContentChecker.pm: New status constants are added. |
376 |
|
($ElementDefault): |status| added. |
377 |
|
(check_element): Err for non-standard or deprecated elements. |
378 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
379 |
|
|
380 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
381 |
|
|
382 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
383 |
|
|
384 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
386 |
|
* ContentChecker.pm (check_element): Element standardized |
387 |
|
status information is now dispatched. |
388 |
|
|
389 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
390 |
|
|
391 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
392 |
|
problem by adding some more arguments. |
393 |
|
|
394 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
395 |
|
|
396 |
|
* ContentChecker.pm (check_element): Use context of |
397 |
|
container-for-the-purpose-of-content-model element (not transparent |
398 |
|
element) for |check_child_element| calling and significant |
399 |
|
text flag marking. This reintroduces |<del>|-and-significant |
400 |
|
problem again. |
401 |
|
|
402 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
405 |
|
elements ignored for the purpose of phase changes in |
406 |
|
content model checking. |
407 |
|
|
408 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
409 |
|
|
410 |
|
* ContentChecker.pm (check_element): In-element state |
411 |
|
was not properly managed for transparent cases. |
412 |
|
|
413 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
414 |
|
|
415 |
|
* ContentChecker.pm (check_element): Support for |video| |
416 |
|
and |audio| as semi-transparent elements. |
417 |
|
|
418 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
419 |
|
|
420 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
421 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
422 |
|
Support for |html:object| as a semi-transparent element. |
423 |
|
|
424 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
425 |
|
|
426 |
|
* ContentChecker.pm (check_element): The way to traverse |
427 |
|
the tree is entirely revised to make it easier to track |
428 |
|
the state of ancestors/descendants. As a result of this |
429 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
430 |
|
support for content model checking for HTML elements |figure|, |
431 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
432 |
|
some XMLNS checkings) are dropped for now. They will be |
433 |
|
reimplemented in due cource. |
434 |
|
|
435 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
436 |
|
|
437 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
438 |
|
token (HTML5 revision 1225). |
439 |
|
|
440 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
441 |
|
|
442 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
443 |
|
|
444 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
445 |
|
contains character references or not. |
446 |
|
|
447 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
448 |
|
|
449 |
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
* ContentChecker.pm (_get_children): (Incompleted) attempt to |