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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.67 - (show annotations) (download)
Mon Jul 16 07:48:19 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.66: +8 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 07:48:16 -0000
	* content-model-1.dat, content-model-2.dat: Add "in XML:charset"
	error for test data that has |charset| in XML context.

	* content-model-2.dat: Test data for "in XML:charset", "in XML:lang",
	and "in HTML:xml:lang" are added.

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

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 07:33:46 -0000
	* ContentChecker.pm: Report error if |xml:lang|
	in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset|
	in XML.

	* NanoDOM.pm (Attr.owner_document): New attribute.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24