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