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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.113 - (hide annotations) (download)
Sun Nov 4 04:15:06 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.112: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	4 Nov 2007 04:14:45 -0000
	* HTML.pm.src: Support for application cache selection algorithm
	callback.

2007-11-04  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24