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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.178 - (show annotations) (download)
Sun Mar 9 05:12:04 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.177: +6 -0 lines
++ whatpm/t/ChangeLog	9 Mar 2008 05:02:14 -0000
	* tree-test-1.dat: Test data on <input> in <select> and <select>
	in table are added (HTML5 revision 1342).

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

++ whatpm/Whatpm/ChangeLog	9 Mar 2008 05:02:26 -0000
	* HTML.pm.src: Support for |<input>| in the "in select" insertion
	mode and support for the "in select in table" insertion mode (HTML5
	revision 1342).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24