| 1 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* URIChecker.pm (check_iri_reference): Requires |
| 4 |
|
|Message::DOM::DOMImplementation|. |
| 5 |
|
|
| 6 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
| 7 |
|
|
| 8 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
| 9 |
|
|
| 10 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
| 11 |
|
|
| 12 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
| 13 |
|
|
| 14 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
| 15 |
|
values. |
| 16 |
|
|
| 17 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 18 |
|
|
| 19 |
|
* CacheManifest.pm: Support for new style of error |
| 20 |
|
reports. |
| 21 |
|
|
| 22 |
|
* HTML.pm.src: Set line=1, column=1 to the document node. |
| 23 |
|
|
| 24 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 25 |
|
|
| 26 |
|
* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag |
| 27 |
|
and URL checkers. Support for more error levels for bogus |
| 28 |
|
langauge tag and URL "standards". |
| 29 |
|
|
| 30 |
|
* LangTag.pm, URIChecker.pm: Support for new style error |
| 31 |
|
level reporting. |
| 32 |
|
|
| 33 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 34 |
|
|
| 35 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
| 36 |
|
|
| 37 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
| 38 |
|
specifying. Error types are revised. |
| 39 |
|
|
| 40 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 41 |
|
|
| 42 |
|
* ContentChecker.pm: All error reporting method calls are |
| 43 |
|
renewed. |
| 44 |
|
|
| 45 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 46 |
|
|
| 47 |
|
* HTML.pm.src: All error type names and "text" parameters |
| 48 |
|
are revised. Use new style for "level" specification. |
| 49 |
|
|
| 50 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
| 51 |
|
|
| 52 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
| 53 |
|
|
| 54 |
|
* WebIDL.pm (parse_char_string): Simplified error |
| 55 |
|
reporting process for broken ignored valuetype definition. |
| 56 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
| 57 |
|
|
| 58 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
| 59 |
|
|
| 60 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
| 61 |
|
terminal of the ScopedName is "DOMString", such that whether |
| 62 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
| 63 |
|
later. It is necessary to determine whether a |typedef| |
| 64 |
|
definition should be ignored or not. |
| 65 |
|
(parse_char_string): Unescape the identifier of |
| 66 |
|
exception members. |
| 67 |
|
($resolve): Return undef for builtin types and sequence<T> |
| 68 |
|
types (we might not have to do this, however...). |
| 69 |
|
(check): Support checking for Exceptions, Valuetypes, |
| 70 |
|
and Typedefs. |
| 71 |
|
($serialize_type): Support for "DOMString::::" syntax. |
| 72 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
| 73 |
|
is really "DOMString" (i.e. its internal representation |
| 74 |
|
is "::DOMString::"). |
| 75 |
|
|
| 76 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
| 77 |
|
|
| 78 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
| 79 |
|
for constant types in the |check| method. |
| 80 |
|
(check): Support for checking of attributes, operations, and |
| 81 |
|
arguments. |
| 82 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
| 83 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
| 84 |
|
code. |
| 85 |
|
|
| 86 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
| 87 |
|
|
| 88 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
| 89 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
| 90 |
|
was not work for hexadecimal numbers, because the "0" prefix |
| 91 |
|
matches to the [0-7]* part (as an empty string) and therefore |
| 92 |
|
it does not match with remaining "x..." part of a "0x..." integer |
| 93 |
|
literal. |
| 94 |
|
($get_type): It now returns a string, not an array reference, |
| 95 |
|
for regular types and |sequence| types (i.e. it in any case |
| 96 |
|
returns a string). |
| 97 |
|
($get_next_token): The second item in the array that represents |
| 98 |
|
a integer or float token is now a Perl number value, not the |
| 99 |
|
original string representation of the number. |
| 100 |
|
(check): Support for const value consistency checking. |
| 101 |
|
No extended attribute is defined for constants. |
| 102 |
|
(Node subclasses): Use simple strings rather than array references |
| 103 |
|
for default data type values. |
| 104 |
|
($serialize_type): Type values are now simple strings. |
| 105 |
|
(value): If the new attribute value is a false value, then |
| 106 |
|
a FALSE value is set to the attribute. |
| 107 |
|
|
| 108 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
| 109 |
|
|
| 110 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
| 111 |
|
in its stringified format ("scoped name" as defined in the |
| 112 |
|
spec). Note that future version of this module should not use |
| 113 |
|
array references for type values and the |type_text| attribute |
| 114 |
|
should be made obsolete. |
| 115 |
|
(parse_char_string): Unescape attribute names. |
| 116 |
|
(check): Support for checking of whether inherited interfaces |
| 117 |
|
are actually defined or not. Support for checking of whether |
| 118 |
|
interface member identifiers are duplicated or not. |
| 119 |
|
($serialize_type): Scoped names are returned as is. A future |
| 120 |
|
version of this code should escape identifiers other than "DOMString", |
| 121 |
|
otherwise the idl_text would be non-conforming. |
| 122 |
|
|
| 123 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
| 124 |
|
|
| 125 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
| 126 |
|
to generated nodes. Unescape identifiers. Extended attributes |
| 127 |
|
for Definition's were ignored. |
| 128 |
|
(append_child): Set |parent_node| attribute. |
| 129 |
|
(parent_node): New attribute. |
| 130 |
|
(check): Support interface/exception members. Support |
| 131 |
|
extended attributes. Support definition identifier uniqueness |
| 132 |
|
constraint. |
| 133 |
|
(qualified_name): New attribute. |
| 134 |
|
(Interface/Exception idl_text): Extended attributes were |
| 135 |
|
not prepended to the returned text. |
| 136 |
|
|
| 137 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
| 138 |
|
|
| 139 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
| 140 |
|
to interface object experimentally. s/shift/pop/g, shift |
| 141 |
|
would make things wrong. Support for interface forward |
| 142 |
|
declarations was missing. Broken interface declarations |
| 143 |
|
with no block were not ignored entirely. |
| 144 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
| 145 |
|
makes things easier. |
| 146 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
| 147 |
|
same name, this attribute returns a dead list of nodes for |
| 148 |
|
simplicity. |
| 149 |
|
(get_user_data, set_user_data): New methods. |
| 150 |
|
(Module idl_text): A SPACE character should be inserted |
| 151 |
|
before the |{| character. |
| 152 |
|
(Interface idl_text): Support for interface forward declarations. |
| 153 |
|
(is_forward_declaration): New attribute. |
| 154 |
|
|
| 155 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
| 156 |
|
|
| 157 |
|
* WebIDL.pm (type_text): Better serializer. |
| 158 |
|
|
| 159 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
| 160 |
|
|
| 161 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
| 162 |
|
it now can handle broken extended attributes and as such. |
| 163 |
|
|
| 164 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
| 165 |
|
|
| 166 |
|
* WebIDL.pm: Real support for extended attributes. |
| 167 |
|
Support for extended attributes with arguments. |
| 168 |
|
|
| 169 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
| 170 |
|
|
| 171 |
|
* WebIDL.pm: Support for |exception| syntax. |
| 172 |
|
(Interface->idl_text): Tentative support for inheritances. |
| 173 |
|
|
| 174 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
| 175 |
|
|
| 176 |
|
* WebIDL.pm: Hierarchical scoped name support was broken. |
| 177 |
|
Support for raises, setraises, and getraises syntaxes. |
| 178 |
|
|
| 179 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
| 180 |
|
|
| 181 |
|
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
| 182 |
|
proper support for types, extended attributes, and exceptions yet). |
| 183 |
|
WebIDL parser, version 1 (no support for exceptions yet, |
| 184 |
|
no proper support for extended attributes yet). |
| 185 |
|
|
| 186 |
|
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
| 187 |
|
|
| 188 |
|
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
| 189 |
|
|
| 190 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
| 191 |
|
|
| 192 |
|
* WebIDL.pm: Support for valuetype and const. |
| 193 |
|
|
| 194 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
| 195 |
|
|
| 196 |
|
* WebIDL.pm: New module. |
| 197 |
|
|
| 198 |
|
2008-06-15 Wakaba <wakaba@suika.fam.cx> |
| 199 |
|
|
| 200 |
|
* Makefile (Entities.html): URI changed. |
| 201 |
|
|
| 202 |
|
2008-06-08 Wakaba <wakaba@suika.fam.cx> |
| 203 |
|
|
| 204 |
|
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704). |
| 205 |
|
|
| 206 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
| 207 |
|
|
| 208 |
|
* HTML.pm.src (_get_next_token): A parse error was missing. |
| 209 |
|
|
| 210 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
| 211 |
|
|
| 212 |
|
* mklinktypelist.pl: rel=contact is no longer part of the HTML5 |
| 213 |
|
spec (commented out). (HTML5 revision 1711). |
| 214 |
|
|
| 215 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
| 216 |
|
|
| 217 |
|
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701). |
| 218 |
|
|
| 219 |
|
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered |
| 220 |
|
as UTF-16 (HTML5 revision 1701). |
| 221 |
|
|
| 222 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
| 223 |
|
|
| 224 |
|
* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision |
| 225 |
|
1692). |
| 226 |
|
|
| 227 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
| 228 |
|
|
| 229 |
|
* HTML.pm.src: The secondary insertion mode used when switching |
| 230 |
|
to foreign content is the "in body" insertion mode (HTML5 revision |
| 231 |
|
1696). |
| 232 |
|
|
| 233 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
| 234 |
|
|
| 235 |
|
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
| 236 |
|
revision 1697). |
| 237 |
|
|
| 238 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 239 |
|
|
| 240 |
|
* HTML.pm.src: Support for end-of-file token in foreign content |
| 241 |
|
insertion mode (HTML5 revision 1693). Update SVG camelCase |
| 242 |
|
attribute list (HTML5 revision 1700). <textarea> closes |
| 243 |
|
</select> (HTML5 revision 1699). More start tags close in |
| 244 |
|
foreign content insertion mode (HTML5 revision 1698). |
| 245 |
|
|
| 246 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 247 |
|
|
| 248 |
|
* HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665). |
| 249 |
|
|
| 250 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 251 |
|
|
| 252 |
|
* HTML.pm.src: More robust charset parameter detection (HTML5 |
| 253 |
|
revision 1674). |
| 254 |
|
|
| 255 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 256 |
|
|
| 257 |
|
* ContentType.pm: Support for image/vnd.microsoft.icon (HTML5 |
| 258 |
|
revision 1676). |
| 259 |
|
|
| 260 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 261 |
|
|
| 262 |
|
* HTML.pm.src: Ignore language part of public identifiers for |
| 263 |
|
quriks mode detection (HTML5 revision 1679). |
| 264 |
|
|
| 265 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 266 |
|
|
| 267 |
|
* HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5 |
| 268 |
|
revision 1685). |
| 269 |
|
|
| 270 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 271 |
|
|
| 272 |
|
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
| 273 |
|
revision 1684). |
| 274 |
|
|
| 275 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 276 |
|
|
| 277 |
|
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
| 278 |
|
work (HTML5 revision 1690). |
| 279 |
|
|
| 280 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
| 281 |
|
|
| 282 |
|
* HTML.pm.src (_tree_construction_main): Change handling of |
| 283 |
|
end tags in head insertion modes (HTML5 revision 1686). |
| 284 |
|
(parse_char_string): Bug fix for non-utf8 character string handlings. |
| 285 |
|
(parse_char_stream): |ungetc| does not work well for this context. |
| 286 |
|
|
| 287 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
| 288 |
|
|
| 289 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
| 290 |
|
|parse_byte_stream|. |
| 291 |
|
(parse_byte_stream): New method. |
| 292 |
|
|
| 293 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
| 294 |
|
|
| 295 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
| 296 |
|
by encoding layer error reporter. |
| 297 |
|
|
| 298 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
| 299 |
|
|
| 300 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
| 301 |
|
rather than converting the whole byte string and then parsing. |
| 302 |
|
Propagate errors in character encoding layer. |
| 303 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
| 304 |
|
|
| 305 |
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
| 306 |
|
|
| 307 |
* HTML.pm.src (parse_char_stream): New method. |
* HTML.pm.src (parse_char_stream): New method. |