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

Diff of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.97

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24