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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.232 - (show annotations) (download)
Fri May 16 13:56:16 2008 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.231: +5 -0 lines
++ whatpm/t/ChangeLog	16 May 2008 13:45:01 -0000
	* content-model-2.dat: Test data for charset="" attribute
	are added.

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

++ whatpm/Whatpm/ChangeLog	16 May 2008 11:18:17 -0000
2008-05-16  Wakaba  <wakaba@suika.fam.cx>

	* CacheManifest.pm (_parse): Drop fragment identifiers from
	URIs in fallback section (HTML5 revision 1596).

++ whatpm/Whatpm/ContentChecker/ChangeLog	16 May 2008 13:45:47 -0000
	* HTML.pm: Fact out generic charset name checking code
	to $HTMLCharsetChecker.  Support for charset="" attributes
	on <a>, <link>, and <script> elements.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24