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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.154 - (show annotations) (download)
Mon Mar 3 09:17:09 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.153: +5 -0 lines
++ whatpm/t/ChangeLog	3 Mar 2008 09:15:12 -0000
	* HTML-tokenizer.t: s/_input_character/_input_char/g for simplicity.

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

++ whatpm/Whatpm/ChangeLog	3 Mar 2008 09:14:52 -0000
	* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g
	for simplicity.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24