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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.79 - (show annotations) (download)
Sat Jul 21 09:12:41 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.78: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Jul 2007 09:12:15 -0000
	* HTML.pm.src: The "in row" insertion mode is merged
	with "in table" insertion mode.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24