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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.128 - (show annotations) (download)
Fri Nov 23 14:47:49 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.127: +6 -0 lines
++ whatpm/t/ChangeLog	23 Nov 2007 14:31:20 -0000
	* content-model-2.dat: Media type tests are revised.

2007-11-23  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	23 Nov 2007 14:32:47 -0000
	* IMTChecker.pm: Revised to raise errors and warnings as (poorly)
	specced in RFC 2046 and RFC 4288.
	(application/atom+xml): Definition added.

2007-11-23  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24