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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.140 - (hide annotations) (download)
Sat Feb 23 14:37:09 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.139: +5 -0 lines
++ whatpm/t/ChangeLog	23 Feb 2008 14:37:03 -0000
	* content-model-1.dat: Some test results are fixed.
	New tests for |video| and |audio| are added.

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

++ whatpm/Whatpm/ChangeLog	23 Feb 2008 14:35:33 -0000
	* ContentChecker.pm (check_element): Support for |video|
	and |audio| as semi-transparent elements.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	23 Feb 2008 14:36:23 -0000
	* HTML.pm (object check_end): Don't check significant content
	if the element is used as a transparent element.
	(video check): Reimplemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24