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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.190 - (show annotations) (download)
Sun Mar 16 23:53:48 2008 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.189: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	16 Mar 2008 23:51:21 -0000
2008-03-17  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (_get_next_token): The first "<" character
	in "<?", "<>", or "</>" should be the error point.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24