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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.151 - (hide annotations) (download)
Sun Mar 2 14:32:26 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.150: +11 -0 lines
++ whatpm/t/ChangeLog	2 Mar 2008 14:06:22 -0000
	* tokenizer-test-1.test: Tests for |<span ===>| is added (HTML5
	revision 1292).  Tests for & at the end of attribute value
	are added (HTML5 revision 1296).  Tests for bogus comments
	are added (HTML5 revision 1297).  Tests for |=| in
	unquoted attribute values are added (HTML5 revision 1299).
	Tests for single or double quotes in unquoted attribute
	values or attribute names and tests for missing spaces
	between attributes are added (HTML5 revision 1303).

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

++ whatpm/Whatpm/ChangeLog	2 Mar 2008 14:05:38 -0000
	* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision
	1292).  Entities are not parsed in comment-like part in RCDATA
	elements (HTML5 revision 1294).  Allow bare & at the end
	of attribute value literals (HTML5 revision 1296).  More
	quirks mode doctypes (HTML5 revision 1302).  Requires spaces
	between attributes and ban attribute names or unquoted
	attribute values containing single or double quotes (HTML5
	revision 1303).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24