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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.74

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24