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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.105 - (hide annotations) (download)
Sun Sep 9 07:57:32 2007 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.104: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	9 Sep 2007 07:57:16 -0000
	* ContentChecker.pm: Support for language tag validation.

2007-09-09  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	9 Sep 2007 07:56:59 -0000
2007-09-09  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Support for language tag validation.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24