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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.126 - (hide annotations) (download)
Fri Nov 23 07:35:02 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.125: +8 -0 lines
++ ChangeLog	23 Nov 2007 07:29:08 -0000
	* readme.en.html: Link to user data names documentation
	is added.

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

++ whatpm/t/ChangeLog	23 Nov 2007 07:08:15 -0000
	* content-model-2.dat: New test data for character references
	in |charset| attribute values.

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

++ whatpm/Whatpm/ChangeLog	23 Nov 2007 07:09:44 -0000
	* NanoDOM.pm (get_user_data, set_user_data): New methods.

	* HTML.pm.src: A flag for character references in attribute
	values are added.  Set |manakai_has_reference| user data
	to |charset| attribute.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	23 Nov 2007 07:08:45 -0000
	* HTML.pm (meta): Character references in |charset| attribute
	values are now erred.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24