1 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
4 |
|
are set. Cases that are unlikely reached are noted as so. |
5 |
|
|
6 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
9 |
|
|
10 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
11 |
|
|
12 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
15 |
|
for simplicity. |
16 |
|
|
17 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
20 |
|
revision 1307). |
21 |
|
|
22 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
25 |
|
is set are changed (HTML5 revision 1305). |
26 |
|
|
27 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
30 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
31 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
32 |
|
of attribute value literals (HTML5 revision 1296). More |
33 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
34 |
|
between attributes and ban attribute names or unquoted |
35 |
|
attribute values containing single or double quotes (HTML5 |
36 |
|
revision 1303). |
37 |
|
|
38 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
41 |
|
and related errors unless it is an HTML document (though the spec |
42 |
|
is unclear on whether it is applied to XHTML document). |
43 |
|
|
44 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
45 |
|
are added. |
46 |
|
|
47 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
50 |
|
|
51 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
54 |
|
|
55 |
|
* HTML.pm.src: |charset| in |content| attribute is |
56 |
|
case-insensitive (HTML5 revision 1270). |
57 |
|
|
58 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* ContentChecker.pm: New status constants are added. |
61 |
|
($ElementDefault): |status| added. |
62 |
|
(check_element): Err for non-standard or deprecated elements. |
63 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
64 |
|
|
65 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
68 |
|
|
69 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* ContentChecker.pm (check_element): Element standardized |
72 |
|
status information is now dispatched. |
73 |
|
|
74 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
77 |
|
problem by adding some more arguments. |
78 |
|
|
79 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* ContentChecker.pm (check_element): Use context of |
82 |
|
container-for-the-purpose-of-content-model element (not transparent |
83 |
|
element) for |check_child_element| calling and significant |
84 |
|
text flag marking. This reintroduces |<del>|-and-significant |
85 |
|
problem again. |
86 |
|
|
87 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
90 |
|
elements ignored for the purpose of phase changes in |
91 |
|
content model checking. |
92 |
|
|
93 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
|
* ContentChecker.pm (check_element): In-element state |
96 |
|
was not properly managed for transparent cases. |
97 |
|
|
98 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* ContentChecker.pm (check_element): Support for |video| |
101 |
|
and |audio| as semi-transparent elements. |
102 |
|
|
103 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
106 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
107 |
|
Support for |html:object| as a semi-transparent element. |
108 |
|
|
109 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
110 |
|
|
111 |
|
* ContentChecker.pm (check_element): The way to traverse |
112 |
|
the tree is entirely revised to make it easier to track |
113 |
|
the state of ancestors/descendants. As a result of this |
114 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
115 |
|
support for content model checking for HTML elements |figure|, |
116 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
117 |
|
some XMLNS checkings) are dropped for now. They will be |
118 |
|
reimplemented in due cource. |
119 |
|
|
120 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
123 |
|
token (HTML5 revision 1225). |
124 |
|
|
125 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
128 |
|
|
129 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
130 |
|
contains character references or not. |
131 |
|
|
132 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
135 |
|
imlement significant content checking for contents |
136 |
|
with |del| elements. |
137 |
|
|
138 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
141 |
|
elements are added. |
142 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
143 |
|
|
144 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
145 |
|
|
146 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
149 |
|
|
150 |
|
* CacheManifest.pod: Updated. |
151 |
|
|
152 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* ContentChecker.pm (check_document, check_element): Support |
155 |
|
for second argument ($onsubdoc). |
156 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
157 |
|
|
158 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* ContentChecker.pm (_get_css_parser): New. |
161 |
|
|
162 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
165 |
|
for checking had been used. |
166 |
|
|
167 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
170 |
|
|
171 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
174 |
|
specced in RFC 2046 and RFC 4288. |
175 |
|
(application/atom+xml): Definition added. |
176 |
|
|
177 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
180 |
|
warnings (rather than SHOULD-level errors). |
181 |
|
|
182 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
185 |
|
|
186 |
|
* HTML.pm.src: A flag for character references in attribute |
187 |
|
values are added. Set |manakai_has_reference| user data |
188 |
|
to |charset| attribute. |
189 |
|
|
190 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
192 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
193 |
|
attributes. |
194 |
|
|
195 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
196 |
|
cannot be tested. |
197 |
|
|
198 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
199 |
|
|
200 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
201 |
|
by universalchardet if charset parameter is not specified. |
202 |
|
|
203 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
204 |
|
|
205 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* ContentChecker.pm (check_document): Check the existence |
208 |
|
of character encoding declaration and selection of encoding |
209 |
|
for HTML document. |
210 |
|
|
211 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
214 |
|
type in list context. |
215 |
|
|
216 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* ContentType.pm: Sniffing with leading white space |
219 |
|
ignoring (HTML5 revisions 1013 and 1016). |
220 |
|
|
221 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
222 |
|
|
223 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
224 |
|
white spaces, are implemented. |
225 |
|
|
226 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
229 |
|
attribute if possible. |
230 |
|
|
231 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* HTML.pm.src (parse_byte_string): New method. |
234 |
|
(parse_char_string): New alias for |parse_string|. |
235 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
236 |
|
|
237 |
|
* HTML.pod: Updated. |
238 |
|
|
239 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* HTML.pod (get_inner_html): Removed. |
242 |
|
|
243 |
|
* Makefile (HTML-all, HTML-clean): New. |
244 |
|
|
245 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
246 |
|
|
247 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
248 |
|
|
249 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
250 |
|
|
251 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
252 |
|
|
253 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
254 |
|
|
255 |
|
* Makefile: |CacheManifest.html| is added. |
256 |
|
|
257 |
|
* CacheManifest.pod: New file. |
258 |
|
|
259 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* CacheManifest.pm: New module. |
262 |
|
|
263 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
264 |
|
|
265 |
|
* HTML.pm.src: Support for application cache selection algorithm |
266 |
|
callback. |
267 |
|
|
268 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
271 |
|
|
272 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
273 |
|
|
274 |
|
* Makefile (clean): New rule. |
275 |
|
|
276 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
277 |
|
|
278 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
281 |
|
|
282 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
283 |
|
|
284 |
|
* ContentChecker.pm (check_document): Support for |
285 |
|
new |is_xml_root| flag. |
286 |
|
(check_element): Support for new |pluses| state. |
287 |
|
(_add_pluses): New method. |
288 |
|
(_remove_minuses): Support for new |minus| item. |
289 |
|
|
290 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
291 |
|
|
292 |
* ContentChecker.pm: Raise specific error for invalid |
* ContentChecker.pm: Raise specific error for invalid |
293 |
root element. |
root element. |
294 |
|
|
|
* SelectorsParser.pm: Pass an empty string as a prefix |
|
|
for lookup namespace prefix callback, for loose compatibility |
|
|
with the |NSResolver| interface. |
|
|
|
|
295 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
* ContentChecker.pm: Set level values for later uses. |
* ContentChecker.pm: Set level values for later uses. |