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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.241 - (show annotations) (download)
Sat May 24 10:18:25 2008 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.240: +5 -0 lines
++ whatpm/t/ChangeLog	24 May 2008 10:09:03 -0000
	* tokenizer-test-1.test: New test data on EOF in tags are added
	to cover changes in HTML5 revision 1684.

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

++ whatpm/Whatpm/ChangeLog	24 May 2008 10:09:40 -0000
	* HTML.pm.src: Support for EOF in new states for tags (HTML5
	revision 1684).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24