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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.123 - (show annotations) (download)
Sun Nov 18 11:06:14 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.122: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	18 Nov 2007 11:06:04 -0000
	* ContentChecker.pm (check_document): Check the existence
	of character encoding declaration and selection of encoding
	for HTML document.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24