1 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
4 |
|
|
5 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* HTML.pm.src: Token-level precious error reporting. |
8 |
|
|
9 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* HTML.pm.src: Preparation for more precious error point |
12 |
|
reporting. |
13 |
|
|
14 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* HTML.pm.src: Error type revised. |
17 |
|
|
18 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* HTML.pm.src: Similar codes are merged together, again. |
21 |
|
|
22 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* HTML.pm.src: Similar codes are merged together. |
25 |
|
|
26 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
29 |
|
|
30 |
|
* HTML.pm.src: Code refined. |
31 |
|
|
32 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
35 |
|
revision 1348). Note that I really don't know this makes |
36 |
|
any difference in the black-box behavior of the parser. |
37 |
|
|
38 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
41 |
|
revision 1348). |
42 |
|
|
43 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
46 |
|
|
47 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
50 |
|
|
51 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
54 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
55 |
|
revision 1342). |
56 |
|
|
57 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
60 |
|
in non-tainted <table>s (HTML5 revision 1336). |
61 |
|
|
62 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* HTML.pm.src: Ignore white space characters between <html> |
65 |
|
and <head> (HTML5 revision 1332). |
66 |
|
|
67 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
70 |
|
white space (HTML5 revision 1331). |
71 |
|
|
72 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
75 |
|
element (HTML5 revision 1330). |
76 |
|
|
77 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* HTML.pm.src: <title> is always appended to the current |
80 |
|
element (HTML5 revision 1328). |
81 |
|
|
82 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* HTML.pm.src: White space in tainted tables are moved |
85 |
|
into foster parents (HTML5 revision 1326). |
86 |
|
|
87 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
90 |
|
revision 1321). |
91 |
|
|
92 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
95 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
96 |
|
all of HTML5 revision 1320 changes. |
97 |
|
|
98 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
101 |
|
tags (HTML5 revision 1320). |
102 |
|
|
103 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
106 |
|
|
107 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
110 |
|
could not be reached so that it is now removed (HTML5 revision |
111 |
|
1320). |
112 |
|
|
113 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
116 |
|
to align with new spec text (HTML5 revision 1320). |
117 |
|
|
118 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
121 |
|
have had no harm in theory. |
122 |
|
|
123 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
126 |
|
case is split from other end tags for the preparation |
127 |
|
of implementing HTML revision 1320. |
128 |
|
|
129 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
132 |
|
revision 1320). |
133 |
|
|
134 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
137 |
|
and "div" (HTML5 revision 1318). Add comments to where |
138 |
|
|form| pointer association codes should be inserted (HTML5 revision |
139 |
|
1319). |
140 |
|
|
141 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
143 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
144 |
|
|
145 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
148 |
|
other token type, there are), it is replaced by a |die| statement. |
149 |
|
|
150 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* HTML.pm.src: Typo fixed. |
153 |
|
|
154 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
157 |
|
doctypes were not uppercased for comparison. |
158 |
|
|
159 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
160 |
|
|
161 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
162 |
|
are added. |
163 |
|
|
164 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
167 |
|
are set. Cases that are unlikely reached are noted as so. |
168 |
|
|
169 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
172 |
|
|
173 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
174 |
|
|
175 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
178 |
|
for simplicity. |
179 |
|
|
180 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
183 |
|
revision 1307). |
184 |
|
|
185 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
188 |
|
is set are changed (HTML5 revision 1305). |
189 |
|
|
190 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
192 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
193 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
194 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
195 |
|
of attribute value literals (HTML5 revision 1296). More |
196 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
197 |
|
between attributes and ban attribute names or unquoted |
198 |
|
attribute values containing single or double quotes (HTML5 |
199 |
|
revision 1303). |
200 |
|
|
201 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
202 |
|
|
203 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
204 |
|
and related errors unless it is an HTML document (though the spec |
205 |
|
is unclear on whether it is applied to XHTML document). |
206 |
|
|
207 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
208 |
|
are added. |
209 |
|
|
210 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
213 |
|
|
214 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
217 |
|
|
218 |
|
* HTML.pm.src: |charset| in |content| attribute is |
219 |
|
case-insensitive (HTML5 revision 1270). |
220 |
|
|
221 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
222 |
|
|
223 |
|
* ContentChecker.pm: New status constants are added. |
224 |
|
($ElementDefault): |status| added. |
225 |
|
(check_element): Err for non-standard or deprecated elements. |
226 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
227 |
|
|
228 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
229 |
|
|
230 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
231 |
|
|
232 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
233 |
|
|
234 |
|
* ContentChecker.pm (check_element): Element standardized |
235 |
|
status information is now dispatched. |
236 |
|
|
237 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
238 |
|
|
239 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
240 |
|
problem by adding some more arguments. |
241 |
|
|
242 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* ContentChecker.pm (check_element): Use context of |
245 |
|
container-for-the-purpose-of-content-model element (not transparent |
246 |
|
element) for |check_child_element| calling and significant |
247 |
|
text flag marking. This reintroduces |<del>|-and-significant |
248 |
|
problem again. |
249 |
|
|
250 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
251 |
|
|
252 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
253 |
|
elements ignored for the purpose of phase changes in |
254 |
|
content model checking. |
255 |
|
|
256 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* ContentChecker.pm (check_element): In-element state |
259 |
|
was not properly managed for transparent cases. |
260 |
|
|
261 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* ContentChecker.pm (check_element): Support for |video| |
264 |
|
and |audio| as semi-transparent elements. |
265 |
|
|
266 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
269 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
270 |
|
Support for |html:object| as a semi-transparent element. |
271 |
|
|
272 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
273 |
|
|
274 |
|
* ContentChecker.pm (check_element): The way to traverse |
275 |
|
the tree is entirely revised to make it easier to track |
276 |
|
the state of ancestors/descendants. As a result of this |
277 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
278 |
|
support for content model checking for HTML elements |figure|, |
279 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
280 |
|
some XMLNS checkings) are dropped for now. They will be |
281 |
|
reimplemented in due cource. |
282 |
|
|
283 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
286 |
|
token (HTML5 revision 1225). |
287 |
|
|
288 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
289 |
|
|
290 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
291 |
|
|
292 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
293 |
|
contains character references or not. |
294 |
|
|
295 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
298 |
|
imlement significant content checking for contents |
299 |
|
with |del| elements. |
300 |
|
|
301 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
302 |
|
|
303 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
304 |
|
elements are added. |
305 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
306 |
|
|
307 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
308 |
|
|
309 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
312 |
|
|
313 |
|
* CacheManifest.pod: Updated. |
314 |
|
|
315 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
316 |
|
|
317 |
|
* ContentChecker.pm (check_document, check_element): Support |
318 |
|
for second argument ($onsubdoc). |
319 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
320 |
|
|
321 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* ContentChecker.pm (_get_css_parser): New. |
324 |
|
|
325 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
326 |
|
|
327 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
328 |
|
for checking had been used. |
329 |
|
|
330 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
331 |
|
|
332 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
333 |
|
|
334 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
336 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
337 |
|
specced in RFC 2046 and RFC 4288. |
338 |
|
(application/atom+xml): Definition added. |
339 |
|
|
340 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
341 |
|
|
342 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
343 |
|
warnings (rather than SHOULD-level errors). |
344 |
|
|
345 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
346 |
|
|
347 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
348 |
|
|
349 |
|
* HTML.pm.src: A flag for character references in attribute |
350 |
|
values are added. Set |manakai_has_reference| user data |
351 |
|
to |charset| attribute. |
352 |
|
|
353 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
354 |
|
|
355 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
356 |
|
attributes. |
357 |
|
|
358 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
359 |
|
cannot be tested. |
360 |
|
|
361 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
362 |
|
|
363 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
364 |
|
by universalchardet if charset parameter is not specified. |
365 |
|
|
366 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
367 |
|
|
368 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
369 |
|
|
370 |
|
* ContentChecker.pm (check_document): Check the existence |
371 |
|
of character encoding declaration and selection of encoding |
372 |
|
for HTML document. |
373 |
|
|
374 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
375 |
|
|
376 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
377 |
|
type in list context. |
378 |
|
|
379 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
381 |
|
* ContentType.pm: Sniffing with leading white space |
382 |
|
ignoring (HTML5 revisions 1013 and 1016). |
383 |
|
|
384 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
386 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
387 |
|
white spaces, are implemented. |
388 |
|
|
389 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
390 |
|
|
391 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
392 |
|
attribute if possible. |
393 |
|
|
394 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
395 |
|
|
396 |
|
* HTML.pm.src (parse_byte_string): New method. |
397 |
|
(parse_char_string): New alias for |parse_string|. |
398 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
399 |
|
|
400 |
|
* HTML.pod: Updated. |
401 |
|
|
402 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* HTML.pod (get_inner_html): Removed. |
405 |
|
|
406 |
|
* Makefile (HTML-all, HTML-clean): New. |
407 |
|
|
408 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
409 |
|
|
410 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
411 |
|
|
412 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
414 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
415 |
|
|
416 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
|
* Makefile: |CacheManifest.html| is added. |
419 |
|
|
420 |
|
* CacheManifest.pod: New file. |
421 |
|
|
422 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
423 |
|
|
424 |
|
* CacheManifest.pm: New module. |
425 |
|
|
426 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
427 |
|
|
428 |
|
* HTML.pm.src: Support for application cache selection algorithm |
429 |
|
callback. |
430 |
|
|
431 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
432 |
|
|
433 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
434 |
|
|
435 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
436 |
|
|
437 |
|
* Makefile (clean): New rule. |
438 |
|
|
439 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
440 |
|
|
441 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
442 |
|
|
443 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
444 |
|
|
445 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
446 |
|
|
447 |
|
* ContentChecker.pm (check_document): Support for |
448 |
|
new |is_xml_root| flag. |
449 |
|
(check_element): Support for new |pluses| state. |
450 |
|
(_add_pluses): New method. |
451 |
|
(_remove_minuses): Support for new |minus| item. |
452 |
|
|
453 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
454 |
|
|
455 |
|
* ContentChecker.pm: Raise specific error for invalid |
456 |
|
root element. |
457 |
|
|
458 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
459 |
|
|
460 |
* ContentChecker.pm: Set level values for later uses. |
* ContentChecker.pm: Set level values for later uses. |