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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.185 - (show annotations) (download)
Tue Mar 11 01:23:50 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.184: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	11 Mar 2008 01:23:47 -0000
	* HTML.pm.src: Similar codes are merged together, again.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24