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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.73 - (show annotations) (download)
Sat Jul 21 06:04:07 2007 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.72: +4 -0 lines
++ whatpm/t/ChangeLog	21 Jul 2007 06:04:01 -0000
	* tree-test-1.dat: More tests for ignoring some tokens
	are added.

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

++ whatpm/Whatpm/ChangeLog	21 Jul 2007 06:03:37 -0000
	* HTML.pm.src: Two |!!!next-token|s were missing.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24