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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.258 - (show annotations) (download)
Fri Jul 18 14:46:11 2008 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.257: +7 -0 lines
++ whatpm/Whatpm/ChangeLog	18 Jul 2008 14:46:07 -0000
2008-07-18  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.pm: Support for |idl_text| attribute, version 1 (no
	proper support for types, extended attributes, and exceptions yet).
	WebIDL parser, version 1 (no support for exceptions yet,
	no proper support for extended attributes yet).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24