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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.150 - (hide annotations) (download)
Sun Mar 2 11:16:34 2008 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.149: +9 -0 lines
++ whatpm/t/ChangeLog	2 Mar 2008 11:10:02 -0000
	* content-model-atom-1.dat: New test data are added.

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

++ whatpm/Whatpm/ChangeLog	2 Mar 2008 11:16:26 -0000
	* ContentChecker.pm: Typo fixed.  Don't raise "character encoding"
	and related errors unless it is an HTML document (though the spec
	is unclear on whether it is applied to XHTML document).

	* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes
	are added.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	2 Mar 2008 11:11:31 -0000
	* Atom.pm: Reimplemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24