1 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
4 |
|
|
5 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* ContentChecker.pm (check_element): Element standardized |
8 |
|
status information is now dispatched. |
9 |
|
|
10 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
13 |
|
problem by adding some more arguments. |
14 |
|
|
15 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* ContentChecker.pm (check_element): Use context of |
18 |
|
container-for-the-purpose-of-content-model element (not transparent |
19 |
|
element) for |check_child_element| calling and significant |
20 |
|
text flag marking. This reintroduces |<del>|-and-significant |
21 |
|
problem again. |
22 |
|
|
23 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
26 |
|
elements ignored for the purpose of phase changes in |
27 |
|
content model checking. |
28 |
|
|
29 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* ContentChecker.pm (check_element): In-element state |
32 |
|
was not properly managed for transparent cases. |
33 |
|
|
34 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* ContentChecker.pm (check_element): Support for |video| |
37 |
|
and |audio| as semi-transparent elements. |
38 |
|
|
39 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
42 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
43 |
|
Support for |html:object| as a semi-transparent element. |
44 |
|
|
45 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* ContentChecker.pm (check_element): The way to traverse |
48 |
|
the tree is entirely revised to make it easier to track |
49 |
|
the state of ancestors/descendants. As a result of this |
50 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
51 |
|
support for content model checking for HTML elements |figure|, |
52 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
53 |
|
some XMLNS checkings) are dropped for now. They will be |
54 |
|
reimplemented in due cource. |
55 |
|
|
56 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
59 |
|
token (HTML5 revision 1225). |
60 |
|
|
61 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
64 |
|
|
65 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
66 |
|
contains character references or not. |
67 |
|
|
68 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
71 |
|
imlement significant content checking for contents |
72 |
|
with |del| elements. |
73 |
|
|
74 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
77 |
|
elements are added. |
78 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
79 |
|
|
80 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
81 |
|
|
82 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
85 |
|
|
86 |
|
* CacheManifest.pod: Updated. |
87 |
|
|
88 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* ContentChecker.pm (check_document, check_element): Support |
91 |
|
for second argument ($onsubdoc). |
92 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
93 |
|
|
94 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* ContentChecker.pm (_get_css_parser): New. |
97 |
|
|
98 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
101 |
|
for checking had been used. |
102 |
|
|
103 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
106 |
|
|
107 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
110 |
|
specced in RFC 2046 and RFC 4288. |
111 |
|
(application/atom+xml): Definition added. |
112 |
|
|
113 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
116 |
|
warnings (rather than SHOULD-level errors). |
117 |
|
|
118 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
121 |
|
|
122 |
|
* HTML.pm.src: A flag for character references in attribute |
123 |
|
values are added. Set |manakai_has_reference| user data |
124 |
|
to |charset| attribute. |
125 |
|
|
126 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
129 |
|
attributes. |
130 |
|
|
131 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
132 |
|
cannot be tested. |
133 |
|
|
134 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
137 |
|
by universalchardet if charset parameter is not specified. |
138 |
|
|
139 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
140 |
|
|
141 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
143 |
|
* ContentChecker.pm (check_document): Check the existence |
144 |
|
of character encoding declaration and selection of encoding |
145 |
|
for HTML document. |
146 |
|
|
147 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
150 |
|
type in list context. |
151 |
|
|
152 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* ContentType.pm: Sniffing with leading white space |
155 |
|
ignoring (HTML5 revisions 1013 and 1016). |
156 |
|
|
157 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
160 |
|
white spaces, are implemented. |
161 |
|
|
162 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
165 |
|
attribute if possible. |
166 |
|
|
167 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* HTML.pm.src (parse_byte_string): New method. |
170 |
|
(parse_char_string): New alias for |parse_string|. |
171 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
172 |
|
|
173 |
|
* HTML.pod: Updated. |
174 |
|
|
175 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* HTML.pod (get_inner_html): Removed. |
178 |
|
|
179 |
|
* Makefile (HTML-all, HTML-clean): New. |
180 |
|
|
181 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
184 |
|
|
185 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
188 |
|
|
189 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* Makefile: |CacheManifest.html| is added. |
192 |
|
|
193 |
|
* CacheManifest.pod: New file. |
194 |
|
|
195 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* CacheManifest.pm: New module. |
198 |
|
|
199 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* HTML.pm.src: Support for application cache selection algorithm |
202 |
|
callback. |
203 |
|
|
204 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
207 |
|
|
208 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* Makefile (clean): New rule. |
211 |
|
|
212 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
213 |
|
|
214 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
217 |
|
|
218 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
219 |
|
|
220 |
|
* ContentChecker.pm (check_document): Support for |
221 |
|
new |is_xml_root| flag. |
222 |
|
(check_element): Support for new |pluses| state. |
223 |
|
(_add_pluses): New method. |
224 |
|
(_remove_minuses): Support for new |minus| item. |
225 |
|
|
226 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* ContentChecker.pm: Raise specific error for invalid |
229 |
|
root element. |
230 |
|
|
231 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* ContentChecker.pm: Set level values for later uses. |
234 |
|
|
235 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
237 |
|
* ContentChecker.pm: Support for language tag validation. |
238 |
|
|
239 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* LangTag.pm (check_rfc3066_language_tag): New method. |
242 |
|
|
243 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
244 |
|
|
245 |
|
* LangTag.pm: New module. |
246 |
|
|
247 |
|
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* HTML.pm.src: Some error types were wrong. |
250 |
|
|
251 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
252 |
|
|
253 |
|
* CSS/: New directory. |
254 |
|
|
255 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
256 |
|
|
257 |
|
* ContentChecker.pm (_check_get_children): Support |
258 |
|
for |noscript| in |head|. |
259 |
|
|
260 |
|
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* URI/: New directory. |
263 |
|
|
264 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
265 |
|
|
266 |
|
* HTML.pm.src: Tokenizer's states are now represented in |
267 |
|
number. |
268 |
|
|
269 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
270 |
|
|
271 |
|
* HTML.pm.src: |or|s for insertion modes are replaced |
272 |
|
by |&|s. |
273 |
|
|
274 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
|
* HTML.pm.src: Token types are now represented in number. |
277 |
|
|
278 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* ContentType.pm (SEE ALSO): Updated. |
281 |
|
|
282 |
|
* HTML.pm.src: Insertion modes are now represented in number. |
283 |
|
|
284 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
287 |
|
999) is implemented. |
288 |
|
|
289 |
|
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
290 |
|
|
291 |
|
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
292 |
|
983) is implemented. |
293 |
|
|
294 |
|
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
296 |
|
* ContentChecker.pod: New documentation. |
297 |
|
|
298 |
|
* Makefile: A rule for |ContentChecker.html| is added. |
299 |
|
|
300 |
|
* ContentChecker.pm: A pod "LICENSE" section is added. |
301 |
|
|
302 |
|
* NanoDOM.pm ($VERSION): New variable. |
303 |
|
|
304 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* H2H.pm: |b|, |i|, and |sub| are added to the |
307 |
|
list of allowed HTML elements. |
308 |
|
|
309 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* H2H.pm: |samp| is added to the list of allowed |
312 |
|
HTML elements. |
313 |
|
|
314 |
|
* URIChecker.pm (check_iri): New. |
315 |
|
(check_iri_reference): Error type for IRI reference |
316 |
|
syntax error is changed. |
317 |
|
|
318 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
321 |
|
is added. |
322 |
|
(check_document): Load appropriate module before validation. |
323 |
|
|
324 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
326 |
|
* ContentChecker/: New directory. |
327 |
|
|
328 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* ContentChecker.pm: HTML |time| element is implemented. |
331 |
|
|
332 |
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
333 |
|
|
334 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
336 |
|
* ContentChecker.pm (check_document): Return value |
337 |
|
even if no document element is found. |
338 |
|
|
339 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
340 |
|
|
341 |
|
* HTML.pm.src: |$in_body| is no longer a function. |
342 |
|
|
343 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
344 |
|
|
345 |
* HTML.pm.src: The |$in_body| code has been moved down. |
* HTML.pm.src: The |$in_body| code has been moved down. |