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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.117 - (show annotations) (download)
Sun Nov 11 04:59:35 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.116: +10 -0 lines
++ ChangeLog	11 Nov 2007 04:59:27 -0000
2007-11-11  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Link to |Whatpm::HTML::Serializer|.

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

	* HTML.pod (get_inner_html): Removed.

	* Makefile (HTML-all, HTML-clean): New.

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

	* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm).

++ whatpm/Whatpm/HTML/ChangeLog	11 Nov 2007 04:58:48 -0000
2007-11-11  Wakaba  <wakaba@suika.fam.cx>

	* Serializer.pod: New file.

	* Makefile: New file.

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

	* Serializer.pm: New module (split from ../HTML.pm.src).

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

	* ChangeLog: New file.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24