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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.153 - (hide annotations) (download)
Mon Mar 3 00:13:22 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.152: +5 -0 lines
++ whatpm/t/ChangeLog	3 Mar 2008 00:13:18 -0000
	* HTML-tokenizer.t: s/correct/force-quirks/.

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

++ whatpm/Whatpm/ChangeLog	2 Mar 2008 23:55:07 -0000
	* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5
	revision 1307).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24