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

Legend:
Removed from v.1.189  
changed lines
  Added in v.1.275

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24