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