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