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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24