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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.129 - (show annotations) (download)
Sun Nov 25 03:46:07 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.128: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	25 Nov 2007 03:45:37 -0000
2007-11-25  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm (check_element): New todo item type |descendant|.

++ whatpm/Whatpm/ContentChecker/ChangeLog	25 Nov 2007 03:46:01 -0000
2007-11-25  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (header): Descendant constraint is redefined by
	new todo item type |descendant|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24