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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.124 - (hide annotations) (download)
Mon Nov 19 12:18:26 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.123: +7 -0 lines
++ ChangeLog	19 Nov 2007 12:16:52 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Link to |Whatpm::Charset::UniversalCharDet|.

++ whatpm/Whatpm/ChangeLog	19 Nov 2007 12:17:47 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (parse_byte_string): Detect charset
	by universalchardet if charset parameter is not specified.

	* Makefile (Charset-all, Charset-clean): New rules.

++ whatpm/Whatpm/Charset/ChangeLog	19 Nov 2007 11:54:20 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: New file.

	* UniversalCharDet.pm, UniversalCharDet.pod: New files.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24