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