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

Legend:
Removed from v.1.183  
changed lines
  Added in v.1.269

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24