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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.250 - (show annotations) (download)
Sun May 25 08:53:48 2008 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.249: +7 -0 lines
++ whatpm/t/ChangeLog	25 May 2008 08:53:05 -0000
	* ContentType.t: Test result related to UTF-32 updated (HTML5
	revision 1701).

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

++ whatpm/Whatpm/ChangeLog	25 May 2008 08:53:43 -0000
	* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).

	* HTML.pm.src: UTF-16BE and UTF-16LE should be considered
	as UTF-16 (HTML5 revision 1701).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24