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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.102 - (hide annotations) (download)
Tue Sep 4 11:19:07 2007 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.101: +4 -0 lines
++ whatpm/t/ChangeLog	4 Sep 2007 11:19:01 -0000
2007-09-04  Wakaba  <wakaba@suika.fam.cx>

	* tree-test-1.dat: New tests are added.

++ whatpm/Whatpm/ChangeLog	4 Sep 2007 11:18:29 -0000
2007-09-04  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: Some error types were wrong.

1 wakaba 1.102 2007-09-04 Wakaba <wakaba@suika.fam.cx>
2    
3     * HTML.pm.src: Some error types were wrong.
4    
5 wakaba 1.100 2007-08-17 Wakaba <wakaba@suika.fam.cx>
6    
7 wakaba 1.101 * CSS/: New directory.
8    
9     2007-08-17 Wakaba <wakaba@suika.fam.cx>
10    
11 wakaba 1.100 * ContentChecker.pm (_check_get_children): Support
12     for |noscript| in |head|.
13    
14 wakaba 1.99 2007-08-12 Wakaba <wakaba@suika.fam.cx>
15    
16     * URI/: New directory.
17    
18 wakaba 1.94 2007-08-11 Wakaba <wakaba@suika.fam.cx>
19    
20 wakaba 1.98 * HTML.pm.src: Tokenizer's states are now represented in
21     number.
22    
23     2007-08-11 Wakaba <wakaba@suika.fam.cx>
24    
25 wakaba 1.97 * HTML.pm.src: |or|s for insertion modes are replaced
26     by |&|s.
27    
28     2007-08-11 Wakaba <wakaba@suika.fam.cx>
29    
30 wakaba 1.96 * HTML.pm.src: Token types are now represented in number.
31    
32     2007-08-11 Wakaba <wakaba@suika.fam.cx>
33    
34 wakaba 1.95 * ContentType.pm (SEE ALSO): Updated.
35    
36     * HTML.pm.src: Insertion modes are now represented in number.
37    
38     2007-08-11 Wakaba <wakaba@suika.fam.cx>
39    
40 wakaba 1.94 * ContentType.pm: Sniffing for bitmap images (HTML5 revision
41     999) is implemented.
42    
43 wakaba 1.93 2007-08-08 Wakaba <wakaba@suika.fam.cx>
44    
45     * ContentType.pm: Sniffing for |<script| (HTML5 revision
46     983) is implemented.
47    
48 wakaba 1.92 2007-08-06 Wakaba <wakaba@suika.fam.cx>
49    
50     * ContentChecker.pod: New documentation.
51    
52     * Makefile: A rule for |ContentChecker.html| is added.
53    
54     * ContentChecker.pm: A pod "LICENSE" section is added.
55    
56     * NanoDOM.pm ($VERSION): New variable.
57    
58 wakaba 1.90 2007-08-05 Wakaba <wakaba@suika.fam.cx>
59    
60 wakaba 1.91 * H2H.pm: |b|, |i|, and |sub| are added to the
61     list of allowed HTML elements.
62    
63     2007-08-05 Wakaba <wakaba@suika.fam.cx>
64    
65 wakaba 1.90 * H2H.pm: |samp| is added to the list of allowed
66     HTML elements.
67    
68     * URIChecker.pm (check_iri): New.
69     (check_iri_reference): Error type for IRI reference
70     syntax error is changed.
71    
72 wakaba 1.87 2007-08-04 Wakaba <wakaba@suika.fam.cx>
73    
74 wakaba 1.89 * ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom|
75     is added.
76     (check_document): Load appropriate module before validation.
77    
78     2007-08-04 Wakaba <wakaba@suika.fam.cx>
79    
80 wakaba 1.88 * ContentChecker/: New directory.
81    
82     2007-08-04 Wakaba <wakaba@suika.fam.cx>
83    
84 wakaba 1.87 * ContentChecker.pm: HTML |time| element is implemented.
85    
86     * HTMLTable.pm: Comments are updated as HTML5 is revised.
87    
88 wakaba 1.71 2007-07-21 Wakaba <wakaba@suika.fam.cx>
89    
90 wakaba 1.86 * ContentChecker.pm (check_document): Return value
91     even if no document element is found.
92    
93     2007-07-21 Wakaba <wakaba@suika.fam.cx>
94    
95 wakaba 1.85 * HTML.pm.src: |$in_body| is no longer a function.
96    
97     2007-07-21 Wakaba <wakaba@suika.fam.cx>
98    
99 wakaba 1.84 * HTML.pm.src: The |$in_body| code has been moved down.
100    
101     2007-07-21 Wakaba <wakaba@suika.fam.cx>
102    
103 wakaba 1.83 * HTML.pm.src: The "trailing end" insertion mode
104     is split into "after html body" and "after html frameset"
105     insertion modes. Their codes are merged with "after body"
106     and "after frameset" codes. |$previous_insertion_mode|
107     has been removed. "after frameset" code is
108     merged with "in frameset" code.
109    
110     2007-07-21 Wakaba <wakaba@suika.fam.cx>
111    
112 wakaba 1.82 * HTML.pm.src: The "before head" insertion mode is
113     merged with the "in head" insertion mode.
114    
115     2007-07-21 Wakaba <wakaba@suika.fam.cx>
116    
117 wakaba 1.81 * HTML.pm.src: Cases in "in head" insertion mode are
118     reorganized.
119    
120     2007-07-21 Wakaba <wakaba@suika.fam.cx>
121    
122 wakaba 1.80 * HTML.pm.src: Some cases in "in table" insertion mode
123     are merged.
124    
125     2007-07-21 Wakaba <wakaba@suika.fam.cx>
126    
127 wakaba 1.79 * HTML.pm.src: The "in row" insertion mode is merged
128     with "in table" insertion mode.
129    
130     2007-07-21 Wakaba <wakaba@suika.fam.cx>
131    
132 wakaba 1.78 * HTML.pm.src: The "in table" and "in table body" insertion
133     modes are merged.
134    
135     2007-07-21 Wakaba <wakaba@suika.fam.cx>
136    
137 wakaba 1.77 * HTML.pm.src: There is no "in table head" or "in table foot"
138     insertion mode!
139    
140     2007-07-21 Wakaba <wakaba@suika.fam.cx>
141    
142 wakaba 1.76 * HTML.pm.src: |<noframes>| "in frameset" and "in noframes"
143     now directly invoke the handler.
144    
145     2007-07-21 Wakaba <wakaba@suika.fam.cx>
146    
147 wakaba 1.75 * HTML.pm.src: Codes for "in cell" insertion mode
148     is merged to the "in body" insertion mode code.
149    
150     2007-07-21 Wakaba <wakaba@suika.fam.cx>
151    
152 wakaba 1.74 * HTML.pm.src: Codes for "in body" and "in caption"
153     insertion modes are merged.
154    
155     2007-07-21 Wakaba <wakaba@suika.fam.cx>
156    
157 wakaba 1.73 * HTML.pm.src: Two |!!!next-token|s were missing.
158    
159     2007-07-21 Wakaba <wakaba@suika.fam.cx>
160    
161 wakaba 1.72 * HTML.pm.src: Use numeric constant for |{content_mode}|
162     instead of string constant for |{content_model_flag}|.
163    
164     2007-07-21 Wakaba <wakaba@suika.fam.cx>
165    
166 wakaba 1.71 * HTML.pm.src: Add the name of the attribute
167     to the "duplicate attribute" error.
168    
169 wakaba 1.69 2007-07-17 Wakaba <wakaba@suika.fam.cx>
170    
171 wakaba 1.70 * ContentChecker.pm: Return the |class| node list.
172    
173     2007-07-17 Wakaba <wakaba@suika.fam.cx>
174    
175 wakaba 1.69 * ContentChecker.pm: Return the |id| node list.
176    
177     * HTML.pm.src: A typo is fixed.
178    
179 wakaba 1.63 2007-07-16 Wakaba <wakaba@suika.fam.cx>
180    
181 wakaba 1.68 * ContentChecker.pm: Drop wrong |level => 'error'| specification
182     from "in HTML:xml:lang" error. Character position
183     is now the last part of the error type in the URI error
184     description. Report "unsupported" status for language
185     tags, media queries, script codes, and style sheets.
186    
187     2007-07-16 Wakaba <wakaba@suika.fam.cx>
188    
189 wakaba 1.67 * ContentChecker.pm: Report error if |xml:lang|
190     in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset|
191     in XML.
192    
193     * NanoDOM.pm (Attr.owner_document): New attribute.
194    
195     2007-07-16 Wakaba <wakaba@suika.fam.cx>
196    
197 wakaba 1.66 * HTML.pm.src: The character immediately following
198     a bare |hcro| was discarded. Fix handling of
199     entity references in attribute values.
200    
201     2007-07-16 Wakaba <wakaba@suika.fam.cx>
202    
203 wakaba 1.65 * HTML.pm.src (main and trailin end phases): Token
204     types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
205     factored out. Error types |in html:#DOCTYPE|
206     and |after html:#DOCTYPE| are merged
207     into |DOCTYPE in the middle|. |</frameset>|
208     in fragment parsing mode changed the
209     insertion mode.
210    
211     2007-07-16 Wakaba <wakaba@suika.fam.cx>
212    
213 wakaba 1.64 * HTML.pm.src: |$phase| has been removed; The |trailing end|
214     phase is now an insertion mode. Treatments for white
215     space character tokens were incorrect for some
216     insertion modes. An old |meta| case was not removed.
217    
218     2007-07-16 Wakaba <wakaba@suika.fam.cx>
219    
220 wakaba 1.63 * HTML.pm.src: |meta| charset declaration extraction
221     implemented (but changing the encoding is not yet:-).
222    
223 wakaba 1.60 2007-07-15 Wakaba <wakaba@suika.fam.cx>
224    
225 wakaba 1.62 * Charset/: New directory.
226    
227     2007-07-15 Wakaba <wakaba@suika.fam.cx>
228    
229 wakaba 1.61 * H2H.pm: New Perl module (created from
230     manakai's H2H.dis).
231    
232     2007-07-15 Wakaba <wakaba@suika.fam.cx>
233    
234 wakaba 1.60 * XMLSerializer.pm: New Perl module (created from
235     manakai's SimpleLS.dis).
236    
237 wakaba 1.59 2007-07-07 Wakaba <wakaba@suika.fam.cx>
238    
239     * HTML.pm.src: |<!---x-->| was not processed correctly.
240    
241 wakaba 1.57 2007-07-01 Wakaba <wakaba@suika.fam.cx>
242    
243 wakaba 1.58 * HTML.pm.src: Report correct error message
244     for |<body></div></body>|.
245    
246     2007-07-01 Wakaba <wakaba@suika.fam.cx>
247    
248 wakaba 1.57 * HTMLTable.pm: An error description was incorrect.
249    
250     2007-06-30 Wakaba <wakaba@suika.fam.cx>
251    
252     * ContentChecker.pm: Return |{term}| list.
253    
254 wakaba 1.55 2007-06-30 Wakaba <wakaba@suika.fam.cx>
255    
256 wakaba 1.56 * HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>,
257     nested <nobr>, implied </tbody>, </tfoot>, and </thead>,
258     and <title> outside of head).
259    
260     2007-06-30 Wakaba <wakaba@suika.fam.cx>
261    
262 wakaba 1.55 * IMTChecker.pm: Report warning for unregistered
263     and private types/subtypes.
264    
265     * ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
266     URIChecker.pm, HTMLTable.pm: Error messages are now
267     consistent; they are all listed in
268     <http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.
269    
270 wakaba 1.52 2007-06-25 Wakaba <wakaba@suika.fam.cx>
271    
272 wakaba 1.54 * ContentChecker.pm: |<img ismap>| not in |<a></a>|
273     is now erred. |<datalist>| is implemented.
274     Attribute checker for |<command>| and |<menu>| are
275     added. Support for |contextmenu| global attribute
276     is added.
277    
278     2007-06-25 Wakaba <wakaba@suika.fam.cx>
279    
280 wakaba 1.53 * HTML.pm.src (_reset_insertion_mode): Interpretation
281     of Step 3 has been changed.
282    
283     2007-06-25 Wakaba <wakaba@suika.fam.cx>
284    
285 wakaba 1.52 * HTML.pm.src: Late |<html>| parse error is implemented.
286    
287 wakaba 1.47 2007-06-24 Wakaba <wakaba@suika.fam.cx>
288    
289 wakaba 1.51 * URIChecker.pm (check_iri_reference): A |decode| method name was
290     incorrect.
291    
292     * ContentChecker.pm: Support for the |footer| element.
293     Check URI syntax for space-separated URI attributes.
294     Support for the |tabindex| attribute. Support
295     for |datetime| attribute.
296    
297     2007-06-24 Wakaba <wakaba@suika.fam.cx>
298    
299 wakaba 1.50 * HTML.pm.src: HTML5 revision 1.144 (&#x0D;) and 1.145 (invalid
300     character references). HTML5 revision 1.146 (white space
301     characters before root start tag). HTML5 revision
302     1.148 (named character references in attribute values).
303     HTML5 revision 1.152 (<plaintext>.innerHTML get).
304    
305     2007-06-24 Wakaba <wakaba@suika.fam.cx>
306    
307     * HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript>
308 wakaba 1.49 in <head>).
309    
310     2007-06-24 Wakaba <wakaba@suika.fam.cx>
311    
312 wakaba 1.48 * HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
313     in body).
314    
315     * ContentChecker.pm: HTML5 revision 938 (scoped="").
316    
317     2007-06-24 Wakaba <wakaba@suika.fam.cx>
318    
319 wakaba 1.47 * HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA
320     or RCDATA in fragment parsing mode). HTML5 revision
321     924 (<!--> and <!--->). HTML5 revision 926 (hn in hn).
322    
323     2007-06-23 Wakaba <wakaba@suika.fam.cx>
324    
325     * HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html
326     for <pre> and <textarea>).
327    
328 wakaba 1.33 2007-06-23 Wakaba <wakaba@suika.fam.cx>
329    
330 wakaba 1.46 * HTML.pm.src: HTML5 revision 920 (<isindex>).
331    
332     2007-06-23 Wakaba <wakaba@suika.fam.cx>
333    
334 wakaba 1.45 * HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>).
335    
336     2007-06-23 Wakaba <wakaba@suika.fam.cx>
337    
338 wakaba 1.44 * HTML.pm.src: HTML5 revision 916 (</body>).
339     HTML5 revision 917 (conforming bare &).
340    
341     2007-06-23 Wakaba <wakaba@suika.fam.cx>
342    
343 wakaba 1.43 * NanoDOM.pm (manakai_is_html): Setting to false did not work.
344    
345     * HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
346     HTML5 revision 915 (<nobr>).
347    
348     2007-06-23 Wakaba <wakaba@suika.fam.cx>
349    
350 wakaba 1.42 * HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).
351    
352     * NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
353     New attributes.
354    
355     2007-06-23 Wakaba <wakaba@suika.fam.cx>
356    
357 wakaba 1.41 * HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
358     in tags).
359    
360     2007-06-23 Wakaba <wakaba@suika.fam.cx>
361    
362 wakaba 1.40 * .cvsignore: |Entities.html| is added.
363    
364     * HTML.pm.src: |$entity_char| is removed and
365     requires |Whatpm::_NamedEntityList| instead.
366     HTML5 revision 898 (refc), except that lack of refc
367     is parse error.
368    
369     * mkentitylist.pl: New script.
370    
371     * Makefile (all): |_NamedEntityList.pm| is added.
372     (_NamedEntityList.pm, Entities.html): New rules.
373    
374     2007-06-23 Wakaba <wakaba@suika.fam.cx>
375    
376 wakaba 1.39 * HTML.pm.src: Parse errors immediately after U+000D
377     were ignored and U+000D immediately following another
378     U+000D was not converted to U+000A.
379    
380     2007-06-23 Wakaba <wakaba@suika.fam.cx>
381    
382 wakaba 1.38 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
383     nodes before appended). Parser was not ready for NULL
384     parse error and escape flag.
385    
386     * NanoDOM.pm (adopt_node): New.
387    
388     2007-06-23 Wakaba <wakaba@suika.fam.cx>
389    
390 wakaba 1.37 * HTML.pm.src: HTML5 revision 886 (insane comment in
391     CDATA and RCDATA). Note that current implementation
392     is simply repeating what the spec says and it is maybe not
393     a best way to do it.
394    
395     2007-06-23 Wakaba <wakaba@suika.fam.cx>
396    
397 wakaba 1.36 * HTML.pm.src: HTML5 revision 884 (</form> don't close
398     the form element if a descendant element without implied end tag has
399     still been open).
400    
401     2007-06-23 Wakaba <wakaba@suika.fam.cx>
402    
403 wakaba 1.35 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
404     space characters non-conforming).
405    
406     2007-06-23 Wakaba <wakaba@suika.fam.cx>
407    
408 wakaba 1.34 * HTML.pm.src: An error message was incorrect.
409     HTML5 revision 869 (C1 character references).
410    
411     2007-06-23 Wakaba <wakaba@suika.fam.cx>
412    
413 wakaba 1.33 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
414     a |textarea| is removed).
415    
416 wakaba 1.32 2007-06-05 Wakaba <wakaba@suika.fam.cx>
417    
418     * NanoDOM.pm (get_attribute_node_ns): New method.
419    
420     * ContentChecker.pm: |script| |async| and |defer|
421     no longer require |src|. |async| MUST NOT be
422     specified if |defer|. (HTML5 revision 858).
423    
424 wakaba 1.31 2007-05-30 Wakaba <wakaba@suika.fam.cx>
425    
426     * HTML.pm.src: |<form><form>| went to inifinite loop.
427    
428 wakaba 1.27 2007-05-27 Wakaba <wakaba@suika.fam.cx>
429    
430 wakaba 1.30 * ContentChecker.pm (html): Set |is_root| (allowed
431     as a document element) flag on.
432     (new): Removed.
433     (check_document): New method.
434    
435     2007-05-27 Wakaba <wakaba@suika.fam.cx>
436    
437 wakaba 1.29 * ContentChecker.pm (thead, tfoot): Checker specifications
438     were incorrect.
439    
440     2007-05-27 Wakaba <wakaba@suika.fam.cx>
441    
442 wakaba 1.28 * ContentChecker.pm ($HTMLURIAttrChecker): Include
443     error position in the |type| option of the error.
444    
445     * HTMLTable.pm (form_table): The |$onerror| parameter
446     is now optional. Some bugs are fixed.
447    
448     2007-05-27 Wakaba <wakaba@suika.fam.cx>
449    
450 wakaba 1.27 * HTMLTable.pm: New module.
451    
452     * ContentChecker.pm (table): Invoke table model error checker.
453    
454     * NanoDOM.pm (first_child, get_attribute_ns): New.
455    
456 wakaba 1.25 2007-05-26 Wakaba <wakaba@suika.fam.cx>
457    
458 wakaba 1.26 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
459     (link/@rel, a/@rel, area/@rel): Use new checker.
460    
461     * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
462    
463     * _LinkTypeList.pm: New file.
464    
465     * mklinktypelist.pl: New file.
466    
467     * .cvsignore: |RelExtensions.html| added.
468    
469     * NanoDOM.pm (child_nodes): Returns an empty array
470     for non-child-containing node types.
471     (text_content): New attribute.
472    
473     2007-05-26 Wakaba <wakaba@suika.fam.cx>
474    
475 wakaba 1.25 * IMTChecker.pm: New module.
476    
477     * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
478     to test parameter value validity.
479    
480     * HTML.pm.src ($style_start_tag): Attributes were
481     discarded.
482    
483 wakaba 1.22 2007-05-25 Wakaba <wakaba@suika.fam.cx>
484    
485 wakaba 1.24 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
486    
487     2007-05-25 Wakaba <wakaba@suika.fam.cx>
488    
489 wakaba 1.23 * URIChecker.pm: All recommendations from RFC 3986
490     and RFC 3987 are listed (not all testable items are checked yet).
491    
492     2007-05-25 Wakaba <wakaba@suika.fam.cx>
493    
494 wakaba 1.22 * URIChecker.pm: New module.
495    
496 wakaba 1.18 2007-05-20 Wakaba <wakaba@suika.fam.cx>
497    
498 wakaba 1.21 * ContentChecker.pm: Now most attributes are implemented
499     or associated to some placeholder.
500     ($ElementDefault): Warn unknown attributes
501     for unknown elements as "attribute not supported".
502     ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
503     ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
504     (|a| attribute checker): Reimplemented.
505    
506     2007-05-20 Wakaba <wakaba@suika.fam.cx>
507    
508 wakaba 1.20 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
509     ($HTMLAttrChecker): Event handler content attributes
510     are added.
511     (link, embed): Required attribute is now checked.
512     (embed): Unknown local attributes are no longer warned.
513    
514     2007-05-20 Wakaba <wakaba@suika.fam.cx>
515    
516 wakaba 1.19 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
517     ($HTMLIMTAttrChecker): New checker.
518     (link@rel, link@href, link@type, style@type,
519     a@href, a@ping, a@ping, a@type, embed@src, embed@type,
520     object@data, object@type, source@src, source@type, area@alt,
521     area@shape, area@coords, area@href,
522     area@ping, area@rel, area@type, script@src,
523     script@defer, script@async, script@type): Checkers added.
524    
525     2007-05-20 Wakaba <wakaba@suika.fam.cx>
526    
527 wakaba 1.18 * ContentChecker.pm: Descendant checking was incorrect.
528    
529 wakaba 1.12 2007-05-19 Wakaba <wakaba@suika.fam.cx>
530    
531 wakaba 1.17 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
532     attributes. Report an error if |Element.prefix|
533     is |xmlns|.
534    
535     * NanoDOM.pm (prefix): New attribute.
536    
537     2007-05-19 Wakaba <wakaba@suika.fam.cx>
538    
539 wakaba 1.16 * HTML.pm.src: In |main| phase, |in body| insertion
540     mode, action for |<iframe>| was missing.
541    
542     2007-05-19 Wakaba <wakaba@suika.fam.cx>
543    
544 wakaba 1.15 * ContentChecker.pm: Support for many of HTML5 elements.
545     ($GetHTMLNonNegativeIntegerAttrChecker): New.
546    
547     2007-05-19 Wakaba <wakaba@suika.fam.cx>
548    
549 wakaba 1.14 * ContentChecker.pm: Support for most elements up to |progress|.
550     ($HTMLURIAttrChecker): Placeholder.
551     ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
552     New.
553    
554     2007-05-19 Wakaba <wakaba@suika.fam.cx>
555    
556 wakaba 1.13 * ContentChecker.pm: Attribute checkers
557     for global attributes, |html|, |base|, |style|, and |meta|.
558    
559     * NanoDOM.pm (insert_before): Weaken reference
560     to the parent node.
561     (Attr::new): Set |owner_element| attribute.
562     (namespace_uri, manakai_local_name): New attribute implementations.
563     (owner_element): New attribute.
564    
565     2007-05-19 Wakaba <wakaba@suika.fam.cx>
566    
567 wakaba 1.12 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
568     $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
569     $Element->{$HTML_NS}->{''}): New.
570     (check_element): Invoke attrs_checker for each element.
571    
572 wakaba 1.6 2007-05-13 Wakaba <wakaba@suika.fam.cx>
573    
574 wakaba 1.11 * ContentChecker.pm: Don't use |manakai_element_type_match|.
575    
576     2007-05-13 Wakaba <wakaba@suika.fam.cx>
577    
578 wakaba 1.10 * ContentChecker.pm: Use hashs rather than lists for
579     element type testings.
580    
581     2007-05-13 Wakaba <wakaba@suika.fam.cx>
582    
583 wakaba 1.9 * ContentChecker.pm: Don't generate duplicate
584     error when an element type is put in the "minus" list
585     and the element type is not allowed explicitly in the particular
586     element content model.
587     (html:a checker): New checker.
588     (html:details, html:datagrid): New checkers.
589     (html:legend): New checker.
590    
591     2007-05-13 Wakaba <wakaba@suika.fam.cx>
592    
593 wakaba 1.8 * ContentChecker.pm (html:li checker): Implemented.
594    
595     2007-05-13 Wakaba <wakaba@suika.fam.cx>
596    
597 wakaba 1.7 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
598     checker.
599     (html:dd checker): New checker.
600     (html:q, html:em, html:strong, html:small,
601     html:m, html:dfn, html:code, html:samp, html:span): New checkers.
602    
603     2007-05-13 Wakaba <wakaba@suika.fam.cx>
604    
605 wakaba 1.6 * ContentChecker.pm ($AnyChecker): Renamed
606     from |$ElementDefault->{checker}|.
607     ($ElementDefault->{checker}): Throw an error that
608     the element type is not supported by the checker.
609     ($HTMLMetadataElement): |html:base| was missing.
610     ($HTMLEmptyChecker): Don't throw an error
611     for inter-element whitespace nodes.
612     (html:html checker): Errors were not
613     thrown even if |html:head| and/or |html:body|
614     children were missing.
615     (html:head checker): An error was not
616     thrown if <meta charset> appered after other
617     elements.
618    
619 wakaba 1.5 2007-05-05 Wakaba <wakaba@suika.fam.cx>
620    
621     * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
622     and |noscript| elements are implemented.
623     (new): New method.
624    
625 wakaba 1.3 2007-05-04 Wakaba <wakaba@suika.fam.cx>
626    
627 wakaba 1.4 * ContentChecker.pm: New module.
628    
629     2007-05-04 Wakaba <wakaba@suika.fam.cx>
630    
631 wakaba 1.3 * NanoDOM.pm (manakai_parent_element,
632     document_element, manakai_local_name,
633     manakai_element_type_match): New method.
634    
635     2007-05-03 Wakaba <wakaba@suika.fam.cx>
636    
637     * HTML.pm.src: Replace decimal and hexadecimal numeric
638     entities in C1 range using Windows-1252 mapping. Bare LF
639     did not count as new line for error reporting.
640    
641 wakaba 1.2 2007-05-02 Wakaba <wakaba@suika.fam.cx>
642    
643     * NanoDOM.pm (DOMImplementation): New class.
644     (append_child): Weaken the |parent_node| reference.
645     (create_element_ns, Element new): Set the |owner_document|
646     reference.
647     (implementation): New attribute.
648     (owner_document, local_name, namespace_uri): New attributes.
649    
650     * HTML.pm.src (parse_string): Line and column numbers
651     are now provided to error handler.
652     (!!!parse-error): Short descriptions are added.
653     (_construct_tree): Split into three methods; support
654     for innerHTML mode.
655     (set_inner_html): New method.
656    
657 wakaba 1.1 2007-05-01 Wakaba <wakaba@suika.fam.cx>
658    
659     * NanoDOM.html: Documentation is added.
660    
661     * HTML.pod, ContentType.html: Documentation is revised.
662    
663     * .cvsignore: Pod2html temporary files are added.
664    
665     * Makefile: Make |NanoDOM.html|.
666    
667     2007-05-01 Wakaba <wakaba@suika.fam.cx>
668    
669     * HTML.pm.src (parse_string): New method.
670     (get_inner_html): Renamed from |inner_html|.
671    
672     * Makefile: A rule for |HTML.html| is added.
673    
674     * HTML.pod: New documentation.
675    
676     2007-05-01 Wakaba <wakaba@suika.fam.cx>
677    
678     * NanoDOM.pm (last_child, previous_sibling): New attributes.
679     (clone_node): Attribute nodes were not completely copied.
680    
681     * HTML.pm.src: Many bugs are fixed.
682    
683     2007-04-30 Wakaba <wakaba@suika.fam.cx>
684    
685     * HTML.pm.src: Some typos are fixed.
686    
687     2007-04-30 Wakaba <wakaba@suika.fam.cx>
688    
689     * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
690     are removed.
691    
692     * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
693    
694     * HTML-consume-entity.src: Removed.
695    
696     2007-04-30 Wakaba <wakaba@suika.fam.cx>
697    
698     * HTML.pm.src: Tokenizer's handling on hexadecimal
699     numeric entities are rewritten.
700    
701     2007-04-30 Wakaba <wakaba@suika.fam.cx>
702    
703     * HTML.pm.src: Some tokenizer bugs are fixed.
704    
705     2007-04-30 Wakaba <wakaba@suika.fam.cx>
706    
707     * HTML.pm.src: The tree construction stage is implemented.
708    
709     * mkhtmlparser.pl: New macros are added.
710    
711     2007-04-28 Wakaba <wakaba@suika.fam.cx>
712    
713     * ContentType.pm: A note on bug in the specification
714     is removed since it's been now fixed.
715    
716     * .cvsignore: New file.
717    
718     2007-04-28 Wakaba <wakaba@suika.fam.cx>
719    
720     * HTML.pm.src, HTML-consume-entity.src: New files.
721    
722     * Makefile (HTML.pm): New rule.
723    
724     * mkhtmlparser.pl: New script.
725    
726     2007-04-25 Wakaba <wakaba@suika.fam.cx>
727    
728     * Makefile: New file.
729    
730     2007-04-24 Wakaba <wakaba@suika.fam.cx>
731    
732     * ContentType.pm: An error in pod is fixed.
733    
734     2007-04-24 Wakaba <wakaba@suika.fam.cx>
735    
736     * ContentType.pm: Documentation is added.
737    
738     2007-04-24 Wakaba <wakaba@suika.fam.cx>
739    
740     * ContentType.pm: New Perl module.
741    
742     * ChangeLog: New file.
743    
744    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24