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