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> |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
639 |
|
|
640 |
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |