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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.197 - (show annotations) (download)
Fri Mar 21 07:56:48 2008 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.196: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	21 Mar 2008 07:56:31 -0000
2008-03-21  Wakaba  <wakaba@suika.fam.cx>

	* RDFXML.pm: New module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24