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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.125 - (show annotations) (download)
Fri Nov 23 05:39:43 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.124: +8 -0 lines
++ ChangeLog	23 Nov 2007 05:35:10 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Whatpm::ContentChecker now depends
	on Message::Charset::Info.

++ whatpm/t/ChangeLog	23 Nov 2007 05:38:36 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.t: Unset |input_encoding| attribute.

	* content-model-1.dat, content-model-2.dat: New tests
	for |charset| attribute value are added.

++ whatpm/Whatpm/ChangeLog	23 Nov 2007 05:37:17 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New
	attributes.

	* ContentChecker.pm (check_document): Warn if charset requirements
	cannot be tested.

++ whatpm/Whatpm/ContentChecker/ChangeLog	23 Nov 2007 05:37:42 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (meta): |charset| value tests implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24