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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.93 - (hide annotations) (download)
Wed Aug 8 12:39:00 2007 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.92: +5 -0 lines
++ whatpm/t/ChangeLog	8 Aug 2007 12:37:42 -0000
2007-08-08  Wakaba  <wakaba@suika.fam.cx>

	* content-model-2.dat: Some error messages are changed.

	* ContentType.t: New tests for |<script| sniffer are added.

++ whatpm/Whatpm/ChangeLog	8 Aug 2007 12:11:06 -0000
2007-08-08  Wakaba  <wakaba@suika.fam.cx>

	* ContentType.pm: Sniffing for |<script| (HTML5 revision
	983) is implemented.

++ whatpm/Whatpm/ContentChecker/ChangeLog	8 Aug 2007 12:38:37 -0000
2007-08-08  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm ($HTMLURIsAttrChecker): Syntax of error |type|
	value are changed for the ease of error message catalog
	lookup.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24