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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.63 - (hide annotations) (download)
Mon Jul 16 01:52:27 2007 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.62: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	16 Jul 2007 01:52:23 -0000
2007-07-16  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: |meta| charset declaration extraction
	implemented (but changing the encoding is not yet:-).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24