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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.162 - (hide annotations) (download)
Thu Mar 6 15:29:39 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.161: +7 -0 lines
++ whatpm/Whatpm/ChangeLog	6 Mar 2008 15:28:32 -0000
2008-03-07  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (_tree_construction_main): Merge rules for "h1"
	and "div" (HTML5 revision 1318).  Add comments to where
	|form| pointer association codes should be inserted (HTML5 revision
	1319).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24