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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.158 - (hide annotations) (download)
Tue Mar 4 00:03:12 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.157: +5 -0 lines
++ whatpm/t/ChangeLog	4 Mar 2008 00:02:19 -0000
2008-03-04  Wakaba  <wakaba@suika.fam.cx>

	* tree-test-1.dat: Missing tests from the initial stage are added.

++ whatpm/Whatpm/ChangeLog	4 Mar 2008 00:02:58 -0000
2008-03-04  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (_tree_construction_initial): Some limited quirks
	doctypes were not uppercased for comparison.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24