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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.188 - (show annotations) (download)
Sun Mar 16 07:07:57 2008 UTC (18 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.187: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	16 Mar 2008 07:07:54 -0000
	* HTML.pm.src: Token-level precious error reporting.

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24