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