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