1 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
4 |
for checking had been used. |
5 |
|
6 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
7 |
|
8 |
* ContentChecker.pm (check_element): New todo item type |descendant|. |
9 |
|
10 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
11 |
|
12 |
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
13 |
specced in RFC 2046 and RFC 4288. |
14 |
(application/atom+xml): Definition added. |
15 |
|
16 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
17 |
|
18 |
* URIChecker.pm: Make RFC 3986 should-level errors |
19 |
warnings (rather than SHOULD-level errors). |
20 |
|
21 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
22 |
|
23 |
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
24 |
|
25 |
* HTML.pm.src: A flag for character references in attribute |
26 |
values are added. Set |manakai_has_reference| user data |
27 |
to |charset| attribute. |
28 |
|
29 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
30 |
|
31 |
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
32 |
attributes. |
33 |
|
34 |
* ContentChecker.pm (check_document): Warn if charset requirements |
35 |
cannot be tested. |
36 |
|
37 |
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
38 |
|
39 |
* HTML.pm.src (parse_byte_string): Detect charset |
40 |
by universalchardet if charset parameter is not specified. |
41 |
|
42 |
* Makefile (Charset-all, Charset-clean): New rules. |
43 |
|
44 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
45 |
|
46 |
* ContentChecker.pm (check_document): Check the existence |
47 |
of character encoding declaration and selection of encoding |
48 |
for HTML document. |
49 |
|
50 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
51 |
|
52 |
* ContentType.pm (get_sniffed_type): Return also the official |
53 |
type in list context. |
54 |
|
55 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
56 |
|
57 |
* ContentType.pm: Sniffing with leading white space |
58 |
ignoring (HTML5 revisions 1013 and 1016). |
59 |
|
60 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
61 |
|
62 |
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
63 |
white spaces, are implemented. |
64 |
|
65 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
66 |
|
67 |
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
68 |
attribute if possible. |
69 |
|
70 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
71 |
|
72 |
* HTML.pm.src (parse_byte_string): New method. |
73 |
(parse_char_string): New alias for |parse_string|. |
74 |
(main phase): Invoking "change the encoding" algorithm if desired. |
75 |
|
76 |
* HTML.pod: Updated. |
77 |
|
78 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
79 |
|
80 |
* HTML.pod (get_inner_html): Removed. |
81 |
|
82 |
* Makefile (HTML-all, HTML-clean): New. |
83 |
|
84 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
85 |
|
86 |
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
87 |
|
88 |
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
89 |
|
90 |
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
91 |
|
92 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
93 |
|
94 |
* Makefile: |CacheManifest.html| is added. |
95 |
|
96 |
* CacheManifest.pod: New file. |
97 |
|
98 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
99 |
|
100 |
* CacheManifest.pm: New module. |
101 |
|
102 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
103 |
|
104 |
* HTML.pm.src: Support for application cache selection algorithm |
105 |
callback. |
106 |
|
107 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
108 |
|
109 |
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
110 |
|
111 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
112 |
|
113 |
* Makefile (clean): New rule. |
114 |
|
115 |
* NanoDOM.pm (public_id, system_id): New attributes. |
116 |
|
117 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
118 |
|
119 |
* Makefile (CSS-all, CSS-clean, clean): New rules. |
120 |
|
121 |
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
122 |
|
123 |
* ContentChecker.pm (check_document): Support for |
124 |
new |is_xml_root| flag. |
125 |
(check_element): Support for new |pluses| state. |
126 |
(_add_pluses): New method. |
127 |
(_remove_minuses): Support for new |minus| item. |
128 |
|
129 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
130 |
|
131 |
* ContentChecker.pm: Raise specific error for invalid |
132 |
root element. |
133 |
|
134 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
135 |
|
136 |
* ContentChecker.pm: Set level values for later uses. |
137 |
|
138 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
139 |
|
140 |
* ContentChecker.pm: Support for language tag validation. |
141 |
|
142 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
143 |
|
144 |
* LangTag.pm (check_rfc3066_language_tag): New method. |
145 |
|
146 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
147 |
|
148 |
* LangTag.pm: New module. |
149 |
|
150 |
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
151 |
|
152 |
* HTML.pm.src: Some error types were wrong. |
153 |
|
154 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
155 |
|
156 |
* CSS/: New directory. |
157 |
|
158 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
159 |
|
160 |
* ContentChecker.pm (_check_get_children): Support |
161 |
for |noscript| in |head|. |
162 |
|
163 |
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
164 |
|
165 |
* URI/: New directory. |
166 |
|
167 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
168 |
|
169 |
* HTML.pm.src: Tokenizer's states are now represented in |
170 |
number. |
171 |
|
172 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
173 |
|
174 |
* HTML.pm.src: |or|s for insertion modes are replaced |
175 |
by |&|s. |
176 |
|
177 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
178 |
|
179 |
* HTML.pm.src: Token types are now represented in number. |
180 |
|
181 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
182 |
|
183 |
* ContentType.pm (SEE ALSO): Updated. |
184 |
|
185 |
* HTML.pm.src: Insertion modes are now represented in number. |
186 |
|
187 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
188 |
|
189 |
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
190 |
999) is implemented. |
191 |
|
192 |
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
193 |
|
194 |
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
195 |
983) is implemented. |
196 |
|
197 |
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
198 |
|
199 |
* ContentChecker.pod: New documentation. |
200 |
|
201 |
* Makefile: A rule for |ContentChecker.html| is added. |
202 |
|
203 |
* ContentChecker.pm: A pod "LICENSE" section is added. |
204 |
|
205 |
* NanoDOM.pm ($VERSION): New variable. |
206 |
|
207 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
208 |
|
209 |
* H2H.pm: |b|, |i|, and |sub| are added to the |
210 |
list of allowed HTML elements. |
211 |
|
212 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
213 |
|
214 |
* H2H.pm: |samp| is added to the list of allowed |
215 |
HTML elements. |
216 |
|
217 |
* URIChecker.pm (check_iri): New. |
218 |
(check_iri_reference): Error type for IRI reference |
219 |
syntax error is changed. |
220 |
|
221 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
222 |
|
223 |
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
224 |
is added. |
225 |
(check_document): Load appropriate module before validation. |
226 |
|
227 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
228 |
|
229 |
* ContentChecker/: New directory. |
230 |
|
231 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
232 |
|
233 |
* ContentChecker.pm: HTML |time| element is implemented. |
234 |
|
235 |
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
236 |
|
237 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
238 |
|
239 |
* ContentChecker.pm (check_document): Return value |
240 |
even if no document element is found. |
241 |
|
242 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
243 |
|
244 |
* HTML.pm.src: |$in_body| is no longer a function. |
245 |
|
246 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
247 |
|
248 |
* HTML.pm.src: The |$in_body| code has been moved down. |
249 |
|
250 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
251 |
|
252 |
* HTML.pm.src: The "trailing end" insertion mode |
253 |
is split into "after html body" and "after html frameset" |
254 |
insertion modes. Their codes are merged with "after body" |
255 |
and "after frameset" codes. |$previous_insertion_mode| |
256 |
has been removed. "after frameset" code is |
257 |
merged with "in frameset" code. |
258 |
|
259 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
260 |
|
261 |
* HTML.pm.src: The "before head" insertion mode is |
262 |
merged with the "in head" insertion mode. |
263 |
|
264 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
265 |
|
266 |
* HTML.pm.src: Cases in "in head" insertion mode are |
267 |
reorganized. |
268 |
|
269 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
270 |
|
271 |
* HTML.pm.src: Some cases in "in table" insertion mode |
272 |
are merged. |
273 |
|
274 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
275 |
|
276 |
* HTML.pm.src: The "in row" insertion mode is merged |
277 |
with "in table" insertion mode. |
278 |
|
279 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
280 |
|
281 |
* HTML.pm.src: The "in table" and "in table body" insertion |
282 |
modes are merged. |
283 |
|
284 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
285 |
|
286 |
* HTML.pm.src: There is no "in table head" or "in table foot" |
287 |
insertion mode! |
288 |
|
289 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
290 |
|
291 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
292 |
now directly invoke the handler. |
293 |
|
294 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
295 |
|
296 |
* HTML.pm.src: Codes for "in cell" insertion mode |
297 |
is merged to the "in body" insertion mode code. |
298 |
|
299 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
300 |
|
301 |
* HTML.pm.src: Codes for "in body" and "in caption" |
302 |
insertion modes are merged. |
303 |
|
304 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
305 |
|
306 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
307 |
|
308 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
309 |
|
310 |
* HTML.pm.src: Use numeric constant for |{content_mode}| |
311 |
instead of string constant for |{content_model_flag}|. |
312 |
|
313 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
314 |
|
315 |
* HTML.pm.src: Add the name of the attribute |
316 |
to the "duplicate attribute" error. |
317 |
|
318 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
319 |
|
320 |
* ContentChecker.pm: Return the |class| node list. |
321 |
|
322 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
323 |
|
324 |
* ContentChecker.pm: Return the |id| node list. |
325 |
|
326 |
* HTML.pm.src: A typo is fixed. |
327 |
|
328 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
329 |
|
330 |
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
331 |
from "in HTML:xml:lang" error. Character position |
332 |
is now the last part of the error type in the URI error |
333 |
description. Report "unsupported" status for language |
334 |
tags, media queries, script codes, and style sheets. |
335 |
|
336 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
337 |
|
338 |
* ContentChecker.pm: Report error if |xml:lang| |
339 |
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
340 |
in XML. |
341 |
|
342 |
* NanoDOM.pm (Attr.owner_document): New attribute. |
343 |
|
344 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
345 |
|
346 |
* HTML.pm.src: The character immediately following |
347 |
a bare |hcro| was discarded. Fix handling of |
348 |
entity references in attribute values. |
349 |
|
350 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
351 |
|
352 |
* HTML.pm.src (main and trailin end phases): Token |
353 |
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
354 |
factored out. Error types |in html:#DOCTYPE| |
355 |
and |after html:#DOCTYPE| are merged |
356 |
into |DOCTYPE in the middle|. |</frameset>| |
357 |
in fragment parsing mode changed the |
358 |
insertion mode. |
359 |
|
360 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
361 |
|
362 |
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
363 |
phase is now an insertion mode. Treatments for white |
364 |
space character tokens were incorrect for some |
365 |
insertion modes. An old |meta| case was not removed. |
366 |
|
367 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
368 |
|
369 |
* HTML.pm.src: |meta| charset declaration extraction |
370 |
implemented (but changing the encoding is not yet:-). |
371 |
|
372 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
373 |
|
374 |
* Charset/: New directory. |
375 |
|
376 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
377 |
|
378 |
* H2H.pm: New Perl module (created from |
379 |
manakai's H2H.dis). |
380 |
|
381 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
382 |
|
383 |
* XMLSerializer.pm: New Perl module (created from |
384 |
manakai's SimpleLS.dis). |
385 |
|
386 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
387 |
|
388 |
* HTML.pm.src: |<!---x-->| was not processed correctly. |
389 |
|
390 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
391 |
|
392 |
* HTML.pm.src: Report correct error message |
393 |
for |<body></div></body>|. |
394 |
|
395 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
396 |
|
397 |
* HTMLTable.pm: An error description was incorrect. |
398 |
|
399 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
400 |
|
401 |
* ContentChecker.pm: Return |{term}| list. |
402 |
|
403 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
404 |
|
405 |
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
406 |
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
407 |
and <title> outside of head). |
408 |
|
409 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
410 |
|
411 |
* IMTChecker.pm: Report warning for unregistered |
412 |
and private types/subtypes. |
413 |
|
414 |
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
415 |
URIChecker.pm, HTMLTable.pm: Error messages are now |
416 |
consistent; they are all listed in |
417 |
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
418 |
|
419 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
420 |
|
421 |
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
422 |
is now erred. |<datalist>| is implemented. |
423 |
Attribute checker for |<command>| and |<menu>| are |
424 |
added. Support for |contextmenu| global attribute |
425 |
is added. |
426 |
|
427 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
428 |
|
429 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
430 |
of Step 3 has been changed. |
431 |
|
432 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
433 |
|
434 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
435 |
|
436 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
437 |
|
438 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
439 |
incorrect. |
440 |
|
441 |
* ContentChecker.pm: Support for the |footer| element. |
442 |
Check URI syntax for space-separated URI attributes. |
443 |
Support for the |tabindex| attribute. Support |
444 |
for |datetime| attribute. |
445 |
|
446 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
447 |
|
448 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
449 |
character references). HTML5 revision 1.146 (white space |
450 |
characters before root start tag). HTML5 revision |
451 |
1.148 (named character references in attribute values). |
452 |
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
453 |
|
454 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
455 |
|
456 |
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
457 |
in <head>). |
458 |
|
459 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
460 |
|
461 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
462 |
in body). |
463 |
|
464 |
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
465 |
|
466 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
467 |
|
468 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
469 |
or RCDATA in fragment parsing mode). HTML5 revision |
470 |
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
471 |
|
472 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
473 |
|
474 |
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
475 |
for <pre> and <textarea>). |
476 |
|
477 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
478 |
|
479 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
480 |
|
481 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
482 |
|
483 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
484 |
|
485 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
486 |
|
487 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
488 |
HTML5 revision 917 (conforming bare &). |
489 |
|
490 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
491 |
|
492 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
493 |
|
494 |
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
495 |
HTML5 revision 915 (<nobr>). |
496 |
|
497 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
498 |
|
499 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
500 |
|
501 |
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
502 |
New attributes. |
503 |
|
504 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
505 |
|
506 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
507 |
in tags). |
508 |
|
509 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
510 |
|
511 |
* .cvsignore: |Entities.html| is added. |
512 |
|
513 |
* HTML.pm.src: |$entity_char| is removed and |
514 |
requires |Whatpm::_NamedEntityList| instead. |
515 |
HTML5 revision 898 (refc), except that lack of refc |
516 |
is parse error. |
517 |
|
518 |
* mkentitylist.pl: New script. |
519 |
|
520 |
* Makefile (all): |_NamedEntityList.pm| is added. |
521 |
(_NamedEntityList.pm, Entities.html): New rules. |
522 |
|
523 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
524 |
|
525 |
* HTML.pm.src: Parse errors immediately after U+000D |
526 |
were ignored and U+000D immediately following another |
527 |
U+000D was not converted to U+000A. |
528 |
|
529 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
530 |
|
531 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
532 |
nodes before appended). Parser was not ready for NULL |
533 |
parse error and escape flag. |
534 |
|
535 |
* NanoDOM.pm (adopt_node): New. |
536 |
|
537 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
538 |
|
539 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
540 |
CDATA and RCDATA). Note that current implementation |
541 |
is simply repeating what the spec says and it is maybe not |
542 |
a best way to do it. |
543 |
|
544 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
545 |
|
546 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
547 |
the form element if a descendant element without implied end tag has |
548 |
still been open). |
549 |
|
550 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
551 |
|
552 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
553 |
space characters non-conforming). |
554 |
|
555 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
556 |
|
557 |
* HTML.pm.src: An error message was incorrect. |
558 |
HTML5 revision 869 (C1 character references). |
559 |
|
560 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
561 |
|
562 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
563 |
a |textarea| is removed). |
564 |
|
565 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
566 |
|
567 |
* NanoDOM.pm (get_attribute_node_ns): New method. |
568 |
|
569 |
* ContentChecker.pm: |script| |async| and |defer| |
570 |
no longer require |src|. |async| MUST NOT be |
571 |
specified if |defer|. (HTML5 revision 858). |
572 |
|
573 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
574 |
|
575 |
* HTML.pm.src: |<form><form>| went to inifinite loop. |
576 |
|
577 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
578 |
|
579 |
* ContentChecker.pm (html): Set |is_root| (allowed |
580 |
as a document element) flag on. |
581 |
(new): Removed. |
582 |
(check_document): New method. |
583 |
|
584 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
585 |
|
586 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
587 |
were incorrect. |
588 |
|
589 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
590 |
|
591 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
592 |
error position in the |type| option of the error. |
593 |
|
594 |
* HTMLTable.pm (form_table): The |$onerror| parameter |
595 |
is now optional. Some bugs are fixed. |
596 |
|
597 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
598 |
|
599 |
* HTMLTable.pm: New module. |
600 |
|
601 |
* ContentChecker.pm (table): Invoke table model error checker. |
602 |
|
603 |
* NanoDOM.pm (first_child, get_attribute_ns): New. |
604 |
|
605 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
606 |
|
607 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
608 |
(link/@rel, a/@rel, area/@rel): Use new checker. |
609 |
|
610 |
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
611 |
|
612 |
* _LinkTypeList.pm: New file. |
613 |
|
614 |
* mklinktypelist.pl: New file. |
615 |
|
616 |
* .cvsignore: |RelExtensions.html| added. |
617 |
|
618 |
* NanoDOM.pm (child_nodes): Returns an empty array |
619 |
for non-child-containing node types. |
620 |
(text_content): New attribute. |
621 |
|
622 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
623 |
|
624 |
* IMTChecker.pm: New module. |
625 |
|
626 |
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
627 |
to test parameter value validity. |
628 |
|
629 |
* HTML.pm.src ($style_start_tag): Attributes were |
630 |
discarded. |
631 |
|
632 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
633 |
|
634 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
635 |
|
636 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
637 |
|
638 |
* URIChecker.pm: All recommendations from RFC 3986 |
639 |
and RFC 3987 are listed (not all testable items are checked yet). |
640 |
|
641 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
642 |
|
643 |
* URIChecker.pm: New module. |
644 |
|
645 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
646 |
|
647 |
* ContentChecker.pm: Now most attributes are implemented |
648 |
or associated to some placeholder. |
649 |
($ElementDefault): Warn unknown attributes |
650 |
for unknown elements as "attribute not supported". |
651 |
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
652 |
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
653 |
(|a| attribute checker): Reimplemented. |
654 |
|
655 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
656 |
|
657 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
658 |
($HTMLAttrChecker): Event handler content attributes |
659 |
are added. |
660 |
(link, embed): Required attribute is now checked. |
661 |
(embed): Unknown local attributes are no longer warned. |
662 |
|
663 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
664 |
|
665 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
666 |
($HTMLIMTAttrChecker): New checker. |
667 |
(link@rel, link@href, link@type, style@type, |
668 |
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
669 |
object@data, object@type, source@src, source@type, area@alt, |
670 |
area@shape, area@coords, area@href, |
671 |
area@ping, area@rel, area@type, script@src, |
672 |
script@defer, script@async, script@type): Checkers added. |
673 |
|
674 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
675 |
|
676 |
* ContentChecker.pm: Descendant checking was incorrect. |
677 |
|
678 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
679 |
|
680 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
681 |
attributes. Report an error if |Element.prefix| |
682 |
is |xmlns|. |
683 |
|
684 |
* NanoDOM.pm (prefix): New attribute. |
685 |
|
686 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
687 |
|
688 |
* HTML.pm.src: In |main| phase, |in body| insertion |
689 |
mode, action for |<iframe>| was missing. |
690 |
|
691 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
692 |
|
693 |
* ContentChecker.pm: Support for many of HTML5 elements. |
694 |
($GetHTMLNonNegativeIntegerAttrChecker): New. |
695 |
|
696 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
697 |
|
698 |
* ContentChecker.pm: Support for most elements up to |progress|. |
699 |
($HTMLURIAttrChecker): Placeholder. |
700 |
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
701 |
New. |
702 |
|
703 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
704 |
|
705 |
* ContentChecker.pm: Attribute checkers |
706 |
for global attributes, |html|, |base|, |style|, and |meta|. |
707 |
|
708 |
* NanoDOM.pm (insert_before): Weaken reference |
709 |
to the parent node. |
710 |
(Attr::new): Set |owner_element| attribute. |
711 |
(namespace_uri, manakai_local_name): New attribute implementations. |
712 |
(owner_element): New attribute. |
713 |
|
714 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
715 |
|
716 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
717 |
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
718 |
$Element->{$HTML_NS}->{''}): New. |
719 |
(check_element): Invoke attrs_checker for each element. |
720 |
|
721 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
722 |
|
723 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
724 |
|
725 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
726 |
|
727 |
* ContentChecker.pm: Use hashs rather than lists for |
728 |
element type testings. |
729 |
|
730 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
731 |
|
732 |
* ContentChecker.pm: Don't generate duplicate |
733 |
error when an element type is put in the "minus" list |
734 |
and the element type is not allowed explicitly in the particular |
735 |
element content model. |
736 |
(html:a checker): New checker. |
737 |
(html:details, html:datagrid): New checkers. |
738 |
(html:legend): New checker. |
739 |
|
740 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
741 |
|
742 |
* ContentChecker.pm (html:li checker): Implemented. |
743 |
|
744 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
745 |
|
746 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
747 |
checker. |
748 |
(html:dd checker): New checker. |
749 |
(html:q, html:em, html:strong, html:small, |
750 |
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
751 |
|
752 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
753 |
|
754 |
* ContentChecker.pm ($AnyChecker): Renamed |
755 |
from |$ElementDefault->{checker}|. |
756 |
($ElementDefault->{checker}): Throw an error that |
757 |
the element type is not supported by the checker. |
758 |
($HTMLMetadataElement): |html:base| was missing. |
759 |
($HTMLEmptyChecker): Don't throw an error |
760 |
for inter-element whitespace nodes. |
761 |
(html:html checker): Errors were not |
762 |
thrown even if |html:head| and/or |html:body| |
763 |
children were missing. |
764 |
(html:head checker): An error was not |
765 |
thrown if <meta charset> appered after other |
766 |
elements. |
767 |
|
768 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
769 |
|
770 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
771 |
and |noscript| elements are implemented. |
772 |
(new): New method. |
773 |
|
774 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
775 |
|
776 |
* ContentChecker.pm: New module. |
777 |
|
778 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
779 |
|
780 |
* NanoDOM.pm (manakai_parent_element, |
781 |
document_element, manakai_local_name, |
782 |
manakai_element_type_match): New method. |
783 |
|
784 |
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
785 |
|
786 |
* HTML.pm.src: Replace decimal and hexadecimal numeric |
787 |
entities in C1 range using Windows-1252 mapping. Bare LF |
788 |
did not count as new line for error reporting. |
789 |
|
790 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
791 |
|
792 |
* NanoDOM.pm (DOMImplementation): New class. |
793 |
(append_child): Weaken the |parent_node| reference. |
794 |
(create_element_ns, Element new): Set the |owner_document| |
795 |
reference. |
796 |
(implementation): New attribute. |
797 |
(owner_document, local_name, namespace_uri): New attributes. |
798 |
|
799 |
* HTML.pm.src (parse_string): Line and column numbers |
800 |
are now provided to error handler. |
801 |
(!!!parse-error): Short descriptions are added. |
802 |
(_construct_tree): Split into three methods; support |
803 |
for innerHTML mode. |
804 |
(set_inner_html): New method. |
805 |
|
806 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
807 |
|
808 |
* NanoDOM.html: Documentation is added. |
809 |
|
810 |
* HTML.pod, ContentType.html: Documentation is revised. |
811 |
|
812 |
* .cvsignore: Pod2html temporary files are added. |
813 |
|
814 |
* Makefile: Make |NanoDOM.html|. |
815 |
|
816 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
817 |
|
818 |
* HTML.pm.src (parse_string): New method. |
819 |
(get_inner_html): Renamed from |inner_html|. |
820 |
|
821 |
* Makefile: A rule for |HTML.html| is added. |
822 |
|
823 |
* HTML.pod: New documentation. |
824 |
|
825 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
826 |
|
827 |
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
828 |
(clone_node): Attribute nodes were not completely copied. |
829 |
|
830 |
* HTML.pm.src: Many bugs are fixed. |
831 |
|
832 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
833 |
|
834 |
* HTML.pm.src: Some typos are fixed. |
835 |
|
836 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
837 |
|
838 |
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
839 |
are removed. |
840 |
|
841 |
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
842 |
|
843 |
* HTML-consume-entity.src: Removed. |
844 |
|
845 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
846 |
|
847 |
* HTML.pm.src: Tokenizer's handling on hexadecimal |
848 |
numeric entities are rewritten. |
849 |
|
850 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
851 |
|
852 |
* HTML.pm.src: Some tokenizer bugs are fixed. |
853 |
|
854 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
855 |
|
856 |
* HTML.pm.src: The tree construction stage is implemented. |
857 |
|
858 |
* mkhtmlparser.pl: New macros are added. |
859 |
|
860 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
861 |
|
862 |
* ContentType.pm: A note on bug in the specification |
863 |
is removed since it's been now fixed. |
864 |
|
865 |
* .cvsignore: New file. |
866 |
|
867 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
868 |
|
869 |
* HTML.pm.src, HTML-consume-entity.src: New files. |
870 |
|
871 |
* Makefile (HTML.pm): New rule. |
872 |
|
873 |
* mkhtmlparser.pl: New script. |
874 |
|
875 |
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
876 |
|
877 |
* Makefile: New file. |
878 |
|
879 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
880 |
|
881 |
* ContentType.pm: An error in pod is fixed. |
882 |
|
883 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
884 |
|
885 |
* ContentType.pm: Documentation is added. |
886 |
|
887 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
888 |
|
889 |
* ContentType.pm: New Perl module. |
890 |
|
891 |
* ChangeLog: New file. |
892 |
|
893 |
|