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

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.86

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24