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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.255 - (show annotations) (download)
Sun Jun 29 11:15:53 2008 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.254: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	29 Jun 2008 11:15:08 -0000
2008-06-29  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.pm: New module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24