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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.43 - (show annotations) (download)
Sat Jun 23 13:05:16 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.42: +7 -0 lines
++ whatpm/t/ChangeLog	23 Jun 2007 12:56:46 -0000
	* tree-test-1.dat: Always use uppercase document type name.

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

++ whatpm/Whatpm/ChangeLog	23 Jun 2007 13:05:07 -0000
	* NanoDOM.pm (manakai_is_html): Setting to false did not work.

	* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
	HTML5 revision 915 (<nobr>).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24