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