1 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: No longer does foster parenting |style|, |script|, |
4 |
|
and |input type=hidden| elements (HTML5 revision 2988). |
5 |
|
|
6 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Dropped the |eventsource| element (HTML5 revision |
9 |
|
2870). |
10 |
|
|
11 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src (_tree_construction_main): Treate |keygen| as a void |
14 |
|
element (HTML5 revision 2960). |
15 |
|
|
16 |
|
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* HTML.pm.src: Moved the "in table text" insertion mode code up |
19 |
|
such that it does also work as specced in HTML5 in the remaining |
20 |
|
cases (HTML5 revision 3382). |
21 |
|
|
22 |
|
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* HTML.pm.src: Implementing the "in table text" insertion mode, |
25 |
|
first half (HTML5 revision 3382). |
26 |
|
|
27 |
|
2009-08-30 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* ContentChecker.pm: Allow |xml:lang| in HTML document if the |
30 |
|
owner element is not an HTML element (HTML5 revision 3697). |
31 |
|
|
32 |
|
2009-08-23 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* ContentChecker.pm: Allow <input type=hidden> in context where |
35 |
|
interactive content is disallowed (HTML5 revision 2392). |
36 |
|
|
37 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* HTML.pm.src: Dropped support for "XSLT-compat" and added |
40 |
|
"about:legacy-compat" (HTML5 revision 2725). |
41 |
|
|
42 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src: "<!DOCTYPE>" is now explicitly supported in the |
45 |
|
spec (HTML5 revision 2700). |
46 |
|
|
47 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: Added support for <script> element in the "in |
50 |
|
select" and "in select in table" insertion modes (HTML5 revision |
51 |
|
2500). |
52 |
|
|
53 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* HTML.pm.src: An <hn> start tag in an <hn> element should close |
56 |
|
the earlier element (HTML5 revision 2501). |
57 |
|
|
58 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* HTML.pm.src: The </br> end tags before the <body> start tag |
61 |
|
should equally survive as the first br element child of the body |
62 |
|
element (HTML5 revision 2586). |
63 |
|
|
64 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* HTML.pm.src: <font> in SVG land is handled as an SVG element as |
67 |
|
long as it did not have HTML attributes (HTML5 revision 2590). |
68 |
|
|
69 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* HTML.pm.src (_tree_construction_main): Improved error reporting |
72 |
|
on "select" start tag in "in select" and "in select in table" |
73 |
|
parsing modes (c.f. HTML5 revision 3604). |
74 |
|
|
75 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* mkhtmlclass.pl: Made xmlns:xlink with wrong namespace URL |
78 |
|
invalid (HTML5 revision 2701). |
79 |
|
|
80 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* HTML.pm.src: </rt>, </rp>, </option>, </optgroup> become |
83 |
|
optional before </body> (HTML5 revision 2806). |
84 |
|
|
85 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* HTML.pm.src: Marked where SVG |script| execution should be |
88 |
|
implemented (HTML5 revision 2904). |
89 |
|
|
90 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* HTML.pm.src (set_inner_html): The fragment parsing algorithm |
93 |
|
inherits the document quirksness flag of the main document (HTML5 |
94 |
|
revision 2935). |
95 |
|
|
96 |
|
2009-07-05 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* HTML.pm.src (_tree_construction_main): Put |table| in |p| in |
99 |
|
quirks mode (The Hixie Quirk, HTML5 revision 3132). |
100 |
|
|
101 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* HTML.pm.src: <kegten> breaks out of <select> (HTML5 revision |
104 |
|
3163). |
105 |
|
|
106 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* HTML.pm.src: Don't change encoding to UTF-8 if the input |
109 |
|
encoding is UTF-16 (HTML5 revision 3204). |
110 |
|
|
111 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* HTML.pm.src (parse_byte_stream): Don't change to another |
114 |
|
encoding if the input is UTF-16 (HTML5 revision 3205). |
115 |
|
|
116 |
|
2009-06-28 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* HTML.pm.src: |isindex| should no longer generate |p| element |
119 |
|
node (HTML5 revision 3236). |
120 |
|
|
121 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* ContentChecker.pm: Introduced new flag |has_autofocus|. Added |
124 |
|
support for new |id_type| value of |any|, which means any kind of |
125 |
|
element is allowed as a referenced element. |
126 |
|
|
127 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* ContentChecker.pm: Introduced |check_attrs2| method for the ease |
130 |
|
of defining codes for checking required attribute and as such. |
131 |
|
|
132 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* IMTChecker.pm: Added more definitions for subtypes. |
135 |
|
|
136 |
|
2008-12-11 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
|
* URIChecker.pm: Some of |pos_end| values were wrong. |
139 |
|
|
140 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
141 |
|
|
142 |
|
* ContentChecker.pm (check_element): Added support for "no |
143 |
|
referenced datalist" error. |
144 |
|
|
145 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* URIChecker.pm: Bug fix: It did not work unless |
148 |
|
Message::DOM::DOMImplementation has been |require|d. |
149 |
|
|
150 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* NanoDOM.pm (document_uri): New attribute. |
153 |
|
|
154 |
|
* ContentChecker.pm: Don't use methods not implemented by NanoDOM. |
155 |
|
|
156 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
158 |
|
* NanoDOM.pm (text_content): Don't create a Text node if the new |
159 |
|
value is empty. |
160 |
|
|
161 |
|
2008-11-06 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* SWML/: New directory. |
164 |
|
|
165 |
|
2008-10-20 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* NanoDOM.pm (specified, all_declarations_processed, |
168 |
|
manakai_attribute_type): New attributes. |
169 |
|
|
170 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty |
173 |
|
array. |
174 |
|
|
175 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* NanoDOM.pm (notation_name): New attribute. |
178 |
|
|
179 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
180 |
|
|
181 |
|
* NanoDOM.pm (public_id, system_id): New attributes.a |
182 |
|
|
183 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
184 |
|
|
185 |
|
* NanoDOM.pm (text_content): Moved to Node from Element. Setter |
186 |
|
implemented. |
187 |
|
(allowed_tokens, default_type, declared_type): Implemented. |
188 |
|
|
189 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* NanoDOM.pm (node_name): New attribute. |
192 |
|
(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New |
193 |
|
constants. |
194 |
|
(create_element_type_definition_node, create_attribute_definition, |
195 |
|
create_notation, create_general_entity, |
196 |
|
get_element_type_definition_node, |
197 |
|
set_element_type_definition_node, get_general_entity_node, |
198 |
|
set_general_entity_node, get_notation_node, set_notation_node, |
199 |
|
get_attribute_definition_node, set_attribute_definition_node): New |
200 |
|
methods. |
201 |
|
(element_types, entities, notations, attribute_definitions): New |
202 |
|
attributes. |
203 |
|
(DocumentType): Support for child nodes, entities, notations, and |
204 |
|
element types. |
205 |
|
(Entity, Notation, ElementTypeDefinition, AttributeDefinition): |
206 |
|
New classes. |
207 |
|
|
208 |
|
* Dumper.pm: Support for general entities, notations, element type |
209 |
|
definitions, and attribute definitions. |
210 |
|
|
211 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* NanoDOM.pm (create_processing_instruction): New method. |
214 |
|
(xml_version, xml_encoding, xml_standalone): New attributes. |
215 |
|
(ProcessingInstruction): New class. |
216 |
|
|
217 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
218 |
|
|
219 |
|
* HTML.pm.src: Handling of end tags in the foreign content |
220 |
|
insertion mode was partially wrong, because of wrong bit |
221 |
|
operations. |
222 |
|
|
223 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
224 |
|
|
225 |
|
* NanoDOM.pm (dom_config): New attribute (do nothing), for |
226 |
|
Whatpm::XML::Parser support. |
227 |
|
|
228 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
229 |
|
|
230 |
|
* Makefile: New rule to make HTML/Tokenizer.pm is added. |
231 |
|
|
232 |
|
* HTML.pm.src: Tokenizer part moved to another file. |
233 |
|
|
234 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
235 |
|
|
236 |
|
* HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|. |
237 |
|
|
238 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
239 |
|
|
240 |
|
* HTML.pm.src: Element category constants redefined. |
241 |
|
|
242 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* HTML.pm.src: Steps for CDATA/RCDATA elements in tree |
245 |
|
construction stage synced with the spec (HTML5 revisions 2139 and |
246 |
|
2302). |
247 |
|
|
248 |
|
2008-10-07 Wakaba <wakaba@suika.fam.cx> |
249 |
|
|
250 |
|
* ContentChecker.pm: New error level "html5_fact" added, which |
251 |
|
should be tentatively used until all of requirements are properly |
252 |
|
specced as RFC 2119 "MUST" in HTML5. |
253 |
|
|
254 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* ContentChecker.pod: Note on internal flags is added. |
257 |
|
|
258 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
259 |
|
|
260 |
|
* HTML.pm.src: An AAA bug fixed. |
261 |
|
|
262 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
263 |
|
|
264 |
|
* HTML.pm.src: If another node is inserted by the parser, don't |
265 |
|
reuse existing Text node to append a character (HTML5 revision |
266 |
|
2124). |
267 |
|
|
268 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
|
* HTML.pm.src: Support for <option> and <optgroup> in body (HTML5 |
271 |
|
revisions 1731 and 2128). |
272 |
|
|
273 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837). |
276 |
|
Support for end tags of camelCase SVG elements were broken. A |
277 |
|
wrong error type text fixed. |
278 |
|
|
279 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* HTML.pm.src: Drop redundant code (HTML5 revision 1731). |
282 |
|
|
283 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* HTML.pm.src: Support for new definition of |param| and |source| |
286 |
|
start tag parsing (HTML5 revision 1731). |
287 |
|
|
288 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
289 |
|
|
290 |
|
* HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731). |
291 |
|
|
292 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5 |
295 |
|
revisions 1731 and 1831). |
296 |
|
|
297 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5 |
300 |
|
revisions 1731 and 1778). Support for the </sarcasm> end tag (HTML5 |
301 |
|
revision 1731). |
302 |
|
|
303 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
304 |
|
|
305 |
|
* HTML.pm.src: Support for |command| and |eventsource| elements (HTML5 |
306 |
|
revision 1731). End tags of |option| and |optgroup| elements are |
307 |
|
now optional (HTML5 revision 1731). |
308 |
|
|
309 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* HTML.pm.src: New "special" elements added to the list (HTML5 |
312 |
|
revision 1778). "strile" -> "strike". |
313 |
|
|
314 |
|
2008-10-02 Wakaba <wakaba@suika.fam.cx> |
315 |
|
|
316 |
|
* ContentType.pm (get_sniffed_type): Support for the "better" |
317 |
|
content sniffing (HTML5 revision 1927). In a case the official |
318 |
|
type was not returned when the method is invoked in the list |
319 |
|
context. |
320 |
|
|
321 |
|
2008-09-22 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* HTML.pm.src: Character references for non-space C0 characters, |
324 |
|
including U+000B VT, DEL character, noncharacter code points, are |
325 |
|
now converted to the U+FFFD character (cf. HTML5 revision 2138). |
326 |
|
|
327 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* ContentChecker.pm: |form=""| check support added. |
330 |
|
|
331 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
332 |
|
|
333 |
|
* ContentChecker.pm: |contextmenu| validness is now checked using |
334 |
|
|id| and |id_type| properties, and |menu| property is removed. |
335 |
|
|
336 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
337 |
|
|
338 |
|
* ContentChecker.pm: Prepare for |form| |name| attribute's |
339 |
|
duplication checking. |
340 |
|
|
341 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
342 |
|
|
343 |
|
* HTML.pm.src (parse_byte_stream): Support (or non-support) for |
344 |
|
unsupported charset="" parameter value (HTML5 revision 2131). |
345 |
|
|
346 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
347 |
|
|
348 |
|
* HTML.pm.src: Reminding places where U+000B is allowed as a space |
349 |
|
character is fixed (cf. HTML5 revision 1738). |
350 |
|
|
351 |
|
* ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of |
352 |
|
space characters (HTML5 revision 1738). |
353 |
|
|
354 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
355 |
|
|
356 |
|
* HTML.pm.src: The "anything else" case for the "after after body" |
357 |
|
insertion mode was not updated to swtich to the "in body" |
358 |
|
insertion mode. U+000B is no longer a space character for the |
359 |
|
purpose of tree construction phase (HTML5 revision 1738). |
360 |
|
|
361 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
362 |
|
|
363 |
|
* HTML.pm.src: U+000B is no longer a space character (HTML5 |
364 |
|
revision 1738). |
365 |
|
|
366 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
367 |
|
|
368 |
|
* ContentType.pm: 0x0B is no longer a space character (HTML5 |
369 |
|
revision 1738). |
370 |
|
|
371 |
|
* HTML.pm.src: U+000B is no longer a space character for the |
372 |
|
algorithm for extracting an encoding from a Content-Type (HTML5 |
373 |
|
revision 1738). |
374 |
|
|
375 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
376 |
|
|
377 |
|
* ContentChecker.pm ($IsInHTMLInteractiveContent): New. |
378 |
|
|
379 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
381 |
|
* LangTag.pm: Add checks for remaining requirements from RFC 4646. |
382 |
|
|
383 |
|
* mklangreg.pl: Sort 'Prefix' values by their length, to ease |
384 |
|
matching. |
385 |
|
|
386 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
387 |
|
|
388 |
|
* LangTag.pm: Warn for private use language subtags. Error level |
389 |
|
typos fixed. Support for Suppress-Script field. |
390 |
|
|
391 |
|
* mklangreg.pl: Support for dumping of nested structure. |
392 |
|
|
393 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
394 |
|
|
395 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
396 |
|
recommended case as per RFC 4646. |
397 |
|
|
398 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
399 |
|
|
400 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
401 |
|
|
402 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* mklangreg.pl: New script. |
405 |
|
|
406 |
|
* Makefile: Updated for creation of the module for language subtag |
407 |
|
registry. |
408 |
|
|
409 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
410 |
|
|
411 |
|
* Makefile: WebIDL.html added. |
412 |
|
|
413 |
|
* WebIDL.pod: New documentation. |
414 |
|
|
415 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
416 |
|
|
417 |
|
* WebIDL.pm: Checker's error types are redefined. |
418 |
|
|
419 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
420 |
|
|
421 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
422 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
423 |
|
commented out. |
424 |
|
|
425 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
427 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
428 |
|
added. It does not satisfy the definition that a forward |
429 |
|
interface declaration has an extended attribute. It seems that |
430 |
|
unless explicitly allowed multiple extended attributes with the |
431 |
|
same name is not allowed, though it is not explicitly mentioned in |
432 |
|
the spec. |
433 |
|
|
434 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
435 |
|
|
436 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
437 |
|
attribute identifiers. Preserve whether an extended attribute has |
438 |
|
an argument list of not. Support for extended attributes: |
439 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
440 |
|
NameGetter, NameSetter, and Null. |
441 |
|
(has_argument_list): New attribute. |
442 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
443 |
|
empty. |
444 |
|
|
445 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
446 |
|
|
447 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
448 |
|
|{s_kwd}| in DATA_STATE as default. |
449 |
|
|
450 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
451 |
|
|
452 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
453 |
|
by |{s_kwd}| in DATA_STATE. |
454 |
|
|
455 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
456 |
|
|
457 |
|
* HTML.pm.src: Shorten keys. |
458 |
|
|
459 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
460 |
|
|
461 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
462 |
|
pair, or noncharacter code points and non-Unicode code |
463 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
464 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
465 |
|
character stream error handlers. |
466 |
|
|
467 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
468 |
|
|
469 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
470 |
|
for null-namespace elements/attributes. |
471 |
|
|
472 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
473 |
|
as a hash. |
474 |
|
|
475 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
478 |
|
and |{next_char}| initializations are moved to initialization |
479 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
480 |
|
with |parse_char_stream|. |
481 |
|
|
482 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
483 |
|
|
484 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
485 |
|
invoke |manakai_read_until|, not only |read|, where |
486 |
|
possible, to decrease the number of |read| method calls. |
487 |
|
|
488 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
489 |
|
modification. |
490 |
|
|
491 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
492 |
|
|
493 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
494 |
|
would report character error from now. |
495 |
|
|
496 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
497 |
|
|
498 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
499 |
|
tokens in "before head insertion mode" was not |
500 |
|
correctly handled. |
501 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
502 |
|
class. Support for $get_wrapper argument. Support |
503 |
|
for |{read_until}| feature. |
504 |
|
|
505 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
506 |
|
|
507 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
508 |
|
entities point the "&" character. |
509 |
|
|
510 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
511 |
|
|
512 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
513 |
|
be added to the list of excluded characters. |
514 |
|
|
515 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
516 |
|
|
517 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
518 |
|
and |column| a higher priority than the one set by the |
519 |
|
tokenizer's input handler. |
520 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
521 |
|
not be necessary, since now we do line/column fixup in |
522 |
|
the character decode handle). |
523 |
|
|
524 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
525 |
|
|
526 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
527 |
|
|
528 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
529 |
|
|
530 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
531 |
|
and |manakai_getc_until| to |manakai_read_until| to |
532 |
|
reduce the number of string copies. |
533 |
|
|
534 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
535 |
|
|
536 |
|
* HTML.pm.src (parse_char_string): Use newly created |
537 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
538 |
|
standard feature to |open| a string as a filehandle, |
539 |
|
since Perl's string filehandle seems not supporting |ungetc| |
540 |
|
method correctly. |
541 |
|
(parse_char_stream): Define |{getc_until}| method. |
542 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
543 |
|
|
544 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
545 |
|
|
546 |
|
* HTML.pm.src: Check points added to newly added branches. |
547 |
|
|
548 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
549 |
|
|
550 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
551 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
552 |
|
and replaced by |{prev_state}|. |
553 |
|
|
554 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
555 |
|
Remove |!!!back-next-input-character;| macro. |
556 |
|
|
557 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
558 |
|
|
559 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
560 |
|
entity related tokenizer states in favor of new states |
561 |
|
implementing the consume character reference algorithm. |
562 |
|
|
563 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
564 |
|
|
565 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
566 |
|
now implemented as a tokenizer's state, rather than |
567 |
|
a method, with minimum changes (more changes will |
568 |
|
be made, in due course). "Bogus comment state"'s inner |
569 |
|
loop gets removed. |
570 |
|
|
571 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
572 |
|
|
573 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
574 |
|
into their own tokenizer states. |
575 |
|
|
576 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
577 |
|
|
578 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
579 |
|
is split into three states. |
580 |
|
|
581 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
582 |
|
|
583 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
584 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
585 |
|
no longer does the tokenizer have to push back next input |
586 |
|
characters in those states. |
587 |
|
|
588 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
589 |
|
|
590 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
591 |
|
into four states so that no longer does the tokenizer have to push |
592 |
|
back next input characters in that state. |
593 |
|
|
594 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
595 |
|
|
596 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
597 |
|
which can be used to insert some wrapper between the character |
598 |
|
stream handle and the tokenizer. (It is currently not supported |
599 |
|
for |set_inner_html| for |Element|s). |
600 |
|
|
601 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
602 |
|
|
603 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
604 |
|
|
605 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
606 |
|
|
607 |
|
* ContentChecker.pm: Support for charset-layer error levels. |
608 |
|
|
609 |
|
* HTML.pm.src: Don't specify |text| argument for the |
610 |
|
|chardecode:fallback| error, since it is not the encoding |
611 |
|
being used alternatively. |
612 |
|
|
613 |
|
2008-09-06 Wakaba <wakaba@suika.fam.cx> |
614 |
|
|
615 |
|
* HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141). |
616 |
|
|
617 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
618 |
|
|
619 |
|
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |
620 |
|
|
621 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
622 |
|
|
623 |
|
* HTML.pm.src: Bug fix and sync with the spec with regard |
624 |
|
to after after frameset insertion mode processing (HTML5 |
625 |
|
revision 1909). Note that the implementation was wrong |
626 |
|
per the old spec before the r1909 changes. |
627 |
|
|
628 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
629 |
|
|
630 |
|
* HTMLTable.pm: scope=auto algorithm fix synced with the |
631 |
|
spec (HTML5 revision 2093). |
632 |
|
($process_row): Algorithm step numbers synced with the |
633 |
|
spec (HTML5 revision 2092). |
634 |
|
|
635 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
636 |
|
|
637 |
|
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
638 |
|
revision 2094). |
639 |
|
|
640 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
641 |
|
|
642 |
|
* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096). |
643 |
|
|
644 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
645 |
|
|
646 |
|
* HTML.pm.src: '"' and "'" at the end of attribute |
647 |
|
name (after another attribute) now raise parse error (HTML5 |
648 |
|
revision 2123). Empty unquoted attribute values are no |
649 |
|
longer allowed (HTML5 revision 2122). |
650 |
|
|
651 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
652 |
|
|
653 |
|
* mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5 |
654 |
|
revision 2130). |
655 |
|
|
656 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
657 |
|
|
658 |
|
* ContentChecker.pm: |xml:lang| attribute value must be same |
659 |
|
as |lang| attribute value for HTML elements (HTML5 revision 2062 |
660 |
|
and so on). |
661 |
|
|
662 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
663 |
|
|
664 |
|
* ContentChecker.pm: Error level definition for |xml_id_error| |
665 |
|
was missing. |
666 |
|
|
667 |
|
* URIChecker.pm: The end of the URL should be marked as the |
668 |
|
error location for an empty path error. The position |
669 |
|
between the userinfo and the port components should be |
670 |
|
marked as the error location for an empty host error. |
671 |
|
|
672 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
673 |
|
|
674 |
|
* URIChecker.pm: Set parameters representing where in the |
675 |
|
value the error occurs for errors. Report unknown |
676 |
|
address format error in warning level, since address |
677 |
|
formats are rarely added. Path segments starting with "/.." |
678 |
|
were misinterpreted as a dot-segment. |
679 |
|
|
680 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
681 |
|
|
682 |
|
* URIChecker.pm (check_iri_reference): Requires |
683 |
|
|Message::DOM::DOMImplementation|. |
684 |
|
|
685 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
686 |
|
|
687 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
688 |
|
|
689 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
690 |
|
|
691 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
692 |
|
|
693 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
694 |
|
values. |
695 |
|
|
696 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
697 |
|
|
698 |
|
* CacheManifest.pm: Support for new style of error |
699 |
|
reports. |
700 |
|
|
701 |
|
* HTML.pm.src: Set line=1, column=1 to the document node. |
702 |
|
|
703 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
704 |
|
|
705 |
|
* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag |
706 |
|
and URL checkers. Support for more error levels for bogus |
707 |
|
langauge tag and URL "standards". |
708 |
|
|
709 |
|
* LangTag.pm, URIChecker.pm: Support for new style error |
710 |
|
level reporting. |
711 |
|
|
712 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
713 |
|
|
714 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
715 |
|
|
716 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
717 |
|
specifying. Error types are revised. |
718 |
|
|
719 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
720 |
|
|
721 |
|
* ContentChecker.pm: All error reporting method calls are |
722 |
|
renewed. |
723 |
|
|
724 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
725 |
|
|
726 |
|
* HTML.pm.src: All error type names and "text" parameters |
727 |
|
are revised. Use new style for "level" specification. |
728 |
|
|
729 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
730 |
|
|
731 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
732 |
|
|
733 |
|
* WebIDL.pm (parse_char_string): Simplified error |
734 |
|
reporting process for broken ignored valuetype definition. |
735 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
736 |
|
|
737 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
738 |
|
|
739 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
740 |
|
terminal of the ScopedName is "DOMString", such that whether |
741 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
742 |
|
later. It is necessary to determine whether a |typedef| |
743 |
|
definition should be ignored or not. |
744 |
|
(parse_char_string): Unescape the identifier of |
745 |
|
exception members. |
746 |
|
($resolve): Return undef for builtin types and sequence<T> |
747 |
|
types (we might not have to do this, however...). |
748 |
|
(check): Support checking for Exceptions, Valuetypes, |
749 |
|
and Typedefs. |
750 |
|
($serialize_type): Support for "DOMString::::" syntax. |
751 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
752 |
|
is really "DOMString" (i.e. its internal representation |
753 |
|
is "::DOMString::"). |
754 |
|
|
755 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
756 |
|
|
757 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
758 |
|
for constant types in the |check| method. |
759 |
|
(check): Support for checking of attributes, operations, and |
760 |
|
arguments. |
761 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
762 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
763 |
|
code. |
764 |
|
|
765 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
766 |
|
|
767 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
768 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
769 |
|
was not work for hexadecimal numbers, because the "0" prefix |
770 |
|
matches to the [0-7]* part (as an empty string) and therefore |
771 |
|
it does not match with remaining "x..." part of a "0x..." integer |
772 |
|
literal. |
773 |
|
($get_type): It now returns a string, not an array reference, |
774 |
|
for regular types and |sequence| types (i.e. it in any case |
775 |
|
returns a string). |
776 |
|
($get_next_token): The second item in the array that represents |
777 |
|
a integer or float token is now a Perl number value, not the |
778 |
|
original string representation of the number. |
779 |
|
(check): Support for const value consistency checking. |
780 |
|
No extended attribute is defined for constants. |
781 |
|
(Node subclasses): Use simple strings rather than array references |
782 |
|
for default data type values. |
783 |
|
($serialize_type): Type values are now simple strings. |
784 |
|
(value): If the new attribute value is a false value, then |
785 |
|
a FALSE value is set to the attribute. |
786 |
|
|
787 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
788 |
|
|
789 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
790 |
|
in its stringified format ("scoped name" as defined in the |
791 |
|
spec). Note that future version of this module should not use |
792 |
|
array references for type values and the |type_text| attribute |
793 |
|
should be made obsolete. |
794 |
|
(parse_char_string): Unescape attribute names. |
795 |
|
(check): Support for checking of whether inherited interfaces |
796 |
|
are actually defined or not. Support for checking of whether |
797 |
|
interface member identifiers are duplicated or not. |
798 |
|
($serialize_type): Scoped names are returned as is. A future |
799 |
|
version of this code should escape identifiers other than "DOMString", |
800 |
|
otherwise the idl_text would be non-conforming. |
801 |
|
|
802 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
803 |
|
|
804 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
805 |
|
to generated nodes. Unescape identifiers. Extended attributes |
806 |
|
for Definition's were ignored. |
807 |
|
(append_child): Set |parent_node| attribute. |
808 |
|
(parent_node): New attribute. |
809 |
|
(check): Support interface/exception members. Support |
810 |
|
extended attributes. Support definition identifier uniqueness |
811 |
|
constraint. |
812 |
|
(qualified_name): New attribute. |
813 |
|
(Interface/Exception idl_text): Extended attributes were |
814 |
|
not prepended to the returned text. |
815 |
|
|
816 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
817 |
|
|
818 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
819 |
|
to interface object experimentally. s/shift/pop/g, shift |
820 |
|
would make things wrong. Support for interface forward |
821 |
|
declarations was missing. Broken interface declarations |
822 |
|
with no block were not ignored entirely. |
823 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
824 |
|
makes things easier. |
825 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
826 |
|
same name, this attribute returns a dead list of nodes for |
827 |
|
simplicity. |
828 |
|
(get_user_data, set_user_data): New methods. |
829 |
|
(Module idl_text): A SPACE character should be inserted |
830 |
|
before the |{| character. |
831 |
|
(Interface idl_text): Support for interface forward declarations. |
832 |
|
(is_forward_declaration): New attribute. |
833 |
|
|
834 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
835 |
|
|
836 |
|
* WebIDL.pm (type_text): Better serializer. |
837 |
|
|
838 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
839 |
|
|
840 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
841 |
|
it now can handle broken extended attributes and as such. |
842 |
|
|
843 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
844 |
|
|
845 |
|
* WebIDL.pm: Real support for extended attributes. |
846 |
|
Support for extended attributes with arguments. |
847 |
|
|
848 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
849 |
|
|
850 |
|
* WebIDL.pm: Support for |exception| syntax. |
851 |
|
(Interface->idl_text): Tentative support for inheritances. |
852 |
|
|
853 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
854 |
|
|
855 |
|
* WebIDL.pm: Hierarchical scoped name support was broken. |
856 |
|
Support for raises, setraises, and getraises syntaxes. |
857 |
|
|
858 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
859 |
|
|
860 |
|
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
861 |
|
proper support for types, extended attributes, and exceptions yet). |
862 |
|
WebIDL parser, version 1 (no support for exceptions yet, |
863 |
|
no proper support for extended attributes yet). |
864 |
|
|
865 |
|
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
866 |
|
|
867 |
|
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
868 |
|
|
869 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
870 |
|
|
871 |
|
* WebIDL.pm: Support for valuetype and const. |
872 |
|
|
873 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
874 |
|
|
875 |
|
* WebIDL.pm: New module. |
876 |
|
|
877 |
|
2008-06-15 Wakaba <wakaba@suika.fam.cx> |
878 |
|
|
879 |
|
* Makefile (Entities.html): URI changed. |
880 |
|
|
881 |
|
2008-06-08 Wakaba <wakaba@suika.fam.cx> |
882 |
|
|
883 |
|
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704). |
884 |
|
|
885 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
886 |
|
|
887 |
|
* HTML.pm.src (_get_next_token): A parse error was missing. |
888 |
|
|
889 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
890 |
|
|
891 |
|
* mklinktypelist.pl: rel=contact is no longer part of the HTML5 |
892 |
|
spec (commented out). (HTML5 revision 1711). |
893 |
|
|
894 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
895 |
|
|
896 |
|
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701). |
897 |
|
|
898 |
|
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered |
899 |
|
as UTF-16 (HTML5 revision 1701). |
900 |
|
|
901 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
902 |
|
|
903 |
|
* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision |
904 |
|
1692). |
905 |
|
|
906 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
907 |
|
|
908 |
|
* HTML.pm.src: The secondary insertion mode used when switching |
909 |
|
to foreign content is the "in body" insertion mode (HTML5 revision |
910 |
|
1696). |
911 |
|
|
912 |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
913 |
|
|
914 |
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |