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