| 1 |
|
2008-08-15 Wakaba <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 112 |
|
|
| 113 |
|
* WebIDL.pm (type_text): Better serializer. |
| 114 |
|
|
| 115 |
|
2008-07-19 Wakaba <[email protected]> |
| 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 <[email protected]> |
2008-07-19 Wakaba <[email protected]> |
| 121 |
|
|
| 122 |
* WebIDL.pm: Real support for extended attributes. |
* WebIDL.pm: Real support for extended attributes. |