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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.38 - (hide annotations) (download)
Sat Jun 23 06:38:12 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.37: +8 -0 lines
++ whatpm/t/ChangeLog	23 Jun 2007 06:37:09 -0000
	* tokenizer-test-1.test: |™| test added.  (HTML5 revision 889.)

	* HTML-tree.t: Output test file names.  Escaped
	new line at the end of test data was removed.

	* tokenizer-test-2.dat: Tests for newlines, NULL, and
	escape flag stuff in |set_inner_html|.

2007-06-23  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	23 Jun 2007 06:35:23 -0000
	* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
	nodes before appended).  Parser was not ready for NULL
	parse error and escape flag.

	* NanoDOM.pm (adopt_node): New.

2007-06-23  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.33 2007-06-23 Wakaba <wakaba@suika.fam.cx>
2    
3 wakaba 1.38 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
4     nodes before appended). Parser was not ready for NULL
5     parse error and escape flag.
6    
7     * NanoDOM.pm (adopt_node): New.
8    
9     2007-06-23 Wakaba <wakaba@suika.fam.cx>
10    
11 wakaba 1.37 * HTML.pm.src: HTML5 revision 886 (insane comment in
12     CDATA and RCDATA). Note that current implementation
13     is simply repeating what the spec says and it is maybe not
14     a best way to do it.
15    
16     2007-06-23 Wakaba <wakaba@suika.fam.cx>
17    
18 wakaba 1.36 * HTML.pm.src: HTML5 revision 884 (</form> don't close
19     the form element if a descendant element without implied end tag has
20     still been open).
21    
22     2007-06-23 Wakaba <wakaba@suika.fam.cx>
23    
24 wakaba 1.35 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
25     space characters non-conforming).
26    
27     2007-06-23 Wakaba <wakaba@suika.fam.cx>
28    
29 wakaba 1.34 * HTML.pm.src: An error message was incorrect.
30     HTML5 revision 869 (C1 character references).
31    
32     2007-06-23 Wakaba <wakaba@suika.fam.cx>
33    
34 wakaba 1.33 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
35     a |textarea| is removed).
36    
37 wakaba 1.32 2007-06-05 Wakaba <wakaba@suika.fam.cx>
38    
39     * NanoDOM.pm (get_attribute_node_ns): New method.
40    
41     * ContentChecker.pm: |script| |async| and |defer|
42     no longer require |src|. |async| MUST NOT be
43     specified if |defer|. (HTML5 revision 858).
44    
45 wakaba 1.31 2007-05-30 Wakaba <wakaba@suika.fam.cx>
46    
47     * HTML.pm.src: |<form><form>| went to inifinite loop.
48    
49 wakaba 1.27 2007-05-27 Wakaba <wakaba@suika.fam.cx>
50    
51 wakaba 1.30 * ContentChecker.pm (html): Set |is_root| (allowed
52     as a document element) flag on.
53     (new): Removed.
54     (check_document): New method.
55    
56     2007-05-27 Wakaba <wakaba@suika.fam.cx>
57    
58 wakaba 1.29 * ContentChecker.pm (thead, tfoot): Checker specifications
59     were incorrect.
60    
61     2007-05-27 Wakaba <wakaba@suika.fam.cx>
62    
63 wakaba 1.28 * ContentChecker.pm ($HTMLURIAttrChecker): Include
64     error position in the |type| option of the error.
65    
66     * HTMLTable.pm (form_table): The |$onerror| parameter
67     is now optional. Some bugs are fixed.
68    
69     2007-05-27 Wakaba <wakaba@suika.fam.cx>
70    
71 wakaba 1.27 * HTMLTable.pm: New module.
72    
73     * ContentChecker.pm (table): Invoke table model error checker.
74    
75     * NanoDOM.pm (first_child, get_attribute_ns): New.
76    
77 wakaba 1.25 2007-05-26 Wakaba <wakaba@suika.fam.cx>
78    
79 wakaba 1.26 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
80     (link/@rel, a/@rel, area/@rel): Use new checker.
81    
82     * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
83    
84     * _LinkTypeList.pm: New file.
85    
86     * mklinktypelist.pl: New file.
87    
88     * .cvsignore: |RelExtensions.html| added.
89    
90     * NanoDOM.pm (child_nodes): Returns an empty array
91     for non-child-containing node types.
92     (text_content): New attribute.
93    
94     2007-05-26 Wakaba <wakaba@suika.fam.cx>
95    
96 wakaba 1.25 * IMTChecker.pm: New module.
97    
98     * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
99     to test parameter value validity.
100    
101     * HTML.pm.src ($style_start_tag): Attributes were
102     discarded.
103    
104 wakaba 1.22 2007-05-25 Wakaba <wakaba@suika.fam.cx>
105    
106 wakaba 1.24 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
107    
108     2007-05-25 Wakaba <wakaba@suika.fam.cx>
109    
110 wakaba 1.23 * URIChecker.pm: All recommendations from RFC 3986
111     and RFC 3987 are listed (not all testable items are checked yet).
112    
113     2007-05-25 Wakaba <wakaba@suika.fam.cx>
114    
115 wakaba 1.22 * URIChecker.pm: New module.
116    
117 wakaba 1.18 2007-05-20 Wakaba <wakaba@suika.fam.cx>
118    
119 wakaba 1.21 * ContentChecker.pm: Now most attributes are implemented
120     or associated to some placeholder.
121     ($ElementDefault): Warn unknown attributes
122     for unknown elements as "attribute not supported".
123     ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
124     ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
125     (|a| attribute checker): Reimplemented.
126    
127     2007-05-20 Wakaba <wakaba@suika.fam.cx>
128    
129 wakaba 1.20 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
130     ($HTMLAttrChecker): Event handler content attributes
131     are added.
132     (link, embed): Required attribute is now checked.
133     (embed): Unknown local attributes are no longer warned.
134    
135     2007-05-20 Wakaba <wakaba@suika.fam.cx>
136    
137 wakaba 1.19 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
138     ($HTMLIMTAttrChecker): New checker.
139     (link@rel, link@href, link@type, style@type,
140     a@href, a@ping, a@ping, a@type, embed@src, embed@type,
141     object@data, object@type, source@src, source@type, area@alt,
142     area@shape, area@coords, area@href,
143     area@ping, area@rel, area@type, script@src,
144     script@defer, script@async, script@type): Checkers added.
145    
146     2007-05-20 Wakaba <wakaba@suika.fam.cx>
147    
148 wakaba 1.18 * ContentChecker.pm: Descendant checking was incorrect.
149    
150 wakaba 1.12 2007-05-19 Wakaba <wakaba@suika.fam.cx>
151    
152 wakaba 1.17 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
153     attributes. Report an error if |Element.prefix|
154     is |xmlns|.
155    
156     * NanoDOM.pm (prefix): New attribute.
157    
158     2007-05-19 Wakaba <wakaba@suika.fam.cx>
159    
160 wakaba 1.16 * HTML.pm.src: In |main| phase, |in body| insertion
161     mode, action for |<iframe>| was missing.
162    
163     2007-05-19 Wakaba <wakaba@suika.fam.cx>
164    
165 wakaba 1.15 * ContentChecker.pm: Support for many of HTML5 elements.
166     ($GetHTMLNonNegativeIntegerAttrChecker): New.
167    
168     2007-05-19 Wakaba <wakaba@suika.fam.cx>
169    
170 wakaba 1.14 * ContentChecker.pm: Support for most elements up to |progress|.
171     ($HTMLURIAttrChecker): Placeholder.
172     ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
173     New.
174    
175     2007-05-19 Wakaba <wakaba@suika.fam.cx>
176    
177 wakaba 1.13 * ContentChecker.pm: Attribute checkers
178     for global attributes, |html|, |base|, |style|, and |meta|.
179    
180     * NanoDOM.pm (insert_before): Weaken reference
181     to the parent node.
182     (Attr::new): Set |owner_element| attribute.
183     (namespace_uri, manakai_local_name): New attribute implementations.
184     (owner_element): New attribute.
185    
186     2007-05-19 Wakaba <wakaba@suika.fam.cx>
187    
188 wakaba 1.12 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
189     $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
190     $Element->{$HTML_NS}->{''}): New.
191     (check_element): Invoke attrs_checker for each element.
192    
193 wakaba 1.6 2007-05-13 Wakaba <wakaba@suika.fam.cx>
194    
195 wakaba 1.11 * ContentChecker.pm: Don't use |manakai_element_type_match|.
196    
197     2007-05-13 Wakaba <wakaba@suika.fam.cx>
198    
199 wakaba 1.10 * ContentChecker.pm: Use hashs rather than lists for
200     element type testings.
201    
202     2007-05-13 Wakaba <wakaba@suika.fam.cx>
203    
204 wakaba 1.9 * ContentChecker.pm: Don't generate duplicate
205     error when an element type is put in the "minus" list
206     and the element type is not allowed explicitly in the particular
207     element content model.
208     (html:a checker): New checker.
209     (html:details, html:datagrid): New checkers.
210     (html:legend): New checker.
211    
212     2007-05-13 Wakaba <wakaba@suika.fam.cx>
213    
214 wakaba 1.8 * ContentChecker.pm (html:li checker): Implemented.
215    
216     2007-05-13 Wakaba <wakaba@suika.fam.cx>
217    
218 wakaba 1.7 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
219     checker.
220     (html:dd checker): New checker.
221     (html:q, html:em, html:strong, html:small,
222     html:m, html:dfn, html:code, html:samp, html:span): New checkers.
223    
224     2007-05-13 Wakaba <wakaba@suika.fam.cx>
225    
226 wakaba 1.6 * ContentChecker.pm ($AnyChecker): Renamed
227     from |$ElementDefault->{checker}|.
228     ($ElementDefault->{checker}): Throw an error that
229     the element type is not supported by the checker.
230     ($HTMLMetadataElement): |html:base| was missing.
231     ($HTMLEmptyChecker): Don't throw an error
232     for inter-element whitespace nodes.
233     (html:html checker): Errors were not
234     thrown even if |html:head| and/or |html:body|
235     children were missing.
236     (html:head checker): An error was not
237     thrown if <meta charset> appered after other
238     elements.
239    
240 wakaba 1.5 2007-05-05 Wakaba <wakaba@suika.fam.cx>
241    
242     * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
243     and |noscript| elements are implemented.
244     (new): New method.
245    
246 wakaba 1.3 2007-05-04 Wakaba <wakaba@suika.fam.cx>
247    
248 wakaba 1.4 * ContentChecker.pm: New module.
249    
250     2007-05-04 Wakaba <wakaba@suika.fam.cx>
251    
252 wakaba 1.3 * NanoDOM.pm (manakai_parent_element,
253     document_element, manakai_local_name,
254     manakai_element_type_match): New method.
255    
256     2007-05-03 Wakaba <wakaba@suika.fam.cx>
257    
258     * HTML.pm.src: Replace decimal and hexadecimal numeric
259     entities in C1 range using Windows-1252 mapping. Bare LF
260     did not count as new line for error reporting.
261    
262 wakaba 1.2 2007-05-02 Wakaba <wakaba@suika.fam.cx>
263    
264     * NanoDOM.pm (DOMImplementation): New class.
265     (append_child): Weaken the |parent_node| reference.
266     (create_element_ns, Element new): Set the |owner_document|
267     reference.
268     (implementation): New attribute.
269     (owner_document, local_name, namespace_uri): New attributes.
270    
271     * HTML.pm.src (parse_string): Line and column numbers
272     are now provided to error handler.
273     (!!!parse-error): Short descriptions are added.
274     (_construct_tree): Split into three methods; support
275     for innerHTML mode.
276     (set_inner_html): New method.
277    
278 wakaba 1.1 2007-05-01 Wakaba <wakaba@suika.fam.cx>
279    
280     * NanoDOM.html: Documentation is added.
281    
282     * HTML.pod, ContentType.html: Documentation is revised.
283    
284     * .cvsignore: Pod2html temporary files are added.
285    
286     * Makefile: Make |NanoDOM.html|.
287    
288     2007-05-01 Wakaba <wakaba@suika.fam.cx>
289    
290     * HTML.pm.src (parse_string): New method.
291     (get_inner_html): Renamed from |inner_html|.
292    
293     * Makefile: A rule for |HTML.html| is added.
294    
295     * HTML.pod: New documentation.
296    
297     2007-05-01 Wakaba <wakaba@suika.fam.cx>
298    
299     * NanoDOM.pm (last_child, previous_sibling): New attributes.
300     (clone_node): Attribute nodes were not completely copied.
301    
302     * HTML.pm.src: Many bugs are fixed.
303    
304     2007-04-30 Wakaba <wakaba@suika.fam.cx>
305    
306     * HTML.pm.src: Some typos are fixed.
307    
308     2007-04-30 Wakaba <wakaba@suika.fam.cx>
309    
310     * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
311     are removed.
312    
313     * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
314    
315     * HTML-consume-entity.src: Removed.
316    
317     2007-04-30 Wakaba <wakaba@suika.fam.cx>
318    
319     * HTML.pm.src: Tokenizer's handling on hexadecimal
320     numeric entities are rewritten.
321    
322     2007-04-30 Wakaba <wakaba@suika.fam.cx>
323    
324     * HTML.pm.src: Some tokenizer bugs are fixed.
325    
326     2007-04-30 Wakaba <wakaba@suika.fam.cx>
327    
328     * HTML.pm.src: The tree construction stage is implemented.
329    
330     * mkhtmlparser.pl: New macros are added.
331    
332     2007-04-28 Wakaba <wakaba@suika.fam.cx>
333    
334     * ContentType.pm: A note on bug in the specification
335     is removed since it's been now fixed.
336    
337     * .cvsignore: New file.
338    
339     2007-04-28 Wakaba <wakaba@suika.fam.cx>
340    
341     * HTML.pm.src, HTML-consume-entity.src: New files.
342    
343     * Makefile (HTML.pm): New rule.
344    
345     * mkhtmlparser.pl: New script.
346    
347     2007-04-25 Wakaba <wakaba@suika.fam.cx>
348    
349     * Makefile: New file.
350    
351     2007-04-24 Wakaba <wakaba@suika.fam.cx>
352    
353     * ContentType.pm: An error in pod is fixed.
354    
355     2007-04-24 Wakaba <wakaba@suika.fam.cx>
356    
357     * ContentType.pm: Documentation is added.
358    
359     2007-04-24 Wakaba <wakaba@suika.fam.cx>
360    
361     * ContentType.pm: New Perl module.
362    
363     * ChangeLog: New file.
364    
365    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24