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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.164 - (hide annotations) (download)
Sat Mar 8 02:29:22 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.163: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	8 Mar 2008 02:23:26 -0000
2008-03-08  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (_tree_construction_main): '</p>' in body
	case is split from other end tags for the preparation
	of implementing HTML revision 1320.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24