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

Contents of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.59 - (hide annotations) (download)
Sat Jul 7 13:41:05 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.58: +4 -0 lines
++ whatpm/t/ChangeLog	7 Jul 2007 13:35:29 -0000
2007-07-07  Wakaba  <wakaba@suika.fam.cx>

	* tokenizer-test-1.test: A comment test is added.

++ whatpm/Whatpm/ChangeLog	7 Jul 2007 13:41:02 -0000
2007-07-07  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: |<!---x-->| was not processed correctly.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24