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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.238 - (show annotations) (download)
Sun May 18 04:15:48 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.237: +6 -0 lines
++ whatpm/Whatpm/ChangeLog	18 May 2008 04:15:00 -0000
	* HTML.pm.src (parse_byte_string): Redefined to invoke
	|parse_byte_stream|.
	(parse_byte_stream): New method.

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

++ whatpm/Whatpm/Charset/ChangeLog	18 May 2008 04:15:42 -0000
	* DecodeHandle.pm (ShiftJIS): \xF0-\xFC should be considered
	as part of double-byte characters for more user-friendly error
	recovery.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24