/[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.247 by wakaba, Sat May 24 14:19:54 2008 UTC revision 1.302 by wakaba, Sun Sep 14 03:59:08 2008 UTC
# Line 1  Line 1 
1    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
2    
3            * HTML.pm.src: Use |{read_until}| where possible.
4    
5    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
6    
7            * HTML.pm.src: Change |{getc_until}| to |{read_until}|
8            and |manakai_getc_until| to |manakai_read_until| to
9            reduce the number of string copies.
10    
11    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
12    
13            * HTML.pm.src (parse_char_string): Use newly created
14            |Whatpm::Charset::DecodeHandle::CharString| instead of Perl's
15            standard feature to |open| a string as a filehandle,
16            since Perl's string filehandle seems not supporting |ungetc|
17            method correctly.
18            (parse_char_stream): Define |{getc_until}| method.
19            (DATA_STATE): Experimental support for |getc_until| feature.
20    
21    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
22    
23            * HTML.pm.src: Check points added to newly added branches.
24    
25    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
26    
27            * HTML.pm.src: Remove |{char}|, which is no longer used.
28            Remove |{entity_in_attr}| and |{last_attribute_value_state}|
29            and replaced by |{prev_state}|.
30    
31            * mkhtmlparser.pl: Remove |{char}| feature.
32            Remove |!!!back-next-input-character;| macro.
33    
34    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
35    
36            * HTML.pm.src: Finally we get rid of all the inner loops.  Remove
37            entity related tokenizer states in favor of new states
38            implementing the consume character reference algorithm.
39    
40    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
41    
42            * HTML.pm.src: "Consume a character reference" algorithm is
43            now implemented as a tokenizer's state, rather than
44            a method, with minimum changes (more changes will
45            be made, in due course).  "Bogus comment state"'s inner
46            loop gets removed.
47    
48    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
49    
50            * HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing
51            into their own tokenizer states.
52    
53    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
54    
55            * HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE|
56            is split into three states.
57    
58    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
59    
60            * HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into
61            itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that
62            no longer does the tokenizer have to push back next input
63            characters in those states.
64    
65    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
66    
67            * HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken
68            into four states so that no longer does the tokenizer have to push
69            back next input characters in that state.
70    
71    2008-09-11  Wakaba  <wakaba@suika.fam.cx>
72    
73            * HTML.pm.src: Methods now accept additional parameter, $get_wrapper,
74            which can be used to insert some wrapper between the character
75            stream handle and the tokenizer.  (It is currently not supported
76            for |set_inner_html| for |Element|s).
77    
78    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
79    
80            * HTML.pm.src: Ignore punctuations in charset names.
81    
82    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
83    
84            * ContentChecker.pm: Support for charset-layer error levels.
85    
86            * HTML.pm.src: Don't specify |text| argument for the
87            |chardecode:fallback| error, since it is not the encoding
88            being used alternatively.
89    
90    2008-09-06  Wakaba  <wakaba@suika.fam.cx>
91    
92            * HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141).
93    
94    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
95    
96            * CacheManifest.pm: Support for extensibility (HTML5 revision 2051).
97    
98    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
99    
100            * HTML.pm.src: Bug fix and sync with the spec with regard
101            to after after frameset insertion mode processing (HTML5
102            revision 1909).  Note that the implementation was wrong
103            per the old spec before the r1909 changes.
104    
105    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
106    
107            * HTMLTable.pm: scope=auto algorithm fix synced with the
108            spec (HTML5 revision 2093).
109            ($process_row): Algorithm step numbers synced with the
110            spec (HTML5 revision 2092).
111    
112    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
113    
114            * HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5
115            revision 2094).
116    
117    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
118    
119            * ContentType.pm: Support for image/svg+xml (HTML5 revision 2096).
120    
121    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
122    
123            * HTML.pm.src: '"' and "'" at the end of attribute
124            name (after another attribute) now raise parse error (HTML5
125            revision 2123).  Empty unquoted attribute values are no
126            longer allowed (HTML5 revision 2122).
127    
128    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
129    
130            * mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5
131            revision 2130).
132    
133    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
134    
135            * ContentChecker.pm: |xml:lang| attribute value must be same
136            as |lang| attribute value for HTML elements (HTML5 revision 2062
137            and so on).
138    
139    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
140    
141            * ContentChecker.pm: Error level definition for |xml_id_error|
142            was missing.
143    
144            * URIChecker.pm: The end of the URL should be marked as the
145            error location for an empty path error.  The position
146            between the userinfo and the port components should be
147            marked as the error location for an empty host error.
148    
149    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
150    
151            * URIChecker.pm: Set parameters representing where in the
152            value the error occurs for errors.  Report unknown
153            address format error in warning level, since address
154            formats are rarely added.  Path segments starting with "/.."
155            were misinterpreted as a dot-segment.
156    
157    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
158    
159            * URIChecker.pm (check_iri_reference): Requires
160            |Message::DOM::DOMImplementation|.
161    
162    2008-08-29  Wakaba  <wakaba@suika.fam.cx>
163    
164            * IMTChecker.pm: Updated for the new error reporting architecture.
165    
166            * ContentChecker.pm: Error levels for IMTs are added.
167    
168    2008-08-17  Wakaba  <wakaba@suika.fam.cx>
169    
170            * H2H.pm (_shift_token): Support for unquoted HTML attribute
171            values.
172    
173    2008-08-16  Wakaba  <wakaba@suika.fam.cx>
174    
175            * CacheManifest.pm: Support for new style of error
176            reports.
177    
178            * HTML.pm.src: Set line=1, column=1 to the document node.
179    
180    2008-08-16  Wakaba  <wakaba@suika.fam.cx>
181    
182            * ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag
183            and URL checkers.  Support for more error levels for bogus
184            langauge tag and URL "standards".
185    
186            * LangTag.pm, URIChecker.pm: Support for new style error
187            level reporting.
188    
189    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
190    
191            * ContentChecker.pm: Support for RDF/XML error levels.
192    
193            * HTMLTable.pm, RDFXML.pm: Support for new style of error level
194            specifying.  Error types are revised.
195    
196    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
197    
198            * ContentChecker.pm: All error reporting method calls are
199            renewed.
200    
201    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
202    
203            * HTML.pm.src: All error type names and "text" parameters
204            are revised.  Use new style for "level" specification.
205    
206            * mkhtmlparser.pl: Use new style for "level" specification.
207    
208    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
209    
210            * WebIDL.pm (parse_char_string): Simplified error
211            reporting process for broken ignored valuetype definition.
212            (Valuetype idl_text): Support for special "DOMString" name.
213    
214    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
215    
216            * WebIDL.pm ($get_scoped_name): Append "::::" if the last
217            terminal of the ScopedName is "DOMString", such that whether
218            the last part of the scoped name is "DOMString" or "_DOMString"
219            later.  It is necessary to determine whether a |typedef|
220            definition should be ignored or not.
221            (parse_char_string): Unescape the identifier of
222            exception members.
223            ($resolve): Return undef for builtin types and sequence<T>
224            types (we might not have to do this, however...).
225            (check): Support checking for Exceptions, Valuetypes,
226            and Typedefs.
227            ($serialize_type): Support for "DOMString::::" syntax.
228            (Typedef idl_text): Output Type as "DOMString" if it
229            is really "DOMString" (i.e. its internal representation
230            is "::DOMString::").
231    
232    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
233    
234            * WebIDL.pm ($resolve): New code, based on resolve code
235            for constant types in the |check| method.
236            (check): Support for checking of attributes, operations, and
237            arguments.
238            (Attribute/Operation idl_text): Exception names in getraises,
239            setraises, and raises clauses is serizlied by |$serialize_type|
240            code.
241    
242    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
243    
244            * WebIDL.pm ($integer): Order of selections are changed to match
245            hexadecimal numbers (the original pattern, taken from the spec,
246            was not work for hexadecimal numbers, because the "0" prefix
247            matches to the [0-7]* part (as an empty string) and therefore
248            it does not match with remaining "x..." part of a "0x..." integer
249            literal.
250            ($get_type): It now returns a string, not an array reference,
251            for regular types and |sequence| types (i.e. it in any case
252            returns a string).
253            ($get_next_token): The second item in the array that represents
254            a integer or float token is now a Perl number value, not the
255            original string representation of the number.
256            (check): Support for const value consistency checking.
257            No extended attribute is defined for constants.
258            (Node subclasses): Use simple strings rather than array references
259            for default data type values.
260            ($serialize_type): Type values are now simple strings.
261            (value): If the new attribute value is a false value, then
262            a FALSE value is set to the attribute.
263    
264    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
265    
266            * WebIDL.pm ($get_scoped_name): Now scoped names are stored
267            in its stringified format ("scoped name" as defined in the
268            spec).  Note that future version of this module should not use
269            array references for type values and the |type_text| attribute
270            should be made obsolete.
271            (parse_char_string): Unescape attribute names.
272            (check): Support for checking of whether inherited interfaces
273            are actually defined or not.  Support for checking of whether
274            interface member identifiers are duplicated or not.
275            ($serialize_type): Scoped names are returned as is.  A future
276            version of this code should escape identifiers other than "DOMString",
277            otherwise the idl_text would be non-conforming.
278    
279    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
280    
281            * WebIDL.pm (parse_char_string): Set line/column numbers
282            to generated nodes.  Unescape identifiers.  Extended attributes
283            for Definition's were ignored.
284            (append_child): Set |parent_node| attribute.
285            (parent_node): New attribute.
286            (check): Support interface/exception members.  Support
287            extended attributes.  Support definition identifier uniqueness
288            constraint.
289            (qualified_name): New attribute.
290            (Interface/Exception idl_text): Extended attributes were
291            not prepended to the returned text.
292    
293    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
294    
295            * WebIDL.pm (parse_char_string): Set line/column numbers
296            to interface object experimentally.  s/shift/pop/g, shift
297            would make things wrong.  Support for interface forward
298            declarations was missing.  Broken interface declarations
299            with no block were not ignored entirely.
300            (Whatpm::WebIDL::Node): New abstract class.  This class
301            makes things easier.
302            (child_nodes): New attribute.  Unlike DOM's attribute with
303            same name, this attribute returns a dead list of nodes for
304            simplicity.
305            (get_user_data, set_user_data): New methods.
306            (Module idl_text): A SPACE character should be inserted
307            before the |{| character.
308            (Interface idl_text): Support for interface forward declarations.
309            (is_forward_declaration): New attribute.
310    
311    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
312    
313            * WebIDL.pm (type_text): Better serializer.
314    
315    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
316    
317            * WebIDL.pm: Revise forward-compatible parsing so that
318            it now can handle broken extended attributes and as such.
319    
320    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
321    
322            * WebIDL.pm: Real support for extended attributes.
323            Support for extended attributes with arguments.
324    
325    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
326    
327            * WebIDL.pm: Support for |exception| syntax.
328            (Interface->idl_text): Tentative support for inheritances.
329    
330    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
331    
332            * WebIDL.pm: Hierarchical scoped name support was broken.
333            Support for raises, setraises, and getraises syntaxes.
334    
335    2008-07-18  Wakaba  <wakaba@suika.fam.cx>
336    
337            * WebIDL.pm: Support for |idl_text| attribute, version 1 (no
338            proper support for types, extended attributes, and exceptions yet).
339            WebIDL parser, version 1 (no support for exceptions yet,
340            no proper support for extended attributes yet).
341    
342    2008-07-09  Wakaba  <wakaba@suika.fam.cx>
343    
344            * WebIDL.pm (parse_char_string): Support for basic attribute syntax.
345    
346    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
347    
348            * WebIDL.pm: Support for valuetype and const.
349    
350    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
351            
352            * WebIDL.pm: New module.
353    
354    2008-06-15  Wakaba  <wakaba@suika.fam.cx>
355    
356            * Makefile (Entities.html): URI changed.
357    
358    2008-06-08  Wakaba  <wakaba@suika.fam.cx>
359    
360            * HTML.pm.src: Support for ruby parsing (HTML5 revision 1704).
361    
362    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
363    
364            * HTML.pm.src (_get_next_token): A parse error was missing.
365    
366    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
367    
368            * mklinktypelist.pl: rel=contact is no longer part of the HTML5
369            spec (commented out). (HTML5 revision 1711).
370    
371    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
372    
373            * ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).
374    
375            * HTML.pm.src: UTF-16BE and UTF-16LE should be considered
376            as UTF-16 (HTML5 revision 1701).
377    
378    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
379    
380            * HTML.pm.src: Support for <noframes> in <head> (HTML5 revision
381            1692).
382    
383    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
384    
385            * HTML.pm.src: The secondary insertion mode used when switching
386            to foreign content is the "in body" insertion mode (HTML5 revision
387            1696).
388    
389    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
390    
391            * HTML.pm.src: Don't raise parse error for <isindex/> (HTML5
392            revision 1697).
393    
394  2008-05-24  Wakaba  <wakaba@suika.fam.cx>  2008-05-24  Wakaba  <wakaba@suika.fam.cx>
395    
396          * HTML.pm.src: Support for end-of-file token in foreign content          * HTML.pm.src: Support for end-of-file token in foreign content

Legend:
Removed from v.1.247  
changed lines
  Added in v.1.302

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24