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

Diff of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.64 by wakaba, Mon Jul 16 03:21:04 2007 UTC revision 1.169 by wakaba, Sat Mar 8 03:29:30 2008 UTC
# Line 1  Line 1 
1    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
2    
3            * HTML.pm.src: |</form>| now works similar to |</div>| for unclosed
4            tags (HTML5 revision 1320).
5    
6    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
7    
8            * HTML.pm.src: |</p>| case rearranged with no actual change in fact.
9    
10    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
11    
12            * HTML.pm.src: A "generate implied end tags" code (t409.1)
13            could not be reached so that it is now removed (HTML5 revision
14            1320).
15    
16    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
17    
18            * HTML.pm.src: Code for the case of |</div>| and so on are revised
19            to align with new spec text (HTML5 revision 1320).
20    
21    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
22    
23            * HTML.pm.src: Remove strange |if| condition; however, it should
24            have had no harm in theory.
25    
26    2008-03-08  Wakaba  <wakaba@suika.fam.cx>
27    
28            * HTML.pm.src (_tree_construction_main): '</p>' in body
29            case is split from other end tags for the preparation
30            of implementing HTML revision 1320.
31    
32    2008-03-07  Wakaba  <wakaba@suika.fam.cx>
33    
34            * HTML.pm.src: Simplified "generate implied end tag" (HTML5
35            revision 1320).
36    
37    2008-03-07  Wakaba  <wakaba@suika.fam.cx>
38    
39            * HTML.pm.src (_tree_construction_main): Merge rules for "h1"
40            and "div" (HTML5 revision 1318).  Add comments to where
41            |form| pointer association codes should be inserted (HTML5 revision
42            1319).
43    
44    2008-03-06  Wakaba  <wakaba@suika.fam.cx>
45    
46            * HTML.pm.src: <html> treatement refined (HTML5 revision 1314).
47    
48    2008-03-05  Wakaba  <wakaba@suika.fam.cx>
49    
50            * HTML.pm.src: Since the case t268 should never be reached (no
51            other token type, there are), it is replaced by a |die| statement.
52    
53    2008-03-05  Wakaba  <wakaba@suika.fam.cx>
54    
55            * HTML.pm.src: Typo fixed.
56    
57    2008-03-04  Wakaba  <wakaba@suika.fam.cx>
58    
59            * HTML.pm.src (_tree_construction_initial): Some limited quirks
60            doctypes were not uppercased for comparison.
61    
62    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
63    
64            * HTML.pm.src (tree construction and set_inner_html): Checkpoints
65            are added.
66    
67    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
68    
69            * HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints
70            are set.  Cases that are unlikely reached are noted as so.
71    
72    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
73    
74            * HTML.pm.src: Checkpoints for debugging are added.
75    
76            * mkhtmlparser.pl: Support for |!!!cp| syntax.
77    
78    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
79    
80            * HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g
81            for simplicity.
82    
83    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
84    
85            * HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5
86            revision 1307).
87    
88    2008-03-03  Wakaba  <wakaba@suika.fam.cx>
89    
90            * HTML.pm.src (_get_next_token): Where the /incorrect/ flag
91            is set are changed (HTML5 revision 1305).
92    
93    2008-03-02  Wakaba  <wakaba@suika.fam.cx>
94    
95            * HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision
96            1292).  Entities are not parsed in comment-like part in RCDATA
97            elements (HTML5 revision 1294).  Allow bare & at the end
98            of attribute value literals (HTML5 revision 1296).  More
99            quirks mode doctypes (HTML5 revision 1302).  Requires spaces
100            between attributes and ban attribute names or unquoted
101            attribute values containing single or double quotes (HTML5
102            revision 1303).
103    
104    2008-03-02  Wakaba  <wakaba@suika.fam.cx>
105    
106            * ContentChecker.pm: Typo fixed.  Don't raise "character encoding"
107            and related errors unless it is an HTML document (though the spec
108            is unclear on whether it is applied to XHTML document).
109    
110            * HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes
111            are added.
112    
113    2008-03-02  Wakaba  <wakaba@suika.fam.cx>
114    
115            * HTML.pm.src: s/local_name/manakai_local_name/g.
116    
117    2008-03-01  Wakaba  <wakaba@suika.fam.cx>
118    
119            * _NamedEntityList.pm: Updated (HTML5 revision 1286).
120    
121            * HTML.pm.src: |charset| in |content| attribute is
122            case-insensitive (HTML5 revision 1270).
123    
124    2008-02-26  Wakaba  <wakaba@suika.fam.cx>
125    
126            * ContentChecker.pm: New status constants are added.
127            ($ElementDefault): |status| added.
128            (check_element): Err for non-standard or deprecated elements.
129            (_attr_status_info): For non-standard or deprecated attributes.
130    
131    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
132    
133            * ContentChecker.pm (_attr_status_info): New internal method.
134    
135    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
136    
137            * ContentChecker.pm (check_element): Element standardized
138            status information is now dispatched.
139    
140    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
141    
142            * ContentChecker.pm (check_element): Fix |del|-and-significant
143            problem by adding some more arguments.
144    
145    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
146    
147            * ContentChecker.pm (check_element): Use context of
148            container-for-the-purpose-of-content-model element (not transparent
149            element) for |check_child_element| calling and significant
150            text flag marking.  This reintroduces |<del>|-and-significant
151            problem again.
152    
153    2008-02-24  Wakaba  <wakaba@suika.fam.cx>
154    
155            * ContentChecker.pm (check_element): Make semi-transparent
156            elements ignored for the purpose of phase changes in
157            content model checking.
158    
159    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
160    
161            * ContentChecker.pm (check_element): In-element state
162            was not properly managed for transparent cases.
163    
164    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
165    
166            * ContentChecker.pm (check_element): Support for |video|
167            and |audio| as semi-transparent elements.
168    
169    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
170    
171            * ContentChecker.pm ($HTMLSemiTransparentElements): New.
172            (check_element): s/minuses/minus_elements/, s/pluses/plus_elements/.
173            Support for |html:object| as a semi-transparent element.
174    
175    2008-02-23  Wakaba  <wakaba@suika.fam.cx>
176    
177            * ContentChecker.pm (check_element): The way to traverse
178            the tree is entirely revised to make it easier to track
179            the state of ancestors/descendants.  As a result of this
180            revision (which rewrites almost all of Whatpm::ContentChecker::HTML),
181            support for content model checking for HTML elements |figure|,
182            |object|, |video|, and |audio| and checking for XML elements (and
183            some XMLNS checkings) are dropped for now.  They will be
184            reimplemented in due cource.
185    
186    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
187    
188            * HTML.pm.src: |>| in public or system literal closes the DOCTYPE
189            token (HTML5 revision 1225).
190    
191    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
192    
193            * ContentChecker.pm ({unsupported_level}): New value.
194    
195            * HTML.pm.src: Save whether |meta| |content| attribute
196            contains character references or not.
197    
198    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
199    
200            * ContentChecker.pm (_get_children): (Incompleted) attempt to
201            imlement significant content checking for contents
202            with |del| elements.
203    
204    2008-02-17  Wakaba  <wakaba@suika.fam.cx>
205    
206            * ContenteChecker.pm ($HTMLTransparentElements): More
207            elements are added.
208            (_get_children): HTML |object| elements are now semi-transparent.
209    
210            * NanoDOM.pm (manakai_html, manakai_head): New methods.
211    
212    2008-02-16  Wakaba  <wakaba@suika.fam.cx>
213    
214            * CacheManifest.pm: HTML5 revision 1211 implemented.
215    
216            * CacheManifest.pod: Updated.
217    
218    2008-02-10  Wakaba  <wakaba@suika.fam.cx>
219    
220            * ContentChecker.pm (check_document, check_element): Support
221            for second argument ($onsubdoc).
222            (_get_css_parser): Removed (now it is part of WDCC).
223    
224    2008-02-09  Wakaba  <wakaba@suika.fam.cx>
225    
226            * ContentChecker.pm (_get_css_parser): New.
227    
228    2007-11-25  Wakaba  <wakaba@suika.fam.cx>
229    
230            * ContentChecker.pm ($AnyChecker): Old way to add child elements
231            for checking had been used.
232    
233    2007-11-25  Wakaba  <wakaba@suika.fam.cx>
234    
235            * ContentChecker.pm (check_element): New todo item type |descendant|.
236    
237    2007-11-23  Wakaba  <wakaba@suika.fam.cx>
238    
239            * IMTChecker.pm: Revised to raise errors and warnings as (poorly)
240            specced in RFC 2046 and RFC 4288.
241            (application/atom+xml): Definition added.
242    
243    2007-11-23  Wakaba  <wakaba@suika.fam.cx>
244    
245            * URIChecker.pm: Make RFC 3986 should-level errors
246            warnings (rather than SHOULD-level errors).
247    
248    2007-11-23  Wakaba  <wakaba@suika.fam.cx>
249    
250            * NanoDOM.pm (get_user_data, set_user_data): New methods.
251    
252            * HTML.pm.src: A flag for character references in attribute
253            values are added.  Set |manakai_has_reference| user data
254            to |charset| attribute.
255    
256    2007-11-23  Wakaba  <wakaba@suika.fam.cx>
257    
258            * NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New
259            attributes.
260    
261            * ContentChecker.pm (check_document): Warn if charset requirements
262            cannot be tested.
263    
264    2007-11-19  Wakaba  <wakaba@suika.fam.cx>
265    
266            * HTML.pm.src (parse_byte_string): Detect charset
267            by universalchardet if charset parameter is not specified.
268    
269            * Makefile (Charset-all, Charset-clean): New rules.
270    
271    2007-11-18  Wakaba  <wakaba@suika.fam.cx>
272    
273            * ContentChecker.pm (check_document): Check the existence
274            of character encoding declaration and selection of encoding
275            for HTML document.
276    
277    2007-11-18  Wakaba  <wakaba@suika.fam.cx>
278    
279            * ContentType.pm (get_sniffed_type): Return also the official
280            type in list context.
281    
282    2007-11-18  Wakaba  <wakaba@suika.fam.cx>
283    
284            * ContentType.pm: Sniffing with leading white space
285            ignoring (HTML5 revisions 1013 and 1016).
286    
287    2007-11-18  Wakaba  <wakaba@suika.fam.cx>
288    
289            * ContentType.pm: HTML5 revision 1013 changes, except for leading
290            white spaces, are implemented.
291    
292    2007-11-11  Wakaba  <wakaba@suika.fam.cx>
293    
294            * HTML.pm.src (parse_char_string): Set |inner_encoding|
295            attribute if possible.
296    
297    2007-11-11  Wakaba  <wakaba@suika.fam.cx>
298    
299            * HTML.pm.src (parse_byte_string): New method.
300            (parse_char_string): New alias for |parse_string|.
301            (main phase): Invoking "change the encoding" algorithm if desired.
302    
303            * HTML.pod: Updated.
304    
305    2007-11-11  Wakaba  <wakaba@suika.fam.cx>
306    
307            * HTML.pod (get_inner_html): Removed.
308    
309            * Makefile (HTML-all, HTML-clean): New.
310    
311    2007-11-11  Wakaba  <wakaba@suika.fam.cx>
312    
313            * HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm).
314    
315    2007-11-08  Wakaba  <wakaba@suika.fam.cx>
316    
317            * mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132).
318    
319    2007-11-04  Wakaba  <wakaba@suika.fam.cx>
320    
321            * Makefile: |CacheManifest.html| is added.
322    
323            * CacheManifest.pod: New file.
324    
325    2007-11-04  Wakaba  <wakaba@suika.fam.cx>
326    
327            * CacheManifest.pm: New module.
328    
329    2007-11-04  Wakaba  <wakaba@suika.fam.cx>
330    
331            * HTML.pm.src: Support for application cache selection algorithm
332            callback.
333    
334    2007-11-04  Wakaba  <wakaba@suika.fam.cx>
335    
336            * mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118).
337    
338    2007-10-17  Wakaba  <wakaba@suika.fam.cx>
339    
340            * Makefile (clean): New rule.
341    
342            * NanoDOM.pm (public_id, system_id): New attributes.
343    
344    2007-10-17  Wakaba  <wakaba@suika.fam.cx>
345    
346            * Makefile (CSS-all, CSS-clean, clean): New rules.
347    
348    2007-10-14  Wakaba  <wakaba@suika.fam.cx>
349    
350            * ContentChecker.pm (check_document): Support for
351            new |is_xml_root| flag.
352            (check_element): Support for new |pluses| state.
353            (_add_pluses): New method.
354            (_remove_minuses): Support for new |minus| item.
355    
356    2007-09-24  Wakaba  <wakaba@suika.fam.cx>
357    
358            * ContentChecker.pm: Raise specific error for invalid
359            root element.
360    
361    2007-09-24  Wakaba  <wakaba@suika.fam.cx>
362    
363            * ContentChecker.pm: Set level values for later uses.
364    
365    2007-09-09  Wakaba  <wakaba@suika.fam.cx>
366    
367            * ContentChecker.pm: Support for language tag validation.
368    
369    2007-09-09  Wakaba  <wakaba@suika.fam.cx>
370    
371            * LangTag.pm (check_rfc3066_language_tag): New method.
372    
373    2007-09-09  Wakaba  <wakaba@suika.fam.cx>
374    
375            * LangTag.pm: New module.
376    
377    2007-09-04  Wakaba  <wakaba@suika.fam.cx>
378    
379            * HTML.pm.src: Some error types were wrong.
380    
381    2007-08-17  Wakaba  <wakaba@suika.fam.cx>
382    
383            * CSS/: New directory.
384    
385    2007-08-17  Wakaba  <wakaba@suika.fam.cx>
386    
387            * ContentChecker.pm (_check_get_children): Support
388            for |noscript| in |head|.
389    
390    2007-08-12  Wakaba  <wakaba@suika.fam.cx>
391    
392            * URI/: New directory.
393    
394    2007-08-11  Wakaba  <wakaba@suika.fam.cx>
395    
396            * HTML.pm.src: Tokenizer's states are now represented in
397            number.
398    
399    2007-08-11  Wakaba  <wakaba@suika.fam.cx>
400    
401            * HTML.pm.src: |or|s for insertion modes are replaced
402            by |&|s.
403    
404    2007-08-11  Wakaba  <wakaba@suika.fam.cx>
405    
406            * HTML.pm.src: Token types are now represented in number.
407    
408    2007-08-11  Wakaba  <wakaba@suika.fam.cx>
409    
410            * ContentType.pm (SEE ALSO): Updated.
411    
412            * HTML.pm.src: Insertion modes are now represented in number.
413    
414    2007-08-11  Wakaba  <wakaba@suika.fam.cx>
415    
416            * ContentType.pm: Sniffing for bitmap images (HTML5 revision
417            999) is implemented.
418    
419    2007-08-08  Wakaba  <wakaba@suika.fam.cx>
420    
421            * ContentType.pm: Sniffing for |<script| (HTML5 revision
422            983) is implemented.
423    
424    2007-08-06  Wakaba  <wakaba@suika.fam.cx>
425    
426            * ContentChecker.pod: New documentation.
427    
428            * Makefile: A rule for |ContentChecker.html| is added.
429    
430            * ContentChecker.pm: A pod "LICENSE" section is added.
431    
432            * NanoDOM.pm ($VERSION): New variable.
433    
434    2007-08-05  Wakaba  <wakaba@suika.fam.cx>
435    
436            * H2H.pm: |b|, |i|, and |sub| are added to the
437            list of allowed HTML elements.
438    
439    2007-08-05  Wakaba  <wakaba@suika.fam.cx>
440    
441            * H2H.pm: |samp| is added to the list of allowed
442            HTML elements.
443    
444            * URIChecker.pm (check_iri): New.
445            (check_iri_reference): Error type for IRI reference
446            syntax error is changed.
447    
448    2007-08-04  Wakaba  <wakaba@suika.fam.cx>
449    
450            * ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom|
451            is added.
452            (check_document): Load appropriate module before validation.
453    
454    2007-08-04  Wakaba  <wakaba@suika.fam.cx>
455    
456            * ContentChecker/: New directory.
457    
458    2007-08-04  Wakaba  <wakaba@suika.fam.cx>
459    
460            * ContentChecker.pm: HTML |time| element is implemented.
461    
462            * HTMLTable.pm: Comments are updated as HTML5 is revised.
463    
464    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
465    
466            * ContentChecker.pm (check_document): Return value
467            even if no document element is found.
468    
469    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
470    
471            * HTML.pm.src: |$in_body| is no longer a function.
472    
473    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
474    
475            * HTML.pm.src: The |$in_body| code has been moved down.
476    
477    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
478    
479            * HTML.pm.src: The "trailing end" insertion mode
480            is split into "after html body" and "after html frameset"
481            insertion modes.  Their codes are merged with "after body"
482            and "after frameset" codes.  |$previous_insertion_mode|
483            has been removed.  "after frameset" code is
484            merged with "in frameset" code.
485    
486    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
487    
488            * HTML.pm.src: The "before head" insertion mode is
489            merged with the "in head" insertion mode.
490    
491    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
492    
493            * HTML.pm.src: Cases in "in head" insertion mode are
494            reorganized.
495    
496    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
497    
498            * HTML.pm.src: Some cases in "in table" insertion mode
499            are merged.
500    
501    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
502    
503            * HTML.pm.src: The "in row" insertion mode is merged
504            with "in table" insertion mode.
505    
506    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
507    
508            * HTML.pm.src: The "in table" and "in table body" insertion
509            modes are merged.
510    
511    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
512    
513            * HTML.pm.src: There is no "in table head" or "in table foot"
514            insertion mode!
515    
516    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
517    
518            * HTML.pm.src: |<noframes>| "in frameset" and "in noframes"
519            now directly invoke the handler.
520    
521    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
522    
523            * HTML.pm.src: Codes for "in cell" insertion mode
524            is merged to the "in body" insertion mode code.
525    
526    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
527    
528            * HTML.pm.src: Codes for "in body" and "in caption"
529            insertion modes are merged.
530    
531    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
532    
533            * HTML.pm.src: Two |!!!next-token|s were missing.
534    
535    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
536    
537            * HTML.pm.src: Use numeric constant for |{content_mode}|
538            instead of string constant for |{content_model_flag}|.
539    
540    2007-07-21  Wakaba  <wakaba@suika.fam.cx>
541    
542            * HTML.pm.src: Add the name of the attribute
543            to the "duplicate attribute" error.
544    
545    2007-07-17  Wakaba  <wakaba@suika.fam.cx>
546    
547            * ContentChecker.pm: Return the |class| node list.
548    
549    2007-07-17  Wakaba  <wakaba@suika.fam.cx>
550    
551            * ContentChecker.pm: Return the |id| node list.
552    
553            * HTML.pm.src: A typo is fixed.
554    
555    2007-07-16  Wakaba  <wakaba@suika.fam.cx>
556    
557            * ContentChecker.pm: Drop wrong |level => 'error'| specification
558            from "in HTML:xml:lang" error.  Character position
559            is now the last part of the error type in the URI error
560            description.  Report "unsupported" status for language
561            tags, media queries, script codes, and style sheets.
562    
563    2007-07-16  Wakaba  <wakaba@suika.fam.cx>
564    
565            * ContentChecker.pm: Report error if |xml:lang|
566            in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset|
567            in XML.
568    
569            * NanoDOM.pm (Attr.owner_document): New attribute.
570    
571    2007-07-16  Wakaba  <wakaba@suika.fam.cx>
572    
573            * HTML.pm.src: The character immediately following
574            a bare |hcro| was discarded.  Fix handling of
575            entity references in attribute values.
576    
577    2007-07-16  Wakaba  <wakaba@suika.fam.cx>
578    
579            * HTML.pm.src (main and trailin end phases): Token
580            types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
581            factored out.  Error types |in html:#DOCTYPE|
582            and |after html:#DOCTYPE| are merged
583            into |DOCTYPE in the middle|.  |</frameset>|
584            in fragment parsing mode changed the
585            insertion mode.
586    
587  2007-07-16  Wakaba  <wakaba@suika.fam.cx>  2007-07-16  Wakaba  <wakaba@suika.fam.cx>
588    
589          * HTML.pm.src: |$phase| has been removed; The |trailing end|          * HTML.pm.src: |$phase| has been removed; The |trailing end|

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.169

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24