1 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTMLTable.pm: scope=auto algorithm fix synced with the |
4 |
|
spec (HTML5 revision 2093). |
5 |
|
($process_row): Algorithm step numbers synced with the |
6 |
|
spec (HTML5 revision 2092). |
7 |
|
|
8 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
11 |
|
revision 2094). |
12 |
|
|
13 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096). |
16 |
|
|
17 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* HTML.pm.src: '"' and "'" at the end of attribute |
20 |
|
name (after another attribute) now raise parse error (HTML5 |
21 |
|
revision 2123). Empty unquoted attribute values are no |
22 |
|
longer allowed (HTML5 revision 2122). |
23 |
|
|
24 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5 |
27 |
|
revision 2130). |
28 |
|
|
29 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* ContentChecker.pm: |xml:lang| attribute value must be same |
32 |
|
as |lang| attribute value for HTML elements (HTML5 revision 2062 |
33 |
|
and so on). |
34 |
|
|
35 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* ContentChecker.pm: Error level definition for |xml_id_error| |
38 |
|
was missing. |
39 |
|
|
40 |
|
* URIChecker.pm: The end of the URL should be marked as the |
41 |
|
error location for an empty path error. The position |
42 |
|
between the userinfo and the port components should be |
43 |
|
marked as the error location for an empty host error. |
44 |
|
|
45 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* URIChecker.pm: Set parameters representing where in the |
48 |
|
value the error occurs for errors. Report unknown |
49 |
|
address format error in warning level, since address |
50 |
|
formats are rarely added. Path segments starting with "/.." |
51 |
|
were misinterpreted as a dot-segment. |
52 |
|
|
53 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* URIChecker.pm (check_iri_reference): Requires |
56 |
|
|Message::DOM::DOMImplementation|. |
57 |
|
|
58 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
61 |
|
|
62 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
63 |
|
|
64 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
67 |
|
values. |
68 |
|
|
69 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* CacheManifest.pm: Support for new style of error |
72 |
|
reports. |
73 |
|
|
74 |
|
* HTML.pm.src: Set line=1, column=1 to the document node. |
75 |
|
|
76 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag |
79 |
|
and URL checkers. Support for more error levels for bogus |
80 |
|
langauge tag and URL "standards". |
81 |
|
|
82 |
|
* LangTag.pm, URIChecker.pm: Support for new style error |
83 |
|
level reporting. |
84 |
|
|
85 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
88 |
|
|
89 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
90 |
|
specifying. Error types are revised. |
91 |
|
|
92 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* ContentChecker.pm: All error reporting method calls are |
95 |
|
renewed. |
96 |
|
|
97 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* HTML.pm.src: All error type names and "text" parameters |
100 |
|
are revised. Use new style for "level" specification. |
101 |
|
|
102 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
103 |
|
|
104 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* WebIDL.pm (parse_char_string): Simplified error |
107 |
|
reporting process for broken ignored valuetype definition. |
108 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
109 |
|
|
110 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
113 |
|
terminal of the ScopedName is "DOMString", such that whether |
114 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
115 |
|
later. It is necessary to determine whether a |typedef| |
116 |
|
definition should be ignored or not. |
117 |
|
(parse_char_string): Unescape the identifier of |
118 |
|
exception members. |
119 |
|
($resolve): Return undef for builtin types and sequence<T> |
120 |
|
types (we might not have to do this, however...). |
121 |
|
(check): Support checking for Exceptions, Valuetypes, |
122 |
|
and Typedefs. |
123 |
|
($serialize_type): Support for "DOMString::::" syntax. |
124 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
125 |
|
is really "DOMString" (i.e. its internal representation |
126 |
|
is "::DOMString::"). |
127 |
|
|
128 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
131 |
|
for constant types in the |check| method. |
132 |
|
(check): Support for checking of attributes, operations, and |
133 |
|
arguments. |
134 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
135 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
136 |
|
code. |
137 |
|
|
138 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
141 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
142 |
|
was not work for hexadecimal numbers, because the "0" prefix |
143 |
|
matches to the [0-7]* part (as an empty string) and therefore |
144 |
|
it does not match with remaining "x..." part of a "0x..." integer |
145 |
|
literal. |
146 |
|
($get_type): It now returns a string, not an array reference, |
147 |
|
for regular types and |sequence| types (i.e. it in any case |
148 |
|
returns a string). |
149 |
|
($get_next_token): The second item in the array that represents |
150 |
|
a integer or float token is now a Perl number value, not the |
151 |
|
original string representation of the number. |
152 |
|
(check): Support for const value consistency checking. |
153 |
|
No extended attribute is defined for constants. |
154 |
|
(Node subclasses): Use simple strings rather than array references |
155 |
|
for default data type values. |
156 |
|
($serialize_type): Type values are now simple strings. |
157 |
|
(value): If the new attribute value is a false value, then |
158 |
|
a FALSE value is set to the attribute. |
159 |
|
|
160 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
163 |
|
in its stringified format ("scoped name" as defined in the |
164 |
|
spec). Note that future version of this module should not use |
165 |
|
array references for type values and the |type_text| attribute |
166 |
|
should be made obsolete. |
167 |
|
(parse_char_string): Unescape attribute names. |
168 |
|
(check): Support for checking of whether inherited interfaces |
169 |
|
are actually defined or not. Support for checking of whether |
170 |
|
interface member identifiers are duplicated or not. |
171 |
|
($serialize_type): Scoped names are returned as is. A future |
172 |
|
version of this code should escape identifiers other than "DOMString", |
173 |
|
otherwise the idl_text would be non-conforming. |
174 |
|
|
175 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
178 |
|
to generated nodes. Unescape identifiers. Extended attributes |
179 |
|
for Definition's were ignored. |
180 |
|
(append_child): Set |parent_node| attribute. |
181 |
|
(parent_node): New attribute. |
182 |
|
(check): Support interface/exception members. Support |
183 |
|
extended attributes. Support definition identifier uniqueness |
184 |
|
constraint. |
185 |
|
(qualified_name): New attribute. |
186 |
|
(Interface/Exception idl_text): Extended attributes were |
187 |
|
not prepended to the returned text. |
188 |
|
|
189 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
192 |
|
to interface object experimentally. s/shift/pop/g, shift |
193 |
|
would make things wrong. Support for interface forward |
194 |
|
declarations was missing. Broken interface declarations |
195 |
|
with no block were not ignored entirely. |
196 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
197 |
|
makes things easier. |
198 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
199 |
|
same name, this attribute returns a dead list of nodes for |
200 |
|
simplicity. |
201 |
|
(get_user_data, set_user_data): New methods. |
202 |
|
(Module idl_text): A SPACE character should be inserted |
203 |
|
before the |{| character. |
204 |
|
(Interface idl_text): Support for interface forward declarations. |
205 |
|
(is_forward_declaration): New attribute. |
206 |
|
|
207 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* WebIDL.pm (type_text): Better serializer. |
210 |
|
|
211 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
214 |
|
it now can handle broken extended attributes and as such. |
215 |
|
|
216 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* WebIDL.pm: Real support for extended attributes. |
219 |
|
Support for extended attributes with arguments. |
220 |
|
|
221 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
222 |
|
|
223 |
|
* WebIDL.pm: Support for |exception| syntax. |
224 |
|
(Interface->idl_text): Tentative support for inheritances. |
225 |
|
|
226 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* WebIDL.pm: Hierarchical scoped name support was broken. |
229 |
|
Support for raises, setraises, and getraises syntaxes. |
230 |
|
|
231 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
234 |
|
proper support for types, extended attributes, and exceptions yet). |
235 |
|
WebIDL parser, version 1 (no support for exceptions yet, |
236 |
|
no proper support for extended attributes yet). |
237 |
|
|
238 |
|
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
239 |
|
|
240 |
|
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
241 |
|
|
242 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* WebIDL.pm: Support for valuetype and const. |
245 |
|
|
246 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* WebIDL.pm: New module. |
249 |
|
|
250 |
|
2008-06-15 Wakaba <wakaba@suika.fam.cx> |
251 |
|
|
252 |
|
* Makefile (Entities.html): URI changed. |
253 |
|
|
254 |
|
2008-06-08 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704). |
257 |
|
|
258 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
259 |
|
|
260 |
|
* HTML.pm.src (_get_next_token): A parse error was missing. |
261 |
|
|
262 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
263 |
|
|
264 |
|
* mklinktypelist.pl: rel=contact is no longer part of the HTML5 |
265 |
|
spec (commented out). (HTML5 revision 1711). |
266 |
|
|
267 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701). |
270 |
|
|
271 |
|
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered |
272 |
|
as UTF-16 (HTML5 revision 1701). |
273 |
|
|
274 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
|
* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision |
277 |
|
1692). |
278 |
|
|
279 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* HTML.pm.src: The secondary insertion mode used when switching |
282 |
|
to foreign content is the "in body" insertion mode (HTML5 revision |
283 |
|
1696). |
284 |
|
|
285 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
286 |
|
|
287 |
|
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
288 |
|
revision 1697). |
289 |
|
|
290 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
291 |
|
|
292 |
|
* HTML.pm.src: Support for end-of-file token in foreign content |
293 |
|
insertion mode (HTML5 revision 1693). Update SVG camelCase |
294 |
|
attribute list (HTML5 revision 1700). <textarea> closes |
295 |
|
</select> (HTML5 revision 1699). More start tags close in |
296 |
|
foreign content insertion mode (HTML5 revision 1698). |
297 |
|
|
298 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
299 |
|
|
300 |
|
* HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665). |
301 |
|
|
302 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
303 |
|
|
304 |
|
* HTML.pm.src: More robust charset parameter detection (HTML5 |
305 |
|
revision 1674). |
306 |
|
|
307 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
308 |
|
|
309 |
|
* ContentType.pm: Support for image/vnd.microsoft.icon (HTML5 |
310 |
|
revision 1676). |
311 |
|
|
312 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
313 |
|
|
314 |
|
* HTML.pm.src: Ignore language part of public identifiers for |
315 |
|
quriks mode detection (HTML5 revision 1679). |
316 |
|
|
317 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
319 |
|
* HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5 |
320 |
|
revision 1685). |
321 |
|
|
322 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
323 |
|
|
324 |
|
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
325 |
|
revision 1684). |
326 |
|
|
327 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
330 |
|
work (HTML5 revision 1690). |
331 |
|
|
332 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
333 |
|
|
334 |
|
* HTML.pm.src (_tree_construction_main): Change handling of |
335 |
|
end tags in head insertion modes (HTML5 revision 1686). |
336 |
|
(parse_char_string): Bug fix for non-utf8 character string handlings. |
337 |
|
(parse_char_stream): |ungetc| does not work well for this context. |
338 |
|
|
339 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
340 |
|
|
341 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
342 |
|
|parse_byte_stream|. |
343 |
|
(parse_byte_stream): New method. |
344 |
|
|
345 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
346 |
|
|
347 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
348 |
|
by encoding layer error reporter. |
349 |
|
|
350 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
351 |
|
|
352 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
353 |
|
rather than converting the whole byte string and then parsing. |
354 |
|
Propagate errors in character encoding layer. |
355 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
356 |
|
|
357 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* HTML.pm.src (parse_char_stream): New method. |
360 |
|
(parse_char_string): This method is now defined as an invocation |
361 |
|
of the |parse_char_stream| method. |
362 |
|
|
363 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
364 |
|
|
365 |
|
* HTML.pm.src (parse_byte_string): Report various status |
366 |
|
of the sniffing as info-level errors. Support for new |
367 |
|
decoding framework in parser resestting. |
368 |
|
(new): Various default error levels were not set. |
369 |
|
|
370 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
371 |
|
|
372 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
373 |
|
algorithm, except for the actual sniffing, is implemented |
374 |
|
with new framework with Message::Charset::Info. |
375 |
|
|
376 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
377 |
|
|
378 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
379 |
|
URIs in fallback section (HTML5 revision 1596). |
380 |
|
|
381 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
382 |
|
|
383 |
|
* Makefile (Entities.html): URI has changed. |
384 |
|
|
385 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
386 |
|
|
387 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
388 |
|
1553). |
389 |
|
|
390 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
391 |
|
|
392 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
393 |
|
no longer table elements, but table objects returned |
394 |
|
by Whatpm::HTMLTable. |
395 |
|
|
396 |
|
* HTMLTable.pm (form_table): Return table element node |
397 |
|
as |$table->{element}|. |
398 |
|
(assign_header): Support for the |headers=""| attribute. |
399 |
|
|
400 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
401 |
|
|
402 |
|
* HTMLTable.pm (assign_header): New function; first version |
403 |
|
with no support for headers="". |
404 |
|
(form_table): Include table width and height to the returned |
405 |
|
table object for covenience. Indexing in column assignement was wrong. |
406 |
|
Set whether a data cell is empty or not for convenience. |
407 |
|
|
408 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
409 |
|
|
410 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
411 |
|
|
412 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
414 |
|
* HTMLTable.pm: How table model errors are detected is |
415 |
|
changed (HTML5 revision 1387). |
416 |
|
|
417 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
418 |
|
|
419 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
420 |
|
to the end of the table (HTML5 revision 1380). |
421 |
|
|
422 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
423 |
|
|
424 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
425 |
|
of 1-based (HTML5 revision 1376). |
426 |
|
|
427 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
428 |
|
|
429 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
430 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
431 |
|
revision 1288). |
432 |
|
|
433 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
434 |
|
|
435 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
436 |
|
1282). |
437 |
|
|
438 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
439 |
|
|
440 |
|
* ContentChecker.pm: Support for global attributes. |
441 |
|
Status of XML specs are added. |
442 |
|
|
443 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
444 |
|
|
445 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
446 |
|
and |ref=""| attribute (referent element type checking). |
447 |
|
|
448 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
449 |
|
|
450 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
451 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
452 |
|
knowledge). Line number counting was wrong for LF-only |
453 |
|
documents. |
454 |
|
|
455 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
456 |
|
|
457 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
458 |
|
character (HTML5 revision 1263). |
459 |
|
|
460 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
461 |
|
|
462 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
463 |
|
definition for |AElig;| was missing). |
464 |
|
|
465 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
466 |
|
|
467 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
468 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
469 |
|
|
470 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
471 |
|
|
472 |
|
* HTML.pm.src: List of element names that close foreign content |
473 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
474 |
|
|
475 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
478 |
|
elements (HTML5 revision 1410). |
479 |
|
|
480 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
481 |
|
|
482 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
483 |
|
revision 1406). |
484 |
|
|
485 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
486 |
|
|
487 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
488 |
|
elements (HTML5 revision 1404 and 1420). |
489 |
|
|
490 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
491 |
|
|
492 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
493 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
494 |
|
are removed. |
495 |
|
|
496 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
497 |
|
|
498 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
499 |
|
are raised is changed (HTML5 revision 1404). |
500 |
|
|
501 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
502 |
|
|
503 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
504 |
|
|
505 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
506 |
|
|
507 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
508 |
|
replaced by constants representing element category. |
509 |
|
|
510 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
511 |
|
|
512 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
513 |
|
for error reporting. (This is a preparation for using constant |
514 |
|
value for ->[1].) |
515 |
|
|
516 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
517 |
|
|
518 |
|
* RDFXML.pm: Typo fixed. |
519 |
|
|
520 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
521 |
|
|
522 |
|
* ContentChecker.pm: |fact_level| is now treated |
523 |
|
as same as |must_level|, i.e. level = |m|. |
524 |
|
(check_element): Make list of URIs in the DOM. |
525 |
|
|
526 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
527 |
|
|
528 |
|
* RDFXML.pm: Language accessor implemented. |
529 |
|
Local (null-namespace) attribute support. |
530 |
|
|
531 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
532 |
|
|
533 |
|
* RDFXML.pm: Factored out ID checking code. |
534 |
|
|
535 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
536 |
|
|
537 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
538 |
|
and URI attributes is implemented. Warn if unknown |
539 |
|
value is used in rdf:parseType="" attribute. |
540 |
|
|
541 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
542 |
|
|
543 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
544 |
|
|
545 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
546 |
|
are now resolved. |
547 |
|
|
548 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
549 |
|
|
550 |
|
* ContentChecker.pm: RDF reification implemented. |
551 |
|
|
552 |
|
* RDFXML.pm: undef vs false bug fixed. |
553 |
|
Reification implemented. |
554 |
|
|
555 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
556 |
|
|
557 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
558 |
|
The |node| arguments are added for |ontriple| calls. |
559 |
|
Too many "attribute not allowed" errors were raised. |
560 |
|
|
561 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
562 |
|
element. |
563 |
|
|
564 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
565 |
|
|
566 |
|
* RDFXML.pm: New module. |
567 |
|
|
568 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
569 |
|
|
570 |
|
* HTML.pm.src (set_inner_html): Line/column number |
571 |
|
code was old one yet. |
572 |
|
|
573 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
574 |
|
|
575 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
576 |
|
errors. Line/column markings for DOCTYPE, comment, and |
577 |
|
character tokens are reintroduced; otherwise, |
578 |
|
error location for "not HTML5" error and errors |
579 |
|
for implied elements are not attached. |
580 |
|
|
581 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
582 |
|
|
583 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
584 |
|
|
585 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
586 |
|
(value): Setter implemented. |
587 |
|
|
588 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
589 |
|
|
590 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
591 |
|
|
592 |
|
* HTML.pm.src: Unused line/column markings are removed. |
593 |
|
|
594 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
595 |
|
|
596 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
597 |
|
flag, which is no longer used. |
598 |
|
|
599 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
600 |
|
|
601 |
|
* HTML.pm.src: Set line/column information to element nodes. |
602 |
|
|
603 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
604 |
|
and !!!insert-element-t): Set line/column information to |
605 |
|
element nodes. |
606 |
|
|
607 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
608 |
|
|
609 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
610 |
|
in "<?", "<>", or "</>" should be the error point. |
611 |
|
|
612 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
613 |
|
|
614 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
615 |
|
|
616 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
617 |
|
|
618 |
|
* HTML.pm.src: Token-level precious error reporting. |
619 |
|
|
620 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
621 |
|
|
622 |
|
* HTML.pm.src: Preparation for more precious error point |
623 |
|
reporting. |
624 |
|
|
625 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
626 |
|
|
627 |
|
* HTML.pm.src: Error type revised. |
628 |
|
|
629 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
630 |
|
|
631 |
|
* HTML.pm.src: Similar codes are merged together, again. |
632 |
|
|
633 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
634 |
|
|
635 |
|
* HTML.pm.src: Similar codes are merged together. |
636 |
|
|
637 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
638 |
|
|
639 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
640 |
|
|
641 |
|
* HTML.pm.src: Code refined. |
642 |
|
|
643 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
644 |
|
|
645 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
646 |
|
revision 1348). Note that I really don't know this makes |
647 |
|
any difference in the black-box behavior of the parser. |
648 |
|
|
649 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
650 |
|
|
651 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
652 |
|
revision 1348). |
653 |
|
|
654 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
655 |
|
|
656 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
657 |
|
|
658 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
659 |
|
|
660 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
661 |
|
|
662 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
663 |
|
|
664 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
665 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
666 |
|
revision 1342). |
667 |
|
|
668 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
669 |
|
|
670 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
671 |
|
in non-tainted <table>s (HTML5 revision 1336). |
672 |
|
|
673 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
674 |
|
|
675 |
|
* HTML.pm.src: Ignore white space characters between <html> |
676 |
|
and <head> (HTML5 revision 1332). |
677 |
|
|
678 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
679 |
|
|
680 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
681 |
|
white space (HTML5 revision 1331). |
682 |
|
|
683 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
684 |
|
|
685 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
686 |
|
element (HTML5 revision 1330). |
687 |
|
|
688 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
689 |
|
|
690 |
|
* HTML.pm.src: <title> is always appended to the current |
691 |
|
element (HTML5 revision 1328). |
692 |
|
|
693 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
694 |
|
|
695 |
|
* HTML.pm.src: White space in tainted tables are moved |
696 |
|
into foster parents (HTML5 revision 1326). |
697 |
|
|
698 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
699 |
|
|
700 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
701 |
|
revision 1321). |
702 |
|
|
703 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
704 |
|
|
705 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
706 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
707 |
|
all of HTML5 revision 1320 changes. |
708 |
|
|
709 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
710 |
|
|
711 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
712 |
|
tags (HTML5 revision 1320). |
713 |
|
|
714 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
715 |
|
|
716 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
717 |
|
|
718 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
719 |
|
|
720 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
721 |
|
could not be reached so that it is now removed (HTML5 revision |
722 |
|
1320). |
723 |
|
|
724 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
725 |
|
|
726 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
727 |
|
to align with new spec text (HTML5 revision 1320). |
728 |
|
|
729 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
730 |
|
|
731 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
732 |
|
have had no harm in theory. |
733 |
|
|
734 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
735 |
|
|
736 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
737 |
|
case is split from other end tags for the preparation |
738 |
|
of implementing HTML revision 1320. |
739 |
|
|
740 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
741 |
|
|
742 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
743 |
|
revision 1320). |
744 |
|
|
745 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
746 |
|
|
747 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
748 |
|
and "div" (HTML5 revision 1318). Add comments to where |
749 |
|
|form| pointer association codes should be inserted (HTML5 revision |
750 |
|
1319). |
751 |
|
|
752 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
753 |
|
|
754 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
755 |
|
|
756 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
757 |
|
|
758 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
759 |
|
other token type, there are), it is replaced by a |die| statement. |
760 |
|
|
761 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
762 |
|
|
763 |
|
* HTML.pm.src: Typo fixed. |
764 |
|
|
765 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
766 |
|
|
767 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
768 |
|
doctypes were not uppercased for comparison. |
769 |
|
|
770 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
771 |
|
|
772 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
773 |
|
are added. |
774 |
|
|
775 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
776 |
|
|
777 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
778 |
|
are set. Cases that are unlikely reached are noted as so. |
779 |
|
|
780 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
781 |
|
|
782 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
783 |
|
|
784 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
785 |
|
|
786 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
787 |
|
|
788 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
789 |
|
for simplicity. |
790 |
|
|
791 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
792 |
|
|
793 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
794 |
|
revision 1307). |
795 |
|
|
796 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
797 |
|
|
798 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
799 |
|
is set are changed (HTML5 revision 1305). |
800 |
|
|
801 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
802 |
|
|
803 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
804 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
805 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
806 |
|
of attribute value literals (HTML5 revision 1296). More |
807 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
808 |
|
between attributes and ban attribute names or unquoted |
809 |
|
attribute values containing single or double quotes (HTML5 |
810 |
|
revision 1303). |
811 |
|
|
812 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
813 |
|
|
814 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
815 |
|
and related errors unless it is an HTML document (though the spec |
816 |
|
is unclear on whether it is applied to XHTML document). |
817 |
|
|
818 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
819 |
|
are added. |
820 |
|
|
821 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
822 |
|
|
823 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
824 |
|
|
825 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
826 |
|
|
827 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
828 |
|
|
829 |
|
* HTML.pm.src: |charset| in |content| attribute is |
830 |
|
case-insensitive (HTML5 revision 1270). |
831 |
|
|
832 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
833 |
|
|
834 |
|
* ContentChecker.pm: New status constants are added. |
835 |
|
($ElementDefault): |status| added. |
836 |
|
(check_element): Err for non-standard or deprecated elements. |
837 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
838 |
|
|
839 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
840 |
|
|
841 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
842 |
|
|
843 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
844 |
|
|
845 |
|
* ContentChecker.pm (check_element): Element standardized |
846 |
|
status information is now dispatched. |
847 |
|
|
848 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
849 |
|
|
850 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
851 |
|
problem by adding some more arguments. |
852 |
|
|
853 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
854 |
|
|
855 |
|
* ContentChecker.pm (check_element): Use context of |
856 |
|
container-for-the-purpose-of-content-model element (not transparent |
857 |
|
element) for |check_child_element| calling and significant |
858 |
|
text flag marking. This reintroduces |<del>|-and-significant |
859 |
|
problem again. |
860 |
|
|
861 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
862 |
|
|
863 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
864 |
|
elements ignored for the purpose of phase changes in |
865 |
|
content model checking. |
866 |
|
|
867 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
868 |
|
|
869 |
|
* ContentChecker.pm (check_element): In-element state |
870 |
|
was not properly managed for transparent cases. |
871 |
|
|
872 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
873 |
|
|
874 |
|
* ContentChecker.pm (check_element): Support for |video| |
875 |
|
and |audio| as semi-transparent elements. |
876 |
|
|
877 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
878 |
|
|
879 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
880 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
881 |
|
Support for |html:object| as a semi-transparent element. |
882 |
|
|
883 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
884 |
|
|
885 |
|
* ContentChecker.pm (check_element): The way to traverse |
886 |
|
the tree is entirely revised to make it easier to track |
887 |
|
the state of ancestors/descendants. As a result of this |
888 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
889 |
|
support for content model checking for HTML elements |figure|, |
890 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
891 |
|
some XMLNS checkings) are dropped for now. They will be |
892 |
|
reimplemented in due cource. |
893 |
|
|
894 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
895 |
|
|
896 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
897 |
|
token (HTML5 revision 1225). |
898 |
|
|
899 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
900 |
|
|
901 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
902 |
|
|
903 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
904 |
|
contains character references or not. |
905 |
|
|
906 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
907 |
|
|
908 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
909 |
|
imlement significant content checking for contents |
910 |
|
with |del| elements. |
911 |
|
|
912 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
913 |
|
|
914 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
915 |
|
elements are added. |
916 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
917 |
|
|
918 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
919 |
|
|
920 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
921 |
|
|
922 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
923 |
|
|
924 |
|
* CacheManifest.pod: Updated. |
925 |
|
|
926 |
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
927 |
|
|
928 |
* ContentChecker.pm (check_document, check_element): Support |
* ContentChecker.pm (check_document, check_element): Support |