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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.186 - (show annotations) (download)
Tue Mar 11 14:02:08 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.185: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	11 Mar 2008 14:02:04 -0000
	* HTML.pm.src: Error type revised.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24