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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.119 - (show annotations) (download)
Sun Nov 11 08:39:42 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.118: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	11 Nov 2007 08:39:39 -0000
	* HTML.pm.src (parse_char_string): Set |inner_encoding|
	attribute if possible.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24