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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.222 - (hide annotations) (download)
Mon May 5 04:21:20 2008 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.221: +5 -0 lines
++ whatpm/t/ChangeLog	5 May 2008 04:18:06 -0000
	* ContentType.t: Test data of HTML with BOM are added (c.f.
	HTML5 revision 1282).

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

++ whatpm/Whatpm/ChangeLog	5 May 2008 04:18:37 -0000
2008-05-05  Wakaba  <wakaba@suika.fam.cx>

	* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision
	1282).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24