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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.120 - (show annotations) (download)
Sun Nov 18 04:26:50 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.119: +5 -0 lines
++ whatpm/t/ChangeLog	18 Nov 2007 04:25:46 -0000
2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* ContentType.t: New tests for HTML5 revision 1013 (except
	for leading white spaces).

++ whatpm/Whatpm/ChangeLog	18 Nov 2007 04:26:10 -0000
2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* ContentType.pm: HTML5 revision 1013 changes, except for leading
	white spaces, are implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24