2008-08-15 Wakaba
* HTML.pm.src: All error type names and "text" parameters
are revised. Use new style for "level" specification.
* mkhtmlparser.pl: Use new style for "level" specification.
2008-08-03 Wakaba
* WebIDL.pm (parse_char_string): Simplified error
reporting process for broken ignored valuetype definition.
(Valuetype idl_text): Support for special "DOMString" name.
2008-08-03 Wakaba
* WebIDL.pm ($get_scoped_name): Append "::::" if the last
terminal of the ScopedName is "DOMString", such that whether
the last part of the scoped name is "DOMString" or "_DOMString"
later. It is necessary to determine whether a |typedef|
definition should be ignored or not.
(parse_char_string): Unescape the identifier of
exception members.
($resolve): Return undef for builtin types and sequence
types (we might not have to do this, however...).
(check): Support checking for Exceptions, Valuetypes,
and Typedefs.
($serialize_type): Support for "DOMString::::" syntax.
(Typedef idl_text): Output Type as "DOMString" if it
is really "DOMString" (i.e. its internal representation
is "::DOMString::").
2008-08-03 Wakaba
* WebIDL.pm ($resolve): New code, based on resolve code
for constant types in the |check| method.
(check): Support for checking of attributes, operations, and
arguments.
(Attribute/Operation idl_text): Exception names in getraises,
setraises, and raises clauses is serizlied by |$serialize_type|
code.
2008-08-02 Wakaba
* WebIDL.pm ($integer): Order of selections are changed to match
hexadecimal numbers (the original pattern, taken from the spec,
was not work for hexadecimal numbers, because the "0" prefix
matches to the [0-7]* part (as an empty string) and therefore
it does not match with remaining "x..." part of a "0x..." integer
literal.
($get_type): It now returns a string, not an array reference,
for regular types and |sequence| types (i.e. it in any case
returns a string).
($get_next_token): The second item in the array that represents
a integer or float token is now a Perl number value, not the
original string representation of the number.
(check): Support for const value consistency checking.
No extended attribute is defined for constants.
(Node subclasses): Use simple strings rather than array references
for default data type values.
($serialize_type): Type values are now simple strings.
(value): If the new attribute value is a false value, then
a FALSE value is set to the attribute.
2008-08-02 Wakaba
* WebIDL.pm ($get_scoped_name): Now scoped names are stored
in its stringified format ("scoped name" as defined in the
spec). Note that future version of this module should not use
array references for type values and the |type_text| attribute
should be made obsolete.
(parse_char_string): Unescape attribute names.
(check): Support for checking of whether inherited interfaces
are actually defined or not. Support for checking of whether
interface member identifiers are duplicated or not.
($serialize_type): Scoped names are returned as is. A future
version of this code should escape identifiers other than "DOMString",
otherwise the idl_text would be non-conforming.
2008-08-02 Wakaba
* WebIDL.pm (parse_char_string): Set line/column numbers
to generated nodes. Unescape identifiers. Extended attributes
for Definition's were ignored.
(append_child): Set |parent_node| attribute.
(parent_node): New attribute.
(check): Support interface/exception members. Support
extended attributes. Support definition identifier uniqueness
constraint.
(qualified_name): New attribute.
(Interface/Exception idl_text): Extended attributes were
not prepended to the returned text.
2008-08-02 Wakaba
* WebIDL.pm (parse_char_string): Set line/column numbers
to interface object experimentally. s/shift/pop/g, shift
would make things wrong. Support for interface forward
declarations was missing. Broken interface declarations
with no block were not ignored entirely.
(Whatpm::WebIDL::Node): New abstract class. This class
makes things easier.
(child_nodes): New attribute. Unlike DOM's attribute with
same name, this attribute returns a dead list of nodes for
simplicity.
(get_user_data, set_user_data): New methods.
(Module idl_text): A SPACE character should be inserted
before the |{| character.
(Interface idl_text): Support for interface forward declarations.
(is_forward_declaration): New attribute.
2008-07-19 Wakaba
* WebIDL.pm (type_text): Better serializer.
2008-07-19 Wakaba
* WebIDL.pm: Revise forward-compatible parsing so that
it now can handle broken extended attributes and as such.
2008-07-19 Wakaba
* WebIDL.pm: Real support for extended attributes.
Support for extended attributes with arguments.
2008-07-19 Wakaba
* WebIDL.pm: Support for |exception| syntax.
(Interface->idl_text): Tentative support for inheritances.
2008-07-19 Wakaba
* WebIDL.pm: Hierarchical scoped name support was broken.
Support for raises, setraises, and getraises syntaxes.
2008-07-18 Wakaba
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no
proper support for types, extended attributes, and exceptions yet).
WebIDL parser, version 1 (no support for exceptions yet,
no proper support for extended attributes yet).
2008-07-09 Wakaba
* WebIDL.pm (parse_char_string): Support for basic attribute syntax.
2008-06-29 Wakaba
* WebIDL.pm: Support for valuetype and const.
2008-06-29 Wakaba
* WebIDL.pm: New module.
2008-06-15 Wakaba
* Makefile (Entities.html): URI changed.
2008-06-08 Wakaba
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704).
2008-06-01 Wakaba
* HTML.pm.src (_get_next_token): A parse error was missing.
2008-06-01 Wakaba
* mklinktypelist.pl: rel=contact is no longer part of the HTML5
spec (commented out). (HTML5 revision 1711).
2008-05-25 Wakaba
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered
as UTF-16 (HTML5 revision 1701).
2008-05-25 Wakaba
* HTML.pm.src: Support for in (HTML5 revision
1692).
2008-05-25 Wakaba
* HTML.pm.src: The secondary insertion mode used when switching
to foreign content is the "in body" insertion mode (HTML5 revision
1696).
2008-05-25 Wakaba
* HTML.pm.src: Don't raise parse error for (HTML5
revision 1697).
2008-05-24 Wakaba
* HTML.pm.src: Support for end-of-file token in foreign content
insertion mode (HTML5 revision 1693). Update SVG camelCase
attribute list (HTML5 revision 1700).