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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.137 - (show annotations) (download)
Sun Feb 17 12:39:32 2008 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.136: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	17 Feb 2008 12:38:38 -0000
	* HTML.pm.src: |>| in public or system literal closes the DOCTYPE
	token (HTML5 revision 1225).

2008-02-17  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24