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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.138 - (show annotations) (download)
Sat Feb 23 10:35:00 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.137: +11 -0 lines
++ whatpm/t/ChangeLog	23 Feb 2008 10:34:52 -0000
2008-02-23  Wakaba  <wakaba@suika.fam.cx>

	* content-model-1.dat, content-model-2.dat: Wrong "significant"
	errors are removed.

++ whatpm/Whatpm/ChangeLog	23 Feb 2008 10:33:46 -0000
2008-02-23  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm (check_element): The way to traverse
	the tree is entirely revised to make it easier to track
	the state of ancestors/descendants.  As a result of this
	revision (which rewrites almost all of Whatpm::ContentChecker::HTML),
	support for content model checking for HTML elements |figure|,
	|object|, |video|, and |audio| and checking for XML elements (and
	some XMLNS checkings) are dropped for now.  They will be
	reimplemented in due cource.

++ whatpm/Whatpm/ContentChecker/ChangeLog	23 Feb 2008 10:34:01 -0000
2008-02-23  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Revised.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24