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