1 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* HTML.pm.src: Support for |mglyph| and |malignmark| |
4 |
elements (HTML5 revision 1410). |
5 |
|
6 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
7 |
|
8 |
* HTML.pm.src: Support for new long MathML entities (HTML5 |
9 |
revision 1406). |
10 |
|
11 |
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
12 |
|
13 |
* HTML.pm.src: CDATA section support for MathML and SVG |
14 |
elements (HTML5 revision 1404 and 1420). |
15 |
|
16 |
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
17 |
|
18 |
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
19 |
elements (HTML5 revision 1404). Unused !!!macro definitions |
20 |
are removed. |
21 |
|
22 |
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
23 |
|
24 |
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
25 |
are raised is changed (HTML5 revision 1404). |
26 |
|
27 |
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
28 |
|
29 |
* HTML.pm.src: Category sets that are no longer used are removed. |
30 |
|
31 |
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
32 |
|
33 |
* HTML.pm.src: The ->[1] property of stack entries are now |
34 |
replaced by constants representing element category. |
35 |
|
36 |
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
37 |
|
38 |
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
39 |
for error reporting. (This is a preparation for using constant |
40 |
value for ->[1].) |
41 |
|
42 |
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
43 |
|
44 |
* RDFXML.pm: Typo fixed. |
45 |
|
46 |
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
47 |
|
48 |
* ContentChecker.pm: |fact_level| is now treated |
49 |
as same as |must_level|, i.e. level = |m|. |
50 |
(check_element): Make list of URIs in the DOM. |
51 |
|
52 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
53 |
|
54 |
* RDFXML.pm: Language accessor implemented. |
55 |
Local (null-namespace) attribute support. |
56 |
|
57 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
58 |
|
59 |
* RDFXML.pm: Factored out ID checking code. |
60 |
|
61 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
62 |
|
63 |
* RDFXML.pm: TODO items noted. Validation of ID |
64 |
and URI attributes is implemented. Warn if unknown |
65 |
value is used in rdf:parseType="" attribute. |
66 |
|
67 |
* URIChecker.pm (check_rdf_uri_reference): New function. |
68 |
|
69 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
70 |
|
71 |
* RDFXML.pm: bnodeid implemented. Relative references |
72 |
are now resolved. |
73 |
|
74 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
75 |
|
76 |
* ContentChecker.pm: RDF reification implemented. |
77 |
|
78 |
* RDFXML.pm: undef vs false bug fixed. |
79 |
Reification implemented. |
80 |
|
81 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
82 |
|
83 |
* RDFXML.pm: s/id/ID/ for attribute name. |
84 |
The |node| arguments are added for |ontriple| calls. |
85 |
Too many "attribute not allowed" errors were raised. |
86 |
|
87 |
* ContentChecker.pm: Initial experimental support for rdf:RDF |
88 |
element. |
89 |
|
90 |
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
91 |
|
92 |
* RDFXML.pm: New module. |
93 |
|
94 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
95 |
|
96 |
* HTML.pm.src (set_inner_html): Line/column number |
97 |
code was old one yet. |
98 |
|
99 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
100 |
|
101 |
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
102 |
errors. Line/column markings for DOCTYPE, comment, and |
103 |
character tokens are reintroduced; otherwise, |
104 |
error location for "not HTML5" error and errors |
105 |
for implied elements are not attached. |
106 |
|
107 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
108 |
|
109 |
* HTML.pm.src: Set line/column numbers to attributes. |
110 |
|
111 |
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
112 |
(value): Setter implemented. |
113 |
|
114 |
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
115 |
|
116 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
117 |
|
118 |
* HTML.pm.src: Unused line/column markings are removed. |
119 |
|
120 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
121 |
|
122 |
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
123 |
flag, which is no longer used. |
124 |
|
125 |
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
126 |
|
127 |
* HTML.pm.src: Set line/column information to element nodes. |
128 |
|
129 |
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
130 |
and !!!insert-element-t): Set line/column information to |
131 |
element nodes. |
132 |
|
133 |
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
134 |
|
135 |
* HTML.pm.src (_get_next_token): The first "<" character |
136 |
in "<?", "<>", or "</>" should be the error point. |
137 |
|
138 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
139 |
|
140 |
* HTML.pm.src: Some more fixes on error position reporting. |
141 |
|
142 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
143 |
|
144 |
* HTML.pm.src: Token-level precious error reporting. |
145 |
|
146 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
147 |
|
148 |
* HTML.pm.src: Preparation for more precious error point |
149 |
reporting. |
150 |
|
151 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
152 |
|
153 |
* HTML.pm.src: Error type revised. |
154 |
|
155 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
156 |
|
157 |
* HTML.pm.src: Similar codes are merged together, again. |
158 |
|
159 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
160 |
|
161 |
* HTML.pm.src: Similar codes are merged together. |
162 |
|
163 |
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
164 |
|
165 |
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
166 |
|
167 |
* HTML.pm.src: Code refined. |
168 |
|
169 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
170 |
|
171 |
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
172 |
revision 1348). Note that I really don't know this makes |
173 |
any difference in the black-box behavior of the parser. |
174 |
|
175 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
176 |
|
177 |
* HTML.pm.src: New end-of-file token implementation (HTML5 |
178 |
revision 1348). |
179 |
|
180 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
181 |
|
182 |
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
183 |
|
184 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
185 |
|
186 |
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
187 |
|
188 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
189 |
|
190 |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
191 |
mode and support for the "in select in table" insertion mode (HTML5 |
192 |
revision 1342). |
193 |
|
194 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
195 |
|
196 |
* HTML.pm.src: No foster parenting for <script> and <script> |
197 |
in non-tainted <table>s (HTML5 revision 1336). |
198 |
|
199 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
200 |
|
201 |
* HTML.pm.src: Ignore white space characters between <html> |
202 |
and <head> (HTML5 revision 1332). |
203 |
|
204 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
205 |
|
206 |
* HTML.pm.src: Treat <input type=hidden> as if it were a |
207 |
white space (HTML5 revision 1331). |
208 |
|
209 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
210 |
|
211 |
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
212 |
element (HTML5 revision 1330). |
213 |
|
214 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
215 |
|
216 |
* HTML.pm.src: <title> is always appended to the current |
217 |
element (HTML5 revision 1328). |
218 |
|
219 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
220 |
|
221 |
* HTML.pm.src: White space in tainted tables are moved |
222 |
into foster parents (HTML5 revision 1326). |
223 |
|
224 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
225 |
|
226 |
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
227 |
revision 1321). |
228 |
|
229 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
230 |
|
231 |
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
232 |
the spec (HTML5 revision 1320). Note that we finally complete |
233 |
all of HTML5 revision 1320 changes. |
234 |
|
235 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
236 |
|
237 |
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
238 |
tags (HTML5 revision 1320). |
239 |
|
240 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
241 |
|
242 |
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
243 |
|
244 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
245 |
|
246 |
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
247 |
could not be reached so that it is now removed (HTML5 revision |
248 |
1320). |
249 |
|
250 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
251 |
|
252 |
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
253 |
to align with new spec text (HTML5 revision 1320). |
254 |
|
255 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
256 |
|
257 |
* HTML.pm.src: Remove strange |if| condition; however, it should |
258 |
have had no harm in theory. |
259 |
|
260 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
261 |
|
262 |
* HTML.pm.src (_tree_construction_main): '</p>' in body |
263 |
case is split from other end tags for the preparation |
264 |
of implementing HTML revision 1320. |
265 |
|
266 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
267 |
|
268 |
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
269 |
revision 1320). |
270 |
|
271 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
272 |
|
273 |
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
274 |
and "div" (HTML5 revision 1318). Add comments to where |
275 |
|form| pointer association codes should be inserted (HTML5 revision |
276 |
1319). |
277 |
|
278 |
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
279 |
|
280 |
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
281 |
|
282 |
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
283 |
|
284 |
* HTML.pm.src: Since the case t268 should never be reached (no |
285 |
other token type, there are), it is replaced by a |die| statement. |
286 |
|
287 |
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
288 |
|
289 |
* HTML.pm.src: Typo fixed. |
290 |
|
291 |
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
292 |
|
293 |
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
294 |
doctypes were not uppercased for comparison. |
295 |
|
296 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
297 |
|
298 |
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
299 |
are added. |
300 |
|
301 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
302 |
|
303 |
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
304 |
are set. Cases that are unlikely reached are noted as so. |
305 |
|
306 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
307 |
|
308 |
* HTML.pm.src: Checkpoints for debugging are added. |
309 |
|
310 |
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
311 |
|
312 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
313 |
|
314 |
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
315 |
for simplicity. |
316 |
|
317 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
318 |
|
319 |
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
320 |
revision 1307). |
321 |
|
322 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
323 |
|
324 |
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
325 |
is set are changed (HTML5 revision 1305). |
326 |
|
327 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
328 |
|
329 |
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
330 |
1292). Entities are not parsed in comment-like part in RCDATA |
331 |
elements (HTML5 revision 1294). Allow bare & at the end |
332 |
of attribute value literals (HTML5 revision 1296). More |
333 |
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
334 |
between attributes and ban attribute names or unquoted |
335 |
attribute values containing single or double quotes (HTML5 |
336 |
revision 1303). |
337 |
|
338 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
339 |
|
340 |
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
341 |
and related errors unless it is an HTML document (though the spec |
342 |
is unclear on whether it is applied to XHTML document). |
343 |
|
344 |
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
345 |
are added. |
346 |
|
347 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
348 |
|
349 |
* HTML.pm.src: s/local_name/manakai_local_name/g. |
350 |
|
351 |
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
352 |
|
353 |
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
354 |
|
355 |
* HTML.pm.src: |charset| in |content| attribute is |
356 |
case-insensitive (HTML5 revision 1270). |
357 |
|
358 |
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
359 |
|
360 |
* ContentChecker.pm: New status constants are added. |
361 |
($ElementDefault): |status| added. |
362 |
(check_element): Err for non-standard or deprecated elements. |
363 |
(_attr_status_info): For non-standard or deprecated attributes. |
364 |
|
365 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
366 |
|
367 |
* ContentChecker.pm (_attr_status_info): New internal method. |
368 |
|
369 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
370 |
|
371 |
* ContentChecker.pm (check_element): Element standardized |
372 |
status information is now dispatched. |
373 |
|
374 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
375 |
|
376 |
* ContentChecker.pm (check_element): Fix |del|-and-significant |
377 |
problem by adding some more arguments. |
378 |
|
379 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
380 |
|
381 |
* ContentChecker.pm (check_element): Use context of |
382 |
container-for-the-purpose-of-content-model element (not transparent |
383 |
element) for |check_child_element| calling and significant |
384 |
text flag marking. This reintroduces |<del>|-and-significant |
385 |
problem again. |
386 |
|
387 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
388 |
|
389 |
* ContentChecker.pm (check_element): Make semi-transparent |
390 |
elements ignored for the purpose of phase changes in |
391 |
content model checking. |
392 |
|
393 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
394 |
|
395 |
* ContentChecker.pm (check_element): In-element state |
396 |
was not properly managed for transparent cases. |
397 |
|
398 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
399 |
|
400 |
* ContentChecker.pm (check_element): Support for |video| |
401 |
and |audio| as semi-transparent elements. |
402 |
|
403 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
404 |
|
405 |
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
406 |
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
407 |
Support for |html:object| as a semi-transparent element. |
408 |
|
409 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
410 |
|
411 |
* ContentChecker.pm (check_element): The way to traverse |
412 |
the tree is entirely revised to make it easier to track |
413 |
the state of ancestors/descendants. As a result of this |
414 |
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
415 |
support for content model checking for HTML elements |figure|, |
416 |
|object|, |video|, and |audio| and checking for XML elements (and |
417 |
some XMLNS checkings) are dropped for now. They will be |
418 |
reimplemented in due cource. |
419 |
|
420 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
421 |
|
422 |
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
423 |
token (HTML5 revision 1225). |
424 |
|
425 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
426 |
|
427 |
* ContentChecker.pm ({unsupported_level}): New value. |
428 |
|
429 |
* HTML.pm.src: Save whether |meta| |content| attribute |
430 |
contains character references or not. |
431 |
|
432 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
433 |
|
434 |
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
435 |
imlement significant content checking for contents |
436 |
with |del| elements. |
437 |
|
438 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
439 |
|
440 |
* ContenteChecker.pm ($HTMLTransparentElements): More |
441 |
elements are added. |
442 |
(_get_children): HTML |object| elements are now semi-transparent. |
443 |
|
444 |
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
445 |
|
446 |
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
447 |
|
448 |
* CacheManifest.pm: HTML5 revision 1211 implemented. |
449 |
|
450 |
* CacheManifest.pod: Updated. |
451 |
|
452 |
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
453 |
|
454 |
* ContentChecker.pm (check_document, check_element): Support |
455 |
for second argument ($onsubdoc). |
456 |
(_get_css_parser): Removed (now it is part of WDCC). |
457 |
|
458 |
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
459 |
|
460 |
* ContentChecker.pm (_get_css_parser): New. |
461 |
|
462 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
463 |
|
464 |
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
465 |
for checking had been used. |
466 |
|
467 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
468 |
|
469 |
* ContentChecker.pm (check_element): New todo item type |descendant|. |
470 |
|
471 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
472 |
|
473 |
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
474 |
specced in RFC 2046 and RFC 4288. |
475 |
(application/atom+xml): Definition added. |
476 |
|
477 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
478 |
|
479 |
* URIChecker.pm: Make RFC 3986 should-level errors |
480 |
warnings (rather than SHOULD-level errors). |
481 |
|
482 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
483 |
|
484 |
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
485 |
|
486 |
* HTML.pm.src: A flag for character references in attribute |
487 |
values are added. Set |manakai_has_reference| user data |
488 |
to |charset| attribute. |
489 |
|
490 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
491 |
|
492 |
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
493 |
attributes. |
494 |
|
495 |
* ContentChecker.pm (check_document): Warn if charset requirements |
496 |
cannot be tested. |
497 |
|
498 |
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
499 |
|
500 |
* HTML.pm.src (parse_byte_string): Detect charset |
501 |
by universalchardet if charset parameter is not specified. |
502 |
|
503 |
* Makefile (Charset-all, Charset-clean): New rules. |
504 |
|
505 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
506 |
|
507 |
* ContentChecker.pm (check_document): Check the existence |
508 |
of character encoding declaration and selection of encoding |
509 |
for HTML document. |
510 |
|
511 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
512 |
|
513 |
* ContentType.pm (get_sniffed_type): Return also the official |
514 |
type in list context. |
515 |
|
516 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
517 |
|
518 |
* ContentType.pm: Sniffing with leading white space |
519 |
ignoring (HTML5 revisions 1013 and 1016). |
520 |
|
521 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
522 |
|
523 |
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
524 |
white spaces, are implemented. |
525 |
|
526 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
527 |
|
528 |
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
529 |
attribute if possible. |
530 |
|
531 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
532 |
|
533 |
* HTML.pm.src (parse_byte_string): New method. |
534 |
(parse_char_string): New alias for |parse_string|. |
535 |
(main phase): Invoking "change the encoding" algorithm if desired. |
536 |
|
537 |
* HTML.pod: Updated. |
538 |
|
539 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
540 |
|
541 |
* HTML.pod (get_inner_html): Removed. |
542 |
|
543 |
* Makefile (HTML-all, HTML-clean): New. |
544 |
|
545 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
546 |
|
547 |
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
548 |
|
549 |
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
550 |
|
551 |
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
552 |
|
553 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
554 |
|
555 |
* Makefile: |CacheManifest.html| is added. |
556 |
|
557 |
* CacheManifest.pod: New file. |
558 |
|
559 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
560 |
|
561 |
* CacheManifest.pm: New module. |
562 |
|
563 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
564 |
|
565 |
* HTML.pm.src: Support for application cache selection algorithm |
566 |
callback. |
567 |
|
568 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
569 |
|
570 |
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
571 |
|
572 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
573 |
|
574 |
* Makefile (clean): New rule. |
575 |
|
576 |
* NanoDOM.pm (public_id, system_id): New attributes. |
577 |
|
578 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
579 |
|
580 |
* Makefile (CSS-all, CSS-clean, clean): New rules. |
581 |
|
582 |
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
583 |
|
584 |
* ContentChecker.pm (check_document): Support for |
585 |
new |is_xml_root| flag. |
586 |
(check_element): Support for new |pluses| state. |
587 |
(_add_pluses): New method. |
588 |
(_remove_minuses): Support for new |minus| item. |
589 |
|
590 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
591 |
|
592 |
* ContentChecker.pm: Raise specific error for invalid |
593 |
root element. |
594 |
|
595 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
596 |
|
597 |
* ContentChecker.pm: Set level values for later uses. |
598 |
|
599 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
600 |
|
601 |
* ContentChecker.pm: Support for language tag validation. |
602 |
|
603 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
604 |
|
605 |
* LangTag.pm (check_rfc3066_language_tag): New method. |
606 |
|
607 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
608 |
|
609 |
* LangTag.pm: New module. |
610 |
|
611 |
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
612 |
|
613 |
* HTML.pm.src: Some error types were wrong. |
614 |
|
615 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
616 |
|
617 |
* CSS/: New directory. |
618 |
|
619 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
620 |
|
621 |
* ContentChecker.pm (_check_get_children): Support |
622 |
for |noscript| in |head|. |
623 |
|
624 |
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
625 |
|
626 |
* URI/: New directory. |
627 |
|
628 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
629 |
|
630 |
* HTML.pm.src: Tokenizer's states are now represented in |
631 |
number. |
632 |
|
633 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
634 |
|
635 |
* HTML.pm.src: |or|s for insertion modes are replaced |
636 |
by |&|s. |
637 |
|
638 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
639 |
|
640 |
* HTML.pm.src: Token types are now represented in number. |
641 |
|
642 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
643 |
|
644 |
* ContentType.pm (SEE ALSO): Updated. |
645 |
|
646 |
* HTML.pm.src: Insertion modes are now represented in number. |
647 |
|
648 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
649 |
|
650 |
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
651 |
999) is implemented. |
652 |
|
653 |
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
654 |
|
655 |
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
656 |
983) is implemented. |
657 |
|
658 |
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
659 |
|
660 |
* ContentChecker.pod: New documentation. |
661 |
|
662 |
* Makefile: A rule for |ContentChecker.html| is added. |
663 |
|
664 |
* ContentChecker.pm: A pod "LICENSE" section is added. |
665 |
|
666 |
* NanoDOM.pm ($VERSION): New variable. |
667 |
|
668 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
669 |
|
670 |
* H2H.pm: |b|, |i|, and |sub| are added to the |
671 |
list of allowed HTML elements. |
672 |
|
673 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
674 |
|
675 |
* H2H.pm: |samp| is added to the list of allowed |
676 |
HTML elements. |
677 |
|
678 |
* URIChecker.pm (check_iri): New. |
679 |
(check_iri_reference): Error type for IRI reference |
680 |
syntax error is changed. |
681 |
|
682 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
683 |
|
684 |
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
685 |
is added. |
686 |
(check_document): Load appropriate module before validation. |
687 |
|
688 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
689 |
|
690 |
* ContentChecker/: New directory. |
691 |
|
692 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
693 |
|
694 |
* ContentChecker.pm: HTML |time| element is implemented. |
695 |
|
696 |
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
697 |
|
698 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
699 |
|
700 |
* ContentChecker.pm (check_document): Return value |
701 |
even if no document element is found. |
702 |
|
703 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
704 |
|
705 |
* HTML.pm.src: |$in_body| is no longer a function. |
706 |
|
707 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
708 |
|
709 |
* HTML.pm.src: The |$in_body| code has been moved down. |
710 |
|
711 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
712 |
|
713 |
* HTML.pm.src: The "trailing end" insertion mode |
714 |
is split into "after html body" and "after html frameset" |
715 |
insertion modes. Their codes are merged with "after body" |
716 |
and "after frameset" codes. |$previous_insertion_mode| |
717 |
has been removed. "after frameset" code is |
718 |
merged with "in frameset" code. |
719 |
|
720 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
721 |
|
722 |
* HTML.pm.src: The "before head" insertion mode is |
723 |
merged with the "in head" insertion mode. |
724 |
|
725 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
726 |
|
727 |
* HTML.pm.src: Cases in "in head" insertion mode are |
728 |
reorganized. |
729 |
|
730 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
731 |
|
732 |
* HTML.pm.src: Some cases in "in table" insertion mode |
733 |
are merged. |
734 |
|
735 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
736 |
|
737 |
* HTML.pm.src: The "in row" insertion mode is merged |
738 |
with "in table" insertion mode. |
739 |
|
740 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
741 |
|
742 |
* HTML.pm.src: The "in table" and "in table body" insertion |
743 |
modes are merged. |
744 |
|
745 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
746 |
|
747 |
* HTML.pm.src: There is no "in table head" or "in table foot" |
748 |
insertion mode! |
749 |
|
750 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
751 |
|
752 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
753 |
now directly invoke the handler. |
754 |
|
755 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
756 |
|
757 |
* HTML.pm.src: Codes for "in cell" insertion mode |
758 |
is merged to the "in body" insertion mode code. |
759 |
|
760 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
761 |
|
762 |
* HTML.pm.src: Codes for "in body" and "in caption" |
763 |
insertion modes are merged. |
764 |
|
765 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
766 |
|
767 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
768 |
|
769 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
770 |
|
771 |
* HTML.pm.src: Use numeric constant for |{content_mode}| |
772 |
instead of string constant for |{content_model_flag}|. |
773 |
|
774 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
775 |
|
776 |
* HTML.pm.src: Add the name of the attribute |
777 |
to the "duplicate attribute" error. |
778 |
|
779 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
780 |
|
781 |
* ContentChecker.pm: Return the |class| node list. |
782 |
|
783 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
784 |
|
785 |
* ContentChecker.pm: Return the |id| node list. |
786 |
|
787 |
* HTML.pm.src: A typo is fixed. |
788 |
|
789 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
790 |
|
791 |
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
792 |
from "in HTML:xml:lang" error. Character position |
793 |
is now the last part of the error type in the URI error |
794 |
description. Report "unsupported" status for language |
795 |
tags, media queries, script codes, and style sheets. |
796 |
|
797 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
798 |
|
799 |
* ContentChecker.pm: Report error if |xml:lang| |
800 |
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
801 |
in XML. |
802 |
|
803 |
* NanoDOM.pm (Attr.owner_document): New attribute. |
804 |
|
805 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
806 |
|
807 |
* HTML.pm.src: The character immediately following |
808 |
a bare |hcro| was discarded. Fix handling of |
809 |
entity references in attribute values. |
810 |
|
811 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
812 |
|
813 |
* HTML.pm.src (main and trailin end phases): Token |
814 |
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
815 |
factored out. Error types |in html:#DOCTYPE| |
816 |
and |after html:#DOCTYPE| are merged |
817 |
into |DOCTYPE in the middle|. |</frameset>| |
818 |
in fragment parsing mode changed the |
819 |
insertion mode. |
820 |
|
821 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
822 |
|
823 |
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
824 |
phase is now an insertion mode. Treatments for white |
825 |
space character tokens were incorrect for some |
826 |
insertion modes. An old |meta| case was not removed. |
827 |
|
828 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
829 |
|
830 |
* HTML.pm.src: |meta| charset declaration extraction |
831 |
implemented (but changing the encoding is not yet:-). |
832 |
|
833 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
834 |
|
835 |
* Charset/: New directory. |
836 |
|
837 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
838 |
|
839 |
* H2H.pm: New Perl module (created from |
840 |
manakai's H2H.dis). |
841 |
|
842 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
843 |
|
844 |
* XMLSerializer.pm: New Perl module (created from |
845 |
manakai's SimpleLS.dis). |
846 |
|
847 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
848 |
|
849 |
* HTML.pm.src: |<!---x-->| was not processed correctly. |
850 |
|
851 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
852 |
|
853 |
* HTML.pm.src: Report correct error message |
854 |
for |<body></div></body>|. |
855 |
|
856 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
857 |
|
858 |
* HTMLTable.pm: An error description was incorrect. |
859 |
|
860 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
861 |
|
862 |
* ContentChecker.pm: Return |{term}| list. |
863 |
|
864 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
865 |
|
866 |
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
867 |
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
868 |
and <title> outside of head). |
869 |
|
870 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
871 |
|
872 |
* IMTChecker.pm: Report warning for unregistered |
873 |
and private types/subtypes. |
874 |
|
875 |
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
876 |
URIChecker.pm, HTMLTable.pm: Error messages are now |
877 |
consistent; they are all listed in |
878 |
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
879 |
|
880 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
881 |
|
882 |
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
883 |
is now erred. |<datalist>| is implemented. |
884 |
Attribute checker for |<command>| and |<menu>| are |
885 |
added. Support for |contextmenu| global attribute |
886 |
is added. |
887 |
|
888 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
889 |
|
890 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
891 |
of Step 3 has been changed. |
892 |
|
893 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
894 |
|
895 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
896 |
|
897 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
898 |
|
899 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
900 |
incorrect. |
901 |
|
902 |
* ContentChecker.pm: Support for the |footer| element. |
903 |
Check URI syntax for space-separated URI attributes. |
904 |
Support for the |tabindex| attribute. Support |
905 |
for |datetime| attribute. |
906 |
|
907 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
908 |
|
909 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
910 |
character references). HTML5 revision 1.146 (white space |
911 |
characters before root start tag). HTML5 revision |
912 |
1.148 (named character references in attribute values). |
913 |
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
914 |
|
915 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
916 |
|
917 |
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
918 |
in <head>). |
919 |
|
920 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
921 |
|
922 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
923 |
in body). |
924 |
|
925 |
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
926 |
|
927 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
928 |
|
929 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
930 |
or RCDATA in fragment parsing mode). HTML5 revision |
931 |
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
932 |
|
933 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
934 |
|
935 |
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
936 |
for <pre> and <textarea>). |
937 |
|
938 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
939 |
|
940 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
941 |
|
942 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
943 |
|
944 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
945 |
|
946 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
947 |
|
948 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
949 |
HTML5 revision 917 (conforming bare &). |
950 |
|
951 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
952 |
|
953 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
954 |
|
955 |
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
956 |
HTML5 revision 915 (<nobr>). |
957 |
|
958 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
959 |
|
960 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
961 |
|
962 |
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
963 |
New attributes. |
964 |
|
965 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
966 |
|
967 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
968 |
in tags). |
969 |
|
970 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
971 |
|
972 |
* .cvsignore: |Entities.html| is added. |
973 |
|
974 |
* HTML.pm.src: |$entity_char| is removed and |
975 |
requires |Whatpm::_NamedEntityList| instead. |
976 |
HTML5 revision 898 (refc), except that lack of refc |
977 |
is parse error. |
978 |
|
979 |
* mkentitylist.pl: New script. |
980 |
|
981 |
* Makefile (all): |_NamedEntityList.pm| is added. |
982 |
(_NamedEntityList.pm, Entities.html): New rules. |
983 |
|
984 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
985 |
|
986 |
* HTML.pm.src: Parse errors immediately after U+000D |
987 |
were ignored and U+000D immediately following another |
988 |
U+000D was not converted to U+000A. |
989 |
|
990 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
991 |
|
992 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
993 |
nodes before appended). Parser was not ready for NULL |
994 |
parse error and escape flag. |
995 |
|
996 |
* NanoDOM.pm (adopt_node): New. |
997 |
|
998 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
999 |
|
1000 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
1001 |
CDATA and RCDATA). Note that current implementation |
1002 |
is simply repeating what the spec says and it is maybe not |
1003 |
a best way to do it. |
1004 |
|
1005 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1006 |
|
1007 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
1008 |
the form element if a descendant element without implied end tag has |
1009 |
still been open). |
1010 |
|
1011 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1012 |
|
1013 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
1014 |
space characters non-conforming). |
1015 |
|
1016 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1017 |
|
1018 |
* HTML.pm.src: An error message was incorrect. |
1019 |
HTML5 revision 869 (C1 character references). |
1020 |
|
1021 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
1022 |
|
1023 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
1024 |
a |textarea| is removed). |
1025 |
|
1026 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
1027 |
|
1028 |
* NanoDOM.pm (get_attribute_node_ns): New method. |
1029 |
|
1030 |
* ContentChecker.pm: |script| |async| and |defer| |
1031 |
no longer require |src|. |async| MUST NOT be |
1032 |
specified if |defer|. (HTML5 revision 858). |
1033 |
|
1034 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
1035 |
|
1036 |
* HTML.pm.src: |<form><form>| went to inifinite loop. |
1037 |
|
1038 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1039 |
|
1040 |
* ContentChecker.pm (html): Set |is_root| (allowed |
1041 |
as a document element) flag on. |
1042 |
(new): Removed. |
1043 |
(check_document): New method. |
1044 |
|
1045 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1046 |
|
1047 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
1048 |
were incorrect. |
1049 |
|
1050 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1051 |
|
1052 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
1053 |
error position in the |type| option of the error. |
1054 |
|
1055 |
* HTMLTable.pm (form_table): The |$onerror| parameter |
1056 |
is now optional. Some bugs are fixed. |
1057 |
|
1058 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
1059 |
|
1060 |
* HTMLTable.pm: New module. |
1061 |
|
1062 |
* ContentChecker.pm (table): Invoke table model error checker. |
1063 |
|
1064 |
* NanoDOM.pm (first_child, get_attribute_ns): New. |
1065 |
|
1066 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
1067 |
|
1068 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
1069 |
(link/@rel, a/@rel, area/@rel): Use new checker. |
1070 |
|
1071 |
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
1072 |
|
1073 |
* _LinkTypeList.pm: New file. |
1074 |
|
1075 |
* mklinktypelist.pl: New file. |
1076 |
|
1077 |
* .cvsignore: |RelExtensions.html| added. |
1078 |
|
1079 |
* NanoDOM.pm (child_nodes): Returns an empty array |
1080 |
for non-child-containing node types. |
1081 |
(text_content): New attribute. |
1082 |
|
1083 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
1084 |
|
1085 |
* IMTChecker.pm: New module. |
1086 |
|
1087 |
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
1088 |
to test parameter value validity. |
1089 |
|
1090 |
* HTML.pm.src ($style_start_tag): Attributes were |
1091 |
discarded. |
1092 |
|
1093 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
1094 |
|
1095 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
1096 |
|
1097 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
1098 |
|
1099 |
* URIChecker.pm: All recommendations from RFC 3986 |
1100 |
and RFC 3987 are listed (not all testable items are checked yet). |
1101 |
|
1102 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
1103 |
|
1104 |
* URIChecker.pm: New module. |
1105 |
|
1106 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1107 |
|
1108 |
* ContentChecker.pm: Now most attributes are implemented |
1109 |
or associated to some placeholder. |
1110 |
($ElementDefault): Warn unknown attributes |
1111 |
for unknown elements as "attribute not supported". |
1112 |
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
1113 |
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
1114 |
(|a| attribute checker): Reimplemented. |
1115 |
|
1116 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1117 |
|
1118 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
1119 |
($HTMLAttrChecker): Event handler content attributes |
1120 |
are added. |
1121 |
(link, embed): Required attribute is now checked. |
1122 |
(embed): Unknown local attributes are no longer warned. |
1123 |
|
1124 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1125 |
|
1126 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
1127 |
($HTMLIMTAttrChecker): New checker. |
1128 |
(link@rel, link@href, link@type, style@type, |
1129 |
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
1130 |
object@data, object@type, source@src, source@type, area@alt, |
1131 |
area@shape, area@coords, area@href, |
1132 |
area@ping, area@rel, area@type, script@src, |
1133 |
script@defer, script@async, script@type): Checkers added. |
1134 |
|
1135 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
1136 |
|
1137 |
* ContentChecker.pm: Descendant checking was incorrect. |
1138 |
|
1139 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1140 |
|
1141 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
1142 |
attributes. Report an error if |Element.prefix| |
1143 |
is |xmlns|. |
1144 |
|
1145 |
* NanoDOM.pm (prefix): New attribute. |
1146 |
|
1147 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1148 |
|
1149 |
* HTML.pm.src: In |main| phase, |in body| insertion |
1150 |
mode, action for |<iframe>| was missing. |
1151 |
|
1152 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1153 |
|
1154 |
* ContentChecker.pm: Support for many of HTML5 elements. |
1155 |
($GetHTMLNonNegativeIntegerAttrChecker): New. |
1156 |
|
1157 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1158 |
|
1159 |
* ContentChecker.pm: Support for most elements up to |progress|. |
1160 |
($HTMLURIAttrChecker): Placeholder. |
1161 |
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
1162 |
New. |
1163 |
|
1164 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1165 |
|
1166 |
* ContentChecker.pm: Attribute checkers |
1167 |
for global attributes, |html|, |base|, |style|, and |meta|. |
1168 |
|
1169 |
* NanoDOM.pm (insert_before): Weaken reference |
1170 |
to the parent node. |
1171 |
(Attr::new): Set |owner_element| attribute. |
1172 |
(namespace_uri, manakai_local_name): New attribute implementations. |
1173 |
(owner_element): New attribute. |
1174 |
|
1175 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1176 |
|
1177 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
1178 |
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
1179 |
$Element->{$HTML_NS}->{''}): New. |
1180 |
(check_element): Invoke attrs_checker for each element. |
1181 |
|
1182 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1183 |
|
1184 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
1185 |
|
1186 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1187 |
|
1188 |
* ContentChecker.pm: Use hashs rather than lists for |
1189 |
element type testings. |
1190 |
|
1191 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1192 |
|
1193 |
* ContentChecker.pm: Don't generate duplicate |
1194 |
error when an element type is put in the "minus" list |
1195 |
and the element type is not allowed explicitly in the particular |
1196 |
element content model. |
1197 |
(html:a checker): New checker. |
1198 |
(html:details, html:datagrid): New checkers. |
1199 |
(html:legend): New checker. |
1200 |
|
1201 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1202 |
|
1203 |
* ContentChecker.pm (html:li checker): Implemented. |
1204 |
|
1205 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1206 |
|
1207 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
1208 |
checker. |
1209 |
(html:dd checker): New checker. |
1210 |
(html:q, html:em, html:strong, html:small, |
1211 |
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
1212 |
|
1213 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1214 |
|
1215 |
* ContentChecker.pm ($AnyChecker): Renamed |
1216 |
from |$ElementDefault->{checker}|. |
1217 |
($ElementDefault->{checker}): Throw an error that |
1218 |
the element type is not supported by the checker. |
1219 |
($HTMLMetadataElement): |html:base| was missing. |
1220 |
($HTMLEmptyChecker): Don't throw an error |
1221 |
for inter-element whitespace nodes. |
1222 |
(html:html checker): Errors were not |
1223 |
thrown even if |html:head| and/or |html:body| |
1224 |
children were missing. |
1225 |
(html:head checker): An error was not |
1226 |
thrown if <meta charset> appered after other |
1227 |
elements. |
1228 |
|
1229 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
1230 |
|
1231 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
1232 |
and |noscript| elements are implemented. |
1233 |
(new): New method. |
1234 |
|
1235 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
1236 |
|
1237 |
* ContentChecker.pm: New module. |
1238 |
|
1239 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
1240 |
|
1241 |
* NanoDOM.pm (manakai_parent_element, |
1242 |
document_element, manakai_local_name, |
1243 |
manakai_element_type_match): New method. |
1244 |
|
1245 |
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
1246 |
|
1247 |
* HTML.pm.src: Replace decimal and hexadecimal numeric |
1248 |
entities in C1 range using Windows-1252 mapping. Bare LF |
1249 |
did not count as new line for error reporting. |
1250 |
|
1251 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
1252 |
|
1253 |
* NanoDOM.pm (DOMImplementation): New class. |
1254 |
(append_child): Weaken the |parent_node| reference. |
1255 |
(create_element_ns, Element new): Set the |owner_document| |
1256 |
reference. |
1257 |
(implementation): New attribute. |
1258 |
(owner_document, local_name, namespace_uri): New attributes. |
1259 |
|
1260 |
* HTML.pm.src (parse_string): Line and column numbers |
1261 |
are now provided to error handler. |
1262 |
(!!!parse-error): Short descriptions are added. |
1263 |
(_construct_tree): Split into three methods; support |
1264 |
for innerHTML mode. |
1265 |
(set_inner_html): New method. |
1266 |
|
1267 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1268 |
|
1269 |
* NanoDOM.html: Documentation is added. |
1270 |
|
1271 |
* HTML.pod, ContentType.html: Documentation is revised. |
1272 |
|
1273 |
* .cvsignore: Pod2html temporary files are added. |
1274 |
|
1275 |
* Makefile: Make |NanoDOM.html|. |
1276 |
|
1277 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1278 |
|
1279 |
* HTML.pm.src (parse_string): New method. |
1280 |
(get_inner_html): Renamed from |inner_html|. |
1281 |
|
1282 |
* Makefile: A rule for |HTML.html| is added. |
1283 |
|
1284 |
* HTML.pod: New documentation. |
1285 |
|
1286 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1287 |
|
1288 |
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
1289 |
(clone_node): Attribute nodes were not completely copied. |
1290 |
|
1291 |
* HTML.pm.src: Many bugs are fixed. |
1292 |
|
1293 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1294 |
|
1295 |
* HTML.pm.src: Some typos are fixed. |
1296 |
|
1297 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1298 |
|
1299 |
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
1300 |
are removed. |
1301 |
|
1302 |
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
1303 |
|
1304 |
* HTML-consume-entity.src: Removed. |
1305 |
|
1306 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1307 |
|
1308 |
* HTML.pm.src: Tokenizer's handling on hexadecimal |
1309 |
numeric entities are rewritten. |
1310 |
|
1311 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1312 |
|
1313 |
* HTML.pm.src: Some tokenizer bugs are fixed. |
1314 |
|
1315 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1316 |
|
1317 |
* HTML.pm.src: The tree construction stage is implemented. |
1318 |
|
1319 |
* mkhtmlparser.pl: New macros are added. |
1320 |
|
1321 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
1322 |
|
1323 |
* ContentType.pm: A note on bug in the specification |
1324 |
is removed since it's been now fixed. |
1325 |
|
1326 |
* .cvsignore: New file. |
1327 |
|
1328 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
1329 |
|
1330 |
* HTML.pm.src, HTML-consume-entity.src: New files. |
1331 |
|
1332 |
* Makefile (HTML.pm): New rule. |
1333 |
|
1334 |
* mkhtmlparser.pl: New script. |
1335 |
|
1336 |
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
1337 |
|
1338 |
* Makefile: New file. |
1339 |
|
1340 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1341 |
|
1342 |
* ContentType.pm: An error in pod is fixed. |
1343 |
|
1344 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1345 |
|
1346 |
* ContentType.pm: Documentation is added. |
1347 |
|
1348 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1349 |
|
1350 |
* ContentType.pm: New Perl module. |
1351 |
|
1352 |
* ChangeLog: New file. |
1353 |
|
1354 |
|