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