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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.68 - (show annotations) (download)
Mon Jul 16 14:28:35 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.67: +8 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 14:28:33 -0000
	* content-model-1.dat, content-model-2.dat: Some test data
	have been updated due to new warnings.

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

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 14:01:47 -0000
	* ContentChecker.pm: Drop wrong |level => 'error'| specification
	from "in HTML:xml:lang" error.  Character position
	is now the last part of the error type in the URI error
	description.  Report "unsupported" status for language
	tags, media queries, script codes, and style sheets.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24