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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.132 - (show annotations) (download)
Sun Feb 10 04:09:57 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.131: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	10 Feb 2008 04:09:00 -0000
2008-02-10  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm (check_document, check_element): Support
	for second argument ($onsubdoc).
	(_get_css_parser): Removed (now it is part of WDCC).

++ whatpm/Whatpm/ContentChecker/ChangeLog	10 Feb 2008 04:09:52 -0000
2008-02-10  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (<style>): CSS validation code removed; instead,
	it does invoke subdoc callback to ask to the callee to validate
	the style sheet separately.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24