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