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