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