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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.136 - (hide annotations) (download)
Sun Feb 17 12:18:06 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.135: +7 -0 lines
++ whatpm/t/ChangeLog	17 Feb 2008 12:18:01 -0000
	* content-model-1.dat, content-model-2.dat: Updated.

2008-02-17  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	17 Feb 2008 12:12:56 -0000
	* ContentChecker.pm ({unsupported_level}): New value.

	* HTML.pm.src: Save whether |meta| |content| attribute
	contains character references or not.

2008-02-17  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	17 Feb 2008 12:17:33 -0000
	* HTML.pm: |<meta http-equiv=Content-Type| support (HTML5 revision
	1180).

2008-02-17  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24