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

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.270

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24