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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.65 - (hide annotations) (download)
Mon Jul 16 04:51:21 2007 UTC (19 years ago) by wakaba
Branch: MAIN
Changes since 1.64: +10 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 04:51:17 -0000
	* tree-test-1.dat: Tests for |<html>| in trailing
	end phase and |</frameset>| in after frameset mode
	are added.

	* tree-test-2.dat: Tests for |</frameset>|
	in |frameset| fragment parsing are added.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 04:49:33 -0000
	* HTML.pm.src (main and trailin end phases): Token
	types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
	factored out.  Error types |in html:#DOCTYPE|
	and |after html:#DOCTYPE| are merged
	into |DOCTYPE in the middle|.  |</frameset>|
	in fragment parsing mode changed the
	insertion mode.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24