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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.51 - (show annotations) (download)
Sun Jun 24 14:24:21 2007 UTC (19 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.50: +10 -0 lines
++ whatpm/t/ChangeLog	24 Jun 2007 14:19:51 -0000
	* content-model-1.dat: Tests for |footer|
	content model are added.

	* content-model-2.dat: Tests for |ping|
	and |tabindex| attributes are added.  Tests for |datetime|
	attribute of |ins| and |del| elements are added.

	* content-model-4.dat: New test data.

	* ContentChecker.t: |content-model-4.dat| is added.

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

++ whatpm/Whatpm/ChangeLog	24 Jun 2007 14:20:06 -0000
	* URIChecker.pm (check_iri_reference): A |decode| method name was
	incorrect.

	* ContentChecker.pm: Support for the |footer| element.
	Check URI syntax for space-separated URI attributes.
	Support for the |tabindex| attribute.  Support
	for |datetime| attribute.

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24