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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.77 - (show annotations) (download)
Sat Jul 21 08:17:43 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.76: +5 -0 lines
++ whatpm/t/ChangeLog	21 Jul 2007 08:17:40 -0000
	* tree-test-2.dat: New tests for |thead|, |tbody|, and |tfoot|
	fragment parsing.

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

++ whatpm/Whatpm/ChangeLog	21 Jul 2007 08:17:12 -0000
	* HTML.pm.src: There is no "in table head" or "in table foot"
	insertion mode!

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24