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

Legend:
Removed from v.1.260  
changed lines
  Added in v.1.303

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24