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