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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.75 - (show annotations) (download)
Sat Jul 21 07:21:44 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.74: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Jul 2007 07:21:25 -0000
	* HTML.pm.src: Codes for "in cell" insertion mode
	is merged to the "in body" insertion mode code.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24