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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.118 - (show annotations) (download)
Sun Nov 11 06:54:36 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.117: +8 -0 lines
++ whatpm/Whatpm/ChangeLog	11 Nov 2007 06:54:02 -0000
	* HTML.pm.src (parse_byte_string): New method.
	(parse_char_string): New alias for |parse_string|.
	(main phase): Invoking "change the encoding" algorithm if desired.

	* HTML.pod: Updated.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24