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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.221 - (show annotations) (download)
Sat May 3 14:42:26 2008 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.220: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	3 May 2008 14:42:15 -0000
	* ContentChecker.pm: Support for global attributes.
	Status of XML specs are added.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	3 May 2008 14:41:46 -0000
	* HTML.pm: Support for global attributes.  Status
	for XHTML2 elements/attributes are added.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24