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> |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |