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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.80 - (show annotations) (download)
Sat Jul 21 09:54:45 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.79: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Jul 2007 09:54:42 -0000
	* HTML.pm.src: Some cases in "in table" insertion mode
	are merged.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24