1 |
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* WebIDL.pm (parse_char_string): Simplified error |
4 |
reporting process for broken ignored valuetype definition. |
5 |
(Valuetype idl_text): Support for special "DOMString" name. |
6 |
|
7 |
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
8 |
|
9 |
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
10 |
terminal of the ScopedName is "DOMString", such that whether |
11 |
the last part of the scoped name is "DOMString" or "_DOMString" |
12 |
later. It is necessary to determine whether a |typedef| |
13 |
definition should be ignored or not. |
14 |
(parse_char_string): Unescape the identifier of |
15 |
exception members. |
16 |
($resolve): Return undef for builtin types and sequence<T> |
17 |
types (we might not have to do this, however...). |
18 |
(check): Support checking for Exceptions, Valuetypes, |
19 |
and Typedefs. |
20 |
($serialize_type): Support for "DOMString::::" syntax. |
21 |
(Typedef idl_text): Output Type as "DOMString" if it |
22 |
is really "DOMString" (i.e. its internal representation |
23 |
is "::DOMString::"). |
24 |
|
25 |
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
26 |
|
27 |
* WebIDL.pm ($resolve): New code, based on resolve code |
28 |
for constant types in the |check| method. |
29 |
(check): Support for checking of attributes, operations, and |
30 |
arguments. |
31 |
(Attribute/Operation idl_text): Exception names in getraises, |
32 |
setraises, and raises clauses is serizlied by |$serialize_type| |
33 |
code. |
34 |
|
35 |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
36 |
|
37 |
* WebIDL.pm ($integer): Order of selections are changed to match |
38 |
hexadecimal numbers (the original pattern, taken from the spec, |
39 |
was not work for hexadecimal numbers, because the "0" prefix |
40 |
matches to the [0-7]* part (as an empty string) and therefore |
41 |
it does not match with remaining "x..." part of a "0x..." integer |
42 |
literal. |
43 |
($get_type): It now returns a string, not an array reference, |
44 |
for regular types and |sequence| types (i.e. it in any case |
45 |
returns a string). |
46 |
($get_next_token): The second item in the array that represents |
47 |
a integer or float token is now a Perl number value, not the |
48 |
original string representation of the number. |
49 |
(check): Support for const value consistency checking. |
50 |
No extended attribute is defined for constants. |
51 |
(Node subclasses): Use simple strings rather than array references |
52 |
for default data type values. |
53 |
($serialize_type): Type values are now simple strings. |
54 |
(value): If the new attribute value is a false value, then |
55 |
a FALSE value is set to the attribute. |
56 |
|
57 |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
58 |
|
59 |
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
60 |
in its stringified format ("scoped name" as defined in the |
61 |
spec). Note that future version of this module should not use |
62 |
array references for type values and the |type_text| attribute |
63 |
should be made obsolete. |
64 |
(parse_char_string): Unescape attribute names. |
65 |
(check): Support for checking of whether inherited interfaces |
66 |
are actually defined or not. Support for checking of whether |
67 |
interface member identifiers are duplicated or not. |
68 |
($serialize_type): Scoped names are returned as is. A future |
69 |
version of this code should escape identifiers other than "DOMString", |
70 |
otherwise the idl_text would be non-conforming. |
71 |
|
72 |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
73 |
|
74 |
* WebIDL.pm (parse_char_string): Set line/column numbers |
75 |
to generated nodes. Unescape identifiers. Extended attributes |
76 |
for Definition's were ignored. |
77 |
(append_child): Set |parent_node| attribute. |
78 |
(parent_node): New attribute. |
79 |
(check): Support interface/exception members. Support |
80 |
extended attributes. Support definition identifier uniqueness |
81 |
constraint. |
82 |
(qualified_name): New attribute. |
83 |
(Interface/Exception idl_text): Extended attributes were |
84 |
not prepended to the returned text. |
85 |
|
86 |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
87 |
|
88 |
* WebIDL.pm (parse_char_string): Set line/column numbers |
89 |
to interface object experimentally. s/shift/pop/g, shift |
90 |
would make things wrong. Support for interface forward |
91 |
declarations was missing. Broken interface declarations |
92 |
with no block were not ignored entirely. |
93 |
(Whatpm::WebIDL::Node): New abstract class. This class |
94 |
makes things easier. |
95 |
(child_nodes): New attribute. Unlike DOM's attribute with |
96 |
same name, this attribute returns a dead list of nodes for |
97 |
simplicity. |
98 |
(get_user_data, set_user_data): New methods. |
99 |
(Module idl_text): A SPACE character should be inserted |
100 |
before the |{| character. |
101 |
(Interface idl_text): Support for interface forward declarations. |
102 |
(is_forward_declaration): New attribute. |
103 |
|
104 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
105 |
|
106 |
* WebIDL.pm (type_text): Better serializer. |
107 |
|
108 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
109 |
|
110 |
* WebIDL.pm: Revise forward-compatible parsing so that |
111 |
it now can handle broken extended attributes and as such. |
112 |
|
113 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
114 |
|
115 |
* WebIDL.pm: Real support for extended attributes. |
116 |
Support for extended attributes with arguments. |
117 |
|
118 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
119 |
|
120 |
* WebIDL.pm: Support for |exception| syntax. |
121 |
(Interface->idl_text): Tentative support for inheritances. |
122 |
|
123 |
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
124 |
|
125 |
* WebIDL.pm: Hierarchical scoped name support was broken. |
126 |
Support for raises, setraises, and getraises syntaxes. |
127 |
|
128 |
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
129 |
|
130 |
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
131 |
proper support for types, extended attributes, and exceptions yet). |
132 |
WebIDL parser, version 1 (no support for exceptions yet, |
133 |
no proper support for extended attributes yet). |
134 |
|
135 |
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
136 |
|
137 |
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
138 |
|
139 |
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
140 |
|
141 |
* WebIDL.pm: Support for valuetype and const. |
142 |
|
143 |
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
144 |
|
145 |
* WebIDL.pm: New module. |
146 |
|
147 |
2008-06-15 Wakaba <wakaba@suika.fam.cx> |
148 |
|
149 |
* Makefile (Entities.html): URI changed. |
150 |
|
151 |
2008-06-08 Wakaba <wakaba@suika.fam.cx> |
152 |
|
153 |
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704). |
154 |
|
155 |
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
156 |
|
157 |
* HTML.pm.src (_get_next_token): A parse error was missing. |
158 |
|
159 |
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
160 |
|
161 |
* mklinktypelist.pl: rel=contact is no longer part of the HTML5 |
162 |
spec (commented out). (HTML5 revision 1711). |
163 |
|
164 |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
165 |
|
166 |
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701). |
167 |
|
168 |
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered |
169 |
as UTF-16 (HTML5 revision 1701). |
170 |
|
171 |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
172 |
|
173 |
* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision |
174 |
1692). |
175 |
|
176 |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
177 |
|
178 |
* HTML.pm.src: The secondary insertion mode used when switching |
179 |
to foreign content is the "in body" insertion mode (HTML5 revision |
180 |
1696). |
181 |
|
182 |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
183 |
|
184 |
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
185 |
revision 1697). |
186 |
|
187 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
188 |
|
189 |
* HTML.pm.src: Support for end-of-file token in foreign content |
190 |
insertion mode (HTML5 revision 1693). Update SVG camelCase |
191 |
attribute list (HTML5 revision 1700). <textarea> closes |
192 |
</select> (HTML5 revision 1699). More start tags close in |
193 |
foreign content insertion mode (HTML5 revision 1698). |
194 |
|
195 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
196 |
|
197 |
* HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665). |
198 |
|
199 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
200 |
|
201 |
* HTML.pm.src: More robust charset parameter detection (HTML5 |
202 |
revision 1674). |
203 |
|
204 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
205 |
|
206 |
* ContentType.pm: Support for image/vnd.microsoft.icon (HTML5 |
207 |
revision 1676). |
208 |
|
209 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
210 |
|
211 |
* HTML.pm.src: Ignore language part of public identifiers for |
212 |
quriks mode detection (HTML5 revision 1679). |
213 |
|
214 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
215 |
|
216 |
* HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5 |
217 |
revision 1685). |
218 |
|
219 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
220 |
|
221 |
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
222 |
revision 1684). |
223 |
|
224 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
225 |
|
226 |
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
227 |
work (HTML5 revision 1690). |
228 |
|
229 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
230 |
|
231 |
* HTML.pm.src (_tree_construction_main): Change handling of |
232 |
end tags in head insertion modes (HTML5 revision 1686). |
233 |
(parse_char_string): Bug fix for non-utf8 character string handlings. |
234 |
(parse_char_stream): |ungetc| does not work well for this context. |
235 |
|
236 |
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
237 |
|
238 |
* HTML.pm.src (parse_byte_string): Redefined to invoke |
239 |
|parse_byte_stream|. |
240 |
(parse_byte_stream): New method. |
241 |
|
242 |
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
243 |
|
244 |
* HTML.pm.src (parse_byte_string): Fix the column number reported |
245 |
by encoding layer error reporter. |
246 |
|
247 |
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
248 |
|
249 |
* HTML.pm.src (parse_byte_string): Use streaming decoder |
250 |
rather than converting the whole byte string and then parsing. |
251 |
Propagate errors in character encoding layer. |
252 |
(get_next_token): Precise error reporting for |bare stago| error. |
253 |
|
254 |
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
255 |
|
256 |
* HTML.pm.src (parse_char_stream): New method. |
257 |
(parse_char_string): This method is now defined as an invocation |
258 |
of the |parse_char_stream| method. |
259 |
|
260 |
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
261 |
|
262 |
* HTML.pm.src (parse_byte_string): Report various status |
263 |
of the sniffing as info-level errors. Support for new |
264 |
decoding framework in parser resestting. |
265 |
(new): Various default error levels were not set. |
266 |
|
267 |
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
268 |
|
269 |
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
270 |
algorithm, except for the actual sniffing, is implemented |
271 |
with new framework with Message::Charset::Info. |
272 |
|
273 |
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
274 |
|
275 |
* CacheManifest.pm (_parse): Drop fragment identifiers from |
276 |
URIs in fallback section (HTML5 revision 1596). |
277 |
|
278 |
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
279 |
|
280 |
* Makefile (Entities.html): URI has changed. |
281 |
|
282 |
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
283 |
|
284 |
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
285 |
1553). |
286 |
|
287 |
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
288 |
|
289 |
* ContentChecker.pm: Noted that those returned in |table| are |
290 |
no longer table elements, but table objects returned |
291 |
by Whatpm::HTMLTable. |
292 |
|
293 |
* HTMLTable.pm (form_table): Return table element node |
294 |
as |$table->{element}|. |
295 |
(assign_header): Support for the |headers=""| attribute. |
296 |
|
297 |
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
298 |
|
299 |
* HTMLTable.pm (assign_header): New function; first version |
300 |
with no support for headers="". |
301 |
(form_table): Include table width and height to the returned |
302 |
table object for covenience. Indexing in column assignement was wrong. |
303 |
Set whether a data cell is empty or not for convenience. |
304 |
|
305 |
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
306 |
|
307 |
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
308 |
|
309 |
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
310 |
|
311 |
* HTMLTable.pm: How table model errors are detected is |
312 |
changed (HTML5 revision 1387). |
313 |
|
314 |
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
315 |
|
316 |
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
317 |
to the end of the table (HTML5 revision 1380). |
318 |
|
319 |
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
320 |
|
321 |
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
322 |
of 1-based (HTML5 revision 1376). |
323 |
|
324 |
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
325 |
|
326 |
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
327 |
and "Content-Encoding" no longer prevent sniffing (HTML5 |
328 |
revision 1288). |
329 |
|
330 |
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
331 |
|
332 |
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
333 |
1282). |
334 |
|
335 |
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
336 |
|
337 |
* ContentChecker.pm: Support for global attributes. |
338 |
Status of XML specs are added. |
339 |
|
340 |
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
341 |
|
342 |
* ContentChecker.pm (check_element): Support for |template=""| |
343 |
and |ref=""| attribute (referent element type checking). |
344 |
|
345 |
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
346 |
|
347 |
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
348 |
1500) is implemented (except for IDNA part and URI-scheme-specific |
349 |
knowledge). Line number counting was wrong for LF-only |
350 |
documents. |
351 |
|
352 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
353 |
|
354 |
* HTML.pm.src: Raise an parse error for any disallowed |
355 |
character (HTML5 revision 1263). |
356 |
|
357 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
358 |
|
359 |
* mkentitylist.pl: Support for new HTML5 entity table format (the |
360 |
definition for |AElig;| was missing). |
361 |
|
362 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
363 |
|
364 |
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
365 |
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
366 |
|
367 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
368 |
|
369 |
* HTML.pm.src: List of element names that close foreign content |
370 |
insertion mode is added (HTML5 revisions 1412 and 1418). |
371 |
|
372 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
373 |
|
374 |
* HTML.pm.src: Support for |mglyph| and |malignmark| |
375 |
elements (HTML5 revision 1410). |
376 |
|
377 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
378 |
|
379 |
* HTML.pm.src: Support for new long MathML entities (HTML5 |
380 |
revision 1406). |
381 |
|
382 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
383 |
|
384 |
* HTML.pm.src: CDATA section support for MathML and SVG |
385 |
elements (HTML5 revision 1404 and 1420). |
386 |
|
387 |
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
388 |
|
389 |
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
390 |
elements (HTML5 revision 1404). Unused !!!macro definitions |
391 |
are removed. |
392 |
|
393 |
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
394 |
|
395 |
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
396 |
are raised is changed (HTML5 revision 1404). |
397 |
|
398 |
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
399 |
|
400 |
* HTML.pm.src: Category sets that are no longer used are removed. |
401 |
|
402 |
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
403 |
|
404 |
* HTML.pm.src: The ->[1] property of stack entries are now |
405 |
replaced by constants representing element category. |
406 |
|
407 |
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
408 |
|
409 |
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
410 |
for error reporting. (This is a preparation for using constant |
411 |
value for ->[1].) |
412 |
|
413 |
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
414 |
|
415 |
* RDFXML.pm: Typo fixed. |
416 |
|
417 |
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
418 |
|
419 |
* ContentChecker.pm: |fact_level| is now treated |
420 |
as same as |must_level|, i.e. level = |m|. |
421 |
(check_element): Make list of URIs in the DOM. |
422 |
|
423 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
424 |
|
425 |
* RDFXML.pm: Language accessor implemented. |
426 |
Local (null-namespace) attribute support. |
427 |
|
428 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
429 |
|
430 |
* RDFXML.pm: Factored out ID checking code. |
431 |
|
432 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
433 |
|
434 |
* RDFXML.pm: TODO items noted. Validation of ID |
435 |
and URI attributes is implemented. Warn if unknown |
436 |
value is used in rdf:parseType="" attribute. |
437 |
|
438 |
* URIChecker.pm (check_rdf_uri_reference): New function. |
439 |
|
440 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
441 |
|
442 |
* RDFXML.pm: bnodeid implemented. Relative references |
443 |
are now resolved. |
444 |
|
445 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
446 |
|
447 |
* ContentChecker.pm: RDF reification implemented. |
448 |
|
449 |
* RDFXML.pm: undef vs false bug fixed. |
450 |
Reification implemented. |
451 |
|
452 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
453 |
|
454 |
* RDFXML.pm: s/id/ID/ for attribute name. |
455 |
The |node| arguments are added for |ontriple| calls. |
456 |
Too many "attribute not allowed" errors were raised. |
457 |
|
458 |
* ContentChecker.pm: Initial experimental support for rdf:RDF |
459 |
element. |
460 |
|
461 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
462 |
|
463 |
* RDFXML.pm: New module. |
464 |
|
465 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
466 |
|
467 |
* HTML.pm.src (set_inner_html): Line/column number |
468 |
code was old one yet. |
469 |
|
470 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
471 |
|
472 |
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
473 |
errors. Line/column markings for DOCTYPE, comment, and |
474 |
character tokens are reintroduced; otherwise, |
475 |
error location for "not HTML5" error and errors |
476 |
for implied elements are not attached. |
477 |
|
478 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
479 |
|
480 |
* HTML.pm.src: Set line/column numbers to attributes. |
481 |
|
482 |
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
483 |
(value): Setter implemented. |
484 |
|
485 |
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
486 |
|
487 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
488 |
|
489 |
* HTML.pm.src: Unused line/column markings are removed. |
490 |
|
491 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
492 |
|
493 |
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
494 |
flag, which is no longer used. |
495 |
|
496 |
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
497 |
|
498 |
* HTML.pm.src: Set line/column information to element nodes. |
499 |
|
500 |
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
501 |
and !!!insert-element-t): Set line/column information to |
502 |
element nodes. |
503 |
|
504 |
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
505 |
|
506 |
* HTML.pm.src (_get_next_token): The first "<" character |
507 |
in "<?", "<>", or "</>" should be the error point. |
508 |
|
509 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
510 |
|
511 |
* HTML.pm.src: Some more fixes on error position reporting. |
512 |
|
513 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
514 |
|
515 |
* HTML.pm.src: Token-level precious error reporting. |
516 |
|
517 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
518 |
|
519 |
* HTML.pm.src: Preparation for more precious error point |
520 |
reporting. |
521 |
|
522 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
523 |
|
524 |
* HTML.pm.src: Error type revised. |
525 |
|
526 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
527 |
|
528 |
* HTML.pm.src: Similar codes are merged together, again. |
529 |
|
530 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
531 |
|
532 |
* HTML.pm.src: Similar codes are merged together. |
533 |
|
534 |
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
535 |
|
536 |
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
537 |
|
538 |
* HTML.pm.src: Code refined. |
539 |
|
540 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
541 |
|
542 |
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
543 |
revision 1348). Note that I really don't know this makes |
544 |
any difference in the black-box behavior of the parser. |
545 |
|
546 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
547 |
|
548 |
* HTML.pm.src: New end-of-file token implementation (HTML5 |
549 |
revision 1348). |
550 |
|
551 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
552 |
|
553 |
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
554 |
|
555 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
556 |
|
557 |
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
558 |
|
559 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
560 |
|
561 |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
562 |
mode and support for the "in select in table" insertion mode (HTML5 |
563 |
revision 1342). |
564 |
|
565 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
566 |
|
567 |
* HTML.pm.src: No foster parenting for <script> and <script> |
568 |
in non-tainted <table>s (HTML5 revision 1336). |
569 |
|
570 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
571 |
|
572 |
* HTML.pm.src: Ignore white space characters between <html> |
573 |
and <head> (HTML5 revision 1332). |
574 |
|
575 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
576 |
|
577 |
* HTML.pm.src: Treat <input type=hidden> as if it were a |
578 |
white space (HTML5 revision 1331). |
579 |
|
580 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
581 |
|
582 |
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
583 |
element (HTML5 revision 1330). |
584 |
|
585 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
586 |
|
587 |
* HTML.pm.src: <title> is always appended to the current |
588 |
element (HTML5 revision 1328). |
589 |
|
590 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
591 |
|
592 |
* HTML.pm.src: White space in tainted tables are moved |
593 |
into foster parents (HTML5 revision 1326). |
594 |
|
595 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
596 |
|
597 |
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
598 |
revision 1321). |
599 |
|
600 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
601 |
|
602 |
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
603 |
the spec (HTML5 revision 1320). Note that we finally complete |
604 |
all of HTML5 revision 1320 changes. |
605 |
|
606 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
607 |
|
608 |
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
609 |
tags (HTML5 revision 1320). |
610 |
|
611 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
612 |
|
613 |
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
614 |
|
615 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
616 |
|
617 |
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
618 |
could not be reached so that it is now removed (HTML5 revision |
619 |
1320). |
620 |
|
621 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
622 |
|
623 |
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
624 |
to align with new spec text (HTML5 revision 1320). |
625 |
|
626 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
627 |
|
628 |
* HTML.pm.src: Remove strange |if| condition; however, it should |
629 |
have had no harm in theory. |
630 |
|
631 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
632 |
|
633 |
* HTML.pm.src (_tree_construction_main): '</p>' in body |
634 |
case is split from other end tags for the preparation |
635 |
of implementing HTML revision 1320. |
636 |
|
637 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
638 |
|
639 |
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
640 |
revision 1320). |
641 |
|
642 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
643 |
|
644 |
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
645 |
and "div" (HTML5 revision 1318). Add comments to where |
646 |
|form| pointer association codes should be inserted (HTML5 revision |
647 |
1319). |
648 |
|
649 |
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
650 |
|
651 |
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
652 |
|
653 |
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
654 |
|
655 |
* HTML.pm.src: Since the case t268 should never be reached (no |
656 |
other token type, there are), it is replaced by a |die| statement. |
657 |
|
658 |
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
659 |
|
660 |
* HTML.pm.src: Typo fixed. |
661 |
|
662 |
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
663 |
|
664 |
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
665 |
doctypes were not uppercased for comparison. |
666 |
|
667 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
668 |
|
669 |
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
670 |
are added. |
671 |
|
672 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
673 |
|
674 |
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
675 |
are set. Cases that are unlikely reached are noted as so. |
676 |
|
677 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
678 |
|
679 |
* HTML.pm.src: Checkpoints for debugging are added. |
680 |
|
681 |
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
682 |
|
683 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
684 |
|
685 |
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
686 |
for simplicity. |
687 |
|
688 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
689 |
|
690 |
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
691 |
revision 1307). |
692 |
|
693 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
694 |
|
695 |
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
696 |
is set are changed (HTML5 revision 1305). |
697 |
|
698 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
699 |
|
700 |
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
701 |
1292). Entities are not parsed in comment-like part in RCDATA |
702 |
elements (HTML5 revision 1294). Allow bare & at the end |
703 |
of attribute value literals (HTML5 revision 1296). More |
704 |
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
705 |
between attributes and ban attribute names or unquoted |
706 |
attribute values containing single or double quotes (HTML5 |
707 |
revision 1303). |
708 |
|
709 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
710 |
|
711 |
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
712 |
and related errors unless it is an HTML document (though the spec |
713 |
is unclear on whether it is applied to XHTML document). |
714 |
|
715 |
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
716 |
are added. |
717 |
|
718 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
719 |
|
720 |
* HTML.pm.src: s/local_name/manakai_local_name/g. |
721 |
|
722 |
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
723 |
|
724 |
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
725 |
|
726 |
* HTML.pm.src: |charset| in |content| attribute is |
727 |
case-insensitive (HTML5 revision 1270). |
728 |
|
729 |
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
730 |
|
731 |
* ContentChecker.pm: New status constants are added. |
732 |
($ElementDefault): |status| added. |
733 |
(check_element): Err for non-standard or deprecated elements. |
734 |
(_attr_status_info): For non-standard or deprecated attributes. |
735 |
|
736 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
737 |
|
738 |
* ContentChecker.pm (_attr_status_info): New internal method. |
739 |
|
740 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
741 |
|
742 |
* ContentChecker.pm (check_element): Element standardized |
743 |
status information is now dispatched. |
744 |
|
745 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
746 |
|
747 |
* ContentChecker.pm (check_element): Fix |del|-and-significant |
748 |
problem by adding some more arguments. |
749 |
|
750 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
751 |
|
752 |
* ContentChecker.pm (check_element): Use context of |
753 |
container-for-the-purpose-of-content-model element (not transparent |
754 |
element) for |check_child_element| calling and significant |
755 |
text flag marking. This reintroduces |<del>|-and-significant |
756 |
problem again. |
757 |
|
758 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
759 |
|
760 |
* ContentChecker.pm (check_element): Make semi-transparent |
761 |
elements ignored for the purpose of phase changes in |
762 |
content model checking. |
763 |
|
764 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
765 |
|
766 |
* ContentChecker.pm (check_element): In-element state |
767 |
was not properly managed for transparent cases. |
768 |
|
769 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
770 |
|
771 |
* ContentChecker.pm (check_element): Support for |video| |
772 |
and |audio| as semi-transparent elements. |
773 |
|
774 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
775 |
|
776 |
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
777 |
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
778 |
Support for |html:object| as a semi-transparent element. |
779 |
|
780 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
781 |
|
782 |
* ContentChecker.pm (check_element): The way to traverse |
783 |
the tree is entirely revised to make it easier to track |
784 |
the state of ancestors/descendants. As a result of this |
785 |
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
786 |
support for content model checking for HTML elements |figure|, |
787 |
|object|, |video|, and |audio| and checking for XML elements (and |
788 |
some XMLNS checkings) are dropped for now. They will be |
789 |
reimplemented in due cource. |
790 |
|
791 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
792 |
|
793 |
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
794 |
token (HTML5 revision 1225). |
795 |
|
796 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
797 |
|
798 |
* ContentChecker.pm ({unsupported_level}): New value. |
799 |
|
800 |
* HTML.pm.src: Save whether |meta| |content| attribute |
801 |
contains character references or not. |
802 |
|
803 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
804 |
|
805 |
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
806 |
imlement significant content checking for contents |
807 |
with |del| elements. |
808 |
|
809 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
810 |
|
811 |
* ContenteChecker.pm ($HTMLTransparentElements): More |
812 |
elements are added. |
813 |
(_get_children): HTML |object| elements are now semi-transparent. |
814 |
|
815 |
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
816 |
|
817 |
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
818 |
|
819 |
* CacheManifest.pm: HTML5 revision 1211 implemented. |
820 |
|
821 |
* CacheManifest.pod: Updated. |
822 |
|
823 |
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
824 |
|
825 |
* ContentChecker.pm (check_document, check_element): Support |
826 |
for second argument ($onsubdoc). |
827 |
(_get_css_parser): Removed (now it is part of WDCC). |
828 |
|
829 |
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
830 |
|
831 |
* ContentChecker.pm (_get_css_parser): New. |
832 |
|
833 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
834 |
|
835 |
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
836 |
for checking had been used. |
837 |
|
838 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
839 |
|
840 |
* ContentChecker.pm (check_element): New todo item type |descendant|. |
841 |
|
842 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
843 |
|
844 |
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
845 |
specced in RFC 2046 and RFC 4288. |
846 |
(application/atom+xml): Definition added. |
847 |
|
848 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
849 |
|
850 |
* URIChecker.pm: Make RFC 3986 should-level errors |
851 |
warnings (rather than SHOULD-level errors). |
852 |
|
853 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
854 |
|
855 |
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
856 |
|
857 |
* HTML.pm.src: A flag for character references in attribute |
858 |
values are added. Set |manakai_has_reference| user data |
859 |
to |charset| attribute. |
860 |
|
861 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
862 |
|
863 |
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
864 |
attributes. |
865 |
|
866 |
* ContentChecker.pm (check_document): Warn if charset requirements |
867 |
cannot be tested. |
868 |
|
869 |
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
870 |
|
871 |
* HTML.pm.src (parse_byte_string): Detect charset |
872 |
by universalchardet if charset parameter is not specified. |
873 |
|
874 |
* Makefile (Charset-all, Charset-clean): New rules. |
875 |
|
876 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
877 |
|
878 |
* ContentChecker.pm (check_document): Check the existence |
879 |
of character encoding declaration and selection of encoding |
880 |
for HTML document. |
881 |
|
882 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
883 |
|
884 |
* ContentType.pm (get_sniffed_type): Return also the official |
885 |
type in list context. |
886 |
|
887 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
888 |
|
889 |
* ContentType.pm: Sniffing with leading white space |
890 |
ignoring (HTML5 revisions 1013 and 1016). |
891 |
|
892 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
893 |
|
894 |
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
895 |
white spaces, are implemented. |
896 |
|
897 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
898 |
|
899 |
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
900 |
attribute if possible. |
901 |
|
902 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
903 |
|
904 |
* HTML.pm.src (parse_byte_string): New method. |
905 |
(parse_char_string): New alias for |parse_string|. |
906 |
(main phase): Invoking "change the encoding" algorithm if desired. |
907 |
|
908 |
* HTML.pod: Updated. |
909 |
|
910 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
911 |
|
912 |
* HTML.pod (get_inner_html): Removed. |
913 |
|
914 |
* Makefile (HTML-all, HTML-clean): New. |
915 |
|
916 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
917 |
|
918 |
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
919 |
|
920 |
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
921 |
|
922 |
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
923 |
|
924 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
925 |
|
926 |
* Makefile: |CacheManifest.html| is added. |
927 |
|
928 |
* CacheManifest.pod: New file. |
929 |
|
930 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
931 |
|
932 |
* CacheManifest.pm: New module. |
933 |
|
934 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
935 |
|
936 |
* HTML.pm.src: Support for application cache selection algorithm |
937 |
callback. |
938 |
|
939 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
940 |
|
941 |
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
942 |
|
943 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
944 |
|
945 |
* Makefile (clean): New rule. |
946 |
|
947 |
* NanoDOM.pm (public_id, system_id): New attributes. |
948 |
|
949 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
950 |
|
951 |
* Makefile (CSS-all, CSS-clean, clean): New rules. |
952 |
|
953 |
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
954 |
|
955 |
* ContentChecker.pm (check_document): Support for |
956 |
new |is_xml_root| flag. |
957 |
(check_element): Support for new |pluses| state. |
958 |
(_add_pluses): New method. |
959 |
(_remove_minuses): Support for new |minus| item. |
960 |
|
961 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
962 |
|
963 |
* ContentChecker.pm: Raise specific error for invalid |
964 |
root element. |
965 |
|
966 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
967 |
|
968 |
* ContentChecker.pm: Set level values for later uses. |
969 |
|
970 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
971 |
|
972 |
* ContentChecker.pm: Support for language tag validation. |
973 |
|
974 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
975 |
|
976 |
* LangTag.pm (check_rfc3066_language_tag): New method. |
977 |
|
978 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
979 |
|
980 |
* LangTag.pm: New module. |
981 |
|
982 |
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
983 |
|
984 |
* HTML.pm.src: Some error types were wrong. |
985 |
|
986 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
987 |
|
988 |
* CSS/: New directory. |
989 |
|
990 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
991 |
|
992 |
* ContentChecker.pm (_check_get_children): Support |
993 |
for |noscript| in |head|. |
994 |
|
995 |
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
996 |
|
997 |
* URI/: New directory. |
998 |
|
999 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
1000 |
|
1001 |
* HTML.pm.src: Tokenizer's states are now represented in |
1002 |
number. |
1003 |
|
1004 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
1005 |
|
1006 |
* HTML.pm.src: |or|s for insertion modes are replaced |
1007 |
by |&|s. |
1008 |
|
1009 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
1010 |
|
1011 |
* HTML.pm.src: Token types are now represented in number. |
1012 |
|
1013 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
1014 |
|
1015 |
* ContentType.pm (SEE ALSO): Updated. |
1016 |
|
1017 |
* HTML.pm.src: Insertion modes are now represented in number. |
1018 |
|
1019 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
1020 |
|
1021 |
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
1022 |
999) is implemented. |
1023 |
|
1024 |
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
1025 |
|
1026 |
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
1027 |
983) is implemented. |
1028 |
|
1029 |
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
1030 |
|
1031 |
* ContentChecker.pod: New documentation. |
1032 |
|
1033 |
* Makefile: A rule for |ContentChecker.html| is added. |
1034 |
|
1035 |
* ContentChecker.pm: A pod "LICENSE" section is added. |
1036 |
|
1037 |
* NanoDOM.pm ($VERSION): New variable. |
1038 |
|
1039 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
1040 |
|
1041 |
* H2H.pm: |b|, |i|, and |sub| are added to the |
1042 |
list of allowed HTML elements. |
1043 |
|
1044 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
1045 |
|
1046 |
* H2H.pm: |samp| is added to the list of allowed |
1047 |
HTML elements. |
1048 |
|
1049 |
* URIChecker.pm (check_iri): New. |
1050 |
(check_iri_reference): Error type for IRI reference |
1051 |
syntax error is changed. |
1052 |
|
1053 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
1054 |
|
1055 |
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
1056 |
is added. |
1057 |
(check_document): Load appropriate module before validation. |
1058 |
|
1059 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
1060 |
|
1061 |
* ContentChecker/: New directory. |
1062 |
|
1063 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
1064 |
|
1065 |
* ContentChecker.pm: HTML |time| element is implemented. |
1066 |
|
1067 |
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
1068 |
|
1069 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1070 |
|
1071 |
* ContentChecker.pm (check_document): Return value |
1072 |
even if no document element is found. |
1073 |
|
1074 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1075 |
|
1076 |
* HTML.pm.src: |$in_body| is no longer a function. |
1077 |
|
1078 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1079 |
|
1080 |
* HTML.pm.src: The |$in_body| code has been moved down. |
1081 |
|
1082 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1083 |
|
1084 |
* HTML.pm.src: The "trailing end" insertion mode |
1085 |
is split into "after html body" and "after html frameset" |
1086 |
insertion modes. Their codes are merged with "after body" |
1087 |
and "after frameset" codes. |$previous_insertion_mode| |
1088 |
has been removed. "after frameset" code is |
1089 |
merged with "in frameset" code. |
1090 |
|
1091 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1092 |
|
1093 |
* HTML.pm.src: The "before head" insertion mode is |
1094 |
merged with the "in head" insertion mode. |
1095 |
|
1096 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1097 |
|
1098 |
* HTML.pm.src: Cases in "in head" insertion mode are |
1099 |
reorganized. |
1100 |
|
1101 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1102 |
|
1103 |
* HTML.pm.src: Some cases in "in table" insertion mode |
1104 |
are merged. |
1105 |
|
1106 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1107 |
|
1108 |
* HTML.pm.src: The "in row" insertion mode is merged |
1109 |
with "in table" insertion mode. |
1110 |
|
1111 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1112 |
|
1113 |
* HTML.pm.src: The "in table" and "in table body" insertion |
1114 |
modes are merged. |
1115 |
|
1116 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1117 |
|
1118 |
* HTML.pm.src: There is no "in table head" or "in table foot" |
1119 |
insertion mode! |
1120 |
|
1121 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1122 |
|
1123 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
1124 |
now directly invoke the handler. |
1125 |
|
1126 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1127 |
|
1128 |
* HTML.pm.src: Codes for "in cell" insertion mode |
1129 |
is merged to the "in body" insertion mode code. |
1130 |
|
1131 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1132 |
|
1133 |
* HTML.pm.src: Codes for "in body" and "in caption" |
1134 |
insertion modes are merged. |
1135 |
|
1136 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1137 |
|
1138 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
1139 |
|
1140 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1141 |
|
1142 |
* HTML.pm.src: Use numeric constant for |{content_mode}| |
1143 |
instead of string constant for |{content_model_flag}|. |
1144 |
|
1145 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
1146 |
|
1147 |
* HTML.pm.src: Add the name of the attribute |
1148 |
to the "duplicate attribute" error. |
1149 |
|
1150 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
1151 |
|
1152 |
* ContentChecker.pm: Return the |class| node list. |
1153 |
|
1154 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
1155 |
|
1156 |
* ContentChecker.pm: Return the |id| node list. |
1157 |
|
1158 |
* HTML.pm.src: A typo is fixed. |
1159 |
|
1160 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
1161 |
|
1162 |
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
1163 |
from "in HTML:xml:lang" error. Character position |
1164 |
is now the last part of the error type in the URI error |
1165 |
description. Report "unsupported" status for language |
1166 |
tags, media queries, script codes, and style sheets. |
1167 |
|
1168 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
1169 |
|
1170 |
* ContentChecker.pm: Report error if |xml:lang| |
1171 |
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
1172 |
in XML. |
1173 |
|
1174 |
* NanoDOM.pm (Attr.owner_document): New attribute. |
1175 |
|
1176 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
1177 |
|
1178 |
* HTML.pm.src: The character immediately following |
1179 |
a bare |hcro| was discarded. Fix handling of |
1180 |
entity references in attribute values. |
1181 |
|
1182 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
1183 |
|
1184 |
* HTML.pm.src (main and trailin end phases): Token |
1185 |
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
1186 |
factored out. Error types |in html:#DOCTYPE| |
1187 |
and |after html:#DOCTYPE| are merged |
1188 |
into |DOCTYPE in the middle|. |</frameset>| |
1189 |
in fragment parsing mode changed the |
1190 |
insertion mode. |
1191 |
|
1192 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
1193 |
|
1194 |
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
1195 |
phase is now an insertion mode. Treatments for white |
1196 |
space character tokens were incorrect for some |
1197 |
insertion modes. An old |meta| case was not removed. |
1198 |
|
1199 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
1200 |
|
1201 |
* HTML.pm.src: |meta| charset declaration extraction |
1202 |
implemented (but changing the encoding is not yet:-). |
1203 |
|
1204 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
1205 |
|
1206 |
* Charset/: New directory. |
1207 |
|
1208 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
1209 |
|
1210 |
* H2H.pm: New Perl module (created from |
1211 |
manakai's H2H.dis). |
1212 |
|
1213 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
1214 |
|
1215 |
* XMLSerializer.pm: New Perl module (created from |
1216 |
manakai's SimpleLS.dis). |
1217 |
|
1218 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
1219 |
|
1220 |
* HTML.pm.src: |<!---x-->| was not processed correctly. |
1221 |
|
1222 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
1223 |
|
1224 |
* HTML.pm.src: Report correct error message |
1225 |
for |<body></div></body>|. |
1226 |
|
1227 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
1228 |
|
1229 |
* HTMLTable.pm: An error description was incorrect. |
1230 |
|
1231 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
1232 |
|
1233 |
* ContentChecker.pm: Return |{term}| list. |
1234 |
|
1235 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
1236 |
|
1237 |
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
1238 |
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
1239 |
and <title> outside of head). |
1240 |
|
1241 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
1242 |
|
1243 |
* IMTChecker.pm: Report warning for unregistered |
1244 |
and private types/subtypes. |
1245 |
|
1246 |
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
1247 |
URIChecker.pm, HTMLTable.pm: Error messages are now |
1248 |
consistent; they are all listed in |
1249 |
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
1250 |
|
1251 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
1252 |
|
1253 |
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
1254 |
is now erred. |<datalist>| is implemented. |
1255 |
Attribute checker for |<command>| and |<menu>| are |
1256 |
added. Support for |contextmenu| global attribute |
1257 |
is added. |
1258 |
|
1259 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
1260 |
|
1261 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
1262 |
of Step 3 has been changed. |
1263 |
|
1264 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
1265 |
|
1266 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
1267 |
|
1268 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
1269 |
|
1270 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
1271 |
incorrect. |
1272 |
|
1273 |
* ContentChecker.pm: Support for the |footer| element. |
1274 |
Check URI syntax for space-separated URI attributes. |
1275 |
Support for the |tabindex| attribute. Support |
1276 |
for |datetime| attribute. |
1277 |
|
1278 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
1279 |
|
1280 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
1281 |
character references). HTML5 revision 1.146 (white space |
1282 |
characters before root start tag). HTML5 revision |
1283 |
1.148 (named character references in attribute values). |
1284 |
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
1285 |
|
1286 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
1287 |
|
1288 |
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
1289 |
in <head>). |
1290 |
|
1291 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
1292 |
|
1293 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
1294 |
in body). |
1295 |
|
1296 |
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
1297 |
|
1298 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
1299 |
|
1300 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
1301 |
or RCDATA in fragment parsing mode). HTML5 revision |
1302 |
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
1303 |
|
1304 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1305 |
|
1306 |
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
1307 |
for <pre> and <textarea>). |
1308 |
|
1309 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1310 |
|
1311 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
1312 |
|
1313 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1314 |
|
1315 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
1316 |
|
1317 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1318 |
|
1319 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
1320 |
HTML5 revision 917 (conforming bare &). |
1321 |
|
1322 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1323 |
|
1324 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
1325 |
|
1326 |
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
1327 |
HTML5 revision 915 (<nobr>). |
1328 |
|
1329 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1330 |
|
1331 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
1332 |
|
1333 |
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
1334 |
New attributes. |
1335 |
|
1336 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1337 |
|
1338 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
1339 |
in tags). |
1340 |
|
1341 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1342 |
|
1343 |
* .cvsignore: |Entities.html| is added. |
1344 |
|
1345 |
* HTML.pm.src: |$entity_char| is removed and |
1346 |
requires |Whatpm::_NamedEntityList| instead. |
1347 |
HTML5 revision 898 (refc), except that lack of refc |
1348 |
is parse error. |
1349 |
|
1350 |
* mkentitylist.pl: New script. |
1351 |
|
1352 |
* Makefile (all): |_NamedEntityList.pm| is added. |
1353 |
(_NamedEntityList.pm, Entities.html): New rules. |
1354 |
|
1355 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1356 |
|
1357 |
* HTML.pm.src: Parse errors immediately after U+000D |
1358 |
were ignored and U+000D immediately following another |
1359 |
U+000D was not converted to U+000A. |
1360 |
|
1361 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1362 |
|
1363 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
1364 |
nodes before appended). Parser was not ready for NULL |
1365 |
parse error and escape flag. |
1366 |
|
1367 |
* NanoDOM.pm (adopt_node): New. |
1368 |
|
1369 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1370 |
|
1371 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
1372 |
CDATA and RCDATA). Note that current implementation |
1373 |
is simply repeating what the spec says and it is maybe not |
1374 |
a best way to do it. |
1375 |
|
1376 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1377 |
|
1378 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
1379 |
the form element if a descendant element without implied end tag has |
1380 |
still been open). |
1381 |
|
1382 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1383 |
|
1384 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
1385 |
space characters non-conforming). |
1386 |
|
1387 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1388 |
|
1389 |
* HTML.pm.src: An error message was incorrect. |
1390 |
HTML5 revision 869 (C1 character references). |
1391 |
|
1392 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1393 |
|
1394 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
1395 |
a |textarea| is removed). |
1396 |
|
1397 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
1398 |
|
1399 |
* NanoDOM.pm (get_attribute_node_ns): New method. |
1400 |
|
1401 |
* ContentChecker.pm: |script| |async| and |defer| |
1402 |
no longer require |src|. |async| MUST NOT be |
1403 |
specified if |defer|. (HTML5 revision 858). |
1404 |
|
1405 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
1406 |
|
1407 |
* HTML.pm.src: |<form><form>| went to inifinite loop. |
1408 |
|
1409 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1410 |
|
1411 |
* ContentChecker.pm (html): Set |is_root| (allowed |
1412 |
as a document element) flag on. |
1413 |
(new): Removed. |
1414 |
(check_document): New method. |
1415 |
|
1416 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1417 |
|
1418 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
1419 |
were incorrect. |
1420 |
|
1421 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1422 |
|
1423 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
1424 |
error position in the |type| option of the error. |
1425 |
|
1426 |
* HTMLTable.pm (form_table): The |$onerror| parameter |
1427 |
is now optional. Some bugs are fixed. |
1428 |
|
1429 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1430 |
|
1431 |
* HTMLTable.pm: New module. |
1432 |
|
1433 |
* ContentChecker.pm (table): Invoke table model error checker. |
1434 |
|
1435 |
* NanoDOM.pm (first_child, get_attribute_ns): New. |
1436 |
|
1437 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
1438 |
|
1439 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
1440 |
(link/@rel, a/@rel, area/@rel): Use new checker. |
1441 |
|
1442 |
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
1443 |
|
1444 |
* _LinkTypeList.pm: New file. |
1445 |
|
1446 |
* mklinktypelist.pl: New file. |
1447 |
|
1448 |
* .cvsignore: |RelExtensions.html| added. |
1449 |
|
1450 |
* NanoDOM.pm (child_nodes): Returns an empty array |
1451 |
for non-child-containing node types. |
1452 |
(text_content): New attribute. |
1453 |
|
1454 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
1455 |
|
1456 |
* IMTChecker.pm: New module. |
1457 |
|
1458 |
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
1459 |
to test parameter value validity. |
1460 |
|
1461 |
* HTML.pm.src ($style_start_tag): Attributes were |
1462 |
discarded. |
1463 |
|
1464 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
1465 |
|
1466 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
1467 |
|
1468 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
1469 |
|
1470 |
* URIChecker.pm: All recommendations from RFC 3986 |
1471 |
and RFC 3987 are listed (not all testable items are checked yet). |
1472 |
|
1473 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
1474 |
|
1475 |
* URIChecker.pm: New module. |
1476 |
|
1477 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1478 |
|
1479 |
* ContentChecker.pm: Now most attributes are implemented |
1480 |
or associated to some placeholder. |
1481 |
($ElementDefault): Warn unknown attributes |
1482 |
for unknown elements as "attribute not supported". |
1483 |
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
1484 |
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
1485 |
(|a| attribute checker): Reimplemented. |
1486 |
|
1487 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1488 |
|
1489 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
1490 |
($HTMLAttrChecker): Event handler content attributes |
1491 |
are added. |
1492 |
(link, embed): Required attribute is now checked. |
1493 |
(embed): Unknown local attributes are no longer warned. |
1494 |
|
1495 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1496 |
|
1497 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
1498 |
($HTMLIMTAttrChecker): New checker. |
1499 |
(link@rel, link@href, link@type, style@type, |
1500 |
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
1501 |
object@data, object@type, source@src, source@type, area@alt, |
1502 |
area@shape, area@coords, area@href, |
1503 |
area@ping, area@rel, area@type, script@src, |
1504 |
script@defer, script@async, script@type): Checkers added. |
1505 |
|
1506 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1507 |
|
1508 |
* ContentChecker.pm: Descendant checking was incorrect. |
1509 |
|
1510 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1511 |
|
1512 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
1513 |
attributes. Report an error if |Element.prefix| |
1514 |
is |xmlns|. |
1515 |
|
1516 |
* NanoDOM.pm (prefix): New attribute. |
1517 |
|
1518 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1519 |
|
1520 |
* HTML.pm.src: In |main| phase, |in body| insertion |
1521 |
mode, action for |<iframe>| was missing. |
1522 |
|
1523 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1524 |
|
1525 |
* ContentChecker.pm: Support for many of HTML5 elements. |
1526 |
($GetHTMLNonNegativeIntegerAttrChecker): New. |
1527 |
|
1528 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1529 |
|
1530 |
* ContentChecker.pm: Support for most elements up to |progress|. |
1531 |
($HTMLURIAttrChecker): Placeholder. |
1532 |
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
1533 |
New. |
1534 |
|
1535 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1536 |
|
1537 |
* ContentChecker.pm: Attribute checkers |
1538 |
for global attributes, |html|, |base|, |style|, and |meta|. |
1539 |
|
1540 |
* NanoDOM.pm (insert_before): Weaken reference |
1541 |
to the parent node. |
1542 |
(Attr::new): Set |owner_element| attribute. |
1543 |
(namespace_uri, manakai_local_name): New attribute implementations. |
1544 |
(owner_element): New attribute. |
1545 |
|
1546 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1547 |
|
1548 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
1549 |
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
1550 |
$Element->{$HTML_NS}->{''}): New. |
1551 |
(check_element): Invoke attrs_checker for each element. |
1552 |
|
1553 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1554 |
|
1555 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
1556 |
|
1557 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1558 |
|
1559 |
* ContentChecker.pm: Use hashs rather than lists for |
1560 |
element type testings. |
1561 |
|
1562 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1563 |
|
1564 |
* ContentChecker.pm: Don't generate duplicate |
1565 |
error when an element type is put in the "minus" list |
1566 |
and the element type is not allowed explicitly in the particular |
1567 |
element content model. |
1568 |
(html:a checker): New checker. |
1569 |
(html:details, html:datagrid): New checkers. |
1570 |
(html:legend): New checker. |
1571 |
|
1572 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1573 |
|
1574 |
* ContentChecker.pm (html:li checker): Implemented. |
1575 |
|
1576 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1577 |
|
1578 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
1579 |
checker. |
1580 |
(html:dd checker): New checker. |
1581 |
(html:q, html:em, html:strong, html:small, |
1582 |
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
1583 |
|
1584 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1585 |
|
1586 |
* ContentChecker.pm ($AnyChecker): Renamed |
1587 |
from |$ElementDefault->{checker}|. |
1588 |
($ElementDefault->{checker}): Throw an error that |
1589 |
the element type is not supported by the checker. |
1590 |
($HTMLMetadataElement): |html:base| was missing. |
1591 |
($HTMLEmptyChecker): Don't throw an error |
1592 |
for inter-element whitespace nodes. |
1593 |
(html:html checker): Errors were not |
1594 |
thrown even if |html:head| and/or |html:body| |
1595 |
children were missing. |
1596 |
(html:head checker): An error was not |
1597 |
thrown if <meta charset> appered after other |
1598 |
elements. |
1599 |
|
1600 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
1601 |
|
1602 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
1603 |
and |noscript| elements are implemented. |
1604 |
(new): New method. |
1605 |
|
1606 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
1607 |
|
1608 |
* ContentChecker.pm: New module. |
1609 |
|
1610 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
1611 |
|
1612 |
* NanoDOM.pm (manakai_parent_element, |
1613 |
document_element, manakai_local_name, |
1614 |
manakai_element_type_match): New method. |
1615 |
|
1616 |
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
1617 |
|
1618 |
* HTML.pm.src: Replace decimal and hexadecimal numeric |
1619 |
entities in C1 range using Windows-1252 mapping. Bare LF |
1620 |
did not count as new line for error reporting. |
1621 |
|
1622 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
1623 |
|
1624 |
* NanoDOM.pm (DOMImplementation): New class. |
1625 |
(append_child): Weaken the |parent_node| reference. |
1626 |
(create_element_ns, Element new): Set the |owner_document| |
1627 |
reference. |
1628 |
(implementation): New attribute. |
1629 |
(owner_document, local_name, namespace_uri): New attributes. |
1630 |
|
1631 |
* HTML.pm.src (parse_string): Line and column numbers |
1632 |
are now provided to error handler. |
1633 |
(!!!parse-error): Short descriptions are added. |
1634 |
(_construct_tree): Split into three methods; support |
1635 |
for innerHTML mode. |
1636 |
(set_inner_html): New method. |
1637 |
|
1638 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1639 |
|
1640 |
* NanoDOM.html: Documentation is added. |
1641 |
|
1642 |
* HTML.pod, ContentType.html: Documentation is revised. |
1643 |
|
1644 |
* .cvsignore: Pod2html temporary files are added. |
1645 |
|
1646 |
* Makefile: Make |NanoDOM.html|. |
1647 |
|
1648 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1649 |
|
1650 |
* HTML.pm.src (parse_string): New method. |
1651 |
(get_inner_html): Renamed from |inner_html|. |
1652 |
|
1653 |
* Makefile: A rule for |HTML.html| is added. |
1654 |
|
1655 |
* HTML.pod: New documentation. |
1656 |
|
1657 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1658 |
|
1659 |
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
1660 |
(clone_node): Attribute nodes were not completely copied. |
1661 |
|
1662 |
* HTML.pm.src: Many bugs are fixed. |
1663 |
|
1664 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1665 |
|
1666 |
* HTML.pm.src: Some typos are fixed. |
1667 |
|
1668 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1669 |
|
1670 |
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
1671 |
are removed. |
1672 |
|
1673 |
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
1674 |
|
1675 |
* HTML-consume-entity.src: Removed. |
1676 |
|
1677 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1678 |
|
1679 |
* HTML.pm.src: Tokenizer's handling on hexadecimal |
1680 |
numeric entities are rewritten. |
1681 |
|
1682 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1683 |
|
1684 |
* HTML.pm.src: Some tokenizer bugs are fixed. |
1685 |
|
1686 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1687 |
|
1688 |
* HTML.pm.src: The tree construction stage is implemented. |
1689 |
|
1690 |
* mkhtmlparser.pl: New macros are added. |
1691 |
|
1692 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
1693 |
|
1694 |
* ContentType.pm: A note on bug in the specification |
1695 |
is removed since it's been now fixed. |
1696 |
|
1697 |
* .cvsignore: New file. |
1698 |
|
1699 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
1700 |
|
1701 |
* HTML.pm.src, HTML-consume-entity.src: New files. |
1702 |
|
1703 |
* Makefile (HTML.pm): New rule. |
1704 |
|
1705 |
* mkhtmlparser.pl: New script. |
1706 |
|
1707 |
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
1708 |
|
1709 |
* Makefile: New file. |
1710 |
|
1711 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1712 |
|
1713 |
* ContentType.pm: An error in pod is fixed. |
1714 |
|
1715 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1716 |
|
1717 |
* ContentType.pm: Documentation is added. |
1718 |
|
1719 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1720 |
|
1721 |
* ContentType.pm: New Perl module. |
1722 |
|
1723 |
* ChangeLog: New file. |
1724 |
|
1725 |
|