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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.194 - (hide annotations) (download)
Thu Mar 20 03:37:18 2008 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.193: +9 -0 lines
++ whatpm/Whatpm/ChangeLog	20 Mar 2008 03:37:11 -0000
	* HTML.pm.src: Set line/column numbers to attributes.

	* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added.
	(value): Setter implemented.

	* mkhtmlparser.pl: Set line/column numbers to Attr nodes.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24