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