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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.192 - (show annotations) (download)
Wed Mar 19 23:43:47 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.191: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	19 Mar 2008 23:42:08 -0000
2008-03-20  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (_get_next_token): Remove |first_start_tag|
	flag, which is no longer used.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24