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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.194 - (show annotations) (download)
Thu Mar 20 03:37:18 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.193: +9 -0 lines
++ whatpm/Whatpm/ChangeLog	20 Mar 2008 03:37:11 -0000
	* HTML.pm.src: Set line/column numbers to attributes.

	* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added.
	(value): Setter implemented.

	* mkhtmlparser.pl: Set line/column numbers to Attr nodes.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24