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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.170 - (hide annotations) (download)
Sat Mar 8 03:43:48 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.169: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	8 Mar 2008 03:43:41 -0000
	* HTML.pm.src: |</h/n/>| case code rearranged to align with
	the spec (HTML5 revision 1320).  Note that we finally complete
	all of HTML5 revision 1320 changes.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24