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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.177 - (show annotations) (download)
Sun Mar 9 04:08:41 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.176: +5 -0 lines
++ whatpm/t/ChangeLog	9 Mar 2008 04:04:19 -0000
	* tree-test-1.dat: Test data on <script> or <style>
	in <table> are added.

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

++ whatpm/Whatpm/ChangeLog	9 Mar 2008 04:04:52 -0000
	* HTML.pm.src: No foster parenting for <script> and <script>
	in non-tainted <table>s (HTML5 revision 1336).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24