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