1 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
4 |
|
revision 1684). |
5 |
|
|
6 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
9 |
|
work (HTML5 revision 1690). |
10 |
|
|
11 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src (_tree_construction_main): Change handling of |
14 |
|
end tags in head insertion modes (HTML5 revision 1686). |
15 |
|
(parse_char_string): Bug fix for non-utf8 character string handlings. |
16 |
|
(parse_char_stream): |ungetc| does not work well for this context. |
17 |
|
|
18 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
21 |
|
|parse_byte_stream|. |
22 |
|
(parse_byte_stream): New method. |
23 |
|
|
24 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
27 |
|
by encoding layer error reporter. |
28 |
|
|
29 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
32 |
|
rather than converting the whole byte string and then parsing. |
33 |
|
Propagate errors in character encoding layer. |
34 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
35 |
|
|
36 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* HTML.pm.src (parse_char_stream): New method. |
39 |
|
(parse_char_string): This method is now defined as an invocation |
40 |
|
of the |parse_char_stream| method. |
41 |
|
|
42 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src (parse_byte_string): Report various status |
45 |
|
of the sniffing as info-level errors. Support for new |
46 |
|
decoding framework in parser resestting. |
47 |
|
(new): Various default error levels were not set. |
48 |
|
|
49 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
52 |
|
algorithm, except for the actual sniffing, is implemented |
53 |
|
with new framework with Message::Charset::Info. |
54 |
|
|
55 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
58 |
|
URIs in fallback section (HTML5 revision 1596). |
59 |
|
|
60 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* Makefile (Entities.html): URI has changed. |
63 |
|
|
64 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
67 |
|
1553). |
68 |
|
|
69 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
72 |
|
no longer table elements, but table objects returned |
73 |
|
by Whatpm::HTMLTable. |
74 |
|
|
75 |
|
* HTMLTable.pm (form_table): Return table element node |
76 |
|
as |$table->{element}|. |
77 |
|
(assign_header): Support for the |headers=""| attribute. |
78 |
|
|
79 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* HTMLTable.pm (assign_header): New function; first version |
82 |
|
with no support for headers="". |
83 |
|
(form_table): Include table width and height to the returned |
84 |
|
table object for covenience. Indexing in column assignement was wrong. |
85 |
|
Set whether a data cell is empty or not for convenience. |
86 |
|
|
87 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
90 |
|
|
91 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
|
* HTMLTable.pm: How table model errors are detected is |
94 |
|
changed (HTML5 revision 1387). |
95 |
|
|
96 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
99 |
|
to the end of the table (HTML5 revision 1380). |
100 |
|
|
101 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
104 |
|
of 1-based (HTML5 revision 1376). |
105 |
|
|
106 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
109 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
110 |
|
revision 1288). |
111 |
|
|
112 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
115 |
|
1282). |
116 |
|
|
117 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* ContentChecker.pm: Support for global attributes. |
120 |
|
Status of XML specs are added. |
121 |
|
|
122 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
125 |
|
and |ref=""| attribute (referent element type checking). |
126 |
|
|
127 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
130 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
131 |
|
knowledge). Line number counting was wrong for LF-only |
132 |
|
documents. |
133 |
|
|
134 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
137 |
|
character (HTML5 revision 1263). |
138 |
|
|
139 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
142 |
|
definition for |AElig;| was missing). |
143 |
|
|
144 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
147 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
148 |
|
|
149 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* HTML.pm.src: List of element names that close foreign content |
152 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
153 |
|
|
154 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
157 |
|
elements (HTML5 revision 1410). |
158 |
|
|
159 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
160 |
|
|
161 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
162 |
|
revision 1406). |
163 |
|
|
164 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
167 |
|
elements (HTML5 revision 1404 and 1420). |
168 |
|
|
169 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
172 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
173 |
|
are removed. |
174 |
|
|
175 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
178 |
|
are raised is changed (HTML5 revision 1404). |
179 |
|
|
180 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
183 |
|
|
184 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
187 |
|
replaced by constants representing element category. |
188 |
|
|
189 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
192 |
|
for error reporting. (This is a preparation for using constant |
193 |
|
value for ->[1].) |
194 |
|
|
195 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* RDFXML.pm: Typo fixed. |
198 |
|
|
199 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* ContentChecker.pm: |fact_level| is now treated |
202 |
|
as same as |must_level|, i.e. level = |m|. |
203 |
|
(check_element): Make list of URIs in the DOM. |
204 |
|
|
205 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* RDFXML.pm: Language accessor implemented. |
208 |
|
Local (null-namespace) attribute support. |
209 |
|
|
210 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* RDFXML.pm: Factored out ID checking code. |
213 |
|
|
214 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
217 |
|
and URI attributes is implemented. Warn if unknown |
218 |
|
value is used in rdf:parseType="" attribute. |
219 |
|
|
220 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
221 |
|
|
222 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
225 |
|
are now resolved. |
226 |
|
|
227 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* ContentChecker.pm: RDF reification implemented. |
230 |
|
|
231 |
|
* RDFXML.pm: undef vs false bug fixed. |
232 |
|
Reification implemented. |
233 |
|
|
234 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
235 |
|
|
236 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
237 |
|
The |node| arguments are added for |ontriple| calls. |
238 |
|
Too many "attribute not allowed" errors were raised. |
239 |
|
|
240 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
241 |
|
element. |
242 |
|
|
243 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
244 |
|
|
245 |
|
* RDFXML.pm: New module. |
246 |
|
|
247 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* HTML.pm.src (set_inner_html): Line/column number |
250 |
|
code was old one yet. |
251 |
|
|
252 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
255 |
|
errors. Line/column markings for DOCTYPE, comment, and |
256 |
|
character tokens are reintroduced; otherwise, |
257 |
|
error location for "not HTML5" error and errors |
258 |
|
for implied elements are not attached. |
259 |
|
|
260 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
263 |
|
|
264 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
265 |
|
(value): Setter implemented. |
266 |
|
|
267 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
268 |
|
|
269 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
270 |
|
|
271 |
|
* HTML.pm.src: Unused line/column markings are removed. |
272 |
|
|
273 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
276 |
|
flag, which is no longer used. |
277 |
|
|
278 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* HTML.pm.src: Set line/column information to element nodes. |
281 |
|
|
282 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
283 |
|
and !!!insert-element-t): Set line/column information to |
284 |
|
element nodes. |
285 |
|
|
286 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
287 |
|
|
288 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
289 |
|
in "<?", "<>", or "</>" should be the error point. |
290 |
|
|
291 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
292 |
|
|
293 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
294 |
|
|
295 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* HTML.pm.src: Token-level precious error reporting. |
298 |
|
|
299 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
300 |
|
|
301 |
|
* HTML.pm.src: Preparation for more precious error point |
302 |
|
reporting. |
303 |
|
|
304 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* HTML.pm.src: Error type revised. |
307 |
|
|
308 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
|
* HTML.pm.src: Similar codes are merged together, again. |
311 |
|
|
312 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
313 |
|
|
314 |
|
* HTML.pm.src: Similar codes are merged together. |
315 |
|
|
316 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
319 |
|
|
320 |
|
* HTML.pm.src: Code refined. |
321 |
|
|
322 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
323 |
|
|
324 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
325 |
|
revision 1348). Note that I really don't know this makes |
326 |
|
any difference in the black-box behavior of the parser. |
327 |
|
|
328 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
331 |
|
revision 1348). |
332 |
|
|
333 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
336 |
|
|
337 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
339 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
340 |
|
|
341 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
342 |
|
|
343 |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |