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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.127 - (show annotations) (download)
Fri Nov 23 12:01:20 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.126: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	23 Nov 2007 12:01:06 -0000
	* URIChecker.pm: Make RFC 3986 should-level errors
	warnings (rather than SHOULD-level errors).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24