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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.131 - (hide annotations) (download)
Sat Feb 9 11:58:16 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.130: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	9 Feb 2008 11:57:29 -0000
2008-02-09  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm (_get_css_parser): New.

++ whatpm/Whatpm/ContentChecker/ChangeLog	9 Feb 2008 11:58:10 -0000
2008-02-09  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (<style>): Initial version of CSS validation support.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24