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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.81 - (show annotations) (download)
Sat Jul 21 10:39:45 2007 UTC (18 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.80: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Jul 2007 10:39:28 -0000
	* HTML.pm.src: Cases in "in head" insertion mode are
	reorganized.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24