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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.69 - (show annotations) (download)
Tue Jul 17 13:54:57 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.68: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	17 Jul 2007 13:54:49 -0000
2007-07-17  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm: Return the |id| node list.

	* HTML.pm.src: A typo is fixed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24