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

Legend:
Removed from v.1.196  
changed lines
  Added in v.1.277

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24