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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.249 - (show annotations) (download)
Sun May 25 07:54:33 2008 UTC (17 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.248: +11 -0 lines
++ whatpm/t/ChangeLog	25 May 2008 07:35:04 -0000
	* tree-test-1.dat: Test data on <noframes> are added (HTML5 revision
	1692).

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

++ whatpm/Whatpm/ChangeLog	25 May 2008 07:35:40 -0000
	* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision
	1692).

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

	* HTML.pm.src: The secondary insertion mode used when switching
	to foreign content is the "in body" insertion mode (HTML5 revision
	1696).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24