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