1 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
4 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
5 |
|
no longer does the tokenizer have to push back next input |
6 |
|
characters in those states. |
7 |
|
|
8 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
11 |
|
into four states so that no longer does the tokenizer have to push |
12 |
|
back next input characters in that state. |
13 |
|
|
14 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
17 |
|
which can be used to insert some wrapper between the character |
18 |
|
stream handle and the tokenizer. (It is currently not supported |
19 |
|
for |set_inner_html| for |Element|s). |
20 |
|
|
21 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
24 |
|
|
25 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* ContentChecker.pm: Support for charset-layer error levels. |
28 |
|
|
29 |
|
* HTML.pm.src: Don't specify |text| argument for the |
30 |
|
|chardecode:fallback| error, since it is not the encoding |
31 |
|
being used alternatively. |
32 |
|
|
33 |
|
2008-09-06 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141). |
36 |
|
|
37 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |
40 |
|
|
41 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* HTML.pm.src: Bug fix and sync with the spec with regard |
44 |
|
to after after frameset insertion mode processing (HTML5 |
45 |
|
revision 1909). Note that the implementation was wrong |
46 |
|
per the old spec before the r1909 changes. |
47 |
|
|
48 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* HTMLTable.pm: scope=auto algorithm fix synced with the |
51 |
|
spec (HTML5 revision 2093). |
52 |
|
($process_row): Algorithm step numbers synced with the |
53 |
|
spec (HTML5 revision 2092). |
54 |
|
|
55 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
58 |
|
revision 2094). |
59 |
|
|
60 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096). |
63 |
|
|
64 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* HTML.pm.src: '"' and "'" at the end of attribute |
67 |
|
name (after another attribute) now raise parse error (HTML5 |
68 |
|
revision 2123). Empty unquoted attribute values are no |
69 |
|
longer allowed (HTML5 revision 2122). |
70 |
|
|
71 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5 |
74 |
|
revision 2130). |
75 |
|
|
76 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* ContentChecker.pm: |xml:lang| attribute value must be same |
79 |
|
as |lang| attribute value for HTML elements (HTML5 revision 2062 |
80 |
|
and so on). |
81 |
|
|
82 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* ContentChecker.pm: Error level definition for |xml_id_error| |
85 |
|
was missing. |
86 |
|
|
87 |
|
* URIChecker.pm: The end of the URL should be marked as the |
88 |
|
error location for an empty path error. The position |
89 |
|
between the userinfo and the port components should be |
90 |
|
marked as the error location for an empty host error. |
91 |
|
|
92 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* URIChecker.pm: Set parameters representing where in the |
95 |
|
value the error occurs for errors. Report unknown |
96 |
|
address format error in warning level, since address |
97 |
|
formats are rarely added. Path segments starting with "/.." |
98 |
|
were misinterpreted as a dot-segment. |
99 |
|
|
100 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* URIChecker.pm (check_iri_reference): Requires |
103 |
|
|Message::DOM::DOMImplementation|. |
104 |
|
|
105 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
108 |
|
|
109 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
110 |
|
|
111 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
114 |
|
values. |
115 |
|
|
116 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* CacheManifest.pm: Support for new style of error |
119 |
|
reports. |
120 |
|
|
121 |
|
* HTML.pm.src: Set line=1, column=1 to the document node. |
122 |
|
|
123 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag |
126 |
|
and URL checkers. Support for more error levels for bogus |
127 |
|
langauge tag and URL "standards". |
128 |
|
|
129 |
|
* LangTag.pm, URIChecker.pm: Support for new style error |
130 |
|
level reporting. |
131 |
|
|
132 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
135 |
|
|
136 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
137 |
|
specifying. Error types are revised. |
138 |
|
|
139 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* ContentChecker.pm: All error reporting method calls are |
142 |
|
renewed. |
143 |
|
|
144 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* HTML.pm.src: All error type names and "text" parameters |
147 |
|
are revised. Use new style for "level" specification. |
148 |
|
|
149 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
150 |
|
|
151 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* WebIDL.pm (parse_char_string): Simplified error |
154 |
|
reporting process for broken ignored valuetype definition. |
155 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
156 |
|
|
157 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
160 |
|
terminal of the ScopedName is "DOMString", such that whether |
161 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
162 |
|
later. It is necessary to determine whether a |typedef| |
163 |
|
definition should be ignored or not. |
164 |
|
(parse_char_string): Unescape the identifier of |
165 |
|
exception members. |
166 |
|
($resolve): Return undef for builtin types and sequence<T> |
167 |
|
types (we might not have to do this, however...). |
168 |
|
(check): Support checking for Exceptions, Valuetypes, |
169 |
|
and Typedefs. |
170 |
|
($serialize_type): Support for "DOMString::::" syntax. |
171 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
172 |
|
is really "DOMString" (i.e. its internal representation |
173 |
|
is "::DOMString::"). |
174 |
|
|
175 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
178 |
|
for constant types in the |check| method. |
179 |
|
(check): Support for checking of attributes, operations, and |
180 |
|
arguments. |
181 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
182 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
183 |
|
code. |
184 |
|
|
185 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
188 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
189 |
|
was not work for hexadecimal numbers, because the "0" prefix |
190 |
|
matches to the [0-7]* part (as an empty string) and therefore |
191 |
|
it does not match with remaining "x..." part of a "0x..." integer |
192 |
|
literal. |
193 |
|
($get_type): It now returns a string, not an array reference, |
194 |
|
for regular types and |sequence| types (i.e. it in any case |
195 |
|
returns a string). |
196 |
|
($get_next_token): The second item in the array that represents |
197 |
|
a integer or float token is now a Perl number value, not the |
198 |
|
original string representation of the number. |
199 |
|
(check): Support for const value consistency checking. |
200 |
|
No extended attribute is defined for constants. |
201 |
|
(Node subclasses): Use simple strings rather than array references |
202 |
|
for default data type values. |
203 |
|
($serialize_type): Type values are now simple strings. |
204 |
|
(value): If the new attribute value is a false value, then |
205 |
|
a FALSE value is set to the attribute. |
206 |
|
|
207 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
210 |
|
in its stringified format ("scoped name" as defined in the |
211 |
|
spec). Note that future version of this module should not use |
212 |
|
array references for type values and the |type_text| attribute |
213 |
|
should be made obsolete. |
214 |
|
(parse_char_string): Unescape attribute names. |
215 |
|
(check): Support for checking of whether inherited interfaces |
216 |
|
are actually defined or not. Support for checking of whether |
217 |
|
interface member identifiers are duplicated or not. |
218 |
|
($serialize_type): Scoped names are returned as is. A future |
219 |
|
version of this code should escape identifiers other than "DOMString", |
220 |
|
otherwise the idl_text would be non-conforming. |
221 |
|
|
222 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
225 |
|
to generated nodes. Unescape identifiers. Extended attributes |
226 |
|
for Definition's were ignored. |
227 |
|
(append_child): Set |parent_node| attribute. |
228 |
|
(parent_node): New attribute. |
229 |
|
(check): Support interface/exception members. Support |
230 |
|
extended attributes. Support definition identifier uniqueness |
231 |
|
constraint. |
232 |
|
(qualified_name): New attribute. |
233 |
|
(Interface/Exception idl_text): Extended attributes were |
234 |
|
not prepended to the returned text. |
235 |
|
|
236 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
239 |
|
to interface object experimentally. s/shift/pop/g, shift |
240 |
|
would make things wrong. Support for interface forward |
241 |
|
declarations was missing. Broken interface declarations |
242 |
|
with no block were not ignored entirely. |
243 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
244 |
|
makes things easier. |
245 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
246 |
|
same name, this attribute returns a dead list of nodes for |
247 |
|
simplicity. |
248 |
|
(get_user_data, set_user_data): New methods. |
249 |
|
(Module idl_text): A SPACE character should be inserted |
250 |
|
before the |{| character. |
251 |
|
(Interface idl_text): Support for interface forward declarations. |
252 |
|
(is_forward_declaration): New attribute. |
253 |
|
|
254 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* WebIDL.pm (type_text): Better serializer. |
257 |
|
|
258 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
259 |
|
|
260 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
261 |
|
it now can handle broken extended attributes and as such. |
262 |
|
|
263 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
264 |
|
|
265 |
|
* WebIDL.pm: Real support for extended attributes. |
266 |
|
Support for extended attributes with arguments. |
267 |
|
|
268 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
* WebIDL.pm: Support for |exception| syntax. |
* WebIDL.pm: Support for |exception| syntax. |