1 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Support for end-of-file token in foreign content |
4 |
|
insertion mode (HTML5 revision 1693). Update SVG camelCase |
5 |
|
attribute list (HTML5 revision 1700). <textarea> closes |
6 |
|
</select> (HTML5 revision 1699). More start tags close in |
7 |
|
foreign content insertion mode (HTML5 revision 1698). |
8 |
|
|
9 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665). |
12 |
|
|
13 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* HTML.pm.src: More robust charset parameter detection (HTML5 |
16 |
|
revision 1674). |
17 |
|
|
18 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* ContentType.pm: Support for image/vnd.microsoft.icon (HTML5 |
21 |
|
revision 1676). |
22 |
|
|
23 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* HTML.pm.src: Ignore language part of public identifiers for |
26 |
|
quriks mode detection (HTML5 revision 1679). |
27 |
|
|
28 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5 |
31 |
|
revision 1685). |
32 |
|
|
33 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
36 |
|
revision 1684). |
37 |
|
|
38 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
41 |
|
work (HTML5 revision 1690). |
42 |
|
|
43 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* HTML.pm.src (_tree_construction_main): Change handling of |
46 |
|
end tags in head insertion modes (HTML5 revision 1686). |
47 |
|
(parse_char_string): Bug fix for non-utf8 character string handlings. |
48 |
|
(parse_char_stream): |ungetc| does not work well for this context. |
49 |
|
|
50 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
53 |
|
|parse_byte_stream|. |
54 |
|
(parse_byte_stream): New method. |
55 |
|
|
56 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
59 |
|
by encoding layer error reporter. |
60 |
|
|
61 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
64 |
|
rather than converting the whole byte string and then parsing. |
65 |
|
Propagate errors in character encoding layer. |
66 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
67 |
|
|
68 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* HTML.pm.src (parse_char_stream): New method. |
71 |
|
(parse_char_string): This method is now defined as an invocation |
72 |
|
of the |parse_char_stream| method. |
73 |
|
|
74 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* HTML.pm.src (parse_byte_string): Report various status |
77 |
|
of the sniffing as info-level errors. Support for new |
78 |
|
decoding framework in parser resestting. |
79 |
|
(new): Various default error levels were not set. |
80 |
|
|
81 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
84 |
|
algorithm, except for the actual sniffing, is implemented |
85 |
|
with new framework with Message::Charset::Info. |
86 |
|
|
87 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
90 |
|
URIs in fallback section (HTML5 revision 1596). |
91 |
|
|
92 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* Makefile (Entities.html): URI has changed. |
95 |
|
|
96 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
99 |
|
1553). |
100 |
|
|
101 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
104 |
|
no longer table elements, but table objects returned |
105 |
|
by Whatpm::HTMLTable. |
106 |
|
|
107 |
|
* HTMLTable.pm (form_table): Return table element node |
108 |
|
as |$table->{element}|. |
109 |
|
(assign_header): Support for the |headers=""| attribute. |
110 |
|
|
111 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* HTMLTable.pm (assign_header): New function; first version |
114 |
|
with no support for headers="". |
115 |
|
(form_table): Include table width and height to the returned |
116 |
|
table object for covenience. Indexing in column assignement was wrong. |
117 |
|
Set whether a data cell is empty or not for convenience. |
118 |
|
|
119 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
122 |
|
|
123 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* HTMLTable.pm: How table model errors are detected is |
126 |
|
changed (HTML5 revision 1387). |
127 |
|
|
128 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
131 |
|
to the end of the table (HTML5 revision 1380). |
132 |
|
|
133 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
136 |
|
of 1-based (HTML5 revision 1376). |
137 |
|
|
138 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
141 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
142 |
|
revision 1288). |
143 |
|
|
144 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
147 |
|
1282). |
148 |
|
|
149 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* ContentChecker.pm: Support for global attributes. |
152 |
|
Status of XML specs are added. |
153 |
|
|
154 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
157 |
|
and |ref=""| attribute (referent element type checking). |
158 |
|
|
159 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
160 |
|
|
161 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
162 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
163 |
|
knowledge). Line number counting was wrong for LF-only |
164 |
|
documents. |
165 |
|
|
166 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
169 |
|
character (HTML5 revision 1263). |
170 |
|
|
171 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
174 |
|
definition for |AElig;| was missing). |
175 |
|
|
176 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
179 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
180 |
|
|
181 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* HTML.pm.src: List of element names that close foreign content |
184 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
185 |
|
|
186 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
189 |
|
elements (HTML5 revision 1410). |
190 |
|
|
191 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
194 |
|
revision 1406). |
195 |
|
|
196 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
197 |
|
|
198 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
199 |
|
elements (HTML5 revision 1404 and 1420). |
200 |
|
|
201 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
202 |
|
|
203 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
204 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
205 |
|
are removed. |
206 |
|
|
207 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
210 |
|
are raised is changed (HTML5 revision 1404). |
211 |
|
|
212 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
215 |
|
|
216 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
219 |
|
replaced by constants representing element category. |
220 |
|
|
221 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
222 |
|
|
223 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
224 |
|
for error reporting. (This is a preparation for using constant |
225 |
|
value for ->[1].) |
226 |
|
|
227 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* RDFXML.pm: Typo fixed. |
230 |
|
|
231 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* ContentChecker.pm: |fact_level| is now treated |
234 |
|
as same as |must_level|, i.e. level = |m|. |
235 |
|
(check_element): Make list of URIs in the DOM. |
236 |
|
|
237 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
238 |
|
|
239 |
|
* RDFXML.pm: Language accessor implemented. |
240 |
|
Local (null-namespace) attribute support. |
241 |
|
|
242 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* RDFXML.pm: Factored out ID checking code. |
245 |
|
|
246 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
249 |
|
and URI attributes is implemented. Warn if unknown |
250 |
|
value is used in rdf:parseType="" attribute. |
251 |
|
|
252 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
253 |
|
|
254 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
257 |
|
are now resolved. |
258 |
|
|
259 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* ContentChecker.pm: RDF reification implemented. |
262 |
|
|
263 |
|
* RDFXML.pm: undef vs false bug fixed. |
264 |
|
Reification implemented. |
265 |
|
|
266 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
269 |
|
The |node| arguments are added for |ontriple| calls. |
270 |
|
Too many "attribute not allowed" errors were raised. |
271 |
|
|
272 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
273 |
|
element. |
274 |
|
|
275 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* RDFXML.pm: New module. |
278 |
|
|
279 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* HTML.pm.src (set_inner_html): Line/column number |
282 |
|
code was old one yet. |
283 |
|
|
284 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
287 |
|
errors. Line/column markings for DOCTYPE, comment, and |
288 |
|
character tokens are reintroduced; otherwise, |
289 |
|
error location for "not HTML5" error and errors |
290 |
|
for implied elements are not attached. |
291 |
|
|
292 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
295 |
|
|
296 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
297 |
|
(value): Setter implemented. |
298 |
|
|
299 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
300 |
|
|
301 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
302 |
|
|
303 |
|
* HTML.pm.src: Unused line/column markings are removed. |
304 |
|
|
305 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
308 |
|
flag, which is no longer used. |
309 |
|
|
310 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* HTML.pm.src: Set line/column information to element nodes. |
313 |
|
|
314 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
315 |
|
and !!!insert-element-t): Set line/column information to |
316 |
|
element nodes. |
317 |
|
|
318 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
321 |
|
in "<?", "<>", or "</>" should be the error point. |
322 |
|
|
323 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
326 |
|
|
327 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* HTML.pm.src: Token-level precious error reporting. |
330 |
|
|
331 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
332 |
|
|
333 |
|
* HTML.pm.src: Preparation for more precious error point |
334 |
|
reporting. |
335 |
|
|
336 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
337 |
|
|
338 |
|
* HTML.pm.src: Error type revised. |
339 |
|
|
340 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
341 |
|
|
342 |
|
* HTML.pm.src: Similar codes are merged together, again. |
343 |
|
|
344 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
345 |
|
|
346 |
|
* HTML.pm.src: Similar codes are merged together. |
347 |
|
|
348 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
349 |
|
|
350 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
351 |
|
|
352 |
|
* HTML.pm.src: Code refined. |
353 |
|
|
354 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
355 |
|
|
356 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
357 |
|
revision 1348). Note that I really don't know this makes |
358 |
|
any difference in the black-box behavior of the parser. |
359 |
|
|
360 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
361 |
|
|
362 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
363 |
|
revision 1348). |
364 |
|
|
365 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
366 |
|
|
367 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
368 |
|
|
369 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
370 |
|
|
371 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
372 |
|
|
373 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
374 |
|
|
375 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
376 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
377 |
|
revision 1342). |
378 |
|
|
379 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
381 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
382 |
|
in non-tainted <table>s (HTML5 revision 1336). |
383 |
|
|
384 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
386 |
|
* HTML.pm.src: Ignore white space characters between <html> |
387 |
|
and <head> (HTML5 revision 1332). |
388 |
|
|
389 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
390 |
|
|
391 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
392 |
|
white space (HTML5 revision 1331). |
393 |
|
|
394 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
395 |
|
|
396 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
397 |
|
element (HTML5 revision 1330). |
398 |
|
|
399 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
400 |
|
|
401 |
|
* HTML.pm.src: <title> is always appended to the current |
402 |
|
element (HTML5 revision 1328). |
403 |
|
|
404 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
405 |
|
|
406 |
|
* HTML.pm.src: White space in tainted tables are moved |
407 |
|
into foster parents (HTML5 revision 1326). |
408 |
|
|
409 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
410 |
|
|
411 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
412 |
|
revision 1321). |
413 |
|
|
414 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
415 |
|
|
416 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
417 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
418 |
|
all of HTML5 revision 1320 changes. |
419 |
|
|
420 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
421 |
|
|
422 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
423 |
|
tags (HTML5 revision 1320). |
424 |
|
|
425 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
427 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
428 |
|
|
429 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
430 |
|
|
431 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
432 |
|
could not be reached so that it is now removed (HTML5 revision |
433 |
|
1320). |
434 |
|
|
435 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
436 |
|
|
437 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
438 |
|
to align with new spec text (HTML5 revision 1320). |
439 |
|
|
440 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
441 |
|
|
442 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
443 |
|
have had no harm in theory. |
444 |
|
|
445 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
446 |
|
|
447 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
448 |
|
case is split from other end tags for the preparation |
449 |
|
of implementing HTML revision 1320. |
450 |
|
|
451 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
452 |
|
|
453 |
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |