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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.76 - (show annotations) (download)
Sat Jul 21 07:34:32 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.75: +5 -0 lines
++ whatpm/t/ChangeLog	21 Jul 2007 07:34:27 -0000
	* tree-test-1.dat: More tests are added for |noframes|
	after |</frameset>|.

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

++ whatpm/Whatpm/ChangeLog	21 Jul 2007 07:33:58 -0000
	* HTML.pm.src: |<noframes>| "in frameset" and "in noframes"
	now directly invoke the handler.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24