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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.58 - (show annotations) (download)
Sun Jul 1 06:18:57 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.57: +5 -0 lines
++ whatpm/t/ChangeLog	1 Jul 2007 06:18:53 -0000
	* tree-test-1.dat: New tests for unmatched end tags.

2007-07-01  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	1 Jul 2007 06:18:08 -0000
	* HTML.pm.src: Report correct error message
	for |<body></div></body>|.

2007-07-01  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24