1 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm (check_element): Added support for "no |
4 |
|
referenced datalist" error. |
5 |
|
|
6 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* URIChecker.pm: Bug fix: It did not work unless |
9 |
|
Message::DOM::DOMImplementation has been |require|d. |
10 |
|
|
11 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* NanoDOM.pm (document_uri): New attribute. |
14 |
|
|
15 |
|
* ContentChecker.pm: Don't use methods not implemented by NanoDOM. |
16 |
|
|
17 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* NanoDOM.pm (text_content): Don't create a Text node if the new |
20 |
|
value is empty. |
21 |
|
|
22 |
|
2008-11-06 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* SWML/: New directory. |
25 |
|
|
26 |
|
2008-10-20 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* NanoDOM.pm (specified, all_declarations_processed, |
29 |
|
manakai_attribute_type): New attributes. |
30 |
|
|
31 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty |
34 |
|
array. |
35 |
|
|
36 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* NanoDOM.pm (notation_name): New attribute. |
39 |
|
|
40 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* NanoDOM.pm (public_id, system_id): New attributes.a |
43 |
|
|
44 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* NanoDOM.pm (text_content): Moved to Node from Element. Setter |
47 |
|
implemented. |
48 |
|
(allowed_tokens, default_type, declared_type): Implemented. |
49 |
|
|
50 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* NanoDOM.pm (node_name): New attribute. |
53 |
|
(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New |
54 |
|
constants. |
55 |
|
(create_element_type_definition_node, create_attribute_definition, |
56 |
|
create_notation, create_general_entity, |
57 |
|
get_element_type_definition_node, |
58 |
|
set_element_type_definition_node, get_general_entity_node, |
59 |
|
set_general_entity_node, get_notation_node, set_notation_node, |
60 |
|
get_attribute_definition_node, set_attribute_definition_node): New |
61 |
|
methods. |
62 |
|
(element_types, entities, notations, attribute_definitions): New |
63 |
|
attributes. |
64 |
|
(DocumentType): Support for child nodes, entities, notations, and |
65 |
|
element types. |
66 |
|
(Entity, Notation, ElementTypeDefinition, AttributeDefinition): |
67 |
|
New classes. |
68 |
|
|
69 |
|
* Dumper.pm: Support for general entities, notations, element type |
70 |
|
definitions, and attribute definitions. |
71 |
|
|
72 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* NanoDOM.pm (create_processing_instruction): New method. |
75 |
|
(xml_version, xml_encoding, xml_standalone): New attributes. |
76 |
|
(ProcessingInstruction): New class. |
77 |
|
|
78 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src: Handling of end tags in the foreign content |
81 |
|
insertion mode was partially wrong, because of wrong bit |
82 |
|
operations. |
83 |
|
|
84 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* NanoDOM.pm (dom_config): New attribute (do nothing), for |
87 |
|
Whatpm::XML::Parser support. |
88 |
|
|
89 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* Makefile: New rule to make HTML/Tokenizer.pm is added. |
92 |
|
|
93 |
|
* HTML.pm.src: Tokenizer part moved to another file. |
94 |
|
|
95 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|. |
98 |
|
|
99 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* HTML.pm.src: Element category constants redefined. |
102 |
|
|
103 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* HTML.pm.src: Steps for CDATA/RCDATA elements in tree |
106 |
|
construction stage synced with the spec (HTML5 revisions 2139 and |
107 |
|
2302). |
108 |
|
|
109 |
|
2008-10-07 Wakaba <wakaba@suika.fam.cx> |
110 |
|
|
111 |
|
* ContentChecker.pm: New error level "html5_fact" added, which |
112 |
|
should be tentatively used until all of requirements are properly |
113 |
|
specced as RFC 2119 "MUST" in HTML5. |
114 |
|
|
115 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
117 |
|
* ContentChecker.pod: Note on internal flags is added. |
118 |
|
|
119 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* HTML.pm.src: An AAA bug fixed. |
122 |
|
|
123 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* HTML.pm.src: If another node is inserted by the parser, don't |
126 |
|
reuse existing Text node to append a character (HTML5 revision |
127 |
|
2124). |
128 |
|
|
129 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* HTML.pm.src: Support for <option> and <optgroup> in body (HTML5 |
132 |
|
revisions 1731 and 2128). |
133 |
|
|
134 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837). |
137 |
|
Support for end tags of camelCase SVG elements were broken. A |
138 |
|
wrong error type text fixed. |
139 |
|
|
140 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
141 |
|
|
142 |
|
* HTML.pm.src: Drop redundant code (HTML5 revision 1731). |
143 |
|
|
144 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* HTML.pm.src: Support for new definition of |param| and |source| |
147 |
|
start tag parsing (HTML5 revision 1731). |
148 |
|
|
149 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731). |
152 |
|
|
153 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
154 |
|
|
155 |
|
* HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5 |
156 |
|
revisions 1731 and 1831). |
157 |
|
|
158 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5 |
161 |
|
revisions 1731 and 1778). Support for the </sarcasm> end tag (HTML5 |
162 |
|
revision 1731). |
163 |
|
|
164 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* HTML.pm.src: Support for |command| and |eventsource| elements (HTML5 |
167 |
|
revision 1731). End tags of |option| and |optgroup| elements are |
168 |
|
now optional (HTML5 revision 1731). |
169 |
|
|
170 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* HTML.pm.src: New "special" elements added to the list (HTML5 |
173 |
|
revision 1778). "strile" -> "strike". |
174 |
|
|
175 |
|
2008-10-02 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* ContentType.pm (get_sniffed_type): Support for the "better" |
178 |
|
content sniffing (HTML5 revision 1927). In a case the official |
179 |
|
type was not returned when the method is invoked in the list |
180 |
|
context. |
181 |
|
|
182 |
|
2008-09-22 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* HTML.pm.src: Character references for non-space C0 characters, |
185 |
|
including U+000B VT, DEL character, noncharacter code points, are |
186 |
|
now converted to the U+FFFD character (cf. HTML5 revision 2138). |
187 |
|
|
188 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* ContentChecker.pm: |form=""| check support added. |
191 |
|
|
192 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
193 |
|
|
194 |
|
* ContentChecker.pm: |contextmenu| validness is now checked using |
195 |
|
|id| and |id_type| properties, and |menu| property is removed. |
196 |
|
|
197 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* ContentChecker.pm: Prepare for |form| |name| attribute's |
200 |
|
duplication checking. |
201 |
|
|
202 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
203 |
|
|
204 |
|
* HTML.pm.src (parse_byte_stream): Support (or non-support) for |
205 |
|
unsupported charset="" parameter value (HTML5 revision 2131). |
206 |
|
|
207 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* HTML.pm.src: Reminding places where U+000B is allowed as a space |
210 |
|
character is fixed (cf. HTML5 revision 1738). |
211 |
|
|
212 |
|
* ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of |
213 |
|
space characters (HTML5 revision 1738). |
214 |
|
|
215 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
216 |
|
|
217 |
|
* HTML.pm.src: The "anything else" case for the "after after body" |
218 |
|
insertion mode was not updated to swtich to the "in body" |
219 |
|
insertion mode. U+000B is no longer a space character for the |
220 |
|
purpose of tree construction phase (HTML5 revision 1738). |
221 |
|
|
222 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* HTML.pm.src: U+000B is no longer a space character (HTML5 |
225 |
|
revision 1738). |
226 |
|
|
227 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* ContentType.pm: 0x0B is no longer a space character (HTML5 |
230 |
|
revision 1738). |
231 |
|
|
232 |
|
* HTML.pm.src: U+000B is no longer a space character for the |
233 |
|
algorithm for extracting an encoding from a Content-Type (HTML5 |
234 |
|
revision 1738). |
235 |
|
|
236 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* ContentChecker.pm ($IsInHTMLInteractiveContent): New. |
239 |
|
|
240 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* LangTag.pm: Add checks for remaining requirements from RFC 4646. |
243 |
|
|
244 |
|
* mklangreg.pl: Sort 'Prefix' values by their length, to ease |
245 |
|
matching. |
246 |
|
|
247 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* LangTag.pm: Warn for private use language subtags. Error level |
250 |
|
typos fixed. Support for Suppress-Script field. |
251 |
|
|
252 |
|
* mklangreg.pl: Support for dumping of nested structure. |
253 |
|
|
254 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
257 |
|
recommended case as per RFC 4646. |
258 |
|
|
259 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
262 |
|
|
263 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
264 |
|
|
265 |
|
* mklangreg.pl: New script. |
266 |
|
|
267 |
|
* Makefile: Updated for creation of the module for language subtag |
268 |
|
registry. |
269 |
|
|
270 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
271 |
|
|
272 |
|
* Makefile: WebIDL.html added. |
273 |
|
|
274 |
|
* WebIDL.pod: New documentation. |
275 |
|
|
276 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
277 |
|
|
278 |
|
* WebIDL.pm: Checker's error types are redefined. |
279 |
|
|
280 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
282 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
283 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
284 |
|
commented out. |
285 |
|
|
286 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
287 |
|
|
288 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
289 |
|
added. It does not satisfy the definition that a forward |
290 |
|
interface declaration has an extended attribute. It seems that |
291 |
|
unless explicitly allowed multiple extended attributes with the |
292 |
|
same name is not allowed, though it is not explicitly mentioned in |
293 |
|
the spec. |
294 |
|
|
295 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
298 |
|
attribute identifiers. Preserve whether an extended attribute has |
299 |
|
an argument list of not. Support for extended attributes: |
300 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
301 |
|
NameGetter, NameSetter, and Null. |
302 |
|
(has_argument_list): New attribute. |
303 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
304 |
|
empty. |
305 |
|
|
306 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
308 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
309 |
|
|{s_kwd}| in DATA_STATE as default. |
310 |
|
|
311 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
312 |
|
|
313 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
314 |
|
by |{s_kwd}| in DATA_STATE. |
315 |
|
|
316 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
|
* HTML.pm.src: Shorten keys. |
319 |
|
|
320 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
323 |
|
pair, or noncharacter code points and non-Unicode code |
324 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
325 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
326 |
|
character stream error handlers. |
327 |
|
|
328 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
331 |
|
for null-namespace elements/attributes. |
332 |
|
|
333 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
334 |
|
as a hash. |
335 |
|
|
336 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
337 |
|
|
338 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
339 |
|
and |{next_char}| initializations are moved to initialization |
340 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
341 |
|
with |parse_char_stream|. |
342 |
|
|
343 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
344 |
|
|
345 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
346 |
|
invoke |manakai_read_until|, not only |read|, where |
347 |
|
possible, to decrease the number of |read| method calls. |
348 |
|
|
349 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
350 |
|
modification. |
351 |
|
|
352 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
354 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
355 |
|
would report character error from now. |
356 |
|
|
357 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
* HTML.pm.src: White-space-leaded non-white-space character |
* HTML.pm.src: White-space-leaded non-white-space character |