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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.130 - (hide annotations) (download)
Sun Nov 25 08:04:20 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.129: +5 -0 lines
++ whatpm/t/ChangeLog	25 Nov 2007 07:57:28 -0000
2007-11-25  Wakaba  <wakaba@suika.fam.cx>

	* content-model-1.dat, content-model-2.dat, content-model-3.dat,
	content-model-4.dat, table-1.dat: Test data are updated
	for the significant content check.

	* content-model-5.dat: New test data.

	* ContentChecker.t: New test data file is added.

++ whatpm/Whatpm/ChangeLog	25 Nov 2007 07:59:33 -0000
	* ContentChecker.pm ($AnyChecker): Old way to add child elements
	for checking had been used.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	25 Nov 2007 08:00:46 -0000
	* HTML.pm: Support for checking for significant content (HTML5
	revision 1114).  Note that the current implementation has
	an issue on treatment for transparent or semi-transparent
	elements.

	* Atom.pm: Support for significant content checking (for composed
	HTML-Atom documents).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24