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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.152 - (show annotations) (download)
Sun Mar 2 23:38:37 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.151: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	2 Mar 2008 23:36:46 -0000
2008-03-03  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (_get_next_token): Where the /incorrect/ flag
	is set are changed (HTML5 revision 1305).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24