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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.187 - (show annotations) (download)
Sun Mar 16 06:39:56 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.186: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	16 Mar 2008 06:39:51 -0000
2008-03-16  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: Preparation for more precious error point
	reporting.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24