1 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
4 |
|
terminal of the ScopedName is "DOMString", such that whether |
5 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
6 |
|
later. It is necessary to determine whether a |typedef| |
7 |
|
definition should be ignored or not. |
8 |
|
(parse_char_string): Unescape the identifier of |
9 |
|
exception members. |
10 |
|
($resolve): Return undef for builtin types and sequence<T> |
11 |
|
types (we might not have to do this, however...). |
12 |
|
(check): Support checking for Exceptions, Valuetypes, |
13 |
|
and Typedefs. |
14 |
|
($serialize_type): Support for "DOMString::::" syntax. |
15 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
16 |
|
is really "DOMString" (i.e. its internal representation |
17 |
|
is "::DOMString::"). |
18 |
|
|
19 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
22 |
|
for constant types in the |check| method. |
23 |
|
(check): Support for checking of attributes, operations, and |
24 |
|
arguments. |
25 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
26 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
27 |
|
code. |
28 |
|
|
29 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
32 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
33 |
|
was not work for hexadecimal numbers, because the "0" prefix |
34 |
|
matches to the [0-7]* part (as an empty string) and therefore |
35 |
|
it does not match with remaining "x..." part of a "0x..." integer |
36 |
|
literal. |
37 |
|
($get_type): It now returns a string, not an array reference, |
38 |
|
for regular types and |sequence| types (i.e. it in any case |
39 |
|
returns a string). |
40 |
|
($get_next_token): The second item in the array that represents |
41 |
|
a integer or float token is now a Perl number value, not the |
42 |
|
original string representation of the number. |
43 |
|
(check): Support for const value consistency checking. |
44 |
|
No extended attribute is defined for constants. |
45 |
|
(Node subclasses): Use simple strings rather than array references |
46 |
|
for default data type values. |
47 |
|
($serialize_type): Type values are now simple strings. |
48 |
|
(value): If the new attribute value is a false value, then |
49 |
|
a FALSE value is set to the attribute. |
50 |
|
|
51 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
54 |
|
in its stringified format ("scoped name" as defined in the |
55 |
|
spec). Note that future version of this module should not use |
56 |
|
array references for type values and the |type_text| attribute |
57 |
|
should be made obsolete. |
58 |
|
(parse_char_string): Unescape attribute names. |
59 |
|
(check): Support for checking of whether inherited interfaces |
60 |
|
are actually defined or not. Support for checking of whether |
61 |
|
interface member identifiers are duplicated or not. |
62 |
|
($serialize_type): Scoped names are returned as is. A future |
63 |
|
version of this code should escape identifiers other than "DOMString", |
64 |
|
otherwise the idl_text would be non-conforming. |
65 |
|
|
66 |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
* WebIDL.pm (parse_char_string): Set line/column numbers |
* WebIDL.pm (parse_char_string): Set line/column numbers |