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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.157 - (hide annotations) (download)
Mon Mar 3 13:15:54 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.156: +5 -0 lines
++ whatpm/t/ChangeLog	3 Mar 2008 13:15:27 -0000
	* HTML-tokenizer.t: Ignore tree-construction phase and set_inner_html
	checkpoints.

2008-03-03  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	3 Mar 2008 13:12:15 -0000
	* HTML.pm.src (tree construction and set_inner_html): Checkpoints
	are added.

2008-03-03  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24