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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.119 - (hide annotations) (download)
Sun Nov 11 08:39:42 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.118: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	11 Nov 2007 08:39:39 -0000
	* HTML.pm.src (parse_char_string): Set |inner_encoding|
	attribute if possible.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24