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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.172 - (show annotations) (download)
Sat Mar 8 05:09:25 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.171: +5 -0 lines
++ whatpm/t/ChangeLog	8 Mar 2008 04:55:42 -0000
	* tree-test-1.dat: Test data for tainted space in tables are
	added (HTML5 revision 1326).

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

++ whatpm/Whatpm/ChangeLog	8 Mar 2008 04:56:16 -0000
	* HTML.pm.src: White space in tainted tables are moved
	into foster parents (HTML5 revision 1326).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24