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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.109 - (hide annotations) (download)
Sun Oct 14 09:21:46 2007 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.108: +8 -0 lines
++ whatpm/t/ChangeLog	14 Oct 2007 09:21:32 -0000
2007-10-14  Wakaba  <wakaba@suika.fam.cx>

	* content-model-1.dat, content-model-2.dat: New test
	data for |rule|, |nest|, and |datatemplate| elements.

++ whatpm/Whatpm/ChangeLog	14 Oct 2007 09:20:23 -0000
2007-10-14  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm (check_document): Support for
	new |is_xml_root| flag.
	(check_element): Support for new |pluses| state.
	(_add_pluses): New method.
	(_remove_minuses): Support for new |minus| item.

++ whatpm/Whatpm/ContentChecker/ChangeLog	14 Oct 2007 09:20:50 -0000
2007-10-14  Wakaba  <wakaba@suika.fam.cx>

	* Atom.pm, HTML.pm: Support for |html:nest|, |html:datatemplate|,
	and |html:rule| elements.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24