1 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Implemented the remaining parts of the |
4 |
|
"frameset-ok" flag (HTML5 revision 2703 and HTML5 revision 2987). |
5 |
|
|
6 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Fixed typos on |frameset-ok| implementation. |
9 |
|
|
10 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* HTML.pm.src: The first cut to implement the |frameset-ok| flag |
13 |
|
concept (HTML5 revision 2703). |
14 |
|
|
15 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: |<hr/>| was incorrectly marked as an error. |
18 |
|
|
19 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* HTML.pm.src: Changed the handling of </html> end tag of "in |
22 |
|
body" insertion mode according to the latest spec definition. |
23 |
|
|
24 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* HTML.pm.src: Rewrote end tag handling in |head| area (cf. HTML5 |
27 |
|
revision 2730, but it was entirely broken, maybe I missed some |
28 |
|
spec changes before rev.2730). |
29 |
|
|
30 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* HTML.pm.src: Added the |hgroup| element (HTML5 revision 3039 and |
33 |
|
HTML5 revision 3040). |
34 |
|
|
35 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* HTML.pm.src: Added |xmp| to the list of Special elements (HTML5 |
38 |
|
revision 3689). It should make no difference since the |xmp| |
39 |
|
element has the PCDATA content and cannot be the non-bottommost |
40 |
|
element in the stack of open elements. |
41 |
|
|
42 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src: Set the |confidence| flag to |irrlevant| when the |
45 |
|
fragment parsing algorithm is invoked (HTML5 revision 2699). |
46 |
|
|
47 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: Simplified foster parenting (HTML5 revision 2732). |
50 |
|
|
51 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* HTML.pm.src: No longer does foster parenting |style|, |script|, |
54 |
|
and |input type=hidden| elements (HTML5 revision 2988). |
55 |
|
|
56 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* HTML.pm.src: Dropped the |eventsource| element (HTML5 revision |
59 |
|
2870). |
60 |
|
|
61 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* HTML.pm.src (_tree_construction_main): Treate |keygen| as a void |
64 |
|
element (HTML5 revision 2960). |
65 |
|
|
66 |
|
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* HTML.pm.src: Moved the "in table text" insertion mode code up |
69 |
|
such that it does also work as specced in HTML5 in the remaining |
70 |
|
cases (HTML5 revision 3382). |
71 |
|
|
72 |
|
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* HTML.pm.src: Implementing the "in table text" insertion mode, |
75 |
|
first half (HTML5 revision 3382). |
76 |
|
|
77 |
|
2009-08-30 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* ContentChecker.pm: Allow |xml:lang| in HTML document if the |
80 |
|
owner element is not an HTML element (HTML5 revision 3697). |
81 |
|
|
82 |
|
2009-08-23 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* ContentChecker.pm: Allow <input type=hidden> in context where |
85 |
|
interactive content is disallowed (HTML5 revision 2392). |
86 |
|
|
87 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* HTML.pm.src: Dropped support for "XSLT-compat" and added |
90 |
|
"about:legacy-compat" (HTML5 revision 2725). |
91 |
|
|
92 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* HTML.pm.src: "<!DOCTYPE>" is now explicitly supported in the |
95 |
|
spec (HTML5 revision 2700). |
96 |
|
|
97 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* HTML.pm.src: Added support for <script> element in the "in |
100 |
|
select" and "in select in table" insertion modes (HTML5 revision |
101 |
|
2500). |
102 |
|
|
103 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* HTML.pm.src: An <hn> start tag in an <hn> element should close |
106 |
|
the earlier element (HTML5 revision 2501). |
107 |
|
|
108 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* HTML.pm.src: The </br> end tags before the <body> start tag |
111 |
|
should equally survive as the first br element child of the body |
112 |
|
element (HTML5 revision 2586). |
113 |
|
|
114 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* HTML.pm.src: <font> in SVG land is handled as an SVG element as |
117 |
|
long as it did not have HTML attributes (HTML5 revision 2590). |
118 |
|
|
119 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* HTML.pm.src (_tree_construction_main): Improved error reporting |
122 |
|
on "select" start tag in "in select" and "in select in table" |
123 |
|
parsing modes (c.f. HTML5 revision 3604). |
124 |
|
|
125 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* mkhtmlclass.pl: Made xmlns:xlink with wrong namespace URL |
128 |
|
invalid (HTML5 revision 2701). |
129 |
|
|
130 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* HTML.pm.src: </rt>, </rp>, </option>, </optgroup> become |
133 |
|
optional before </body> (HTML5 revision 2806). |
134 |
|
|
135 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
136 |
|
|
137 |
|
* HTML.pm.src: Marked where SVG |script| execution should be |
138 |
|
implemented (HTML5 revision 2904). |
139 |
|
|
140 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
141 |
|
|
142 |
|
* HTML.pm.src (set_inner_html): The fragment parsing algorithm |
143 |
|
inherits the document quirksness flag of the main document (HTML5 |
144 |
|
revision 2935). |
145 |
|
|
146 |
|
2009-07-05 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* HTML.pm.src (_tree_construction_main): Put |table| in |p| in |
149 |
|
quirks mode (The Hixie Quirk, HTML5 revision 3132). |
150 |
|
|
151 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* HTML.pm.src: <kegten> breaks out of <select> (HTML5 revision |
154 |
|
3163). |
155 |
|
|
156 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
158 |
|
* HTML.pm.src: Don't change encoding to UTF-8 if the input |
159 |
|
encoding is UTF-16 (HTML5 revision 3204). |
160 |
|
|
161 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* HTML.pm.src (parse_byte_stream): Don't change to another |
164 |
|
encoding if the input is UTF-16 (HTML5 revision 3205). |
165 |
|
|
166 |
|
2009-06-28 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* HTML.pm.src: |isindex| should no longer generate |p| element |
169 |
|
node (HTML5 revision 3236). |
170 |
|
|
171 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* ContentChecker.pm: Introduced new flag |has_autofocus|. Added |
174 |
|
support for new |id_type| value of |any|, which means any kind of |
175 |
|
element is allowed as a referenced element. |
176 |
|
|
177 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* ContentChecker.pm: Introduced |check_attrs2| method for the ease |
180 |
|
of defining codes for checking required attribute and as such. |
181 |
|
|
182 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* IMTChecker.pm: Added more definitions for subtypes. |
185 |
|
|
186 |
|
2008-12-11 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* URIChecker.pm: Some of |pos_end| values were wrong. |
189 |
|
|
190 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
192 |
|
* ContentChecker.pm (check_element): Added support for "no |
193 |
|
referenced datalist" error. |
194 |
|
|
195 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* URIChecker.pm: Bug fix: It did not work unless |
198 |
|
Message::DOM::DOMImplementation has been |require|d. |
199 |
|
|
200 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* NanoDOM.pm (document_uri): New attribute. |
203 |
|
|
204 |
|
* ContentChecker.pm: Don't use methods not implemented by NanoDOM. |
205 |
|
|
206 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* NanoDOM.pm (text_content): Don't create a Text node if the new |
209 |
|
value is empty. |
210 |
|
|
211 |
|
2008-11-06 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* SWML/: New directory. |
214 |
|
|
215 |
|
2008-10-20 Wakaba <wakaba@suika.fam.cx> |
216 |
|
|
217 |
|
* NanoDOM.pm (specified, all_declarations_processed, |
218 |
|
manakai_attribute_type): New attributes. |
219 |
|
|
220 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty |
223 |
|
array. |
224 |
|
|
225 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
226 |
|
|
227 |
|
* NanoDOM.pm (notation_name): New attribute. |
228 |
|
|
229 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
231 |
|
* NanoDOM.pm (public_id, system_id): New attributes.a |
232 |
|
|
233 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* NanoDOM.pm (text_content): Moved to Node from Element. Setter |
236 |
|
implemented. |
237 |
|
(allowed_tokens, default_type, declared_type): Implemented. |
238 |
|
|
239 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* NanoDOM.pm (node_name): New attribute. |
242 |
|
(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New |
243 |
|
constants. |
244 |
|
(create_element_type_definition_node, create_attribute_definition, |
245 |
|
create_notation, create_general_entity, |
246 |
|
get_element_type_definition_node, |
247 |
|
set_element_type_definition_node, get_general_entity_node, |
248 |
|
set_general_entity_node, get_notation_node, set_notation_node, |
249 |
|
get_attribute_definition_node, set_attribute_definition_node): New |
250 |
|
methods. |
251 |
|
(element_types, entities, notations, attribute_definitions): New |
252 |
|
attributes. |
253 |
|
(DocumentType): Support for child nodes, entities, notations, and |
254 |
|
element types. |
255 |
|
(Entity, Notation, ElementTypeDefinition, AttributeDefinition): |
256 |
|
New classes. |
257 |
|
|
258 |
|
* Dumper.pm: Support for general entities, notations, element type |
259 |
|
definitions, and attribute definitions. |
260 |
|
|
261 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* NanoDOM.pm (create_processing_instruction): New method. |
264 |
|
(xml_version, xml_encoding, xml_standalone): New attributes. |
265 |
|
(ProcessingInstruction): New class. |
266 |
|
|
267 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* HTML.pm.src: Handling of end tags in the foreign content |
270 |
|
insertion mode was partially wrong, because of wrong bit |
271 |
|
operations. |
272 |
|
|
273 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* NanoDOM.pm (dom_config): New attribute (do nothing), for |
276 |
|
Whatpm::XML::Parser support. |
277 |
|
|
278 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* Makefile: New rule to make HTML/Tokenizer.pm is added. |
281 |
|
|
282 |
|
* HTML.pm.src: Tokenizer part moved to another file. |
283 |
|
|
284 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|. |
287 |
|
|
288 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
289 |
|
|
290 |
|
* HTML.pm.src: Element category constants redefined. |
291 |
|
|
292 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* HTML.pm.src: Steps for CDATA/RCDATA elements in tree |
295 |
|
construction stage synced with the spec (HTML5 revisions 2139 and |
296 |
|
2302). |
297 |
|
|
298 |
|
2008-10-07 Wakaba <wakaba@suika.fam.cx> |
299 |
|
|
300 |
|
* ContentChecker.pm: New error level "html5_fact" added, which |
301 |
|
should be tentatively used until all of requirements are properly |
302 |
|
specced as RFC 2119 "MUST" in HTML5. |
303 |
|
|
304 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* ContentChecker.pod: Note on internal flags is added. |
307 |
|
|
308 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
|
* HTML.pm.src: An AAA bug fixed. |
311 |
|
|
312 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
313 |
|
|
314 |
|
* HTML.pm.src: If another node is inserted by the parser, don't |
315 |
|
reuse existing Text node to append a character (HTML5 revision |
316 |
|
2124). |
317 |
|
|
318 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* HTML.pm.src: Support for <option> and <optgroup> in body (HTML5 |
321 |
|
revisions 1731 and 2128). |
322 |
|
|
323 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837). |
326 |
|
Support for end tags of camelCase SVG elements were broken. A |
327 |
|
wrong error type text fixed. |
328 |
|
|
329 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
|
* HTML.pm.src: Drop redundant code (HTML5 revision 1731). |
332 |
|
|
333 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* HTML.pm.src: Support for new definition of |param| and |source| |
336 |
|
start tag parsing (HTML5 revision 1731). |
337 |
|
|
338 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
340 |
|
* HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731). |
341 |
|
|
342 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5 |
345 |
|
revisions 1731 and 1831). |
346 |
|
|
347 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
348 |
|
|
349 |
|
* HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5 |
350 |
|
revisions 1731 and 1778). Support for the </sarcasm> end tag (HTML5 |
351 |
|
revision 1731). |
352 |
|
|
353 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
354 |
|
|
355 |
|
* HTML.pm.src: Support for |command| and |eventsource| elements (HTML5 |
356 |
|
revision 1731). End tags of |option| and |optgroup| elements are |
357 |
|
now optional (HTML5 revision 1731). |
358 |
|
|
359 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
360 |
|
|
361 |
|
* HTML.pm.src: New "special" elements added to the list (HTML5 |
362 |
|
revision 1778). "strile" -> "strike". |
363 |
|
|
364 |
|
2008-10-02 Wakaba <wakaba@suika.fam.cx> |
365 |
|
|
366 |
|
* ContentType.pm (get_sniffed_type): Support for the "better" |
367 |
|
content sniffing (HTML5 revision 1927). In a case the official |
368 |
|
type was not returned when the method is invoked in the list |
369 |
|
context. |
370 |
|
|
371 |
|
2008-09-22 Wakaba <wakaba@suika.fam.cx> |
372 |
|
|
373 |
|
* HTML.pm.src: Character references for non-space C0 characters, |
374 |
|
including U+000B VT, DEL character, noncharacter code points, are |
375 |
|
now converted to the U+FFFD character (cf. HTML5 revision 2138). |
376 |
|
|
377 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
378 |
|
|
379 |
|
* ContentChecker.pm: |form=""| check support added. |
380 |
|
|
381 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
382 |
|
|
383 |
|
* ContentChecker.pm: |contextmenu| validness is now checked using |
384 |
|
|id| and |id_type| properties, and |menu| property is removed. |
385 |
|
|
386 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
387 |
|
|
388 |
|
* ContentChecker.pm: Prepare for |form| |name| attribute's |
389 |
|
duplication checking. |
390 |
|
|
391 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
392 |
|
|
393 |
|
* HTML.pm.src (parse_byte_stream): Support (or non-support) for |
394 |
|
unsupported charset="" parameter value (HTML5 revision 2131). |
395 |
|
|
396 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
397 |
|
|
398 |
|
* HTML.pm.src: Reminding places where U+000B is allowed as a space |
399 |
|
character is fixed (cf. HTML5 revision 1738). |
400 |
|
|
401 |
|
* ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of |
402 |
|
space characters (HTML5 revision 1738). |
403 |
|
|
404 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
405 |
|
|
406 |
|
* HTML.pm.src: The "anything else" case for the "after after body" |
407 |
|
insertion mode was not updated to swtich to the "in body" |
408 |
|
insertion mode. U+000B is no longer a space character for the |
409 |
|
purpose of tree construction phase (HTML5 revision 1738). |
410 |
|
|
411 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
412 |
|
|
413 |
|
* HTML.pm.src: U+000B is no longer a space character (HTML5 |
414 |
|
revision 1738). |
415 |
|
|
416 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
|
* ContentType.pm: 0x0B is no longer a space character (HTML5 |
419 |
|
revision 1738). |
420 |
|
|
421 |
|
* HTML.pm.src: U+000B is no longer a space character for the |
422 |
|
algorithm for extracting an encoding from a Content-Type (HTML5 |
423 |
|
revision 1738). |
424 |
|
|
425 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
427 |
|
* ContentChecker.pm ($IsInHTMLInteractiveContent): New. |
428 |
|
|
429 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
430 |
|
|
431 |
|
* LangTag.pm: Add checks for remaining requirements from RFC 4646. |
432 |
|
|
433 |
|
* mklangreg.pl: Sort 'Prefix' values by their length, to ease |
434 |
|
matching. |
435 |
|
|
436 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
437 |
|
|
438 |
|
* LangTag.pm: Warn for private use language subtags. Error level |
439 |
|
typos fixed. Support for Suppress-Script field. |
440 |
|
|
441 |
|
* mklangreg.pl: Support for dumping of nested structure. |
442 |
|
|
443 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
444 |
|
|
445 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
446 |
|
recommended case as per RFC 4646. |
447 |
|
|
448 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
449 |
|
|
450 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
451 |
|
|
452 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
453 |
|
|
454 |
|
* mklangreg.pl: New script. |
455 |
|
|
456 |
|
* Makefile: Updated for creation of the module for language subtag |
457 |
|
registry. |
458 |
|
|
459 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
460 |
|
|
461 |
|
* Makefile: WebIDL.html added. |
462 |
|
|
463 |
|
* WebIDL.pod: New documentation. |
464 |
|
|
465 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
466 |
|
|
467 |
|
* WebIDL.pm: Checker's error types are redefined. |
468 |
|
|
469 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
470 |
|
|
471 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
472 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
473 |
|
commented out. |
474 |
|
|
475 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
478 |
|
added. It does not satisfy the definition that a forward |
479 |
|
interface declaration has an extended attribute. It seems that |
480 |
|
unless explicitly allowed multiple extended attributes with the |
481 |
|
same name is not allowed, though it is not explicitly mentioned in |
482 |
|
the spec. |
483 |
|
|
484 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
485 |
|
|
486 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
487 |
|
attribute identifiers. Preserve whether an extended attribute has |
488 |
|
an argument list of not. Support for extended attributes: |
489 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
490 |
|
NameGetter, NameSetter, and Null. |
491 |
|
(has_argument_list): New attribute. |
492 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
493 |
|
empty. |
494 |
|
|
495 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
496 |
|
|
497 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
498 |
|
|{s_kwd}| in DATA_STATE as default. |
499 |
|
|
500 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
501 |
|
|
502 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
503 |
|
by |{s_kwd}| in DATA_STATE. |
504 |
|
|
505 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
506 |
|
|
507 |
|
* HTML.pm.src: Shorten keys. |
508 |
|
|
509 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
510 |
|
|
511 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
512 |
|
pair, or noncharacter code points and non-Unicode code |
513 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
514 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
515 |
|
character stream error handlers. |
516 |
|
|
517 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
518 |
|
|
519 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
520 |
|
for null-namespace elements/attributes. |
521 |
|
|
522 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
523 |
|
as a hash. |
524 |
|
|
525 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
526 |
|
|
527 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
528 |
|
and |{next_char}| initializations are moved to initialization |
529 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
530 |
|
with |parse_char_stream|. |
531 |
|
|
532 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
533 |
|
|
534 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
535 |
|
invoke |manakai_read_until|, not only |read|, where |
536 |
|
possible, to decrease the number of |read| method calls. |
537 |
|
|
538 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
539 |
|
modification. |
540 |
|
|
541 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
542 |
|
|
543 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
544 |
|
would report character error from now. |
545 |
|
|
546 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
547 |
|
|
548 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
549 |
|
tokens in "before head insertion mode" was not |
550 |
|
correctly handled. |
551 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
552 |
|
class. Support for $get_wrapper argument. Support |
553 |
|
for |{read_until}| feature. |
554 |
|
|
555 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
556 |
|
|
557 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
558 |
|
entities point the "&" character. |
559 |
|
|
560 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
561 |
|
|
562 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
563 |
|
be added to the list of excluded characters. |
564 |
|
|
565 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
566 |
|
|
567 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
568 |
|
and |column| a higher priority than the one set by the |
569 |
|
tokenizer's input handler. |
570 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
571 |
|
not be necessary, since now we do line/column fixup in |
572 |
|
the character decode handle). |
573 |
|
|
574 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
575 |
|
|
576 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
577 |
|
|
578 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
579 |
|
|
580 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
581 |
|
and |manakai_getc_until| to |manakai_read_until| to |
582 |
|
reduce the number of string copies. |
583 |
|
|
584 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
585 |
|
|
586 |
|
* HTML.pm.src (parse_char_string): Use newly created |
587 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
588 |
|
standard feature to |open| a string as a filehandle, |
589 |
|
since Perl's string filehandle seems not supporting |ungetc| |
590 |
|
method correctly. |
591 |
|
(parse_char_stream): Define |{getc_until}| method. |
592 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
593 |
|
|
594 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
595 |
|
|
596 |
|
* HTML.pm.src: Check points added to newly added branches. |
597 |
|
|
598 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
599 |
|
|
600 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
601 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
602 |
|
and replaced by |{prev_state}|. |
603 |
|
|
604 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
605 |
|
Remove |!!!back-next-input-character;| macro. |
606 |
|
|
607 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
608 |
|
|
609 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
610 |
|
entity related tokenizer states in favor of new states |
611 |
|
implementing the consume character reference algorithm. |
612 |
|
|
613 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
614 |
|
|
615 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
616 |
|
now implemented as a tokenizer's state, rather than |
617 |
|
a method, with minimum changes (more changes will |
618 |
|
be made, in due course). "Bogus comment state"'s inner |
619 |
|
loop gets removed. |
620 |
|
|
621 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
622 |
|
|
623 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
624 |
|
into their own tokenizer states. |
625 |
|
|
626 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
627 |
|
|
628 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
629 |
|
is split into three states. |
630 |
|
|
631 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
632 |
|
|
633 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
634 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
635 |
|
no longer does the tokenizer have to push back next input |
636 |
|
characters in those states. |
637 |
|
|
638 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
639 |
|
|
640 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
641 |
|
into four states so that no longer does the tokenizer have to push |
642 |
|
back next input characters in that state. |
643 |
|
|
644 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
645 |
|
|
646 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
647 |
|
which can be used to insert some wrapper between the character |
648 |
|
stream handle and the tokenizer. (It is currently not supported |
649 |
|
for |set_inner_html| for |Element|s). |
650 |
|
|
651 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
652 |
|
|
653 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
654 |
|
|
655 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
656 |
|
|
657 |
|
* ContentChecker.pm: Support for charset-layer error levels. |
658 |
|
|
659 |
|
* HTML.pm.src: Don't specify |text| argument for the |
660 |
|
|chardecode:fallback| error, since it is not the encoding |
661 |
|
being used alternatively. |
662 |
|
|
663 |
|
2008-09-06 Wakaba <wakaba@suika.fam.cx> |
664 |
|
|
665 |
|
* HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141). |
666 |
|
|
667 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
668 |
|
|
669 |
|
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |
670 |
|
|
671 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
672 |
|
|
673 |
|
* HTML.pm.src: Bug fix and sync with the spec with regard |
674 |
|
to after after frameset insertion mode processing (HTML5 |
675 |
|
revision 1909). Note that the implementation was wrong |
676 |
|
per the old spec before the r1909 changes. |
677 |
|
|
678 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
679 |
|
|
680 |
|
* HTMLTable.pm: scope=auto algorithm fix synced with the |
681 |
|
spec (HTML5 revision 2093). |
682 |
|
($process_row): Algorithm step numbers synced with the |
683 |
|
spec (HTML5 revision 2092). |
684 |
|
|
685 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
686 |
|
|
687 |
|
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
688 |
|
revision 2094). |
689 |
|
|
690 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
691 |
|
|
692 |
|
* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096). |
693 |
|
|
694 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
695 |
|
|
696 |
|
* HTML.pm.src: '"' and "'" at the end of attribute |
697 |
|
name (after another attribute) now raise parse error (HTML5 |
698 |
|
revision 2123). Empty unquoted attribute values are no |
699 |
|
longer allowed (HTML5 revision 2122). |
700 |
|
|
701 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
702 |
|
|
703 |
|
* mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5 |
704 |
|
revision 2130). |
705 |
|
|
706 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
707 |
|
|
708 |
|
* ContentChecker.pm: |xml:lang| attribute value must be same |
709 |
|
as |lang| attribute value for HTML elements (HTML5 revision 2062 |
710 |
|
and so on). |
711 |
|
|
712 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
713 |
|
|
714 |
|
* ContentChecker.pm: Error level definition for |xml_id_error| |
715 |
|
was missing. |
716 |
|
|
717 |
|
* URIChecker.pm: The end of the URL should be marked as the |
718 |
|
error location for an empty path error. The position |
719 |
|
between the userinfo and the port components should be |
720 |
|
marked as the error location for an empty host error. |
721 |
|
|
722 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
723 |
|
|
724 |
|
* URIChecker.pm: Set parameters representing where in the |
725 |
|
value the error occurs for errors. Report unknown |
726 |
|
address format error in warning level, since address |
727 |
|
formats are rarely added. Path segments starting with "/.." |
728 |
|
were misinterpreted as a dot-segment. |
729 |
|
|
730 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
731 |
|
|
732 |
|
* URIChecker.pm (check_iri_reference): Requires |
733 |
|
|Message::DOM::DOMImplementation|. |
734 |
|
|
735 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
736 |
|
|
737 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
738 |
|
|
739 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
740 |
|
|
741 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
742 |
|
|
743 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
744 |
|
values. |
745 |
|
|
746 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
747 |
|
|
748 |
|
* CacheManifest.pm: Support for new style of error |
749 |
|
reports. |
750 |
|
|
751 |
|
* HTML.pm.src: Set line=1, column=1 to the document node. |
752 |
|
|
753 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
754 |
|
|
755 |
|
* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag |
756 |
|
and URL checkers. Support for more error levels for bogus |
757 |
|
langauge tag and URL "standards". |
758 |
|
|
759 |
|
* LangTag.pm, URIChecker.pm: Support for new style error |
760 |
|
level reporting. |
761 |
|
|
762 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
763 |
|
|
764 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
765 |
|
|
766 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
767 |
|
specifying. Error types are revised. |
768 |
|
|
769 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
770 |
|
|
771 |
|
* ContentChecker.pm: All error reporting method calls are |
772 |
|
renewed. |
773 |
|
|
774 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
775 |
|
|
776 |
|
* HTML.pm.src: All error type names and "text" parameters |
777 |
|
are revised. Use new style for "level" specification. |
778 |
|
|
779 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
780 |
|
|
781 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
782 |
|
|
783 |
|
* WebIDL.pm (parse_char_string): Simplified error |
784 |
|
reporting process for broken ignored valuetype definition. |
785 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
786 |
|
|
787 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
788 |
|
|
789 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
790 |
|
terminal of the ScopedName is "DOMString", such that whether |
791 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
792 |
|
later. It is necessary to determine whether a |typedef| |
793 |
|
definition should be ignored or not. |
794 |
|
(parse_char_string): Unescape the identifier of |
795 |
|
exception members. |
796 |
|
($resolve): Return undef for builtin types and sequence<T> |
797 |
|
types (we might not have to do this, however...). |
798 |
|
(check): Support checking for Exceptions, Valuetypes, |
799 |
|
and Typedefs. |
800 |
|
($serialize_type): Support for "DOMString::::" syntax. |
801 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
802 |
|
is really "DOMString" (i.e. its internal representation |
803 |
|
is "::DOMString::"). |
804 |
|
|
805 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
806 |
|
|
807 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
808 |
|
for constant types in the |check| method. |
809 |
|
(check): Support for checking of attributes, operations, and |
810 |
|
arguments. |
811 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
812 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
813 |
|
code. |
814 |
|
|
815 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
816 |
|
|
817 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
818 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
819 |
|
was not work for hexadecimal numbers, because the "0" prefix |
820 |
|
matches to the [0-7]* part (as an empty string) and therefore |
821 |
|
it does not match with remaining "x..." part of a "0x..." integer |
822 |
|
literal. |
823 |
|
($get_type): It now returns a string, not an array reference, |
824 |
|
for regular types and |sequence| types (i.e. it in any case |
825 |
|
returns a string). |
826 |
|
($get_next_token): The second item in the array that represents |
827 |
|
a integer or float token is now a Perl number value, not the |
828 |
|
original string representation of the number. |
829 |
|
(check): Support for const value consistency checking. |
830 |
|
No extended attribute is defined for constants. |
831 |
|
(Node subclasses): Use simple strings rather than array references |
832 |
|
for default data type values. |
833 |
|
($serialize_type): Type values are now simple strings. |
834 |
|
(value): If the new attribute value is a false value, then |
835 |
|
a FALSE value is set to the attribute. |
836 |
|
|
837 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
838 |
|
|
839 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
840 |
|
in its stringified format ("scoped name" as defined in the |
841 |
|
spec). Note that future version of this module should not use |
842 |
|
array references for type values and the |type_text| attribute |
843 |
|
should be made obsolete. |
844 |
|
(parse_char_string): Unescape attribute names. |
845 |
|
(check): Support for checking of whether inherited interfaces |
846 |
|
are actually defined or not. Support for checking of whether |
847 |
|
interface member identifiers are duplicated or not. |
848 |
|
($serialize_type): Scoped names are returned as is. A future |
849 |
|
version of this code should escape identifiers other than "DOMString", |
850 |
|
otherwise the idl_text would be non-conforming. |
851 |
|
|
852 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
853 |
|
|
854 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
855 |
|
to generated nodes. Unescape identifiers. Extended attributes |
856 |
|
for Definition's were ignored. |
857 |
|
(append_child): Set |parent_node| attribute. |
858 |
|
(parent_node): New attribute. |
859 |
|
(check): Support interface/exception members. Support |
860 |
|
extended attributes. Support definition identifier uniqueness |
861 |
|
constraint. |
862 |
|
(qualified_name): New attribute. |
863 |
|
(Interface/Exception idl_text): Extended attributes were |
864 |
|
not prepended to the returned text. |
865 |
|
|
866 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
867 |
|
|
868 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
869 |
|
to interface object experimentally. s/shift/pop/g, shift |
870 |
|
would make things wrong. Support for interface forward |
871 |
|
declarations was missing. Broken interface declarations |
872 |
|
with no block were not ignored entirely. |
873 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
874 |
|
makes things easier. |
875 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
876 |
|
same name, this attribute returns a dead list of nodes for |
877 |
|
simplicity. |
878 |
|
(get_user_data, set_user_data): New methods. |
879 |
|
(Module idl_text): A SPACE character should be inserted |
880 |
|
before the |{| character. |
881 |
|
(Interface idl_text): Support for interface forward declarations. |
882 |
|
(is_forward_declaration): New attribute. |
883 |
|
|
884 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
885 |
|
|
886 |
|
* WebIDL.pm (type_text): Better serializer. |
887 |
|
|
888 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
889 |
|
|
890 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
891 |
|
it now can handle broken extended attributes and as such. |
892 |
|
|
893 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
894 |
|
|
895 |
|
* WebIDL.pm: Real support for extended attributes. |
896 |
|
Support for extended attributes with arguments. |
897 |
|
|
898 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
899 |
|
|
900 |
|
* WebIDL.pm: Support for |exception| syntax. |
901 |
|
(Interface->idl_text): Tentative support for inheritances. |
902 |
|
|
903 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
904 |
|
|
905 |
|
* WebIDL.pm: Hierarchical scoped name support was broken. |
906 |
|
Support for raises, setraises, and getraises syntaxes. |
907 |
|
|
908 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
909 |
|
|
910 |
|
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
911 |
|
proper support for types, extended attributes, and exceptions yet). |
912 |
|
WebIDL parser, version 1 (no support for exceptions yet, |
913 |
|
no proper support for extended attributes yet). |
914 |
|
|
915 |
|
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
916 |
|
|
917 |
|
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
918 |
|
|
919 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
920 |
|
|
921 |
|
* WebIDL.pm: Support for valuetype and const. |
922 |
|
|
923 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
924 |
|
|
925 |
|
* WebIDL.pm: New module. |
926 |
|
|
927 |
|
2008-06-15 Wakaba <wakaba@suika.fam.cx> |
928 |
|
|
929 |
|
* Makefile (Entities.html): URI changed. |
930 |
|
|
931 |
|
2008-06-08 Wakaba <wakaba@suika.fam.cx> |
932 |
|
|
933 |
|
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704). |
934 |
|
|
935 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
936 |
|
|
937 |
|
* HTML.pm.src (_get_next_token): A parse error was missing. |
938 |
|
|
939 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
940 |
|
|
941 |
|
* mklinktypelist.pl: rel=contact is no longer part of the HTML5 |
942 |
|
spec (commented out). (HTML5 revision 1711). |
943 |
|
|
944 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
945 |
|
|
946 |
|
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701). |
947 |
|
|
948 |
|
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered |
949 |
|
as UTF-16 (HTML5 revision 1701). |
950 |
|
|
951 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
952 |
|
|
953 |
|
* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision |
954 |
|
1692). |
955 |
|
|
956 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
957 |
|
|
958 |
|
* HTML.pm.src: The secondary insertion mode used when switching |
959 |
|
to foreign content is the "in body" insertion mode (HTML5 revision |
960 |
|
1696). |
961 |
|
|
962 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
963 |
|
|
964 |
|
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
965 |
|
revision 1697). |
966 |
|
|
967 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
968 |
|
|
969 |
|
* HTML.pm.src: Support for end-of-file token in foreign content |
970 |
|
insertion mode (HTML5 revision 1693). Update SVG camelCase |
971 |
|
attribute list (HTML5 revision 1700). <textarea> closes |
972 |
|
</select> (HTML5 revision 1699). More start tags close in |
973 |
|
foreign content insertion mode (HTML5 revision 1698). |
974 |
|
|
975 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
976 |
|
|
977 |
|
* HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665). |
978 |
|
|
979 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
980 |
|
|
981 |
|
* HTML.pm.src: More robust charset parameter detection (HTML5 |
982 |
|
revision 1674). |
983 |
|
|
984 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
985 |
|
|
986 |
|
* ContentType.pm: Support for image/vnd.microsoft.icon (HTML5 |
987 |
|
revision 1676). |
988 |
|
|
989 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
990 |
|
|
991 |
|
* HTML.pm.src: Ignore language part of public identifiers for |
992 |
|
quriks mode detection (HTML5 revision 1679). |
993 |
|
|
994 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
995 |
|
|
996 |
|
* HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5 |
997 |
|
revision 1685). |
998 |
|
|
999 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
1000 |
|
|
1001 |
|
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
1002 |
|
revision 1684). |
1003 |
|
|
1004 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
1005 |
|
|
1006 |
|
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
1007 |
|
work (HTML5 revision 1690). |
1008 |
|
|
1009 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
1010 |
|
|
1011 |
|
* HTML.pm.src (_tree_construction_main): Change handling of |
1012 |
|
end tags in head insertion modes (HTML5 revision 1686). |
1013 |
|
(parse_char_string): Bug fix for non-utf8 character string handlings. |
1014 |
|
(parse_char_stream): |ungetc| does not work well for this context. |
1015 |
|
|
1016 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
1017 |
|
|
1018 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
1019 |
|
|parse_byte_stream|. |
1020 |
|
(parse_byte_stream): New method. |
1021 |
|
|
1022 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
1023 |
|
|
1024 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
1025 |
|
by encoding layer error reporter. |
1026 |
|
|
1027 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
1028 |
|
|
1029 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
1030 |
|
rather than converting the whole byte string and then parsing. |
1031 |
|
Propagate errors in character encoding layer. |
1032 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
1033 |
|
|
1034 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
1035 |
|
|
1036 |
|
* HTML.pm.src (parse_char_stream): New method. |
1037 |
|
(parse_char_string): This method is now defined as an invocation |
1038 |
|
of the |parse_char_stream| method. |
1039 |
|
|
1040 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
1041 |
|
|
1042 |
|
* HTML.pm.src (parse_byte_string): Report various status |
1043 |
|
of the sniffing as info-level errors. Support for new |
1044 |
|
decoding framework in parser resestting. |
1045 |
|
(new): Various default error levels were not set. |
1046 |
|
|
1047 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
1048 |
|
|
1049 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
1050 |
|
algorithm, except for the actual sniffing, is implemented |
1051 |
|
with new framework with Message::Charset::Info. |
1052 |
|
|
1053 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
1054 |
|
|
1055 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
1056 |
|
URIs in fallback section (HTML5 revision 1596). |
1057 |
|
|
1058 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
1059 |
|
|
1060 |
|
* Makefile (Entities.html): URI has changed. |
1061 |
|
|
1062 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
1063 |
|
|
1064 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
1065 |
|
1553). |
1066 |
|
|
1067 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
1068 |
|
|
1069 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
1070 |
|
no longer table elements, but table objects returned |
1071 |
|
by Whatpm::HTMLTable. |
1072 |
|
|
1073 |
|
* HTMLTable.pm (form_table): Return table element node |
1074 |
|
as |$table->{element}|. |
1075 |
|
(assign_header): Support for the |headers=""| attribute. |
1076 |
|
|
1077 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
1078 |
|
|
1079 |
|
* HTMLTable.pm (assign_header): New function; first version |
1080 |
|
with no support for headers="". |
1081 |
|
(form_table): Include table width and height to the returned |
1082 |
|
table object for covenience. Indexing in column assignement was wrong. |
1083 |
|
Set whether a data cell is empty or not for convenience. |
1084 |
|
|
1085 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
1086 |
|
|
1087 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
1088 |
|
|
1089 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
1090 |
|
|
1091 |
|
* HTMLTable.pm: How table model errors are detected is |
1092 |
|
changed (HTML5 revision 1387). |
1093 |
|
|
1094 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
1095 |
|
|
1096 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
1097 |
|
to the end of the table (HTML5 revision 1380). |
1098 |
|
|
1099 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
1100 |
|
|
1101 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
1102 |
|
of 1-based (HTML5 revision 1376). |
1103 |
|
|
1104 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
1105 |
|
|
1106 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
1107 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
1108 |
|
revision 1288). |
1109 |
|
|
1110 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
1111 |
|
|
1112 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
1113 |
|
1282). |
1114 |
|
|
1115 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
1116 |
|
|
1117 |
|
* ContentChecker.pm: Support for global attributes. |
1118 |
|
Status of XML specs are added. |
1119 |
|
|
1120 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
1121 |
|
|
1122 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
1123 |
|
and |ref=""| attribute (referent element type checking). |
1124 |
|
|
1125 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
1126 |
|
|
1127 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
1128 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
1129 |
|
knowledge). Line number counting was wrong for LF-only |
1130 |
|
documents. |
1131 |
|
|
1132 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1133 |
|
|
1134 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
1135 |
|
character (HTML5 revision 1263). |
1136 |
|
|
1137 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1138 |
|
|
1139 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
1140 |
|
definition for |AElig;| was missing). |
1141 |
|
|
1142 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1143 |
|
|
1144 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
1145 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
1146 |
|
|
1147 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1148 |
|
|
1149 |
|
* HTML.pm.src: List of element names that close foreign content |
1150 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
1151 |
|
|
1152 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1153 |
|
|
1154 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
1155 |
|
elements (HTML5 revision 1410). |
1156 |
|
|
1157 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1158 |
|
|
1159 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
1160 |
|
revision 1406). |
1161 |
|
|
1162 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
1163 |
|
|
1164 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
1165 |
|
elements (HTML5 revision 1404 and 1420). |
1166 |
|
|
1167 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
1168 |
|
|
1169 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
1170 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
1171 |
|
are removed. |
1172 |
|
|
1173 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
1174 |
|
|
1175 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
1176 |
|
are raised is changed (HTML5 revision 1404). |
1177 |
|
|
1178 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
1179 |
|
|
1180 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
1181 |
|
|
1182 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
1183 |
|
|
1184 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
1185 |
|
replaced by constants representing element category. |
1186 |
|
|
1187 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
1188 |
|
|
1189 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
1190 |
|
for error reporting. (This is a preparation for using constant |
1191 |
|
value for ->[1].) |
1192 |
|
|
1193 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
1194 |
|
|
1195 |
|
* RDFXML.pm: Typo fixed. |
1196 |
|
|
1197 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
1198 |
|
|
1199 |
|
* ContentChecker.pm: |fact_level| is now treated |
1200 |
|
as same as |must_level|, i.e. level = |m|. |
1201 |
|
(check_element): Make list of URIs in the DOM. |
1202 |
|
|
1203 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1204 |
|
|
1205 |
|
* RDFXML.pm: Language accessor implemented. |
1206 |
|
Local (null-namespace) attribute support. |
1207 |
|
|
1208 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1209 |
|
|
1210 |
|
* RDFXML.pm: Factored out ID checking code. |
1211 |
|
|
1212 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1213 |
|
|
1214 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
1215 |
|
and URI attributes is implemented. Warn if unknown |
1216 |
|
value is used in rdf:parseType="" attribute. |
1217 |
|
|
1218 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
1219 |
|
|
1220 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1221 |
|
|
1222 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
1223 |
|
are now resolved. |
1224 |
|
|
1225 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1226 |
|
|
1227 |
|
* ContentChecker.pm: RDF reification implemented. |
1228 |
|
|
1229 |
|
* RDFXML.pm: undef vs false bug fixed. |
1230 |
|
Reification implemented. |
1231 |
|
|
1232 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1233 |
|
|
1234 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
1235 |
|
The |node| arguments are added for |ontriple| calls. |
1236 |
|
Too many "attribute not allowed" errors were raised. |
1237 |
|
|
1238 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
1239 |
|
element. |
1240 |
|
|
1241 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
1242 |
|
|
1243 |
|
* RDFXML.pm: New module. |
1244 |
|
|
1245 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
1246 |
|
|
1247 |
|
* HTML.pm.src (set_inner_html): Line/column number |
1248 |
|
code was old one yet. |
1249 |
|
|
1250 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
1251 |
|
|
1252 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
1253 |
|
errors. Line/column markings for DOCTYPE, comment, and |
1254 |
|
character tokens are reintroduced; otherwise, |
1255 |
|
error location for "not HTML5" error and errors |
1256 |
|
for implied elements are not attached. |
1257 |
|
|
1258 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
1259 |
|
|
1260 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
1261 |
|
|
1262 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
1263 |
|
(value): Setter implemented. |
1264 |
|
|
1265 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
1266 |
|
|
1267 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
1268 |
|
|
1269 |
|
* HTML.pm.src: Unused line/column markings are removed. |
1270 |
|
|
1271 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
1272 |
|
|
1273 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
1274 |
|
flag, which is no longer used. |
1275 |
|
|
1276 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
1277 |
|
|
1278 |
|
* HTML.pm.src: Set line/column information to element nodes. |
1279 |
|
|
1280 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
1281 |
|
and !!!insert-element-t): Set line/column information to |
1282 |
|
element nodes. |
1283 |
|
|
1284 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
1285 |
|
|
1286 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
1287 |
|
in "<?", "<>", or "</>" should be the error point. |
1288 |
|
|
1289 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
1290 |
|
|
1291 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
1292 |
|
|
1293 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
1294 |
|
|
1295 |
|
* HTML.pm.src: Token-level precious error reporting. |
1296 |
|
|
1297 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
1298 |
|
|
1299 |
|
* HTML.pm.src: Preparation for more precious error point |
1300 |
|
reporting. |
1301 |
|
|
1302 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
1303 |
|
|
1304 |
|
* HTML.pm.src: Error type revised. |
1305 |
|
|
1306 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
1307 |
|
|
1308 |
|
* HTML.pm.src: Similar codes are merged together, again. |
1309 |
|
|
1310 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
1311 |
|
|
1312 |
|
* HTML.pm.src: Similar codes are merged together. |
1313 |
|
|
1314 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
1315 |
|
|
1316 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
1317 |
|
|
1318 |
|
* HTML.pm.src: Code refined. |
1319 |
|
|
1320 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
1321 |
|
|
1322 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
1323 |
|
revision 1348). Note that I really don't know this makes |
1324 |
|
any difference in the black-box behavior of the parser. |
1325 |
|
|
1326 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
1327 |
|
|
1328 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
1329 |
|
revision 1348). |
1330 |
|
|
1331 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
1332 |
|
|
1333 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
1334 |
|
|
1335 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
1336 |
|
|
1337 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
1338 |
|
|
1339 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
1340 |
|
|
1341 |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |