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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.173 - (show annotations) (download)
Sat Mar 8 13:26:44 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.172: +5 -0 lines
++ whatpm/t/ChangeLog	8 Mar 2008 13:26:40 -0000
	* tree-test-1.dat: A test data on <title> in <table>
	are added.

	* tree-test-2.dat: Test results updated (HTML5 revision 1328).

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

++ whatpm/Whatpm/ChangeLog	8 Mar 2008 13:12:05 -0000
	* HTML.pm.src: <title> is always appended to the current
	element (HTML5 revision 1328).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24