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