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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.179 - (show annotations) (download)
Sun Mar 9 06:29:25 2008 UTC (18 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.178: +4 -0 lines
++ whatpm/t/ChangeLog	9 Mar 2008 06:27:08 -0000
	* tree-test-1.dat: Test data on foster parenting in AAA
	are added (HTML5 revision 1343).

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

++ whatpm/Whatpm/ChangeLog	9 Mar 2008 06:26:45 -0000
	* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24