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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.171 - (show annotations) (download)
Sat Mar 8 04:13:10 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.170: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	8 Mar 2008 04:09:31 -0000
	* HTML.pm.src: Reduce errors from foster parenting cases (HTML5
	revision 1321).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24