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

Legend:
Removed from v.1.252  
changed lines
  Added in v.1.300

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24