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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.231 - (show annotations) (download)
Sat May 10 12:13:43 2008 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.230: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	10 May 2008 12:13:35 -0000
	* Makefile (Entities.html): URI has changed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24