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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.193 - (show annotations) (download)
Thu Mar 20 01:33:59 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.192: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	20 Mar 2008 01:33:45 -0000
	* HTML.pm.src: Unused line/column markings are removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24