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

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.92

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24