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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.124 - (show annotations) (download)
Mon Nov 19 12:18:26 2007 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.123: +7 -0 lines
++ ChangeLog	19 Nov 2007 12:16:52 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Link to |Whatpm::Charset::UniversalCharDet|.

++ whatpm/Whatpm/ChangeLog	19 Nov 2007 12:17:47 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (parse_byte_string): Detect charset
	by universalchardet if charset parameter is not specified.

	* Makefile (Charset-all, Charset-clean): New rules.

++ whatpm/Whatpm/Charset/ChangeLog	19 Nov 2007 11:54:20 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: New file.

	* UniversalCharDet.pm, UniversalCharDet.pod: New files.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24