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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.260 - (show annotations) (download)
Sat Jul 19 07:41:22 2008 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.259: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	19 Jul 2008 07:41:15 -0000
	* WebIDL.pm: Support for |exception| syntax.
	(Interface->idl_text): Tentative support for inheritances.

2008-07-19  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24