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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.167 - (show annotations) (download)
Sat Mar 8 02:54:45 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.166: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	8 Mar 2008 02:51:41 -0000
	* HTML.pm.src: A "generate implied end tags" code (t409.1)
	could not be reached so that it is now removed (HTML5 revision
	1320).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24