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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.107 - (show annotations) (download)
Sat Sep 29 04:45:09 2007 UTC (17 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.106: +9 -0 lines
++ whatpm/t/ChangeLog	29 Sep 2007 04:36:22 -0000
2007-09-29  Wakaba  <wakaba@suika.fam.cx>

	* tokenizer-test-1.test: New tests for invalid
	attribute specifications are added.

++ whatpm/Whatpm/ChangeLog	29 Sep 2007 04:38:17 -0000
	* ContentChecker.pm: Raise specific error for invalid
	root element.

	* SelectorsParser.pm: Pass an empty string as a prefix
	for lookup namespace prefix callback, for loose compatibility
	with the |NSResolver| interface.

2007-09-24  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	29 Sep 2007 04:38:46 -0000
	* Atom.pm (atom:link@title): Definition was missing.

2007-09-24  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24