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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.175 - (show annotations) (download)
Sun Mar 9 03:23:42 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.174: +5 -0 lines
++ whatpm/t/ChangeLog	9 Mar 2008 03:09:44 -0000
2008-03-09  Wakaba  <wakaba@suika.fam.cx>

	* tree-test-1.dat: More tests are added for foster parenting (HTML5
	revision 1331 and so on).

++ whatpm/Whatpm/ChangeLog	9 Mar 2008 03:20:00 -0000
2008-03-09  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: Treat <input type=hidden> as if it were a
	white space (HTML5 revision 1331).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24