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

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.160

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24