1 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
4 |
|
|
5 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
6 |
|
specifying. Error types are revised. |
7 |
|
|
8 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* ContentChecker.pm: All error reporting method calls are |
11 |
|
renewed. |
12 |
|
|
13 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* HTML.pm.src: All error type names and "text" parameters |
16 |
|
are revised. Use new style for "level" specification. |
17 |
|
|
18 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
19 |
|
|
20 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* WebIDL.pm (parse_char_string): Simplified error |
23 |
|
reporting process for broken ignored valuetype definition. |
24 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
25 |
|
|
26 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
29 |
|
terminal of the ScopedName is "DOMString", such that whether |
30 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
31 |
|
later. It is necessary to determine whether a |typedef| |
32 |
|
definition should be ignored or not. |
33 |
|
(parse_char_string): Unescape the identifier of |
34 |
|
exception members. |
35 |
|
($resolve): Return undef for builtin types and sequence<T> |
36 |
|
types (we might not have to do this, however...). |
37 |
|
(check): Support checking for Exceptions, Valuetypes, |
38 |
|
and Typedefs. |
39 |
|
($serialize_type): Support for "DOMString::::" syntax. |
40 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
41 |
|
is really "DOMString" (i.e. its internal representation |
42 |
|
is "::DOMString::"). |
43 |
|
|
44 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
47 |
|
for constant types in the |check| method. |
48 |
|
(check): Support for checking of attributes, operations, and |
49 |
|
arguments. |
50 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
51 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
52 |
|
code. |
53 |
|
|
54 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
57 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
58 |
|
was not work for hexadecimal numbers, because the "0" prefix |
59 |
|
matches to the [0-7]* part (as an empty string) and therefore |
60 |
|
it does not match with remaining "x..." part of a "0x..." integer |
61 |
|
literal. |
62 |
|
($get_type): It now returns a string, not an array reference, |
63 |
|
for regular types and |sequence| types (i.e. it in any case |
64 |
|
returns a string). |
65 |
|
($get_next_token): The second item in the array that represents |
66 |
|
a integer or float token is now a Perl number value, not the |
67 |
|
original string representation of the number. |
68 |
|
(check): Support for const value consistency checking. |
69 |
|
No extended attribute is defined for constants. |
70 |
|
(Node subclasses): Use simple strings rather than array references |
71 |
|
for default data type values. |
72 |
|
($serialize_type): Type values are now simple strings. |
73 |
|
(value): If the new attribute value is a false value, then |
74 |
|
a FALSE value is set to the attribute. |
75 |
|
|
76 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
79 |
|
in its stringified format ("scoped name" as defined in the |
80 |
|
spec). Note that future version of this module should not use |
81 |
|
array references for type values and the |type_text| attribute |
82 |
|
should be made obsolete. |
83 |
|
(parse_char_string): Unescape attribute names. |
84 |
|
(check): Support for checking of whether inherited interfaces |
85 |
|
are actually defined or not. Support for checking of whether |
86 |
|
interface member identifiers are duplicated or not. |
87 |
|
($serialize_type): Scoped names are returned as is. A future |
88 |
|
version of this code should escape identifiers other than "DOMString", |
89 |
|
otherwise the idl_text would be non-conforming. |
90 |
|
|
91 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
94 |
|
to generated nodes. Unescape identifiers. Extended attributes |
95 |
|
for Definition's were ignored. |
96 |
|
(append_child): Set |parent_node| attribute. |
97 |
|
(parent_node): New attribute. |
98 |
|
(check): Support interface/exception members. Support |
99 |
|
extended attributes. Support definition identifier uniqueness |
100 |
|
constraint. |
101 |
|
(qualified_name): New attribute. |
102 |
|
(Interface/Exception idl_text): Extended attributes were |
103 |
|
not prepended to the returned text. |
104 |
|
|
105 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
108 |
|
to interface object experimentally. s/shift/pop/g, shift |
109 |
|
would make things wrong. Support for interface forward |
110 |
|
declarations was missing. Broken interface declarations |
111 |
|
with no block were not ignored entirely. |
112 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
113 |
|
makes things easier. |
114 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
115 |
|
same name, this attribute returns a dead list of nodes for |
116 |
|
simplicity. |
117 |
|
(get_user_data, set_user_data): New methods. |
118 |
|
(Module idl_text): A SPACE character should be inserted |
119 |
|
before the |{| character. |
120 |
|
(Interface idl_text): Support for interface forward declarations. |
121 |
|
(is_forward_declaration): New attribute. |
122 |
|
|
123 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* WebIDL.pm (type_text): Better serializer. |
126 |
|
|
127 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
* WebIDL.pm: Revise forward-compatible parsing so that |
* WebIDL.pm: Revise forward-compatible parsing so that |