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