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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.122 - (show annotations) (download)
Sun Nov 18 05:29:22 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.121: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	18 Nov 2007 05:06:06 -0000
	* ContentType.pm (get_sniffed_type): Return also the official
	type in list context.

2007-11-18  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24