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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.155 - (show annotations) (download)
Mon Mar 3 10:20:19 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.154: +6 -0 lines
++ whatpm/t/ChangeLog	3 Mar 2008 10:20:07 -0000
	* HTML-tokenizer.t: Support for test coverage caluclation.

2008-03-03  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	3 Mar 2008 10:19:33 -0000
	* HTML.pm.src: Checkpoints for debugging are added.

	* mkhtmlparser.pl: Support for |!!!cp| syntax.

2008-03-03  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24