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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24