/[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.189 by wakaba, Sun Mar 16 11:40:19 2008 UTC revision 1.267 by wakaba, Sat Aug 2 15:14:23 2008 UTC
# Line 1  Line 1 
1    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
2    
3            * WebIDL.pm ($integer): Order of selections are changed to match
4            hexadecimal numbers (the original pattern, taken from the spec,
5            was not work for hexadecimal numbers, because the "0" prefix
6            matches to the [0-7]* part (as an empty string) and therefore
7            it does not match with remaining "x..." part of a "0x..." integer
8            literal.
9            ($get_type): It now returns a string, not an array reference,
10            for regular types and |sequence| types (i.e. it in any case
11            returns a string).
12            ($get_next_token): The second item in the array that represents
13            a integer or float token is now a Perl number value, not the
14            original string representation of the number.
15            (check): Support for const value consistency checking.
16            No extended attribute is defined for constants.
17            (Node subclasses): Use simple strings rather than array references
18            for default data type values.
19            ($serialize_type): Type values are now simple strings.
20            (value): If the new attribute value is a false value, then
21            a FALSE value is set to the attribute.
22    
23    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
24    
25            * WebIDL.pm ($get_scoped_name): Now scoped names are stored
26            in its stringified format ("scoped name" as defined in the
27            spec).  Note that future version of this module should not use
28            array references for type values and the |type_text| attribute
29            should be made obsolete.
30            (parse_char_string): Unescape attribute names.
31            (check): Support for checking of whether inherited interfaces
32            are actually defined or not.  Support for checking of whether
33            interface member identifiers are duplicated or not.
34            ($serialize_type): Scoped names are returned as is.  A future
35            version of this code should escape identifiers other than "DOMString",
36            otherwise the idl_text would be non-conforming.
37    
38    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
39    
40            * WebIDL.pm (parse_char_string): Set line/column numbers
41            to generated nodes.  Unescape identifiers.  Extended attributes
42            for Definition's were ignored.
43            (append_child): Set |parent_node| attribute.
44            (parent_node): New attribute.
45            (check): Support interface/exception members.  Support
46            extended attributes.  Support definition identifier uniqueness
47            constraint.
48            (qualified_name): New attribute.
49            (Interface/Exception idl_text): Extended attributes were
50            not prepended to the returned text.
51    
52    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
53    
54            * WebIDL.pm (parse_char_string): Set line/column numbers
55            to interface object experimentally.  s/shift/pop/g, shift
56            would make things wrong.  Support for interface forward
57            declarations was missing.  Broken interface declarations
58            with no block were not ignored entirely.
59            (Whatpm::WebIDL::Node): New abstract class.  This class
60            makes things easier.
61            (child_nodes): New attribute.  Unlike DOM's attribute with
62            same name, this attribute returns a dead list of nodes for
63            simplicity.
64            (get_user_data, set_user_data): New methods.
65            (Module idl_text): A SPACE character should be inserted
66            before the |{| character.
67            (Interface idl_text): Support for interface forward declarations.
68            (is_forward_declaration): New attribute.
69    
70    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
71    
72            * WebIDL.pm (type_text): Better serializer.
73    
74    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
75    
76            * WebIDL.pm: Revise forward-compatible parsing so that
77            it now can handle broken extended attributes and as such.
78    
79    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
80    
81            * WebIDL.pm: Real support for extended attributes.
82            Support for extended attributes with arguments.
83    
84    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
85    
86            * WebIDL.pm: Support for |exception| syntax.
87            (Interface->idl_text): Tentative support for inheritances.
88    
89    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
90    
91            * WebIDL.pm: Hierarchical scoped name support was broken.
92            Support for raises, setraises, and getraises syntaxes.
93    
94    2008-07-18  Wakaba  <wakaba@suika.fam.cx>
95    
96            * WebIDL.pm: Support for |idl_text| attribute, version 1 (no
97            proper support for types, extended attributes, and exceptions yet).
98            WebIDL parser, version 1 (no support for exceptions yet,
99            no proper support for extended attributes yet).
100    
101    2008-07-09  Wakaba  <wakaba@suika.fam.cx>
102    
103            * WebIDL.pm (parse_char_string): Support for basic attribute syntax.
104    
105    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
106    
107            * WebIDL.pm: Support for valuetype and const.
108    
109    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
110            
111            * WebIDL.pm: New module.
112    
113    2008-06-15  Wakaba  <wakaba@suika.fam.cx>
114    
115            * Makefile (Entities.html): URI changed.
116    
117    2008-06-08  Wakaba  <wakaba@suika.fam.cx>
118    
119            * HTML.pm.src: Support for ruby parsing (HTML5 revision 1704).
120    
121    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
122    
123            * HTML.pm.src (_get_next_token): A parse error was missing.
124    
125    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
126    
127            * mklinktypelist.pl: rel=contact is no longer part of the HTML5
128            spec (commented out). (HTML5 revision 1711).
129    
130    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
131    
132            * ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).
133    
134            * HTML.pm.src: UTF-16BE and UTF-16LE should be considered
135            as UTF-16 (HTML5 revision 1701).
136    
137    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
138    
139            * HTML.pm.src: Support for <noframes> in <head> (HTML5 revision
140            1692).
141    
142    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
143    
144            * HTML.pm.src: The secondary insertion mode used when switching
145            to foreign content is the "in body" insertion mode (HTML5 revision
146            1696).
147    
148    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
149    
150            * HTML.pm.src: Don't raise parse error for <isindex/> (HTML5
151            revision 1697).
152    
153    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
154    
155            * HTML.pm.src: Support for end-of-file token in foreign content
156            insertion mode (HTML5 revision 1693).  Update SVG camelCase
157            attribute list (HTML5 revision 1700).  <textarea> closes
158            </select> (HTML5 revision 1699).  More start tags close in
159            foreign content insertion mode (HTML5 revision 1698).
160    
161    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
162    
163            * HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665).
164    
165    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
166    
167            * HTML.pm.src: More robust charset parameter detection (HTML5
168            revision 1674).
169    
170    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
171    
172            * ContentType.pm: Support for image/vnd.microsoft.icon (HTML5
173            revision 1676).
174    
175    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
176    
177            * HTML.pm.src: Ignore language part of public identifiers for
178            quriks mode detection (HTML5 revision 1679).
179    
180    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
181    
182            * HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5
183            revision 1685).
184    
185    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
186    
187            * HTML.pm.src: Support for EOF in new states for tags (HTML5
188            revision 1684).
189    
190    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
191    
192            * HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML
193            work (HTML5 revision 1690).
194    
195    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
196    
197            * HTML.pm.src (_tree_construction_main): Change handling of
198            end tags in head insertion modes (HTML5 revision 1686).
199            (parse_char_string): Bug fix for non-utf8 character string handlings.
200            (parse_char_stream): |ungetc| does not work well for this context.
201    
202    2008-05-18  Wakaba  <wakaba@suika.fam.cx>
203    
204            * HTML.pm.src (parse_byte_string): Redefined to invoke
205            |parse_byte_stream|.
206            (parse_byte_stream): New method.
207    
208    2008-05-18  Wakaba  <wakaba@suika.fam.cx>
209    
210            * HTML.pm.src (parse_byte_string): Fix the column number reported
211            by encoding layer error reporter.
212    
213    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
214    
215            * HTML.pm.src (parse_byte_string): Use streaming decoder
216            rather than converting the whole byte string and then parsing.
217            Propagate errors in character encoding layer.
218            (get_next_token): Precise error reporting for |bare stago| error.
219    
220    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
221    
222            * HTML.pm.src (parse_char_stream): New method.
223            (parse_char_string): This method is now defined as an invocation
224            of the |parse_char_stream| method.
225    
226    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
227    
228            * HTML.pm.src (parse_byte_string): Report various status
229            of the sniffing as info-level errors.  Support for new
230            decoding framework in parser resestting.
231            (new): Various default error levels were not set.
232    
233    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
234    
235            * HTML.pm.src (parse_byte_string): HTML5 encoding siniffing
236            algorithm, except for the actual sniffing, is implemented
237            with new framework with Message::Charset::Info.
238    
239    2008-05-16  Wakaba  <wakaba@suika.fam.cx>
240    
241            * CacheManifest.pm (_parse): Drop fragment identifiers from
242            URIs in fallback section (HTML5 revision 1596).
243    
244    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
245    
246            * Makefile (Entities.html): URI has changed.
247    
248    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
249    
250            * CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision
251            1553).
252    
253    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
254    
255            * ContentChecker.pm: Noted that those returned in |table| are
256            no longer table elements, but table objects returned
257            by Whatpm::HTMLTable.
258    
259            * HTMLTable.pm (form_table): Return table element node
260            as |$table->{element}|.
261            (assign_header): Support for the |headers=""| attribute.
262    
263    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
264    
265            * HTMLTable.pm (assign_header): New function; first version
266            with no support for headers="".
267            (form_table): Include table width and height to the returned
268            table object for covenience.  Indexing in column assignement was wrong.
269            Set whether a data cell is empty or not for convenience.
270    
271    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
272    
273            * HTMLTable.pm: Robuster caption support (HTML5 revision 1393).
274    
275    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
276    
277            * HTMLTable.pm: How table model errors are detected is
278            changed (HTML5 revision 1387).
279    
280    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
281    
282            * HTMLTable.pm: The algorithm now moves |tfoot| elements
283            to the end of the table (HTML5 revision 1380).
284    
285    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
286    
287            * HTMLTable.pm: The algorithm is now 0-based indexing, instead
288            of 1-based (HTML5 revision 1376).
289    
290    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
291    
292            * ContentType.pm: "Content-Type: text/plain; charset=UTF-8"
293            and "Content-Encoding" no longer prevent sniffing (HTML5
294            revision 1288).
295    
296    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
297    
298            * ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision
299            1282).
300    
301    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
302    
303            * ContentChecker.pm: Support for global attributes.
304            Status of XML specs are added.
305    
306    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
307    
308            * ContentChecker.pm (check_element): Support for |template=""|
309            and |ref=""| attribute (referent element type checking).
310    
311    2008-04-29  Wakaba  <wakaba@suika.fam.cx>
312    
313            * CacheManifest.pm (_parse): New same origin definition (HTML5 revision
314            1500) is implemented (except for IDNA part and URI-scheme-specific
315            knowledge).  Line number counting was wrong for LF-only
316            documents.
317    
318    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
319    
320            * HTML.pm.src: Raise an parse error for any disallowed
321            character (HTML5 revision 1263).
322    
323    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
324    
325            * mkentitylist.pl: Support for new HTML5 entity table format (the
326            definition for |AElig;| was missing).
327    
328    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
329    
330            * HTML.pm.src, mkhtmlparser.pl: Support for element/attribute
331            name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417).
332    
333    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
334    
335            * HTML.pm.src: List of element names that close foreign content
336            insertion mode is added (HTML5 revisions 1412 and 1418).
337    
338    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
339    
340            * HTML.pm.src: Support for |mglyph| and |malignmark|
341            elements (HTML5 revision 1410).
342    
343    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
344    
345            * HTML.pm.src: Support for new long MathML entities (HTML5
346            revision 1406).
347    
348    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
349    
350            * HTML.pm.src: CDATA section support for MathML and SVG
351            elements (HTML5 revision 1404 and 1420).
352    
353    2008-04-12  Wakaba  <wakaba@suika.fam.cx>
354    
355            * HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG
356            elements (HTML5 revision 1404).  Unused !!!macro definitions
357            are removed.
358    
359    2008-04-12  Wakaba  <wakaba@suika.fam.cx>
360    
361            * HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors
362            are raised is changed (HTML5 revision 1404).
363    
364    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
365    
366            * HTML.pm.src: Category sets that are no longer used are removed.
367    
368    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
369    
370            * HTML.pm.src: The ->[1] property of stack entries are now
371            replaced by constants representing element category.
372    
373    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
374    
375            * HTML.pm.src: Don't use local name stored in stack (i.e. ->[1])
376            for error reporting.  (This is a preparation for using constant
377            value for ->[1].)
378    
379    2008-03-22  Wakaba  <wakaba@suika.fam.cx>
380    
381            * RDFXML.pm: Typo fixed.
382    
383    2008-03-22  Wakaba  <wakaba@suika.fam.cx>
384    
385            * ContentChecker.pm: |fact_level| is now treated
386            as same as |must_level|, i.e. level = |m|.
387            (check_element): Make list of URIs in the DOM.
388    
389    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
390    
391            * RDFXML.pm: Language accessor implemented.
392            Local (null-namespace) attribute support.
393    
394    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
395    
396            * RDFXML.pm: Factored out ID checking code.
397    
398    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
399    
400            * RDFXML.pm: TODO items noted.  Validation of ID
401            and URI attributes is implemented.  Warn if unknown
402            value is used in rdf:parseType="" attribute.
403    
404            * URIChecker.pm (check_rdf_uri_reference): New function.
405    
406    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
407    
408            * RDFXML.pm: bnodeid implemented.  Relative references
409            are now resolved.
410    
411    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
412    
413            * ContentChecker.pm: RDF reification implemented.
414    
415            * RDFXML.pm: undef vs false bug fixed.
416            Reification implemented.
417    
418    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
419    
420            * RDFXML.pm: s/id/ID/ for attribute name.
421            The |node| arguments are added for |ontriple| calls.
422            Too many "attribute not allowed" errors were raised.
423    
424            * ContentChecker.pm: Initial experimental support for rdf:RDF
425            element.
426    
427    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
428    
429            * RDFXML.pm: New module.
430    
431    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
432    
433            * HTML.pm.src (set_inner_html): Line/column number
434            code was old one yet.
435    
436    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
437    
438            * HTML.pm.src: Better line/column reporting for "duplicate attribute"
439            errors.  Line/column markings for DOCTYPE, comment, and
440            character tokens are reintroduced; otherwise,
441            error location for "not HTML5" error and errors
442            for implied elements are not attached.
443    
444    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
445    
446            * HTML.pm.src: Set line/column numbers to attributes.
447    
448            * NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added.
449            (value): Setter implemented.
450    
451            * mkhtmlparser.pl: Set line/column numbers to Attr nodes.
452    
453    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
454    
455            * HTML.pm.src: Unused line/column markings are removed.
456    
457    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
458    
459            * HTML.pm.src (_get_next_token): Remove |first_start_tag|
460            flag, which is no longer used.
461    
462    2008-03-17  Wakaba  <wakaba@suika.fam.cx>
463    
464            * HTML.pm.src: Set line/column information to element nodes.
465    
466            * mkhtmlparser.pl (!!!create-element, !!!insert-element,
467            and !!!insert-element-t): Set line/column information to
468            element nodes.
469    
470    2008-03-17  Wakaba  <wakaba@suika.fam.cx>
471    
472            * HTML.pm.src (_get_next_token): The first "<" character
473            in "<?", "<>", or "</>" should be the error point.
474    
475  2008-03-16  Wakaba  <wakaba@suika.fam.cx>  2008-03-16  Wakaba  <wakaba@suika.fam.cx>
476    
477          * HTML.pm.src: Some more fixes on error position reporting.          * HTML.pm.src: Some more fixes on error position reporting.

Legend:
Removed from v.1.189  
changed lines
  Added in v.1.267

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24