/[suikacvs]/markup/html/whatpm/Whatpm/ChangeLog
Suika

Contents of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.134 - (show annotations) (download)
Sun Feb 17 06:36:28 2008 UTC (18 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.133: +8 -0 lines
++ whatpm/t/ChangeLog	17 Feb 2008 06:35:24 -0000
2008-02-17  Wakaba  <wakaba@suika.fam.cx>

	* content-model-1.dat, content-model-2.dat, content-model-5.dat:
	Test results are updated; new tests are added.

++ whatpm/Whatpm/ChangeLog	17 Feb 2008 06:34:11 -0000
2008-02-17  Wakaba  <wakaba@suika.fam.cx>

	* ContenteChecker.pm ($HTMLTransparentElements): More
	elements are added.
	(_get_children): HTML |object| elements are now semi-transparent.

	* NanoDOM.pm (manakai_html, manakai_head): New methods.

++ whatpm/Whatpm/ContentChecker/ChangeLog	17 Feb 2008 06:32:44 -0000
2008-02-17  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Most part of December 2007 Content Model is implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24