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