/[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.219 by wakaba, Tue Apr 29 10:25:08 2008 UTC revision 1.294 by wakaba, Sat Sep 13 07:51:32 2008 UTC
# Line 1  Line 1 
1    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
2    
3            * HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE|
4            is split into three states.
5    
6    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
7    
8            * HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into
9            itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that
10            no longer does the tokenizer have to push back next input
11            characters in those states.
12    
13    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
14    
15            * HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken
16            into four states so that no longer does the tokenizer have to push
17            back next input characters in that state.
18    
19    2008-09-11  Wakaba  <wakaba@suika.fam.cx>
20    
21            * HTML.pm.src: Methods now accept additional parameter, $get_wrapper,
22            which can be used to insert some wrapper between the character
23            stream handle and the tokenizer.  (It is currently not supported
24            for |set_inner_html| for |Element|s).
25    
26    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
27    
28            * HTML.pm.src: Ignore punctuations in charset names.
29    
30    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
31    
32            * ContentChecker.pm: Support for charset-layer error levels.
33    
34            * HTML.pm.src: Don't specify |text| argument for the
35            |chardecode:fallback| error, since it is not the encoding
36            being used alternatively.
37    
38    2008-09-06  Wakaba  <wakaba@suika.fam.cx>
39    
40            * HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141).
41    
42    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
43    
44            * CacheManifest.pm: Support for extensibility (HTML5 revision 2051).
45    
46    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
47    
48            * HTML.pm.src: Bug fix and sync with the spec with regard
49            to after after frameset insertion mode processing (HTML5
50            revision 1909).  Note that the implementation was wrong
51            per the old spec before the r1909 changes.
52    
53    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
54    
55            * HTMLTable.pm: scope=auto algorithm fix synced with the
56            spec (HTML5 revision 2093).
57            ($process_row): Algorithm step numbers synced with the
58            spec (HTML5 revision 2092).
59    
60    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
61    
62            * HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5
63            revision 2094).
64    
65    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
66    
67            * ContentType.pm: Support for image/svg+xml (HTML5 revision 2096).
68    
69    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
70    
71            * HTML.pm.src: '"' and "'" at the end of attribute
72            name (after another attribute) now raise parse error (HTML5
73            revision 2123).  Empty unquoted attribute values are no
74            longer allowed (HTML5 revision 2122).
75    
76    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
77    
78            * mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5
79            revision 2130).
80    
81    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
82    
83            * ContentChecker.pm: |xml:lang| attribute value must be same
84            as |lang| attribute value for HTML elements (HTML5 revision 2062
85            and so on).
86    
87    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
88    
89            * ContentChecker.pm: Error level definition for |xml_id_error|
90            was missing.
91    
92            * URIChecker.pm: The end of the URL should be marked as the
93            error location for an empty path error.  The position
94            between the userinfo and the port components should be
95            marked as the error location for an empty host error.
96    
97    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
98    
99            * URIChecker.pm: Set parameters representing where in the
100            value the error occurs for errors.  Report unknown
101            address format error in warning level, since address
102            formats are rarely added.  Path segments starting with "/.."
103            were misinterpreted as a dot-segment.
104    
105    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
106    
107            * URIChecker.pm (check_iri_reference): Requires
108            |Message::DOM::DOMImplementation|.
109    
110    2008-08-29  Wakaba  <wakaba@suika.fam.cx>
111    
112            * IMTChecker.pm: Updated for the new error reporting architecture.
113    
114            * ContentChecker.pm: Error levels for IMTs are added.
115    
116    2008-08-17  Wakaba  <wakaba@suika.fam.cx>
117    
118            * H2H.pm (_shift_token): Support for unquoted HTML attribute
119            values.
120    
121    2008-08-16  Wakaba  <wakaba@suika.fam.cx>
122    
123            * CacheManifest.pm: Support for new style of error
124            reports.
125    
126            * HTML.pm.src: Set line=1, column=1 to the document node.
127    
128    2008-08-16  Wakaba  <wakaba@suika.fam.cx>
129    
130            * ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag
131            and URL checkers.  Support for more error levels for bogus
132            langauge tag and URL "standards".
133    
134            * LangTag.pm, URIChecker.pm: Support for new style error
135            level reporting.
136    
137    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
138    
139            * ContentChecker.pm: Support for RDF/XML error levels.
140    
141            * HTMLTable.pm, RDFXML.pm: Support for new style of error level
142            specifying.  Error types are revised.
143    
144    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
145    
146            * ContentChecker.pm: All error reporting method calls are
147            renewed.
148    
149    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
150    
151            * HTML.pm.src: All error type names and "text" parameters
152            are revised.  Use new style for "level" specification.
153    
154            * mkhtmlparser.pl: Use new style for "level" specification.
155    
156    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
157    
158            * WebIDL.pm (parse_char_string): Simplified error
159            reporting process for broken ignored valuetype definition.
160            (Valuetype idl_text): Support for special "DOMString" name.
161    
162    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
163    
164            * WebIDL.pm ($get_scoped_name): Append "::::" if the last
165            terminal of the ScopedName is "DOMString", such that whether
166            the last part of the scoped name is "DOMString" or "_DOMString"
167            later.  It is necessary to determine whether a |typedef|
168            definition should be ignored or not.
169            (parse_char_string): Unescape the identifier of
170            exception members.
171            ($resolve): Return undef for builtin types and sequence<T>
172            types (we might not have to do this, however...).
173            (check): Support checking for Exceptions, Valuetypes,
174            and Typedefs.
175            ($serialize_type): Support for "DOMString::::" syntax.
176            (Typedef idl_text): Output Type as "DOMString" if it
177            is really "DOMString" (i.e. its internal representation
178            is "::DOMString::").
179    
180    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
181    
182            * WebIDL.pm ($resolve): New code, based on resolve code
183            for constant types in the |check| method.
184            (check): Support for checking of attributes, operations, and
185            arguments.
186            (Attribute/Operation idl_text): Exception names in getraises,
187            setraises, and raises clauses is serizlied by |$serialize_type|
188            code.
189    
190    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
191    
192            * WebIDL.pm ($integer): Order of selections are changed to match
193            hexadecimal numbers (the original pattern, taken from the spec,
194            was not work for hexadecimal numbers, because the "0" prefix
195            matches to the [0-7]* part (as an empty string) and therefore
196            it does not match with remaining "x..." part of a "0x..." integer
197            literal.
198            ($get_type): It now returns a string, not an array reference,
199            for regular types and |sequence| types (i.e. it in any case
200            returns a string).
201            ($get_next_token): The second item in the array that represents
202            a integer or float token is now a Perl number value, not the
203            original string representation of the number.
204            (check): Support for const value consistency checking.
205            No extended attribute is defined for constants.
206            (Node subclasses): Use simple strings rather than array references
207            for default data type values.
208            ($serialize_type): Type values are now simple strings.
209            (value): If the new attribute value is a false value, then
210            a FALSE value is set to the attribute.
211    
212    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
213    
214            * WebIDL.pm ($get_scoped_name): Now scoped names are stored
215            in its stringified format ("scoped name" as defined in the
216            spec).  Note that future version of this module should not use
217            array references for type values and the |type_text| attribute
218            should be made obsolete.
219            (parse_char_string): Unescape attribute names.
220            (check): Support for checking of whether inherited interfaces
221            are actually defined or not.  Support for checking of whether
222            interface member identifiers are duplicated or not.
223            ($serialize_type): Scoped names are returned as is.  A future
224            version of this code should escape identifiers other than "DOMString",
225            otherwise the idl_text would be non-conforming.
226    
227    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
228    
229            * WebIDL.pm (parse_char_string): Set line/column numbers
230            to generated nodes.  Unescape identifiers.  Extended attributes
231            for Definition's were ignored.
232            (append_child): Set |parent_node| attribute.
233            (parent_node): New attribute.
234            (check): Support interface/exception members.  Support
235            extended attributes.  Support definition identifier uniqueness
236            constraint.
237            (qualified_name): New attribute.
238            (Interface/Exception idl_text): Extended attributes were
239            not prepended to the returned text.
240    
241    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
242    
243            * WebIDL.pm (parse_char_string): Set line/column numbers
244            to interface object experimentally.  s/shift/pop/g, shift
245            would make things wrong.  Support for interface forward
246            declarations was missing.  Broken interface declarations
247            with no block were not ignored entirely.
248            (Whatpm::WebIDL::Node): New abstract class.  This class
249            makes things easier.
250            (child_nodes): New attribute.  Unlike DOM's attribute with
251            same name, this attribute returns a dead list of nodes for
252            simplicity.
253            (get_user_data, set_user_data): New methods.
254            (Module idl_text): A SPACE character should be inserted
255            before the |{| character.
256            (Interface idl_text): Support for interface forward declarations.
257            (is_forward_declaration): New attribute.
258    
259    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
260    
261            * WebIDL.pm (type_text): Better serializer.
262    
263    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
264    
265            * WebIDL.pm: Revise forward-compatible parsing so that
266            it now can handle broken extended attributes and as such.
267    
268    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
269    
270            * WebIDL.pm: Real support for extended attributes.
271            Support for extended attributes with arguments.
272    
273    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
274    
275            * WebIDL.pm: Support for |exception| syntax.
276            (Interface->idl_text): Tentative support for inheritances.
277    
278    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
279    
280            * WebIDL.pm: Hierarchical scoped name support was broken.
281            Support for raises, setraises, and getraises syntaxes.
282    
283    2008-07-18  Wakaba  <wakaba@suika.fam.cx>
284    
285            * WebIDL.pm: Support for |idl_text| attribute, version 1 (no
286            proper support for types, extended attributes, and exceptions yet).
287            WebIDL parser, version 1 (no support for exceptions yet,
288            no proper support for extended attributes yet).
289    
290    2008-07-09  Wakaba  <wakaba@suika.fam.cx>
291    
292            * WebIDL.pm (parse_char_string): Support for basic attribute syntax.
293    
294    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
295    
296            * WebIDL.pm: Support for valuetype and const.
297    
298    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
299            
300            * WebIDL.pm: New module.
301    
302    2008-06-15  Wakaba  <wakaba@suika.fam.cx>
303    
304            * Makefile (Entities.html): URI changed.
305    
306    2008-06-08  Wakaba  <wakaba@suika.fam.cx>
307    
308            * HTML.pm.src: Support for ruby parsing (HTML5 revision 1704).
309    
310    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
311    
312            * HTML.pm.src (_get_next_token): A parse error was missing.
313    
314    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
315    
316            * mklinktypelist.pl: rel=contact is no longer part of the HTML5
317            spec (commented out). (HTML5 revision 1711).
318    
319    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
320    
321            * ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).
322    
323            * HTML.pm.src: UTF-16BE and UTF-16LE should be considered
324            as UTF-16 (HTML5 revision 1701).
325    
326    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
327    
328            * HTML.pm.src: Support for <noframes> in <head> (HTML5 revision
329            1692).
330    
331    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
332    
333            * HTML.pm.src: The secondary insertion mode used when switching
334            to foreign content is the "in body" insertion mode (HTML5 revision
335            1696).
336    
337    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
338    
339            * HTML.pm.src: Don't raise parse error for <isindex/> (HTML5
340            revision 1697).
341    
342    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
343    
344            * HTML.pm.src: Support for end-of-file token in foreign content
345            insertion mode (HTML5 revision 1693).  Update SVG camelCase
346            attribute list (HTML5 revision 1700).  <textarea> closes
347            </select> (HTML5 revision 1699).  More start tags close in
348            foreign content insertion mode (HTML5 revision 1698).
349    
350    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
351    
352            * HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665).
353    
354    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
355    
356            * HTML.pm.src: More robust charset parameter detection (HTML5
357            revision 1674).
358    
359    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
360    
361            * ContentType.pm: Support for image/vnd.microsoft.icon (HTML5
362            revision 1676).
363    
364    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
365    
366            * HTML.pm.src: Ignore language part of public identifiers for
367            quriks mode detection (HTML5 revision 1679).
368    
369    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
370    
371            * HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5
372            revision 1685).
373    
374    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
375    
376            * HTML.pm.src: Support for EOF in new states for tags (HTML5
377            revision 1684).
378    
379    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
380    
381            * HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML
382            work (HTML5 revision 1690).
383    
384    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
385    
386            * HTML.pm.src (_tree_construction_main): Change handling of
387            end tags in head insertion modes (HTML5 revision 1686).
388            (parse_char_string): Bug fix for non-utf8 character string handlings.
389            (parse_char_stream): |ungetc| does not work well for this context.
390    
391    2008-05-18  Wakaba  <wakaba@suika.fam.cx>
392    
393            * HTML.pm.src (parse_byte_string): Redefined to invoke
394            |parse_byte_stream|.
395            (parse_byte_stream): New method.
396    
397    2008-05-18  Wakaba  <wakaba@suika.fam.cx>
398    
399            * HTML.pm.src (parse_byte_string): Fix the column number reported
400            by encoding layer error reporter.
401    
402    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
403    
404            * HTML.pm.src (parse_byte_string): Use streaming decoder
405            rather than converting the whole byte string and then parsing.
406            Propagate errors in character encoding layer.
407            (get_next_token): Precise error reporting for |bare stago| error.
408    
409    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
410    
411            * HTML.pm.src (parse_char_stream): New method.
412            (parse_char_string): This method is now defined as an invocation
413            of the |parse_char_stream| method.
414    
415    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
416    
417            * HTML.pm.src (parse_byte_string): Report various status
418            of the sniffing as info-level errors.  Support for new
419            decoding framework in parser resestting.
420            (new): Various default error levels were not set.
421    
422    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
423    
424            * HTML.pm.src (parse_byte_string): HTML5 encoding siniffing
425            algorithm, except for the actual sniffing, is implemented
426            with new framework with Message::Charset::Info.
427    
428    2008-05-16  Wakaba  <wakaba@suika.fam.cx>
429    
430            * CacheManifest.pm (_parse): Drop fragment identifiers from
431            URIs in fallback section (HTML5 revision 1596).
432    
433    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
434    
435            * Makefile (Entities.html): URI has changed.
436    
437    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
438    
439            * CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision
440            1553).
441    
442    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
443    
444            * ContentChecker.pm: Noted that those returned in |table| are
445            no longer table elements, but table objects returned
446            by Whatpm::HTMLTable.
447    
448            * HTMLTable.pm (form_table): Return table element node
449            as |$table->{element}|.
450            (assign_header): Support for the |headers=""| attribute.
451    
452    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
453    
454            * HTMLTable.pm (assign_header): New function; first version
455            with no support for headers="".
456            (form_table): Include table width and height to the returned
457            table object for covenience.  Indexing in column assignement was wrong.
458            Set whether a data cell is empty or not for convenience.
459    
460    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
461    
462            * HTMLTable.pm: Robuster caption support (HTML5 revision 1393).
463    
464    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
465    
466            * HTMLTable.pm: How table model errors are detected is
467            changed (HTML5 revision 1387).
468    
469    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
470    
471            * HTMLTable.pm: The algorithm now moves |tfoot| elements
472            to the end of the table (HTML5 revision 1380).
473    
474    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
475    
476            * HTMLTable.pm: The algorithm is now 0-based indexing, instead
477            of 1-based (HTML5 revision 1376).
478    
479    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
480    
481            * ContentType.pm: "Content-Type: text/plain; charset=UTF-8"
482            and "Content-Encoding" no longer prevent sniffing (HTML5
483            revision 1288).
484    
485    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
486    
487            * ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision
488            1282).
489    
490    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
491    
492            * ContentChecker.pm: Support for global attributes.
493            Status of XML specs are added.
494    
495    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
496    
497            * ContentChecker.pm (check_element): Support for |template=""|
498            and |ref=""| attribute (referent element type checking).
499    
500  2008-04-29  Wakaba  <wakaba@suika.fam.cx>  2008-04-29  Wakaba  <wakaba@suika.fam.cx>
501    
502          * CacheManifest.pm (_parse): New same origin definition (HTML5 revision          * CacheManifest.pm (_parse): New same origin definition (HTML5 revision

Legend:
Removed from v.1.219  
changed lines
  Added in v.1.294

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24