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

Legend:
Removed from v.1.211  
changed lines
  Added in v.1.295

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24