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