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