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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.259 - (show annotations) (download)
Sat Jul 19 07:25:32 2008 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.258: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	19 Jul 2008 07:25:16 -0000
2008-07-19  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.pm: Hierarchical scoped name support was broken.
	Support for raises, setraises, and getraises syntaxes.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24