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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.121 - (hide annotations) (download)
Sun Nov 18 04:48:36 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.120: +5 -0 lines
++ whatpm/t/ChangeLog	18 Nov 2007 04:45:24 -0000
	* ContentType.t: New tests for HTML5 sniffing algorithm,
	leading white space support (HTML5 revisions 1013 and 1016).

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

++ whatpm/Whatpm/ChangeLog	18 Nov 2007 04:45:13 -0000
	* ContentType.pm: Sniffing with leading white space
	ignoring (HTML5 revisions 1013 and 1016).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24