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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.189 - (show annotations) (download)
Sun Mar 16 11:40:19 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.188: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	16 Mar 2008 11:39:54 -0000
	* HTML.pm.src: Some more fixes on error position reporting.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24