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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.169 - (show annotations) (download)
Sat Mar 8 03:29:30 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.168: +5 -0 lines
++ whatpm/t/ChangeLog	8 Mar 2008 03:29:13 -0000
2008-03-08  Wakaba  <wakaba@suika.fam.cx>

	* tree-test-1.dat: Tests for </form> are added (HTML5 revision 1320).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24