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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.145 - (hide annotations) (download)
Sun Feb 24 01:38:36 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.144: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	24 Feb 2008 01:38:04 -0000
	* ContentChecker.pm (check_element): Element standardized
	status information is now dispatched.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	24 Feb 2008 01:38:30 -0000
	* HTML.pm: Standardized status attributes are added.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24