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