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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.125 - (hide annotations) (download)
Fri Nov 23 05:39:43 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.124: +8 -0 lines
++ ChangeLog	23 Nov 2007 05:35:10 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Whatpm::ContentChecker now depends
	on Message::Charset::Info.

++ whatpm/t/ChangeLog	23 Nov 2007 05:38:36 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.t: Unset |input_encoding| attribute.

	* content-model-1.dat, content-model-2.dat: New tests
	for |charset| attribute value are added.

++ whatpm/Whatpm/ChangeLog	23 Nov 2007 05:37:17 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New
	attributes.

	* ContentChecker.pm (check_document): Warn if charset requirements
	cannot be tested.

++ whatpm/Whatpm/ContentChecker/ChangeLog	23 Nov 2007 05:37:42 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (meta): |charset| value tests implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24