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