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