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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24