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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24