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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.228 - (show annotations) (download)
Tue May 6 07:49:16 2008 UTC (17 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.227: +8 -0 lines
++ whatpm/Whatpm/ChangeLog	6 May 2008 07:48:52 -0000
2008-05-06  Wakaba  <wakaba@suika.fam.cx>

	* HTMLTable.pm (assign_header): New function; first version
	with no support for headers="".
	(form_table): Include table width and height to the returned
	table object for covenience.  Indexing in column assignement was wrong.
	Set whether a data cell is empty or not for convenience.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24