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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.202 - (hide annotations) (download)
Fri Mar 21 11:17:32 2008 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.201: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Mar 2008 11:17:27 -0000
	* RDFXML.pm: Factored out ID checking code.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24