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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.72 - (show annotations) (download)
Sat Jul 21 05:36:50 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.71: +5 -0 lines
++ whatpm/t/ChangeLog	21 Jul 2007 05:36:26 -0000
2007-07-21  Wakaba  <wakaba@suika.fam.cx>

	* HTML-tokenizer.t: Set content model flag in new syntax.

++ whatpm/Whatpm/ChangeLog	21 Jul 2007 05:35:57 -0000
	* HTML.pm.src: Use numeric constant for |{content_mode}|
	instead of string constant for |{content_model_flag}|.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24