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