1 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
4 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
5 |
|
was not work for hexadecimal numbers, because the "0" prefix |
6 |
|
matches to the [0-7]* part (as an empty string) and therefore |
7 |
|
it does not match with remaining "x..." part of a "0x..." integer |
8 |
|
literal. |
9 |
|
($get_type): It now returns a string, not an array reference, |
10 |
|
for regular types and |sequence| types (i.e. it in any case |
11 |
|
returns a string). |
12 |
|
($get_next_token): The second item in the array that represents |
13 |
|
a integer or float token is now a Perl number value, not the |
14 |
|
original string representation of the number. |
15 |
|
(check): Support for const value consistency checking. |
16 |
|
No extended attribute is defined for constants. |
17 |
|
(Node subclasses): Use simple strings rather than array references |
18 |
|
for default data type values. |
19 |
|
($serialize_type): Type values are now simple strings. |
20 |
|
(value): If the new attribute value is a false value, then |
21 |
|
a FALSE value is set to the attribute. |
22 |
|
|
23 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
26 |
|
in its stringified format ("scoped name" as defined in the |
27 |
|
spec). Note that future version of this module should not use |
28 |
|
array references for type values and the |type_text| attribute |
29 |
|
should be made obsolete. |
30 |
|
(parse_char_string): Unescape attribute names. |
31 |
|
(check): Support for checking of whether inherited interfaces |
32 |
|
are actually defined or not. Support for checking of whether |
33 |
|
interface member identifiers are duplicated or not. |
34 |
|
($serialize_type): Scoped names are returned as is. A future |
35 |
|
version of this code should escape identifiers other than "DOMString", |
36 |
|
otherwise the idl_text would be non-conforming. |
37 |
|
|
38 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
41 |
|
to generated nodes. Unescape identifiers. Extended attributes |
42 |
|
for Definition's were ignored. |
43 |
|
(append_child): Set |parent_node| attribute. |
44 |
|
(parent_node): New attribute. |
45 |
|
(check): Support interface/exception members. Support |
46 |
|
extended attributes. Support definition identifier uniqueness |
47 |
|
constraint. |
48 |
|
(qualified_name): New attribute. |
49 |
|
(Interface/Exception idl_text): Extended attributes were |
50 |
|
not prepended to the returned text. |
51 |
|
|
52 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
54 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
55 |
|
to interface object experimentally. s/shift/pop/g, shift |
56 |
|
would make things wrong. Support for interface forward |
57 |
|
declarations was missing. Broken interface declarations |
58 |
|
with no block were not ignored entirely. |
59 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
60 |
|
makes things easier. |
61 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
62 |
|
same name, this attribute returns a dead list of nodes for |
63 |
|
simplicity. |
64 |
|
(get_user_data, set_user_data): New methods. |
65 |
|
(Module idl_text): A SPACE character should be inserted |
66 |
|
before the |{| character. |
67 |
|
(Interface idl_text): Support for interface forward declarations. |
68 |
|
(is_forward_declaration): New attribute. |
69 |
|
|
70 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* WebIDL.pm (type_text): Better serializer. |
73 |
|
|
74 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
77 |
|
it now can handle broken extended attributes and as such. |
78 |
|
|
79 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* WebIDL.pm: Real support for extended attributes. |
82 |
|
Support for extended attributes with arguments. |
83 |
|
|
84 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* WebIDL.pm: Support for |exception| syntax. |
87 |
|
(Interface->idl_text): Tentative support for inheritances. |
88 |
|
|
89 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* WebIDL.pm: Hierarchical scoped name support was broken. |
92 |
|
Support for raises, setraises, and getraises syntaxes. |
93 |
|
|
94 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
97 |
|
proper support for types, extended attributes, and exceptions yet). |
98 |
|
WebIDL parser, version 1 (no support for exceptions yet, |
99 |
|
no proper support for extended attributes yet). |
100 |
|
|
101 |
|
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
104 |
|
|
105 |
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
* WebIDL.pm: Support for valuetype and const. |
* WebIDL.pm: Support for valuetype and const. |