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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.78 - (show annotations) (download)
Sat Jul 21 08:52:59 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.77: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Jul 2007 08:52:35 -0000
	* HTML.pm.src: The "in table" and "in table body" insertion
	modes are merged.

2007-07-21  Wakaba  <wakaba@suika.fam.cx>

1 2007-07-21 Wakaba <wakaba@suika.fam.cx>
2
3 * HTML.pm.src: The "in table" and "in table body" insertion
4 modes are merged.
5
6 2007-07-21 Wakaba <wakaba@suika.fam.cx>
7
8 * HTML.pm.src: There is no "in table head" or "in table foot"
9 insertion mode!
10
11 2007-07-21 Wakaba <wakaba@suika.fam.cx>
12
13 * HTML.pm.src: |<noframes>| "in frameset" and "in noframes"
14 now directly invoke the handler.
15
16 2007-07-21 Wakaba <wakaba@suika.fam.cx>
17
18 * HTML.pm.src: Codes for "in cell" insertion mode
19 is merged to the "in body" insertion mode code.
20
21 2007-07-21 Wakaba <wakaba@suika.fam.cx>
22
23 * HTML.pm.src: Codes for "in body" and "in caption"
24 insertion modes are merged.
25
26 2007-07-21 Wakaba <wakaba@suika.fam.cx>
27
28 * HTML.pm.src: Two |!!!next-token|s were missing.
29
30 2007-07-21 Wakaba <wakaba@suika.fam.cx>
31
32 * HTML.pm.src: Use numeric constant for |{content_mode}|
33 instead of string constant for |{content_model_flag}|.
34
35 2007-07-21 Wakaba <wakaba@suika.fam.cx>
36
37 * HTML.pm.src: Add the name of the attribute
38 to the "duplicate attribute" error.
39
40 2007-07-17 Wakaba <wakaba@suika.fam.cx>
41
42 * ContentChecker.pm: Return the |class| node list.
43
44 2007-07-17 Wakaba <wakaba@suika.fam.cx>
45
46 * ContentChecker.pm: Return the |id| node list.
47
48 * HTML.pm.src: A typo is fixed.
49
50 2007-07-16 Wakaba <wakaba@suika.fam.cx>
51
52 * ContentChecker.pm: Drop wrong |level => 'error'| specification
53 from "in HTML:xml:lang" error. Character position
54 is now the last part of the error type in the URI error
55 description. Report "unsupported" status for language
56 tags, media queries, script codes, and style sheets.
57
58 2007-07-16 Wakaba <wakaba@suika.fam.cx>
59
60 * ContentChecker.pm: Report error if |xml:lang|
61 in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset|
62 in XML.
63
64 * NanoDOM.pm (Attr.owner_document): New attribute.
65
66 2007-07-16 Wakaba <wakaba@suika.fam.cx>
67
68 * HTML.pm.src: The character immediately following
69 a bare |hcro| was discarded. Fix handling of
70 entity references in attribute values.
71
72 2007-07-16 Wakaba <wakaba@suika.fam.cx>
73
74 * HTML.pm.src (main and trailin end phases): Token
75 types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
76 factored out. Error types |in html:#DOCTYPE|
77 and |after html:#DOCTYPE| are merged
78 into |DOCTYPE in the middle|. |</frameset>|
79 in fragment parsing mode changed the
80 insertion mode.
81
82 2007-07-16 Wakaba <wakaba@suika.fam.cx>
83
84 * HTML.pm.src: |$phase| has been removed; The |trailing end|
85 phase is now an insertion mode. Treatments for white
86 space character tokens were incorrect for some
87 insertion modes. An old |meta| case was not removed.
88
89 2007-07-16 Wakaba <wakaba@suika.fam.cx>
90
91 * HTML.pm.src: |meta| charset declaration extraction
92 implemented (but changing the encoding is not yet:-).
93
94 2007-07-15 Wakaba <wakaba@suika.fam.cx>
95
96 * Charset/: New directory.
97
98 2007-07-15 Wakaba <wakaba@suika.fam.cx>
99
100 * H2H.pm: New Perl module (created from
101 manakai's H2H.dis).
102
103 2007-07-15 Wakaba <wakaba@suika.fam.cx>
104
105 * XMLSerializer.pm: New Perl module (created from
106 manakai's SimpleLS.dis).
107
108 2007-07-07 Wakaba <wakaba@suika.fam.cx>
109
110 * HTML.pm.src: |<!---x-->| was not processed correctly.
111
112 2007-07-01 Wakaba <wakaba@suika.fam.cx>
113
114 * HTML.pm.src: Report correct error message
115 for |<body></div></body>|.
116
117 2007-07-01 Wakaba <wakaba@suika.fam.cx>
118
119 * HTMLTable.pm: An error description was incorrect.
120
121 2007-06-30 Wakaba <wakaba@suika.fam.cx>
122
123 * ContentChecker.pm: Return |{term}| list.
124
125 2007-06-30 Wakaba <wakaba@suika.fam.cx>
126
127 * HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>,
128 nested <nobr>, implied </tbody>, </tfoot>, and </thead>,
129 and <title> outside of head).
130
131 2007-06-30 Wakaba <wakaba@suika.fam.cx>
132
133 * IMTChecker.pm: Report warning for unregistered
134 and private types/subtypes.
135
136 * ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
137 URIChecker.pm, HTMLTable.pm: Error messages are now
138 consistent; they are all listed in
139 <http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.
140
141 2007-06-25 Wakaba <wakaba@suika.fam.cx>
142
143 * ContentChecker.pm: |<img ismap>| not in |<a></a>|
144 is now erred. |<datalist>| is implemented.
145 Attribute checker for |<command>| and |<menu>| are
146 added. Support for |contextmenu| global attribute
147 is added.
148
149 2007-06-25 Wakaba <wakaba@suika.fam.cx>
150
151 * HTML.pm.src (_reset_insertion_mode): Interpretation
152 of Step 3 has been changed.
153
154 2007-06-25 Wakaba <wakaba@suika.fam.cx>
155
156 * HTML.pm.src: Late |<html>| parse error is implemented.
157
158 2007-06-24 Wakaba <wakaba@suika.fam.cx>
159
160 * URIChecker.pm (check_iri_reference): A |decode| method name was
161 incorrect.
162
163 * ContentChecker.pm: Support for the |footer| element.
164 Check URI syntax for space-separated URI attributes.
165 Support for the |tabindex| attribute. Support
166 for |datetime| attribute.
167
168 2007-06-24 Wakaba <wakaba@suika.fam.cx>
169
170 * HTML.pm.src: HTML5 revision 1.144 (&#x0D;) and 1.145 (invalid
171 character references). HTML5 revision 1.146 (white space
172 characters before root start tag). HTML5 revision
173 1.148 (named character references in attribute values).
174 HTML5 revision 1.152 (<plaintext>.innerHTML get).
175
176 2007-06-24 Wakaba <wakaba@suika.fam.cx>
177
178 * HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript>
179 in <head>).
180
181 2007-06-24 Wakaba <wakaba@suika.fam.cx>
182
183 * HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
184 in body).
185
186 * ContentChecker.pm: HTML5 revision 938 (scoped="").
187
188 2007-06-24 Wakaba <wakaba@suika.fam.cx>
189
190 * HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA
191 or RCDATA in fragment parsing mode). HTML5 revision
192 924 (<!--> and <!--->). HTML5 revision 926 (hn in hn).
193
194 2007-06-23 Wakaba <wakaba@suika.fam.cx>
195
196 * HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html
197 for <pre> and <textarea>).
198
199 2007-06-23 Wakaba <wakaba@suika.fam.cx>
200
201 * HTML.pm.src: HTML5 revision 920 (<isindex>).
202
203 2007-06-23 Wakaba <wakaba@suika.fam.cx>
204
205 * HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>).
206
207 2007-06-23 Wakaba <wakaba@suika.fam.cx>
208
209 * HTML.pm.src: HTML5 revision 916 (</body>).
210 HTML5 revision 917 (conforming bare &).
211
212 2007-06-23 Wakaba <wakaba@suika.fam.cx>
213
214 * NanoDOM.pm (manakai_is_html): Setting to false did not work.
215
216 * HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
217 HTML5 revision 915 (<nobr>).
218
219 2007-06-23 Wakaba <wakaba@suika.fam.cx>
220
221 * HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).
222
223 * NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
224 New attributes.
225
226 2007-06-23 Wakaba <wakaba@suika.fam.cx>
227
228 * HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
229 in tags).
230
231 2007-06-23 Wakaba <wakaba@suika.fam.cx>
232
233 * .cvsignore: |Entities.html| is added.
234
235 * HTML.pm.src: |$entity_char| is removed and
236 requires |Whatpm::_NamedEntityList| instead.
237 HTML5 revision 898 (refc), except that lack of refc
238 is parse error.
239
240 * mkentitylist.pl: New script.
241
242 * Makefile (all): |_NamedEntityList.pm| is added.
243 (_NamedEntityList.pm, Entities.html): New rules.
244
245 2007-06-23 Wakaba <wakaba@suika.fam.cx>
246
247 * HTML.pm.src: Parse errors immediately after U+000D
248 were ignored and U+000D immediately following another
249 U+000D was not converted to U+000A.
250
251 2007-06-23 Wakaba <wakaba@suika.fam.cx>
252
253 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
254 nodes before appended). Parser was not ready for NULL
255 parse error and escape flag.
256
257 * NanoDOM.pm (adopt_node): New.
258
259 2007-06-23 Wakaba <wakaba@suika.fam.cx>
260
261 * HTML.pm.src: HTML5 revision 886 (insane comment in
262 CDATA and RCDATA). Note that current implementation
263 is simply repeating what the spec says and it is maybe not
264 a best way to do it.
265
266 2007-06-23 Wakaba <wakaba@suika.fam.cx>
267
268 * HTML.pm.src: HTML5 revision 884 (</form> don't close
269 the form element if a descendant element without implied end tag has
270 still been open).
271
272 2007-06-23 Wakaba <wakaba@suika.fam.cx>
273
274 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
275 space characters non-conforming).
276
277 2007-06-23 Wakaba <wakaba@suika.fam.cx>
278
279 * HTML.pm.src: An error message was incorrect.
280 HTML5 revision 869 (C1 character references).
281
282 2007-06-23 Wakaba <wakaba@suika.fam.cx>
283
284 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
285 a |textarea| is removed).
286
287 2007-06-05 Wakaba <wakaba@suika.fam.cx>
288
289 * NanoDOM.pm (get_attribute_node_ns): New method.
290
291 * ContentChecker.pm: |script| |async| and |defer|
292 no longer require |src|. |async| MUST NOT be
293 specified if |defer|. (HTML5 revision 858).
294
295 2007-05-30 Wakaba <wakaba@suika.fam.cx>
296
297 * HTML.pm.src: |<form><form>| went to inifinite loop.
298
299 2007-05-27 Wakaba <wakaba@suika.fam.cx>
300
301 * ContentChecker.pm (html): Set |is_root| (allowed
302 as a document element) flag on.
303 (new): Removed.
304 (check_document): New method.
305
306 2007-05-27 Wakaba <wakaba@suika.fam.cx>
307
308 * ContentChecker.pm (thead, tfoot): Checker specifications
309 were incorrect.
310
311 2007-05-27 Wakaba <wakaba@suika.fam.cx>
312
313 * ContentChecker.pm ($HTMLURIAttrChecker): Include
314 error position in the |type| option of the error.
315
316 * HTMLTable.pm (form_table): The |$onerror| parameter
317 is now optional. Some bugs are fixed.
318
319 2007-05-27 Wakaba <wakaba@suika.fam.cx>
320
321 * HTMLTable.pm: New module.
322
323 * ContentChecker.pm (table): Invoke table model error checker.
324
325 * NanoDOM.pm (first_child, get_attribute_ns): New.
326
327 2007-05-26 Wakaba <wakaba@suika.fam.cx>
328
329 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
330 (link/@rel, a/@rel, area/@rel): Use new checker.
331
332 * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
333
334 * _LinkTypeList.pm: New file.
335
336 * mklinktypelist.pl: New file.
337
338 * .cvsignore: |RelExtensions.html| added.
339
340 * NanoDOM.pm (child_nodes): Returns an empty array
341 for non-child-containing node types.
342 (text_content): New attribute.
343
344 2007-05-26 Wakaba <wakaba@suika.fam.cx>
345
346 * IMTChecker.pm: New module.
347
348 * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
349 to test parameter value validity.
350
351 * HTML.pm.src ($style_start_tag): Attributes were
352 discarded.
353
354 2007-05-25 Wakaba <wakaba@suika.fam.cx>
355
356 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
357
358 2007-05-25 Wakaba <wakaba@suika.fam.cx>
359
360 * URIChecker.pm: All recommendations from RFC 3986
361 and RFC 3987 are listed (not all testable items are checked yet).
362
363 2007-05-25 Wakaba <wakaba@suika.fam.cx>
364
365 * URIChecker.pm: New module.
366
367 2007-05-20 Wakaba <wakaba@suika.fam.cx>
368
369 * ContentChecker.pm: Now most attributes are implemented
370 or associated to some placeholder.
371 ($ElementDefault): Warn unknown attributes
372 for unknown elements as "attribute not supported".
373 ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
374 ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
375 (|a| attribute checker): Reimplemented.
376
377 2007-05-20 Wakaba <wakaba@suika.fam.cx>
378
379 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
380 ($HTMLAttrChecker): Event handler content attributes
381 are added.
382 (link, embed): Required attribute is now checked.
383 (embed): Unknown local attributes are no longer warned.
384
385 2007-05-20 Wakaba <wakaba@suika.fam.cx>
386
387 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
388 ($HTMLIMTAttrChecker): New checker.
389 (link@rel, link@href, link@type, style@type,
390 a@href, a@ping, a@ping, a@type, embed@src, embed@type,
391 object@data, object@type, source@src, source@type, area@alt,
392 area@shape, area@coords, area@href,
393 area@ping, area@rel, area@type, script@src,
394 script@defer, script@async, script@type): Checkers added.
395
396 2007-05-20 Wakaba <wakaba@suika.fam.cx>
397
398 * ContentChecker.pm: Descendant checking was incorrect.
399
400 2007-05-19 Wakaba <wakaba@suika.fam.cx>
401
402 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
403 attributes. Report an error if |Element.prefix|
404 is |xmlns|.
405
406 * NanoDOM.pm (prefix): New attribute.
407
408 2007-05-19 Wakaba <wakaba@suika.fam.cx>
409
410 * HTML.pm.src: In |main| phase, |in body| insertion
411 mode, action for |<iframe>| was missing.
412
413 2007-05-19 Wakaba <wakaba@suika.fam.cx>
414
415 * ContentChecker.pm: Support for many of HTML5 elements.
416 ($GetHTMLNonNegativeIntegerAttrChecker): New.
417
418 2007-05-19 Wakaba <wakaba@suika.fam.cx>
419
420 * ContentChecker.pm: Support for most elements up to |progress|.
421 ($HTMLURIAttrChecker): Placeholder.
422 ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
423 New.
424
425 2007-05-19 Wakaba <wakaba@suika.fam.cx>
426
427 * ContentChecker.pm: Attribute checkers
428 for global attributes, |html|, |base|, |style|, and |meta|.
429
430 * NanoDOM.pm (insert_before): Weaken reference
431 to the parent node.
432 (Attr::new): Set |owner_element| attribute.
433 (namespace_uri, manakai_local_name): New attribute implementations.
434 (owner_element): New attribute.
435
436 2007-05-19 Wakaba <wakaba@suika.fam.cx>
437
438 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
439 $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
440 $Element->{$HTML_NS}->{''}): New.
441 (check_element): Invoke attrs_checker for each element.
442
443 2007-05-13 Wakaba <wakaba@suika.fam.cx>
444
445 * ContentChecker.pm: Don't use |manakai_element_type_match|.
446
447 2007-05-13 Wakaba <wakaba@suika.fam.cx>
448
449 * ContentChecker.pm: Use hashs rather than lists for
450 element type testings.
451
452 2007-05-13 Wakaba <wakaba@suika.fam.cx>
453
454 * ContentChecker.pm: Don't generate duplicate
455 error when an element type is put in the "minus" list
456 and the element type is not allowed explicitly in the particular
457 element content model.
458 (html:a checker): New checker.
459 (html:details, html:datagrid): New checkers.
460 (html:legend): New checker.
461
462 2007-05-13 Wakaba <wakaba@suika.fam.cx>
463
464 * ContentChecker.pm (html:li checker): Implemented.
465
466 2007-05-13 Wakaba <wakaba@suika.fam.cx>
467
468 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
469 checker.
470 (html:dd checker): New checker.
471 (html:q, html:em, html:strong, html:small,
472 html:m, html:dfn, html:code, html:samp, html:span): New checkers.
473
474 2007-05-13 Wakaba <wakaba@suika.fam.cx>
475
476 * ContentChecker.pm ($AnyChecker): Renamed
477 from |$ElementDefault->{checker}|.
478 ($ElementDefault->{checker}): Throw an error that
479 the element type is not supported by the checker.
480 ($HTMLMetadataElement): |html:base| was missing.
481 ($HTMLEmptyChecker): Don't throw an error
482 for inter-element whitespace nodes.
483 (html:html checker): Errors were not
484 thrown even if |html:head| and/or |html:body|
485 children were missing.
486 (html:head checker): An error was not
487 thrown if <meta charset> appered after other
488 elements.
489
490 2007-05-05 Wakaba <wakaba@suika.fam.cx>
491
492 * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
493 and |noscript| elements are implemented.
494 (new): New method.
495
496 2007-05-04 Wakaba <wakaba@suika.fam.cx>
497
498 * ContentChecker.pm: New module.
499
500 2007-05-04 Wakaba <wakaba@suika.fam.cx>
501
502 * NanoDOM.pm (manakai_parent_element,
503 document_element, manakai_local_name,
504 manakai_element_type_match): New method.
505
506 2007-05-03 Wakaba <wakaba@suika.fam.cx>
507
508 * HTML.pm.src: Replace decimal and hexadecimal numeric
509 entities in C1 range using Windows-1252 mapping. Bare LF
510 did not count as new line for error reporting.
511
512 2007-05-02 Wakaba <wakaba@suika.fam.cx>
513
514 * NanoDOM.pm (DOMImplementation): New class.
515 (append_child): Weaken the |parent_node| reference.
516 (create_element_ns, Element new): Set the |owner_document|
517 reference.
518 (implementation): New attribute.
519 (owner_document, local_name, namespace_uri): New attributes.
520
521 * HTML.pm.src (parse_string): Line and column numbers
522 are now provided to error handler.
523 (!!!parse-error): Short descriptions are added.
524 (_construct_tree): Split into three methods; support
525 for innerHTML mode.
526 (set_inner_html): New method.
527
528 2007-05-01 Wakaba <wakaba@suika.fam.cx>
529
530 * NanoDOM.html: Documentation is added.
531
532 * HTML.pod, ContentType.html: Documentation is revised.
533
534 * .cvsignore: Pod2html temporary files are added.
535
536 * Makefile: Make |NanoDOM.html|.
537
538 2007-05-01 Wakaba <wakaba@suika.fam.cx>
539
540 * HTML.pm.src (parse_string): New method.
541 (get_inner_html): Renamed from |inner_html|.
542
543 * Makefile: A rule for |HTML.html| is added.
544
545 * HTML.pod: New documentation.
546
547 2007-05-01 Wakaba <wakaba@suika.fam.cx>
548
549 * NanoDOM.pm (last_child, previous_sibling): New attributes.
550 (clone_node): Attribute nodes were not completely copied.
551
552 * HTML.pm.src: Many bugs are fixed.
553
554 2007-04-30 Wakaba <wakaba@suika.fam.cx>
555
556 * HTML.pm.src: Some typos are fixed.
557
558 2007-04-30 Wakaba <wakaba@suika.fam.cx>
559
560 * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
561 are removed.
562
563 * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
564
565 * HTML-consume-entity.src: Removed.
566
567 2007-04-30 Wakaba <wakaba@suika.fam.cx>
568
569 * HTML.pm.src: Tokenizer's handling on hexadecimal
570 numeric entities are rewritten.
571
572 2007-04-30 Wakaba <wakaba@suika.fam.cx>
573
574 * HTML.pm.src: Some tokenizer bugs are fixed.
575
576 2007-04-30 Wakaba <wakaba@suika.fam.cx>
577
578 * HTML.pm.src: The tree construction stage is implemented.
579
580 * mkhtmlparser.pl: New macros are added.
581
582 2007-04-28 Wakaba <wakaba@suika.fam.cx>
583
584 * ContentType.pm: A note on bug in the specification
585 is removed since it's been now fixed.
586
587 * .cvsignore: New file.
588
589 2007-04-28 Wakaba <wakaba@suika.fam.cx>
590
591 * HTML.pm.src, HTML-consume-entity.src: New files.
592
593 * Makefile (HTML.pm): New rule.
594
595 * mkhtmlparser.pl: New script.
596
597 2007-04-25 Wakaba <wakaba@suika.fam.cx>
598
599 * Makefile: New file.
600
601 2007-04-24 Wakaba <wakaba@suika.fam.cx>
602
603 * ContentType.pm: An error in pod is fixed.
604
605 2007-04-24 Wakaba <wakaba@suika.fam.cx>
606
607 * ContentType.pm: Documentation is added.
608
609 2007-04-24 Wakaba <wakaba@suika.fam.cx>
610
611 * ContentType.pm: New Perl module.
612
613 * ChangeLog: New file.
614
615

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24